:root {
	--color1: rgba(15, 113, 183, 1);
	--color1-1: rgba(15, 113, 183, 0.1);
	--color1-3: rgba(15, 113, 183, 0.3);
	--color1-5: rgba(15, 113, 183, 0.5);
	--color1-7: rgba(15, 113, 183, 0.7);
	
	--color2: rgba(250, 234, 38, 1);
	--color2-1: rgba(250, 234, 38, 0.1);
	--color2-3: rgba(250, 234, 38, 0.3);
	--color2-5: rgba(250, 234, 38, 0.5);
	--color2-7: rgba(250, 234, 38, 0.7);
	
	--color3: rgba(7, 103, 172, 1);
	--color3-1: rgba(7, 103, 172, 0.1);
	--color3-3: rgba(7, 103, 172, 0.3);
	--color3-5: rgba(7, 103, 172, 0.5);
	--color3-7: rgba(7, 103, 172, 0.7);
	
	
	--color4: rgba(0, 35, 75, 1); /* black */
	--color4-3: rgba(0, 35, 75, 0.3);
	
	--color-gray1: rgba(225, 227, 232, 1);
	--color-gray1-0: rgba(225, 227, 232, 0);
	--color-gray1-5: rgba(225, 227, 232, 0.5);
	--color-gray1-7: rgba(225, 227, 232, 0.7);
	
	--color-gray2: rgba(84, 86, 94, 1);
	--color-gray2-1: rgba(84, 86, 94, 0.1);
	--color-gray2-3: rgba(84, 86, 94, 0.3);
	--color-gray2-5: rgba(84, 86, 94, 0.5);
}


::selection {
	background-color: var(--color2-5);
}

::-moz-selection {
	background-color: var(--color2-5);
}

@font-face {
	font-family: "EtelkaLightPro";
	font-style: normal;
	font-weight: normal;
	src: url("/files/font/EtelkaLightPro.otf");
}
@font-face {
	font-family: "EtelkaLightPro";
	font-style: italic;
	font-weight: normal;
	src: url("/files/font/EtelkaLightProItalic.otf");
}
@font-face {
	font-family: "EtelkaMediumPro";
	font-style: normal;
	font-weight: normal;
	src: url("/files/font/EtelkaMediumPro.otf");
}
@font-face {
	font-family: "EtelkaMediumPro";
	font-style: italic;
	font-weight: normal;
	src: url("/files/font/EtelkaMediumProItalic.otf");
}
@font-face {
	font-family: "EtelkaMediumPro";
	font-style: normal;
	font-weight: bold;
	src: url("/files/font/EtelkaMediumProBold.otf");
}
@font-face {
	font-family: "EtelkaMediumPro";
	font-style: italic;
	font-weight: bold;
	src: url("/files/font/EtelkaMediumProBoldItalic.otf");
}
@font-face {
	font-family: "awesome";
	font-style: normal;
	font-weight: normal;
	src: url("/files/font/fontawesome-webfont.ttf") format("truetype");
}


@keyframes fade_out {
	0% {
		opacity: 1;
		left: 0px;
	}
	99% {
		opacity: 0;
		left: 0px;
	}
	100% {
		opacity: 0;
		left: -999px;
	}
}

body {
	font-family: "EtelkaLightPro", sans-serif;
	background-color: var(--color1);
	color: #fff;
	line-height: 1.5;
}

main {
	min-height: calc(100vh - 50px - 7rem);
	padding: 2rem 0;
}

header {
	background-color: var(--color1);
}

footer {
	background-color: var(--color4);
	color: #fff;
	padding: 2rem 0;
}

footer a {
	color: #fff;
}

a {
	color: var(--color2);
	text-decoration: none;
	transition: 200ms;
}

a:hover {
	color: var(--color2-7);
	text-decoration: none;
}

h1 {
	font-family: "EtelkaMediumPro", sans-serif;
	margin-bottom: 1rem;
}
h2 {
	font-family: "EtelkaMediumPro", sans-serif;
	margin-bottom: 1rem;
}
h3 {
	font-family: "EtelkaMediumPro", sans-serif;
}

video {
	max-width: 100%;
}

.video iframe {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}


.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;
}

a.admin {
	background-color: rgba(128,128,128,.3);
	border-radius: 2px;
	color: inherit;
	font-size: 80%;
	opacity: 0.5;
	padding: 2px;
	position: absolute;
	right: 5px;
	z-index: 100;
	transition: 200ms;
	line-height: 1;
}

