/* Put custom css rules here */
.top-search-form .results {
    position: absolute;
    background-color: #FFF;
    padding: 1px 1px 20px;
    left: 0;
    top: 36px;
    width: 430px;
    z-index: 999;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    display: none;
}
.footer-marketplaces {
  position: absolute;
  left: 350px;
  top: 100px;
  right: 200px;
  display: flex;
  align-items: center;
}
.footer-marketplaces img{
  cursor: pointer;
  width: 40px;
  margin-right: 10px;
}
.footer-marketplaces p{
  margin-bottom: 0px;
}
@media screen and (max-width: 509px) {
  .footer-marketplaces {
    left: 0px;
    right: 0px;
    top: 10px;
    position: relative;
  }
}
.center:after {
    content: '';
    clear: both;
    display: block;
}

.breadcrumbs li:last-child:after {
	content:none;
}



.insulation-advantages {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;

	margin: 20px 0;
}
.insulation-advantages .insulation-advantage {
    max-width: 250px;
	min-height: 280px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-direction: column;
    background: #fff;
	border-radius: 10px;
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, .2);
	
    padding: 10px;
	margin: 10px;
}
.insulation-advantages .insulation-advantage .advantage-title {
	color: #be303a;
	font-size: 28px;
	text-align: center;
	line-height: 1;
}
.insulation-advantages .insulation-advantage .advantage-description {
	max-height: 100px;
    overflow: scroll;
    overflow-x: hidden;
	font-size: 16px;

	margin-top: 20px;
}
.advantage-description::-webkit-scrollbar {width: 10px;}
.advantage-description::-webkit-scrollbar-track {background: #fff;}
.advantage-description::-webkit-scrollbar-thumb {
  background: #be303a;
  border-radius: calc(15px / 2);
  border: 3px solid #fff;
}
.insulation-advantages .insulation-advantage .advantage-icon {
	width: 100%;
	height: 64px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #be303a;

	padding: 10px;
	margin-top: 20px;
}
.insulation-advantages .insulation-advantage .advantage-icon img {
	filter: invert(1) drop-shadow(2px 4px 6px black);
}
.polynor-advantages img {
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, .2);
}
@media screen and (max-width: 999px) {
	.insulation-advantages {justify-content: center;}
}
.foams-differences {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.foam-differences {
	width: 100%;
	max-width: 400px;
	display: flex;
	align-items: center;
	flex-direction: column;
	background: #fff;
	border-top: 2px solid #be303a;
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, .2);

	padding: 30px 0;
	margin: 10px;
}
.foam-differences .foam-differences-heading {
	width: 100%;
	font-size: 40px;
	color: #fff;
	text-align: center;
	background: #be303a;

	padding: 15px 0;
}
.foam-differences img {
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, .2);
}
.foam-differences .foam-differences-target {
	font-size: 20px;
	
	margin: 15px 0;
}
.method-application {
	background: #be303a;
}
.method-application-images {
	display: flex;
    justify-content: space-around;
    align-items: center;
	flex-wrap: wrap;
	
	padding: 30px 0;
}
.method-application-images .method-application-image {
	position: relative;

	margin: 10px;
}
.method-application-images .method-application-image img {
	border-radius: 0 20px;
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, .2);

	margin: 0;
}
.method-application .method-application-heading {
	width: 100%;
    color: #be303a;
	font-size: 24px;
	text-align: center;
    background: #fff;
    border-top: 2px solid #be303a;
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, .2);

    padding: 30px 0;
}
.application-ribon-wrap {
	width: 100%;
	height: 100%;
	position: absolute;
	top: -8px; left: 8px;
	overflow: hidden;
}
.application-ribon-wrap:before, .application-ribon-wrap:after {
	content: ''; 
	position: absolute;
}
.application-ribon-wrap::after {
	width: 8px;
	height: 40px;
	right: 0px;
	top: 100px;
	background: #6e1b21;
	border-radius: 0px 8px 8px 0px;
}
.application-ribon-wrap::before {
	width: 40px;
	height: 8px;
	right: 100px;
	background: #6e1b21;
	border-radius: 8px 8px 0px 0px;
}
.application-ribbon {
	width: 200px;
	height: 40px;
	line-height: 40px;
	position: absolute;
	top: 30px; right: -50px;
	z-index: 2;
	overflow: hidden;
	transform: rotate(45deg);
	border: 1px dashed;
	box-shadow: 0 0 0 3px #fff,  0px 21px 5px -18px rgba(0, 0, 0, .6);
	background: #fff;
	text-align: center;
	color: #be303a;
}
.application-photos {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.application-photos .application-photo {
	width: 100%;
	max-width: 250px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, .2);

	margin: 10px;
}
.application-photos .application-photo img {
	width: 100%;
	height: 100%;

	margin: 0;
}
.application-photos .application-photo .application-photo-description {
	width: 100%;
	text-align: center;
	background: #fff;
	border-bottom: 1px solid #be303a;

	padding: 15px 0;
}

