/* CSS Document */
:root {
	--color1: rgba(163, 32, 32, 1);
	--color1-1: rgba(163, 32, 32, 0.1);
	--color1-2: rgba(163, 32, 32, 0.2);
	--color1-3: rgba(163, 32, 32, 0.3);
	--color1-5: rgba(163, 32, 32, 0.5);
	--color1-7: rgba(163, 32, 32, 0.7);

	--color2: rgba(120, 24, 24, 1);
	--color2-3: rgba(120, 24, 24, 0.3);
	--color2-5: rgba(120, 24, 24, 0.5);
	--color2-7: rgba(120, 24, 24, 0.7);

	--color3: rgba(80, 16, 16, 1); /* black */
	--color3-3: rgba(80, 16, 16, 0.3);
	
	--color4: rgba(200, 48, 48, 1); /* light */
	--color4-1: rgba(200, 48, 48, 0.1);
	
	--color-gray1: rgba(240, 235, 237, 1);
	--color-gray1-0: rgba(240, 235, 237, 0);
	--color-gray1-5: rgba(240, 235, 237, 0.5);
	--color-gray1-7: rgba(240, 235, 237, 0.7);
	
	--color-gray2: rgba(136, 136, 136, 1.0);
	--color-gray2-5: rgba(136,136,136,0.5);
}


::selection {
	color: #fff;
	background-color: var(--color1-5);
}

::-moz-selection {
	color: #fff;
	background-color: var(--color1-5);
}



/* анимации */

@keyframes fade_out {
	0% {
		opacity: 1;
		left: 0px;
	}
	99% {
		opacity: 0;
		left: 0px;
	}
	100% {
		opacity: 0;
		left: -999px;
	}
}




/* теги */


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: 1000;
	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.inline {
	height: 1em;
	vertical-align: middle;
}

img.inline2 {
	height: 2em;
	vertical-align: middle;
}



/* form */

input, select, textarea, button, a.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"], button, a.button {
	font-size: inherit;
	cursor: pointer;	
	color: #fff !important;
	text-align: center;
	border: 0px solid var(--color1);
	border-radius: 4px;
	background-color: var(--color1);
	padding: 0.5em 1em;
	transition: 200ms;
	display: inline-block;

}
input[type="submit"]:hover, button:hover, a.button:hover {
	color: #fff !important;
	background-color: var(--color1-7);
}

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;
}

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 a,
.white_text h1,
.white_text h2,
.white_text h3 {
	color: #fff;
}
.white_text a:hover {
	color: var(--color1);
}

.gray {
	opacity: 0.5;
}

.color1 {
	color: var(--color1);
}

.color2 {
	color: var(--color2);
}

.light {
}

.medium {
}

.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;
	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%;
}

.hamburger svg {
	width: 1.5rem;
	height: 1.5rem;
	fill: var(--color1);
}



/* 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.5em;
	right: 0.5em;
	cursor: pointer;
	opacity: 0.5;
	transition: 200ms;
}
.close_modal:hover {
	opacity: 1;
}
.close_modal svg {
	width: 1.5rem;
	height: 1.5rem;
	display: block;
	fill: var(--color1);
}


/* 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;
}





/* сайт */

.menu_top {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 1rem 0rem;
	background-color: var(--color3-3);
	color: #fff;
	z-index: 9998;
	box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.3);
	margin-bottom: 1rem;
}
.menu_top a.menu {
	display: block;
	color: #fff;
	padding: 0 0;
	/*border-bottom: 2px solid transparent;*/
}
.menu_top a.menu:hover {
	color: var(--color1);
	/*border-bottom: 2px solid var(--color1);*/
}
.menu_selected {
	color: var(--color1) !important;
	/*border-bottom-color: var(--color1) !important;*/
}



.menu_mobile {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
	padding: 0 var(--bs-gutter-x,.75rem);
	margin: 0;
	z-index: 100000;
	overflow-y: auto;
}

.menu_mobile li {
	display: block;
}

.menu_mobile a {
	display: block;
	padding: 1rem 0;
	color: #000;
}

.menu_mobile_links {
	position: absolute;
	top: 2em;
	right: 1em;
	width: auto;
}


.logo {
	display: block;
	height: 3rem;
	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;
	grid-gap: 1em;
}

.news_img_block img {
	max-height: 200px;
}



.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;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

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;
}

.tag {
	display: inline-block;
	background-color: var(--color-gray1);
	color: inherit;
	padding: 4px 6px;
	border-radius: 4px;
	line-height: 1;
}

.tag:hover {
	background-color: var(--color1-3);
	color: inherit;
}

.tag_selected {
	display: inline-block;
	background-color: var(--color1);
	color: #fff;
	padding: 4px 6px;
	border-radius: 4px;
	line-height: 1;
}

.tag_selected:hover {
	background-color: var(--color1-7);
	color: #fff;
}

input[type="range"] {
	accent-color: var(--color1);
}

.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 {

}

@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) {

}

/* sm */
@media screen and (max-width: 768px) {
}

/* xs */
@media screen and (max-width: 576px) {

}






