body, p, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

body, p{
    font-size: 16px !important;
}

.w-5{width: 5%}.w-10{width: 10%}.w-15{width: 15%}.w-20{width: 20%}.w-25{width: 25%}.w-30{width: 30%}
.w-35{width: 35%}.w-40{width: 40%}.w-45{width: 45%}.w-50{width: 50%}.w-55{width: 55%}.w-60{width: 60%}
.w-65{width: 65%}.w-70{width: 70%}.w-75{width: 75%}.w-80{width: 80%}.w-85{width: 85%}.w-90{width: 90%}
.w-95{width: 95%}.w-100{width: 100%}

.m-0{margin: 0 !important;}
.my-0{ margin-top: 0 !important; margin-bottom: 0 !important;}
.my-1{ margin-top: 1em !important; margin-bottom: 1em !important;}
.my-2{ margin-top: 2em !important; margin-bottom: 2em !important;}
.my-3{ margin-top: 3em !important; margin-bottom: 3em !important;}
.my-4{ margin-top: 4em !important; margin-bottom: 4em !important;}
.my-5{ margin-top: 5em !important; margin-bottom: 5em !important;}

.mb-1{margin-bottom: 1em !important;}
.mb-2{margin-bottom: 2em !important;}
.mb-3{margin-bottom: 3em !important;}
.mb-4{margin-bottom: 4em !important;}
.mb-5{margin-bottom: 5em !important;}

.mx-0{ margin-left: 0 !important; margin-right: 0 !important;}
.mx-1{ margin-left: 1em !important; margin-right: 1em !important;}
.mx-2{ margin-left: 2em !important; margin-right: 2em !important;}
.mx-3{ margin-left: 3em !important; margin-right: 3em !important;}
.mx-4{ margin-left: 4em !important; margin-right: 4em !important;}
.mx-5{ margin-left: 5em !important; margin-right: 5em !important;}

.p-0{padding: 0 !important;}
.pl-0{padding-left: 0 !important;}
.pr-0{padding-right: 0 !important;}
.pt-0{padding-top: 0 !important;}
.pb-0{padding-bottom: 0 !important;}

.py-0{ padding-top: 0 !important; padding-bottom: 0 !important;}
.py-1{ padding-top: 1em !important; padding-bottom: 1em !important;}
.py-2{ padding-top: 2em !important; padding-bottom: 2em !important;}
.py-3{ padding-top: 3em !important; padding-bottom: 3em !important;}
.py-4{ padding-top: 4em !important; padding-bottom: 4em !important;}
.py-5{ padding-top: 5em !important; padding-bottom: 5em !important;}

.px-0{ padding-left: 0 !important; padding-right: 0 !important;}
.px-1{ padding-left: 1em !important; padding-right: 1em !important;}
.px-2{ padding-left: 2em !important; padding-right: 2em !important;}
.px-3{ padding-left: 3em !important; padding-right: 3em !important;}
.px-4{ padding-left: 4em !important; padding-right: 4em !important;}
.px-5{ padding-left: 5em !important; padding-right: 5em !important;}

.disabled{display: none;}
/*Margin and Padding helpers*/
/*xs*/
/* .p-xs { padding: .25em; }
.p-x-xs { padding: 0 .25em; }
.p-y-xs { padding: .25em 0 ; }
.p-t-xs { padding-top: .25em; }
.p-r-xs { padding-right: .25em; }
.p-b-xs { padding-bottom: .25em; }
.p-l-xs { padding-left: .25em; }
.m-xs { margin: .25em; }
.m-x-xs { margin: 0 .25em; }
.m-y-xs { margin: .25em 0 ; }
.m-r-xs { margin-right: .25em; }
.m-l-xs { margin-left: .25em; }
.m-t-xs { margin-top: .25em; }
.m-b-xs { margin-bottom: .25em; } */
/*sm*/
@media (min-width:768px){
    /*sm*/
    /*
    padding: 0 2rem;
    .p-sm { padding: .5em; }
    .p-x-sm { padding: 0 .5em; }
    .p-y-sm { padding: .5em 0 ; }
    .p-t-sm { padding-top: .5em; }
    .p-r-sm { padding-right: .5em; }
    .p-b-sm { padding-bottom: .5em; }
    .p-l-sm { padding-left: .5em; }
    .m-sm { margin: .5em; }
    .m-x-sm { margin: 0 .5em; }
    .m-y-sm { margin: .5em 0 ; }
    .m-t-sm { margin-top: .5em; }
    .m-r-sm { margin-right: .5em; }
    .m-b-sm { margin-bottom: .5em; }
    .m-l-sm { margin-left: .5em; } */
}

