/* HTML */
/* -------------------------------------------------------------------- */
html { height: 100%; font-size: 10px; }
body {  width: 100%; min-height: 100%; vertical-align: top;	background: var(--background-color);
	color: var(--text-color); font-size: 1.6rem; font-family: var(--font); font-weight: 300; line-height: 1.3;
	text-rendering: optimizelegibility; font-smooth: always;
	}
body > .container { overflow: hidden; }

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

.articles-list > *:not(:last-child) { margin-bottom: 2rem; }
.buttons-container { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }


/* Main elements */
/* -------------------------------------------------------------------- */
img { display: inline-block; max-width: 100%; height: auto; }
p { margin-bottom: 0.5em; }
b { font-weight: bold; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline; color: inherit; }
strong { font-weight: bold;}
i { width: auto; height: auto; }
em { font-weight: bold; font-style: normal; }

/* Headings */
/* -------------------------------------------------------------------- */
h1, h2, h3, h4 { margin-bottom: 0.5em; line-height: 1.1; color: var(--heading-color);  }
h2:not(:first-child), h3:not(:first-child), h4:not(:first-child) { margin-top: 1em;}
h1 { font-size: 3.8rem; margin-bottom: 1em; }
h2 { font-size: 3.2rem; margin-bottom: 1em; }
h2.-center { text-align: center; }
h3 { font-size: 2.8rem; }

@media screen and (max-width: 768px) {
	h1 { text-align: left !important; font-size: 3rem; }
}

/* Lists */
/* -------------------------------------------------------------------- */
ol > li::marker  {  display: inline; }
ol > li::before,
ul > li::before { display: inline-block; }
ol > li > p { display: inline; }
ul > li > p { display: inline; }

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


.swiper { overflow: hidden; }
.swiper .card-wrapper { padding: 1rem; }
.swiper-button-prev, .swiper-button-next { background: #6666; border-radius: 50%; width: 3rem; height: 3rem;  color: white; margin-top:0; }
.swiper-button-prev::after { width: 50%; height: 50%; content: ''; --image: url(../img/icons/arrow-left.svg) center/contain no-repeat; background: white; mask: var(--image); -webkit-mask: var(--image); }
.swiper-button-next::after { width: 50%; height: 50%; content: ''; --image: url(../img/icons/arrow-right.svg) center/contain no-repeat; background: white; mask: var(--image); -webkit-mask: var(--image); } 
.swiper-button-prev:hover, .swiper-button-next:hover { background: var(--color-blue); }


/* Картинки */
/* -------------------------------------------------------------------- */
img.-full { width: 100%; height: auto; float: none; max-width: none; margin-left: 0; margin-right: 0; }
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.-left.-small { max-width: 30rem; }
img.-right.-small { max-width: 30rem; }
img.-center { margin: 0 auto; max-height: 60rem; width: auto; display: block; margin:2rem auto; }
img.-frame { border: 2px solid #00000020; box-shadow: var(--shadow); }

@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; line-height: 1.1; }
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-bottom: 1px solid #d0d0d0; padding: 2rem 2rem; text-align: left;  vertical-align: middle; }
table th { background: #f2f2f2; color: var(--color-violet); font-size: 1.8rem; font-weight: bold; }
table td { }
table td strong { color: #2a1c72; }
table td.bold { font-weight: bold; background: var(--color-light-gray); }
table tr:nth-child(odd) { background: #f9f9f9; }
table td[rowspan] { background: white; }
table .image-preview { max-width: 20rem; }
table.-top-align td { vertical-align: top;}

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

.price-table td { max-width: 20rem; }



i[data-icon] { --image: linear-gradient(transparent, transparent); display: inline-block; width: 2rem; height: 2rem; mask: var(--image) center / contain no-repeat; -webkit-mask: var(--image) center / contain no-repeat; background: black; }
i[data-bg] { --image: linear-gradient(transparent, transparent); display: inline-block; width: 2rem; height: 2rem; background: var(--image) center/contain no-repeat; }

i[data-icon="phone"] { --image: url(../img/icons/phone.png); }
i[data-icon="zoom"] { --image: url(../img/icons/zoom.png); }
i[data-icon="location"] { --image: url(../img/icons/location.png); }
i[data-icon="home"] { --image: url(../img/icons/home.png); }
i[data-icon="email"] { --image: url(../img/icons/email.png); }
i[data-icon="address"] { --image: url(../img/icons/address.png); }
i[data-icon="more"] { --image: url(../img/icons/more.png); }
i[data-icon="burger"] { --image: url(../img/icons/burger.svg); }
i[data-icon="download"] { --image: url(../img/icons/download.png); }
i[data-icon="document"] { --image: url(../img/icons/document.png); }
i[data-icon="schedule"] { --image: url(../img/icons/schedule.png); }

i[data-icon="arrow-down"] { --image: url(../img/icons/arrow-down.png); }


i[data-icon="documents-what-1"] { --image: url(../img/icons/documents-what-1.png); }
i[data-icon="documents-what-2"] { --image: url(../img/icons/documents-what-2.png); }
i[data-icon="documents-what-3"] { --image: url(../img/icons/documents-what-3.png); }

i[data-icon="how-we-work-1"] { --image: url(../img/icons/how-we-work-1.png); }
i[data-icon="how-we-work-2"] { --image: url(../img/icons/how-we-work-2.png); }
i[data-icon="how-we-work-3"] { --image: url(../img/icons/how-we-work-3.png); }
i[data-icon="how-we-work-4"] { --image: url(../img/icons/how-we-work-4.png); }
i[data-icon="how-we-work-5"] { --image: url(../img/icons/how-we-work-5.png); }
i[data-icon="how-we-work-6"] { --image: url(../img/icons/how-we-work-6.png); }

i[data-icon="advantage-1"] { --image: url(../img/icons/advantage-1.png); }
i[data-icon="advantage-2"] { --image: url(../img/icons/advantage-2.png); }
i[data-icon="advantage-3"] { --image: url(../img/icons/advantage-3.png); }
i[data-icon="advantage-4"] { --image: url(../img/icons/advantage-4.png); }
i[data-icon="advantage-5"] { --image: url(../img/icons/advantage-5.png); }
i[data-icon="advantage-6"] { --image: url(../img/icons/advantage-6.png); }
i[data-icon="advantage-7"] { --image: url(../img/icons/advantage-7.png); }
i[data-icon="advantage-8"] { --image: url(../img/icons/advantage-8.png); }
i[data-icon="advantage-9"] { --image: url(../img/icons/advantage-9.png); }

i[data-icon="documents-1"] { --image: url(../img/icons/documents-1.png); }
i[data-icon="documents-2"] { --image: url(../img/icons/documents-2.png); }
i[data-icon="documents-3"] { --image: url(../img/icons/documents-3.png); }
i[data-icon="documents-4"] { --image: url(../img/icons/documents-4.png); }

i[data-icon="download-plan"] { --image: url(../img/icons/download-plan.png); }
i[data-icon="download-pdf"] { --image: url(../img/icons/download-pdf.png); }

i[data-icon="course-time"] { --image: url(../img/icons/course-time.png); }
i[data-icon="course-form"] { --image: url(../img/icons/course-form.png); }
i[data-icon="course-license"] { --image: url(../img/icons/course-license.png); }
i[data-icon="course-price"] { --image: url(../img/icons/course-price.png); }

i[data-icon="arrow-down"] { --image: url(../img/icons/arrow-down.svg); }
i[data-icon="arrow-up"] { --image: url(../img/icons/arrow-up.svg); }
i[data-icon="arrow-left"] { --image: url(../img/icons/arrow-left.svg); }
i[data-icon="arrow-right"] { --image: url(../img/icons/arrow-right.svg); }

.ui-tabs > nav { display: flex; flex-wrap: wrap; margin-bottom: 2px }
.ui-tabs > nav a { display: inline-block; padding: 2rem; text-decoration: none; font-size: 2rem; cursor: pointer; flex-grow: 0; text-align: center; margin-right:0.5rem; background: var(--color-gray); font-weight: bold; font-family: 'Roboto Condensed', sans-serif;  text-transform: uppercase; }
.ui-tabs > nav a:hover { background: var(--color-black); color: white; }
.ui-tabs > nav a.active { color: var(--color-blue); background: var(--color-yellow); }
.ui-tabs > nav a.active:hover { border-color: #333; color: #333; }
.ui-tabs > .tabs-content > .tab { padding: 4rem; background: var(--color-light-gray); display: none; }
.ui-tabs > .tabs-content > .tab.active { display: block; }

@media screen and (max-width: 768px) { 
	.ui-tabs > nav a { font-size: 1.7rem; padding: 1rem; }
}


/* Контент всплывающих окон */
/* -------------------------------------------------------------------- */
.mfp-content { --text-color: black; --heading-color: var(--color-red); color: black; padding: 4rem; overflow:hidden; background: white; display: inline-block; width: 100%; max-width: 50rem; z-index: 52; }
.mfp-bg { z-index: 50;}
.mfp-wrap { z-index: 51; }
.mfp-content form { width: 100%; margin:0 auto; }
.mfp-content input, .mfp-content select, .mfp-content textarea { background: #f0f0f0; }
.mfp-content .form-buttons { display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.mfp-content .vcap-input { justify-content: center; }
.mfp-content .vcap-input > label { font-weight: normal; }
.mfp-content .vcap-input > label a:hover { text-decoration: none; }
.mfp-content h2 { color: var(--color-blue); text-align: center; font-size: 2.5rem; }
.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; }


.grid-container { display: grid; grid-template-rows: auto; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; justify-content: center;  }
.grid-container.-small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; grid-gap: 1rem; }
.grid-container.-large { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
.grid-container.-x-large { grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); }

@media screen and (max-width: 960px) {
	.grid-container.-large { grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr)); }
}

@media screen and (max-width: 768px) {
	.grid-container.-large { grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr)); }
}


.articles-container { display: flex; gap: 2rem; flex-wrap: wrap; }
.articles-container > * { flex-basis: 100%; }


/* Тизеры */
.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;}