/*15.03.2022*/

.mobile_only {
	display:none;
}

@media (max-width:999px) {
	.showup-btn .header {
		position: fixed;
		width: 100%;
		z-index: 1;
		top: 0px;
		box-shadow: 0px 0px 2px rgb(0 0 0 / 19%);
	}
	
	.showup-btn .header,
	.showup-btn .header .center {
		height:auto;
	}
	
	body.showup-btn  {
		padding-top:105px;
	}
}

@media (max-width:509px) {
	.showup-btn .header .top-search-form,
	.showup-btn .header .personal,
	.showup-btn .header #basket_small_cont {
		display:none;
	}
	
	
	.mobile_only {
		display:block;
	}
	
	
	.header a.mobile_only {
		order: 2;
		height: 28px;
	}

	
}

 .whatsapp-icon img {
    display: block;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    width: 23px;
    height: 23px;
}
.telegramm-icon img {
    display: block;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    width: 23px;
    height: 23px;
}
.telegramm-icon {
    justify-content: center;
    align-items: center;
    float: right;
    margin-right: 69px;
}
.whatsapp-icon:hover img {
  filter: drop-shadow(5px 5px 9px #75c065);
  animation-play-state: paused; }
.telegramm-icon:hover img {
  filter: drop-shadow(5px 5px 9px #41b4e6);
  animation-play-state: paused; }
.messengers {
  display: contents;
}
.messengers-adaptive {
  display: none;
}
.middle {
	padding: 100px 0 0;
}
@media (max-width:999px) {
	.messengers-adaptive {
		display: contents;
	}
	.right-column {
		width: 100% !important;
	}
	.middle {
		padding: 0;
	}

}
.pdf-download {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.pdf-download img {
	width: 50px;
}
.catalog-section .picture {
	height: auto;
}
.catalog-section .picture a,
.catalog .picture a {
	display: block;
	height: 180px;
}
.catalog-section .picture img,
.catalog .picture img {
	width: 100%;
	height: 180px;
	object-fit: contain;
}
.catalog-section .item .picture img {
	max-height: none !important;
}
.catalog-section .title {
	text-align: center;
}
.main-articles-list .item .picture img {
	display: block;
}


/* правка header */
.header {
	height: auto;
}
.header .center {
	height: auto;
}
.header-flexblock {
	gap: 5px;
}
.messengers-wp a,
.messengers-tg a {
	display: block;
	height: 32px;
}
.mobile_only {
	height: 30px !important;
}
.catalog-item .item-top-block .left-column {
	padding: 0;
}
.catalog-item .main-picture a:after {
	bottom: 0;
	left: 0;
}


.catalog-slider .items-holder {
	margin: 0px;
}

.catalog-slider {
width: 100%!important;
}


/* Таблица. Характеристики гидрофобизаторов */
.tiprom__wrapper{
  display: block;
  overflow-x: auto;
}
.tiprom__table {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #ab3b40;
  border-collapse: collapse;
}
.tiprom__table td,
.tiprom__head th:not(.tiprom__level),
.tiprom__name td,
.tiprom__method td,
.tiprom__spell td,
.tiprom__features td {
  color: #000 !important;
  text-align: center;
  border: 1px solid #ab3b40 !important;
}
.tiprom__table td {
  text-align: center;
}
.tiprom__name {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1px;
}
.tiprom__table span {
  display: block;
  font-size: 15px;
}
.tiprom__level {
  width: 150px;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-wrap: wrap;
  line-height: 1;
  color: #000 !important;
  border: 1px solid #ab3b40 !important;
  padding: 5px;
}
.tiprom__specifications {
  width: 150px;
  font-size: 18px;
  font-weight: 800;
  text-align: left !important;
  padding: 5px;
}
@media (max-width: 1001px) {
  .tiprom__table td {
    padding: 5px;
  }
  .tiprom__table span {
    font-size: 14px;
  }
  .tiprom__name span,
  .tiprom__level,
  .tiprom__specifications {
    font-size: 15px !important;
  }
}
@media (max-width: 510px) {
  .tiprom__table td {
    padding: 5px;
  }
  .tiprom__table span {
    font-size: 12px;
  }
  .tiprom__name span,
  .tiprom__level,
  .tiprom__specifications {
    font-size: 13px !important;
  }
  .tiprom__level,
  .tiprom__specifications {
    width: 130px;
  }
}

/* Таблица. Характеристика герметиков */
.table__wrapper {
  display: block;
  overflow: auto;
}
.table__sealants {
  font-size: 16px !important;
  font-weight: normal;
  color: #000000 !important;
  border: none;
  border-collapse: collapse;
}
.table__sealants thead tr > th {
  color: #000000 !important;
  font-weight: normal;
  text-align: left !important;
  padding: 15px 15px !important;
}
.table__sealants-img {
  text-align: center;
  vertical-align: middle;
}
.table__sealants-img img {
  display: block;
  width: auto;
  height: 160px;
  margin: auto;
}
.clip-img {
  width: auto;
  height: 140px !important;
  margin: auto;
}
@media (max-width: 1001px) {
  .table__sealants thead > th,
  .table__sealants tbody > td {
    font-size: 15px !important;
    padding: 10px 10px !important;
  }
}
@media (max-width: 510px) {
  .table__sealants thead > th,
  .table__sealants tbody > td {
    font-size: 14px !important;
  }
}
.advantages {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin: 20px auto !important;
    padding: 0;
    list-style: none;
}
.advantages li {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

.details__custom summary{
	padding: 5px;
	background: #be303a;
	border-bottom: 3px solid #9e3037;
	color: #fff;
	text-transform: uppercase;
	margin: 5px 5px 5px 0;
	cursor: pointer;
	max-width: 462px;
	width: 100%;
	text-align: center;
}

.details__custom summary:hover{
	background: #9e3037;
}

.modal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 20px;
    border: 7px solid #4d887b;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-content p {
font-size: 16px;
}

.slider-product {
  position: relative;
  width: 100%;
  margin-top: 25px;
  margin-bottom: 10px;
}

.swiper-wrapper {
  display: flex; /* Используется для выравнивания слайдов */
  transition: transform 0.3s ease;
}

.swiper-slide {
  flex-shrink: 0; /* Запрещает сжать слайды */
  width: 100%;
  height: auto; /* Автоматическая высота */
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 350px;
}

/* Стили для изображений внутри слайдов */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Подгоняет изображение, чтобы оно заполнило слайд */
}

.swiper-button-next-product,
.swiper-button-prev-product {
  position: absolute;
  top: 50%;
  width: 35px;
  height: 35px;
  margin-top: -12px;
  background: rgba(0, 0, 0, 0.500);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-next-product {
  right: 10px; /* Позиционирование кнопки "Next" */
}

.swiper-button-prev-product {
  left: 10px; /* Позиционирование кнопки "Prev" */
}

.swiper-button-next-product::before {
  content: '\f105';
  font-family: 'FontAwesome';
  font-size: 40px;
  margin-bottom: 3px;
  margin-left: 4px;
}

.swiper-button-prev-product::before {
  content: '\f104';
  font-family: 'FontAwesome';
  font-size: 40px;
  margin-bottom: 3px;
  margin-right: 4px;

}

.container-details {
  margin-bottom: 25px;
  cursor: pointer;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  max-height: 350px;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}

.swiper-slide-galerry {
  flex-shrink: 0; /* Запрещает сжать слайды */
  width: 100%;
  height: fit-content; /* Автоматическая высота */
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 350px;
}

.swiper-slide-galerry img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Подгоняет изображение, чтобы оно заполнило слайд */
}


youtube {
  height: 250px;
  width: 100%;
  margin-right: 10px;
  max-width: 550px;
  display: inline-block;
  border: 1px solid #ffa931;
  background-image: url(/upload/iblock/youtube-img.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: #2c86aca6;
}

@media all and (max-width: 768px) {
	.modal {
		padding: 90px 0 0 0;
	}
}


 .foto img {
            height: auto;
            max-width: 283px !important;
	
        }

.foto{
        display:flex;
	gap:10px;
flex-wrap:wrap;
        }

@media screen and (max-width:1000px){
.foto{
justify-content:center;}

}
.socs-gif {
 position: fixed;
 right: 10px;
 bottom: 70px;
 z-index: 9;
 border-radius: 50%;
 width: 70px;
}
.iconblock {
 position: fixed;
 right: 20px;
 bottom: 150px;
 z-index: 9;
 width: max-content;
 display: flex;
 flex-direction: column;
 gap: 10px;
 transition: .3s;
 transform: translate(180%, 0);
}
.iconblock-act {
 transform: translate(-30%, 0);
}
.footer-icon {
 width: 50px;
 height: 50px;
}
.footer-icon:hover {
 filter: saturate(3);
}
ol{
  padding: 0 0 0 5px !important;
}

.header .messengers-adaptive > div,
.header .messengers > div {
	width: 32px;
	height: 32px;
	overflow: hidden;
}

.faq-container summary{
	font-size: 18px;
  line-height: 26px;
	color: #be303a;
	}
	.faq-container details{
    border: 1px solid #be303a;
    color: #333333;
    padding: 9px 8px;
    border-radius: 5px;
    margin:5px;
	}

  .icon-ankor img{
    width: 25px;
    margin: 8px;
  }

  .icon-ankor{
    display: flex;
    align-items: center;
  }
.contact-soc{
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 5px;
}
.soc-icon{
max-width:31px;
width:100%;
height:31px;
border-radius: 100%;
}
.proizvodstvo{
	border: 3px solid #cc9d1e;
    padding: 7px;
    background: #ffc426;
    border-radius: 10px;
    font-size: 14px;
	text-align:center;
}
.proizvodstvo span{
	font-weight:600;
	text-transform: uppercase;
}
.top-nav-block{
left: 0;
right: 0;
margin: auto;
}
@media screen and (max-width: 1230px){
.content .catalog-slider .scroll.next{
right: 0;
}
.content .catalog-slider .scroll.prev{
left: 0;
}
}


/*
#ecom-widget-map span.loader:not(:last-child) {
	display: none;
}
*/
#ecom-widget-map {
	position: relative;
}

#ecom-widget-map span.loader {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
}

#ecom-widget-map span.loader:after{content:'';display:block;background: url('../images/spinner.gif') 50% 50% no-repeat; margin: 0 auto; width: 32px; height: 32px;}

#ecom-widget-map iframe {
	z-index: 1;
	position: relative;
}

.order-options .delivery_address {
	font-weight: bold;
}

.content .info_errors {
	color: red;
	padding: 15px;
	border: solid 1px #b3383b;
	margin-bottom: 25px;
}

.item_not_avail {
	color: red;
}