:root {
	--background-colour: #5e3a3e;
	--background-colour-hover: #5e3a3e99;
	--front-colour: #7e2325;
	--acent-colour:#4e6d98;
	--active-colour:#FF9FAC;
	--thread-colour:#96989a;
	--base-colour:#F03E47;
	--white:#FFFFFF;
	--select-color: #7f808030;
	--placeholder-color: #4c4c4c;
}
html{
	min-height: 100%;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-direction: column;
	    -webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	    -webkit-flex-direction: column;
	        flex-direction: column;
}
body {
font-size: 100%;
min-height: 100%;
font-family: 'Arial','Roboto', 'PT Sans', sans-serif;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        flex-direction: column;
-ms-flex: auto;
    -webkit-box-flex: 1;
    -webkit-flex: auto;
        flex: auto;
	margin: 0;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color:    var(--placeholder-color);
	opacity:  1;
	font-size: 0.9em;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color:    var(--placeholder-color);
	opacity:  1;
	font-size: 0.9em;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color:    var(--placeholder-color);
	opacity:  1;
	font-size: 0.9em;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color:    var(--placeholder-color);
	opacity:  1;
	font-size: 0.9em;
}
::-ms-input-placeholder { /* Microsoft Edge */
	color:    var(--placeholder-color);
	opacity:  1;
	font-size: 0.9em;
}

