/* Úprava zobrazení dat na produktových kartách (štítky | značka | kód) */

.product-top-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.2;
}

.product-top-info .flag {
    margin: 0 !important;
    white-space: nowrap;
}

.product-top-info a[href*="/znacka/"] {
    white-space: nowrap;
    display: inline-block;
}

.product-top-info .p-code {
    white-space: nowrap;
}

.product-separator {
    margin: 0 6px;
    color: #999;
    white-space: nowrap;
}

.product-flags-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-flags-inline .flag {
    margin: 0 !important;
}

/* Úprava vzhledu štítků */
.product-top-info .flags .flag {
    margin-bottom: 0;
}

/* Odstranění dárku v košíku */
.extra.gift {
    display: none !important;
}

// Zamezit vkládání sekce "Nejprodávanější"
.products-top-wrapper {
    display: none !important;
}

.hidden {
visibility: hidden;
}

.s_rightImg {
  display: flex;
  column-gap: 68px;
  align-items: center;
  flex-wrap: wrap;
}

.rightImg_img {
  flex: 0 0 auto;
  max-width: 400px;
}

.rightImg_img img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rightImg_text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.margin_buttom {
  margin-bottom: 34px;
}

.flex-reverse {
  flex-direction: row-reverse;
}

.references_row {
  display: flex;
  column-gap: 36px;
}

.reference {
  flex-basis: 25%;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 18px;
}

.reference img {
  max-width: 88px;
  margin-left: auto;
  margin-right: auto;
}

.reference_title {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 992px) {
  .rightImg_img img {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .references_row {
    column-gap: 24px;
  }

  .s_rightImg {
    column-gap: 32px;
  }
}

@media (max-width: 480px) {
  .s_rightImg {
    display: block;
  }

  .references_row {
    display: block;
  }

  .rightImg_img {
    display: flex;
    justify-content: center;
  }
}

/* skryvani subkategorii */
.subtype-category-parametric .subcategories
{display:none;}

/* skryvani filtru */
@media (max-width: 768px) {
.subtype-category-parametric #filters-wrapper
{display:none;}}

/* zobrazení 2 produktů vedle sebe na mobilu + opravy vzhledu produktů v tomto rozložení */
@media (max-width: 768px) {
.products-block > div {width: 50%;}
.products-block .p-bottom .btn {width: 100%; margin-top: 10px;}
.products-block .p-bottom .p-tools {flex-basis: 100%;}
.products-block .ratings-wrapper {min-height: 28px;}
.products-block.products .p .name {font-size: 14px;}
.products-block.products > div {padding-left: 5px; padding-right: 5px;}
}

/* posunutí popisu kat */
.category-perex{margin-top: 10px;}

/* skrytí hodnocení */
.latest-contribution-box{display:none;}

/* footer */
#footer .site-name {display: none;}

@media (min-width: 1200px) {
  .custom-footer {
      padding-left: 0;
  }
  .custom-footer > div {
      flex: 0 0 auto;
      width: 20%;
  }
}

/* kontejner */
.container-2 {
  position: relative;
  text-align: center;
  color: white;
  margin-bottom: 40px;
  margin-top: 0px;
}

.bottom-left-2 {
  position: absolute;
  bottom: 20px;
  left: 0px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  background-color: #2b6db4;
  padding: 10px 20px 10px 20px;
  opacity: 0.85;
}

/* ROW */
.alusic-row {
	display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
  margin: 20px 0px 0px 0px;
  padding: 20px 0px 20px 0px;
min-height: 200px;
border-style: 1px solid black;
}

.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}

/* skryti produktu v hl. kategorii */
body.in-aplikace .sidebar-left,
body.in-aplikace-kutilstvi .sidebar-left,
body.in-aplikace-v-automobilovem-prumyslu .sidebar-left,
body.in-aplikace-ve-stavebnictvi .sidebar-left,
body.in-prumyslove-aplikace .sidebar-left,
body.in-aplikace-v-zemedelstvi .sidebar-left {
    display: none;
}  

/* doprava zdarma */
.flag.flag-freeshipping {
    background-color: #df2800;
    width: 55px !important;
    height: 55px !important;
    font-size: 1em !important;
    background-size: 100% !important;
    border-radius: 5px !important;
}

.flag-freeshipping .icon-van {
    font-size: 35px !important;
    margin-bottom: -2px !important;
}

.flag-freeshipping .flag-text {
    font-size: 10px !important;
}

/* podklad homepage banneru */
.homepage-box {
    border-top-color: #edf7ff; /* barva horni linky */
    border-bottom-color: #edf7ff; /* barva spodni linky */
    background-color: #edf7ff; /* barva pozadi */
}

/* podklad leveho panelu */
.sidebar {
    background-color: #edf7ff; /* barva pozadi */
}

.filter-sections {
    background-color: transparent;
}

#manufacturer-filter {
    display: none;
}

.content #category-filter-hover, #category-filter-hover.visible {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

[class~="filter-section"], [class~="slider-wrapper"] {
    width: 100%;
}

/* subkategorie jako na VSK */
.subcategories.with-image {
    align-items: stretch;
}

.subcategories li {
}

.subcategories li a {
    height: 100%;
    flex-direction: column;
    padding: 7px;
}

.subcategories li a::before {
      display: none;
  }

.subcategories.with-image li a .image {
    width: auto;
}

.subcategories.with-image li a .image img {
    max-height: 100%;
}

.subcategories.with-image li a .text {
    width: 100%;
} 

/* zmena vzhledu filtru */
.sidebar h4 span {
    font-weight: normal;
    font-size: 12px;
    color: #0f437c;
}
   
/* roztazeni obsahu stat. stranek */
.content-inner {
    max-width: 100%;
}

/* nazev/perex odstraneni max vysky */    
.products-block.products .p .name {
  height: auto;
}

.p-in {
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  height: 100%;
}

.p-in-in {
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  height: 100%;
}

.ratings-wrapper {
  margin-top: auto;
}

/* oprava breadcrumbs */
.breadcrumbs > span {
    align-self: stretch;
}

.breadcrumbs > span > a,
.breadcrumbs > span > span {
    padding: 10px 20px;
    position: relative;
    min-height: 38px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

/* sekce ke stazeni */
.in-ke-stazeni article > div {
	font-size: 1.2em;
	display: flex;
	flex-wrap: wrap;
}

.in-ke-stazeni article h2 {
	width: 100%;
	margin-top: 3rem
}

.in-ke-stazeni article p {
	width: 25%;
	margin-bottom: 3rem;
	padding-right: 1.5rem;
}

.in-ke-stazeni article img {
	margin-bottom: 0.5rem;
	border: 1px solid #cccccc;
}

@media (max-width: 360px) {
  .in-ke-stazeni article p {
  	width: 100.0%;
  }
}
           
@media (min-width: 361px) and (max-width: 540px) {
  .in-ke-stazeni article p {
  	width: 50.0%;
  }
}

@media (min-width: 541px) and (max-width: 991px) {
  .in-ke-stazeni article p {
  	width: 33.33%;
  }
}


/*---*/
.show-related {
    font-size: 1.125em;
    color: green !important;
}
/* zapati */
  .custom-footer {
  padding-top: 20px;
}