:root {
	--tsl-bullet-width: 20px;
	--tsl-bullet-height: 2px;
	--tsl-btn-size: 40px;

	--ft-img-width: 96px;
	--ft-img-padding: 30px;
	--ft-feature-size: 30px;
	--ft-logo-width: 120px;

	--full-video-ratio: .54;
	--wided-video-ratio: .42;

	--gp-item-height: 25vw;

	--cert-inline-icon-width: 70px;

	--card-inline-height: calc(17vw + 10px);
}

.header-shadow {
    height: calc(35 * var(--vh));
    background-image: linear-gradient(to bottom, rgba(0,0,0,.4), transparent 90%);
    z-index: 5;
    margin: 0 calc(-1 * var(--page-h-padding));
    width: calc(100% + 2 * var(--page-h-padding));
}

#topSlider {
	/*height: calc(100vh - var(--header-height));*/
	height: calc(100 * var(--vh));
}

#topSlider video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#topSlider .toolkit-container {
	height: var(--page-h-padding);
	background-color: rgba(255,255,255,.55);
	z-index: 5;
}

#topSlider .swiper-pagination { bottom: calc(10px + var(--page-h-padding)); }

#topSlider .swiper-pagination .swiper-pagination-bullet {
    width: var(--tsl-bullet-width);
    height: var(--tsl-bullet-height);
    background-color: #fff;
    border-radius: 0;
}

#topSlider .slide-btn {
	z-index: 10;
	padding: 15px var(--page-h-padding);
	font-size: var(--tsl-btn-size);
}

#topSlider .arrow svg {
	width: auto;
	height: 40px;
	fill: #fff;
}

#topSlider .swiper-pagination-bullet { opacity: .5; }
#topSlider .swiper-pagination-bullet-active { opacity: 1; }

/***************************************/

#features_about {
	z-index: 2;
    flex-wrap: wrap;
    justify-content: space-between;
    /*box-shadow: 0px 0px 15px 0px rgba(0,0,0,.4);*/
}

#features_about .akcent-image-wrapper {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	height: calc(100% - 2 * var(--page-h-padding));
}

.features-part {
    width: calc((100% - var(--ft-img-width)) / 2 - var(--ft-img-padding));
}

.akcent-image {
	height: 100%;
	/*width: var(--ft-img-width);
	/*height: 180px;*/
	/*background-color: #d20;*/
}

.logo-features {
	width: var(--ft-logo-width);
}

.features-right-part .feature-item {
	padding-left: 45px;
}

.features-right-part .descr-text { margin-top: -15px }

.feature-item .h2.xbold {
	font-weight: 800;
	position: relative;
	font-size: var(--h1-font-size);
}

.feature-item .h2:before {
    content: ">";
    position: absolute;
    left: -1em;
    bottom: 0.5em;
    font-size: var(--body-bigger-size);
    font-weight: 400;
}

.feature-item p + p { margin: -13px 0px 0px; }

.logo-features svg {
    height: 22px;
    display: inline-block;
    width: auto;
}

.akcent-image-wrapper svg {
    height: 100%;
    fill: var(--red-active-color);
}

/************************************/

.full-screen-video {
	width: 100%;
	/*height: calc( 100vw * var(--full-video-ratio) );*/
}

.wided-video-container {
	/*height: calc( 100vw * var(--wided-video-ratio) );*/
	aspect-ratio: 20 / 9;
	overflow: hidden;
}

/***********************************/

.home-about {
    width: 370px;
    max-width: 100%;
    display: inline-block;
}

.home-about * { text-align: inherit; }
.home-about p { margin: 10px 0 0; }

#tripple_text_about .row .sect:nth-of-type(1) { text-align: left; }

#tripple_text_about .row .sect:nth-of-type(2) { text-align: center; }

#tripple_text_about .row .sect:nth-of-type(3) { text-align: right; }

#tripple_text_about {
    /*box-shadow: 0px 0px 10px 0px rgba(0,0,0,.4);*/
}

/***********************************/

.galleryPreview {
	padding-bottom: var(--page-h-padding);
}

.header-section {
	padding: var(--page-h-padding) var(--page-h-padding) 15px;
}

.header-section .row.flex.toBottom { margin-top: calc(-1.1 * var(--h3-font-size)); }

.header-section.no-side-padding {
	padding-left: 0;
	padding-right: 0;
}

