@font-face {
    font-family: "Roboto-Regular";
    src: url("https://fonts.edusite.ru/Roboto-Regular/Roboto-Regular.eot");
    src: url("https://fonts.edusite.ru/Roboto-Regular/Roboto-Regular.eot?#iefix") format("embedded-opentype"),
        url("https://fonts.edusite.ru/Roboto-Regular/Roboto-Regular.woff") format("woff"),
        url("https://fonts.edusite.ru/Roboto-Regular/Roboto-Regular.woff2") format("woff2"),
        url("https://fonts.edusite.ru/Roboto-Regular/Roboto-Regular.ttf") format("truetype");
}


@font-face {
    font-family: "Jura-DemiBold";
    src: url("https://fonts.edusite.ru/Jura-DemiBold/Jura-DemiBold.eot");
    src: url("https://fonts.edusite.ru/Jura-DemiBold/Jura-DemiBold.eot?#iefix") format("embedded-opentype"),
        url("https://fonts.edusite.ru/Jura-DemiBold/Jura-DemiBold.woff") format("woff"),
        url("https://fonts.edusite.ru/Jura-DemiBold/Jura-DemiBold.ttf") format("truetype"),
        url("https://fonts.edusite.ru/Jura-DemiBold/Jura-DemiBold.svg#svgFontName") format("svg");
}

* {
    box-sizing: border-box;
}

:root {
    --fontsize: 0.95rem;
    --maincolor: #38333e;
    --subcolor: #efefef;
    --navcolor: #686867d4;
    --redcolor: #da0b3f;
    --redcolor2: rgba(218, 11, 63, 0.7);
    --bgcolor: rgba(255, 255, 255, 0.8);
    --bgcolor2: rgba(56, 51, 62, 0.3);
}