::placeholder { /* Most modern browsers support this now. */
	color:    var(--placeholder-color);
	opacity:  1;
	font-size: 0.9em;
}
input:disabled {
	background-color: lightgray;
}
main{
	width: 100%;
	margin: auto;
	-ms-flex: 1 0 auto;
	    -webkit-box-flex: 1;
	    -webkit-flex: 1 0 auto;
	        flex: 1 0 auto;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
footer{
	width: 100%;
	min-height: 2em;
	-ms-flex:none;
	    -webkit-box-flex:0;
	    -webkit-flex:none;
	        flex:none;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	overflow: hidden;
	color: #000;
}
strong{
	font-weight: bold;
}
i{
	font-style: italic;
}
u{
	text-decoration: underline;
}
.header{
	position: relative;
	z-index: 1;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	        background-size: cover;
	width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.width-wrapper{
	display: block;
	margin: 0 auto;
	/*max-width: 1920px;*/
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	position: relative;
}
.header-wrapper-nav{
	display: block;
	margin: 0;
	/*max-width: 1920px;*/
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	position: relative;
	display: flex;
	z-index: 5;
	height: 30px;
	width: 100%;
	position: absolute;
	left: -50px;
}
.nav-header-main{
	display: flex;
	width: 100%;
	position: absolute;
	justify-content: right;
}
.nav-header-main ul{
	display: flex;
	color: #ffffff;
	height: 30px;
	font-size: 18px;
}
.nav-header-main li{
/*height: 30px;*/
}
.nav-header-main li a{
	padding: 0 10px 10px 0;
	width: 100%;
	cursor: pointer;
}
.nav-header-main a {
	padding: 15px 0 11px;
	color: #fff;
	text-decoration: none;
	outline: 0;
	border-bottom: 4px solid transparent;
	-webkit-transition: color .3s ease 0s, border .3s ease 0s;
	-o-transition: color .3s ease 0s, border .3s ease 0s;
	transition: color .3s ease 0s, border .3s ease 0s;
	text-align: left;
	position: relative;
}

.nav-header-main a:hover {
	color: var(--background-colour);
	z-index: 5;
}
.nav-header-main .sub-menu {
	width: 100%;
	z-index: 300;
	height: 0;
	top: 100%;
	left: 50px;
	overflow: hidden;
	background-color: rgba(241, 241, 241, 0.7);
	backdrop-filter: blur(5px);
	color: #000;
	box-sizing: border-box;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-transition: height 0s ease 0s;
	-o-transition: height 0s ease 0s;
	transition: height 0s ease 0s;
	position: absolute;
}
.sub-menu>li {
	display: block;
	text-align: left;
	padding: 30px 10px 25px;
	-ms-flex: 1 1 20px;
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 20px;
	flex: 1 1 20px;
	color: #000;
}
.sub-menu>li a {
	color: #000;
	height: 50px;
}
.sub-menu li a {
	display: block;
}
.menu-li:hover .sub-menu {
	border-top: 2px solid var(--background-colour);
	height: 600px;
	overflow: auto;
}

.sub-sub-menu {
	border-top: 1px solid #a2a2a2;
	padding-top: 14px;
	display: flex;
	flex-direction: column;
	margin-top: 10px;
}

.sub-sub-menu li {
	display: block;
	float: left;
	clear: both;
	line-height: 20px;
	padding: 0;
}
.sub-sub-menu li a {
	text-align: left;
	color: #000;
	padding: 5px;
	line-height: 18px;
	height: 100%;
}

.sub-sub-menu li a:hover {
	color: #fff;
	background-color: var(--background-colour);
}

.menu-hiden,
.mobile-menu {
	display: none;
}
.mobile-menu {
	width: 21px;
	height: 20px;
	cursor: pointer;
	position: absolute;
	padding: 10px;
	top: 2px;
	right: 30px;
	z-index: 5;
	line-height: 20px;
}

.mobile-menu-span {
	display: block;
	position: relative;
	width: 21px;
	height: 2px;
	margin: 9px 0;
	background-color: #fff;
	-webkit-transition: height .8s ease 0s;
	-o-transition: height .8s ease 0s;
	transition: height .8s ease 0s;
}

.mobile-menu-span::after,
.mobile-menu-span::before {
	position: absolute;
	display: block;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
	content: "";
	-webkit-transition: all .3s ease 0s;
	-o-transition: all .3s ease 0s;
	transition: all .3s ease 0s;
}

.mobile-menu-span::before {
	top: -5px;
}

.mobile-menu-span::after {
	bottom: -5px;
}

@media (max-width:980px) {
	.mobile-menu {
		display: block;
	}
	.nav-header-main{
		display: none;
		top:-20px;
	}
	#open:checked~.mobile-menu .mobile-menu-span {
		height: 0;
		-webkit-transition: height 0s linear 0s;
		-o-transition: height 0s linear 0s;
		transition: height 0s linear 0s;
		background-color: #000;
	}

	#open:checked~.mobile-menu .mobile-menu-span::before {
		top: -6px;
		-webkit-transform: translate(0, 10px) rotate(45deg);
		-ms-transform: translate(0, 10px) rotate(45deg);
		transform: translate(0, 10px) rotate(45deg);
		background-color: #000;
	}

	#open:checked~.mobile-menu .mobile-menu-span::after {
		bottom: -6px;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
		background-color: #000;
	}

	.mobile-menu-span::after,
	.mobile-menu-span::before {
		position: absolute;
		display: block;
		left: 0;
		width: 100%;
		height: 2px;
		background-color: #fff;
		content: "";
	}

	#open:checked~ .nav-header-main {
		display: block;
		background-color: rgba(241, 241, 241, 0.7);
		backdrop-filter: blur(5px);
	}


	#open:checked~.mobile-menu .mobile-menu-span {
		height: 0;
		-webkit-transition: height 0s linear 0s;
		-o-transition: height 0s linear 0s;
		transition: height 0s linear 0s;
	}

	#open:checked~.mobile-menu .mobile-menu-span::before {
		top: -6px;
		-webkit-transform: translate(0, 10px) rotate(45deg);
		-ms-transform: translate(0, 10px) rotate(45deg);
		transform: translate(0, 10px) rotate(45deg);
	}

	#open:checked~.mobile-menu .mobile-menu-span::after {
		bottom: -6px;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	.header-wrapper-nav{
		left: 0;
	}
	.nav-header-main ul{
		display: flex;
		flex-direction: column;
		background-color: rgba(241, 241, 241, 0);
		color: #000;
		height:auto;
		padding-left: 25px;
	}
	.nav-header-main li a{
		background-color: rgba(241, 241, 241, 0);
		color: #000;
		padding: 10px;
		line-height: 40px;
	}
	.nav-header-main li {
		height: auto;
		padding: 0;
		position: relative;
	}
	.nav-header-main .menu-li .sub-menu {
		border-top: none;
		height: auto;
		overflow: auto;
		position:relative;
		left: 0;
		padding-left:25px;
		background-color: rgba(241, 241, 241, 0);
	}

	.sub-menu > li {
		display: block;
		text-align: left;
		padding: 0;
		color: #000;
	}

	.sub-sub-menu {
		border-top: none;
		padding-top: 0;
		padding-left: 15px;
		display: flex;
		flex-direction: column;
		margin-top: 0;
	}

	.sub-sub-menu li {
		display: block;
		float: left;
		clear: both;
		line-height: 40px;
		padding: 0;
	}

	.sub-sub-menu li a {
		text-align: left;
		color: #000;
		padding: 5px;
		line-height: 40px;
		height: 100%;
	}
}




