html {
  /* needed for "background-size: cover" to work */
  min-height: 100%;
  /* needed for footer position */
  position: relative;
}
body {
  background-image: url('../image_template/background.jpeg');
  background-repeat: no-repeat;
  background-size: cover;

  color: #1c354e;

  font-family: 'Josefin Sans', sans-serif;

  font-size: 1rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1.2;

  /* Footer goes in the bottom margin */
  margin-bottom: 250px;
}
body.footer-short {
  margin-bottom: 120px;
}

p.listing {
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
}

p.listing-first {
  margin-top: 0.7rem !important;
  clear: both;
}

div.white-background {
  background-color: white !important;
}

a {
  color: #2d7d7c;
  text-decoration: none;
}
a:hover {
  color: #1c354e;
  text-decoration: none;
}

div#instrumex-30-years {
  align-items: center;
  background: #ffffff;
  display: flex;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}
div#instrumex-30-years img {
  display: block;
  margin: auto 0;
  width: 100%;
}

div#cookie-warning {
  background-color: #c7df77;
  display: none;
  margin: 0;
  padding: 8px;
  text-align: center;
}
div#cookie-warning button {
  background-color: white;
  color: #2d7d7c;
  display: inline-block;
  margin: 0;
  margin-left: 10px;
}
div#cookie-warning button:hover {
  background-color: e6e6e6;
}

span.icon {
  display: inline-block;
  font-size: 1.5rem;
  margin-right: 0.5rem;
  padding-bottom: -1.5rem;
}

.vertical-align-baseline {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
}
.vertical-align-stretch {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
}

.navbar {
  margin-bottom: 30px;
}
.nav-link {
  text-transform: uppercase;
}
.navbar-brand {
  width: 40%;
}
.nav-link {
  color: #287f7e !important;
}
.navbar-light, .navbar-nav, .nav-link:hover,
li.nav-item.active > .nav-link {
  color: #1c354e !important;
}
img.navbar-brand {
  margin: 0;
  padding: 10px 14px;
  width: 350px;
}
.cart-link, .language-link, .language-select {
  font-size: 0.7rem;
}

.instrumex-template {
  padding: 3rem 1.5rem;
  text-align: left;
}

.title-block {
  background: rgba(255, 255, 255, 0.3);
  line-height: 1.0;
  margin-bottom: 30px;
}
.product-block {
  background: white;
  border: none;
  border-radius: 0.6rem;
  margin-bottom: 30px;
  heigh: 60rem;
  width: 100%;
}
.title-block h1,
.product-block h1,
.cart h1 {
  background-color: #c7df77;
  color: #287f7e;
  display: inline-block;
  font-size: 1.2rem;
  padding: 0.5rem;
  padding-bottom: 0.2rem;
  text-transform: uppercase;
}
.title-block h1 {
  border-bottom-right-radius: 0.6rem;
  margin-bottom: 1.2rem;
}
.product-block h1 {
  border-top-left-radius: 0.6rem;
  border-top-right-radius: 0.6rem;
  border-bottom-right-radius: 0;
  width: 100%;
}
.title-block > div,
.product-block > div {
  padding: 0 1.5rem 0.5rem 1.5rem;
}
.title-block h2 {
  background-color: transparent;
  color: #1c354e;
  font-size: 0.7rem;
  padding: 0.3rem;
  padding-left: 0;
  text-transform: uppercase;
}
#cookie-warning button,
.title-block button,
.title-block a.btn,
.title-block input,
.title-block textarea,
.product-block a.btn,
.product-block button,
.cart-block a.btn,
.cart-block button {
  display: block;
  font-size: 0.7rem;
  margin: 0;
  margin-bottom: 0.9rem;
  padding: 0.4rem;
  padding-bottom: 0.2rem;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
  border-radius: .6rem;
}
#cookie-warning button,
.cart-block button {
  width: auto;
}
button.btn-go {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.product-search,
.product-select {
  color: #1c354e;
  font-size: 0.7rem;
  padding: 0;
  width: auto;
}
.product-toggle,
.product-link,
.product-link:hover {
  color: #2d7d7c;
  font-size: 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
}
.cart img {
  max-height: 5rem;
  max-width: 5rem;
  float: left;
}
div#special-offers-carousel {
/*
  display: flex;
  flex-flow: column;
*/
}
div#special-offers-carousel ol.carousel-indicators {
  bottom: 5px;
}
div#special-offers-carousel ol.carousel-indicators li {
  background-color: #287f7e;
  border-color: #287f7e;
}
div#special-offers-carousel ol.carousel-indicators li.active {
  background-color: #c7df77;
  border-color: transparent;
}
div#special-offers-carousel div.carousel-inner {
  padding-bottom: 30px;
}
.special-offer {
  height: auto;
  width: 100%;
}
.normal-offer {
}
.special-offer > div > img,
.normal-offer > img {
  display: block;
  margin: 0 auto;
  max-height: 10rem;
  max-width: 50%;
  padding: 1rem 0;
}
.special-offer > div > h2,
.normal-offer > h2 {
  align-self: left;
  color: #1c354e;
  font-size: 1.3rem;
  text-transform: none;
}
.special-offer > div > p,
.normal-offer > p {
  align-self: left;
  color: #1c354e;
  font-size: 1.0rem;
  margin-bottom: 0.1rem;
}
.special-offer > .price,
.normal-offer > .price {
  margin-top: 1rem;
  padding-bottom: 1rem;
}
.price > span {
  display: inline-block;
  padding-right: 1rem;
}
.price > span.euro {
}
.price > span.usd {
}

