/* Modal */
/* Modal block */
.modal__overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}

.modal__overlay.is-active {
  width: 100%;
  height: 100%;
  opacity: 1;
  overflow: visible;
  visibility: visible;
}

.modal {
  position: fixed;
  z-index: 999999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  visibility: hidden;
  overflow: hidden;
  width: auto;
  height: 0;
  padding: 3rem 0 2rem;
  opacity: 0;
  -webkit-overflow-scrolling: touch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}

@media (min-width: 771px) {
  .modal {
    padding: 6rem 0 4rem;
  }
}

.modal.is-active {
  visibility: visible;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}

.modal.is-active .modal__box {
  position: relative;
  top: auto;
  left: auto;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal.modal__hidden .modal__close,
.modal.modal__hidden .modal__scroll {
  display: none;
}

.modal__scroll {
  width: 100%;
  margin: auto 1rem;
}

.modal__box {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

@media (min-width: 576px) {
  .modal__box {
    width: 600px;
  }
}

.modal__close {
  position: absolute;
  z-index: 99;
  top: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 50px;
  height: 50px;
  line-height: 50px;
  cursor: pointer;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.modal__close:after {
  font-family: "apollo" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  font-size: 20px;
  text-indent: 0;
  left: 50%;
  top: 50%;
  color: #c4cad5;
  transform: translate(-50%, -50%);
  content: "\e921";
}

.modal__close:focus:after,
.modal__close:hover:after {
  color: var(--color-primary);
}

.modal__body {
  padding: 6rem 3rem 5rem;
  background-color: white;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
}

.modal__body .txt-c {
  text-align: center;
}

.modal-text {
  display: inline-block;
  position: relative;
  color: #0f0f0f;
  font-weight: 700;
  margin-top: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 25px;
}

@media (min-width: 768px) {
  .modal-subtitle {
    font-size: 16px;
  }
  .modal-title {
    font-size: 32px;
  }
}

.pictogram-block {
  background-color: white;
  padding-top: 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-top: 0;
  position: relative;
}

/* .pictogram-block:before {
  content: "";
  background-color: white;
  width: 100vw;
  position: absolute;
  top: 0;
  display: block;
  height: 100%;
  max-width: none;
  left: calc(50% - 50vw);
  z-index: 0;
} */

.slider-group-pictogram {
  margin: 0 0;
}

.pictogram-item {
  text-align: center;
  cursor: pointer;
  padding-top: 0;
  padding-bottom: 25px;
}

.pictogram-block .swiper-pagination-bullet {
  width: 25px;
  height: 25px;
}

.pictogram-item img {
  max-width: 130px;
  margin: 0 auto 15px;
  display: block;
  object-fit: contain;
  min-width: 130px;
  display: flex;
  max-height: 130px;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}

.pictogram-item h3 {
  font-size: 16px;
  margin: 0;
  color: #333;
  padding: 0 10px;
}

body {
  background-color: white !important;
}
.products-block .p-in-in {
  min-height: auto;
}
.category-header input[type="radio"]:checked + label {
  background-color: var(--color-primary);
}
.in-contacts .content-inner > article {
  width: 100%;
}
.welcome .welcome__content p {
  margin-bottom: 0;
}

.welcome .welcome__content p + p {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .navigation-in {
    font-size: 15px;
    line-height: 15px;
  }
  .navigation-in ul li a {
    padding-left: 22px;
    padding-right: 22px;
  }
  .top-navigation-bar .container > div.top-navigation-contacts {
    top: 0;
    height: 49px;
  }
  .welcome h1 {
    font-size: 40px;
    margin-bottom: 30px;
  }
  .welcome p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
  }
}
@media (min-width: 992px) {
  .welcome {
    padding: 40px 40px 40px 40px;
  }
}
@media (min-width: 768px) {
  .header-top {
    padding-top: 30px;
    padding-bottom: 10px;
  }

  .popup-widget.cart-widget,
  .popup-widget.login-widget {
    top: 130px;
  }

  .admin-logged .popup-widget.cart-widget,
  .admin-logged .popup-widget.login-widget {
    top: 130px;
  }
}
@media (min-width: 992px) {
  .header-top {
    padding-top: 30px;
    padding-bottom: 10px;
  }

  .popup-widget.cart-widget,
  .popup-widget.login-widget {
    top: 130px;
  }

  .admin-logged .popup-widget.cart-widget,
  .admin-logged .popup-widget.login-widget {
    top: 155px;
  }
}
@media (max-width: 767px) {
  .top-navigation-bar {
    background-color: white;
  }
}

@media (max-width: 370px) {
  .top-navigation-bar .site-name a img {
    max-height: 30px;
  }
}

@media (min-width: 768px) {
  .products-related-block h2,
  .products-alternative-block h2,
  h4.homepage-group-title,
  .h4.homepage-group-title {
    font-size: 36px;
  }
  body .hodnoceni:before {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
  }
  .products-block.products .p .name {
    font-size: 18px;
  }
  .navigation-buttons a[data-target="cart"]:hover {
    color: white;
  }
  .header-top .btn.cart-count:hover .cart-price {
    color: white;
  }
  .navigation-buttons .click-cart a:after {
    display: none;
  }
  .click-cart > a[data-target="cart"] {
    background: var(--color-secondary);
    border-radius: 8px;
  }
  .click-cart > a[data-target="cart"]:hover {
    background: var(--color-secondary-hover);
  }
  #header .cart-count {
    border-radius: 7px 7px;
  }
  .navigation-buttons a[data-target="cart"] {
    color: #fff;
  }
  .header-top .btn.cart-count:before {
    font-size: 26px;
  }
  .header-top .btn.cart-count:before {
    color: white !important;
  }
  .navigation-buttons {
    right: 0;
  }
  .cart-window-visible #header .click-cart {
    border-radius: 7px 7px 0 0;
  }
  .cart-window-visible #header .cart-count {
    background: var(--color-secondary-hover);
    border-radius: 7px 7px 0 0;
  }
  .cart-window-visible .btn.cart-count .cart-price {
    color: white;
  }
  .popup-widget {
    margin-left: -6px;
  }
}

