/*@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap');*/


/* CSS Document */
:root {
	--color1: rgba(0, 216, 198, 1);
	--color1-1: rgba(0, 216, 198, 0.1);
	--color1-2: rgba(0, 216, 198, 0.2);
	--color1-3: rgba(0, 216, 198, 0.3);
	--color1-5: rgba(0, 216, 198, 0.5);
	--color1-7: rgba(0, 216, 198, 0.7);
	--color1-9: rgba(0, 216, 198, 0.9);

	--color2: rgba(250, 168, 120, 1);
	--color2-2: rgba(250, 168, 120, 0.2);
	--color2-3: rgba(250, 168, 120, 0.3);
	--color2-5: rgba(250, 168, 120, 0.5);
	--color2-7: rgba(250, 168, 120, 0.7);

	--color3: rgba(132, 86, 240, 1); /* black */
	--color3-3: rgba(132, 86, 240, 0.3);
	
	--color4: rgba(139, 168, 221, 1); /* light */
	--color4-1: rgba(139, 168, 221, 0.1);
	
	--color-gray1: rgba(232, 232, 232, 1);
	--color-gray1-0: rgba(232, 232, 232, 0);
	--color-gray1-5: rgba(232, 232, 232, 0.5);
	--color-gray1-7: rgba(232, 232, 232, 0.7);
	
	--color-gray2: rgba(136, 136, 136, 1.0);
	--color-gray2-5: rgba(136,136,136,0.5);
}


::selection {
	color: #000;
	background-color: var(--color1-5);
}

::-moz-selection {
	color: #000;
	background-color: var(--color1-5);
}


@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  src: url("/files/font/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  src: url("/files/font/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
}

/* анимации */

@keyframes fade_out {
	0% {
		opacity: 1;
		left: 0px;
	}
	99% {
		opacity: 0;
		left: 0px;
	}
	100% {
		opacity: 0;
		left: -999px;
	}
}




/* теги */

html {
	font-size: 14pt;
}

body {
	font-family: 'Playfair Display', serif;
	background-color: #fff;
	color: #000;
	margin: 0px;
	padding: 0px;
	line-height: 1.5;
}

header {
	
}

main {
	min-height: 80vh;
}

main > *:first-child {
	padding-top: calc(2rem + 100px) !important;
}

footer {
	background-color: #000;
	color: #fff;
}

a {
	font-size: inherit;
	color: inherit;
	font-family: inherit;
	font-style: normal;
	text-decoration: underline;
	text-decoration-color: var(--color1);
	transition: 200ms;
	font-weight: 500;
}
a:hover {
	color: inherit;
	text-decoration-color: var(--color2);
}

a.dashed {
	text-decoration: underline;
	text-decoration-color: var(--color1);
	text-decoration-style: dotted;
}

a.admin {
	background-color: rgba(128,128,128,.2);
	border-radius: 2px;
	color: rgba(0,0,0,.4);
	font-size: 80%;
	padding: 2px;
	position: absolute;
	right: 5px;
	z-index: 1000;
	text-decoration: none;
}

a.none {
	text-decoration: none;
}

img {
	max-width: 100%;
	max-height: 100%;
}

img.inline {
	height: 1em;
	vertical-align: middle;
}

img.inline2 {
	height: 2em;
	vertical-align: middle;
}

h1 {
	margin-bottom: 1rem;
}
h2 {
}
h3 {
}

ul.color {
	list-style: none;
	padding: 0.5em 0 0 0;
}
ul.color li::before {
	content: url(/files/site/li_marker.png);
}
ul.color li {
	margin-bottom: 1em;
}



/* form */

input, select, textarea, a.button, button {
	font-size: inherit;
	border: 1px solid transparent;
	background-color: var(--color-gray1-5);
	padding: 1em 1em;
	color: #000;
	border-radius: 4px;
	box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
	border: 1px solid var(--color-gray2);
	background-color: #fff;
}

input[type="number"] {
	width: 100px;
}

input[type="image"] {
	border: 0;
	background: transparent;
}

input[type="submit"], a.button, button {
	font-size: inherit;
	cursor: pointer;	
	color: #000 !important;
	text-align: center;
	border: 0px solid var(--color1);
	border-radius: 0 10px;
	/*-webkit-appearance: button;*/
	background-color: var(--color1);
	padding: 0.5em 1em;
	transition: 200ms;
	display: inline-block;
	margin-bottom: 1em;
	font-weight: 600;
}
input[type="submit"]:hover, a.button:hover {
	color: #000 !important;
	background-color: var(--color2);
}

