/* -*- coding: UTF-8; mode: css; x-typographers-quotes: false; tab-width: 2; x-auto-expand-tabs: true; x-soft-wrap-text: false; -*- */
.logo {
  background-image: url(https://www.nrg-systems.de/images/logo.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 11px;
  left: 35px;
  width: 284px;
  height: 97px;
  z-index: 1;
}

@media screen {
  .body {
    background-color: rgb(132, 132, 255);
    color: rgb(0, 0, 0);
    font-family: sans-serif;
  }

  a {
    text-decoration: none;
  }
  a:hover {
    color: #d84c5a;
    text-decoration: underline;
  }
}
a[href^='mailto:'] {
    background: transparent url(https://www.nrg-systems.de/images/icon_letter.gif) center left no-repeat;
    padding-left: 18px;
}
a[href$='.pdf'] {
    background: transparent url(https://www.nrg-systems.de/images/icon_pdf.gif) center left no-repeat;
    padding-left: 18px;
}
a[href$='.zip'] {
    background: transparent url(https://www.nrg-systems.de/images/icon_zip.gif) center left no-repeat;
    padding-left: 18px;
}

@media print {
  .body {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-family: sans-serif;
  }
}

@media screen and (max-width: 700px) {
  .outer-box {
    background: rgb(255, 255, 255);
    border: 2px solid black;
    border-radius: 20px;
    margin: 58px 5px 5px 5px;
    padding: 10px;
  }
}

@media screen and (min-width: 700px) {
  .outer-box {
    background: rgb(255, 255, 255);
    border: 2px solid black;
    border-radius: 20px;
    margin: 58px 10px 10px 10px;
    padding: 20px;
  }
}

@media print {
  .outer-box {
    background: rgb(255, 255, 255);
    margin: 58px 10px 10px 10px;
    padding: 20px;
  }
}

.title {
  font-size: 1.4em;
  text-align: center;
  margin: 10px 0 15px 150px;
}

.nav-bar {
  background-color: rgb(224, 224, 255);
  border: 2px solid black;
  border-radius: 10px;
  font-size: 1.0em;
  font-weight: bold;
  padding: 10px;
}
@media print {
  .nav-bar {
    display: none;
  }
}
.nav-bar a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}
.nav-bar a::after {
  color: rgb(0, 0, 0);
  content: ' \2022 ';
}
.nav-bar a:last-child::after {
  content: '';
}
.nav-bar a:hover {
  color: rgb(62, 104, 220);
  text-decoration: none;
}

.site-content {
  display: table;
  font-size: 0.9em;
  width: 100%;
}

.revision-date {
  font-size: 0.7em;
  text-align: center;
}

.float-right {
  float: right;
  margin: 0 0 0.5rem 0.5rem;
  text-align: center;
  width: 260px;
}

.clearfix {
  overflow: auto;
}

.scale-to-width {
  object-fit: contain;
  width: 100%;
}

/* WRAPPER https://code-boxx.com/html-css-news-ticker-horizontal-vertical/ */
.tickerv-wrap {
  background: #ffffff;
  box-sizing: content-box;
  height: 15px; /* Take note of this */
  overflow: hidden; /* Hide scrollbars */
  padding: 5px;
} 

/* TICKER ANIMATION */
@keyframes tickerv {
  0%   {margin-top: -5px;} /* First line */
  /* Quite literally -ve height of wrapper */
  20%  {margin-top: -30px;} /* 1 X 25 px */
  40%  {margin-top: -55px;} /* 2 X 25 px */
  60%  {margin-top: -80px;} /* 3 X 25 px */
  80%  {margin-top: -105px;} /* 4 X 25 px */
  100% {margin-top: -5px;} /* Back to first line */
}

.tickerv-wrap ul {
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-name: tickerv; /* Loop through items */
  animation-timing-function: cubic-bezier(1, 0, .5, 0);
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.tickerv-wrap ul:hover {
  /* Pause on mouse hover */
  animation-play-state: paused;
}

/* ITEMS */
.tickerv-wrap ul li {
  line-height: 25px /* Same as wrapper height */
}

/* Shipping Destinations and Cost */
@media all and (max-width: 700px) {
  .shipping-container {
    display: table;
    padding-left: 20%;
    padding-right: 20%;
    width: 60%;
  }
  .shipping-child {
    margin-top: -15px;
    padding: 0;
  }
  .shipping-child:first-child {
    margin-right: 0;
  }
  .shipping-child:last-child {
    margin-left: 0;
  }
}

@media all and (min-width: 700px) {
  .shipping-container {
    display: flex;
    padding-left: 5%;
    padding-right: 5%;
  }
  .shipping-child {
    margin-top: -30px;
    padding: 20px;
  }
  .shipping-child:first-child {
    margin-right: 5px;
  }
  .shipping-child:last-child {
    margin-left: 5px;
  }
}

ul.shipping {
  list-style: none;
  padding: 0;
}

ul.shipping li {
  float: left;
  padding-bottom: 5px;
}

ul.shipping li:nth-child(3n+1) {
  width: 30%;
}

ul.shipping li:nth-child(3n+2) {
  text-align: right;
  width: 45%;
}

ul.shipping li:nth-child(3n+3) {
  padding-right: 0;
  text-align: right;
  width: 25%;
}

ul.shippingtime {
  list-style: none;
  padding: 0;
}

ul.shippingtime li {
  float: left;
  padding-bottom: 5px;
}

ul.shippingtime li:nth-child(2n+1) {
  width: 60%;
}

ul.shippingtime li:nth-child(2n+2) {
  padding-right: 0;
  text-align: right;
  width: 40%;
}


/* Box design */
.box-container {
  margin-bottom: 10px;
  width: 100%;
}

@media screen and (max-width: 700px) {
  .box-header {
    background-color: #e0e0ff;
    border: 2px solid black;
    border-radius: 10px 10px 0 0;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
    text-align: center;
  }

  .box-content {
    border-top: 0;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0 0 10px 10px;
    padding: 5px;
  }
}

@media screen and (min-width: 700px) {
  .box-header {
    background-color: #e0e0ff;
    border: 2px solid black;
    border-radius: 10px 10px 0 0;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    text-align: center;
  }

  .box-content {
    border-top: 0;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0 0 10px 10px;
    padding: 10px;
  }
}

@media print {
  .box-header {
    background-color: #ffffff;
    border: 2px solid black;
    border-radius: 10px 10px 0 0;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    text-align: center;
  }

  .box-content {
    border-top: 0;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0 0 10px 10px;
    padding: 10px;
  }
}

/* Products Overview */
.products-container {
  display: table;
  padding: 0;
  width: 100%;
}

.products-container-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, 185px);
  grid-template-rows: auto;
  justify-content: space-between;
  padding: 0;
  width: 100%;
}

.products-row {
  display: table-row;
}

.products-child {
  display: table-cell;
  vertical-align: bottom;
}

@media all and (max-width: 700px) {
  .products-child:first-child {
    padding-left: 2px
  }

  .products-child:last-child {
    padding-right: 2px
  }
}

@media all and (min-width: 700px) {
  .products-child:first-child {
    padding-left: 5px
  }

  .products-child:last-child {
    padding-right: 5px
  }
}

.products-image {
  font-weight: bold;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}

.products-image img {
  margin-bottom: 2px;
  object-fit: contain;
  position: relative;
  width: 125px;
  height: 125px;
  z-index: 10;
}

.products-image-2 {
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}

.products-image-2 img {
  margin-top: 5px;
  margin-bottom: 5px;
  object-fit: contain;
  position: relative;
  width: 125px;
  height: 125px;
  z-index: 10;
}

.products-image-3 {
  font-weight: bold;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}

.products-image-3 img {
  object-fit: contain;
  position: relative;
  width: 64px;
  height: 64px;
  z-index: 10;
}

.products-header {
  font-weight: bold;
}

.products-header li::before {
  content: '\A0\A0\A0';
}

.products-data {
  text-align: center;
}

ul.product {
  list-style: none;
  padding: 0;
}

ul.product li {
  padding-top: 2px;
  padding-bottom: 2px;
}

@media screen {
  ul.product li:nth-child(odd) {
    background-color: #f4f4ff;
  }
}

/* NEU marker for images */
.wrapper-64 {
  position: relative;
}
.wrapper-64 img {
  width: 64px;
  height: 64px;
}
.wrapper-64 .new {
  background-image: url(https://www.nrg-systems.de/images/neu2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 5px;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.wrapper-64 .new20 {
  background-image: url(https://www.nrg-systems.de/images/neu2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 25px;
  left: -15px;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.wrapper-64 .new40 {
  background-image: url(https://www.nrg-systems.de/images/neu2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -8px;
  left: 11px;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.wrapper-64 .sale {
  background-image: url(https://www.nrg-systems.de/images/sale.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 5px;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.wrapper-125 {
  position: relative;
}
.wrapper-125 img {
  width: 125px;
  height: 125px;
}
.wrapper-125 .new {
  background-image: url(https://www.nrg-systems.de/images/neu2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 5px;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.wrapper-125 .new20 {
  background-image: url(https://www.nrg-systems.de/images/neu2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 25px;
  left: -15px;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.wrapper-125 .new40 {
  background-image: url(https://www.nrg-systems.de/images/neu2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -5px;
  left: 32px;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.wrapper-125 .sale {
  background-image: url(https://www.nrg-systems.de/images/sale.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 5px;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.wrapper-125 .sale20 {
  background-image: url(https://www.nrg-systems.de/images/sale.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 25px;
  left: -15px;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 500ms;
  visibility: hidden;
  width: 100%;
  height: 100%;
  z-index: 9;
}
.overlay .light {
  background: rgba(255, 255, 255, 0.5);
}
.overlay .cancel {
  position: absolute;
  width: 100%;
  height: 100%;
}
.overlay:target {
  opacity: 1;
  visibility: visible;
}
.overlay:hover {
  cursor: zoom-out;
}

.popup {
  background: rgb(255, 255, 255);
  border: 1px solid #666;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  margin: 150px auto;
  padding: 10px;
  position: relative;
  text-align: center;
  width: 520px;
}
.popup200 {
  width: 220px;
}
.popup300 {
  width: 320px;
}
.popup400 {
  width: 420px;
}
.popupfull {
  width: 95vw;
}
.light .popup {
  border-color: #aaa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.popup .popup-content {
  max-height: 620px;
  overflow: auto;
}
.popup .popup-content img:hover {
  cursor: zoom-out;
}

.popup-image {
  margin-top: 5px;
}
.popup-image img:hover {
  cursor: zoom-in;
}
.popup-image-price {
  font-size: 2.5em;
  font-weight: bold;
}
.popup-image-vat {
  font-size: 0.8em;
}

del {
  color: rgb(255, 0, 0);
}
