@charset "utf-8";
@import url('/style/fonts.css');
@import url('/style/reset.css');

:root {
    --base-font-size: 20px;
}

body {
    color: #520501;
    font-size: var(--base-font-size);
    font-family: Times New Roman, Verdana, Helvetica, sans-serif;
    width: 100%;
    height: 100vh;
    line-height: 1;
}

#bg {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: -1;
}

#wraper {
    display: grid;
    grid-template-columns: min-content auto 20%;
    grid-template-rows: auto auto auto auto;
    background-color: rgba(205, 255, 51, 0.9);
    border-top: 0.06em solid #2065ad;
    border-left: 0.06em solid #2065ad;
    width: 80%;
    margin: 0 auto;
    /*position: relative;*/
    box-sizing: content-box;
}

header {
    grid-column: 1/4;
    text-align: center;
    vertical-align: middle;
    background-color: rgba(32, 101, 173, 0.9);
}

header p {
    margin-top: 0.94em;
    margin-bottom: 0.94em;
}

nav {
    grid-column: 1/2;
    grid-row: 2/3;
    text-align: left;
    vertical-align: top;
    width: min-content;
}

#hidden_menu {
    cursor: pointer;
    width: 100%;
    display: none;
}

#hidden_menu:before {
     display: inline-block;
     height: 100%;
     vertical-align: middle;
     content: "";
}

#hidden_menu img {
    /*width: 30%;*/
}

#hidden_menu img,
#hidden_menu span {
    display: inline-block;
    vertical-align: middle;
}

main {
    grid-column: 2/3;
    grid-row: 2/3;
    padding: 5px;
    /*color: #006600;*/
    min-width: 0;
}

aside {
    grid-column: 3/4;
    grid-row: 2/3;
    text-align: center;
    vertical-align: top;
}

#info_links {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    gap: 3px;
}

#info_links .info_link_item:nth-child(odd) {
    background-color: rgba(170, 170, 170, 0.4);
}

#info_links .info_link_item:nth-child(even) {
    background-color: rgba(190, 190, 190, 0.4);
}

footer {
    grid-column: 1/4;
}

header, nav, main, aside, footer {
    border-right: 0.06em solid #2065ad;
    border-bottom: 0.06em solid #2065ad;
}

#fade {
    display: none;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*opacity: .80;*/
    z-index: 5;
}

a[data-img]{
    display: inline-block;
    width: 28%;
    aspect-ratio: 1/1
}
a[data-img] img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main p {
    text-indent: 2em;
}

h1 {
    font-size: 2em;
    margin-bottom: 1em;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    margin-top: 1em;
}

h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    margin-top: 1em;
}

hr {
    color: #2065ad;
    width: 70%;
    border: none;
    border-top: 1px solid;
}

.table_container {
    overflow-x: scroll;
}

.style3 {
    background-color: #66CCFF;
}
.red_line{
    text-indent: 2em;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    border: none;
    margin-top: 0.13em;
}

.vert_menu {
    font-weight: bold;
    font-family: Verdana, Helvetica, sans-serif;
    text-decoration: none;
    /*font-size: 0.75em;*/
    width: min-content;
}

.vert_menu li.strelka:hover > div {
    font-style: italic;
}

.vert_menu li {
    position: relative;
    color: #636;
    cursor: pointer;
    height: auto;
    text-decoration: none;
    display: block;
    background-color: #28ab05;
    border-radius: 0.31em;
    margin-bottom: 1px;
    transition-property: background-color, color;
    transition-duration: 0.5s;
}

.vert_menu li:hover {
    color: #FFF;
    background-color: #d00000;
}

.vert_menu a {
    display: block;
    padding: 0.19em 0.88em 0.19em 0.56em;
}

.vert_menu a:hover, #vert_menu div:hover {
    color: inherit;
    /* font-style: italic;*/
    position: static;
}

.vert_menu a:link, #vert_menu a:visited, #vert_menu div {
    color: inherit;
    text-decoration: none;
}

.vert_menu .strelka {
}

.strelka > ul {
    /*font-size: 0.81em;*/
    left: 100%;
    padding-left: 0.19em;
    position: absolute;
    top: 0;
    width: 18.75em;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s, opacity 0.5s;
}

.strelka:hover > ul {
    opacity: 1;
    visibility: visible;
    transition: visibility 0.5s, opacity 0.5s;
    z-index: 1;
}

.vert_menu li.strelka:hover > div {
}