.width-wrapper-kontent{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin: 0 auto;
	/*max-width: 1920px;*/
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	position: relative;
	width: 100%;
	padding:10px 40px 10px 40px;
}
.header-div{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	margin: 0 auto;
	/*max-width: 1920px;*/
	width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px 40px 10px 40px;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	z-index: 100;
	background: linear-gradient(180deg, rgba(156,156,156,0.9485994226792279) 0%, rgba(156,156,156,0.47240894648875176) 32%, rgba(156,156,156,0) 100%);
}
.logo-in-header{
	-webkit-box-flex: 0;
	-webkit-flex: 0 1 600px;
	    -ms-flex: 0 1 600px;
	        flex: 0 1 600px;
	text-decoration: none;
	padding: 0;
}
.logo-in-header a{
	position: relative;
	height: 79px;
	width: 79px;
	flex: 0 0 auto;
	z-index: 15;
}
.logo-in-header img{
	display: block;
	height: 79px;
	width: 79px;
}
.logo-in-header{
	display: flex;

	color: #ffffff;
}
.logo-text{
	display: block;
	height: 79px;
	float: right;
	line-height: 27px;
	font-size: 22px;
	padding-left: 10px;
}
.header-slider{
	width: 100%;
	position: relative;
	height: auto;
	background-color: #d2d3d5;
}
.header-place{
	width: 100%;
	display: block;
	height: 120px;
	background-color: var(--background-colour);
}
.slides{
	width: 100%;
	display: flex;
	overflow: hidden;
}
.slides .slide{
	width: 100%;
}
.slides:nth-child(0){

}
.slides:nth-child(1){
transform: translate(100%);
}
.slide img{
	width: 100%;
}
.slider-text{
	position: absolute;
	bottom: 0;
	left: 0;
	margin-bottom: 5%;
	margin-left: 40px;
	color: #fffbd6;
	font-size: 2em;
	font-weight: 700;
	max-width: 500px;
}
.text_left_top{
	top: 120px;
	left: 0;
	margin-bottom: 5%;
	margin-left: 40px;
}
.text_center_top{
	top: 120px;
	left: 50%;
	margin: 0 auto;
	margin-top: 5%;
	transform: translateX(-50%);
}
.text_right_top{
	top: 120px;
	left: auto;
	right: 0;
	margin-right: 40px;
}
.text_left_center{
	bottom: 50%;
	left: 0;
	margin-bottom: 0;
	margin-left: 40px;
}
.text_center_center{
	top: 50%;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
}
.text_right_center{
	left: auto;
	right: 0;
	top: 50%;
	margin-right: 40px;
}
.text_left_bottom{
	bottom: 0;
	left: 0;
	margin-bottom: 5%;
	margin-left: 40px;
}
.text_center_bottom{
	bottom: 0;
	left: 50%;
	margin: 0 auto;
	margin-bottom: 5%;
	transform: translateX(-50%);
}
.text_right_bottom{
	left: auto;
	right: 0;
	margin-right: 40px;
	bottom: 0;
}
.slider-label-wrapper{
	position: absolute;
	bottom: 0;
	left: 50%;
	padding: 0px 0 20px 0;
}
.slider-label{
	display: flex;
}
.slider-label label{
	display: block;
	width: 15px;
	height: 15px;
	border-radius: 7px;
	background-color: #ffffff;
	margin: 0 10px;
	position: relative;
	cursor: pointer;
	transition: all 0.5s ease 0s;
}
.slider-label label:before{
	width: 20px;
	height: 20px;
	position: absolute;
	top: -5px;
	left: -5px;
	content: "";
}
#check-slider-1:checked ~ .slider-label-wrapper .slider-label #radiobutton-1{
	background-color: #0a3470;
}
#check-slider-2:checked ~ .slider-label-wrapper .slider-label #radiobutton-2{
	background-color: #0a3470;
}
#check-slider-3:checked ~ .slider-label-wrapper .slider-label #radiobutton-3{
	background-color: #0a3470;
}
#check-slider-4:checked ~ .slider-label-wrapper .slider-label #radiobutton-4{
	background-color: #0a3470;
}