@media (min-width: 992px) {
  .popup-widget.cart-widget {
    margin-left: 106px;
  }
}

@media (min-width: 1200px) {
  .popup-widget.cart-widget {
    margin-left: 209px;
  }
}

@media (min-width: 1440px) {
  .popup-widget.cart-widget {
    margin-left: 329px;
  }
}

/*  energeticke triedy */

span[class*="flag-zaruka"],
span[class*="flag-ener"] {
  position: relative;
  background-color: transparent !important;
}

.flags-energy {
  position: absolute;
  top: 0;
  right: 10px;
  z-index: 3;
}

span[class*="flag-zaruka"],
span[class*="flag-ener"] {
  top: 0;
  padding: 0;
  right: 0;
  width: 50px;
  height: 35px;
}

.product span[class*="flag-zaruka"],
.p-image span[class*="flag-zaruka"] {
  height: 40px;
}

.product .flags-energy {
  top: -20px;
  right: -20px;
}

.product span[class*="flag-zaruka"],
.product span[class*="flag-ener"] {
  height: 30px;
}

.p-image span[class*="flag-zaruka"]:before,
.p-image span[class*="flag-ener"]:before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 67px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

span[class*="flag-zaruka"]:before,
span[class*="flag-ener"]:before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 57px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.flag.flag-energeticka-trida-a:before,
.flag.flag-energaticka-trida-a:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-A.svg");
}

.flag.flag-energeticka-trida-b:before,
.flag.flag-energaticka-trida-b:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-B.svg");
}

.flag.flag-energeticka-trida-c:before,
.flag.flag-energaticka-trida-c:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-C.svg");
}

.flag.flag-energeticka-trida-d:before,
.flag.flag-energaticka-trida-d:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-D.svg");
}

.flag.flag-energeticka-trida-e:before,
.flag.flag-energaticka-trida-e:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-E.svg");
}

.flag.flag-energeticka-trida-f:before,
.flag.flag-energaticka-trida-f:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-F.svg");
}

.flag.flag-energeticka-trida-g:before,
.flag.flag-energaticka-trida-g:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-G.svg");
}

.flag.flag-energeticka-trida-a-:before,
.flag.flag-energaticka-trida-a-:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-A+.svg");
}

.flag.flag-energeticka-trida-a--:before,
.flag.flag-energaticka-trida-a--:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-A++.svg");
}

.flag.flag-energeticka-trida-a--2:before,
.flag.flag-energaticka-trida-a--2:before {
  background-image: url("/user/documents/upload/energeticke-triedy/energy-label-A+++.svg");
}

.flag.flag-zaruka-5-let:before {
  background-image: url("/user/documents/upload/energeticke-triedy/elica-opravene-2.svg?v=1");
}

span[class*="flag-zaruka"]:before {
  height: 50px;
}

.p-image span[class*="flag-zaruka"] {
  height: 60px;
}

.p-image span[class*="flag-zaruka"]:before {
  height: 60px;
}

@media (max-width: 767px) {
  .product .flags-energy {
    top: -14px;
    right: -8px;
  }
}

@media (max-width: 767px) {
  .product span[class*="flag-ener"] + span[class*="flag-zaruka"] {
    position: absolute;
    top: -2px;
    right: calc(100% + 5px);
  }
  .flag.flag-zaruka-5-let:before {
    width: 55px;
    height: 36px;
  }
}