div > a.admin {
	opacity: 0.2;
}

div:hover > a.admin {
	opacity: 0.5;
}

a.admin:hover {
	opacity: 1 !important;
}

img {
	max-width: 100%;
}




.color1 {
	color: var(--color1);
}
.color2 {
	color: var(--color2);
}
.color3 {
	color: var(--color3);
}

.bg_color1 {
	background-color: var(--color1);
}
.bg_color2 {
	background-color: var(--color2);
}
.bg_color3 {
	background-color: var(--color3);
}
.bg_color_gray1 {
	background-color: var(--color-gray1);
}
.bg_color_gray2 {
	background-color: var(--color-gray2);
}

.black {
	background-color: var(--color4);
}

.white_text {
	color: #fff;
}

.gray {
	opacity: 0.5;
}

.img_bg {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.inline {
	height: 1em;
	vertical-align: baseline;
}

.inline2 {
	height: 2em;
	vertical-align: baseline;
}

.inline svg,
.inline2 svg {
	height: 100%;
	fill: var(--color1);
}

.awesome {
	font-family: "awesome";
	vertical-align: baseline;
}

.sm {
	font-size: 80%;
}



/* Общие стили меню */

.navbar {
	display: flex;
	align-items: center;
	padding: 0;
	border-top: 2px solid #fff;
}

.navbar-logo {
	position: relative;
	top: -70px;
}

.navbar-logo img {
	display: block;
	height: 200px;
}

/* Десктопное меню */
.navbar-menu.desktop {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	grid-gap: 0;
}

.navbar-item {
	font-family: "EtelkaMediumPro", sans-serif;
	position: relative;
	height: 50px;
}

.navbar-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	height: 100%;
	padding: 0 1rem;
	transition: color 0.2s;
}

.navbar-link:hover {
	color: var(--color2);
}

.navbar-link.selected {
	color: var(--color2);
}

.navbar .container {
	align-items: flex-start;
}



/* Выпадающее меню */

.navbar-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 2rem rgba(0,0,0,0.3);
	list-style: none;
	padding: 0;
	min-width: 200px;
	z-index: 1000;
	backdrop-filter: blur(10px);
}

.navbar-item:hover .navbar-dropdown {
	display: block;
}

.navbar-dropdown a {
	padding: 0.8rem 1rem;
	display: block;
	color: var(--color1);
	text-decoration: none;
}

.navbar-dropdown a:hover {
	color: var(--color1);
	background-color: var(--color2);
}

/* Гамбургер (по умолчанию скрыт) */
.navbar_toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 2rem;
	height: 3rem;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.5rem 0;
}

.navbar_toggle span {
	width: 100%;
	height: 3px;
	background-color: var(--color2);
	border-radius: 2px;
	transition: all 0.3s ease-in-out;
}

.navbar_toggle:hover {
	background-color: transparent;
}



/* Модальное окно */

.modal {
	display: none;
	position: fixed;
	z-index: 2001;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.5);
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(5px);
}

.modal_window {
	/*border-top: 0.5rem solid var(--color1);*/
	display: block;
	margin: auto;
	padding: 0;
	border-radius: 0.5rem;
	width: auto;
	max-width: 90%;
	max-height: 100vh;
	overflow-y: auto;
	position: relative;
}

.modal_alert {
	background-color: var(--color1-1);
	padding: 1rem;
	font-weight: 500;
}

.modal_alert:empty {
	display: none;
}

.modal_content {

}

.modal_content form {
	display: flex;
	grid-gap: 0.5rem;
	flex-wrap: wrap;
}

.modal_content form > * {
	width: 100%;
}

.close {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 2rem;
	line-height: 1;
	font-weight: bold;
	cursor: pointer;
	padding: 0 0.5rem;
	color: var(--color1);
}

.close svg {
	height: 1rem;
	fill: var(--color2);
}
.close:hover svg {
	fill: var(--color2);
}

.mobile_menu {
	list-style: none;
	padding: 1.5rem 0 0 0;
	margin: 0;
}

.mobile_menu ul {
	list-style: none;
	padding-left: 1rem;
}

.mobile_menu a {
	display: block;
	padding: 0.5rem 0;
	text-decoration: none;
	color: #000;
	font-size: 1.1rem;
}



/* table */

table {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border: 0px;
	border-spacing: 0px;
}

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;
}

