@media (min-width: 768px) {
  #header .header-top {
    height: 80px;
  }
}

body {
  color: #000;
  font-family: var(--template-font);
}

.btn.btn-primary, a.btn.btn-primary {
  color: #000;
}

.btn.btn-primary:hover, a.btn.btn-primary:hover {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.overall-wrapper {
  overflow: clip;
}

table.detail-parameters tbody tr td a, .content p a, .content li a, a.more {
  color: #000
}

.breadcrumbs a.navigation-home-icon,
.breadcrumbs a, .breadcrumbs a span,
.breadcrumbs a:hover, .breadcrumbs a:hover span {
  color: var(--color-primary);
}

.news-item .image,
.news-item-link-img {
  width: 100%;
  aspect-ratio: 10 / 8;
  display: block;
}

.news-item .image img,
.news-item-link-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

article header .article-main-img {
  width: 150px;
  float: left;
  margin-right: 40px;
}

.news-item-detail .text {
  margin-top: 50px;
}

.cleaner {
  clear: both;
}

.top-navigation-bar a {
  color: #000;
}

.top-navigation-bar a:hover,
.top-navigation-menu-trigger:hover,
.languagesMenu__header--actual:hover {
  color: #000
}

#brands-slider {
  display: flex;
  justify-content: center;
  align-items: stretch;
  column-gap: 30px;
  row-gap: 10px;
  flex-wrap: wrap;
  margin-top: 50px;
}

#brands-slider h2 {
  flex: 0 0 100%;
  text-align: center;
}

#brands-slider a {
  flex: 0 0 150px;
  padding: 15px;
  transition: ease-in-out .3s;
  box-shadow: 0px 15px 30px rgba(23,46,84,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

#brands-slider a:hover {
  transform: scale(1.05, 1.05);
}

#brands-slider a img {
  width: 100%;
  height: auto;
  /*filter: grayscale(1);
  opacity: .85;*/
  transition: ease-in-out .3s;
}

#brands-slider a:hover img {
  filter: grayscale(0);
  opacity: 1;
  transition: ease-in-out .3s;
}

.custom-footer__banner1 .wise-man-wrap {
  padding: 30px;
  display: flex !important;
  flex-direction: column;
  text-align: center;
  align-items: center;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);
}

.wise-man-p.in-sidebar .wise-man-wrap {
  border: 1px solid #e4e4e4;
}

.multiple-columns-body .welcome-wrapper .welcome {
  margin-top: 0;
}

.custom-footer__banner1 .wise-man-wrap .header {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--template-headings-font);
  color: #000;
  line-height: 1.3;
}

.custom-footer__banner1 .wise-man-wrap .subhead {
  font-size: 14px;
  font-family: var(--template-headings-font);
}