/* 
шапка : 38333e
кнопка в шапке: e5e5e5
красный: da0b3f
серые кнопки: 424141
черные иконки: 232323
серые плашки под текст на внутр: 686867 ( но они с прозрачностью)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
nav,
big,
cite,
code,
del,
dfn,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: var(--fontsize, 0.95rem);
    font-weight: unset;
    vertical-align: baseline;
    font-family: "Roboto-Regular";
    color: var(--maincolor);
}

html {
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    background-image: url("img/bg.svg");
    background-attachment: fixed;
    max-width: 1300px;
    margin: auto;
    margin-top: 50px;
    overflow-x: hidden;
}

.fancybox-slide--iframe .fancybox-content {
    width: 100%;
    max-width: 770px;
    max-height: 300px;
    border: 1px solid #fff;
}

a {
    text-decoration: none;
    color: var(--redcolor);
}

a:hover {
    text-shadow: 1px 1px 2px #666;
}

header {
    height: 50px;
    background-color: var(--maincolor);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    padding: 0 calc(50% - 650px);
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 #666;
    max-width: 100vw;
    align-items: center;
    align-content: center;
}

header a:first-child {
    flex-grow: 1;
}

.logo {
    width: 240px;
    align-self: center;
    margin-left: 10px;
}

a.govk {
    background-color: var(--redcolor2);
    color: #fff;
    padding: 15px;
    align-self: center;
    text-decoration: none;
    text-align: center;
    margin: 0;
    font-weight: bold;
}

a.govk:hover {
    background-color: var(--redcolor);
}

a.soobsh {
    padding: 15px;
    color: #fff;
    font-weight: bold;
    background-image: url(img/soobsh.svg);
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: center left;
    padding-left: 45px;
    z-index: 10;
}

a.soobsh:hover {
    background-color: var(--navcolor);
}

section {
    min-height: calc(100vh - 85px - 50px) !important;
    width: 100%;
    padding: 0;
    padding-top: 30px;
    max-width: 100%;
    display: flex !important;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left top;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
}

section.index {
    background-image: url(img/bg_main.jpg);
}

section.p1 {
    background-image: url(img/p1.jpg);
}

section.p2 {
    background-image: url(img/p2.jpg);
}

section.p3 {
    background-image: url(img/p3.jpg);
}

section.p4 {
    background-image: url(img/p4.jpg);
}

section.p5 {
    background-image: url(img/p5.jpg);
}

section.p6 {
    background-image: url(img/p6.jpg);
}

section.p7 {
    background-image: url(img/p7.jpg);
}

section.p8 {
    background-image: url(img/p8.jpg);
}

section.p9 {
    background-image: url(img/p9.jpg);
}

section .header {
    background-color: rgba(254, 254, 254, 0.5);
    font-family: 'Jura-DemiBold';
    font-size: 1.2rem;
    padding: 20px;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header svg {
    max-width: 50px;
    min-width: 30px;
}

section .header div {
    flex-grow: 1;
}

section .header h1 {
    font-family: 'Jura-DemiBold';
    font-size: 2rem;
    padding: 0 10px;
    color: var(--maincolor);
    text-transform: uppercase;
    text-shadow: 1px 1px 1px var(--maincolor);
    margin: 0;
    flex-grow: 1;
}

section .header h2 {
    font-family: 'Jura-DemiBold';
    font-size: 1.2rem;
    padding: 0 10px;
    color: var(--maincolor);
    text-transform: uppercase;
    margin: 0;
}

section .intro {
    margin: auto;
    flex-wrap: wrap;
    flex-basis: 100%;
    padding-top: 0px;
    min-height: calc(100vh - 300px);
    display: flex;
    height: 100%;
    align-content: flex-start;
    align-items: stretch;
    flex-direction: row;
    justify-content: flex-start;
}

.role {
    display: flex;
    flex-basis: 180px;
    margin: 10px;
    vertical-align: bottom;
    cursor: pointer;
    justify-content: center;
    align-items: stretch;
    align-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 10;
}

.role:empty {
    cursor: unset;
}

.role>a {
    width: 170px;
    padding: 15px 10px;
    font-size: 0.75rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 5px;
    height: calc(100% - 65px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
}

.role a svg {
    width: 50px;
    margin-bottom: 10px;
}

.role a h1 {
    font-size: 0.75rem;
    color: #fff;
    flex-basis: 100%;
}

.role .btns a {
    display: none;
    opacity: 0;
    transition: all 2s ease-in-out;
}

.role:hover {
    color: var(--maincolor);
}

.role:hover a {
    color: var(--maincolor);
    background-color: var(--bgcolor);
    border-radius: 3px;
}

.role:hover h1 {
    color: var(--maincolor);
}

.role .btns {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    height: 55px;
    flex-basis: 100%;
}

.role:hover .btns a {
    display: block;
    opacity: 1;
    transition: all 2s ease-in-out;
    background-color: var(--redcolor);
    color: #fff;
    font-size: 0.7rem;
    border-radius: 100%;
    padding: 2px;
    margin: 2px;
    flex-basis: 55px;
    height: 55px;
    min-width: 55px;
    align-self: center;
    align-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

.role:hover .btns a:hover {
    box-shadow: 1px 1px 4px #666;
}

.role_video {
    display: flex;
    justify-content: center;
    width: 43% !important;

}

.role_video a {
    background-color: var(--redcolor2);
    border-radius: 5px;
}

.price {
    background-color: var(--redcolor2);
    display: flex;
    padding: 10px 10px 10px 40px;
    margin-left: -10px;
    color: #fff;
    align-items: baseline;
    position: relative;
    box-shadow: 1px 1px 3px #333;
}

.price:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    background-color: var(--redcolor2);
    top: -10px;
    z-index: -1;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    box-shadow: inset 0px 0px 5px #666;
}

.price h1 {
    color: #fff;
    font-size: calc(var(--fontsize) * 1.25);
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px #333;
    margin-right: 10px;
    padding-right: 10px;
    /*  border-right: 1px solid #fff;*/
}

.price h1 b {
    color: #fff;
    font-size: calc(var(--fontsize) * 2);
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px #333;
}

.price h2 {
    color: #fff;
    font-size: calc(var(--fontsize) * 0.9);
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px #333;
}

.price2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price2 h1 {
    color: var(--redcolor);
}

.price2 h2 {
    background-color: var(--redcolor);
    margin-right: -25px;
    margin-top: -20px;
    padding: 10px;
    color: #fff;
    position: relative;
}

.price2 h2:after {
    content: "";
    background-color: var(--redcolor2);
    width: 10px;
    height: 10px;
    right: 0;
    top: -10px;
    display: block;
    position: absolute;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    box-shadow: inset 0px 0px 5px #666;
}