.menu-hiden{
	display: none;
}
.width-wrapper-nav{
	background-color: #d2d3d5;
	width: 100%;
}
.nav-under-header{
	color: #606062;
	font-size: 1.5em;
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.text-nav{
}
.nav-panel-search{
	display: flex;
	justify-content: flex-end;
	height: 36px;
	line-height: 36px;
}
.nav-panel-search input{
	background-color: #ffffff;
	border-radius: 10px;
	font-size: 1rem;
	margin: 0 10px;
}
.nav-enter{
	background-color: #ffffff;
	border-radius: 10px;
	font-size: 1rem;
	padding: 0 10px;
	margin: 0 10px;
}

.search_key{
	font-weight: bold;
	color: #000000;
}
.search_full{
	width: 100%;
}
.search_full_form{
	padding: 30px 0;
	font-size: 20px;
}
.search_full_form > div{
	padding: 10px 0;
}
.search_full_form input{
	padding: 10px;
	border: #7C7C7C 1px solid;
	border-radius: 5px;
}
.search_full_form label{
	width: 300px;
	display: inline-block;
}
#search_box~ .search_full{
	height: 0;
	overflow: hidden;
}
#search_box:checked~ .search_full{
	height: auto/* 400px*/;
}
.search_show{
	border: none;
	text-align: center;
	box-shadow:
			inset 0 -3em 3em rgba(0,0,0,0.1),
			0 0  0 0px rgb(255,255,255),
			0.3em 0.3em 1em rgba(0,0,0,0.3);
	width: 200px;
	margin-top: 10px;
	margin-bottom:10px;
	cursor: pointer;
	background-color: var(--background-colour);
	color: #FFFFFF;
	display:block;
}
.search_show:hover{
	background-color: var(--background-colour-hover);
}
.hidden{
	display: none;
}
.custom-checkbox {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.custom-checkbox+label {
	display: inline-flex;
	align-items: center;
	user-select: none;
}
.custom-checkbox+label::before {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	flex-grow: 0;
	border: 1px solid #adb5bd;
	border-radius: 0.25em;
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50% 50%;
}
.custom-checkbox:checked+label::before {
	border-color: var(--background-colour);
	background-color: var(--background-colour);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
	border-color: var(--active-colour);
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
	background-color: var(--active-colour);
	border-color: var(--active-colour);
}
/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
	box-shadow: 0 0 0 0.2rem rgba(94, 58, 62, 0.25);
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
	border-color: var(--active-colour);
}
/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
	background-color: #e9ecef;
}
.main-content{
	display: flex;
	padding: 10px 40px;
}
.asside-nav,.asside-nav-category{
flex: 0 0 320px;
padding-right: 40px;
}
.asside-nav ul,.asside-nav-category ul{
	line-height: 36px;
}
.asside-nav ul li,.asside-nav-category ul li{
width: 100%;
	padding: 2px 0;
}
.asside-nav ul li:nth-child(1) a {
	padding-left: 10px;
}

.asside-nav-category ul li:nth-child(2) a {
	padding-left: 20px;
}
.asside-nav-category ul li:nth-child(3) a {
	padding-left: 30px;
}
.asside-nav-category ul li:nth-child(4) a {
	padding-left: 40px;
}
.asside-nav ul li a,.asside-nav-category ul li a{
	color: #ffffff;
	padding: 3px 10px 3px 10px;
	background-color:var(--thread-colour);
	width: 100%;
	cursor: pointer;
	display: block;
	font-size: 1.1em;
}
.main-article{
	line-height: 24px;
	max-width: 1024px;
	margin:0 auto;
	text-align: justify;
	width: 100%;
}
.main-content.back_colour_gray{
	background-color: #d2d3d5;
}
.main-article.laboratory_work{
background-color: #ffffff;
	padding: 10px 40px;
}
.main-article h1,.main-article h2,.main-article h3{
	color:var(--thread-colour);
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	padding: 0.5em 0;
	border-bottom: var(--acent-colour) solid 1px;
	line-height: 1.1em;
	margin-bottom: 0.5em;
}
.main-article h2{
	font-size: 1.5em;
}
.main-article h3{
	font-size: 1em;
	text-align: left;
	border-bottom: none;
}
.main-article.laboratory_work h1{
	color: var(--front-colour);
	text-align: left;
}
.main-article.laboratory_work h2{
	color: var(--front-colour);
	text-align: left;
	border-bottom: none;
	border-top: var(--acent-colour) solid 1px;
	margin-top: 10px;
}
.main-article figcaption{
	color: var(--acent-colour);
}
.main-article .eqn-num{
	color: var(--front-colour);
}
.main-article ol{
	list-style-type: decimal;
	list-style-position: inside;
	padding: 5px 0;
	//border-left: solid 2px var(--background-colour);
}