.custom-footer__banner1 .wise-man-wrap .img-wrap {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  background-color: rgba(47, 112, 136, .1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.custom-footer__banner1 .wise-man-wrap .img-inner-wrap {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  border: 5px solid rgba(47, 112, 136, .1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.news-item .title:hover {
  color: #000 !important;
  text-decoration: underline !important;
}

.custom-footer__banner1 .wise-man-wrap .img-inner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-footer__banner1 .wise-man-wrap .name-wrap {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-top: 25px;
}

.custom-footer__banner1 .wise-man-wrap .position-wrap {
  font-size: 14px;
  line-height: 1.3;
  color: #656570;
}

.custom-footer__banner1 .wise-man-wrap a.phone {
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-footer__banner1 .wise-man-wrap a.phone img {
  display: none;
}

.custom-footer__banner1 .wise-man-wrap .phone-hours {
  font-size: 14px;
  line-height: 1.3;
  color: #656570;
  margin-bottom: 50px;
}

.custom-footer__banner1 .wise-man-wrap a.mail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dark-btn {
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  padding: 10px 20px;
  background-color: var(--color-secondary);
  color: #000;
  margin-top: 30px;
  transition: ease-in-out .3s;
}

.btn, a.btn {
  transition: ease-in-out .3s;
}

.dark-btn:hover {
  color: #fff;
  background-color: var(--color-primary);
}

.custom-footer__banner1 .wise-man-wrap .hidden {
  display: none !important;
}

.btn.btn-conversion, a.btn.btn-conversion, .btn.btn-cart, a.btn.btn-cart {
  transition: ease-in-out .3s;
}

.btn.btn-conversion:hover, a.btn.btn-conversion:hover, .btn.btn-cart:hover, a.btn.btn-cart:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.sidebar-inner .custom-footer__banner1 {
  padding: 0;
  border: 1px solid var(--color-border);
  width: 100% !important;
}

.top-navigation-bar .container > div {
  flex: 1 1 200px;
}

.top-navigation-bar .container > div.top-navigation-menu {
  flex: 1 1 auto;
}

@media (min-width: 992px) {
  .multiple-columns-body .position--benefitProduct .benefitBanner__item {
    flex: 1 1 25%;
  }
}

#categories a:hover,
.searchWhisperer__additionalResults__link:hover {
  color: #000;
}

.products-inline > div .p .p-in .p-in-in .name:hover,
.products-block .p .name:hover {
  color: #000;
}

.products-top .button-wrapper a,
.searchWhisperer__product:hover .searchWhisperer__product__name {
  color: #000;
}

footer .custom-footer__banner1 {
  display: none;
}

.navigation-buttons > a[data-target="cart"] i, .cart-count:not(.full) .cart-price::before {
  background-color: var(--color-primary);
}

table.detail-parameters tbody tr td a,
.content p a, .content li a,
a.more {
  text-decoration: underline;
  color: #000;
}

.btn.btn-conversion, a.btn.btn-conversion, .btn.btn-cart, a.btn.btn-cart {
  background-color: var(--color-secondary);
  color: #000;
  font-weight: 600;
}

.welcome-wrapper {
  align-items: flex-start;
}

.welcome-wrapper .custom-footer__banner1 .wise-man-wrap {
  background-color: #fff;
  box-shadow: 0px 4px 160px rgba(0, 0, 0, 0.1);
}

.welcome-wrapper .welcome {
  padding: 40px 30px;
  box-shadow: none;
}

.benefitBanner__data {
  font-size: 16px;
  line-height: 1.4;
}

a:hover, a:focus {
  color: #000;
}

#footer {
  overflow: hidden;
  background-color: #fff;
  border-top: 1px solid var(--color-border);
}

#footer a:hover {
  color: #000;
}

#footer h2 {
  font-size: 26px;
  margin-top: 0;
}

#footer h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

#footer-product-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}

.footer-rows .custom-footer {
  padding-bottom: 0;
}

.custom-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.type-index .box-categories {
  overflow: hidden;
  transition: height ease-in-out .3s;
}

.roll-btn-wrap {
  text-align: center;
  margin-top: 20px;
}

.roll-btn-wrap .show-more {
  text-decoration: underline;
  cursor: pointer;
}

.roll-btn-wrap .show-more:hover {
  text-decoration: none;
}

.plus-gallery-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.plus-gallery-item {
  margin: 0;
  flex: 0 0 calc(33.333% - 40px);
  border: none;
}

.plus-gallery-item figure {
  margin: 0;
}

.plus-gallery-item figure figcaption {
  font-style: italic;
  font-size: 13px;
  margin-top: 7px;
}

.plus-gallery-item figure .cboxElement {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.plus-gallery-item figure .cboxElement img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  top: 0;
  transform: translate(0);
}

/* Footer panel */
.custom-footer > div.custom-footer__banner7 {
  clear: both;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 40px;
  background-color: var(--color-primary);
  flex: 0 0 100vw;
  order: 99;
}

.footer-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  background-color: #fff;
  height: 120px;
  position: relative;
}

.footer-panel::before {
  background-color: #fff;
  height: 100%;
  right: 100%;
  width: 100vw;
  content: " ";
  top: 0;
  position: absolute;
}

.footer-panel::after,
.custom-footer::after,
.custom-footer::before {
  display: none;
}

.footer-panel-right-side {
  font-size: 26px;
  font-weight: 700;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  background-color: var(--color-primary);
  height: 100%;
  padding-left: 20px;
  position: relative;
}

.footer-panel-right-side::before {
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 0 120px 40px;
  border-color: transparent transparent var(--color-primary) transparent;
  transform: rotate(0deg);
  position: absolute;
  right: 100%;
  top: 0;
  content: " ";
}

.footer-panel-right-side a {
  display: flex;
  gap: 20px;
  align-items: center;
  color: #fff;
  transition: ease-in-out .3s;
}

#footer .footer-panel-right-side a:hover {
  color: var(--color-secondary);
}