.price2 h2 b {
    font-size: calc(var(--fontsize) * 1.5);
    color: #fff;
}

section .content {
    display: flex;
    flex-grow: 1;
    flex-basis: 100%;
    flex-direction: column;
    position: relative;
    padding: 30px 10px 0 50px;
}

.topblocks {
    display: flex;
    margin: 10px 5px;
    flex-basis: 100%;
}

.topblocks+.topblocks {
    margin-top: -5px;
}

.topblocks>div {
    background-color: var(--bgcolor2);
    padding: 10px;
    margin: 5px;
    position: relative;
    flex-basis: 100%;
}

.topblocks>div svg {
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.topblocks a {
    display: flex;
    align-items: center;
}

.topblocks a:hover path {
    fill: var(--redcolor)
}

.topblocks>div:nth-child(3):not(.notlong) {
    flex-basis: 100%;
    flex-grow: 1;
}

.topblocks>div:after {
    display: block;
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--redcolor);
    content: "";
    right: 0;
    top: 0;
}

.topblocks>div * {
    color: #fff;
    line-height: 1.5;
}

.topblocks table {
    min-width: 400px;
}

input[type="number"] {
    color: var(--maincolor);
    width: 50px;
    text-align: center;
}

.orderme td:nth-child(2n+1) {
    text-align: center;
}

.topblocks>div h1 {
    padding: 10px 0;
    font-size: calc(var(--fontsize) * 1.3);
    display: flex;
    align-items: center;
    align-content: center;
}

.topblocks th {
    margin: 1px 1px 0 0;
    background-color: var(--bgcolor);
    font-size: calc(var(--fontsize) * 1.2);
    color: var(--maincolor);
    padding: 3px;
}

.topblocks td {
    margin: 1px 1px 0 0;
    background-color: var(--bgcolor);
    font-size: calc(var(--fontsize) * 1);
    color: var(--maincolor);
    padding: 3px;
}

.topblocks td * {
    color: var(--maincolor);
}

.rezult {
    color: var(--redcolor) !important;
    font-size: calc(var(--fontsize) * 1.4);
}

.bottomblocks {
    display: flex;
    margin: 15px 0;
    flex-basis: 100%;
}

.price+.bottomblocks {
    margin-top: 40px !important;
}

.bottomblocks>div {
    flex-grow: 1;
    flex-basis: 100%;
    align-self: stretch;
    display: flex;
    flex-wrap: wrap;
}

.bottomblocks>div>div {
    background-color: var(--bgcolor);
    flex-grow: 1;
    margin: 10px;
    padding: 15px;
    flex-basis: 100%;
    position: relative;
}

.bottomblocks>div>div h1 {
    padding: 15px 0;
    font-size: calc(var(--fontsize) * 1.3);
}

.bottomblocks>div>div:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    left: 10px;
    top: -30px;
}

.bottomblocks>div.about>div:first-child:after {
    background-image: url(img/about.svg);
}

.bottomblocks>div.parts>div:after {
    background-image: url(img/parts.svg);
}

.bottomblocks .orderme p {
    margin-bottom: 10px;
}

.bottomblocks li:before {
    background-image: url(img/chk2.svg);
    width: 20px;
    height: 20px;
    content: "";
    display: inline-block;
    margin-right: 5px;
    vertical-align: bottom;
    background-repeat: no-repeat;
}