.main-article ul{
	margin: 10px 0;
	list-style: disc inside none;
	padding: 5px 20px;
	border-left: solid 2px var(--background-colour);
}
.main-article ul li{
	padding: 0 10px;
}
.main-article ul li a{
	color:  var(--background-colour);
}
.main-article ol li::marker {
	color: var(--front-colour);
}
.main-article p{
	margin: 5px 0;
}
.main-article a{
	color: var(--background-colour);
	transition: all 0.5s ease 0s;
}
.main-article a:hover{
	color: var(--front-colour);
}
.main-article table {
	width: 100%;
	margin-bottom: 20px;
	border: 1px solid var(--thread-colour);
	border-collapse: collapse;
}
.main-article table th {
	font-weight: bold;
	padding: 5px;
	background: #efefef;
	border: 1px solid var(--thread-colour);
}
.main-article table td {
	border: 1px solid var(--thread-colour);
	padding: 5px;
}
.article-front-foto{
	display:inline-block;
}
.article-section,.article-event
{
	padding: 20px 0;
	border-bottom: var(--thread-colour) solid 1px;
	overflow: hidden;
}
.article-section h2,.article-event h2{
	font-size: 1.25em;
	font-weight: 700;
	color:var(--thread-colour);
	margin-bottom: 5px;
	border-bottom: none;
	text-align: left;
}
.article-event  p{
	margin: 5px 0;
}
.article-event  a{
	color: var(--background-colour);
	transition: all 0.5s ease 0s;
}
.article-event a:hover{
	color: var(--front-colour);
}
.archive-main{
	display: flex;
	flex-direction: column;
	width: 100%;
}
.archive-block{
	display: flex;
	flex: 1 2 auto;
}
.archive-block .archive-second{
	padding: 5px 0;
}
.archive-block .archive-first{
	font-weight: bold;
	width: 100%;
	max-width: 400px;
	margin-right: 10px;
	padding: 5px 0;
}
.event-data{
	display: flex;
	flex-direction: column;
}
.event-block{
	display: flex;
}
.event-data .event-first{
	font-weight: bold;
	width: 100%;
	max-width: 100px;
}
.article-front-left{
	width: 120px;
	margin-right: 20px;
	float: left;
	clear: left;
}
.news-published
{
	width: 70px;
	margin-right: 20px;
	/*float: left;*/
	/*clear: left;*/
	font-size: 0.75em;
	color:var(--thread-colour);
	margin-top: 5px;
}
.front-foto{
	display:flex;
	flex-direction: column;
	float:left;
	margin-right: 20px;
	max-width: 250px;
}
.front-foto-left{
}
.article-published{
	width: 100%;
	font-size: 0.75em;
	color:var(--thread-colour);
	margin-top: 5px;
}

.ref-partners{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 20px 0;
	background-color: var(--thread-colour);

}
.partners-footer{
	flex: 0 1 120px;
	padding: 10px;
}
.partners-footer img{
	height: 80px;
}
.partners-footer a{
	display: block;
	text-align: center;
}
.footer-statusbar{
	padding: 10px 40px;
	border-top:  var(--thread-colour) solid 1px;;
}

.lang-wrap-selector{
	color: #ffffff;
	font-weight: 700;
	z-index: 5;
	margin-right: 15px;
}
.lang-wrap-selector {
	appearance: none;
	@supports (appearance: base-select) {
		&,
		&::picker(select) {
			appearance: base-select;
		}
	}
}