.in-kontakty article > div > table > tbody > tr,
.in-prodejna article > div > table > tbody > tr {
  background-color: rgba(0, 0, 0, 0);
}

.in-kontakty article > div > table > tbody > tr > td,
.in-prodejna article > div > table > tbody > tr > td {
  vertical-align: top;
}

.in-prodejna article > div > table > tbody > tr > td table {
 max-width: 400px;
}

.in-prodejna article > div > table > tbody > tr > td {
  padding-top: 0;
}

.in-kontakty article > div > table > tbody > tr > td:first-child,
.in-prodejna article > div > table > tbody > tr > td:first-child {
  padding: 0;
}

.in-kontakty article > div > table > tbody > tr > td h2,
.in-prodejna article > div > table > tbody > tr > td h2,
.in-prodejna article > div > table > tbody > tr > td h3 {
  margin-top: 0;
}

.in-kontakty article > div > table > tbody > tr > td iframe {
  width: 100%;
  height: 100%;
  min-height: 720px;
}

.in-prodejna article > div > table > tbody > tr > td iframe {
  width: 100%;
  height: 400px;
}

.in-prodejna article > div > table > tbody > tr > td {
  width: 50%;
}

.footer-rows ul li {
  margin-bottom: 0;
}

.benefitBanner__picture {
  flex: 0 0 66px;
  max-width: 66px;
}

.benefitBanner__img {
  max-height: 50px;
}


@media (min-width: 768px) {
  #header .header-top-wrapper .site-name {
    flex: 0 1 30%;
  }

  #header .header-top-wrapper > div.search {
    flex: 0 1 35%;
  }

  #header .header-top-wrapper > div.navigation-buttons {
    flex: 0 1 35%;
  }

  /*body:not(.show-menu) .header-bottom #navigation {
    display: none;
  }*/

  .navigation-in {
    height: 60px;
  }
}




/* Test */

#header .container {
  min-height: 8px;
}

.box-categories h2 {
  margin: 0;
  padding: 10px 25px;
  background-color: var(--color-primary);
  color: #fff;
  line-height: 1.2;
  font-size: 20px;
}

.type-index .sidebar {
  display: none;
}

.type-index .sidebar + .content .row.banners-row {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
}

.type-index .sidebar + .content .row::after,
.type-index .sidebar + .content .row::before {
  display: none;
}

.type-index .next-to-carousel-banners {
  display: none;
}

.multiple-columns-body .position--benefitHomepage {
  padding: 40px 0;
  position: relative;
}

.multiple-columns-body .position--benefitHomepage::before {
  width: 100vw;
  background-color: #f6f6f6;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  content: " ";
  height: 100%;
  top: 0;
}

.multiple-columns-body .position--benefitHomepage .benefitBanner__item {
  width: 25%;
  flex: 1 1 25%;
  margin-top: 0;
  position: relative;
}

.categories .topic > a {
  line-height: 1.2;
}

.custom-footer > div.custom-footer__banner9 {
  width: 50%;
}