.galleryPreviewItem {
    height: var(--gp-item-height);
    border-right: 2px solid #fff;
    overflow: hidden;
    background-size: auto 100%;
    transition: .3s ease-out;
    background-position: center;
}

.galleryPreviewItem:hover { background-size: auto 105%; }

.galleryPreview:not(.galleryProducts) .more-text {display: none;}

.galleryPreviewItem:nth-last-of-type(1) {
	border-right: none;
}

.galleryPreviewItemTitle {
    position: absolute;
    background-color: rgba(255,255,255,.7);
    padding: 0px 16px;
    height: var(--page-h-padding);
    width: var(--gp-item-height);
    transform: rotate(-90deg);
    transform-origin: top right;
    top: 0;
    right: var(--page-h-padding);
}

.galleryPreviewItemTitle span + span { margin-left: 15px }

.fullBlockVideo + .galleryProducts:before {
	content: "";
    background-color: #fff;
    display: block;
    height: var(--page-h-padding);
    box-shadow: 0px 10px 15px 0px rgba(0,0,0,.2);
    z-index: 5;
    position: relative;
    margin-left: calc(-1 * var(--page-h-padding));
    margin-right: calc(-1 * var(--page-h-padding));

    display: none;
}

/**************************************/

@media (min-width: 1080px) {
	.cert-icon-wrapper {
	    width: 20%;
	}
}

.icon.cert-icon-self {
    width: var(--cert-inline-icon-width);
    height: var(--cert-inline-icon-width);
    margin: 0px auto 15px;
}

.icon.cert-icon-descr .inner p {
    line-height: 1.2em;
    height: 3.6em;
}

.cert-window-inline {
	padding: var(--page-h-padding) 0;
	/*margin: 0 var(--page-h-padding);*/
	/*margin: calc( .5 * var(--page-h-padding) ) auto calc( -.5 * var(--page-h-padding) );*/
	/*box-shadow: 0px 0px 20px 0px rgba(0,0,0,.3);*/
    background-color: #fff;
    z-index: 5;
    position: relative;
}

.cert-window-inline h3 {
	margin-bottom: 30px;
	margin-top: 0px;
}

.cert-window-inline h2:empty {
	display: none;
}

.cert-window-inline .inner-container {
	padding: 0px 15px;
	margin: auto;
	width: 1190px;
	max-width: 100%;
}

.certs-disclaimer-text {
	margin: 0px 0 20px;
}

/*************************************/

.cardsWrapper {
	padding-bottom: var(--page-h-padding);
}

.header-section:empty {
	padding-bottom: 0px;
}

.cardsWrapper .row {
    margin-left: -7.5px;
    margin-right: -7.5px;
}

.cardsWrapper .row [class ^="col"] {
	padding-left: 7.5px;
	padding-right: 7.5px;
}

.card-image {
	height: var(--card-inline-height);
}

.card-description { 
	padding: 15px 15px;
	margin-top: 15px;
	height: 135px;
}

/*.newsInline */.card-description { height: 105px; }

.card-description h3 { margin-top: 0px;  }