.vert_menu li.strelka > div {
    padding: 0.31em 1.5em 0.31em 0.5em;
}

.стиль5 {
    color: #ff6800;
    font-weight: bold;
    font-size: 2em;
}

.стиль11 {
    font-size: 1.13em; /*размер шрифта заголовка*/
}

.стиль6 {
    color: #00CC66;
    font-weight: bold;
    font-size: 1.13em;
}

.стиль8 {
    /*font-size: medium;*/
    margin-left: 0.63em;
    margin-right: 0.63em;
}

.стиль9 {
    text-indent: 1.25em;
    margin-bottom: 0;
    margin-top: 0;
}

.стиль10 {
    text-indent: 0.63em;
    margin-bottom: 0;
    margin-top: 0;
    margin-left: 3.44em;
    margin-right: inherit;
    list-style-type: none;
}

.red {
    color: red;
}

.blue {
    color: darkblue;
}

.violet {
    color: #8630A0;
}

.orange {
    color: coral;
}

.obvod {
    text-shadow: 0.06em 0 0.06em darkred,
    0 0.06em 0.06em darkred,
    -0.06em 0 0.06em darkred,
    0 -0.06em 0.06em darkred;
}

.cursiv {
    font-style: italic;
}

.стиль12 {
    /*border-width: 2px;*/
    /*border-color: #0000FF;*/
    background-color: rgba(205, 255, 51, 0.8);
    margin: 0 auto;
    /*width: 80%;*/
}

a:hover {
    color: #F00;
    left: -0.13em;
    position: relative;
    top: -0.13em;
}

#chie7 {
    border: 0.06em solid #FF002F;
    margin-left: 50%;
    margin-right: 10%;
    margin-top: 0;
    position: static;
    color: #FF0000;
    /*font-size: 100%;*/
    background-color: #FFFFFF;
    padding: 0.31em;
}

.hidden_menu, .hidden_menu_2 {
    /*display: none;
    font-size: 13px;
    left: 100%;
    padding-left: 11px;
    position: absolute;
    top: 0;
    width: 300px;*/
}

.hidden_menu {
    width: 12.5em;
}

.vert_menu li:hover > ul {
    /*display: block;*/
}

#myytplayer {
    position: fixed;
    left: 10.63em;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
}

#right_block > table {
    border: 0;
    text-align: center;
}


#content_block {
    vertical-align: top;
    padding: 0 0.31em;
}

#content_block table {
    border-width: 0;
    border-spacing: 0;

}

#content_block_title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 10px;
}

.content_block_caption {
    font-size: 1.5em;
}

#css_sv {
    background-color: #fff;
    border: 0.06em solid #000;
    border-radius: 0.63em;
    float: right;
    width: 64%;
    /* height: 4.38em;*/
    margin-right: 10%;
    margin-top: 0;
    font-size: 1.13em;
    display: none;
}

#css_sv > table {
    width: 670px;
    height: 20px;
    text-align: center;
    margin-left: 0.94em;
}

#css_sv a, #css_sv a:hover, #css_sv a:link {
    color: #000;
    font-style: normal;
}

#css_sv > a, #css_sv > a:hover, #css_sv > a:link, #css_nor > a, #css_nor > a:hover, #css_nor > a:link {
    color: #000;
    font-style: normal;
    margin-left: 0.5em;
    /*font-size: 1.5em;*/
}

#css_nor {
    background-color: #fff;
    border: 0.06em solid #000;
    border-radius: 10px;
    float: right;
    width: 12.31em;
    height: 1.58em;
    margin-right: 10%;
    margin-top: 0;
    /*font-size: 1.13em;*/
    display: block;
}

.table_in_content td, .table_in_content th {
    border-width: 0.06em;
    border-style: solid;
    padding: 0 0.19em;
}

.table_in_content p {
    margin-top: 0.56em;
}

.spisok {
    list-style-type: square;
    list-style-position: inside;
    text-indent: 1.25em;
}

/*документы*/
.block_documents {
    padding: 0.94em 0.63em;
}

.block_documents div {
    margin-left: 0.63em;

}

.block_documents div a {
    display: block;
}

.block_documents .attr {
    font-size: 0.81em;
    text-align: right;
    display: block;
    color: gray;
}

.block_documents .hide {
    display: none !important;
}

div:nth-child(odd).block_documents,
div:nth-child(odd).block_faq {
    background-color: rgba(170, 170, 170, 0.4);

}