.subcategories.with-image li a .image {
  width: 70px;
}

.subcategories.with-image li a .text {
  width: calc(100% - 70px);
}

.type-posts-listing .sidebar, .type-post .sidebar, .type-page .sidebar {
  display: block;
}

body:not(.type-index):not(.type-category):not(.id--15):not(.prazdny-kosik):not(.type-manufacturer-detail) #header::after {
  display: none;
}

body .breadcrumbs,
body:not(.type-category):not(.type-manufacturer-detail) .breadcrumbs {
  height: auto;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

body.type-category .breadcrumbs, body.type-manufacturer-detail .breadcrumbs {
  margin-bottom: 20px;
}

.fix-detail-header h2 {
  font-size: 16px;
  margin-bottom: 12px;
  margin-top: 0;
}

article table td:has(iframe),
article table td:has(form) {
  padding: 0;
}

@media (max-width: 1200px) {
  .sidebar {
    width: 270px;
  }

  .in-kontakty article > div > table > tbody > tr, .in-prodejna article > div > table > tbody > tr {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .in-kontakty article > div > table > tbody > tr + tr,
  .in-prodejna article > div > table > tbody > tr + tr {
    margin-top: 40px;
  }

  .in-prodejna article > div > table > tbody > tr > td {
    width: 100%;
  }

  .news-wrapper .news-item {
    width: 33.3333%;
  }
}

@media screen and (max-width: 991px) {
  .custom-footer > div {
    max-height: unset;
    width: 100% !important;
    border: none;
    order: 5;
  }

  .footer-panel {
    flex-direction: column;
    padding-left: 0;
    align-items: flex-start;
  }

  .footer-panel::before,
  .footer-panel-right-side::before {
    display: none;
  }

  .custom-footer > div.custom-footer__banner7 {
    background-color: #fff;
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
    order: 1;
    margin-bottom: 20px;
  }

  .footer-panel-right-side {
    padding-left: 0;
    gap: 5px;
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    font-size: 18px;
    background-color: #fff;
    margin-top: 20px;
  }

  .footer-panel-right-side a {
    color: #000;
    font-weight: 500;
  }

  .footer-panel-right-side img {
    width: 16px;
    height: auto;
  }

  .benefitBanner {
    flex-wrap: wrap;
  }

  .multiple-columns-body .benefitBanner__item,
  .multiple-columns-body .position--benefitHomepage .benefitBanner__item {
    flex: 1 1 180px;
  }

  .id--9 .navigation-buttons, .id--15 .navigation-buttons {
    -webkit-justify-content: left;
    justify-content: right;
  }

  .news-wrapper .news-item {
    width: 50%;
  }
}

@media (max-width: 767px) {
  #header .site-name {
    max-height: 40px;
    max-width: 120px;
    position: absolute;
    left: 20px;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  .navigation-buttons a[data-target="navigation"] {
    order: 99;
    margin-right: 0;
    padding-right: 10px;
  }

  .navigation-window-visible .top-navigation-bar, .login-window-visible .top-navigation-bar, .multilang-active .top-navigation-bar {
    right: auto;
    left: 0;
  }

  .top-navigation-bar .top-navigation-tools {
    justify-content: flex-start;
  }

  .in-kontakty article > div > table > tbody > tr, .in-prodejna article > div > table > tbody > tr {
    display: flex;
    flex-direction: column;
  }

  .in-prodejna article > div > table > tbody > tr > td {
    width: 100%;
  }

  .plus-gallery-item {
    flex: 1 1 300px;
  }

  .breadcrumbs > span:not(#navigation-first) > a {
    line-height: 1.25;
    padding-top: 10px;
    padding-bottom: 6px;
  }
}

@media (max-width: 480px) {
  #footer-product-menu {
    display: flex;
    flex-direction: column;
  }

  h1, .h1 {
    font-size: 24px;
  }
}