/*.newsInline */.card-description h3 { 
    font-size: calc(var(--h3-font-size) * 0.7);
    font-weight: 600 !important;
    width: calc(100% - 70px);
    max-width: calc(100% - 85px);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-description h3 + .news-item-date { width: 85px; white-space: nowrap; text-align: right; } 

.cardsWrapper .card-link {
    right: 15px;
    top: 15px;
}

.cardsWrapper .card-link svg {
	width: 24px;
	height: auto;
	fill: rgb(115, 115, 115);
}

@media screen and ( max-width: 1180px ) and (min-height: 700px) and ( min-width: 1025px ) {
    :root {
        --h2-font-size: 20px;
        --body-bigger-size: 12px;
    }

    .cert-window-inline .inner-container { padding: 0px var(--page-h-padding); }

	.card-description-text {
		-webkit-line-clamp: 4;
	    display: -webkit-box;
	    -webkit-box-orient: vertical;
	    overflow: hidden;
	}
}

@media (max-width: 1024px) and (min-width: 769px) {
	:root {
		--h2-font-size: 20px;
        --body-bigger-size: 12px;
	}
	
	.icon.cert-icon-descr { height: 95px; }
	
	.cert-window-inline .inner-container { padding: 0px var(--page-h-padding); }

	.card-description-text {
		-webkit-line-clamp: 4;
	    display: -webkit-box;
	    -webkit-box-orient: vertical;
	    overflow: hidden;
	}
}

@media screen and (max-width: 820px) and (min-width: 550px) and (orientation: portrait) {
	:root {
        --body-bigger-size: 12px;
        --gp-item-height: 34vw;
        --cert-inline-icon-width: 60px;
	}
	
	.icon.cert-icon-descr {
        height: 110px;
    }

	#topSlider {
	    /*height: auto;
	    aspect-ratio: 16 / 9;*/
	}

	.features-right-part .descr-text br { display: none; }

	.galleryPreviewItem { background-size: cover; }
	.galleryPreviewItem:nth-of-type(n + 3) { border-top: 2px solid #fff; }
	.galleryPreviewItem:nth-of-type(2n) { border-right: 0; }

	.card-description-text {
		-webkit-line-clamp: 4;
	    display: -webkit-box;
	    -webkit-box-orient: vertical;
	    overflow: hidden;
	}

	.feature-item .h2.xbold { font-size: var(--h2-font-size); }

	.home-about h2 {font-size: 16px;}

	.card-image { aspect-ratio: 16 / 9; height: auto; }

	.qualityInline { margin: -20px 0px; }
}

@media screen and (max-width: 449px) and (orientation: portrait) {
	:root {
		--gp-item-height: calc(44 * var(--vh));
		--cert-inline-icon-width: 55px;
	}

	

	/*#topSlider {
	    height: auto;
	    aspect-ratio: 16 / 9;
	}*/
	#topSlider .swiper-pagination { bottom: calc(40px + var(--page-h-padding)); }
	#topSlider .toolkit-container { height: 50px; }

	#features_about .akcent-image-wrapper {
	    transform: none;
	    height: 100px;
	    position: static;
	    margin-top: 15px;
	    margin-left: -2px;
	}

	.akcent-image-wrapper svg {
	    height: 100px;
	    margin: auto;
	    width: 65px;
	    display: block;
	}

	.feature-item .h2.xbold { font-size: 25px; }

	#features_about.flex { display: block; }

	.features-part { width: 100%; text-align: center; }
	.logo-features { width: auto; margin-top: 30px; }

	.features-right-part .descr-text { margin-top: 0px; text-transform: initial; }

	.features-right-part .descr-text br { display: none; }

	.xs-half.features-part,
	.xs-half.features-part.marginTop15 {
	    width: calc(50% - 3px);
	    display: inline-block;
	    margin-top: 30px;
	}

	.xs-half.features-part .text-right,
	.xs-half.features-part .text-left { text-align: center; }

	.xs-half.features-part .feature-item { height: 50px; }
	.features-right-part .feature-item { padding-left: 15px; }

	.wided-video-container { /*height: auto; aspect-ratio: 16 / 9;*/ }

	.galleryPreviewItemTitle {
    	height: 35px;
    	width: calc(var(--gp-item-height) + 1px);
        right: 34px;
	}

	.header-section { padding: 40px 40px 15px; }

	.galleryPreviewItem:nth-of-type(n + 3) { border-top: 2px solid #fff; }
	.galleryPreviewItem:nth-of-type(2n) { border-right: 0; }

	.cert-icon-wrapper { 
		width: 100%;
	    margin-bottom: 20px;
	    display: flex;
	    justify-content: space-evenly;
        align-items: center;
	}
	
	.icon.cert-icon-descr .inner p {
        line-height: 1.2em;
        height: 4.8em;
        margin-bottom: 0;
    }
    
    [data-id="certListInline"] .icon.cert-icon-descr .inner p {
        height: auto;
    }

	.icon.cert-icon-descr { 
		width: 50%; 
		display: flex;
		align-items: center;
		text-align: left;
		height: calc(var(--cert-inline-icon-width) * 1.5) /*var(--cert-inline-icon-width)*/;
		
	}

	.icon.cert-icon-self { margin: 0px; }

	.certs-disclaimer-text + .flex { flex-wrap: wrap; }

	.qualityInline .cert-window-inline { padding: 0; }

	#tripple_text_about .row .sect {
	    text-align: center !important;
	    margin-bottom: 15px;
	}

	.card-image { height: auto; aspect-ratio: 16 / 9; }
	.card-wrapper { margin-bottom: 20px; }
	.card-description { margin-top: 10px; }
}