/*md*/
@media (min-width: 992px){
    /* .p-md { padding: 1em; }
    .p-x-md { padding: 0 1em; }
    .p-y-md { padding: 1em 0; }
    .p-t-md { padding-top: 1em; }
    .p-r-md { padding-right: 1em; }
    .p-b-md { padding-bottom: 1em; }
    .p-l-md { padding-left: 1em; }
    .m-md { margin: 1em; }
    .m-x-md { margin: 0 1em; }
    .m-y-md { margin: 1em 0 ; }
    .m-t-md { margin-top: 1em; }
    .m-r-md { margin-right: 1em; }
    .m-b-md { margin-bottom: 1em; }
    .m-l-md { margin-left: 1em; } */
}

/*lg*/
@media (min-width: 1200px){
    /* .p-lg { padding: 1.5em; }
    .p-x-lg { padding: 0 1.5em; }
    .p-y-lg { padding: 1.5em 0; }
    .p-t-lg { padding-top: 1.5em; }
    .p-r-lg { padding-right: 1.5em; }
    .p-b-lg { padding-bottom: 1.5em; }
    .p-l-lg { padding-left: 1.5em; }
    .m-lg { margin: 1.5em; }
    .m-x-lg { margin: 0 1.5em; }
    .m-y-lg { margin: 1.5em 0; }
    .m-t-lg { margin-top: 1.5em; }
    .m-r-lg { margin-right: 1.5em; }
    .m-b-lg { margin-bottom: 1.5em; }
    .m-l-lg { margin-left: 1.5em; } */
}
/*xl*/
/* .p-xl { padding: 3em; }
.p-x-xl { padding: 0 3em; }
.p-y-xl { padding: 3em 0 ; }
.p-t-xl { padding-top: 3em; }
.p-r-xl { padding-right: 3em; }
.p-b-xl { padding-bottom: 3em; }
.p-l-xl { padding-left: 3em; }
.m-xl { margin: 3em; }
.m-x-xl { margin: 0 3em; }
.m-y-xl { margin: 3em 0; }
.m-t-xl { margin-top: 3em; }
.m-r-xl { margin-right: 3em; }
.m-b-xl { margin-bottom: 3em; }
.m-l-xl { margin-left: 3em; } */

/* ///////////// */

.w-100{
    width:100%;
}

.pointer{
    cursor: pointer
}

.text-red{
    color: red !important;
}
.text-green{
    color: rgb(69, 116, 0) !important;
}
.text-yellow{
    color: rgb(192, 202, 42) !important;
}

tr,td{
    /* font-weight: 400 !important; */
    white-space: normal !important; /*перенос строк*/
}

.mi-menu .sidebar-nav, .mi-menu .sidebar-nav li.active{
    background-color: white !important;
    border: none !important;
}
.mi-menu .sidebar-nav li{
    border-left: 1px solid #d6d6d6 !important;
}

.mi-menu .sidebar-nav li.active{
    border-left: 1px solid #0057b7 !important;
}

.mi-menu .sidebar-nav li:hover{
    border-left: 1px solid #0057b7 !important;
}

.mi-menu .sidebar-nav ul a {
    transition: all 0.1s ease-out !important;
}

.mi-menu .sidebar-nav ul a:hover {
    padding-left: 2em !important;
    color:black !important;

}

.header-base.white{
    /*background-color: #e0f3fc !important; */
}