.course-teasers.grid-container { margin: 4rem 0; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.course-teaser { display: flex; flex-direction: column; gap: 1rem; border-left: 1px solid #ddd; text-align: center; align-items: center; justify-content: start; }
.course-teaser:last-child { border-right: 1px solid #ddd; }
.course-teaser .image { width: 9rem; height:9rem; flex-shrink:0; position: relative; }
.course-teaser .image i { background: var(--color-yellow); position: absolute; left: 50%; top: 50%; width: 100%; height: 70%; transform: translate(-50%, -50%); }
.course-teaser .content { width: 80%; }
.course-teaser .title { font-size: 1.8rem; font-weight: bold; color: var(--color-violet); margin-bottom: 1rem; }
@media screen and (max-width: 768px) { 
	.course-teaser { flex-direction: row; text-align: left; border: none; box-shadow: var(--shadow); }
	.course-teaser .content { padding: 1rem; }
	.course-teaser .title { margin-bottom: 0; }
	.course-teaser .image { width: 8rem; height: 8rem; }

}



.side-image-container { display: flex; gap: 4rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.side-image-container > * { flex-basis: 40rem; flex-grow: 1; }
.side-image-container > .image.-small { flex-basis: 40rem; flex-grow: 0; flex-shrink: 0;  }
.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; }
@media screen and (max-width: 768px) { 
}


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

.ui-mobile-menu .site-logo-wrapper { flex-grow: 1; display: flex; margin:0 1rem;}
.ui-mobile-menu .site-logo { background: url(../img/logo-site.png) center/contain no-repeat; width: 12rem; height: 4rem;  display: inline-block; }

.ui-mobile-menu-top { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0 2rem; padding-top: 1rem; height: 7rem;}
.ui-mobile-menu-top .phone-block { flex-basis: 100%; display: flex; gap: 1rem; align-items: center;   justify-content: end; } 
.ui-mobile-menu-top .phone { font-size: 2.4rem; }

.ui-mobile-menu .close-menu-button {  width: 4rem; height: 6rem; color: white; display: flex; position: relative; cursor: pointer; align-items: center; width: 100%; color: black; padding: 1rem 3rem;}
.ui-mobile-menu .close-menu-button::after { --image: url(../img/ui-close.svg) center/contain no-repeat; mask: var(--image); -webkit-mask: var(--image); display: block; content: ''; background: black; transition: all .3s; right: 2rem; ; top: 50%; transform: translate(0, -50%); position: absolute; width: 2rem; height: 2rem;}

.ui-mobile-menu .menu { display: none; background: white; border-top: 1px solid #eee;  color: black; padding: 2rem; z-index: 100;  overflow: auto;  position: absolute; 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;}
.ui-mobile-menu .menu a {  text-decoration: none; }
.ui-mobile-menu .menu li { display: block; } 
.ui-mobile-menu .menu li ul { position: relative; background: transparent;}
.ui-mobile-menu .menu li ul li { border: none !important; }
.ui-mobile-menu .menu li a  { display: flex; padding: 0.5rem 1rem; gap: 1rem; align-items: center; min-height: 3rem; }
.ui-mobile-menu .menu li.active > a { font-weight: bold;  }
.ui-mobile-menu .menu li a > .text { flex-grow: 1; }
.ui-mobile-menu .menu li > a > .opener { display: inline-block; width: 3rem; height: 2.5rem; flex-shrink: 0;
  background: #333;
  --mask: url(../img/icons/arrow-down.svg) center/1.5rem no-repeat;
	mask: var(--mask); -webkit-mask: var(--mask);  }
.ui-mobile-menu .menu li.open > a > .opener { --mask: url(../img/icons/arrow-up.svg) center/1.5rem no-repeat; }
.ui-mobile-menu .menu li.open > ul { display: block; }

.ui-mobile-menu .menu li a:hover {  background: #f0f0f0; }
.ui-mobile-menu .menu li > ul { display: none;  font-size: 1.5rem; margin-left: 2rem; padding-left: 0; }
.ui-mobile-menu .menu li.open { border-bottom: 1px solid #f0f0f0; margin-bottom: 1rem; padding-bottom: 1rem;}
.ui-mobile-menu .menu li.open > a { margin-bottom: 0.5rem; background: #f0f0f0; }
.ui-mobile-menu .menu li.open > ul {  display: block; }

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

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

.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;}


/* UI:Block heading */
/* -------------------------------------------------------------------- */
.block-heading { font-size: 3.8rem; text-align: center; color: var(--heading-color); margin:0 auto; margin-bottom: 1.5em; max-width: 80rem; }
.block-subheading { font-size: 3.4rem; text-align: center; }
.block-heading-text { max-width: 80rem;text-align: center; font-style: italic; margin: -3.5rem auto 4rem auto; }


@media screen and (max-width: 768px) {
	.block-heading { text-align: center; font-size: 3rem; }
	h1, h2, h3 { text-align: center; }
}


/* UI:Page block */
/* -------------------------------------------------------------------- */
.page-block { padding: var(--block-padding); overflow: hidden; position: relative; color: var(--text-color); background: var(--background-color); --text-color: inherit; --background-color: transparent;}
.page-block > .container { max-width: var(--page-width); margin: 0 auto; position: relative; }
.page-block.-narrow { padding-top: var(--span); padding-bottom: var(--span); }
.page-block.-no-padding { padding-top: 0; padding-bottom: 0; }

@media screen and (max-width: 960px) {
	.page-block { --block-padding: calc(var(--span) * 3); }
}
@media screen and (max-width: 768px) {
	.page-block { --block-padding: var(--span-large) var(--span); }
	.page-block h2 { text-align: center; }
}

.page-block.-gray { --background-color: var(--color-light-gray); }
.page-block.-light-gray { --background-color: linear-gradient(#f0f0f0, transparent 5rem, transparent calc(100% - 5rem), #f0f0f0); }
.page-block.-black { --background-color: #333; --text-color: white; --heading-color: white; }
.page-block.-blue { --background-color: var(--color-blue); --text-color: white; --heading-color: white; }

.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: 120; }
.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; 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/icon-mb-home.png); }
.message-box.-alert { --image:url(../img/icon-mb-alert.png); border-color: var(--color-violet); }
.message-box.-alert h2  { color: var(--color-violet); }
.message-box.-alert::before { background: var(--color-red); }
.message-box.-alert::after { background: var(--color-violet); }
.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: center; flex-wrap: wrap; }
.pagination .title { margin-right: 2rem; }
.pagination ul { margin-bottom: 0; margin-left: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; grid-gap: 0.4rem; }
.pagination li a { display: inline-flex; margin: 0.5rem 0.5rem; }
.pagination li.active a { background: #2d67b6;  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 { border-radius: 50%; min-width: 30px; width: 30px; height: 30px; align-items: center; justify-content: center; text-decoration: none; }
.pagination li:hover:not(.active):not(.control) a { background: #dddddd; }

/* Social icons */
/* -------------------------------------------------------------------- */
.social-icons { white-space: nowrap; display: flex; align-items: center; gap: 1.5rem;}
.social-icons a { --image:linear-gradient(transparent, transparent); width: 2.5rem; height: 2.5rem;  background: no-repeat center; position: relative; display: inline-flex; justify-content: center; align-items: center; transition: .3s; top:0; gap: 0.5rem; grid-gap: 0.5rem; --color: #333; }
.social-icons a::after { content: ''; display: inline-block; width: 100%; height: 100%; transition: .3s; mask:var(--image) center/contain no-repeat; -webkit-mask:var(--image) center/contain no-repeat; 	background: var(--color); }
.social-icons a.vk { --image: url(../img/icons/social-vk.png); --color: #3580ba; }
.social-icons a.telegram { --image: url(../img/icons/social-telegram.png); --color: #1e90cb; }
.social-icons a.whatsapp { --image: url(../img/icons/social-whatsapp.png); --color: #47b467;}
.social-icons a:hover { top: -5px; }


.category-children { margin-bottom: 4rem; gap: 1rem; }
.category-child-card { background: #f5f5f5; text-decoration: none !important; font-weight: 500; font-size: 1.6rem; padding: 2rem; display: flex; align-items: center;  
	border-left: 5px solid var(--color-yellow);transition: .3s;
}
.category-child-card .content { display: flex; align-items: center; gap: 1rem; width: 100%; }
.category-child-card .title { flex-grow: 1; }
.category-child-card i { width: 3rem; height: 3rem; background: #ccc; transition: .3s; }

.category-child-card:hover { background: var(--color-yellow); }
.category-child-card:hover i { background: white; }

/* ============================================================== */
.product-card { position: relative; border: 1px solid #ccc; overflow:hidden; transition: .3s; z-index: 1; background: white;
 display: flex; gap: 2rem; padding: 2rem; flex-wrap: wrap;  align-items: center; }
.product-card .image { width: 30rem; height: 25rem;  position: relative; display: block; flex-shrink: 0; flex-basis: 30rem; }
.product-card .side { flex-basis: 20rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.product-card .side > * { flex-basis: 20rem; display: flex; }
.product-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card .content { flex-basis: 20rem; flex-grow: 1; }
.product-card .content > .title { font-size: 1.9rem; text-transform: uppercase; font-weight: 500; line-height: 1.2; display: block; color: var(--color-violet); }
.product-card .description { margin-top: 2rem; font-style: italic; }
.product-card .properties { font-size: 1.7rem;  line-height: 1.2; margin-top: 2rem; font-weight: normal; }
.product-card .property .title { color: #444;  margin-right: 0.5rem; }
.product-card .property:not(:last-child) { margin-bottom: 0.5rem; }
.product-card .not-aviable { background: #f4f4f4; text-align: center; font-size: 1.4rem; margin-top: 1rem; }
.product-card .price { font-size: 1.8rem; height: 5rem; display: flex; align-items: center; gap: 1rem; white-space: nowrap; justify-content: center;  }
.product-card .price strong { font-size: 2.2rem; }
.product-card .bottom { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; position: absolute; bottom: 0; left: 0; right: 0; }
.product-card .bottom > * { flex-basis: 12rem; flex-grow: 1; }

.product-card .property { display: flex; gap: 0.5; flex-wrap: wrap; }

	.product-card:hover { border: 1px solid var(--color-violet); z-index: 10; filter: var(--filter-shadow); }

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

.products-container { gap: 3rem; }


/* ============================================================== */
.catalog-filters { margin-bottom: 2rem; }
.catalog-filters .tabs-content { border: 2px solid var(--color-red); }
.catalog-filters .tabs .tab { padding: 2rem; }
.catalog-filters .filter-values { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 1.5rem; }
.catalog-filters .filter-values a { background: #f4f4f4; padding: 0.5rem 1rem; text-decoration: none !important; transition: .3s; }
.catalog-filters .filter-values a:hover { background: var(--color-yellow); }
.catalog-filters .filter-values a.-active { background: var(--color-red); color: white; }

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

.catalog-filters-all { margin-bottom: 0rem; border-bottom: 1px solid #0002; padding-bottom: 2rem; }
.catalog-filters-all .filter.-wide { flex-basis: 100%; }
.catalog-filters-all .filter-values { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.catalog-filters-all a { font-size: 1.7rem; display: inline-block; padding: 0.5rem 1rem; text-decoration: none !important; border: 1px solid #0001; border-left: 2px solid var(--color-red); transition: 0.3s; }


.catalog-filters-all a:hover { background: #f4f4f4;}
.catalog-filters-all a.-active { background: var(--color-red); color: white; }
.catalog-filters-all .title { font-weight: 500; font-size: 1.9rem; margin-bottom: 0.6rem; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; }
.catalog-filters-all .title .units { font-size: 1.5rem; color: #666;  }
.catalog-filters-all .title i { background: var(--color-red); width: 3rem; height: 3rem; }
.catalog-filters-all .content { display: flex; gap: 2rem 4rem; flex-wrap: wrap; }
.catalog-filters-all .filter { flex-basis: 20rem; flex-grow: 1; }


/* ============================================================== */
.catalog-sort { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 4rem;
	--button-height: 4rem; --input-height: 4rem; 
}
.catalog-sort > * { display: flex; gap: 1rem 2rem; align-items: center; flex-wrap: wrap; }
.catalog-sort .sort { flex-grow: 1; }
.catalog-sort input[type="text"],
.catalog-sort select { background: #f4f4f4; }
.catalog-sort .search { position: relative; }
.catalog-sort .search .button { position: absolute; right: 0; top: 0; bottom: 0; width: 7rem; display: flex; align-items: center; justify-content: center; }

                                

.article li ul, .article li ol { margin-left: 2rem; }

.article ul { list-style-type: disc; margin-bottom: 1em; margin-top: 1em; list-style-position: inside; }
.article ol { list-style-type: decimal; margin-bottom: 1em; margin-top: 1em; list-style-position: inside; }
.article li { margin-left: 0rem; margin-bottom: 0.5rem; }
.article h2 { margin-bottom: 0.4em;}
.article a { color: var(--color-violet); text-decoration: underline; }
.article a:hover { text-decoration: none; }
.article ul li::marker { color: var(--color-blue); }
.article img { display: block; }


/* UI: Breadcrumbs */
/* -------------------------------------------- */
.breadcrumbs { margin-bottom: 2rem; font-size: 1.6rem; flex-wrap: wrap; }
.breadcrumbs ul { display: flex;  color: var(--color-blue); gap: 1rem; flex-wrap: wrap; }
.breadcrumbs ul li { display: inline-block; margin-right: 0.5rem;}
.breadcrumbs ul li:not(:last-child)::after { content: ''; display: inline-block; margin-left: 2rem; border-left: 1px solid #ddd; height: 2rem; }
.breadcrumbs a { color: #0008; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs ul li.home a { display: inline-block; width: 2rem; height: 2rem; --icon: url(../img/icons/home.png); mask: var(--icon) center/contain no-repeat; -webkit-mask: var(--icon) center/contain no-repeat; background: var(--color-yellow);  color: transparent; }

@media screen and (max-width: 768px) {
	.breadcrumbs { font-size: 1.4rem; }
	.breadcrumbs ul	 { justify-content: start; gap: 0rem; }
}


.tippy-content { font-size: 1.5rem; padding: 2rem; }
.tippy-box { background: #ffffffe0; color: black; border-radius: 1rem; }
.tippy-arrow  { color: #ffffffe0;}



/* Карточки */

.image-card { background: #333; padding-top: 75%; position: relative; }
.image-card img { position: absolute; left:0; top:0; width: 100%; height: 100%; }


.course-card { border: 2px solid white; box-shadow: var(--shadow); position: relative; }
.course-card .image { width: 100%; padding-top: 55%; position: relative; background: #333; }
.course-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
.course-card .content { padding: 2rem; text-align: center; min-height: 6rem; }
.course-card .title { font-size: 2rem; font-weight: bold; color: var(--color-violet); line-height: 1.2; display: flex; align-items: center; justify-content: center;  min-height: 4rem;}
.course-card a.more { padding: 0.5rem 1rem; text-decoration: underline; display: inline-block; }
	.course-card:hover a.more { background: var(--color-yellow); text-decoration: none; }
@media screen and (max-width: 768px) {
	.course-card .image { padding-top: 50%; }
}


.card-link { position: absolute; left:0; top:0; width: 100%; height: 100%; }

.service-card { display: block; border: 2px solid white; box-shadow: var(--shadow); background: linear-gradient(to top,#41418124, transparent 3rem), white; position: relative; }
.service-card .image { width: 100%; padding-top: 55%; position: relative; background: #333; }
.service-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
.service-card .content { padding: 2rem; text-align: center; min-height: 6rem; }
.service-card .title { font-size: 2rem; font-weight: bold; color: var(--color-violet); }
.service-card a.more { padding: 0.5rem 1rem; text-decoration: underline; display: inline-block; }
	.service-card:hover a.more { background: var(--color-yellow); text-decoration: none; }
@media screen and (max-width: 768px) {
	.service-card .image { padding-top: 55%; }
}


.advantage-card { border: 3px solid var(--color-violet); display: flex; align-items: center; color: var(--color-violet); }
.advantage-card .image { width: 11rem; height: 11rem; position: relative; flex-shrink:0; }
.advantage-card .image i { position: absolute; left: 50%; top: 50%; width: 8rem; height: 8rem; transform: translate(-50%, -50%); background: var(--color-violet); }
.advantage-card .content { text-align: left; padding: 2rem; }
.advantage-card .title { font-weight: bold; margin-bottom: 0.5rem; line-height: 1.1; }
.advantage-card .text { font-size: 90%; }

.license-card { border: 2px solid white; box-shadow: var(--shadow); }
.license-card .image { display: block; padding-top: 135%; position: relative; }
.license-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: contain; }

.news-card { border: 2px solid white; box-shadow: var(--shadow); background: white; position: relative; }
.news-card .image { width: 100%; padding-top: 55%; position: relative; background: #333; }
.news-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
.news-card .content { padding: 2rem; text-align: left; min-height: 6rem; }
.news-card .title { font-size: 2.3rem; font-weight: 500; color: var(--color-violet); margin-bottom: 1rem; min-height: 4rem; display: flex; align-items:center; line-height: 1.1; }
.news-card .date { font-size: 1.4rem; color: #888; margin-bottom: 1rem; }
.news-card a.more { padding: 0.5rem 1rem; text-decoration: underline; display: inline-block; margin-left: -1rem; transition: .3s; }
	.news-card:hover a.more { background: var(--color-yellow); text-decoration: none; margin-left:0; }

.news-line-card { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; position: relative; }
.news-line-card .image { flex-basis: 30rem; flex-shrink:0; flex-grow: 1;  }
.news-line-card .image-wrapper { position: relative; border: 3px solid white; box-shadow: var(--shadow); padding-top: 75%; display: block; }
.news-line-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
.news-line-card .content { display: flex; flex-direction: column; gap: 1rem; justify-content: center; flex-grow: 4; flex-basis: 40rem; }
.news-line-card .date { color: #0008; font-size: 1.5rem; font-style: italic; }
.news-line-card .content-wrapper > *:not(:last-child) { margin-bottom: 1rem; }
.news-line-card .title { font-size: 2.3rem; font-weight: 500; color: var(--color-violet); }


.how-we-work-card { border: 1px solid #eee; box-shadow: var(--shadow); display: flex; align-items: center; position: relative; min-height: 15rem; counter-increment: item;}
.how-we-work-card::before { content: counter(item);  display: flex; width: 4rem; height: 4rem; border-radius: 50%; position: absolute; left: -2rem; top: 50%; transform: translate(0, -50%); color: black; background: var(--color-yellow);  align-items: center; justify-content: center; font-size: 2rem; font-weight: 500; }
.how-we-work-card .image { width: 8rem; height: 8rem; flex-shrink:0; position: relative; margin-left:3rem; }
.how-we-work-card .image i { position: absolute; left:0; top:0; width: 100%; height: 100%; background: var(--color-yellow); }
.how-we-work-card .content { text-align: left; padding: 2rem; }
@media screen and (max-width: 768px) {
	.how-we-work-card::before { display: none; }
	.how-we-work-card .content { padding: 1rem; }
	.how-we-work-card .image  { width: 6rem; height: 6rem; margin-left: 1rem; }
}

.documents-widget { margin: 4rem 0; }
.documents-widget h2 { margin-bottom: 1em; }
.documents-card { border: 1px solid #eee; box-shadow: var(--shadow); display: flex; align-items: center; position: relative; min-height: 15rem; counter-increment: item;}
.documents-card .image { width: 8rem; height: 8rem; flex-shrink:0; position: relative; margin-left:3rem; }
.documents-card .image i { position: absolute; left:0; top:0; width: 100%; height: 100%; background: var(--color-yellow); }
.documents-card .content { text-align: left; padding: 2rem; }
@media screen and (max-width: 768px) {
	.documents-card::before { display: none; }
}

.documents-get-widget { margin: 4rem 0; }
.documents-get-widget h2 { margin-bottom: 1em; }



.faq-card { background: white;  text-align: left; align-self: start; align-self: stretch; position: relative; display: flex; align-items: center; border: 3px solid var(--color-violet); color: var(--color-violet); }
.faq-card .question {  cursor: pointer; position: relative; display: flex; align-items: center; min-height: 12rem;  padding: 2rem; padding-left: 4rem; padding-right: 10rem; font-size: 1.7rem; position: relative; width: 100%; line-height: 1.2; }
.faq-card .question::after { content:''; position: absolute; display: block; width: 2.5rem; height: 4rem; right: 4rem; top: 50%; background: var(--color-violet); transform-origin: center; transform: translateY(-50%); --icon: url(../img/icons/arrow-down.svg) center/contain no-repeat; mask: var(--icon) ; -webkit-mask: var(--icon); }
.faq-card .question .text { position: relative; min-height: 7rem; display: flex; align-items: center; padding-right: 1rem; border-right: 1px solid #ccc; flex-grow: 1; }
.faq-card .answer { display: none; background: white; position: absolute; top: 100%; left:-3px; right: -3px; z-index: 10; padding: 4rem; border-top: 2px solid var(--color-blue); box-shadow: var(--shadow); border: 3px solid var(--color-violet); border-top: none; }
	.faq-card.-open { box-shadow: var(--shadow); }
	.faq-card.-open .answer { display: block;  }
	.faq-card.-open .question { background: linear-gradient(to top, #4141813d, transparent 3rem); }
	.faq-card.-open .question .text { font-weight: 500; }
	.faq-card.-open .question::after { transform: rotate(180deg) translateY(50%); }


/* ============================================================== */
.cities-list { background: linear-gradient(to top, #0001, transparent 5rem), var(--color-light-gray); color: black; position: fixed; left:0; top:0; width: 100%; z-index: 100; display: none; opacity: 0;  box-shadow: var(--shadow); font-weight: normal; }
.cities-list-inner { position: relative; max-height: 60rem; overflow: auto; padding: 4rem; }
.cities-list .container { max-width: var(--page-width); margin:0 auto;  position: relative; }
.cities-list .cities-container {  width: 100%; text-align: left; }
.cities-list .city { display: inline-block; clear: both; border-radius: 3px; color: var(--color-blue); background: white; padding: 0.5rem 1rem; transition: .3s; }
.cities-list .city:hover { background: var(--color-black); color: white; text-decoration: none; }
.cities-list .city.-active { border-left:5px solid white; font-weight: bold; padding-left: 10px;  background: var(--color-violet); text-decoration: none; color: white; }
.cities-list a { display: inline-block; padding: 0.3rem 0.5rem; font-size: 1.6rem; color: var(--color-blue);}
.cities-list a:hover { color: black; }
.cities-list h2 { text-align: left; color: black; font-size: 3rem; margin-bottom: 3rem; font-weight: normal; }
.cities-list .cities-group .cities { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cities-list .cities-group .cities.-important { margin-bottom: 2rem; }
.cities-list .cities-group:not(:last-child) { margin-bottom: 2rem; border-bottom: 1px dashed #775132a3; padding-bottom: 2rem; }
.cities-list .cities-heading { padding: 0.5rem 1rem; margin-bottom: 1rem; color: white; position: relative; overflow: hidden; display: inline-block; width: auto; background: var(--color-darken-green); color: white;  border-radius: 1rem; }
.cities-list .cities-heading.-secondary{ background: white; color: var(--color-blue);  padding-left: 2rem;}
.cities-list .cities-heading.-secondary::after { content:''; display: block; width: 1rem; top:0; bottom:0; left:0; background: var(--color-blue); position: absolute;  }
.cities-list .close-button { position: absolute; top:2rem; right:2rem; width: 2rem; height: 2rem;	-webkit-mask: url(../img/icons/close.svg) center/contain no-repeat; mask: url(../img/icons/close.svg) center/contain no-repeat; background: black; cursor: pointer; }
.cities-list .close-button:hover { background: var(--color-red); }

#cities-list { font-size: 1.5rem; }
#cities-list a { display: inline-block; padding: 0.5rem; }
#cities-list a:hover { background: var(--color-red); color: white; }



/* Разметки блоков */
#header { position: relative; background: white; box-shadow: 0 5px 20px 0 #0002; overflow: visible;}
#header .header-top { display: flex; gap: 1rem 2rem; align-items: center; justify-content: center;  margin-bottom: 2rem; flex-wrap: wrap; }
#header .navigation { display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; }

#header .cities-selector-wrapper { display: flex; justify-content: center; flex-grow: 1; flex-basis: 22rem; gap: 1rem; align-items: center; }
#header .cities-selector-wrapper i { width: 3rem; height: 3rem; background: #ccc; }
#header .cities-selector { display: flex; font-size: 1.6rem; flex-wrap: wrap; gap: 0.5rem 1rem;; }
#header .cities-selector .title { }
#header .cities-selector .city { display: inline-flex; gap: 1rem; align-items: center; cursor: pointer; color: var(--color-violet); text-decoration: underline; }
#header .cities-selector .city i { width: 1rem; height: 1rem; background: #ccc; }
#header .cities-selector .city:hover i { }


#header .site-logo { display: block;  width: 7rem; height: 7rem; flex-shrink: 0; flex-grow:0; background: url(../img/site-logo.png) center/contain no-repeat; }
#header .social-icons { flex-grow: 1; justify-content: center; }
#header .contacts { display: flex; gap: 1rem 2rem; align-items: center; justify-content: center; text-align: left; flex-grow: 1; }
#header .contacts a { text-decoration: underline; color: var(--color-violet); }
#header .contacts .address { font-weight: 500; }
#header .phones .phone { display: block; font-size: 1.9rem; text-align: right; }
#header .phones .phone strong { color: var(--color-violet); font-weight: normal; }

#header .location { padding-left: 4rem; position: relative; }
#header .location::before { content: ''; display: block; width: 3rem; height: 2.5rem; position: absolute; left:0; top: 50%; transform: translate(0, -50%); background: url(../img/icons/address.png) center/contain no-repeat; opacity: 0.3; }


#header .mobile-menu-button { --button-color: white; --button-text-color: black; padding:0; width: 3rem; display: none; }

#header .email { padding-left: 4.5rem; position: relative; flex-basis: 22rem; }
#header .email::before { content: ''; display: block; width: 3rem; height: 2rem; position: absolute; left:0; top: 50%; transform: translate(0, -50%); background: url(../img/icons/email.png) center/contain no-repeat; opacity: 0.3; }

#header .main-menu { flex-grow: 1; display: flex; flex-grow: 1; margin-left: -2rem; position: relative; z-index: 30;}
#header .main-menu ul { display: none; background: white; box-shadow: var(--shadow); position: absolute; left:0; top: 100%; color: black; min-width: 30rem}
#header .main-menu ul a { display: block; padding: 1rem; }
#header .main-menu a:hover { text-decoration: none; }
#header .main-menu ul li:hover { background: var(--color-violet); color: white; }
#header .main-menu ul li { padding: 0 2rem; }
#header .main-menu li { position: relative; transition: .3s; }
#header .main-menu li.active > a { font-weight: 500; }
#header .main-menu > li { padding: 0.5rem 2rem;}
#header .main-menu > li:hover { background: var(--color-violet); color: white; }
#header .main-menu > li.first { color: transparent; overflow: hidden; position: relative; width: 5rem; white-space: nowrap; }
#header .main-menu > li.first::before { content: ''; width: 2rem; height: 2rem;	background: var(--color-yellow); --image: url(../img/icons/home.png); mask: var(--image)  center/contain no-repeat;  -webkit-mask: var(--image)  center/contain no-repeat;}
#header .main-menu li:hover > ul { display: block; }

#header .main-menu > li:not(:last-child) { border-right: 1px solid #eee; }
#header .main-menu-compact { display: none; justify-content: center; }
#header .callback-button-compact { display: none; padding:0; width: 4.5rem; height: 5rem; position: relative; }
#header .callback-button-compact i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

	#header.-fixed { position: fixed; top:0; left:0; width: 100%; z-index: 20; padding-top: 1rem; padding-bottom: 1rem; }
	#header.-fixed .main-menu-compact { display: flex; }
	#header.-fixed .navigation { display: none; }
	#header.-fixed .social-icons { display: none; }
	#header.-fixed .contacts { display: none; }
	#header.-fixed .header-top { margin-bottom:0;  }
	#header.-fixed .site-logo { width: 6rem; height: 6rem; }
	#header.-fixed .callback-button-compact	{ display: inline-block; }
	
@media screen and (max-width: 960px) {
	#header .navigation { display: none; }
	#header .social-icons { display: none; }
	#header .contacts { display: none; }
	#header .phones { flex-grow: 1;  }
	#header .phones .phone { font-size: 2rem; text-align: center; }
	#header .mobile-menu-button { display: block; }
	#header .site-logo { height: 6rem; }
	#header .header-top { margin-bottom:0; }
	#header .callback-button-compact { display: none !important; }
	#header .main-menu-compact { display: none !important; }

}	

#slider { padding:0; background: var(--color-violet); --text-color: white; --heading-color: white; }
#slider .swiper { width: 100%; position: relative; padding:0; margin:0; }
#slider .swiper-slide { padding-top: 30%; position: relative; overflow: hidden; height: auto; }
#slider .swiper-slide > .image { position: absolute; left:0; top:0; width: 100%; height: 100%; }
#slider .swiper-slide > .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
#slider .swiper-slide .content-wrapper { position: absolute; right:var(--block-padding);  left:var(--block-padding); top: 50%; transform: translate(0, -50%);  max-width:var(--page-width); }
#slider .swiper-slide .content { color: white; max-width: 75rem; width: 60%; display: flex; align-items: center; gap: 2rem; font-size: 1.7rem; }
#slider .swiper-slide .content .logo { width: 12rem; height: 12rem; flex-shrink: 0; margin-right: 2rem; line-height: 1.1; }
#slider .swiper-slide .content .title { font-size: 2.4rem; margin-bottom: 2em; text-transform: none;  text-transform: uppercase; font-size: 3rem; margin-bottom: 1rem; }
#slider .swiper-slide .content .price { color: var(--color-blue); text-transform: uppercase; }
#slider .swiper-slide .content .small { font-size: 90%; font-style: italic; }
#slider .swiper-slide .content .ui-button { margin-top: 1rem; }
#slider .swiper-button-prev { position: absolute; width: 3rem; height: 3rem; left:2rem; color: white; margin:0; }
#slider .swiper-button-next { position: absolute; width: 3rem; height: 3rem; right: 2rem; color: white; margin:0;  }	
#slider .swiper-button-prev::after, #slider .swiper-button-next::after { font-size: 2rem; }
#slider .swiper-pagination  { position: absolute; left: 50%; bottom: 2rem; transform: translate(-50%,0); }
#slider .swiper-pagination-bullet-active { background: white; }

@media screen and (max-width: 768px) {
	#slider { display: none; }
}


#contacts { padding-top: 2rem; padding-bottom: 2rem; overflow: visible; }
#contacts > .container {
	background: linear-gradient(#f2f2f250, #f2f2f230), url(../img/bg-contacts.webp) top left no-repeat, #f2f2f2;
display: flex; align-items: center; min-height: 40rem; border-bottom: 5px solid var(--color-violet); position: relative; }
#contacts .content { padding: 4rem; flex-grow: 1;  margin-left: 40rem; }
#contacts .image { position: absolute; left:4%; bottom:0; height: 110%; width: 40rem; background: url(../img/bg-contacts-woman.webp) left bottom/contain no-repeat; pointer-events: none; }

#contacts h2 { margin-bottom: 2rem; }
#contacts .form { margin-top: 2rem; }
#contacts .form .form-inputs { display: flex; align-items: center; gap: 1rem; flex-grow: 1; width: 100%; flex-wrap: wrap; }
#contacts .form .form-input { margin-bottom: 0; flex-grow: 1; }
#contacts .form .form-input.-text { flex-basis: 100%; }

@media screen and (max-width: 768px) {
	#contacts > .container { }
	#contacts .image { display: none; }
	#contacts .content { margin-left: 0; }
	#contacts .form { flex-direction: column; }
	#contacts .form .form-inputs { flex-direction: column; }
	#contacts .form .form-input { width: 100%; }
}



#map { padding-top: 2rem; padding-bottom: 2rem; position: relative; }
#map .map { position: absolute; left:0; top:0; width: 100%; height: 100%; z-index:0; }
#map > .container { background: #888; display: flex; align-items: center; min-height: 40rem; padding: 4rem;  }
#map .contacts { background: white; box-shadow: var(--shadow); text-align: center; position: relative; z-index: 1; }
#map .contacts .content { padding: 3rem 4rem; text-align: center; }
#map .contacts .logo { padding: 1rem 4rem; background: linear-gradient(to top, #0001, transparent); }
#map .contacts .logo img { display: inline-block; width: 12rem; height: 12rem; object-fit: contain; }
#map .contacts .phones { margin-bottom: 2rem; }
#map .contacts .phones a { font-size: 2.5rem; display: block; text-align: center; }
#map .contacts .phones a strong { color: var(--color-violet); font-weight: normal; }
#map .contacts .social-icons { margin-top: 2rem; justify-content: center; display: inline-flex; }

@media screen and (max-width: 768px) {
	#map > .container { justify-content: center; }
}

@media screen and (max-width: 480px) {
	#map .map { position: relative;  left: auto; top: auto; width: 100%; height: 50vh; }
	#map .map > ymaps { width: 100%; }
	#map > .container { padding: 0rem; display: flex; flex-direction: column-reverse; }
}



#faq { overflow: visible; z-index: 2; }
#faq .faq-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(50rem,1fr)); position: relative;  gap: 2rem;  justify-content: center;  padding: 0.5rem 0; }
@media screen and (max-width: 640px) {
	#faq .faq-container { display: flex; flex-wrap: wrap; }
	.faq-card .question { padding-right: 6rem; }
	.faq-card .question::after { right: 2rem; }
}


#how-we-work { padding-top: 4rem; padding-bottom: 4rem; }

#about .ui-button { margin-top: 2rem; }
@media screen and (max-width: 768px) {
	#about { text-align: center; }
	#about h1 { text-align: center !important; font-size: 3rem; }
}

#category-tutors { background: #f8f9fa; }

#footer { background: #f8f9fa; padding-top: 4rem; padding-bottom: 4rem; }
#footer > .container { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
#footer .site-logo { display: inline-block; width: 8rem; height: 8rem;  flex-shrink:0; background: url(../img/site-logo.png) center/contain no-repeat; }
#footer .copyrights { flex-grow: 1; font-size: 1.5rem; }
#footer .bottom-menu { display: flex; align-items: center;  flex-wrap: wrap; }
#footer .bottom-menu li { padding: 0.2rem 1.5rem; }
#footer .bottom-menu li:not(:last-child) { border-right: 1px solid #eee; }

@media screen and (max-width: 768px) {
	#footer .bottom-menu { justify-content: center; }
	#footer > .container { flex-direction: column; }
	#footer .copyrights { text-align: center; margin-bottom: 2rem; }
	#footer .bottom-menu li { margin: 0.2rem; }
}


.documents-container { display: grid; grid-template-rows: auto; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; justify-content: center;  }
.documents-container a { display: flex; background: #f9f9f9; color: var(--color-violet); border-bottom: 4px solid var(--color-violet); align-items: center; font-size: 1.8rem; position: relative; transition: .3s; }
.documents-container a::before { content: ''; background: var(--color-violet); display: block; width: 10rem; height: 10rem; margin-right: 2rem; }
.documents-container a::after { content: ''; display: block; position: absolute; left:1.5rem; top:50%; width: 7rem; height: 7rem; background: white; --mask: url(../img/icons/document.png) center/contain no-repeat; mask: var(--mask); -webkit-mask: var(--mask); transform: translate(0, -50%);}
	.documents-container a:hover { background: var(--color-violet); color: white; text-decoration: none; }

.table-buttons { display: flex; justify-content: center; gap: 2rem; align-items: center; }

#course-slide { background: linear-gradient(45deg, #fff, transparent 20rem), url(../img/bg-consult.jpg) center/cover, #eaf2f9; display: flex; align-items: center; padding-top: 4rem; padding-bottom: 4rem; }
#course-slide > .container { display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; }
#course-slide > .image { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
#course-slide > .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
#course-slide .content { flex-basis: 40rem; flex-grow: 3; }
#course-slide .content h2 { max-width: 80rem;}
#course-slide .content .text { font-size: 1.7rem; }
#course-slide .contacts { border-left: 2px solid var(--color-violet); }
#course-slide .contacts { background: #fffb; padding: 4rem; margin-top: 4rem; }
#course-slide .contacts .phone { font-size: 2rem; }
#course-slide .contacts .phone strong { font-weight: bold; color: var(--color-violet); }
#course-slide .form-container { flex-basis: 50rem; background: white; box-shadow: var(--shadow); padding: 4rem;  flex-grow: 1; }
#course-slide .form { max-width: none; --input-color: #f0f0f0;}
@media screen and (max-width: 768px) {
	#course-slide .image { display: none; }
	#course-slide .content { flex-basis: 100%; text-align: center; }
}

#article { padding-top: 4rem; }

.file-link { display: flex; align-items: center; gap: 1rem; margin-right: auto; margin-bottom: 1rem; text-decoration: none !important;  width: auto; width: fit-content; background: #f8f8f8; padding: 0.5rem; padding-right: 2rem; position: relative; min-height: 4rem; padding-left: 6rem; }
.file-link::after { display: inline-block; content: '';  --icon: url(../img/icons/download.png); width: 2.5rem; height: 2.5rem; background: var(--color-violet); mask: var(--icon) center/cover no-repeat; position: absolute; top: 50%; left: 0.8rem; transform: translate(0, -50%); transition: .3s; }
.file-link::before { display: block; content: ''; position: absolute; left:0; top: 0; width: 4rem; height: 100%; background: #e8e8e8; transition: .3s; }
.file-link:hover::after { background: white; }
.file-link:hover::before { background: var(--color-violet); }

.table-link-small { display: inline-flex; align-items: center; gap: 1rem; margin-right: auto; margin-bottom: 1rem; text-decoration: none !important;  width: auto; width: fit-content; background: #f8f8f8; padding: 0.5rem; padding-right: 2rem; position: relative; min-height: 3rem; padding-left: 4rem; margin-right: 1rem;}
.table-link-small::after { display: inline-block; content: '';  --icon: url(../img/icons/download.png); width: 1.5rem; height: 1.5rem; background: var(--color-violet); mask: var(--icon) center/cover no-repeat; position: absolute; top: 50%; left: 0.7rem; transform: translate(0, -50%); transition: .3s; }
.table-link-small::before { display: block; content: ''; position: absolute; left:0; top: 0; width: 3rem; height: 100%; background: #e8e8e8; transition: .3s; }
.table-link-small:hover::after { background: white; }
.table-link-small:hover::before { background: var(--color-violet); }
.table-link-small:not(:last-child) { margin-right: 2rem; }


.table-file-link { display: flex; align-items: center; gap: 1rem; margin-right: auto; margin-bottom: 1rem; text-decoration: none !important;  width: auto; width: fit-content; background: #f0f0f0; width: 4rem; height: 4rem; position: relative; transition: .3s; }
.table-file-link::after { display: inline-block; content: '';  --icon: url(../img/icons/download.png); width: 2.5rem; height: 2.5rem; background: var(--color-violet); mask: var(--icon) center/cover no-repeat; position: absolute; top: 50%; left: 0.8rem; transform: translate(0, -50%); transition: .3s; }
.table-file-link:hover::after { background: white; }
.table-file-link:hover { background: var(--color-violet); }


.packet { background: #f8f8f8;}
.packet .title { padding: 2rem; font-size: 2rem; font-weight: 500; background: white; border: 4px solid #f8f8f8; color: var(--color-violet); }
.packet .content { padding: 2rem; }

.documents-preview-card { display: block; padding: 1rem; box-shadow: var(--shadow); position: relative; text-decoration: none; }
.documents-preview-card .content { position: absolute; background: white; padding: 1rem 2rem; font-size: 1.8rem; left: 50%; top: 50%; transform: translate(-50%, -50%);  transition: .3s; box-shadow: 0 0 5px 0 #0003; }
	.documents-preview-card:hover .content { background: var(--color-yellow); }

#documents .block-content { text-align: center; font-size: 1.7rem; margin: 0 auto; margin-top:-2rem; max-width: 80rem;}

.page-template-5 #article { padding-bottom:0; }
.page-template-5 #contacts { padding-top: 6rem;}
.page-template-4 #documents { padding-top: 0; }

.adaptive-table { width: 100%; overflow-x: auto; }
.adaptive-table table { margin-bottom:0; }

.adaptive-table-container { width: 100%; overflow: auto; margin-bottom: 2rem; position: relative; }
.adaptive-table-container-outer { position: relative; }
.adaptive-table-container-outer::after { content: ''; display: block; position: absolute; top:0; right:0; height: 100%; width: 4rem; background: linear-gradient(to left, #0002, transparent 2rem); pointer-events: none; }
.adaptive-table-container table { margin-bottom: 0; border: 2px solid #eee; font-size: 15px; }
.adaptive-table-container table th { font-size: 15px; }
.-adaptive-table-container .table-link-small { padding: 0; background: none; text-decoration: underline !important; min-height: none; margin:0; }
.-adaptive-table-container .table-link-small::after { display: none; }
.-adaptive-table-container .table-link-small::before { display: none; }


#program-tabs { padding-top: 0; padding-bottom: 0; flex-wrap: wrap;  }
.program-top { display: flex;   gap: 2rem; flex-wrap: wrap; }

.program-top .image { flex-basis: 20rem; flex-grow: 1; }
.program-top .properties-part { flex-basis: 20rem; flex-grow: 1; }

.program-top .property .title { font-weight: 500; }
.program-top .property:not(:last-child) { margin-bottom: 0.5em; }
.program-top .property a { color: var(--color-violet); text-decoration: underline; }
.program-top .property a:hover { text-decoration: none; }

.program-top .price-part { flex-basis: 30rem; flex-grow: 0; }

.program-top .price { font-size: 1.8rem; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.program-top .price strong { font-size: 2.4rem; color: var(--color-violet); }

.program-top .buttons { margin-top: 2rem; }
.program-top .buttons > * { width: 100%; max-width: 30rem; text-align: center; }
.program-top .buttons > *:not(:last-child) { margin-bottom: 1rem; }

.tutor-card { background: #f0f0f0; position: relative;  width: 100%; padding-top: 130%; border-radius: 0.5rem; overflow: hidden; }
.tutor-card .image { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.tutor-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.tutor-card .content { background: white; position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: 1rem; }
.tutor-card .exp { font-weight: 500; color: var(--color-yellow); }
.tutor-card .name { font-size: 1.7rem; font-weight: 500; margin-top: 0.2rem; }
.tutor-card .title { font-size: 1.5rem; font-style: italic; margin-top: 0.2rem; }

.tutors-slider .swiper-slide {  width: 25rem; }
.tutors-slider .swiper-button-prev { left: 0; }
.tutors-slider .swiper-button-next { right: 0; }

#program-tutors { padding-top: 0rem; margin-top: -4rem; }
#program-tutors > .container { display: flex; gap: 4rem; justify-content: center; }
#program-tutors > .container > * { width:50%; flex-grow: 1;  }

@media screen and (max-width: 1024px) {
	#program-tutors > .container { flex-wrap: wrap; }
	#program-tutors > .container > * { width: 100%; flex-grow: 1;  }
}

#program-tutors > .container { display: flex; gap: 4rem; }

.documents-delivery .text-top { font-size: 1.8rem; font-weight: 500; color: back; }
.documents-delivery .text-bottom { font-style: italic; }
.documents-delivery .items { display: flex; jusitfy-content: center; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.documents-delivery .item { text-align: center; background: white; padding: 2rem; box-shadow: var(--shadow); flex-basis: 10rem; flex-grow: 1; max-width: 25rem; font-size: 1.7rem; }
.documents-delivery .item .image i { width: 6rem; height: 6rem; background: var(--color-yellow); margin-bottom: 1rem; }
.documents-delivery .item .title {  margin-bottom: 0.5rem; font-weight: 500; }
.documents-delivery .item .value { }
@media screen and (max-width: 1024px) {
	.documents-delivery .item { max-width: none; }
	.documents-delivery .text-top { text-align: center; }
}