th {
	font-size: smaller;
	font-family: inherit;
	color: #fff;
	border: 0px;
	background-color: var(--color-gray2-5);
	padding: 4px 2px;
	border-right: 1px solid #fff;
}

table.highlight tr:hover,
tr.highlight:hover {
	background-color:  var(--color-gray2-1);
}

table.element_param tr:nth-child(odd) {
	background-color: var(--color-gray1-5);
}
table.element_param ul {
	margin-bottom: 0;;
}

time {
	font-style: italic;
}



/* формы */

input,
textarea,
select
{
	border: 1px solid var(--color-gray2);
	padding: 0.5rem 0.5rem;
	transition: 200ms;
}

input:focus,
textarea:focus,
select:focus,
.form-check input:focus
{
	outline: 0;
	box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
}

button,
.button {
	display: inline-block;
	text-align: center;
	background-color: transparent;
	border: 1px solid #fff;
	padding: 0.5rem 2rem;
	color: #fff;
	font-weight: 600;
	transition: 200ms;
}

button:hover,
.button:hover {
	background-color: #fff;
	color: var(--color1);
}

button2,
.button2 {
	border: 1px solid var(--color2);
	color: var(--color2);
}

button2:hover,
.button2:hover {
	background-color: var(--color2);
	color: var(--color1);
}

input[readonly] {
	opacity: 0.3;
}

button:disabled {
	filter: grayscale(1);
}

.form-check * {
	transition: 200ms;
}

.form-check {
	margin-bottom: 0;
}

.form-check > * {
	cursor: pointer;
}

.form-switch .form-check-input {
	width: 2.2em;
}

.form-check .form-check-input {
	margin-top: 2px;
}

.form-check:hover .form-check-input {
	background-color: var(--color-gray1-5);
}

.form-check-input:checked {
	background-color: var(--color1) !important;
	border-color: var(--color1);
}

.form-check-label {
	margin-left: 0.5em;
}

.button_more {
	display: block;
	padding: 1rem 1rem;
	background-color: var(--color3);
	text-align: center;
	width: 100%;
	color: #fff;
	margin-top: 1rem;
}

.button_more:hover {
	background-color: var(--color4-3);
	color: var(--color2);
}



/* cookie */

#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;
	color: #fff;
}
.cookie-card button {
	background-color: var(--color1);
	border: 0px solid;
	padding: 0.5rem 1rem;
	color: #fff;
	border-radius: 4px;
	transition: 200ms;
	margin: 0;
}

.cookie-card button:hover {
	background-color: var(--color1-7);
}


#decline-cookies {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	padding: 0 0.5rem;
	border-radius: 0 0.5rem;
	opacity: 0.5;
}

.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: 0.5rem;
	font-size: 80%;
}



/* новости */

.news_item {
	display: block;
	color: #fff;
	background-color: var(--color3);
	height: 100%;
}

.news_cover {
	display: block;
	aspect-ratio: 16 / 9;
	width: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.news_item_text {
	display: flex;
	align-items: flex-start;
	grid-gap: 0.5rem;
	flex-wrap: wrap;
	padding: 1rem;
}

.news_item_text > * {
	width: 100%;
	margin: 0;
}

.news_img_block {
	display: flex;
	flex-wrap: wrap;
	grid-gap: 1rem;
}

.news_img_block a {
	display: block;
	width: calc(( 100% - 5rem ) / 6);
}

.news_img_block img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0.5rem;
}

.news_item:hover {
	color: #fff;
	background-color: var(--color4-3);
}

.news_item:hover h3 {
	color: var(--color2);
}



/* каталог */

.catalog_list {
	background-color: var(--color-gray1);
}

.catalog_item {
	display: block;
	height: 100%;
	border-radius: 0.5rem;
	padding: 1rem;
	background-color: #fff;
}

