@font-face {
    font-family: 'Roboto';
    src: url(http://fonts.gstatic.com/s/roboto/v15/mErvLBYg_cXG3rLvUsKT_fesZW2xOQ-xsNqO47m55DA.woff2);
}
/*MARK: RESET */
* {
	box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}
a {
    text-decoration: none;
}
ul, ol { 
    list-style: none; 
}

/*MARK: TEMPLATE */
body {
    background: #f3f4f8;
    font-family: Tahoma;
}
h1{
    margin-top: 0.3em;
    margin-bottom: 0.4em;
}
h2,h3,h4,h5,h6{
    margin-top: 0.7em;
    margin-bottom: 0.8em;
}
h1{
	font-size: 3rem;
}
h2{
	color: #664C98;
	font-size: 2.5rem;
}
h3 {
	font-size: 1.5rem;
}
p {
    margin-bottom: 0.7em;
}
.main_background {
    background-color: #b0b0ff;
}
.wrapper {
	width: 80%;
	min-width: 400px;
	margin: 0px auto;
	font-size: 20px;

	min-height: 97vh;
	display: flex;
	flex-direction: column;
}
.header {
	height: 150px;
	padding: 20px;

    display: flex;
    flex-direction: row;
    background-image: linear-gradient(175deg, #b0b0ff, #1774ff);
}
.footer {
	height: 150px;
	padding: 20px;
	margin-top: auto;
}
.container {
	min-height: 61vh;
	display: flex;
}
.content {
	width: 80%;
	padding: 20px;
    overflow: hidden;
}
.sidebar {
	margin: 30px 0;
	padding: 30px 20px;
	width: 20%;
	min-width: 190px;
	border-radius: 30px;
}
.vertical{
    display: flex;
	flex-direction: column;
    width: 100%;
}
.clearfix {
	clear: both;
}

/*MARK: MENU*/
.menu ul {
	display: flex;
    list-style-type: none;
}
.menu li {
	margin-right: 5px;
	font: 15px Arial;
	color: #04073D;
}
.menu li:hover, .menu li.active {
	color: #04073D;
	background-color: #a0a0f0;
	background-color: #F5F6FA;
}
.menu li a {
	display: block;
	padding: 10px 10px;
    text-decoration: none;
}
.menu li a:hover {
	display: block;
	padding: 10px 10px;
    text-decoration: none;
	background-color: #a0a0f0;
	border-radius: 20px;
}

/*MARK: HEADER*/
.logo img{
    border-radius: 50px;
}
.title {
    margin-left: 80px;
    font-weight: bold;
    font-size: 2em;
    color: #563C88;
    max-width: 70%;
    float: left;
}
.login {
    margin-right: 80px;
    margin-top: 20px;
    max-width: 25%;
    float: right;
}
.header .menu ul {
	margin: 15px 40px;
    padding: 0 20px;
    /*background-color: #b0b0ff;*/
	border-radius: 20px;
}
/*.header .menu li {
    background-color: #b0b0ff;
}*/
.header .menu li a {
	padding: 15px 20px;
    color: white;
}
.header .menu li:hover, .menu li.active {
	color: #04073D;
	opacity:0.9;
	background-color: #a0a0f0;
	border-radius: 20px;
}
.header .menu li:hover a, .menu li.active a {
    color: white;
}

.header .menu ul > li > a{
	font-weight:700;
	opacity:0.9;
	text-transform:uppercase;
	font-family:'Helios Black',arial;font-size:1.1em
}

/*MARK: BANNER*/
.banner {
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    max-height: calc(100dvh - 150px);
}
.banner .banner_img {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.banner .banner_text {
    position: absolute;
    bottom: 5%;
    right: 8%;
    font-size: 25px;
    text-shadow: 2px 2px 1px #9090e0;
    opacity: 0.7;
    /*background-color: #c0c0ff;*/
    padding: 20px;
    border-radius: 30px;
}
.banner_text .losung {
    font-size: 35px;
}
.banner_text .otstup{
    margin-left: 100px;
}

/*MARK: CONTENT*/
.container .content {
	margin-right: 30px;
}
h1 {
    text-align: center;
}
.content h2,h3,h4,h5,h6{
	text-align: center;
}
.content .block{
    margin-bottom: 80px;
}
.container p {
    text-align: justify;
}
.container p.code{
    text-indent: 0px;
    background-color: #eeeeee;
    padding: 10px 20px;
}
.container .list {
	margin: 20px 0px;
	padding-left: 30px;
	list-style: disc;
}
.container td {
	width: 150px;
	height: 60px;
    text-align: right;
}
.block_flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 30px 2%;
}
.block_top_output {
	margin-top: 40px;
    border-radius: 30px;
}
.block_flex .element {
	width: 31%;
	min-width: 210px;
	border-radius: 20px;
	box-shadow: 7px 7px 9px 5px #efbf90, -3px -3px 2px 1px #efbf90;
}
.content .element {
	position: relative;
	padding-bottom: 70px;
}
.content .element .name {
	margin: 10px 20px;
}
.content .element .description {
	margin: 5px 20px;
}
.content .element .card_img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
	margin: 0 auto;
}
.element .card_img img {
	width: 100%;
}
.content .element .btn_wrap_bottom {
	position: absolute;
	bottom: 20px;
	width: 100%;
}
.content .element .btn_center {
	width: 65%;
	margin: 0 auto;
}
.content .element .btn_loc {
	display: block;
	padding: 10px;
	background-color: #efbf90;
	width: 100%;
	text-align: center;
}
.content .filling-empty-space-childs {
    width: 31%;
	min-width: 240px;
    height: 0;
}
.img_wrap {
    width: 100%;
    overflow: auto;
}

/*MARK: FORM*/
.block_flex .full_row {
	width: 100%
}
.block_flex form {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: stretch;
	gap: 0%;
}
.block_flex form .row {
	margin: 10px 0px;
	width: 40%;
}
.block_flex form input, .block_flex form select {
	cursor: pointer;
	width: 100%;
	border: #efbf90 3px solid;
	border-radius: 10px;
	padding: 10px 30px;
	font-size: 1rem;
}

form .button:hover {
    background-color: #fff0d0;
}

/*MARK: SLIDER*/
.slider {
	margin: 0px auto 80px;
    width: 100%;
    aspect-ratio: 16/9;
	position: relative;
    border-radius: 40px;
    overflow: hidden;
}

.screen {
	background-color: #777;
    width: inherit;
	aspect-ratio: 16/9;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 20px rgba(0, 0, 0, .5);
}

.slider > input {
	display: none;
}

.slides {
    width: inherit;
	aspect-ratio: 16/9;
	position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
}

/*навигация по слайдам*/
.slider .controls {
	left: 50%;
	margin-left: -98px;
	position: absolute;
    bottom: 10px;
    z-index: 2;
}

.slider label {
	cursor: pointer;
	display: inline-block;
	height: 8px;
	margin: 25px 12px 0 16px;
	position: relative;
	width: 8px;
	border-radius: 50%;
}

.slider label:after {
	border: 3px solid #b0b0ff;
	content: " ";
	display: block;
	height: 12px;
	left: -4px;
	position: absolute;
	top: -4px;
	width: 12px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}

/*Учим кнопки нажиматься*/
.slider label {
	cursor: pointer;
	display: inline-block;
	height: 8px;
	margin: 25px 12px 0 16px;
	position: relative;
	width: 8px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	transition: background ease-in-out .5s;
}

.slider label:hover, 
#slide1:checked ~ .controls label:nth-of-type(1),
#slide2:checked ~ .controls label:nth-of-type(2),
#slide3:checked ~ .controls label:nth-of-type(3),
#slide4:checked ~ .controls label:nth-of-type(4),
#slide5:checked ~ .controls label:nth-of-type(5) {
	background: #ddd;
}