.lang-wrap-selector {
	@supports (appearance: base-select) {
		padding-inline: 10px;
		background-image: none;
		&::picker(select) {
			padding: 0;
			margin-top: 5px;
			border: 2px solid var(--background-colour-hover);
			background: white;
			border-radius: 5px;
			font-weight: 400;
			opacity: 0;
			height: 0;
			overflow: clip;
			transition: height 0.5s ease-out, opacity 0.5s ease-out, overlay 0.5s,
			display 0.5s;

			transition-behavior: allow-discrete;
		}
		&:open::picker(select) {
			opacity: 1;
			height: calc-size(auto, size);
			overflow: auto;
			@starting-style {
				opacity: 0;
				height: 0;
			}
		}
		option {
			padding: 10px;
			border-top: 1px solid var(--background-colour-hover);
			cursor: pointer;
			transition-property: color, background;
			transition-duration: 0.2s;
			transition-timing-function: ease-out;
			&:where(:hover, :focus, :active) {
				background: var(--background-colour-hover);
				color: white;
			}
			&:checked {
				background: var(--background-colour-hover);
				color: white;
			}
			&::checkmark {
				display: none;
			}
			&:first-child {
				border: 0;
			}
		}
	}
}
.main-register{
	margin: 0 auto;
}
.main-register h1{
	color:var(--thread-colour);
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	padding: 10px 0;
	border-bottom: var(--thread-colour) solid 1px;
}
.register-space{
margin-top: 20px;
}
.form-register div{
	display: flex;
	flex-direction: column;
	margin: 5px 0;
}
.form-register label{
	padding: 5px;
}
.form-register input{
	padding: 10px;
	border: #7C7C7C 1px solid;
	border-radius: 5px;

}
.form-register input[type="color"]{
	height: 41px;
	width: 100px;
	padding:0;
}
.form-register label::after {
	content: attr(value);
	display: inline-block;
	margin-left: 10px;
}
.form-register select{
	padding: 10px;
	border: #7C7C7C 1px solid;
	border-radius: 5px;
}
.form-register textarea{
	padding: 10px;
	border: #7C7C7C 1px solid;
	border-radius: 5px;
 resize: both;
}

.form-register .submit-button{
	border: none;
	text-align: center;
	box-shadow:
	inset 0 -3em 3em rgba(0,0,0,0.1),
	0 0  0 0px rgb(255,255,255),
	0.3em 0.3em 1em rgba(0,0,0,0.3);
	width: 200px;
	margin-top: 10px;
	cursor: pointer;
}
.form-input .error-input{
	padding-left: 20px;
	color: #cc0000;
}
.error-mesage{
	color: #cc0000;
}
.file-label {
	display: block;
	margin-bottom: 15px;
	font-weight: 500;
}

.file-input {
	width: 100%;
	padding: 10px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: 20px;
}

#progress {
	margin: 20px 0;
	display: none;
}

.progress-bar {
	height: 6px;
	background: #f0f0f0;
	border-radius: 3px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: #2196f3;
	width: 0%;
	transition: width 0.3s ease;
}

.progress-stats {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 13px;
	color: #666;
}

.btn {
	width: 100%;
	padding: 12px;
	background: #2196f3;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn:hover:not(:disabled) {
	background: #1976d2;
}

.btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.message {
	margin-top: 15px;
	padding: 10px;
	border-radius: 4px;
	display: none;
}

.message.success {
	background: #e8f5e9;
	color: #2e7d32;
	display: block;
}

.message.error {
	background: #ffebee;
	color: #c62828;
	display: block;
}

.file-info {
	font-size: 14px;
	color: #666;
	margin: 10px 0;
	padding: 10px;
	background: #f5f5f5;
	border-radius: 4px;
}
.button-link{
	text-decoration: underline;
	color: #ffffff;
	padding: 5px;
	border-radius: 2px;
	background-color: var(--background-colour);
	cursor: pointer;
	line-height: 40px;
	display: inline-block;
}
.link-in-text{
	color:var(--background-colour);
	transition: all 0.5s ease 0s;
}
.link-in-text:hover{
	cursor: pointer;
	color:var(--background-colour-hover);
	text-decoration: underline;
}
.custom-checkbox {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.custom-checkbox+label {
	display: inline-flex;
	align-items: center;
	user-select: none;
}
.custom-checkbox+label::before {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	flex-grow: 0;
	border: 1px solid #adb5bd;
	border-radius: 0.25em;
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50% 50%;
}
.custom-checkbox:checked+label::before {
	border-color: var(--background-colour);
	background-color: var(--background-colour);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
	border-color: var(--active-colour);
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
	background-color: var(--active-colour);
	border-color: var(--active-colour);
}
/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
	box-shadow: 0 0 0 0.2rem rgba(94, 58, 62, 0.25);
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
	border-color: var(--active-colour);
}
/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
	background-color: #e9ecef;
}

