@font-face {
  font-family: 'GOT';
  src: url('/assets/products/GameofThrones.woff2') format('woff2'), url('/assets/products/GameofThrones.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

#products-teorie-velkeho-tresku {
  background: #5592b1;
}

#products-teorie-velkeho-tresku .products-header {
  position: relative;
  border-radius: 4px;
  background: #5592b1 url('/assets/products/tbbt2.jpg') right top no-repeat;
  background-size: cover;
  text-align: left;
  height: 260px;
  padding: 0 40px;
}

#products-teorie-velkeho-tresku .products-header h1 {
  text-transform: uppercase;
  margin-top: 0;
  font-size: 42px;
  max-width: 70%;
}

#products-teorie-velkeho-tresku .products-header h2 {
  padding-top: 75px;
  font-size: 32px;
}

#products-michal-horak {
  background: #1c2927;
}

#products-michal-horak .pagesection-main {
  margin-bottom: 30px;
}

#products-michal-horak .products-section-filter > a {
  background: #37463f;
}

#products-michal-horak .products-section-filter > a.active,
#products-michal-horak .products-section-filter > a:hover {
  background-color: #C9C9C9;
}

#products-michal-horak .products-header {
  position: relative;
  border-radius: 4px;
  background: #1c2927 url('/assets/products/michal-horak2.jpg') center top no-repeat;
  background-size: cover;
  height: 300px;
  padding: 0 35px;
  text-align: left;
}

#products-michal-horak .products-header h1 {
  position: absolute;
  bottom: 0;
  display: block;
  text-transform: uppercase;
  margin-top: 0;
  font-size: 42px;
}

#products-michal-horak .products-header:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #1c2927 100%);
}

#products-michal-horak .pagesection-main {
  margin-top: 0;
}

#products-michal-horak form > .products-section {
  margin-top: 10px;
}

#products-teorie-velkeho-tresku .products-header:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: transparent;
}

#products-hra-o-truny .products-header {
  position: relative;
  border-radius: 4px;
  background: #000 url('/assets/products/hra-o-truny.jpg') center bottom no-repeat;
  background-size: cover;
  text-align: center;
  height: 260px;
  padding: 0 60px;
}

#products-hra-o-truny .products-header:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #000000 100%);
}

#products-hra-o-truny .products-header h1 {
  font-family: 'GOT';
  letter-spacing: 0.07em;
}

.products-wrapper {
  margin-top: -10px;
}

#content > div > .modal-container:last-child {
  height: 100% !important;
}