.bottomblocks>div svg {
    width: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.bottomblocks a:hover path {
    fill: var(--redcolor);
}

.bottomblocks .btnorden a:hover path {
    fill: #fff;
}

.btnorden {
    display: flex;
    align-content: flex-start;
    justify-content: space-around;
}

.btnorden p {
    margin: 10px 0;
    flex-grow: 1;
}

.btnorden a {
    background-color: var(--maincolor);
    color: #fff;
    padding: 10px;
    margin: 0px;
    display: flex;
    white-space: nowrap;
    align-items: center;
}

.btnorden a:hover {
    background-color: var(--redcolor);
}

.btnorden a:hover path {
    fill: #fff;
}

.btnorden a svg {
    max-width: 25px;
    min-width: 25px;
    margin-right: 10px;
}

section .page {
    max-width: 100%;
    flex-grow: 1;
    flex-direction: row;
    display: flex;
    flex-basis: 100%;
}

footer {
    background-color: var(--maincolor);
    font-family: 'Jura-DemiBold';
    font-style: normal;
    position: fixed;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    bottom: 0;
    left: 0;
    width: 100vw;
    flex-wrap: wrap;
    z-index: 20;
}

footer * {
    color: #fff
}

footer>div {
    display: flex;
    flex-wrap: wrap;
    margin: 5px;
    width: 100%;
    justify-content: center;
}

footer>div>div {
    display: flex;
    align-content: center;
    align-items: center;
}

footer svg {
    margin: 0 5px 0 10px;
    height: 15px;
}

footer path {
    fill: #fff;
}

footer a,
footer span {
    white-space: nowrap;
    text-decoration: none;
    margin: 0 5px;
    display: flex;
    align-content: center;
    align-items: center;
}

footer a:hover {
    text-decoration: underline;
}

aside {
    width: 100%;
    background-image: url(img/main_comp.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    margin-top: -100px;
    margin-right: -100px;
    max-width: calc(100% - 4 * 170px);
    flex-grow: 1;
    margin-left: -150px;
    z-index: 5;
}

ul {
    list-style: none;
}

li {
    margin: auto 0;
    margin-bottom: 10px;
}

b {
    font-weight: bold;
}

nav {
    background-color: var(--navcolor);
    font-family: 'Jura-DemiBold';
    font-style: normal;
    position: fixed;
    top: 50px;
    height: 30px;
    width: 100vw;
    max-width: 1300px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 20;
}

nav>ul {
    padding: 0;
    margin: 8px 10px 0 10px;
    list-style: none;
    list-style-image: none;
    display: flex;
    color: #fefefe;
    text-transform: uppercase;
}

nav li {
    font-size: 0.8rem;
    color: #fefefe;
    padding: 0;
    cursor: pointer;
    position: relative;
    margin: 0 10px;
    font-weight: bold;
    display: flex;
    justify-content: left;
}

nav>ul>li>a {
    color: #fefefe;
    font-size: 0.8rem;
}

nav ul>li>ul>li>a {
    color: var(--maincolor);
}

nav li:before {
    content: unset;
}

nav>ul>li>ul {
    display: none;
}

nav>ul>li>a {
    border-bottom: 3px solid transparent;
    padding: 2px;
}

nav>ul>li:hover>a,
nav>ul>li.active>a {
    border-bottom: 3px solid #fff;
}

nav>ul>li:hover>ul {
    display: flex;
    position: absolute;
    background-color: var(--bgcolor);
    flex-wrap: wrap;
    left: 0;
    top: 100%;
    z-index: 10000;
    padding: 5px 0;
}

nav ul>li>ul>li {
    white-space: nowrap;
    text-transform: none;
    padding: 5px 15px;
}

nav ul>li>ul>li:hover:before,
nav ul>li>ul>li.active:before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-color: var(--redcolor);
    background-image: unset;
    margin: 0;
    min-width: 15px;
    margin-left: -25px;
    margin-right: 10px;
}

.btnsblock {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
}

.btnsblock a {
    color: #fff;
    padding: 10px;
    margin: 0 5px;
    background-color: var(--maincolor);
    display: flex;
    align-content: center;
    align-items: center;
}

.btnsblock a svg {
    max-height: 30px;
}

.btnsblock a:first-child {
    background-color: var(--redcolor);
}

.btnsblock a:hover {
    color: var(--maincolor);
    background-color: #fff;
}

.btnsblock a:hover:first-child {
    color: var(--redcolor);
}

.w2 {
    display: none;
}

.meorg h1 {
    background-image: url(http://edusite.ru/scin/logo.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: 200px;
    font-size: 2rem;
    font-family: 'Jura-DemiBold';
    padding-top: 130px;
    max-width: 300px;
    text-align: center;
}

div.meorg div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 200px;
    align-items: center;
    align-content: center;
    align-self: center;
    max-width: 300px;
}

.meorg a.btn {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-family: 'Roboto-Regular';
    padding: 10px 10px;
    margin: 5px 5px;
    flex-grow: 1;
    border-radius: 3px;
    background-color: var(--navcolor);
    flex-basis: 100%;
    margin: 10px auto;
}

.meorg a.btn:hover {
    background-color: var(--redcolor);
}

.doclist {
    display: flex;
    margin: 15px;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: space-between;
    justify-content: center;
}

ul.doclist li {
    flex-basis: 31%;
    background-color: var(--bgcolor);
    padding: 15px;
    padding-bottom: 5px;
    text-align: center;
    margin: 5px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
    align-items: stretch;
    flex-grow: 1;
}

ul.doclist li.withimg {
    flex-basis: 100%;
}

ul.doclist h1 {
    font-family: 'Jura-DemiBold';
    font-size: calc(var(--fontsize) * 1.2);
    padding: 0 10px 10px 10px;
    color: var(--maincolor);
    text-transform: uppercase;
    margin: 0;
    flex-grow: 1;
    flex-basis: 100%;
}

ul.doclist a {
    background-color: var(--bgcolor2);
    color: #fff;
    padding: 5px;
    margin: 10px 0;
    flex-basis: 100%;
    max-width: 250px;
    display: flex;
    justify-content: center;
}

ul.doclist img {
    max-width: 100%;
}

ul.doclist a:hover {
    background-color: var(--redcolor);
}

.bottomblocks+.bottomblocks {
    margin-top: -10px;
}

.mobile-icons {
    display: none;
}

sup {
    margin-left: 25px;
}

/*================================================   ширина < 1300 ================================= */

@media (max-width: 1300px) {
    :root {
        --fontsize: 0.92rem;
    }

    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    nav {
        width: 100%;
    }

    section .intro {
        margin: auto;
        flex-wrap: wrap;
        padding-top: 0px;
        min-height: calc(100vh - 300px);
        display: flex;
        height: 100%;
        align-content: flex-start;
        align-items: stretch;
        flex-direction: row;
        justify-content: flex-start;
        min-width: calc(180px * 3);
    }

    aside {
        max-width: calc(100% - 4 * 180px);
        min-width: 30%;
        margin-right: 0;
        margin-left: -100px;
        background-size: auto 100%;
        background-position: 0px top;
    }

    footer {
        width: 100%;
    }
}

/*================================================   ширина < 1000 ================================= */

@media (max-width: 1000px) {
    :root {
        --fontsize: 0.9rem;
    }

    aside {
        display: none;
    }

    section .intro {
        justify-content: center;
    }

    .role>a {
        height: calc(100% - 25px);
    }

    .role .btns {
        height: 25px;
    }

    .role:hover .btns a {
        border-radius: 2px;
        padding: 2px;
        margin: 2px;
        flex-basis: 55px;
        height: 25px;
    }

    .topblocks {
        flex-wrap: wrap;
    }

    .topblocks>div {
        flex-basis: 48%;
        flex-grow: 1;
    }

    .topblocks>div:nth-child(3):not(.notlong) {
        flex-basis: 48%;
        flex-grow: 1;
    }

    .btnorden a {
        white-space: unset;
    }
}

/*================================================   ширина < 600 ================================= */

@media (max-width: 600px) {
    :root {
        --fontsize: 0.8rem;
    }

    body {
        min-width: 350px;
    }

    .price {
        padding: 10px 10px 10px 20px;
    }

    header {
        max-width: unset;
    }

    header a:first-child {
        flex-grow: 1;
        flex-basis: 100%;
    }

    .logo {
        width: 100px;
    }

    a.govk {
        padding: 10px;
    }

    a.soobsh {
        padding: 10px;
        background-size: 20px;
        padding-left: 25px;
    }

    aside {
        display: none;
    }

    section .header {
        padding: 10px;
    }

    section .header h1 {
        font-size: 1.2rem;
    }

    section .header h2 {
        font-size: 0.90rem;
    }

    section .intro {
        justify-content: center;
        min-width: unset;
    }

    section .page {
        padding-bottom: 20px !important;
    }

    .w1 {
        display: none;
    }

    .w2 {
        display: block;
    }

    .role {
        display: flex;
        flex-basis: 100%;
        margin: 10px;
        vertical-align: bottom;
        cursor: pointer;
        justify-content: flex-start;
        align-items: center;
        align-content: flex-start;
        flex-direction: row;
        z-index: 1;
        background-color: var(--bgcolor2);
    }

    .role>a {
        display: flex;
        width: 100%;
        padding: 15px 10px;
        padding-left: 10px;
        text-align: left;
        text-transform: uppercase;
        font-weight: 900;
        margin-bottom: 0;
        height: 60px;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        align-content: center;
    }

    .role a svg {
        width: 50px;
        margin-bottom: 0;
        margin-right: 10px;
    }

    .role .btns {
        height: unset;
        justify-content: flex-end;
    }

    .role:hover {
        background-color: var(--bgcolor);
    }

    .role:hover a {
        color: var(--maincolor);
        background-color: transparent;
    }

    .role_video {
        order: -1;
        width: 100% !important;
    }

    footer {
        position: relative;
    }

    footer>div>div {
        flex-basis: 100%;
        text-align: center;
        padding: 3px;
    }

    .topblocks {
        flex-wrap: wrap;
    }

    .topblocks>div {
        flex-basis: 40%;
        flex-grow: 1;
    }

    .topblocks>div:nth-child(3):not(.notlong) {
        flex-basis: 100%;
        flex-grow: 1;
    }

    .bottomblocks {
        flex-wrap: wrap;
    }

    .btnsblock {
        padding-bottom: 20px !important;
    }

    .btnsblock a:last-child {
        display: none;
    }

    ul.doclist li:not(.withimg) {
        flex-basis: 100%;
        flex-wrap: nowrap;
    }

    ul.doclist li>*:first-child {
        flex-basis: 100%;
        flex-grow: 1;
    }

    ul.doclist a {
        flex-basis: unset;
        margin: 0;
    }

    .btnorden a {
        white-space: unset;
    }

    .btnorden a+a {
        margin-left: 5px;
    }

    .bottomblocks+.topblocks {
        margin-top: -10px;
    }

    .mobile-icons {
        display: block;
        min-width: 50px;
    }

    .mobile-icons .mobile-menu-toggle svg {
        width: 50px;
        height: 50px;
        display: block;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        -webkit-transition: -webkit-transform 400ms;
        transition: -webkit-transform 400ms;
        transition: transform 400ms;
        transition: transform 400ms, -webkit-transform 400ms;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .mobile-menu-toggle svg .line {
        fill: none;
        -webkit-transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
        transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
        stroke: #ffffff;
        stroke-width: 5;
        stroke-linecap: round;
    }

    .mobile-icons .mobile-menu-toggle svg .line.top {
        stroke-dasharray: 40 121;
    }

    .mobile-icons .mobile-menu-toggle svg .line.bottom {
        stroke-dasharray: 40 121;
    }

    .mobile-icons .mobile-menu-toggle.active svg {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .mobile-icons .mobile-menu-toggle.active svg .line.top {
        stroke-dashoffset: -68px;
    }

    .mobile-icons .mobile-menu-toggle.active svg .line.bottom {
        stroke-dashoffset: -68px;
    }

    nav {
        display: none;
    }

    section {
        padding-top: 0;
    }

    nav.active {
        display: block;
        z-index: 1000;
        width: 100%;
        height: 100%;
    }

    nav.active>ul {
        display: block;
    }

    nav.active>ul>li {
        margin: 15;
        display: block;
    }

    nav.active>ul>li>a {
        font-size: calc(var(--fontsize) * 1.5);
        width: 90%;
        display: block;
    }

    nav.active>ul>li>ul {
        display: block;
        margin-top: 10px;
    }

    nav.active>ul>li:hover>ul {
        display: block;
        position: relative;
        background-color: transparent;
        flex-wrap: wrap;
        left: 0;
        top: 100%;
        z-index: 10000;
        padding: 5px 0;
    }

    nav.active>ul>li>ul>li {
        padding: 10px 15px;
    }

    nav.active>ul>li>ul>li>a {
        color: #fff;
        width: 100%;
        display: block;
        font-size: calc(var(--fontsize) * 1.4);
    }

    .topblocks table {
        min-width: unset;
    }

    footer>div>div {
        flex-wrap: wrap;
        flex-basis: auto;
        justify-content: center;
    }

    footer>div>div:first-child {
        flex-basis: 100%;
    }
}

/*================================================   ширина от 600 до 1000================================= */

@media (min-width: 601px) and (max-width: 1000px) {
    .role_video {
        order: -1;
        width: 170px !important;
    }
}