div:nth-child(even).block_documents,
div:nth-child(even).block_faq {
    background-color: rgba(190, 190, 190, 0.4);

}

/*конец документы*/
/*вопрос-ответ*/
.list_faqs .quest span,
.list_faqs .answer span {
    font-weight: bold;
    text-decoration: underline;
    font-style: normal;
}

.list_faqs .quest {
    font-weight: bold;
    padding-top: 2em;
}

.list_faqs .answer {
    font-style: italic;
    margin-top: 1em;
}
.block_faq{
    margin-bottom: 1em;
}

/*вопрос-ответ*/
/*версия для слабовидящих*/
#slideTopVerSv {
    position: fixed;
    z-index: 5;
    height: 0;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
    width: 80%;
    box-sizing: content-box;

}

#VerSvArea {
    z-index: 1;
    border-bottom: 5px solid #B7B7B7;
    overflow: hidden;
    background-color: #B7B7B7;
    /*height: 205px;*/
    width: 100%;

}

#slideTopVerSv input#submit_sv, #slideTopVerSv input#submit_sv_nor {
    /*float: right;
    clear: both;*/
    cursor: pointer;
    width: 125px;
    padding: 7px 7px;
    background-color: #972324;
    border: 0;
    color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

#slideTopVerSv input#submit_sv {

    width: 125px;

}

#slideTopVerSv input#submit_sv_nor {

    width: 125px;
    /*margin-top: 37px;*/
}

#slideTopVerSv input#submit_sv:hover, #slideTopVerSv input#submit_sv_nor:hover {
    font-style: italic;
}

#container1 {
    /* z-index: 1;*/
    /*width: 960px;
    margin: 0 auto;*/
    /*margin-left: 10px;*/
    text-align: right;
    /*position: relative;
    z-index: 5;*/
}

#mFormSV {
    padding: 8px;
    margin: 0 auto;
    border-color: #fff;
    border-radius: 15px;
    border-style: solid;
    border-width: 2px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas: "shrift color button_ac"
        "image line_h button_cl"
        "letter_sp letter_sp .";
    gap: 1em;
}

#sv_norm_link {
    margin-right: 198px;
    color: #fff;

}

a.ver_sv {
    background-color: #B7B7B7;
    border-radius: 0 0 10px 10px;
    color: #000;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 60px;
}

a.ver_sv,
a.ver_sv img {
    height: 50px;
}


/*конец версия для слабовидящих*/
@media all and (min-width: 1280px) {
}

@media all and (max-width: 1280px) {
}

@media all and (max-width: 1024px) {
}

@media all and (max-width: 768px) {
    body {
        width: 100%;
    }

    #wraper {
        width: 100%;
    }

    #slideTopVerSv {
        width: 100%;
    }
}

@media all and (max-width: 480px) {

    #wraper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        grid-template-areas: "header"
    "nav"
    "main"
    "aside"
    "footer";
    }

    header {
        grid-area: header
    }
    h1{
        font-size: 1.5em;
    }
    h2{
        font-size: 1.2em;
    }

    nav {
        grid-area: nav;
        width: 100%;
    }

    #hidden_menu {
        display: block;
    }


    #gamb {
        width: max-content;
        margin: 10px;
    }

    .fixed_menu {
        position: fixed;
        top: 0;
        z-index: 4;
        background-color: rgb(203 241 85);
    }


    nav #menu {
        display: none;
    }

    .strelka > ul {
        width: min-content;
    }

    #menu[class*="show"] {
        z-index: 1;
        position: absolute;
        display: block;
        /*height: 447px;*/
        overflow: scroll;
        width: 100%;
    }

    main {
        grid-area: main;
    }

    aside {
        grid-area: aside;

    }

    footer {
        grid-area: footer;
    }

    #info_links {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    #mFormSV {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(6, 1fr);
        grid-template-areas: "shrift shrift"
        "color color"
        "image image"
        "line_h line_h"
        "letter_sp letter_sp"
        "button_ac button_cl";
    }

    a.ver_sv,
    a.ver_sv img {
        height: 35px;
    }

    footer {
        grid-row: 5/6;
    }

    .стиль5 {
        font-size: 1.2em;
    }

    .стиль11 {
        font-size: 1em; /*размер шрифта заголовка*/
    }
}

@media all and (max-width: 320px) {
    h2 {
        font-size: 1.2em;

    }
}