.catalog_cover {
	width: 100%;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.catalog_item_text > * {
	margin: 0;
}

.element_item {
	display: block;
	height: 100%;
	border-radius: 0.5rem;
	padding: 1rem;
	background-color: #fff;
	border: 1px solid var(--color-gray1);
}

.element_item:hover {
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

.element_cover {
	width: 100%;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.element_item_text > * {
	margin: 0;
}

.element_img {
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
	background-color: var(--color-gray1-5);
}

.input-group {
	width: 100%;
	overflow: hidden;
}

.input-group a:nth-child(1) {
	border-radius: 0px 0 0 0px;
	background-color: var(--color2-3);
}
.input-group a:nth-child(3) {
	border-radius: 0 0px 0px 0;
	background-color: var(--color1-3);
}

.input-group a:nth-child(1):hover {
	background-color: var(--color2-5);
}
.input-group a:nth-child(3):hover {
	background-color: var(--color1-5);
}

.input-group input {
	padding: 0px 0.5rem;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	width: calc(100% - 4rem);
	text-align: center;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1;
}

.input-group a {
	padding: 4px 0.5rem;
	color: var(--color0);
	width: 2rem;
	text-align: center;
	font-weight: 700;
	border: 2px solid var(--color-gray2-3);
}
.input-group a:hover {
	background-color: var(--color1-3);
}



/* галерея */

.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	font-size: 24px;
	cursor: pointer;
	padding: 10px 15px;
	border-radius: 5px;
	background-color: transparent;
}

.gallery-nav:hover {
	background-color: transparent;
}

.gallery-nav:hover svg {
	fill: rgba(255, 255, 255, 0.5);
}

.gallery-nav.prev {
	left: 0;
}

.gallery-nav.next {
	right: 0;
}

.gallery-nav svg {
	width: 30px;
	fill: rgba(255, 255, 255, 0.3);
	transition: 200ms;
}

img.gallery,
img.gallery1
{
	max-width: 100%;
	max-height: 90vh;
	display: block;
	margin: 0 auto;
}



/* 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 svg,
.slick-next svg {
	height: 50px;
	opacity: 0.5;
	transition: 200ms;
	fill: var(--color1);
}

.slick-prev:hover svg,
.slick-next:hover svg {
	opacity: 1;
}



/* */

.user_img {
	width: 2em;
	height: 2em;
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 0.5rem;
}

.bread {
	color: var(--color-gray1);
	margin-bottom: 1rem;
	font-weight: 500;
}

.scroll_x {
	width: 100%;
	overflow-x: auto;
}

.main1_bg {
	background-image: url(/files/site/main1.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.main1 {
	min-height: 30vw;
}

.service_w {
	display: block;
	height: 100%;
	padding: 2rem;
	background-color: #fff;
	color: var(--color1);
}

.service_b {
	display: block;
	height: 100%;
	padding: 2rem;
	background-color: var(--color3);
	color: #fff;
}

.service_y {
	display: block;
	height: 100%;
	padding: 2rem;
	background-color: var(--color2);
	color: var(--color1);
}

.service_w img,
.service_b img {
	transition: 200ms;
}

.service_w:hover {
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--color1);
}
.service_b:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
}
.service_y:hover {
	background-color: rgb(237, 237, 100);
	color: var(--color1);
}

.service_w:hover img,
.service_b:hover img {
	transform: scale(1.2);
}

.service_item {
	display: block;
	color: #fff;
	background-color: var(--color3);
}
.service_item_cover {
	width: 100%;
	border-bottom: 2px solid #fff;
}

.service_item_icon {
	width: 70px;
	height: 70px;
	background-position: center;
	background-size: 30px auto;
	background-repeat: no-repeat;
	background-color: var(--color2);
	border-radius: 50%;
	transition: 200ms;
}

.service_text {
	padding: 2rem;
}

.service_text > * {
	margin-bottom: 2rem;
}

.service_item:hover {
	color: #fff;
	background-color: var(--color4-3);
}
.service_item:hover .service_item_icon {
	transform: scale(1.2);
}








/* xxl */
@media screen {

}

@media screen and (max-width: 1800px) {
	
}

/* xl */
@media screen and (max-width: 1400px) {
	
}

/* lg */
@media screen and (max-width: 1200px) {
	.news_img_block a {
		width: calc(( 100% - 4rem ) / 5);
	}
}

/* md */
@media screen and (max-width: 992px) {
	.main1_bg {
		background-position: center right;
	}

	.navbar-logo {
		top: -40px;
	}

	.navbar-menu.desktop {
		display: none;
	}

	.navbar_toggle {
		display: flex;
	}
	
	.news_img_block a {
		width: calc(( 100% - 3rem ) / 4);
	}

}

/* sm */
@media screen and (max-width: 768px) {
	.news_img_block a {
		width: calc(( 100% - 2rem ) / 3);
	}
}

/* xs */
@media screen and (max-width: 576px) {

}