.mb-img{
    margin-bottom: 10px;
}

.header-base-xs h1::before{
    height: 0;
}

.fa-angle-double-right::after{
    content: '' !important;
}

.text-indent-2{
    text-indent: 2em !important;
}

.underline_dash{

    border-bottom: 1px rgb(189, 189, 255) dashed;
    /* text-decoration: underline; */
}

.errorborder{
    border-color: red !important;
}

.errortext{
    color: red;
}

.alert-error{
    color: #c32600;
}

option{
    padding: 10px 2px 1px;
}

.pagination > li.disabled > a{
    color: #ccc
}
.pagination > li.disabled > a:hover{
    color: #ccc
}
.pagination > li.disabled > a i:before{border-color: #ccc;}

/* BootGridTable.vue не применяем ширину колонок */
@media (max-width: 992px) {
    table.bootgrid-table tr > th, table.bootgrid-table tr > td {
        width: 100% !important;
    }
}

.datepicker-container{
    z-index:10000 !important;
}

.pa-border{
    border: 1px solid #dcdcdc;
    /* border-radius: 5px;
    border-collapse: none !important; */
}


[class*=header-] .title-base p {
    margin-top: 40px !important;
    /*max-width: 640px !important;*/
    width: 640px !important;
}

.loading-shadow {
    display: none;
    background: rgba(102, 102, 102, 0.5);
    background: url("/images/loading.gif") no-repeat center center;
    background-size: 70px;
    width: 100%;
    height: 100vh;
    position: fixed;    top: 0;    left: 0;
    overflow: hidden;
}

.header-pa {
    border:0;
    padding:0;
    background-image: url('../../images/back.png');
    opacity:1;
    box-shadow: 0px 0 9px 0px gray;
}

/* повышение стилей WHTF */
.header-base h1, .header-base.header-bar h1{
    margin-top: 10px !important;
}
/* повышение стилей bootstrap */
.btn-danger {
    color: #ffffff !important;
    background-color: #d9534f !important;
    border-color: #d43f3a !important;
}
.btn-danger:hover {
    color: #ffffff !important;
    background-color: #d9534f !important;
    border-color: #d43f3a !important;
}

.table > thead > tr > th {
    border-left: 1px dotted #dddddd;
}

/* исправление scin.css*/
table.table:not(.grid-table) > tbody > tr > td, table.table:not(.grid-table) > tbody > tr > th {
    font-size: 16px;
    padding: 12px 10px !important;
    /* padding-left: 12px;
    padding-right: 3px; */
}

@media (min-width: 992px){
    table.table:not(.grid-table) > tbody > tr > td, table.table:not(.grid-table) > tbody > tr > th {
        font-size: 13px;
        padding: 15px;
        padding-left: 12px;
        padding-right: 3px;
    }
}

.password-eye{
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.shadow{
    box-shadow: 0 0 7px #9c9c9c;
}
.shadow-megalg{
    box-shadow: 0 0 60px #9c9c9c;
}



select {
    padding: 3px 0;
}

/* td {
    padding: 10px 0 !important;
} */


/* Анимированное подчеркивание ссылок https://habr.com/ru/post/434574/ */
.a-animate {

    padding: 5px;
    text-decoration: none;

    background-image: linear-gradient(#2eb7f2, #2eb7f2); /* currentColor */
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.3s;
}

.a-animate:hover, .a-animate:focus {
    background-size: 100% 1px;
}
ul.dashed {
    list-style-type: none;
    padding-left: 30px;
}
ul.dashed > li {
    text-indent: -5px;
}
ul.dashed > li:before {
    content: "-";
    padding-right: 10px;
}
.gallery p{
    color:#777!important;
    margin-bottom:5px;
}

.boxed-inverse.boxed-border.border-color.white.middle-content.text-center.anima.fade-top > p{
    text-align: center!important;
}

.section_contacts{
    position: relative;
    top: -40px;
    z-index: 150;
}

.section_contacts > p{
    line-height: 20px;
}

.section_contacts > p.border_bottom{
    margin-bottom: 30px;
    border-bottom: 2px solid #D9D9D9;
    width: 47%!important;
    padding-bottom: 10px;
}

ymaps:not([class]){
    width: 50%!important;
    float: right;
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px){
    /*comment*/
    ymaps:not([class]){
        width: 100%!important;
        float: right!important;
    }

    .section_contacts{
        top: 0!important;
    }

    .section_contacts > p{
        text-align: center!important;
    }

    .section_contacts > p.border_bottom{
        width: 100%!important;
    }
}

/* Main page news block (Figma 37:146) */
.main-news {
    padding: 48px 0 56px;
}

.main-news__head {
    margin-bottom: 32px;
}

.main-news__title {
    margin: 0 0 11px;
    color: #000;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.main-news__separator {
    width: 370px;
    max-width: 100%;
    height: 5px;
    background: linear-gradient(
            90deg,
            #c5003e 0%,
            #ffffff 15%,
            #0057b7 15%,
            #ffffff 100%
    );
}

.main-news__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin-bottom: 32px;
}

.main-news-card {
    display: flex;
    flex-direction: column;
    width: calc(25% - 14.25px);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.main-news-card__image {
    display: block;
    height: 160px;
    overflow: hidden;
    background: #f1f1f1;
}

.main-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 8px 8px 22px;
    border: 1px solid #f1f1f1;
    border-top: 0;
}

.main-news-card__date {
    color: #797979;
    font-size: 12px;
    line-height: 15px;
}

.main-news-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.main-news-card__caption {
    margin: 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.main-news-card__caption a {
    color: inherit;
    text-decoration: none;
}

.main-news-card__caption a:hover {
    color: #c5003e;
}

.main-news-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.main-news-card__desc {
    margin: 0;
    color: #929292 !important;
    font-size: 15px !important;
    line-height: 17px !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-news-card__more {
    color: #929292;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: underline;
}

.main-news-card__more:hover {
    color: #c5003e;
}

.main-news__actions {
    display: flex;
    justify-content: center;
}

.main-news__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px 10px 21px;
    border-radius: 2px;
    background: #c5003e;
    color: #fff !important;
    font-size: 14.4px;
    line-height: 20px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.main-news__all:hover,
.main-news__all:focus {
    background: #a80034;
    color: #fff !important;
}

.main-news__all-icon {
    display: block;
    flex-shrink: 0;
    width: 6px;
    height: 15px;
    overflow: visible;
}

@media only screen and (max-width: 991px) {
    .main-news-card {
        width: calc(50% - 9.5px);
    }
}

/* Mobile (Figma 38:147) */
@media only screen and (max-width: 575px) {
    .main-news {
        padding: 32px 0 40px;
    }

    .main-news__head {
        margin-bottom: 22px;
    }

    .main-news__title {
        margin: 0;
        font-size: 19px;
        line-height: 23px;
    }

    .main-news__separator {
        display: none;
    }

    .main-news__grid {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 16px;
        margin-bottom: 24px;
    }

    .main-news-card {
        width: 100%;
    }

    .main-news-card__image {
        height: 160px;
    }

    .main-news-card__desc {
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }
}

.news-list {
    padding: 40px 0 64px;
}

.news-list__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    font-size: 12px;
    line-height: 1.2;
}

.news-list__breadcrumbs a {
    color: #000;
    text-decoration: none;
}

.news-list__breadcrumbs a:hover {
    color: #0057b7;
}

.news-list__breadcrumbs-sep,
.news-list__breadcrumbs span:last-child {
    color: #929292;
}

.news-list__title {
    margin: 0 0 32px;
    color: #000;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
}

.news-list__years {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 42px;
}

.news-list__year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: #585858;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.news-list__year:hover {
    color: #0057b7;
}

.news-list__year.is-active {
    color: #0057b7;
    font-weight: 500;
    border-bottom-color: #0057b7;
}

.news-list__items {
    display: flex;
    flex-direction: column;
}

.news-list-item {
    display: flex;
    gap: 22px;
    padding: 32px 0;
    border-bottom: 1px solid #e6e6e6;
}

.news-list-item:first-child {
    padding-top: 0;
}

.news-list-item__image {
    flex: 0 0 310px;
    width: 310px;
    height: 170px;
    overflow: hidden;
    background: #f1f1f1;
}

.news-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-list-item__body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1;
    min-width: 0;
}

.news-list-item__date {
    color: #797979;
    font-size: 14px;
    line-height: 1.2;
}

.news-list-item__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.news-list-item__caption {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
}

.news-list-item__caption a {
    color: inherit;
    text-decoration: none;
}

.news-list-item__caption a:hover {
    color: #c5003e;
}

.news-list-item__meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
    min-height: 91px;
}