.products-container {
  background: #000;
  padding-bottom: 20px;
  margin: 10px 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.products-container .products-header {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.products-header h2 {
  color: #FFF;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 5px;
  padding-top: 50px;
}

.products-header h3 {
  color: #FFF;
  font-size: 20px;
  margin-bottom: 5px;
  padding-top: 0;
  margin-top: 0;
}

.products-header h1 {
  color: #FFF;
  font-size: 46px;
  margin: 10px 0 5px;
}

.pagesection-main {
  -ms-flex: 1;
      flex: 1;
  padding: 20px;
  text-align: left;
  background: #FFF;
  margin: 40px 35px;
  border-radius: 8px;
}

.products-section {
  margin-top: 25px;
}

.products-section > h1 {
  font-size: 40px;
  margin-left: 35px;
  margin-bottom: 0;
  color: #FFF;
}

.products-section .pagesection-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  padding: 0 20px;
}

.products-section .pagesection-row > div {
  -ms-flex-preferred-size: 33.33333%;
      flex-basis: 33.33333%;
  min-width: 0;
}

h1 > span + span.products-section-filter {
  margin-left: 5px;
}

.products-section-nav {
  text-align: center;
  position: relative;
  margin: -20px 0 0;
}

.products-section-nav + form .products-section,
.products-section-nav + form .pagesection-main {
  margin-top: 20px;
}

.products-section-nav a {
  color: #000;
  background-color: #C9C9C9;
  border-color: #bfbfbf;
}

.products-section-nav a:hover {
  background: #484848;
  color: #FFF;
  border-color: #484848;
}

.products-section-filter > a {
  background: #484848;
  color: #FFF;
  border: 0;
}

.products-section-filter > a.active {
  box-shadow: none;
  color: #000;
  background-color: #C9C9C9;
  border-color: #bfbfbf;
}

.pagesection-mainproduct {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
}

.pagesection-mainproduct > div {
  -ms-flex: 1;
      flex: 1;
}

.pagesection-mainproduct > div > p {
  margin-bottom: 15px;
}

.pagesection-mainproduct div.pagesection-image {
  -ms-flex: none;
      flex: none;
  width: 200px;
  margin-right: 10px;
}

.pagesection-mainproduct h2 {
  color: #000;
  font-size: 28px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.pagesection-mainalbum {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
}

.pagesection-mainalbum > div {
  -ms-flex: 1;
      flex: 1;
}

.pagesection-mainalbum > div > p {
  margin-bottom: 7px;
}

.pagesection-mainalbum div.pagesection-image {
  -ms-flex: none;
      flex: none;
  width: 200px;
  height: 200px;
  margin-right: 20px;
}

.pagesection-mainalbum h2 {
  color: #000;
  font-size: 28px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.pagesection-mainproduct-offer > div {
  margin-top: 8px;
}

.pagesection-mainproduct .pagesection-mainproduct-offer {
  margin-bottom: 10px;
}

.pagesection-mainalbum-offer > div,
.pagesection-mainalbum-offer > button {
  margin-top: 8px;
}

.pagesection-album,
.pagesection-product {
  text-align: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
      justify-content: flex-end;
}

.pagesection-album > div,
.pagesection-product > div {
  -ms-flex: 1;
      flex: 1;
  min-width: 0%;
  padding: 20px 0 0;
  margin: 15px;
  background: #FFF;
  border-radius: 8px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}

.pagesection-album img,
.pagesection-product img {
  padding: 10px;
  background: #FFF;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

.pagesection-album h2,
.pagesection-product h2 {
  color: #000;
  font-size: 28px;
  line-height: 36px;
  margin: 10px 0 2px;
  padding: 0 10px;
}

.pagesection-album h3,
.pagesection-product h3 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #888;
  font-weight: normal;
}

.pagesection-album h3 + h3,
.pagesection-product h3 + h3 {
  margin-top: -2px;
}

.pagesection-image {
  position: relative;
}

.pagesection-image > div {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.pagesection-mainalbum .pagesection-image > div {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.pagesection-mainproduct .pagesection-image {
  margin-left: -10px;
}

.pagesection-mainproduct .pagesection-image > div {
  background-position: center top;
}

.pagesection-row .pagesection-image {
  padding-bottom: 70%;
}

.pagesection-product-offer {
  margin-top: 20px;
}

.pagesection-product-offer > button {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.pagesection-album-offers-stock {
  text-align: left;
  border-top: 1px solid #CCC;
  margin-top: 20px;
  padding: 10px 0 8px;
}

.pagesection-album-offers-stock > div {
  padding-left: 15px;
  padding-right: 10px;
  padding-top: 6px;
  padding-bottom: 2px;
  font-size: 13px;
  display: -ms-flexbox;
  display: flex;
}

.pagesection-album-offers-stock > div > div {
  -ms-flex: 1;
      flex: 1;
  line-height: 15px;
}

.pagesection-album-offers-stock > div > button {
  font-size: 13px;
  width: 120px;
  -ms-flex-item-align: start;
      align-self: flex-start;
  margin-top: -1px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.modal-product {
  bottom: 30px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}

.modal-product .modal-header {
  margin-bottom: 10px;
}

.modal-product .modal-body {
  -ms-flex: 1;
      flex: 1;
  border-top: 0;
  padding-top: 20px;
  overflow: scroll;
}

.modal-product .modal-buttons {
  position: relative;
  margin-top: 10px;
  padding: 20px;
  border-top: 1px solid #ccc;
  height: auto;
}

.modal-product .modal-buttons:before {
  position: absolute;
  top: -61px;
  height: 60px;
  left: 0;
  right: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.modal-product .modal-body-image {
  max-width: 100%;
  margin-top: 20px;
  text-align: center;
}

.modal-product .modal-body-image > img {
  max-width: 80%;
}

.modal-header-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 90px;
  width: 90px;
  padding: 5px;
  border-right: 1px solid #DDD;
  background: #FFF;
}

.modal-header-image > button {
  display: inline;
  background: transparent;
  border: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.modal-header-image > button > div {
  height: 100%;
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

@media (max-width: 59.9375em) {
  .products-section .pagesection-row > div {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
  }
}

@media (max-width: 49.9375em) {
  #products-teorie-velkeho-tresku .products-header {
    background-size: 100%;
    padding: 0 20px;
  }

  #products-teorie-velkeho-tresku .products-header h1 {
    max-width: 100%;
    font-size: 38px;
  }

  #products-teorie-velkeho-tresku .products-header h2 {
    padding-top: 100px;
  }

  #products-michal-horak .products-header {
    text-align: center;
  }

  #products-hra-o-truny .products-header {
    height: 300px;
    padding: 0 20px;
  }

  .products-header h2 {
    font-size: 28px;
    padding-top: 50px;
  }

  .products-header h3 {
    font-size: 18px;
  }

  .products-header h1 {
    font-size: 42px;
  }

  .pagesection-mainproduct {
    -ms-flex-direction: column;
        flex-direction: column;
  }

  .pagesection-mainproduct > div.pagesection-image {
    height: 200px;
    width: 100%;
  }

  .pagesection-mainalbum > a > div.pagesection-image {
    height: 100px;
    width: 100px;
  }
}

@media (max-width: 39.9375em) {
  #products-teorie-velkeho-tresku .products-header {
    margin-bottom: 160px;
    background-size: cover;
    padding: 0 20px;
    text-align: center;
    padding-bottom: 70%;
    height: 0;
  }

  #products-teorie-velkeho-tresku .products-header h1 {
    max-width: 100%;
    font-size: 32px;
  }

  #products-teorie-velkeho-tresku .products-header h2 {
    padding-top: 80%;
    font-size: 24px;
  }

  .products-section .pagesection-row > div {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }

  .pagesection-mainalbum {
    -ms-flex-direction: column;
        flex-direction: column;
  }

  .pagesection-mainalbum > a > div.pagesection-image {
    height: 200px;
    width: 100%;
    margin-bottom: 20px;
  }

  .pagesection-mainproduct-offer > div > span {
    margin-top: 5px;
    display: block;
  }
}