.submit-button{
	padding: 10px;
	border: #7C7C7C 1px solid;
	border-radius: 5px;
}
.submit-button{
	background-color: var(--background-colour);
	color: #FFFFFF;
}
.submit-button:hover, .delete-button:hover,.cancel-button:hover{
	background-color: var(--background-colour-hover);
}
.submit-button:hover, .delete-button:disabled,.cancel-button:disabled{
	background-color: var(--thread-colour);
}
.submit-button:disabled{
	background-color: var(--placeholder-color);
}
.delete-button,.cancel-button{
	padding: 10px;
	border: #7C7C7C 1px solid;
	border-radius: 5px;
	border: none;
	text-align: center;
	box-shadow:
			inset 0 -3em 3em rgba(0,0,0,0.1),
			0 0  0 0px rgb(255,255,255),
			0.3em 0.3em 1em rgba(0,0,0,0.3);
	width: 200px;
	margin-top: 10px;
	cursor: pointer;
	background-color: var(--background-colour);
	color: #FFFFFF;
}
.cancel-button{
	background-color: var(--front-colour);
}



.regist_enter a{
	border: none;
	text-align: center;
	box-shadow:
			inset 0 -3em 3em rgba(0,0,0,0.1),
			0 0  0 0px rgb(255,255,255),
			0.3em 0.3em 1em rgba(0,0,0,0.3);
	width: 200px;
	margin-top: 10px;
	cursor: pointer;
	display: inline-block;
}
.user-fild-data{
	padding-left: 10px;
}
.field.hed{
	padding: 10px 0;
	color: var(--background-colour);
}
.cabinet{
	display: flex;
	width: 500px;
	flex-direction: column;
	padding: 10px 0;
	max-width: 500px;
}
.cabinet .field{
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
}
.field.image-avatar{
	position: relative;
}
.field.image-avatar img{
	width:100%;
	max-width:400px;
}
.upload-button:hover{
	background-color: var(--background-colour-hover);
}
.upload-button{
	padding: 10px;
	border: #7C7C7C 1px solid;
	border-radius: 5px;
	border: none;
	text-align: center;
	box-shadow:
			inset 0 -3em 3em rgba(0,0,0,0.1),
			0 0  0 0px rgb(255,255,255),
			0.3em 0.3em 1em rgba(0,0,0,0.3);
	width: 200px;
	margin-top: 10px;
	cursor: pointer;
	background-color: var(--background-colour);
	color: #FFFFFF;
}
.two-col{
	display: flex;
	width: 100%;
	flex-wrap: nowrap;
	justify-content: space-between;
}
#fileModalAdd {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 100; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100vh; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	margin: 0;
}

/* Modal Content/Box */
#fileModalAdd .modal-content{
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
#fileModalAdd .close,#fileModalAdd .close_inputs{
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

#fileModalAdd .close:hover,
#fileModalAdd .close:focus,#fileModalAdd .close_inputs, #fileModalAdd .close_inputs:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
@media (min-width:979px) {
	.cabinet:nth-child(2) {
		padding-left: 100px;
	}
}
@media (max-width:979px) {
	.cabinet{
		width: 100%;
		flex: 1 1 auto;
	}
	.two-col{
		flex-wrap: wrap;
	}
	.cabinet .field img{
		margin: 0 auto;
	}
	.logo-in-header{
		flex: 0 1 300px;
	}
	.logo-in-header a{
		 height: 50px;
		 width: 50px;
		z-index: auto;
	 }
	.logo-in-header img{
		height: 50px;
		width: 50px;
	}
	.logo-text{
		display: block;
		height: 50px;
		float: right;
		line-height: 17px;
		font-size: 16px;
		padding-left: 10px;
	}
}
.cramb{
	width: 100%;
	padding: 5px 0;
}
.cramb a{
	color: #AF7C82;
	padding: 0 5px;
	position: relative;
}
.cramb a:first-child{
	padding-left: 0;
}
.cramb a::before{
	position: absolute;
	top:0;
	left:-5px;
	content: "/";
}
.cramb a:first-child::before{
	position: absolute;
	top:0;
	left:-5px;
	content: "";
}
.pagination-wrapper{
	width: 100%;
	display: flex;
	justify-content: center;
}
.pagination li{
	display: inline-flex;
}
.pagination li a{
	padding: 10px;
	border-radius: 10px;
	transition: all 0.5s ease 0s;
}
.pagination li a:hover{
	background-color: #AF8A8E;
}
.pagination li .current-p{
	background-color: var(--background-colour);
	color: #ffffff;
}