.product-pagination {
  clear: both;
  color: #1c354e;
  font-size: 1.2rem;
  text-align: right;
}
.product-pagination a,
.product-pagination a:hover {
  color: #2d7d7c;
  text-decoration: none;
}

.modal-header {
  background-color: #c7df77;
  border: none;
}
.modal-header > h1 {
  border-bottom-right-radius: 0.6rem;
  float: left;
  margin: 0;
  max-width: 90%;
  width: auto;
}
.modal-header > button {
  float: right;
  font-size: 1.3rem;
  margin: 0;
  width: auto;
}
.modal-body > img {
  display: block;
  float: left;
  margin: 0 1.0rem 1.0rem 0;
  max-height: 15rem;
  max-width: 15rem;
  padding: 1rem 0;
}
.modal-body > p {
  margin-bottom: 0.1rem;
}

@media screen and (min-width: 48em) {
  .two-col-text {
    column-count: 2;
    column-gap: 2.0rem;
  }
}

.main-text img {
  max-width: 100%;
  height: auto;
}

.main-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0.8rem 0;
}

img.shift-left {
  float: left;
  margin: 0 1.0rem 0.8rem -24px !important;
}

.footer {
  background-color: white;
  bottom: 0;
  /* Fixed footer height (must match body bottom margin) */
  height: 200px;
  position: absolute;
  text-align: center;
  width: 100%;
}
footer.footer-short {
  bottom: 0;
  height: 150px;
  padding-top: 50px;
}
.footer-left > div.row {
  /* Make space for footer images */
  padding-top: 50px;
}
.footer-products {
  left: 0px;
  overflow: hidden;
  position: absolute;
  top: -55px;
  width: auto;
}
.footer-products div {
  float: left;
  height: 110px;
  overflow: hidden;
  width: 140px;
}
@media screen and (min-width: 48em) and (max-width: 62em) {
  .footer-products div.hidden-sm {
    display: none;
  }
}
.footer-products div img {
  display: block;
}
.footer-right {
  height: 100px;
  position: relative;
}
.footer-right img {
  display: block;
  height: 200px;
}
.footer-right .staff-quote {
  left: -400px;
  position: absolute;
  text-align: right;
  top: 20px;
  width: 420px;
}
.footer-right .staff-quote span.quote {
  display: block;
  font-size: 1.1rem;
  font-style: italic;
  white-space: nowrap;
}
.footer-right .staff-quote span.signature {
  display: block;
  font-size: 0.9rem;
  padding-right: 1rem;
  white-space: nowrap;
}

footer a, footer span {
  display: inline-block;
  padding: 0 10px;
}
footer .em {
  font-weight: 700;
}
footer a {
  color: #2d7d7c;
}
footer span {
  color: #1c354e;
}
footer a:hover {
  color: #1c354e;
  text-decoration: none;
}

mark {
  background-color: transparent !important;
  color: #ff0000;
  display: block !important;
  font-size: 0.9rem;
  padding: 0;
}