/*Оживляем слайдер*/
.slides {
	height: inherit;
	opacity: 0;
	position: absolute;
	width: inherit;
	z-index: 0;
	transform: scale(1.5);
	transition: transform ease-in-out .5s, opacity ease-in-out .5s;
}

#slide1:checked ~ .screen > .slide1,
#slide2:checked ~ .screen > .slide2,
#slide3:checked ~ .screen > .slide3,
#slide4:checked ~ .screen > .slide4,
#slide5:checked ~ .screen > .slide5,
.screen > .slides.active
 {
	opacity: 1;
	z-index: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

/* Слайдер на дивах и с кнопками*/
/*.slider {
	width: 100%;
    aspect-ratio: 16/9;
	position: relative;
    margin-bottom: 80px;
    border-radius: 30px;
}
.slider .screen {
	position: absolute;
	right:  0px;
	left:   0px;
	aspect-ratio: 16/9;
	border: #dfaf70 3px solid;
    border-radius: 30px;

    background-color: #ddd;
    width: inherit;
	height: inherit;
	overflow: hidden;
	
	box-shadow: 0 0 20px rgba(0, 0, 0, .5);
}
.slide {
	aspect-ratio: 16/9;
	position: absolute;
	width: inherit;
}
.slide_img{
    aspect-ratio: 16/9;
	width: inherit;
    background-repeat: no-repeat;
    background-position: center center;
}
.slides {
	height: inherit;
	opacity: 0;
	position: absolute;
	width: inherit;
	z-index: 0;
	transform: scale(1.5);
	transition: transform ease-in-out .5s, opacity ease-in-out .5s;
}

#slide1:checked ~ .screen > .slide1,
#slide2:checked ~ .screen > .slide2,
#slide3:checked ~ .screen > .slide3,
#slide4:checked ~ .screen > .slide4,
#slide5:checked ~ .screen > .slide5 {
	opacity: 1;
	z-index: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
.slider .arrow {
	position: absolute;
	width: 30%;
    height: 100%;
	border: #664C98 1px dotted;
    border-radius: 30px;
}
.slider .left {
	left: 0px;
}
.slider .right {
	right: 0px;
}
.slider .pager {
	position: absolute;
    right:  0px;
	left:   0px;
	bottom: 20px;
    text-align: center;
}
.slider .dot_block {
    margin: auto;
}
.slider .page {
	font-size: 0px;
	width: 10px;
	height: 10px;
	margin-left: 5px;
    margin-right: 5px;
	border: #9090e0 5px solid;
	border-radius: 10px;
}

.slider .page.active {
	border: #664C98 5px solid;
}*/

/*MARK: SHADOW_BLOCK
/* Стили модального окна и содержания */
 
/* слой затемнения */
 
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 10;
}
/* активируем модальное окно */
 