input[type="submit"]:disabled {
	background-color: #ccc;
	background: linear-gradient(to bottom, #ccc, #bbb);
	/*box-shadow: 0px 0px 0px rgba(255,80,80,.5);*/
}
input:hover, select:hover, textarea:hover {
	/*background-color: var(--color4-1);*/
}
input:not([type="submit"]):focus, select:focus, textarea:focus {
	background-color: #fff;
	box-shadow: 0px 0px 20px 0px var(--color1-5);
}

input[readonly] {
	filter: grayscale(50%);
	opacity: 0.5;
}

label {
	cursor: pointer;
	padding: 0.5em 1em;
	line-height: 3em;
}


input[type="radio"] {
	/*display: none;*/
	opacity: 0;
	position: absolute;
}

input[type="radio"] + label {
	width: 100%;
	display: inline-block;
	cursor: pointer;
	position: relative;
    line-height: 1.1em;
	padding: 0em 0em 0em 2em;
}

input[type="radio"] + label::before {
	content: "";
	display: block;
	
	position: absolute;
	left: 0;
	top: 0;

	width: 1.2em;
	height: 1.2em;
	border-radius: 50%;
	font-size: 1em;
	font-weight: bold;
	color: #fff;
	text-align: center;
    line-height: 1em;

	margin-right: 10px;
	background-color: var(--color-gray1-5);
	box-shadow: inset 0 0 8px 0 rgba(0, 0, 0, .2);
	vertical-align: middle;
}

input[type="radio"]:checked + label::before {
	content: "\2713";
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
	background-color: var(--color1);
}

input[type="radio"]:hover + label::before {
	box-shadow: inset 0 0 16px 0 rgba(0, 0, 0, .3);
}



input[type="checkbox"] {
	display: none;
}

input[type="checkbox"] + label {
	width: 100%;
	display: inline-block;
	cursor: pointer;
	position: relative;
    line-height: 1.1em;
	padding: 0em 0em 0em 2em;
}

input[type="checkbox"] + label::before {
	content: "";
	display: block;
	
	position: absolute;
	left: 0;
	top: 0;

	width: 1.2em;
	height: 1.2em;
	font-size: 1em;
	font-weight: bold;
	color: #fff;
	text-align: center;
    line-height: 1em;

	margin-right: 10px;
	background-color: var(--color-gray1);
	box-shadow: inset 0 0 8px 0 rgba(0, 0, 0, .2);
	vertical-align: middle;
}

input[type="checkbox"]:checked + label::before {
	content: "\2713";
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
	background-color: var(--color1);
}

input[type="checkbox"]:hover + label::before {
	box-shadow: inset 0 0 16px 0 rgba(0, 0, 0, .3);
}




/* table */

table {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border: 0px;
	border-spacing: 0px;
}

table.list {
	padding: 2px 4px;
	margin: auto;
}

table.border td {
	border: 1px solid #888;
}

table.rows td {
	border-bottom: 1px solid #bbb;
}

tr {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border: 0px;
}

td {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border: 0px;
	padding: 0px;
}

.list0 td {
	padding: 0px 0px;
}

.list td, .list th {
	padding: 4px 4px;
}

form td {
	padding: 4px 4px;
}

th {
	font-size: smaller;
	font-family: inherit;
	color: inherit;
	border: 0px;
	background-color: var(--color-gray1);
	padding: 4px 2px;
	border-right: 1px solid #fff;
}

table.highlight tr:hover,
tr.highlight:hover {
	background-color:  var(--color-gray1);
}








/*  */

.admin_stat {
	opacity: 0;
	left: -999px;
	position: fixed;
	font-size: 70%;
	top: 200px;
	text-align: left;
	color: #000;
	z-index: 2000;
	padding: 10px;
	background-color: rgba(128,128,128,.2);


	animation-name: fade_out;
	animation-duration: 4s;
	animation-timing-function: ease-in;
	animation-delay: 0s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: forwards;
}

.login {
	position: absolute;
	top: 1em;
	right: 1em;
	z-index: 9999;
	
	text-align: right;
	color: #000;
	font-size: 80%;
	padding: 0.5em 0em;
}



.white_text {
	color: #fff;
}
.white_text h1,
.white_text h2,
.white_text h3 {
	color: #fff;
}
.white_text a {
}
.white_text a:hover {
}

.gray {
	opacity: 0.5;
}

.color1 {
	color: var(--color1);
}

.color2 {
	color: var(--color2);
}

.color3 {
	color: var(--color3);
}

.light {
	font-weight: 100;
}

.medium {
	font-weight: 500;
}

.huge {
	font-size: 150%;
}

.sm {
	font-size: 80%;
}

.img_bg {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.bg_color1 {
	background-color: var(--color1);
}

.bg_color2 {
	background-color: var(--color2);
}

.bg_color3 {
	background-color: var(--color3);
}

.bg_color4 {
	background-color: var(--color4);
}

.bg_tint {
	background-color: rgba(0, 0, 0, 0.5);
	background-blend-mode: multiply;
}

.bg_light {
	background-color: var(--color1-2);
}

.bg_gray1 {
	background-color: var(--color-gray1);
}

.black {
	background-color: var(--color3);
	color: #fff;
}

.black a {
	color: var(--color4);
}

.mh100 { max-height: 100vh; }
.mh80 { max-height: 80vh; }

.hidden {
	display: none;
}


.button_more {
	display: block;
	width: auto;
	padding: 5px 0;
	background-color: rgba(0, 0, 0, 0.1);
	color: rgba(0, 0, 0, 1);
	text-decoration: none;
	text-align: center;
	margin: 1em;
	
	-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.05);
			box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.button_more:hover {
	color: #000;text-decoration: none;
	background-color: rgba(0, 0, 0, 0.2);
}

.round {
	border-radius: 50%;
}




/* modal */

.modal {
	display: none;
	position: fixed;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	z-index: 9999;
	padding-top: 100px;
}

.modal_bg {
	position: fixed;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.7);
	overflow: auto;
}

.modal_card {
    position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	height: 100%;
}

.modal_container {
    position: relative;
}

.close_modal {
	position: absolute;
	top: 0.2em;
	right: 0.2em;
	cursor: pointer;
	opacity: 0.5;
}
.close_modal:hover {
	opacity: 1;
}
.close_modal img {
	width: 2em;
	height: 2em;
	display: block;
}


/* slider */


.slick-dots {
	list-style: none;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	opacity: 1;
	position: relative;
	padding: 0;
}

.slick-dots li::before {
	content: '';
}


.slick-dots li {
	display: block;
	width: 1em;
	height: 0.3em;
	margin: 0.3em;
	background-color: var(--color1-3);
	border-radius: 2px;
	border: 0px solid var(--color1);
	cursor: pointer;
}

.slick-dots li.slick-active {
	background-color: var(--color1);
}

.slick-dots li:hover {
	background-color: var(--color1-5);
}

.slick-dots button {
	display: none;
}

.slick-slide {
	outline: none;
}

.slick-prev {
	position: absolute;
	left: 0;
	top: calc((100% - 50px) / 2);
	padding: 0em;
	cursor: pointer;
	z-index: 100;
}

.slick-next {
	position: absolute;
	right: 0;
	top: calc((100% - 50px) / 2);
	padding: 0em;
	cursor: pointer;
	z-index: 100;
}

.slick-prev img,
.slick-next img {
	height: 50px;
	opacity: 0.5;
	transition: 200ms;
}

.slick-prev:hover img,
.slick-next:hover img {
	opacity: 1;
}





/* сайт */

.menu_top {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 1rem 0rem;
	color: var(--color3);
	z-index: 9998;
	font-size: 120%;
}
.menu_top a.menu {
	color: var(--color3);
	padding: 0.5rem 0.5rem;
	text-decoration: none;
}
.menu_top a.menu:hover {
	color: var(--color1);
}
.menu_selected {
	color: var(--color1) !important;
}



.menu_mobile {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
	padding: 0;
	margin: 0;
	z-index: 100000;
}

.menu_mobile li {
	display: block;
}

.menu_mobile a {
	display: block;
	padding: 1em 1em 1em 1em;
	color: #000;
}

.menu_mobile_links {
	position: absolute;
	top: 2em;
	right: 1em;
	width: auto;
}



.tab {
	padding: 0.1em 0.3em;
	border-radius: 0px;
	border-bottom: 2px solid var(--color1);
}
.tab:hover {
	background-color: var(--color1-5);
	color: #fff !important;
	border-radius: 4px;
}
.tab_selected {
	padding: 0.1em 0.3em;
	border-radius: 4px;
	background-color: var(--color1);

}
.tab_selected:hover {
	background-color: var(--color1);
	color: #fff !important;
}


a .card {
	color: #000;
}
a .card h3 {
	color: var(--color1);
}

.white_text a .card {
	color: #fff;
}

.required {
	color: #f00;
}


.news_img_block {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
}

.news_img_block img {
	max-height: 200px;
	margin-bottom: 1em;
	margin-right: 1em;
}



.anketa .card {
	padding: 1em 1em 1em 1em;
	margin-bottom: 1em;
}

.anketa {
	background-color: var(--color1-3);
}
input.anketa_question {
	font-weight: bold;
}
.anketa input,
.anketa textarea,
.anketa select {
	border-color: var(--color1-3);
}

video {
	max-width: 100%;
}

.video iframe {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}

a.auth {
	display: inline-block;
	padding: 0.5em 1em;
	border-bottom: 1px solid var(--color-gray2);
	color: var(--color-gray2);
	font-weight: bold;
}
a.auth_active, a.auth:hover {
	color: var(--color1);
	border-bottom: 4px solid var(--color1);
}

.login_1 {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.login_2 {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.service_item {
	display: block;
	color: #000;
	position: relative;
	aspect-ratio: 1 / 1;
}

.service_item h3 {
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: var(--color1-9);
	text-align: end;
	padding: 4px 16px;
	transition: 200ms;
	border-radius: 0 10px;
}

.service_item img {
	transform: scale(0.95);
	transition: 1000ms;
	width: 100%;
}

.service_item:hover img {
	transform: scale(1);
}

.service_item:hover h3 {
	color: #000;
	background-color: var(--color1);
}

.service_item::before {
	content: '';
	display: block;
	position: absolute;
	top: 0rem;
	left: 0rem;
	bottom: 4rem;
	right: 4rem;
	border-radius: 50%;
	background-color: var(--color2);
	opacity: 0.1;
	transition: 1000ms;
}

.service_item:hover::before {
	opacity: 0.5;
}

.cabinet_bg {
	background-image: url(/files/site/cabinet.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: rgba(0, 0, 0, 0.3);
	background-blend-mode: multiply;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	position: relative;
	z-index: 1;
}

.fw_400 {
	font-weight: 400;
}

.fw_500 {
	font-weight: 500;
}

.fw_700 {
	font-weight: 700;
}

.fw_900 {
	font-weight: 900;
}

.edu_module {
	height: 100%;
	padding: 1rem;
	border: 1px solid var(--color1);
	border-radius: 0 2rem;
	background-color: var(--color1-1);
}

.edu_result {
	height: 100%;
	padding: 1rem;
	border: 1px solid var(--color2);
	border-radius: 0 2rem;
	background-color: var(--color2-2);
}

.border_1 {
	border-radius: 0 2rem;
}

.sert_item {
	padding: 1rem;
	/*display: flex;
	align-items: center;
	height: 20vw;*/
}

.sert_item img {
	aspect-ratio: 1 / 1;
	width: 100%;
	object-fit: contain;
}

.how_item {
	display: block;
	width: auto;
	width: 200px;
}

.how_item img {
	display: block;
	transition: 200ms;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.how_item:hover img {
	opacity: 0.7;
}

.cke_notifications_area {
	display: none;
}

#cookie-consent {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: transparent;
	padding: 2rem 2rem 1rem 2rem;
	text-align: start;
	z-index: 9997;
	justify-content: center;
}

#decline-cookies {
	position: absolute;
	top: -0.5rem;
	right: -0.5rem;
	width: auto;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
}

.cookie-card {
	background-color: rgba(0, 0, 0, 0.8);
	width: 500px;
	max-width: 100%;
	position: relative;
	padding: 1rem 0.5rem 0 0.5rem;
	border-radius: 1rem;
	font-size: 80%;
}





/* xxl */
@media screen {
	.video iframe {
		width:  900px;
		height:  506px;
	}
}

@media screen and (max-width: 1800px) {
	
}

/* xl */
@media screen and (max-width: 1400px) {
	
}

/* lg */
@media screen and (max-width: 1200px) {

}

/* md */
@media screen and (max-width: 992px) {
	.video iframe {
		width:  750px;
		height:  422px;
	}

	.how_item {
		width: 25%;
	}

}

/* sm */
@media screen and (max-width: 768px) {
	.video iframe {
		width:  550px;
		height:  309px;
	}
	
	.how_item {
		width: 33.33%;
	}
}

/* xs */
@media screen and (max-width: 576px) {
	.video iframe {
		width:  100vw;
		height:  56.25vw;
	}

	.how_item {
		width: 50%;
	}

}