.button-action:hover{
	background-color: var(--background-colour-hover);
}
.main-article .button-action{
	color: #FFFFFF;
}
.button-action{
	padding: 10px;
	border-radius: 5px;
	border: none;
	text-align: center;
	box-shadow:
			inset 0 -3em 3em rgba(0,0,0,0.1),
			0 0  0 0px rgb(255,255,255),
			0.3em 0.3em 1em rgba(0,0,0,0.3);
	width: 300px;
	margin-top: 10px;
	cursor: pointer;
	background-color: var(--background-colour);
	color: #FFFFFF;
	display: inline-block;
}
.list_of_articles_self{
	display: block;
}
.own_article{
	max-width: 900px;
}
.own_article h3{
	text-align: left;
}
.action_link_own_articles{
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}
.action_link_own_articles div{

}
@media (max-width:720px) {
	.front-foto {
		float: none;
		margin:0 auto;
	}
	.article-published{
		text-align: center;
	}
}
@media (max-width:980px) {
	.nav-under-header,.nav-panel-search{
		flex-direction: column;
	}
	.nav-under-header .nav-panel-search{
		height:auto;
	}
	.nav-under-header .nav-enter{
		margin: 5px 0;
	}
	.nav-panel-search input{
		height: 36px;
		margin:0;
	}
	.main-content{
		flex-wrap: wrap;
	}
	.archive-block{
		flex-wrap: wrap;
	}
	.main-register{
		width: 100%;
	}
}
b{
	font-weight: bold;
}

select[multiple~="multiple"] {
    background-color: --white;
    padding: 5px;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow-y: scroll;
    background-image: unset;
}

select {
    background-color: var(--select-color);
    padding: 5px;
    border-radius: 5px;
    -webkit-appearance: none;
  -moz-appearance: none;
    padding-right: 2em;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 50%;
}
.cookies-show{
	position: fixed;
	z-index: 10;
	bottom: 30px;
	right: 30px;
	padding: 30px;
	border-radius: 5px;
	background-color: #FFFFFF;
	max-width: 600px;
	width: 100%;
	line-height: 1.5;
	display: none;
	-webkit-box-shadow: 0px 5px 17px 4px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 0px 5px 17px 4px rgba(34, 60, 80, 0.2);
	box-shadow: 0px 5px 17px 4px rgba(34, 60, 80, 0.2);
}
.cookies-show p{
	margin-bottom: 10px;
}
.cookies-show a,.main-register .processing-personal-data{
	color: var(--background-colour);
	transition: all 0.5s ease 0s;
}
.cookies-show a:hover,.main-register .processing-personal-data:hover{
	color: var(--front-colour);
}
#captcha{
	min-width: 170px;
	min-height: 78px;
}
#TYPE_DATA1,#TYPE_DATA2,#TYPE_DATA3{
	display: none;
}
.update_cahtcha{
	cursor: pointer;
	width: 150px;
}
/* Стили для модального окна */
.modal {
	display: none;
	position: fixed;
	z-index: 1002;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	overflow-scrolling: touch;
}

.modal-content {
	background-color: white;
	margin: 10% auto;
	padding: 30px;
	border-radius: 8px;
	width: 100%;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	line-height: 24px;
	max-width: 1024px;
	text-align: justify;
	overflow-y: auto; /* Добавляет вертикальную прокрутку при необходимости */
	position: relative;
}
.modal-body {
	max-height: calc(70vh - 100px); /* Учитываем высоту кнопок */
	overflow-y: auto;
	padding: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
}
.modal-buttons {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.modal-content ol{
	list-style-type: decimal;
	list-style-position: inside;
	padding: 5px 0;
//border-left: solid 2px var(--background-colour);
}

.modal-content ul{
	margin: 10px 0;
	list-style: disc inside none;
	padding: 5px 20px;
	border-left: solid 2px var(--background-colour);
}
.modal-content ul li{
	padding: 0 10px;
}
.modal-content ul li a{
	color:  var(--background-colour);
}
.modal-content ol li::marker {
	color: var(--front-colour);
}
@media (max-width:720px) {
	.cookies-show{
		position: fixed;
		bottom: 0;
		right: 0;
	}
}
.vertical-spase40{
	margin-top: 40px;
}