.dm-overlay:target {
    display: block;
    animation: fade .6s;
}
/* блочная таблица */
 
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
/* ячейка блочной таблицы */
 
.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
/* модальный блок */
 
.dm-modal {
    display: inline-block;
    padding: 20px;
    max-width: 50em;
    background: #607d8b;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    color: #cfd8dc;
    text-align: left;
}
/* изображения в модальном окне */
 
.dm-modal img {
    width: 100%;
    height: auto;
}
/* миниатюры изображений */
 
.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}
/* миниатюра справа */
 
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* миниатюра слева */
 
.pl-left {
    float: left;
    margin: 5px 15px 5px 0;
}

/* рисуем кнопарь закрытия */
 
.close {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: #cfd8dc;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
    border: 2px solid #cfd8dc;
    border-radius: 50%;
    content: 'X';
    transition: all 0.6s;
    transform: scale(0.85);
}
/* кнопка закрытия при наведении */
 
.close:hover:after {
    border-color: #fff;
    color: #fff;
    transform: scale(1);
}
/* варианты фонвой заливки модального блока */
 
.green {
    background: #388e3c!important;
}
.cyan {
    background: #0097a7!important;
}
.teal {
    background: #00796b!important;
}
/* движуха при появлении блоков с содержанием */
 
@-moz-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}


/*MARK: SIDEBAR*/
.sidebar .menu ul {
    flex-direction: column;
}
.sidebar .menu li {
    border: 1px solid #1437AD;
	background-color: #9090e0;
	color: #04073D;
}


/*MARK: ADAPTIVE*/
@media screen and (max-width: 1500px) {
    .wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    
}