.news-list-item__desc {
    margin: 0;
    color: #929292 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-item__more {
    color: #929292;
    font-size: 16px;
    line-height: 15px;
    text-decoration: underline;
}

.news-list-item__more:hover {
    color: #c5003e;
}

.news-list__empty {
    margin: 0;
    color: #929292;
    font-size: 16px;
}

.news-list__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.news-list__pagination-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-list__pagination-pages {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-list__page-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #929292;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.news-list__page-link--edge {
    color: #bbbbbb;
}

.news-list__page-link:hover:not(.is-disabled) {
    color: #0057b7;
}

.news-list__page-link.is-disabled {
    color: #bbbbbb;
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
}

.news-list__page-link svg {
    display: block;
    flex-shrink: 0;
}

.news-list__page-num {
    color: #929292;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.news-list__page-num:hover {
    color: #0057b7;
}

.news-list__page-num.is-active {
    color: #0057b7;
    pointer-events: none;
}

@media only screen and (max-width: 991px) {
    .news-list-item__image {
        flex-basis: 240px;
        width: 240px;
        height: 140px;
    }
}

@media only screen and (max-width: 575px) {
    .news-list {
        padding: 24px 0 40px;
    }

    .news-list__breadcrumbs {
        margin-bottom: 14px;
    }

    .news-list__title {
        margin-bottom: 22px;
        font-size: 28px;
    }

    .news-list__years {
        margin-bottom: 28px;
    }

    .news-list__year {
        padding: 10px 16px;
        font-size: 16px;
    }

    .news-list__items {
        gap: 16px;
    }

    .news-list-item {
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 0;
        border-radius: 4px;
        overflow: hidden;
        background: #fff;
    }

    .news-list-item__image {
        flex: none;
        width: 100%;
        height: 160px;
    }

    .news-list-item__body {
        gap: 16px;
        padding: 8px 8px 22px;
        border: 1px solid #f1f1f1;
        border-top: 0;
    }

    .news-list-item__date {
        font-size: 12px;
        line-height: 15px;
    }

    .news-list-item__content {
        gap: 12px;
    }

    .news-list-item__caption {
        font-size: 16px;
    }

    .news-list-item__meta {
        gap: 8px;
        min-height: 0;
    }

    .news-list-item__desc {
        font-size: 15px !important;
        line-height: 17px !important;
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }

    .news-list-item__more {
        font-size: 14px;
    }

    .news-list__pagination {
        gap: 12px;
        margin-top: 32px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .news-list__pagination-group {
        gap: 0;
    }

    .news-list__page-link--edge {
        display: none;
    }

    .news-list__pagination-pages {
        gap: 12px;
    }
}

form.form-box .js-pd-consent,
form.form-box .js-pd-consent em {
    display: block;
    margin: 14px 0 0;
    padding: 0;
    max-width: 100%;
    font-size: 12px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1.45;
    letter-spacing: 0;
    color: #6b6b6b;
    text-align: left;
}

form.form-box .js-pd-consent a,
form.form-box .js-pd-consent a:visited {
    font-size: inherit !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: #6b6b6b;
    text-decoration: underline;
}

form.form-box .js-pd-consent a:hover {
    color: #c41230;
}