/* HTML */
/* -------------------------------------------------------------------- */
html { height: 100%; font-size: var(--root-font-size); }
body {  width: 100%; min-height: 100%; vertical-align: top;	background: var(--background-color); color: var(--text-color);
	font-size: 1.7rem; font-family: var(--font); font-weight: normal;
	line-height: 1.5; 
}
body > .container { overflow: hidden; opacity: 0;}

iframe { border: none; }

@media screen and (min-width: 2000px) {
	html { font-size: 13px; }
}
@media screen and (min-width: 3000px) {
	html { font-size: 20px; }
}

.-hidden { display: none; }

/* Main elements */
/* ============================================================== */
img { display: inline-block; max-width: 100%; height: auto; }
p:not(:last-child) { margin-bottom: 0.7em; }
b { font-weight: bold; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline;  }
b, strong { font-weight: bold;}
i { width: auto; height: auto; }
em { font-weight: bold; font-style: normal; }
hr { display: block; margin: 4rem 0; background: 0; border-top: 2px solid #eee; }

/* ============================================================== */
h1, h2, h3, h4 { margin-bottom: 0.5em; line-height: 1.2; color: var(--heading-color); font-weight: 500;}

h1 { font-size: 3.6rem; margin-bottom: 1em;  text-transform: uppercase; }
h2 { font-size: 3rem; margin-bottom: 1em;  }
h2.-center { text-align: center; }
h3 { font-size: 2.5rem; }

@media screen and (max-width: 768px) {
	h1 { font-size: 3.2rem; }
	h2 { font-size: 2.8rem; }
	h3 { font-size: 2.4rem; }
}

/* Lists */
/* ============================================================== */
ul, ol { list-style-type: none; }
ol > li::marker  {  display: inline; }
ol > li::before,
ul > li::before { display: inline-block; }
ol > li > p { display: inline; }
ul > li > p { display: inline; }

ul.two-columns { column-count: 2; }
ul.two-columns li { overflow: hidden; }

@media screen and (max-width: 960px) {
	ul.two-columns { column-count: 1; }
}

.hidden { display: none !important; }
.clearfix { clear: both; }

/* ============================================================== */
img.-full { width: 100%; height: auto; float: none; max-width: none; margin-left: 0; margin-right: 0; }
img.-full:not(:first-child) { margin-top: 2rem; }
img.-full:not(:last-child) { margin-bottom: 2rem; }

img.-left { float: left; margin-right: var(--span); margin-bottom: var(--span); max-width: 50rem; height: auto; position: relative; }
img.-right { float: right; margin-left: var(--span); margin-bottom: var(--span); max-width: 50rem; height: auto; position: relative; }

img.-small { max-width: 30rem; }

@media screen and (max-width: 768px) {
	img.-left, img.-right { float: none; max-width: none; margin:0; margin-bottom: 2rem; width: 100%; }
}

/* ============================================================== */
table { width: 100%; margin-bottom: 4rem; background: white;   text-align: center; overflow: hidden; }
table caption { background: var(--color-gray); padding: 2rem; font-size: 2rem; font-weight: bold; color: #333; text-align: center; text-transform: uppercase;  }
table td,
table th { border: 1px solid #d0d0d0; padding: 2rem 2rem; text-align: left;  vertical-align: middle; }
table th { background: #f5f5f5 ;  font-size: 1.8rem; font-weight: bold; border-bottom: 4px solid #82cf2e; }
table td { }                            
table td.value, table th.value { text-align: center; }
table td.first { font-weight: bold; }
table tr.secondary > td:first-child { padding-left: 3rem; }
table h2 { font-size: 1.8rem; }

@media screen and (max-width: 960px) {
	table { overflow: auto; max-width: 100%; }
	table td, table th { padding: 0.5rem 1rem; }
}


/* Всплывающие окна */
/* ============================================================== */
.mfp-content {
	--text-color: black; --heading-color: var(--color-red);
	color: black; padding: 4rem; overflow:hidden; background: white; display: inline-block; width: auto !important; max-width: 60rem; z-index: 52; width: 100% !important; 
	font-size: 1.5rem; }
.mfp-content.-policy { max-width: 80%;  }
.mfp-bg { z-index: 150;}
.mfp-wrap { z-index: 151; }
.mfp-content form { width: 100%; margin:0 auto; text-align: center; }
.mfp-content a { color: var(--color-green); }
.mfp-content .form button { width: 100%; }
.mfp-content input,
.mfp-content select,
.mfp-content textarea { background: #f4f4f4; border-bottom: 1px solid #888; }
.mfp-content .form-buttons { display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.mfp-content .vcap-input { justify-content: center; text-align: left; }
.mfp-content .vcap-input > label { font-weight: normal; }
.mfp-content .vcap-input > label a:hover { text-decoration: none; }
.mfp-content h2 { color: black; text-align: center; font-size: 3.6rem; }
.mfp-close { border-radius: 50%; width: 3.5rem; height: 3.5rem; right: 1rem; top: 1rem; line-height: 0; }
.mfp-close:hover, .mfp-close:focus { color: white; }

.mfp-content.-policy h2 { text-align: left; }
.mfp-content.-policy h3 { text-align: left; }
.mfp-content.-policy h4 { text-align: left; }


.center-container { display: flex; align-items: center; justify-content: center; gap: 1rem 2rem; }
/* Контейнеры для различных элементов и карточек */
/* ============================================================== */
.grid-container { display: grid; grid-template-rows: auto; grid-template-columns: repeat(auto-fill, minmax(var(--item-width), 1fr)); gap: var(--container-gap); justify-content: center;  }

[data-container~="count-5"] { --item-width: 20rem; }
[data-container~="count-4"] { --item-width: 28rem; }
[data-container~="count-3"] { --item-width: 35rem; }
[data-container~="count-2"] { --item-width: 50rem; }

@media screen and (max-width: 960px) {
	.grid-container { display: flex; flex-wrap: wrap; flex-wrap: wrap; justify-content: left; }
	.grid-container > * { flex-basis: var(--item-width);  }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 640px) {
	.grid-container {  --item-width: 100% !important; }
}

.flex-container { display: flex; gap: var(--container-gap); flex-wrap: wrap; align-items: center; justify-content: center; }
.flex-container > * { flex-grow: 1; flex-basis: var(--item-width);  }

@media screen and (max-width: 960px) {
	.flex-container > * { max-width: none; }
	.grid-container > * { flex-grow: 1; }
}

.split-container { display: flex; gap: 3rem; flex-wrap: wrap; }
.split-container > * { flex-grow: 1;  flex-basis: 45rem; }
.split-container[data-container~="center"] { align-items: center; }
.split-container[data-container~="no-grow"] > * { flex-grow: 0;  }
.split-container > .image.-large { flex-grow: 2; flex-basis: 45; }
.split-container > .image.-small { flex-basis: 30rem; }

.articles-container { display: flex; gap: 4rem; flex-wrap: wrap; }
.articles-container > * { flex-basis: 100% !important; }
.articles-container > *:not(:last-child) { border-bottom: 1px dashed #aaa; padding-bottom: 2rem; }

.buttons-container { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.teasers-container  {  display: grid; grid-template-columns: repeat(auto-fit, minmax(40rem,1fr)); position: relative;  gap: 2rem;  justify-content: center;  padding: 0.5rem 0; margin: 2rem 0;}

/* ============================================================== */
.side-image-container { display: flex; gap: 6rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.side-image-container > * { flex-basis: 40rem; flex-grow: 1; }
.side-image-container > .content { flex-grow: 2; }
.side-image-container > .image { align-self: stretch; position: relative; display: flex; align-items: center; justify-content: center; }
.side-image-container > .image img { max-height: 35rem; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================== */
.side-container { display: flex; align-items: center; flex-wrap: wrap; gap: 4rem;}
.side-container > .content { flex-basis: 30rem; flex-grow: 2; }
.side-container > .side { flex-basis: 20%; flex-grow: 1; min-width: 20rem; align-self: center;}

/* ============================================================== */
.button-up { --color: var(--color-dark-gray); transition: opacity .3s ease; opacity: 0.8; background-color: var(--color-light-gray); height: 5.5rem; width: 5.5rem; bottom: 3rem; right: 3rem; cursor: pointer; display: none; position: fixed; z-index: 999; align-items: flex-end;justify-content: center; border-radius: 50%;  user-select: none; box-shadow: 0 0 5px 0 #0003; }	
.button-up:before { content: "";position: absolute;top: 40%;width: 40%;height: 40%;border-left: 3px solid var(--color);border-top: 3px solid var(--color);transform: rotate(45deg); left: 27%;}
.button-up:hover {opacity: 1;}


/* ============================================================== */
.page-block {
	padding: var(--block-padding) var(--span);
	position: relative; color: var(--text-color); background: var(--background-color); --text-color: inherit; --background-color: transparent;}
.page-block > .block-container { max-width: var(--page-width); margin: 0 auto; position: relative; }

.page-block[data-page-block~="narrow"] { padding-top: var(--span-large); padding-bottom: var(--span-large); }
.page-block[data-page-block~="narrower"] { padding-top: calc(var(--span) * 2); padding-bottom: calc(var(--span) * 2); }
.page-block[data-page-block~="no-padding"] { padding-top: 0; padding-bottom: 0; }

.page-block[data-page-block~="black"] { --heading-color: white; --text-color: white;
	--background-color: #252525;	
	--link-color: white; --slider-color-arrow: white; --swiper-pagination-bullet-inactive-color: white;
}
.page-block[data-page-block~="blue"] {
	--heading-color: white; --text-color: white;
	--background-color: var(--color-blue);	
	--link-color: white;
	--slider-color-arrow: white;
	--swiper-pagination-bullet-inactive-color: white;
	--slider-color-hover: #fff5;
	--slider-color-arrow-hover: white;
}
.page-block[data-page-block~="gray"] { --background-color: #fafafa;}

.page-block > .bg { position: absolute; right: 100%; bottom: 100%; height: 30rem; width: 30rem; z-index: 1; }


/* ============================================================== */
.page-section { padding: 4rem 0; }
.page-section:first-child { margin-top: 0; }
.page-section:last-child { margin-bottom: 0; }
.page-section[data-page-section~="narrow"] { padding: 2rem 0; }

/* ============================================================== */
.block-heading { margin: 0; font-size: 3.2rem; text-align: center; max-width: 90rem; margin: 0 auto;  margin-bottom: var(--span-large); 
	text-transform: uppercase; color: var(--heading-color); }
.block-heading-text { margin: auto; margin-top: calc(var(--span-small) * -1); font-size: 1.5rem; 
	margin-bottom: var(--span-large); max-width: calc(var(--page-width) / 1.5); text-align: center; color: var(--color-dark-biege); }

.block-heading.-left { text-align: left; }

.block-heading-container { display: flex; align-items: center;  justify-content: center; gap: 2rem; margin-bottom: 4rem; }
.block-heading-container h2 { margin-bottom: 0; flex-grow: 1; }
.block-heading-container .simple-button { border-left: 1px solid #eee; }

@media screen and (max-width: 960px) {
	.block-heading { font-size: 3.2rem; }
	.block-heading.-left { text-align: center; }
}



/* Всплывающие сообщения */
/* ============================================================== */
.message-queue { position: fixed; top: 50%; padding: 3rem; left: 50%; right: 0; background: rgba(0, 0, 0, 0.7); transform: translate(-50%, -50%); max-width: 800px; border-radius: 1rem;  z-index: 400; }
.message-queue .message { margin: 0 auto; max-width: 700px; display: block; background: white; padding: 1rem; margin-bottom: 0.5rem; border-radius: 3px; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);  }
.message-queue .message: last-child { margin-bottom: 0;  }
.message-queue .message.error { border-left: 5px solid #a6051b;  }
.message-queue .message strong { font-weight: bold; }
.message-queue .message .large { font-size: 2.5rem;}
.message-queue .message .large strong { color: #a6051b; }
.message-queue .message.critical { border-left: 5px solid transparent; color: white; background: #a6051b;  }
.message-queue .message.warning { border-left: 5px solid #ffd376;  }

@media screen and (max-width: 640px) {
	 .message-queue { padding: 1rem; bottom: 0; width: 100%; border-radius: 0; top: auto; transform: none; left:0; right:0; }
	 .message-queue .message { padding: 0.5rem; }
}


/* Блоки сносок в тексте */
/* ============================================================== */
.message-box { --text-color: var(--color-black); color: var(--text-color); --image: url("../img/icons/mb-info.png"); clear: both; position: relative; display: flex; justify-content: flex-start; align-items: flex-start; padding: 4rem; padding-left: 12rem;  text-align: left; margin: 3rem 0; flex-flow: column; min-height: 10rem; border-radius: var(--border-radius); min-height: 100px; border: 2px solid #e0e0e0; background: linear-gradient(45deg, #00000020, white 5rem); }
.message-box::after { content:''; display: block; width: 4px; position: absolute; top:-2px; left:-2px; bottom:-2px; background: var(--color-blue); }
.message-box h2 { text-align: left; font-size: 2.4rem; margin-bottom: 1rem; margin-top: 0; }
.message-box a { color: var(--text-color); text-decoration: underline; }
.message-box > * { margin-bottom: 0.5rem;}
.message-box > *:last-child { margin-bottom: 0; }
.message-box::before { content: ''; display: block; position: absolute; top: 50%; bottom: 0; left: 2rem; width: 8rem; height:8rem; transform: translateY(-50%); background: var(--color-blue);
mask: var(--image) center / contain no-repeat; -webkit-mask: var(--image) center / contain no-repeat; }
.message-box.-home { --image:url(../img/icons/mb-home.png); }
.message-box.-alert { --image:url(../img/icons/mb-alert.png); }
.message-box.-alert::before { background: var(--color-red); }
.message-box.-alert::after { background: var(--color-red); }
.message-box.-center { text-align: center; align-items: center; }
.message-box.-center::before { display:none;  }
.message-box.-with-image { padding-left: 25rem; }
.message-box.-with-image .image { position: absolute; left:0; top:0; height: 100%; width: 20rem; mask: linear-gradient(to left, transparent, white 2rem); }
.message-box.-with-image .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
@media screen and (max-width: 768px) {
	.message-box.-with-image .image { display: none; }
	.message-box.-with-image::before { display: none; }
}

@media screen and (max-width: 768px) {
	.message-box { padding: 2rem !important; }
	.message-box::before { display: none; }
}




/* Страничная навигация */
/* ============================================================== */
.pagination { display: flex; margin: 4rem 0; text-align: center; align-items: center; justify-content: start; flex-wrap: wrap; }
.pagination .title { margin-right: 2rem; }

.pagination ul { margin-bottom: 0 !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.pagination li a,
.pagination li span { display: flex; align-items: center; justify-content: center; min-width: 3rem; border: 1px solid #0001; cursor: pointer; }
.pagination li a:hover { background: #eee; }

.pagination li.active a,
.pagination li.active span { background: var(--color-green);  color: #ffffff; }

.pagination li { display: inline-flex; list-style-type: none; margin-bottom: 0; margin-left: 0; align-items: center; }
.pagination li:not(.control) a,
.pagination li:not(.control) span { min-width: 4rem; flex-shrink: 0; height: 4rem; align-items: center; justify-content: center; text-decoration: none; }
.pagination li.-real:hover a { background: #dddddd; }

/* Табы */
/* ============================================================== */
.tabs {  position: relative; }
.tabs .tabs-navigation {  display: flex; flex-wrap: wrap; }
.tabs .tabs-navigation a { padding: 1.5rem 2rem; text-decoration: none; display: inline-block; transition: .3s; font-size: 1.8rem; 
	display: inline-flex; background: var(--color-light-gray); cursor: pointer; font-weight: 500; gap: 1rem; 
	align-items: center; }
.tabs .tabs-navigation a:not(:last-child) { border-right: 1px solid #ccc; }

.tabs .tabs-navigation a:hover { border-color: var(--color-green); }
.tabs .tabs-navigation a i { background: black; }
.tabs .tabs-navigation a.-active {  background: var(--color-green); color: white; }
.tabs .tabs-navigation a.-active i { background: white; }
.tabs .tab { display: none; padding: 4rem; }
.tabs .tab.-active { display: block; }

@media screen and (max-width: 768px) {
	.tabs .tab { padding: 2rem; }
	.tabs .tabs-navigation a { font-size: 1.6rem; }
}


/* Иконки соцсетей */
/* ============================================================== */
.social-icons { white-space: nowrap; display: flex; align-items: center; gap: 1rem 1.5rem; justify-content: center; }
.social-icons a {
	--color: var(--color-blue);	
	display: inline-flex; justify-content: center; align-items: center; flex-shrink:0;
	transition: .3s; top: 0; gap: 1rem;

	position: relative;  cursor: pointer; }
.social-icons a i { width: 2.2rem; height: 2.2rem; background: var(--color-blue); }
.social-icons a.telegram { --color: #3f95d6; }
.social-icons a.whatsapp { --color: #58bb16; }
.social-icons a.viber { --color: #9069ad; }
.social-icons a.youtube { --color: #ff0101; }
.social-icons a.vk { --color: #5a6f8e; }
.social-icons a:hover i { background: var(--color) !important; }



/* Оформление элементов в статьях */
/* ============================================================== */             
.article ul,
.article ol { margin-left: 2rem; }
.article ul { list-style-type: square; margin-bottom: 1em; }
.article ul > li { margin-bottom: 0.3em; }
.article ul > li::marker { color: var(--color-blue); }
.article > table { margin: 4rem 0; }
.article ol { list-style-type: decimal; margin-bottom: 1em; }
.article li { margin-bottom: 0.5em; }
.article h2 { font-size: 2.8rem; margin-bottom: 0.7em;}
.article a:hover { text-decoration: none; }
.article img { display: block; }
.article > h2:not(:first-child) { margin-top: 1em; }
.article a { color: var(--link-color); text-decoration: underline; }


/* Хлебные крошки */
/* ============================================================== */
.breadcrumbs { margin-bottom: 2rem; font-size: 1.5rem; flex-wrap: wrap; }
.breadcrumbs ul { display: flex;  color: #333; gap: 0.5rem 1rem; flex-wrap: wrap; align-items: center; }
.breadcrumbs ul li { display: inline-flex; margin-right: 0.5rem; align-items: center; }
.breadcrumbs ul li:not(:last-child)::after { content: ''; display: inline-block; margin-left: 2rem; border-left: 1px solid #ddd; height: 2rem; }
.breadcrumbs a { color: var(--color-blue); text-decoration: underline; }
.breadcrumbs a:hover { text-decoration: none; }

@media screen and (max-width: 768px) {
	.breadcrumbs { font-size: 1.4rem; }
}

/* Всплывашки */
/* ============================================================== */
.tippy-content { font-size: 1.5rem; padding: 2rem; }
.tippy-box { background: #ffffffe0; color: black; border-radius: 1rem; }
.tippy-arrow  { color: #ffffffe0;}


.cards-container { display: flex; align-items: center; }
.cards-container > *  { flex-grow: 1; flex-basis: 20rem; align-self: stretch; max-width: 25rem; }

@media screen and (max-width: 1024px) {
	.cards-container { flex-wrap: wrap;}
}

@media screen and (max-width: 768px) {
	.cards-container > * { flex-grow: 1; max-width: none; }
}


/* ============================================================== */
.article-card { display: flex; gap: 2rem; flex-wrap: wrap; }
.article-card .content { flex-grow: 2; flex-basis: 30rem}
.article-card .image { flex-basis: 30rem; flex-shrink: 0;}
.article-card .image img { width: 100%; height: auto; }


/* ============================================================== */
.partner-card .image { display: inline-flex; align-items: center; justify-content: center; width: 100%; }
.partner-card .image img { display: block; height: 10rem; width: auto; object-fit: contain; }

/* ============================================================== */
#article .gallery { margin: 4rem 0;}
.gallery-card { padding: 0.3rem; display: block; transition: .3s; background: white; position: relative; box-shadow: var(--shadow);}
.gallery-card .image-wrapper { width: 100%; }
.gallery-card .image { width: 100%;  padding-top: 75%; display: block; position: relative; }
.gallery-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover;}
.gallery-card .content { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; padding: 2rem;
	text-align: left; font-size: 1.5rem;  background: linear-gradient(to top, #000a, transparent);
	line-height: 1.2; font-weight: 500; color: white; display: flex; align-items: center; justify-content: center; }


/* Адаптивное меню */
/* ============================================================== */
.mobile-menu { background: white; display:none; position: fixed; top:0; left:0; width: 100%; height: auto; z-index: 60; max-height: 100%; box-shadow: 0 3px 5px 0 #0003; overflow: auto; color: black; z-index: 10000; }

.mobile-menu .close-menu-button {  display: flex; cursor: pointer; align-items: center; padding: 1rem; background: var(--color-blue); color: white; justify-content: center; gap: 1rem; }
.mobile-menu .close-menu-button i { background: white; }

.mobile-menu .menu { padding: 2rem; z-index: 100;   text-align: left;  line-height: 1.1;  height: auto; max-height: calc(100vh); width: 100%; z-index:20; box-shadow: 0 5px 5px 0 #0003; }
.mobile-menu .menu a {  text-decoration: none; }
.mobile-menu .menu li { display: block; } 
.mobile-menu .menu > li > a { font-weight: bold; }
.mobile-menu .menu li ul { position: relative; background: transparent;}
.mobile-menu .menu li ul li { border: none !important; }

.mobile-menu .menu li a  { display: flex; padding: 0.5rem 1rem; gap: 1rem; align-items: center; min-height: 3rem; }
.mobile-menu .menu li.-active > a { font-weight: bold;  color: var(--color-green); }
.mobile-menu .menu > li.-active > a { background: var(--color-green); color: white; } 
.mobile-menu .menu li a > .text { flex-grow: 1; }
.mobile-menu .menu .opener { display: inline-block; width: 3rem; height: 2.5rem; flex-shrink: 0; background: #333; --mask: url(../img/icons/arrow-down.png) center/1.5rem no-repeat;	mask: var(--mask); -webkit-mask: var(--mask);  background: var(--color-blue); }
.mobile-menu .menu li a:hover {  color: var(--color-green); }
.mobile-menu .menu li > ul { display: none;  font-size: 1.5rem; padding-left: 0; }

.mobile-menu .menu li.-open { border: 1px solid #0002; margin-bottom: 1rem; padding-bottom: 1rem;  }
.mobile-menu .menu li.-open > a { }
.mobile-menu .menu li.-open > ul {  display: block; }
.mobile-menu .menu li.-open > a > .opener { --mask: url(../img/icons/arrow-up.png) center/1.5rem no-repeat; background: white;}

.mobile-menu.-open { display: block; }
.mobile-menu.-open .open-button::after { --image: url(../img/icons/close.svg) center/contain no-repeat; }
.mobile-menu.-open .mobile-menu { display: block;  }

/* ============================================================== */
.mobile-menu-button { display: none; align-items: center; gap: 1rem; justify-content: center; font-size: 1.5rem; min-height: 3rem; transition: .3s; cursor: pointer; border: 1px solid #ddd; padding: 1rem; }
.mobile-menu-button i { background: black; width: 2rem; height: 2rem; }
.mobile-menu-button:hover { background: var(--color-green); }
.mobile-menu-button:hover i  { background: white; }

@media screen and (max-width: 960px) {
	.mobile-menu-button { display: flex; }
}


/* ============================================================== */
#header { position: relative; z-index: 60; padding-top: 1rem; padding-bottom: 2rem; background: linear-gradient(to top, #f3f3f3, transparent 4rem), white; }

#header .top-part { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 1rem; justify-content: center; }
#header .bottom-part { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; justify-content: center; }

#header .site-logo { display: flex; align-items: center; gap: 2rem; flex-basis: 52rem; text-decoration: none !important; }
#header .site-logo .image { width: 14rem; height: 14rem; flex-shrink: 0; background: url(../img/logo-site.png) center/contain no-repeat; }
#header .site-logo .title { font-size: 2.2rem; color: var(--color-blue); font-weight: bold; }
#header .site-logo .slogan { color: #444; font-size: 1.3rem; text-transform: uppercase; }

#header .contacts { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; flex-grow: 1; justfy-content: right; font-size: 1.6rem; }
#header .contacts .mails { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: left; margin-bottom: 1rem; }
#header .contacts .phones { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; align-items: center; flex-direction: column; flex-basis: auto; }
#header .contacts .phone { font-weight: bold; color: var(--color-blue); font-size: 2.2rem; } 
#header .contacts .address { flex-basis: 100%; margin-bottom: 0.5rem; }
#header .contacts .other { flex-grow: 1; flex-basis: 40rem; }
#header .contact-item { justify-content: left; }

#header .main-menu { display: flex; font-size: 1.6rem; text-transform: uppercase; font-weight: 500; color: var(--color-blue); gap: 1rem; flex-grow: 1; }
#header .main-menu a { display: flex; align-items: center; padding: 1rem; text-decoration: none !important; } 
#header .main-menu ul { display: none; background: white; position: absolute; left:0; top: 100%; box-shadow: var(--shadow); font-size: 1.5rem; min-width: 30rem; padding: 1rem 0; }
#header .main-menu ul li:not(:last-child) { border-bottom: 1px solid #0001;}
#header .main-menu ul li::before { content: ''; display: block; top: 0; left: 0; bottom:0; width: 0; background: var(--color-blue); transition: .3s; position: absolute; }
#header .main-menu ul li:hover::before { width: 4px;  }
#header .main-menu ul a { padding: 0.5rem 3rem; }

#header .main-menu li { position: relative; transition: .3s; }
#header .main-menu > li { border-bottom: 2px solid #f0f0f0; }
#header .main-menu li.-active  { color: var(--color-red);  }
#header .main-menu li.-has-children > a::after { display: inline-block; content: ''; width: 1rem; height: 1rem; margin-left: 1rem; 
	--mask: url(../img/icons/arrow-down.png) center/contain no-repeat; background: var(--color-blue); 
	mask: var(--mask); -webkit-mask: var(--mask);
}

#header .main-menu > li.-active:hover { border-color: var(--color-red); }
#header .main-menu > li:hover { border-color: var(--color-blue); }
#header .main-menu li:hover > ul { display: block; }


#header.-fixed { position: fixed; left: 0; top: 0; box-shadow: var(--shadow); width: 100%; padding-bottom: 1rem; }
#header.-fixed .site-logo .image { width: 7rem; height: 7rem; }
#header.-fixed .top-part { margin-bottom: 0; }



.page-template-2 #header { background: white; }

@media screen and (max-width:1024px) {
	#header .site-logo .image { width: 8rem; height: 8rem; }
	#header .site-logo .title { font-size: 1.8rem; }
}

@media screen and (max-width:960px) {
	#header .main-menu { display: none; }
	#header .contacts .phones { flex-direction: row; }
}

@media screen and (max-width:640px) {
	#header .contacts .other { display: none; }
	#header .site-logo { flex-basis: 28rem; }
	#header .site-logo .image { width: 6rem; height: 6rem; }
	#header .site-logo .title { font-size: 1.7rem;}
	#header .site-logo .slogan { font-size: 1.2rem; }
	#header.-fixed .contacts { display: none; }
	#header.-fixed .social-icons { display: none; }
}


/* ============================================================== */
#about { padding-bottom: 0; }

#about .block-container { display: flex; gap: 4rem; align-items: center; flex-wrap: wrap; overflow: visible; }
#about .block-content { flex-basis: 40rem; flex-grow: 1; }
#about .teasers { flex-basis: 40rem; flex-grow: 1; position: relative; min-height: 55rem; overflow: visible;}
#about .block-heading { text-align: left; }
#about .more-button { margin-top: 1rem; }

#about .teasers-container { position: absolute; left: 0; top: 0; height: 100%; width: 50vw;
	--mask: linear-gradient(to right, white 50%, transparent 90%); mask: var(--mask); -webkit-mask: var(--mask); 	
}

.about-teaser { position: absolute; left: 0; top: 0; cursor: pointer; }
.about-teaser .image { width: 14rem; height: 14rem; border-radius: 50%; border: 4px solid white; background: #eee; box-shadow: 0 0 0.5rem #0002; overflow: hidden; position: relative; }
.about-teaser .image img { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

@media screen and (max-width:960px) {
	#about .block-heading { text-align: center; }
	#about .teasers-container { mask: none; }
	#about .teasers { min-height: 48rem; }
	#about .buttons { text-align: center; }
}

@media screen and (max-width:768px) {
	#about .teasers-container { margin-left: -20vw; }
}


/* ============================================================== */
#slider { background: #eee; position: relative; }
#slider .block-container { min-height: 50rem; display: flex; align-items: center; position: relative; z-index: 2; }
#slider .block-content { max-width: 44rem; }
#slider > .image { position: absolute; left: 0; top: 0; bottom: 0; right: 0; overflow: hidden;   }
#slider > .image::after { content:''; position: absolute; left:0; top: 0; bottom: 0; right: 0; z-index: 1; background: linear-gradient(120deg, #7b9cbf, transparent 30rem);}
#slider > .image img  { position: absolute; height: 100%; bottom: 0; right: 0; object-fit: cover; object-position: center right; max-width: none; }
#slider .teasers { display: flex; justify-content: center; align-items: start; gap: 2rem; flex-direction: column; }

.simple-teaser { display: flex; gap: 1rem; align-items: center; color: var(--color-blue);}
.simple-teaser .image { width: 6rem; height: 6rem; background: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-left: 5px solid #f0f0f0; }
.simple-teaser .image i { width: 3rem; height: 3rem; background: var(--color-blue); }
.simple-teaser .title { font-weight: bold; font-size: 1.6rem; text-transform: uppercase}
.simple-teaser .text { font-style: italic; line-height: 1.2; font-size: 1.5rem; }

@media screen and (max-width:960px) {
	#slider .block-container { min-height: auto; }
	#slider > .image { opacity: 0.3; }
}

/* ============================================================== */
#certificates .swiper {  }
.certificate-card { flex-basis: 190px; padding: 1rem; background: white; display: block; border: 3px solid white; box-shadow: 0 0 1rem #2b316150; }
.certificate-card .image { position: relative; padding-bottom: 135%;}
.certificate-card .image img {position:absolute; width:100%; height:100%; object-fit:cover}																						


#article { overflow: hidden; }

/* ============================================================== */
#services { background: linear-gradient(to top, #f3f3f3, transparent 10rem); }
#services .buttons-container { margin-top: 4rem; }

.service-card { --color: var(--color-blue); display: block;	background: var(--color); padding: 0rem; position: relative; min-height: 30rem; color: white; transition: .3s; z-index: 1; cursor: pointer;  }
.service-card .image { position: absolute; left: 0; top: 0; height: 100%; width: 100%; z-index: 0; }
.service-card .image img { position: absolute; left: 0; top:0; height: 100%; width: 100%; object-fit: cover; }
.service-card .content { position: absolute; left: 0rem; right: 0rem; padding: 0 4rem;  top: 25rem;  transition: .3s; z-index: 2; min-height: 5rem; color: white; overflow: hidden;}
.service-card .content::before { content: ''; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--color); z-index: -1; 
	--mask: linear-gradient(transparent, white 4rem); mask: var(--mask); -webkit-mask: var(--mask); }

.service-card .title { text-transform: uppercase; font-weight: bold; margin-bottom: 1rem; transition: .3s; text-align: center; }
.service-card .description { opacity: 0; max-height: 0; transition: .3s;  font-size: 1.6rem; margin-top: 3rem; }
.service-card .more-button { margin-top: 3rem; }
.service-card .link-button { color: white; }
.service-card .link-button i { background: white; }

.service-card:hover { margin-left: -1rem; margin-right: -1rem; z-index: 10; box-shadow: 0 2rem 2rem #2b316150; }
.service-card:hover .description { max-height: 25rem; opacity: 1; }
.service-card:hover .content { padding-bottom: 2rem; }
.service-card:hover .title { text-align: left; }



.service-small-card { --color: var(--color-blue); display: block;	background: var(--color); padding: 0rem; position: relative; min-height: 17rem; color: white; transition: .3s; z-index: 1; cursor: pointer; }
.service-small-card .image { position: absolute; left: 0; top: 0; height: 100%; width:50%; z-index: 0; 
	--mask: linear-gradient(to right, white, white, transparent ); mask: var(--mask); -webkit-mask: var(--mask);
}
.service-small-card .image img { position: absolute; left: 0; top:0; height: 100%; width: 100%; object-fit: cover; }
.service-small-card .content { position: absolute; left: 50%; right: 2rem;  top: 50%; transition: .3s; z-index: 2; color: white; transform: translate(0, -50%); }
.service-small-card .title { text-transform: uppercase; font-weight: bold; margin-bottom: 1rem; transition: .3s; text-align: left; transition: .3s; transform: translate(0, 0); }
.service-small-card:hover { box-shadow: var(--shadow); }
.service-small-card:hover .title { transform: translate(-2rem, 0); }



/* ============================================================== */
#partners { }

/* ============================================================== */
#news { background: url(../img/bg-news.jpg) center/cover no-repeat, var(--color-blue); }
#news .buttons-container { margin-top: 2rem; }


.news-card { background: white; display: flex; align-items: stretch; color: black; }
.news-card .image { flex-basis: 26rem; flex-shrink: 0; position: relative; }
.news-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card .content { padding: 4rem; flex-basis: 20rem; flex-grow: 1; }
.news-card .date { color: #ccc; text-transform: uppercase; font-size: 1.4rem; }
.news-card .title { font-weight: 500; text-transform: uppercase; font-size: 1.6rem; margin-top: 1rem; color: var(--color-blue); }
.news-card .description { margin-top: 1rem; }
.news-card .more-button { margin-top: 2rem; }
.news-card .link-button { color: black; }
.news-card .link-button i { background: var(--color-blue); }


/* ============================================================== */
@media screen and (max-width:960px) {
	.news-card { flex-direction: column; }
	.news-card .image { flex-basis: 100%; padding-top: 70%; }
	.news-card .content { padding: 2rem; padding-bottom: 4rem; }
}



/* ============================================================== */
#advantages { }


.advantage-card { display: flex; background: white; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; 
	box-shadow: var(--shadow); color: var(--color-blue); text-align: center; padding: 4rem; transition: .3s; cursor: pointer;  
	line-height: 1.3; 
}
.advantage-card .image i { width: 8rem; height: 8rem;  background: var(--color-blue); }
.advantage-card .number { font-size: 4rem; font-weight: 500; }
.advantage-card .title { font-weight: 500; font-size: 1.6rem; text-transform: uppercase; }

.advantage-card:hover { box-shadow: 0 0 2rem #2b316170; }

/* ============================================================== */
#contacts { background: #eee; }
#contacts .form-part { max-width: 70rem; background: var(--color-blue); padding: 4rem; color: white; --heading-color: white; position: relative; z-index: 2; }

#contacts .map-container { position: absolute; left: 0; top: 0; width: 100%; height: 100%;  z-index: 1;  }
#contacts .map-container .ymaps-2-1-79-ground-pane { filter: saturate(0); }

.map-container { min-height: 40rem; overflow: hidden; position: relative; }
.map-container > ymaps { position: absolute; left: 0; top: 0; width: 100% !important; height: 100% !important;}
.map-container .ymaps-2-1-79-map-bg { height: 100% !important; }

#contacts h2 { text-transform: uppercase; }
#contacts .form input[type="text"],
#contacts .form textarea { background: linear-gradient(45deg, #fff2, transparent 80%); color: white; border-bottom: 1px solid #fff3; }

#contacts .form input[type="text"]::placeholder,
#contacts .form textarea::placeholder { color: white; }

#contacts .form .button { background: #1c2042; border: none; color: white !important; }
#contacts .form .button i { background: white !important; }


@media screen and (max-width:960px) {
	#contacts .map { position: relative; height: 40rem; overflow: hidden; }
	#contacts .form-part { max-width: none; }
}

/* ============================================================== */
#article {  }
#article h2 { text-transform: uppercase; max-width: 90rem; }

/* ============================================================== */
#footer { }

#footer .top-part { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 4rem; justify-content: center; }
#footer .bottom-part { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; justify-content: center;  }

#footer .bottom-menu { display: flex; align-items: center; font-weight: 500; font-size: 1.6rem; text-transform: uppercase; flex-wrap: wrap; color: var(--color-blue); flex-grow: 1; }
#footer .bottom-menu li:first-child { margin-left: -2rem; }
#footer .bottom-menu a { padding: 1rem 2rem; }

#footer .site-logo { display: flex; align-items: center; gap: 1rem; flex-basis: 45rem; font-size: 1.3rem; }
#footer .site-logo .image { width: 10rem; height: 10rem; background: url(../img/logo-site.png) center/contain no-repeat; flex-shrink: 0; }
#footer .site-logo .title { font-size: 1.7rem; font-weight: bold; }
#footer .site-logo .copy { font-weight: 500; }
#footer .site-logo .text { color: #444; margin-top: 0.5rem; }

#footer .contacts { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; flex-grow: 1; justfy-content: right; font-size: 1.6rem; }
#footer .contacts .mails { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: right; margin-bottom: 1rem; flex-wrap: wrap; }
#footer .contacts .phones { display: flex; flex-wrap: wrap; gap: 0 1rem; justify-content: center; align-items: center; flex-direction: column; flex-basis: 40rem; }
#footer .contacts .phone { font-weight: bold; color: var(--color-blue); font-size: 2.2rem; } 
#footer .contacts .address { flex-basis: 100%; }
#footer .contacts .other { }
#footer .contacts .other { flex-grow: 1; }

@media screen and (max-width:960px) {
	#footer .bottom-menu { justify-content: center; }
	#footer .site-logo { flex-basis: auto; }
	#footer .site-logo .text { display: none; }
	#footer .site-logo .image { width: 6rem; height: 6rem; }
	#footer .contacts .mails { justify-content: center; }
	#footer .contacts .other { display: flex; flex-wrap: wrap; justify-content: center; }
	#footer .contacts .address { flex-basis: 30rem; }
}

.contact-item { display: flex; align-items: center; gap: 1rem; justify-content: right; }
.contact-item i { width: 1.5rem; height: 1.5rem; background: var(--color-red); }

/* ============================================================== */

/* ============================================================== */
#cookie-popup { display: none; position: fixed; bottom: 2rem; left: 50%; width: 100%;
	max-width: 75rem; box-shadow: 0 0 10px 0 #0002; border-radius: 0rem; padding: 3rem 4rem; background: white; transform: translate(-50%, 0); z-index:10000; flex-wrap: wrap; justify-content: center; gap: 1rem; align-items: center; color: black; font-size: 1.5rem; }
#cookie-popup .text { flex-basis: 20rem; flex-grow: 1; }
#cookie-popup .link { color: var(--color-green); text-decoration: underline; }
#cookie-popup.-active { display: flex; }

/* ============================================================== */
#map { background: url("../img/bg-map.jpg") center -20rem no-repeat, #252525; }
#map .block-heading-container { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; }
#map .map-container { display: flex; gap: 4rem; align-items: center; flex-wrap: wrap; }
#map .map-container .map { flex-grow: 1; flex-basis: 30rem; align-self: stretch; min-height: 45rem; position: relative; border-radius: 1rem; overflow: hidden;  }
#map .map-container .map > ymaps { position: absolute; left: 0; top: 0; width: 100% !important; height: 100% !important; }

@media screen and (max-width:960px) {
	#map .map-container .objects-container { flex-grow: 1; align-items: stretch; }
}


.adaptive-wrapper-outer { position: relative; }

@media (max-width:767px) {
	.adaptive-wrapper-outer { overflow: auto; border: 1px solid #ccc; }
	.adaptive-wrapper { min-width:700px; }	
}



.special-card img { width: 100%; }

