:root {
    --text: #6B6B6B;
    --link: #00A3FF;
    --linka: #9CD4F3;
    --texth: #081F2C;
    --textannot: #555;
    --background: rgba(0, 0, 0, 0.05);
    --bggrey: #F7F7F7;
    --highlight: #9CD4F3;
    --margin: -20px;
    --padding: 20px;
}

@font-face {
    font-family: 'site_font';
    src: url('fonts/montserrat/Montserrat-Regular.eot');
    src: url('fonts/montserrat/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/montserrat/Montserrat-Regular.woff2') format('woff2'),
    url('fonts/montserrat/Montserrat-Regular.woff') format('woff'),
    url('fonts/montserrat/Montserrat-Regular.ttf') format('truetype'),
    url('fonts/montserrat/Montserrat-Regular.svg#Montserrat-Regular') format('svg'),
    url('fonts/montserrat/Montserrat-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'site_medium';
    src: url('fonts/montserrat/Montserrat-Medium.eot');
    src: url('fonts/montserrat/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),
    url('fonts/montserrat/Montserrat-Medium.woff2') format('woff2'),
    url('fonts/montserrat/Montserrat-Medium.woff') format('woff'),
    url('fonts/montserrat/Montserrat-Medium.ttf') format('truetype'),
    url('fonts/montserrat/Montserrat-Medium.svg#Montserrat-SemiBold') format('svg'),
    url('fonts/montserrat/Montserrat-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/******************** BASE ****************************/

html {
    height: 100%;
    height: -webkit-fill-available;
    min-height: 100vh;
    font-size: 14px;
}

body {
    display: flex;
    flex-flow: column nowrap;
    background: var(--bggrey);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font: 14px 'site_font', Verdana, Arial, Tahoma, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: none;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

/****** нормализация ******/
.block, .block * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: top;
    position: relative;
}

*::before, *::after {
    box-sizing: inherit;
    transition: inherit;
}

*:focus {
    outline: 0;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}

.text ul, .text ol {
    font-size: 16px;
    line-height: 24px;
    appearance: none;
    list-style-position: outside;
    padding-bottom: 20px;
    padding-left: 20px;
}

.article-detail .text  ul li {
    list-style-type: none;
    margin-bottom: 8px;
}

.article-detail .text  ul li:before {content: "— ";}
table, th, td {
    border: 1px solid var(--link);
    padding: 0;
    border-collapse: collapse;
}

th, td {
    vertical-align: top;
    padding: 2px 5px;
}

.block p {
    padding: 0 0 20px 0;
    font-size: 16px;
    line-height: 24px;
}

a {
    color: var(--link);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    text-decoration: none;
}

.text a, .image-caption a {
    text-decoration: underline;
}

a:hover {
    color: var(--linka);
}

a.button {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

sub {
    vertical-align: sub;
}

::-webkit-scrollbar {
    overflow: visible;
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}

::-webkit-scrollbar-track {
    background: var(--linka);
    background-clip: padding-box;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--link);
    background-clip: padding-box;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:horizontal {
    background: var(--link);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

body::-webkit-scrollbar-track-piece {
    background-clip: padding-box;
    background: var(--linka);
}

::selection {
    color: #fff;
    background-color: var(--link);
}

/****** базовая разметка ******/
/*!!!!!!!!!*/

.block {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--padding);
}

.col {
    padding: 0 var(--padding);
}

.row, .cols {
    display: flex;
    flex-flow: row wrap;
    justify-content: stretch;
    align-content: stretch;
    align-items: stretch;
    margin: 0 var(--padding);
}

.row {
    margin: 0 var(--margin);
}

.row.cols2 > .col {
    flex-basis: 50%;
}

.row.cols2 > .col.wide {
    flex-basis: 100%;
}

.row.cols3 > .col {
    flex-basis: 33.3333%;
}

.row.cols3 > .col.wide {
    flex-basis: 66.6666%;
}

.row.cols4 > .col {
    flex-basis: 25%;
}

.row.cols4 > .col.wide {
    flex-basis: 50%;
}

.row.cols4 > .col.xwide {
    flex-basis: 75%;
}

.row.cols5 > .col {
    flex-basis: 20%;
}

.row.cols5 > .col.wide {
    flex-basis: 40%;
}

.row.cols6 > .col {
    flex-basis: 16.6666%;
}

.row.cols6 > .col.wide {
    flex-basis: 33.3333%;
}

.row.cols6 > .col.xwide {
    flex-basis: 50%;
}

.row.cols7 > .col {
    flex-basis: 14.2857%;
}

.row.cols7 > .col.wide {
    flex-basis: 28.5714%;
}

.row.cols8 > .col {
    flex-basis: 12.5%;
}

.row.cols8 > .col.wide {
    flex-basis: 25%;
}

.row.cols9 > .col {
    flex-basis: 11.1111%;
}

.row.cols9 > .col.wide {
    flex-basis: 22.2222%;
}

.row.cols10 > .col {
    flex-basis: 10%;
}

.row.cols10 > .col.wide {
    flex-basis: 20%;
}

/*!!!!!*/

main .main h1 {
    color: var(--link);
    font-size: 36px;
    font-family: 'site_medium';
    font-weight: 400;
}

main .block .main h2 {
    font-family: 'site_medium';
    font-size: 20px;
    line-height: 36px;
    padding: 0;
    font-weight: 400;
}

main .block .main .article.main-header {
    padding: 36px 20px 0 20px;
}

main .block .main .main-header h2 {
    font-weight: 400;
    color: var(--textannot);
}

main .articles .article .article-detail > .info {
    padding: 3px 0 0 0;
}

main .main .title {
    font-size: 1.57rem;
    color: var(--link);
    font-family: 'site_medium';
}

main .main .title:hover {
    color: var(--linka);
}

.hidden {
    display: none;
}

.authors.active .hidden {
    display: block;
}

.authors.active .more > span {
    display: none;
}

.authors.active .more > span + span {
    display: block;
}

.authors.active .more:before {
    transform: rotate(-225deg);
    top: 10px;
}

footer {
    background: var(--link);
    color: #fff;
}

header {
    padding: 20px 60px;
}

header .block, footer .block {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

footer .block {
    padding-top: 60px;
    padding-bottom: 60px;
}

footer .contacts {
    text-align: center;
    background: var(--background);
    color: var(--highlight);
    font-size: 0.858rem;
    line-height: 1.84;
}

footer .contacts > div {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4px var(--padding);
}

footer a {
    color: #fff;
    line-height: 1.8;
}

footer a:hover {
    color: var(--highlight);
}
header a:hover {
    color: #081f2c;
}

header .bb {
    width: 40px;
    height: 40px;
    background: var(--background);
    padding: 14px 13px;
    border-radius: 5px;
    cursor: pointer;
    background: url(images/hamburger.svg) no-repeat center;

    display: none;
}

header .bb > div {
    width: 14px;
    height: 12px;

}

.logo {
    width: 130px;
    height: 50px;
    background: url(images/logo.svg) no-repeat top left;
    background-size: contain;
}
header .logo {
    background: url(images/logo-header.svg) no-repeat top left;
    background-size: contain;
}
.logocs {
    width: 139px;
    height: 48px;
    background: url(images/logocs.svg) no-repeat top left;
    background-size: contain;
    border-radius: 3px;
}

.header-menu ul, .footer-menu ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.header-menu ul {
    flex-flow: row nowrap;
}

.footer-menu ul {
    flex-flow: row wrap;
}

.header-menu ul li, .footer-menu ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'site_font';
    font-family: 'site_medium';
}

.header-menu ul li, .footer-menu ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'site_medium';
}

.header-menu > ul li + li {
    padding-left: 50px;
}

.header-menu ul li a {
    text-decoration: none;
    font-family: 'site_medium';
    color: #081f2c;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
    background-position: center center;
    border-color: transparent;
    border-style: solid;;
}

.header-menu > ul li a.active {
    color: #00a3ff;
}
.header-menu > ul li a.active::after {
    content: '';
    width: 100%;
    height: 1px;
    border-radius: 20px;
    background-color: #00a3ff;
    background-position: center center;
    position: absolute;
    bottom: -13.5px;
    left: 0;
}

.header-menu .close {
    width: 40px;
    height: 40px;
    background: var(--background);
    padding: 13px;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    display: none;
}

.header-menu .close:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transform: rotate(45deg);
    transform-origin: center;
    top: 20px;
    left: 10px;
}

.header-menu .close:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transform: rotate(-45deg);
    transform-origin: center;
    top: 20px;
    left: 10px;
}

header .button-cntnr {
    padding-top: 5px;
    padding-bottom: 5px;
}

header .button {
    display: block;
    background: #0094E7;
    padding: 11px 15px;
    border-radius: 10px;
    text-align: center;
    font-family: 'site_medium';
    line-height: 17.07px;
}

header .button-cntnr .button {
    margin-left: 8px;
    width: 87px;
    padding: 8px 15px;
    background-color: #00a3ff;
    color: #ffffff;
    font-size: 14px;
    font-family: 'site_medium';
    line-height: 1.55;
    font-weight: 500;
    border-width: 1px;
    border-radius: 8px;
    border-color: #00a3ff;
    border-style: solid;
}

header .button-cntnr .button:hover {
    cursor: pointer;
    background-color: transparent;
    color: #00a3ff;
}

.footer-menu ul li {
    padding: 0 25px;
}

.footer-menu ul {
    text-align: center;
}

main {
    padding: 60px 0 45px;
}

main .main {
    display: flex;
    flex-flow: row nowrap;
    justify-content: stretch;
    align-content: flex-start;
    align-items: flex-start;
}

main .main .aside {
    flex: 0 0 26%;
    padding-right: 40px;
}

.tags .title {
    display: none;
}

.tags .blog-menu {
    max-height: initial;
}

.blog-menu {
    list-style: none;
    margin-bottom: 50px;
}

.blog-menu li + li {
    margin-top: 12px;
}

.blog-menu li {
    min-width: 100%;
}

.blog-menu li a {
    display: block;
    color: #000;
    font-family: 'site_medium';
    padding: 7px 10px 7px 16px;
    background: #fff;
    border-radius: 30px;
    width: 100%;
}

main .block .main .aside.grey .blog-menu li a {
    background: #ff0;
    display: block;
    width: 100%;
    line-height: 1;
    border-radius: 30px;
    padding: 13px 10px 13px 16px;
}

main .block .main .aside.grey .blog-menu li a {
    background: var(--bggrey);
}

.blog-menu li a:hover, .blog-menu li a.active:hover {
    color: #fff;
    background: var(--link);
}

.blog-menu li a.active {
    color: var(--link);
}

.authors {
    margin-bottom: 50px;
}

.authors .authors-list {
    max-height: initial;
}

.authors .authors-list a {
    background: #fff;
}

.aside.grey .authors .authors-list a {
    background: var(--bggrey);
}

main .block .main .aside.grey .blog-menu li a.active:hover, main .block .main .aside.grey .blog-menu li a:hover {
    color: #fff;
    background: var(--link);
}

main .block .main .aside.grey .blog-menu li a.active {
    color: var(--link);
}

main .authors .title {
    font-size: 14px;
    color: var(--link);
    padding-bottom: 12px;
    line-height: 25.2px;
}

main .authors .title_authors {
    font-size: 14px;
    color: var(--link);
    padding-bottom: 12px;
    line-height: 25.2px;
    font-family: site_medium;
}

.authors .author {
    display: flex;
    flex-flow: row nowrap;
    justify-content: stretch;
    align-content: flex-start;
    align-items: center;
    border-radius: 30px;
    padding: 7.5px 8px;
    background: #fff;
}

.authors .author + .author {
    margin-top: 16px;
}

.authors .hidden .author {
    margin-top: 16px;
}

.authors .author .img {
    height: 100%;
    margin-left: 1px;
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
}

.authors .author .img img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
}

.authors .author .info {
    padding-left: 10px;
}

.authors .author .info .name {
    color: #000000;
    font-family: 'site_medium';
    line-height: 1;
    padding-bottom: 2px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.authors .author .info .stat {
    color: #6B6B6B;
    font-size: 12px;
    line-height: 1.35;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.authors .author:hover, .aside.grey .authors a.author:hover, .aside.grey .blog-menu li.blog-menu li {
    background: var(--link);
}

.authors .author:hover .info .name, .authors .author.active:hover .info .name {
    color: #fff;
}

.authors .author.active .info .name {
    color: var(--link);
}

.authors .author:hover .info .stat, .authors .author.active:hover .info .stat {
    color: #fff;
}

.authors .more {
    color: var(--link);
    margin-top: 16px;
    padding-left: 30px;
    cursor: pointer;
    line-height: 25.2px;
    font-family: site_medium;
}

.authors .more > span + span {
    display: none;
}

.authors .more:before {
    content: '';
    position: absolute;
    left: 3px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-left: 1px solid var(--link);
    border-bottom: 1px solid var(--link);
    transform: rotate(-45deg);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.authors .more:hover {
    color: var(--highlight);
}

.authors .more:hover:before {
    border-left: 1px solid var(--highlight);
    border-bottom: 1px solid var(--highlight);
}

.join {
    margin-bottom: 50px;
}

main .join .title {
    font-size: 18px;
    line-height: 28.8px;
    padding-bottom: 14px;
    color: #000;
    font-family: 'site_medium';
}

.join .button {
    display: block;
    border-radius: 20px;
    background: var(--link);
    color: #fff;
    text-align: center;
    padding: 13px 16px;
    line-height: 1;
    font-family: 'site_medium';
}

.join > .title:hover {
    color: #000000!important;
    cursor: default;
}
.join .button:hover {
    color: var(--highlight);
}

main .articles .article {
    background: #fff;
    border-radius: 30px;
    display: flex;
    flex-flow: row wrap;
    justify-content: stretch;
    align-content: flex-start;
    align-items: flex-start;
}

 main .articles .article:not(:first-child) {
    margin-top: 30px;
 }

main .articles .article.img-left {
    padding-bottom: 0;
}

main .articles .article.img-left .img img {
    margin-bottom: 20px;
    border-radius: 20px;
    width: 280px;
    height: 280px;
}

main .articles .article.img-left .imgshort img {
    margin-bottom: 20px;
    border-radius: 20px;
    width: 280px;
    height: 280px;
}

main .articles .article > .img {
}

.main-header h2 {
    border-bottom: 1px solid #F2F2F2;
}

main .articles .article.main-header h1 {
    min-width: 100%;
    margin: 0;
    padding: 0 0 16px 0;
    text-align: center;
    line-height: 2.57rem;
    color: #000;
}

main .articles .article-detail h1 {
    line-height: 3.4rem;
    top: -12px;
}

main .articles .main-header h2 {
    font-size: 1.4rem;
    min-width: 100%;
    margin: 0;
    padding: 0 0 40px 0;
    color: #000;
    text-align: center;
    font-weight: 400;
    line-height: 2.57rem;
}

main .articles .article-detail h2 {
    font-size: 1.93rem;
    color: var(--texth);
    padding: 0 0 40px 0;
    text-align: left;
    font-family: 'site_medium';
}

main .articles .article h3 {
    color: var(--texth);
    min-width: 100%;
    margin: 0;
    padding: 20px 0 20px 0;
    font-size: 1.57rem;
    line-height: 2.14rem;
    text-align: left;
    font-family: 'site_medium';
}

main .articles .article h4 {
    color: var(--texth);
    min-width: 100%;
    margin: 0;
    padding: 0 0 40px 0;
    font-size: 1.36rem;
    line-height: 1.86rem;
    text-align: left;
    font-family: 'site_medium';
}

main .articles .article .social {
    min-width: 100%;
    margin: 0;
    padding: 25px 0 0 0;
    color: #000;
    text-align: center;
    line-height: 1.65;
    font-family: 'site_medium';
}

main .articles .article .info {
    padding: 30px 30px 27px 30px;
}

main .articles .article.img-left .info {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    padding: 30px 30px 20px 30px;
}

main .articles .article .social a {
    margin-left: 30px;
    display: inline-block;
    vertical-align: baseline;
}

main .articles .article .social a.vk {
    width: 21px;
    height: 11px;
    background: url(images/vk.svg) no-repeat center center;
    background-size: contain;
}

main .articles .article .social a.fb {
    width: 6px;
    height: 14px;
    background: url(images/fb.svg) no-repeat center center;
    background-size: contain;
}

main .articles .article .social a.ig {
    width: 14px;
    height: 14px;
    background: url(images/ig.svg) no-repeat center center;
    background-size: contain;
}

main .articles .article .social a:hover {
    opacity: 0.5;
}

main .articles .article .article-footer .social-wrapper {
    display: flex;
    flex-flow: row nowrap;
}

main .articles .article .article-footer .social-wrapper .social {
    max-width: 100%;
}

main .articles .article .article-footer .social-wrapper .social span {
    align-items: center;
}

main .articles .article .article-footer .social-wrapper .social.social_like {
    margin-left: 10px;
    min-width: 246px;
}

main .articles .article.img-left {
    flex-flow: row nowrap;
    justify-content: stretch;
    align-items: stretch;
    align-content: stretch;
}

main .articles .article .img {
    flex: 0 0 100%;
    border-radius: 30px;
}

main .articles .article .imgshort {
    flex: 0 0 100%;
    border-radius: 30px;
}

main .articles .article.blog-header .img {
    border-radius: 20px;
}

main .articles .article.blog-header .img img {
    border-radius: 20px;
    width: 90px;
    height: 90px;
    object-fit: cover;
    object-position: center center;
}

main .detail .articles .article > .img {
    border-radius: 20px;
    height: 400px;
}

main .detail .articles .article > .img img {
    border-radius: 20px;
    object-fit: cover;
    height: 400px;
}

main .articles .article-detail .caption .author .img img {
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

main .articles .article .img img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
}

main .articles .article .imgshort img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

main .articles .article.blog-header {
    padding: 20px 14% 40px;
}

main .articles .article.blog-header .img {
    width: 90px;
    max-width: 90px;
    height: 90px;
    margin: 30px auto 24px;
}

main .articles .article.blog-header > div + div {
    min-width: 100%;
    text-align: center;
}

main .articles .article.blog-header .name {
    color: var(--link);
    font-size: 1.7rem;
    line-height: 1.35;
    font-family: 'site_medium';
    margin-bottom: 18px;
}

main .articles .article.blog-header .caption {
    font-size: 1.2857rem;
    line-height: 32px;
    margin-bottom: 25px;
}

main .articles .article.img-left > .img {
    flex: 0 0 280px;
    margin: 20px 0 0 20px;
    margin-bottom: 0;
    border-radius: 20px;
}

main .articles .article.img-left > .imgshort {
    flex: 0 0 280px;
    margin: 20px 0 0 20px;
    margin-bottom: 0;
    border-radius: 20px;
}

main .articles .article .info .title {
    display: block;
    font-size: 22px;
    line-height: 31.9px;
    font-family: 'site_medium';
    margin-bottom: 16px;

}

main .articles .article.img-left .info .title {
    max-height: 64px;
}

main .articles .article .info .text {
    color: var(--texth);
    margin-bottom: 16px;
}

main .articles .article .info .text_preview {
    color: var(--text);
    margin-bottom: 16px;
}

main .articles .article.img-left .info .text {
    max-height: 150px;
    overflow-y: hidden;
}

main .articles.read-more .article .info .text {
    overflow-y: hidden;
}

main .articles .article > .img + .info > .text {
    display: none;
}

main .articles .article.img-left > .img + .info > .text {
    display: block;
}

main .articles .article .info .caption {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: center;
}

main .articles .article-detail .caption {
    flex: 0 0 23.3%;
    padding-left: 40px;
}

main .articles .article-detail .info .stat {
    display: flex;
    flex-flow: row wrap;
}

main .articles .article-detail > .caption .stat {
    font-size: 12px;
    padding-bottom: 18px;
    color: var(--texth);
    max-width: 160px;
}

main .articles .article-detail > .caption .about {
    line-height: 1.4rem;
    color: var(--texth);
    max-width: 160px;
}

main .articles .article-detail .caption .img img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

main .articles .article-detail .caption .name {
    font-size: 16px;
    font-style: normal;
    line-height: 1.35;
    padding-bottom: 5px;
}

main .articles .article .info .caption .author {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
}

main .articles .article-detail>.caption .author .name {
    font-family: 'site_medium';
    max-width: 160px;

}

main .articles .article .info .caption .author .name {
    padding-left: 10px;
    color: #000;
    line-height: 1.35;
    font-family: 'site_medium';
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

main .articles .article .info .caption .author:hover .name {
    color: var(--link);
}

main .articles .article .info .caption .stat {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    color: #A9A9A9;
    line-height: 1.35;
}

main .articles .article .info > .stat {
    margin-bottom: 36px;
    color: var(--texth);
}

main .articles .article .info .caption .stat .date {
    font-size: 0.857rem;
    line-height: 1.35;
    font-family: 'site_medium';
}

main .articles .article .article-detail .info .stat .view {
    background: url(images/view_black.svg) no-repeat center left;
}

main .articles .article .info .stat .view {
    padding-left: 20px;
    background: url(images/view.svg) no-repeat left center;
    margin-left: 20px;
}

main .articles .article .info .stat .detail-tags {
    margin-left: 24px;
}

main .articles .article .info .stat .detail-tags a {
    margin-left: 8px;
    color: var(--texth);
    font-family: 'site_medium';
}

main .articles .article .info .stat .detail-tags a:hover, main .articles .article .info .stat .detail-tags a.active {
    color: var(--link);
}

main .articles .article .info .caption .stat .feed {
    font-size: 0.75rem;
    margin-left: 20px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
}

main .articles .article .info .caption .stat .feed .like {
    padding-left: 25px;
    height: 26px;
    background: url(images/like.svg) no-repeat left center;
    background-size: contain;
    cursor: pointer;
}

main .articles .article .info .caption .stat .feed .like {
    padding-left: 25px;
    height: 26px;
    line-height: 1.75rem;
    background: url(images/like.svg) no-repeat left center;
    background-size: 17px;
    cursor: pointer;
}

main .articles .article .info .caption .stat .feed .dislike {
    padding-left: 25px;
    margin-left: 10px;
    height: 17px;
    background: url(images/dislike.svg) no-repeat left center;
    background-size: 17px;
    cursor: pointer;
}

main .articles .article .info .caption .stat .feed .like.active, main .articles .article .info .caption .stat .feed .like:hover {
    background-image: url(images/likea.svg);
}

main .articles .article .info .caption .stat .feed .dislike.active, main .articles .article .info .caption .stat .feed .dislike:hover {
    background-image: url(images/dislikea.svg);
}

main .articles .article .info .caption .img {
    flex: 0 0 24px;
    height: 24px;
    margin-right: 0;
    padding-right: 0;
}

main .articles .article .info .caption .img img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

main .articles .more {
    margin-bottom: 50px;
    text-align: center;
}

main .articles .article .article-detail .comments-wrapper {
    width: 100%;
}

.app-chat-editor .border {
    border-width: 1px !important;
    border-style: solid !important;;
    border-color: #eeeeee !important;;
}

main .articles .more .button {
    display: inline-block;
    background: var(--link);
    color: #fff;
    border-radius: 10px;
    padding: 15px 25px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

main .articles .more .button:hover {
    color: var(--highlight);
}

.more {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.detail {
    background: #fff;
    margin-top: -60px;
    padding-top: 60px;
    padding-bottom: 70px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    opacity: 0;
    z-index: 1;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.overlay.active {
    opacity: 1;
    display: block;
}

.article-detail {
    display: flex;
    flex-flow: row nowrap;
}

.slider {
    margin-bottom: 40px;
}

.block p.hdr {
    font-size: 1.93rem;
    line-height: 1.35;
    color: var(--texth);
    font-family: 'site_medium';
}

.block .highlight {
    color: var(--link);
    border: 2px solid var(--link);
    border-radius: 30px;
    padding: 30px 34px;
    font-family: 'site_medium';
    font-size: 21px;
    line-height: 37.8px;
    margin-bottom: 40px;
}

.block.read-more {
    padding-top: 120px;
    padding-bottom: 66px;
}

.block.read-more > .title {
    font-size: 3.43rem;
    line-height: 1.35;
    padding-bottom: 80px;
    font-family: 'site_medium';
    color: var(--texth);
}

main .block .article-detail .table-cntnr {
    margin-bottom: 40px;
    overflow: auto;

}
main .block .article-detail .table-cntnr .table {
    border: 1px solid #CBCBCB;
    border-radius: 20px;
}
main .block .article-detail .table > .tr {
    display: flex;
    flex-flow: row nowrap;
}

main .block .article-detail .table table tr td{
    font-family: 'site_font';
    font-weight: 400;
}

main .block .article-detail .table table tr th, main .block .article-detail .table table tr td:first-child,  main .block .article-detail .table table tr:first-child td {
    font-family: 'site_medium';
    text-align: left;
    font-weight: 500;
}
main .block .article-detail .table table tr td:first-child{
    border-left: none;
}
main .block .article-detail .table table tr td:first-child{
     border-left: none;
 }
main .block .article-detail .table table tr:first-child td{
    border-top: none;
}

main .block .article-detail .table table tr td{
    border-radius: 50%;
    text-align: left;
    font-weight: 400;
}
main .block .article-detail .table table tr td.r, main .block .article-detail .table table tr th.r{
    text-align: right;
}
main .block .article-detail .table table tr td>p, main .block .article-detail .table table tr th>p{
    padding: 0;
    font-size: 1rem;
    line-height: 1.4;
}
main .block .article-detail .table table tr th, main .block .article-detail .table table tr td{
    color: var(--texth);
    font-size: 1rem;
    line-height: 1.4;
    padding: 10px 20px;
}
main .block .article-detail .table table tr:first-child th, main .block .article-detail .table table tr:first-child td{
    padding: 16px 20px;
    text-align: left;
}

main .block .article-detail .table table tr th + th, main .block .article-detail .table table tr  td {
    border-left: 1px solid #CBCBCB;
}
main .block .article-detail .table table tr  td, main .block .article-detail .table table tr + tr th {
    border-top: 1px solid #CBCBCB;
}


main .block .article-detail .table > .tr:not(:first-child) {
    border-top: 1px solid #CBCBCB;
}

main .block .article-detail .table > .tr > div {
    flex: 0 0 25%;
    padding: 10px 20px;
    line-height: 1.4;
    min-width: 40px;
}

main .block .article-detail .table > .tr > div.th {
    font-family: 'site_medium';
    color: var(--texth);
}

main .block .article-detail .table > .tr > div.r {
    text-align: right;
}

main .block .article-detail .table > .tr > div:not(:first-child) {
    border-left: 1px solid #CBCBCB;
    color: var(--texth);
}

main .block .article-detail .table > .tr > :first-child {
    padding: 16px 20px;
}

main .block .article-detail .table-title {
    margin-bottom: 10px;
    color: #7C7C7C;
    line-height: 1.65;
}

main .block .article-detail .table table{
    min-width: 100%;
}
main .block .article-detail .table table tr:not(th),   main .block .article-detail .table table tr:not(td){
font-size: 14px;
padding: 0;
}

main .block .article-detail  .table>*:not(table){
    padding: 0;
}

.image-cntnr {
    margin-bottom: 33px;
    max-width: 100%;
}

.image-cntnr img {
    min-width: 100%;
}

.image-cntnr .image {
    margin-bottom: 20px;
}

.article-footer {
    margin-top: 80px;
}

.article-footer > div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    width: 100%;
}

.article-footer .detail-tags {
    color: var(--texth);
    line-height: 1.385;
    font-family: 'site_medium';
}

.article-footer .quetion {
    margin-right: 10px;
    display: inline-block;
    width: 21px;
    height: 11px;
    background: url(images/quetion.svg) no-repeat center center;
    background-size: contain;
    margin-left: 30px;
    vertical-align: baseline;
}

main .articles .article .article-footer .social {
    display: flex;
    flex-flow: row nowrap;
    background: var(--bggrey);
    border-radius: 20px;
    padding: 20px 20px;
    min-width: 200px;
}

main .articles .article .article-footer .social > span + span {
    display: flex;
    flex-flow: row nowrap;
    align-content: center;
    align-items: center;
}

main .articles .article .article-footer .social a {
    margin-left: 3px;
}

main .articles .article .article-footer .detail-tags a {
    background: var(--bggrey);
    border-radius: 26px;
    padding: 8px 15px;
    margin-left: 10px;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: baseline;
    font-size: 12px;
}

.main .content.articles .article {
    min-width: calc(100% - 300px);
}

.content .slider .swiper-button-next, .content .slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-image: url(images/arrow.svg);
}

.content .slider .swiper-button-next {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: fliph;
    filter: fliph;
}

.content .slider .swiper-slide {
    transform: translateX(-6px);
}

.content .slider .swiper-container {
    overflow-y: visible;
    padding-bottom: 40px;
}

.content .slider .swiper-button-next, .content .slider .swiper-button-prev {
    margin-top: 0;
    left: 50%;
    background-size: 40px 40px;
}

.content .slider .swiper-arrows {
    z-index: 11;
}

.content .slider .swiper-button-next {
    margin-left: 30px;
}

.content .slider .swiper-button-prev {
    transform: translateX(-70px);
}

.content .slider .swiper-pagination-fraction {
    bottom: -35px;
    font-size: 16px;
    color: var(--texth);
}

.swiper-controls {
    margin-top: 16px;
}

/*popup*/

footer .popup-cntnr {
    display: none;
}

footer .popup-cntnr.active {
    display: block;
}

footer .popup-cntnr {
    z-index: 100;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: fixed;
    top: calc(50vh - 375px);
    left: calc(50vw - 300px);
    box-sizing: border-box;
    background: #00000035;
    width: 600px;
    height: 757px;
    background: #fff;
    border-radius: 30px;
}

.popup-cntnr form.for-authors {
    width: 600px;
    height: 757px;
    background: #fff;
    border-radius: 30px;
}

.popup-cntnr form.for-authors > div {
    padding: 50px 70px 60px 70px;
}

.for-authors .hdr {
    font-family: 'site_medium';
    font-size: 36px;
    line-height: 1.35;
    color: var(--link);
    margin-bottom: 16px;
}

.for-authors .hdr ~ .caption {
    color: #000;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 40px;
}

.popup-cntnr form.for-authors label {
    color: #8D8D8D;
}

.popup-cntnr form.for-authors input.control {
    width: 100%;
    border: none;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'site_medium';
    color: #4F4F4F;
    padding-left: 20px;

}

.popup-cntnr form.for-authors .row .col {
    padding: 0 15px;
}

.popup-cntnr form.for-authors .cntrdiv {
    width: 100%;
    margin: 0 0 20px 0;
    position: relative;
}

.cntrdiv .cntrl {
    background: var(--bggrey);
    overflow: hidden;
}

.cntrdiv .cntrl label {
    display: block;
    max-width: 100%;
    min-width: 460px;
    min-height: 72px;
    padding: 24px 10px 24px 20px;
    margin: 0;
    font-weight: normal;
    font-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff0;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.control, .controlta {
    display: block;
    border-radius: 15px;
    width: 96%;
    max-width: 100%;
    color: #000;
    margin: 0;
    padding: 40px 10px 13px 10px;
    border: 0;
    background: transparent;
    position: relative;
    z-index: 1;
    font-size: 100%;
    line-height: 1;
    outline: 0;
}

.cntrdiv .cntrl #img_ext .control, .cntrdiv .cntrl #veteran_pic_id .control {
    padding: 18px 10px 10px 10px;
}

.cntrdiv .cntrl input:not(:placeholder-shown) ~ label {
    top: -13px;
    left: 0;
    background: #fff;
}

.cntrdiv .cntrl, .cntrdiv .cntrs, .cntrdiv .cntrs {
    border: 1px solid var(--link); /*#00A3FF*/
    background: var(--bggrey);
    margin: 0;
    padding: 0;
    position: relative;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    min-height: 68px;
    min-width: 458px;

}

.cntrdiv .cntrs {
    width: 110px;
    display: inline-block;
    vertical-align: top;
    margin: 0 auto;
}

.popup-cntnr form.for-authors textarea {
    color: #4F4F4F;
    font-family: site_medium;
    font-size: 1rem;
    line-height: 1.6;
    width: 420px;
    height: 140px;
    border: 1px solid var(--link); /*#00A3FF*/
    background: var(--bggrey);
    margin: 0;
    padding: 20px;
    position: relative;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.popup-cntnr form.for-authors textarea:focus {
    background: #fff;
    color: #4F4F4F;
}

textarea:focus {
    color: #4F4F4F;
}

textarea:focus > div {
    display: none;
}

textarea::-webkit-input-placeholder {
    color: #8D8D8D;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'site_font';
}

textarea:-moz-placeholder {
    color: #8D8D8D;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'site_font';
}

.cntrdiv .cntrl select.selected ~ label, .cntrdiv .cntrl #img_ext ~ label, .cntrdiv .cntrl #veteran_pic_id ~ label, .cntrdiv .cntrl input:focus ~ label, .cntrdiv textarea:focus ~ label {
    top: -13px;
    left: 0;
    color: var(--link);
    background: #fff;
}

.popup-cntnr form.for-authors input.button {
    background: var(--link);
    position: relative;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    width: 460px;
    height: 70px;
    color: #fff;
    border: none;
    font-size: 16px;
    margin-bottom: 16px;

}

footer .popup-cntnr form.for-authors .pol-privacy {
    color: #000;
    font-size: 12px;
    text-align: center;
}

footer .popup-cntnr form.for-authors .pol-privacy a {
    color: var(--link);
    font-size: 12px;
}

.popup-cntnr .popup-header {
    background: transparent;
    height: 60px;
    display: block;
    width: 100vw;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
}

.popup-header .close {
    right: 10px;
    width: 25px;
    height: 25px;
    padding: 0;
    border-radius: 5px;
    position: absolute;
    top: 27px;
    right: 44px;
    cursor: pointer;

}

.popup-cntnr .close:before {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transform: rotate(45deg);
    transform-origin: center;
    top: 11px;
    left: -5px;
}

.popup-cntnr .close:after {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transform: rotate(-45deg);
    transform-origin: center;
    top: 11px;
    left: -5px;
}

/*adaptive адаптив*/

@media (max-width: 1200px) {
    main .main .aside {
        flex: 0 0 241px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 1060px) {
    header {
        padding: 20px 22px 15px 22px;
    }
    header .button-cntnr {
        /*margin-left: -97px;*/
    }
    .header-menu.active{
        scrollbar-width: none;
        scrollbar-color: transparent;
    }

    .header-menu.active::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    .header-menu.active::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .header-menu.active::-webkit-scrollbar-button {
        display: none;
        height: 0;
        width: 0;
    }

    .header-menu.active::-webkit-scrollbar-track {
        display: none;
        background: var(--linka);
        background-clip: padding-box;
        border-radius: 0px;
    }

    .header-menu.active::-webkit-scrollbar-thumb {
        display: none;
        background: var(--link);
        background-clip: padding-box;
        border-radius: 5px;
    }

    .header-menu.active::-webkit-scrollbar-thumb:horizontal {
        display: none;
        background: var(--link);
    }

    .header-menu.active::-webkit-scrollbar-corner {
        display: none;
        background: transparent;
    }

    .header-menu.active::-webkit-scrollbar-track-piece {
        display: none;
        background-clip: padding-box;
        background: var(--linka);
    }

    .article-detail {
        flex-flow: row-reverse wrap;
    }

    .article-detail > div {
        min-width: 100%;
    }

    .article-detail > div:first-child {
        order: 1;
    }

    main .articles .article-detail>.caption {
        padding-left: 0;
        padding-bottom: 40px;
    }

    main .articles .article-detail .info .stat {
        justify-content: space-between;
    }

    main .articles .article .info .stat .detail-tags {
        margin-left: 0;
    }

    main .articles .article-detail > .caption .stat {
       max-width: 100%;
    }

    main .articles .article-detail > .caption .about {
        max-width: 100%;
    }

}

@media screen and (max-width: 960px) {
    header {
        padding: 20px 14%;
        /*padding: 15px 38px 15px 49px*/
    }
    header, footer {
        color: var(--texth)
    }
    .header-menu > ul li a.active {
        color: #fff;
    }
    .header-menu > ul li a {
        color: #fff;
    }
    main .block .main .article.main-header {
        padding: 24px 16px 0 16px;
    }

    .block p {
        padding-bottom: 20px;
    }

    .text ul, .text ol {
        padding-bottom: 20px;
    }

    .detail {
        padding-top: 40px;
    }

    main .articles .article-detail>.caption {
        padding-bottom: 20px;
    }

    main .articles .article-detail h1 {
        line-height: 2.5rem;
    }

    .article-footer {
        margin-top: 0px;
    }

    .detail {
        padding-bottom: 40px;
    }

    .block.read-more {
        padding-top: 60px;
    }

    .block.read-more > .title {
        padding-bottom: 40px;
    }

    main .articles .article.img-left > .img + .info > .text{
        font-size: 12px;
    }

    .main .content.articles .article {
        min-width: calc(100vw - 40px);
    }

    .header-menu.active::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .header-menu.active::-webkit-scrollbar-button {
        display: none;
        height: 0;
        width: 0;
    }

    .header-menu.active::-webkit-scrollbar-track {
        display: none;
        background: var(--linka);
        background-clip: padding-box;
        border-radius: 0px;
    }

    .header-menu.active::-webkit-scrollbar-thumb {
        display: none;
        background: var(--link);
        background-clip: padding-box;
        border-radius: 5px;
    }

    .header-menu.active::-webkit-scrollbar-thumb:horizontal {
        display: none;
        background: var(--link);
    }

    .header-menu.active::-webkit-scrollbar-corner {
        display: none;
        background: transparent;
    }

    .header-menu.active::-webkit-scrollbar-track-piece {
        display: none;
        background-clip: padding-box;
        background: var(--linka);
    }

    .main .content.articles {
        min-width: 100%;
    }

    .article-detail {
        flex-flow: row-reverse wrap;
    }

    .article-detail > div {
        min-width: 100%;
    }

    .article-detail > div:first-child {
        order: 1;
    }

    main .articles .article .imgshort {
        display: none;
    }

    main .articles .article-detail .caption {
        padding-left: 0;
    }

    main .articles .article-detail .info .stat {
        justify-content: space-between;
    }

    main .articles .article .info .stat .detail-tags {
        margin-left: 0;
    }

    header .bb {
        display: block;
    }

    header .header-menu {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        max-width: -webkit-max-content;
        max-width: -moz-max-content;
        max-width: max-content;
        min-width: 320px;
        max-height: 100vh;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 2;
        background: #E5E5E5;
        padding: 0;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
    }

    .header-menu .close {
        display: block;
    }

    header .header-menu.active {
        right: 0;
        min-width: 375px;
    }

    header .button {
        display: inline-block;
    }

    header .header-menu + .button {
        display: none;
    }

    header .header-menu > ul {
        background: var(--link);
        height: 80px;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-right: 24.533%;
        padding-left: 20px;
    }

    header .header-menu > ul li a.active:after {
        display: none;
    }

    .authors .title {
        color: var(--link);
        line-height: 1.75;
    }
    header .header-menu .authors .title{
        padding-bottom: 12px;
    }

    .tags .blog-menu {
        display: block;
        margin: 0;
    }

    .authors, .tags, .join {
        margin: 10% 0;
        padding: 0 10%;
    }

    .join .title {
        color: #000;
        font-family: 'site_medium';
        font-size: 1.14rem;
        line-height: 1.6;
        text-align: center;
        margin: 0 auto 14px;
        max-width: 250px;
    }

    .header-menu .blog-menu ul li, .header-menu .blog-menu ul li + li {
        padding: 0;
    }

    header .blog-menu li a {
        line-height: 1;
        background: #fff;
        display: block;
        width: 100%;
        border-radius: 30px;
        padding: 13px 10px 13px 16px;
    }

    .header-menu ul li, .header-menu ul li + li {
        padding-left: 0;
    }

    header .blog-menu li a:hover, header .blog-menu li a.active:hover {
        background: var(--link);
        color: #fff;
    }

    header .blog-menu li a.active {
        color: var(--link);
    }


    main .aside {
        display: none;
    }

    main .articles .article.img-left .img {
        flex: 0 0 100%;
        padding-right: 40px;
    }

    main .articles .article.img-left {
        flex-flow: row wrap;
    }

    main .articles .article.img-left > .img img {
        width: 100%;
        height: 200px;
    }

    main .articles .article.img-left {

    }

    main .articles .article .info, main .articles .article.img-left .info {
        padding: 20px;
    }

    main .articles .article.img-left  .info{
        min-width: 100%;
    }

    main .articles .article .info .title {
        font-size: 20px;
        line-height: 29px;
    }

    main .articles .article .info .text {
        line-height: 22.8px;
    }
}

@media (max-width: 800px) {
    header {
        padding: 20px 54px 15px 54px;
    }
    header .button-cntnr {
        margin-left: -97px;
    }
    main .main h1 {
        font-size: 1.5rem;
        line-height: 1.35;
    }
    main .articles .main-header h2 {
        font-size: 1rem;
        line-height: 1.6;
    }

    main .articles .article .social {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    main .articles .article .social > span {
        flex: 0 0 50%;
        text-align: left;
    }

    main .articles .article .social > span + span {
        display: flex;
        justify-content: space-evenly;
    }

    main .articles .article .social a {
        margin-left: 0;
    }

    .footer-menu ul li {
        padding: 0 15px;
    }

    .read-more .row.cols2 > .col {
        padding-bottom: 40px;
    }
    .row.cols2 > .col {
        flex-basis: 100%;
    }

    main .articles .article .article-footer .social-wrapper {
        display: flex;
        flex-flow: row wrap;
    }

    main .articles .article .article-footer .social-wrapper .social {
        max-width: 100%;
    }

    main .articles .article .article-footer .social-wrapper .social span {
        align-items: center;
    }

    main .articles .article .article-footer .social-wrapper .social.social_like {
        margin: 20px 0 0 0;
    }

}

@media (max-width: 800px),  (max-height: 780px) {
    /*popup*/
    footer .popup-cntnr {
        padding-top: 60px;
        top: 0;
        left: 0;
        background: #00000035;
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 0;
    }

    .popup-header .close {
        top: 18px;
        right: 32px;
        cursor: pointer;

    }

    .popup-cntnr form.for-authors {
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        border-radius: 0;
    }

    .popup-cntnr form.for-authors > div {
        padding: 20px;
    }

    .cntrdiv .cntrl label {
        display: block;
        max-width: 100%;
    }

    .cntrdiv .cntrl, .cntrdiv .cntrs, .cntrdiv .cntrs {
        border: 1px solid var(--link); /*#00A3FF*/
        background: var(--bggrey);
        margin: 0;
        padding: 0;
        position: relative;
        -moz-border-radius: 15px;
        -webkit-border-radius: 15px;
        border-radius: 15px;
        min-height: 68px;
        min-width: calc(100vw - 40px);
    }

    .popup-cntnr form.for-authors textarea {
        width: calc(100vw - 80px);
    }

    .popup-cntnr form.for-authors input.button {
        width: calc(100vw - 40px);
    }

    .popup-cntnr .popup-header {
        background: var(--link);

    }

    popup-header .close {
        right: 10px;
        width: 35px;
        height: 35px;
        padding: 0;
        border-radius: 5px;
        position: absolute;
        top: 11px;
        right: 17px;
        cursor: pointer;

    }
}

@media (max-width: 640px) {

    .block.read-more > .title {
        font-size: 3rem;
    }

      :root {
        --margin: -15px;
        --padding: 15px;
    }

    header .header-menu.active {
        min-width: 100vw;
    }

    .footer-menu {
        display: none;
    }

    main .articles .article .info .caption {
        flex-flow: row wrap;
    }
}

@media (max-width: 560px) {
    main .block .article-detail .table-cntnr {
        max-width: 520px;
        overflow-x: auto;
    }

    main .block .article-detail .table {
        min-width: 540px;
    }

    main .block .article-detail .table > .tr > div {
        min-width: 120px;
    }
    .block.read-more > .title {
        font-size: 2.5rem;
    }

}

@media (max-width: 480px) {
    :root {
        --margin: -3%;
        --padding: 3%;
    }
    .logo {
        width: 100px;
        height: 40px;
    }
    main .articles .article .info .caption .author {
        min-width: 100%;
    }

    main .articles .article .info .caption .stat {
        min-width: 100%;
        justify-content: space-between;
        padding-top: 16px;
    }

    main .articles .article .social {
        flex-flow: row wrap;
    }

    main .articles .article .article-footer .social {
        flex-flow: row wrap;
    }

    main .articles .article .social > span {
        flex: 0 0 100%;
        text-align: center;
    }

    main .articles .article .social > span + span {
        padding-top: 10px;
    }

    main .articles .article .article-footer .social.social_share span + span {
        margin-left: -12px;
    }

    .header-menu ul li {
        padding: 0 15px;
    }

    .header-menu ul li, .header-menu ul li + li, .header-menu ul li + li {
        padding: 0;
    }

}
@media (max-width: 450px){
    header {
        padding: 15px 36px 15px 47px;
    }
    header .button-cntnr {
        margin-left: -8px;
    }
    .block.read-more > .title {
        font-size: 2rem;
    }
}

@media (max-width: 400px) {
    header {
        padding: 15px 16px 15px 28px;
    }
    header .button-cntnr {
        margin-left: -8px;
    }
    main .articles .article .article-footer .social {
        min-width: 100%;
    }
    main .articles .article .article-footer .social > span {
        max-width: 100%;
        min-width: 100%;
        justify-content: center;
    }

    main .articles .article .article-footer .social > span:first-child {
        text-align: center;
        padding-bottom: 10px;
    }

    header .header-menu > ul li {
        padding: 0 10px;
    }

    header .header-menu > ul {
        padding-left: 10px;
    }
}

@media (max-width: 360px) {
    header .header-menu > ul {
        padding-right: 60px;
    }

    header .header-menu > ul li {
        padding: 0 5px;
    }

    header .header-menu > ul {
        flex-flow: row wrap;
        padding-left: 10px;
    }

    .header-menu .close {
        right: 10px;
    }
    .block.read-more > .title {
        font-size: 24px;
    }
}

@media (max-width: 330px) {
    header .header-menu {
        max-width: 100vw;
        right: -120vw;
    }

    header .header-menu > ul li a {
        font-size: 0.75rem;
    }

    .header-menu .close {
        right: 10px;
    }
}

@media (min-width: 1160px) {
    header .button-cntnr {
        padding-left: 55px;
    }
}
.ya-share2__item_service_vkontakte .ya-share2__badge, .ya-share2__item_service_vkontakte .ya-share2__mobile-popup-badge, .ya-share2__item_service_facebook .ya-share2__badge, .ya-share2__item_service_facebook .ya-share2__mobile-popup-badge, .ya-share2__item_service_telegram .ya-share2__badge, .ya-share2__item_service_telegram .ya-share2__mobile-popup-badge, .ya-share2__item_service_odnoklassniki .ya-share2__badge, .ya-share2__item_service_odnoklassniki .ya-share2__mobile-popup-badge, .ya-share2__item_service_twitter .ya-share2__badge, .ya-share2__item_service_twitter .ya-share2__mobile-popup-badge, .ya-share2__item_service_whatsapp .ya-share2__badge, .ya-share2__item_service_whatsapp .ya-share2__mobile-popup-badge, .ya-share2__item_service_viber .ya-share2__badge, .ya-share2__item_service_viber .ya-share2__mobile-popup-badge {background-color: transparent!important; }
.ya-share2__item_service_vkontakte .ya-share2__icon {background-image: url("/css/images/vk.svg")!important; }
.ya-share2__item_service_facebook .ya-share2__icon {background-image: url("/css/images/fb.svg")!important; }
.ya-share2__item_service_telegram .ya-share2__icon {background-image: url("/css/images/telegram.svg")!important; }
.ya-share2__item_service_odnoklassniki .ya-share2__icon {background-image: url("/css/images/ok.svg")!important; }
.ya-share2__item_service_twitter .ya-share2__icon {background-image: url("/css/images/twitter.svg")!important; }
.ya-share2__item_service_whatsapp .ya-share2__icon {background-image: url("/css/images/whatsapp.svg")!important; }
.ya-share2__item_service_viber .ya-share2__icon {background-image: url("/css/images/viber.svg")!important; }