body,
body p,
body a {
    font-family: 'Montserrat';
    font-weight: normal;
    font-weight: 500;
    color: #003878;
    font-size: 18px;
}

@media (max-width: 767px) {
    body,
    body p,
    body a {
        color: #003878;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    body,
    body p,
    body a {
        color: #003878;
        font-size: 14px;
    }
}
body {
    /* background-color: #ebf4ff; */
    /* background-color: #fdfefe; */
    background-color: #EBF4FF;
}
.header_top,
.header_top a {
    color: white
}
.container {
    max-width: 1366px;
}
@media (max-width: 1199px) {
    .container {
        max-width: 1120px;
    }
}
@media (max--width: 1114px) {
    .banner_top {
        background-size: 70%;
    }
}
@media (max-width: 768px) {
    .container {
        max-width: 708px;
    }
}
@media (max-width: 575px) {
    .container {
        max-width: 536px;
    }
}

.header_top {
    padding-top: 12px;
    padding-bottom: 12px;
}
.header_top .phone__link {
    padding-left: 29px;
    background: url('../img/i_phone.svg') no-repeat;
    background-size: 20px;
}
@media (max-width: 1003px) {
    .header_top,
    .header_top a {
        font-size: 16px;
    }
    .header_top .phone__link {
        background-size: 19px;
        display: inline-block;
    }
}
@media (max-width: 898px) {
    .header_top,
    .header_top a {
        font-size: 14px;
    }
}
@media (max-width: 898px) {
    .header_top,
    .header_top a {
        font-size: 13px;
    }
}
@media (max-width: 346px) {
    .header_top,
    .header_top a {
        font-size: 12px;
    }
    .header_top .phone__link {
        padding-left: 24px;
    }
}

/* Header Bottom */
.header {
    background-image: linear-gradient(180deg, #FFFFFF 0.01%, #C7E0FC 100%);
}
.banner_top {
    position: relative;
    padding-bottom: 35px;
    background: #DAEAFD;
    background: linear-gradient(180deg, #FFFFFF 0.01%, #C7E0FC 100%);
    background-image: url("../img/slider_bg.svg");
    background-repeat: no-repeat;
    background-position: right bottom;
}
.banner_top:before,
.banner_top:after {
    content: '';
    display: block;
    position: absolute;
}
.banner_top:before {
    /* background-image: url('../img/stars_left.svg'); */
    width: 151px;
    height: 278px;
    /* right: 50%; */
    right: 42%;
    top: 15%;
}
.banner_top:after {
    background-image: url('../img/stars_right.svg');
    width: 127px;
    height: 278px;
    right: 11%;
    bottom: 13%;
}
.col-md-6.d-none.d-md-block.half:before {
    content: '';
    display: block;
    position: absolute;
    background-image: url('../img/stars_left.svg');
    width: 151px;
    height: 278px;
    left: 0;
    top: 0;
    z-index: -1;
}
.banner_top:before,
.banner_top:after {
    /* display: none; */
}
@media (max-width: 768px) {
    .banner_top:before,
    .banner_top:after {
        display: none;
    }
    .banner_top .col-md-6.d-none.d-md-block.half {
        display: none !important;
    }
    .col-md-6.col-sm-12.desc {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.header_bottom {
    padding-top: 15px;
    padding-bottom: 15px;
}
.header_bottom .lk {
    /* display: none; */
}
.lk_link.logged_out {
    background: url('../img/user.svg') no-repeat;
    background-size: 29px;
    padding-left: 37px;
    align-items: center;
    display: inline-block;
    padding-top: 5px;
    font-size: 16px;
    padding-left: 47px;
}
.menu_main {
    padding-left: 0;
    margin-bottom: 0;
}
.menu_main a {
    font-size: 16px;
}
.col-md-6.d-none.d-md-block.half {
    text-align: right;
}
@media (min-width: 1200px) {
    .main_page_link {
        display: none;
    }
}
@media (max-width: 1252px) {
    .menu_main a {
        /* font-size: 14px; */
    }
   .header_bottom .lk_link {
        padding-left: 28px;
        background-size: 24px;
        background-position: left 2px;
        font-size: 14px;
   }
}
.toggle_btn {
    margin-right: 30px;
}
.toggle_btn span {
    display: block;
    background-color: #CC2128;
    width: 30px;
    height: 4px;
    border-radius: 50px;
    margin-bottom: 8px;
    transition: all .2s;
}
.toggle_btn span:nth-child(2) {
    width: 19px;
}
.toggle_btn.active {
    position: absolute;
    z-index: 777;
    top: 0;
    right: 0;
}
@media (max-width: 768px) {
    .toggle_btn.active {
        top: 25px;
    }
}
@media (max-width: 768px) {
    .toggle_btn.active {
        /* top: 25px; */
        top: 0;
    }
}
.toggle_btn.active span:nth-child(1) {
    transform: rotate(45deg);
    margin-bottom: -4px;
}
.toggle_btn.active span:nth-child(2) {
    display: none;
}
.toggle_btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    margin-bottom: 4px;
}
@media (max-width: 1199px) {
    .header_bottom .logo img {
        width: 106px;
    }
}
@media (max-width: 991px) {
    .slider .swiper-pagination {
        bottom: -5%;
    }
}

@media (max-width: 950px) {
    .banner_top .swiper-slide {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .header_bottom .logo img {
        width: 73px;
    }
    .toggle_btn span {
        width: 25px;
        margin-bottom: 7px;
    }
    .header_bottom .lk_link {
        background-size: 20px;
        font-size: 13px;
        padding-left: 24px;
        padding-top: 3px;
        margin-top: -9px;
    }
}

@media (max-width: 480px) {
    .banner_top .slider .swiper-pagination-bullet {
        color: white;
    }
    .banner_top .slider .swiper-pagination:before {
        background-color: white;
    }
    .banner_top .swiper-slide {
        margin-bottom: 0;
    }
    .banner_top .slider {
        padding-bottom: 35px;
    }
}

@media (max-width: 338px) {
    .header_bottom .lk {
        padding-left: 0;
    }
    .header_bottom .lk_link {
        padding-left: 14px;
        width: 100%;
        background-position: 6px 1px;
    }
}
/* Menu main adaptive */
@media (max-width: 1199px) {
    .main_menu__wrapper {
        position: absolute;
        background-color: white;
        /* top: 52px; */
        top: 0;
        z-index: 150;
        height: 100vh;
        left: -107%;
        transition: all .2s;
    }
    .main_menu__wrapper.active {
        position: fixed;
        /* top: 52px; */
        top: 0;
        width: 100vw;
        height: 100vh;
        left: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .menu_main {
        display: flex;
        flex-direction: column;
        padding-top: 50px;
    }
    .menu_main li { 
        margin-bottom: 31px;
    }
    .menu_main .menu-item {
        padding-left: 35px;
    }
    .menu_main .menu-item a {
        font-size: 16px;
    }
}

@media (max-width: 410px) {
    .menu_main .menu-item {
        padding-left: 25px;
    }
}

/* Slider на Главной */
.slider_img {
    width: 557px;
    height: auto;
}
body .swiper-button-prev,
body .swiper-button-next {
    opacity: 1;
    border: none;
    outline: none;
    width: 40px;
    top: 41%;
}
body .swiper-button-prev:hover,
body .swiper-button-next:hover {
    opacity: .35;
}
.swiper-button-prev {
    left: -70px;
    opacity: 1 !important;
}
.swiper-button-next {
    right: -70px;
}
.swiper-button-prev:after,
.swiper-button-next:after {
    content: '';
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
}
.swiper-button-prev:after {
    background-image: url('../img/arrow_left.svg');
}
.swiper-button-next:after {
    background-image: url('../img/arrow_right.svg');
}
.slider .buttons {
    margin-top: 35px;
}
.slider .buttons .btn_red {
    margin-right: 21px;
}
.slider .desc {
    display: inline-block;
    padding-top: 50px;
}
.slider .desc img {
    margin-bottom: 14px;
}
.slider .half img {
    max-width: 100%;
    /* height: 100%; */

    width: auto;
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .slider .half img {
        display: none;
    }
}
.slider .swiper-slide:nth-of-type(3) .half img {
    /* height: 103%; */
    margin-top: 5px;
}
.slider .desc div {
    display: inline-block;
    font-size: 24px;
    line-height: 32px;
    font-weight: normal;
    color: #003878;
    margin-bottom: 30px;
}
.slider .desc li {
    font-weight: 300;
    font-size: 18px;
}
.slider .desc li strong {
    font-weight: 600;
}
.slider .swiper-pagination {
    position: relative;
    text-align: left;
    padding-left: 46px;
    margin-top: -48px;
}
.slider .desc p strong {
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
}

@media (max-width: 1104px) {
    .slider .swiper-pagination {
        margin-top: 0;
    }
}

.slider.gallery .swiper-pagination {
    margin-top: 0;
}
@media (min-width: 1200px) and (max-width: 1526px) {
    .slider .swiper-pagination {
        margin-left: 73px;
    }
}
.slider .swiper-pagination:before {
    content: '';
    display: inline-block;
    width: 39px;
    height: 1px;
    background-color:#003878;
    position: absolute;
    bottom: 14px;
    left: 0;
}
.slider .swiper-pagination-bullet {
    background-color: transparent;
    font-size: 18px;
    line-height: 30px;
    color: #003878;
    opacity: 1;
}
.slider .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 8px;
}
.slider .swiper-pagination-bullet-active {
    font-weight: bold;
    font-size: 22px;
}
.slider .buttons .btn_red_color {
    background-color: #DAEBFE;
}
@media (max-width: 945px) {
    .slider .buttons .btn_red {
        margin-bottom: 3px;
    }
    .slider .buttons .btn_red_color {
        min-width: 210px;
        text-align: center;
    }
}
.slider .swiper-slide .slide_image {
    display: flex;
    align-items: center;
}
.slider .swiper-slide:nth-of-type(5) .slide_image {
    padding-top: 37px;
}
@media (max-width: 1526px) {
    .slider .swiper-button-next {
        right: 1%;
    }
    .slider .swiper-button-prev {
        left: 1%;
    }
}
@media (min-width: 1200px) and (max-width: 1526px) {
    .slider .desc {
        padding-left: 87px;
    }
}
@media (max-width: 1200px) {
    .slider .swiper-button-prev,
    .slider .swiper-button-next {
        display: none;
    }
    .slider .swiper-slide {
        overflow: hidden;
    }
}
@media (max-width: 767px) {
    .header {
        background-image: (180deg, #FFFFFF 0.01%, #C7E0FC 100%);
    }
   .banner_top {
       background-size: 494px;
   }
}

@media (max-width: 1030px) {
    .banner_top {
        background-size: 70%;
    }
}

@media (max-width: 595px) {
    .slider .swiper-pagination {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .banner_top {
        padding-bottom: 0;
        background-size: contain;
    }
    .slider .desc img {
        max-width: 100%;
    }
    .slider .desc p {
        font-size: 22px;
        line-height: 30px;
    }
    .slider .buttons .button {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}

@media (max-width: 991px) {
    .header_fixed .header_top {
        /* display: none; */
        height: 0;
        transition: height .2s;
    }
    .header.fixed .header_bottom {
        position: fixed;
        width: 100%;
        top: 43px;
        z-index: 77777;
        top: 0;
        transition: .2s;
    }
    body.scroll_300 .sidebar_section {
        top: 84px;
    }
}

@media (max-width: 768px) {
    .header_top {
        /* display: none; */
    }
    .header_top .text {
        display: none !important;
    }
    .header_top {
        position: fixed;
        width: 100%;
        z-index: 77777;
        top: 0;
    }
    .banner_top {
        padding-top: 94px;
    }
    .header_bottom {
        position: fixed;
        width: 100%;
        top: 43px;
        z-index: 77777;
    }
    .header_fixed .header_top {
        /* display: none; */
        height: 0;
        transition: height .2s;
    }
    .header.fixed .header_bottom {
        top: 0;
        transition: .2s;
    }
    .main_page .header_bottom {
        background-color: #fdfefe;
    }
    .header_bottom.white_bg {
        background-color: white;
    }
}

@media (max-width: 480px) {
    .banner_top {
        /* padding-top: 90px; */
    }
}

/* ideas */
.main .section_01 {
    padding-top: 108px;
}
@media (max-width: 1200px) {
    .main .section_01 {
        padding-top: 50px;
    }
}
@media (max-width: 768px) {
    .main .section_01 {
        padding-top: 20px;
    }
}
@media (max-width: 576px) {
    .main .section_01 {
        padding-top: 37px;
    }
}
.ideas .title {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}
.ideas .title img {
    margin-right: 27px;
    max-width: 99px;
    width: 99px;
}
.ideas .title span {
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    max-width: 374px;
}
.ideas .desc {
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    color: #003878;
}
.ideas .item {
    margin-bottom: 38px;
}

@media (max-width: 767px) { 
    .ideas .title span {
        line-height: 24px;
    }
    .ideas .desc {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 576px) {
    .ideas .title span {
        font-size: 16px;
    }
    .ideas .title img {
        width: 47px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) { 
    .ideas .title {
        margin-bottom: 15px;
    }
    .ideas .title span {
        font-size: 16px;
        line-height: 20px;
    }
    .ideas .desc {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 335px) {
    .ideas .title span {
        font-size: 15px;
    }
}

/* features */
.main .section_02 {
    /* padding-top: 108px; */
    padding-bottom: 70px;
}
@media (max-width: 1200px) {
    .main .section_02 {
        padding-top: 93px;
    }
}
@media (max-width: 768px) {
    .main .section_02 {
        padding-top: 63px;
    }
}
@media (max-width: 576px) {
    .main .section_02 {
        padding-top: 53px;
    }
}
.features {
    /* display: none; */
}
.features .item {
    /* padding-right: 5px; */
    margin-bottom: 17px;
}
.features .item .inner {
    background-color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    /* padding: 25px 25px; */
    padding: 42px 17px;
    background-image: url('../img/f_stars.svg');
    background-repeat: no-repeat;
    /* background-position: 200px 18px; */
    background-position: 83% 18px;
    height: 100%;
    /* filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); */
    /* background: linear-gradient(0deg, #FFFFFF, #FFFFFF), linear-gradient(90.41deg, #F0EDFF 25.04%, #D9D9FF 83.19%); */
    box-shadow: 0px 4px 20px rgba(202, 201, 236, 0.3);
}
.features .item .title {
    max-width: 100%;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
}
.features .item img {
    max-width: 70px;
    margin-right: 20px;
}

@media (max-width: 1359px) {
    .features .item .inner {
       padding-right: 16px;
    }
}

@media (max-width: 960px) {
    .features .item .title {
        font-size: 16px;
        line-height: 18px;
    }
}

@media (max-width: 880px) {
    .features .item .inner {
        padding: 25px 10px;
        background-size: 68px;
        background-position: 83% 18px;
    }
    .features .item img {
        max-width: 70px;
        margin-right: 10px;
    }
    .features .item .title {
        font-size: 12px;
        line-height: 18px;
    }
}

@media (max-width: 768px) {
    .features .item .title {
        font-size: 12px;
        line-height: 18px;
    }
    .features .item img {
        max-width: 40px;
        margin-right: 20px;
    }
}

@media (max-width: 668px) {
    .features .item img {
        margin-right: 14px;
    }
}

@media (max-width: 635px) {
    .features .item .inner {
        padding: 25px 5px;
    }
    .features .item img {
        max-width: 35px;
        margin-right: 10px;
    }
}

@media (max-width: 575px) {
    .features .item .inner {
        background-image: none;
    }
}

@media (max-width: 480px) {
    .features .item .inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .features .item img {
        margin-bottom: 6px;
    }
    .features .item .title {
        font-size: 12px;
        line-height: 15px;
    }
}

/* gallery */
.main .section_03 {
    padding-top: 78px;
}
.main .section_03 h2 {
    margin-bottom: 32px;
}
.main .section_04 {
    margin-bottom: 78px;
}
@media (max-width: 991px) {
    .main .section_04 {
        margin-bottom: 0;
    }
}
.main .section_04 .image {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1200px) {
    .main .section_03 {
        padding-top: 90px;
    }
}
@media (max-width: 768px) {
    .main .section_03 {
        padding-top: 60px;
        margin-bottom: 35px;
    }
}
@media (max-width: 576px) {
    .main .section_03 {
        padding-top: 50px;
    }
}
.gallery {
    padding-bottom: 80px;
}
.gallery-container {
    position: relative;
    overflow: hidden;
}
.slider .gallery-container .swiper-wrapper {
    margin-bottom: 82px;  
}
.main {
    background-image: url('../img/gallery_bg.svg');
    background-repeat: no-repeat;
    background-position: bottom left;
}
.main .gallery {
    position: relative;
}
.main .gallery .swiper-button-next,
.main .gallery .swiper-button-prev {
    /* margin-top: -67px; */
}
.main .gallery:before,
.main .gallery:after {
    content: '';
    display: block;
    position: absolute;
}
.main .gallery:before {
    background-image: url('../img/gallery_before.svg');
    width: 606px;
    height: 275px;
    left: 96px;
    bottom: 37px;
}
.main .gallery:after {
    background-image: url('../img/gallery_after.svg');
    width: 471px;
    height: 465px;
    right: 36px;
    bottom: 0;
}
.main .gallery .swiper-pagination-bullet {
    color: #003878;
}
.gallery.slider .swiper-pagination:before {
    background-color: #003878;
}

.main .gallery .swiper-slide .title {
    /* background-color: white; */
    padding: 1px 10px;
    margin-top: 11px;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    line-height: 19px;
    color: #ff7a00;

    /* text-shadow: 1px 2px 0px #fff; */
}

@media (max-width: 767px) {
    .main .gallery .swiper-slide .title {
        font-size: 14px;
    }
    .main .gallery:before,
    .main .gallery:after {
        display: none;
    }
}
@media (max-width: 576px) {
    .main .gallery .swiper-slide .title {
        padding: 1px 10px 5px;
        font-size: 12px;
        line-height: 13px;
    }
}
@media (max-width: 480px) {
    .main .gallery .swiper-slide .title  {
        font-size: 16px;
        margin-top: 16px;
    }
}
@media (max-width: 479px) {
    .main .gallery .swiper-slide {
        flex-direction: column;
    }
    .main .gallery .swiper-slide .title  {
        font-size: 16px;
        margin-top: 16px;
        line-height: 19px;
    }
}
.main .gallery  img {
    max-width: 100%;
    border-radius: 10px;
}

@media (max-width: 1526px) {
    .main .gallery .swiper-button-prev,
    .main .gallery .swiper-button-next {
        display: none;
    }
    .main .gallery.slider .swiper-pagination {
        margin-top: 0;
        margin-left: 0;
    }
}

@media (max-width: 1199px) {
    .main .gallery .swiper-button-prev,
    .main .gallery .swiper-button-next {
        display: none;
    }
    .main .gallery .swiper-container-horizontal>.swiper-pagination-bullets {
       margin-top: -20px;
    }
    .main .gallery.slider .swiper-pagination {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .main {
        background-size: 899px;
    }
}
@media (max-width: 767px) {
    .main {
        background-size: 496px;
    }
}
@media (max-width: 480px) {
    .main {
        background-size: 360px;
    }
    .main .gallery {
        padding-bottom: 30px;
    }
    .main .gallery .swiper-slide {
        display: flex;
        justify-content: center;
    }
}

/* footer */
.footer {
    /* background-color: #333333; */
    background-color: #003878;
    padding-top: 28px;
    padding-bottom: 37px;
}
.footer,
.footer a,
.footer p {
    color: white;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
}
.footer_menu {
    margin-bottom: 25px;
}
.footer_menu a {
    font-weight: 600;
}
.footer .contacts {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
}
.footer .contacts li {
    margin-right: 64px;
}
.footer .contacts li span {
    display: block;
    margin-bottom: 4px;
}
.footer .contacts li .phone {
    background: url('../img/i_phone.svg') no-repeat;
    background-size: 18px;
    padding-left: 26px;
}

.footer .copy,
.footer .copy a,
.footer .copy p {
    font-weight: normal;
    font-size: 10px;
    line-height: 20px;
    text-align: right;
    color: #C6C6C6;
}
.footer .copy .link {
    text-decoration: underline;
}
.footer .copy .link:hover {
    opacity: .8;
    transition: .2s;
}
.footer .footer_menu {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 1199px) {
    .footer {
        padding-bottom: 32px;
    }
    .footer .footer_menu {
        display: none;
    }
    .footer .contacts {
        flex-direction: column;
    }
    .footer .contacts .item {
        margin-bottom: 22px;
    }
    .footer .contacts .item:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .footer .contacts li {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .footer .contacts li {
        margin-right: 4px;
    }
    .footer .contacts li .phone {
        display: inline-block;
        font-size: 14px;
        line-height: 20px;
    }
    .footer .copy,
    .footer .copy p {
        text-align: left;
    }
    .footer .copy p {
        margin-bottom: 7px;
    }
}

@media (max-width: 575px) {
    .footer .contacts {
        flex-direction: row;
    }
    .footer .contacts li {
        margin-right: 15px;
    }
    .footer .contacts li .phone {
        display: inline-block;
        font-size: 12px;
        line-height: 20px;
    }
    .footer .copy,
    .footer .copy p {
        text-align: left;
    }
    .footer .copy p {
        margin-bottom: 7px;
    }
}

@media (max-width: 480px) {
    .footer .contacts {
        flex-direction: row;
    }
    .footer .copy,
    .footer .copy a,
    .footer .copy p {
        font-size: 13px;
    }
    .footer .contacts li:first-child {
        margin-right: 21px;
    }
    .footer .contacts li span,
    .footer .contacts li a.phone {
        display: block;
        font-size: 11px;
        line-height: 20px;
    }
}
.swiper-pagination-bullet,
.swiper-pagination-bullet:active,
.swiper-pagination-bullet:focus,
.swiper-pagination-bullet:hover {
    border: none !important;
    outline: none !important;
}

/* Страница 2-го уровня */
.menu_main .menu-item.active > a,
.menu_main .menu-item:hover > a {
    color: #CC2128;
}
.menu_main .menu-item,
.menu_main .menu-item a {
    position: relative;
}
.menu_main .menu-item > a:after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: #CC2128;
    margin-left: auto;
    margin-right: auto;
    bottom: -11px;
    transform:  scaleX(0);
    position: absolute;
}
@media (min-width: 1200px) {
    .menu_main .menu-item a:after {
        left: 50%;
        margin-left: -20px;
    }
}
.menu_main .menu-item:hover > a:after {
    transform:  scaleX(1);
    transition: .7s;
}
@media (max-width: 1199px) {
    .menu_main .menu-item.active a:after {
        margin-left: 0;
        margin-top: 4px;
    }
}
.menu_main .menu-item .sub-menu a:after {
    display: none;
}
.menu_main .menu-item {
    position: relative;
    z-index: 778;
}
.menu_main .menu-item .sub_menu__wrapper {
   visibility: hidden;
   display: block;
   width: 242px;
   left: -20px;
   top: 30px;
   overflow: hidden;
   position: absolute;
   z-index: 777;
}
.menu_main .menu-item .sub-menu {
    background-color: white;
    box-shadow: 5px 7px 12px 0px #0000002e;
    padding: 8px 7px 14px 7px;
    padding-top: 17px;
}
.menu_main .menu-item .sub-menu .menu-item {
    margin-bottom: 5px;
}
.menu_main .menu-item:hover > .sub_menu__wrapper,
.menu_main .sub_menu__wrapper:hover {
    visibility: visible !important;
}
.menu_main .menu-item .sub-menu a {
    padding: 15px;
}
.second_page .header_bottom {
    background-color: white;
}

.breadcrumbs {
    padding-top: 35px;
    /* padding-bottom: 42px; */
    padding-bottom: 25px;
}
.breadcrumbs:before {
    content: '';
    display: inline-block;
    width: 39px;
    height: 1px;
    background-color: #CC2128;
    margin-right: 15px;
}
.breadcrumbs a,
.breadcrumbs span {
    font-weight: normal;
    font-size: 16px;
    line-height: 30px;
    color: #333333;
}
.breadcrumbs a:hover span {
    color: #CC2128;
}
.breadcrumbs span.current-item {
    color: #CC2128;
}
.breadcrumbs {
    display: flex;
    align-items: center;
}
.breadcrumbs .kb_sep {
    display: inline-block;
    width: 9px;
    height: 1px;
    background-color: #333;
    margin: 0 12px;
}
.breadcrumbs .itemListElement {
    display: block;
}
.breadcrumbs .kb_sep {
    display: inline-block;
    width: 9px;
    height: 1px;
    background-color: #333;
    margin: 0 12px;
}

/* Контакты */
.contacts_section {
    padding-bottom: 50px;
}
.contacts_section .item {
    margin-bottom: 20px;
}
.contacts_section p.title {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 3px;
}
.contacts_section p.subtitle {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 3px;
    padding-top: 7px;
}
.contacts_section p.text,
.contacts_section a.text {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}

.contacts_section .item {
    padding-left: 24px;
    background-repeat: no-repeat;
    background-position: left 6px;
    padding-top: 0;
}
.contacts_section .address {
    background-image: url('../img/i_marker_red.svg');
}
.contacts_section .address_02 {
    background-image: url('../img/i_mailbox_red.svg');
}
.contacts_section .phone {
    background-image: url('../img/i_phone_red.svg');
}
.contacts_section .fax {
    background-image: url('../img/i_fax_red.svg');
}
.contacts_section .email {
    background-image: url('../img/i_envelope_red.svg');
}
.contacts_section .consultant {
    background-image: url('../img/i_icq_red.svg');
}

@media (min-width: 769px) {
    .contacts_section .contacts_section__left .item p br {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .contacts_section {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .contacts_section__left {
        display: flex;
        margin-bottom: 6px;
    }
    .contacts_section__left .item {
        padding-right: 100px;
    }
    .contacts_section p.title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .contacts_section__left {
        display: block;
    }
    .contacts_section__left .column {
        width: 100%;
    }
    .contacts_section__left .item {
        padding-right: 100px;
    }
    .contacts_section p.title {
        font-size: 16px;
    }
}

.contacts_page .contacts_section.section_01 .contacts_section__left .item {
    position: relative;
}
.contacts_page .contacts_section.section_01 .contacts_section__left .item .title img {
    position: absolute;
    left: 0;
    top: 7px;
    max-width: 16px;
}
.contacts_page .contacts_section.section_01 .contacts_section__left .item p { 
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}
.contacts_page .contacts_section.section_01 .contacts_section__left .item p.title { 
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 3px;
}
.contacts_page .contacts_section.section_01 .contacts_section__left .item strong {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 3px;
    padding-top: 7px;
}

/* Контакты - Мы предлаегаем */
.offer {
    margin-bottom: 58px;
}
@media (min-width: 769px) and (max-width: 1199px) {
    .offer {
        margin-bottom: 0;
    }
}
.offer .offer_inner {
    padding: 50px;
    background-image: url('../img/offer_img.svg');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 407px; 
    box-shadow: 0px 4px 20px rgba(202, 201, 236, 0.4);
    border-radius: 10px;
}
.offer .column_left p {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
}
.offer .column_right .title,
.offer h4 {
    font-weight: normal;
    font-size: 24px;
    line-height: 36px;
}
.offer .column_right.list li {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    padding-left: 20px;
    background-image: url('../img/i_round_orange.svg');
    background-repeat: no-repeat;
    background-position: left 6px;
}

@media (max-width: 1199px) {
    .offer {
        padding-top: 0;
    }
}
@media (max-width: 768px) {
    .offer {
        padding-top: 0;
    }
    .offer .offer_inner {
        background-position: bottom center;
        background-size: 466px;
        padding-bottom: 260px;
    }
}
@media (max-width: 576px) {
    .offer .column_left p {
        font-size: 18px;
        line-height: 26px;
    }
    .offer .offer_inner {
        background-size: 266px;
        padding-bottom: 162px;
    }
    .offer .column_right .title {
        font-size: 18px;
        line-height: 36px;
    }
    .offer .column_right .list li {
        font-weight: 300;
        font-size: 14px;
        line-height: 22px;
    }
}

/* Contacts - dillers */
.dillers {
    padding-bottom: 46px;
}
.dillers .dillers_inner .column {
    margin-bottom: 25px;
}
.dillers li br {
    display: none;
}
.dillers span {
    display: block;
}
.dillers .address,
.dillers ul li span:nth-of-type(1) {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}
.dillers .phone,
.dillers ul li span:nth-of-type(2) {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    display: inline-block;
}
.dillers .phone:after {
    /* content: ',';
    display: inline-block; */
}
.dillers .phone:last-child:after {
    display: none;
}

.template_default .section_01 .desc,
.template_default .section_01 .desc p {
    font-weight: 300;
    font-size: 17px;
    line-height: 30px;
    /* margin-bottom: 35px */
}

/* Страница "О компании" */
.about_page .section_01 {
    padding-bottom: 70px;
}
.about_page .section_01 .mission {
    /* background-image: url('../img/mission_img.svg');
    background-position: bottom center;
    background-repeat: no-repeat; */
    background-color: white;
    box-shadow: 0px 4px 20px rgba(202, 201, 236, 0.4);
    border-radius: 10px;
}
.about_page .section_01 .column_inner {
    padding: 50px 50px 0 50px;
    height: 100%;
    position: relative;
    border-radius: 10px;
}
.about_page .section_01 .column_inner .title {
    font-weight: 800;
    font-size: 40px;
    line-height: 44px;
    margin-bottom: 30px;
}
.about_page .section_01 .column_left .desc {
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 70px;
}
.about_page .section_01 .column_right li {
    font-weight: 300;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 12px;
    padding-left: 20px;
    background-image: url(../img/i_round_orange.svg);
    background-repeat: no-repeat;
    background-position: left 6px;
}
.about_page .section_01 .img { 
    left: 0;
    width: 100%;
    text-align: center;
}
@media (min-width: 1025px) {
   
    .section_01__inner {
        display: flex;
    }
    .about_page .section_01 .img {
        position: absolute;
        bottom: 0;
    }
}

.about_page .section_01__inner {
    max-width: 100%;
}
.about_page .section_01 .img img {
    width: 90%;
    max-width: 100%;
}
@media (min-width: 1025px) and (max-width: 1260px) {
    .about_page .section_01__inner {
        display: block;
        overflow: hidden;
    }
    .about_page .section_01__inner .column {
        display: block;
        float: left;
    }
    .about_page .section_01 .img {
        position: relative;
    }
}
@media (max-width: 1024px) {
    .section_01__inner {
       padding: 0 15px;
    }
    .about_page .section_01 .column.col-md-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .about_page .section_01 .img img {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .about_page .section_01 .img img {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .about_page .section_01 {
        padding-top: 0;
    }
}
@media (max-width: 768px) {
    .template_default {
        /* padding-top: 107px; */
    }
    .about_page .section_01 .column_inner .title {
        font-weight: 800;
        font-size: 30px;
        line-height: 36px;
    }
    .about_page .section_01 .column_right li {
        font-size: 14px;
        line-height: 24px;
    }
}

@media (max-width: 576px) {
    .about_page .section_01 .column_left .desc {
        font-size: 18px;
    }
    .about_page .section_01 .column_inner .title {
        font-size: 22px;
    }
}

/* О компании - Ценности */
.about_page .section_02 {
    padding-top: 60px;
    padding-bottom: 60px;
}
.about_page .section_02 h2 {
    padding-bottom: 10px;
}
.about_page .section_02 .item {
    padding-right: 35px;
    margin-bottom: 35px;
}
.about_page .section_02 .title {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.about_page .section_02 .title img {
    width: 65px;
    max-width: 65px;
    margin-right: 30px;
}
.about_page .section_02 .text p {
    font-weight: 300;
    font-size: 16px;
    line-height: 30px;
    color: #003878;
}
@media (max-width: 768px) {
    .about_page .section_02 {
        padding-top: 30px;
        padding-bottom: 42px;
    }
    .about_page .section_02 .item {
        padding-right: 15px;
    }
}
@media (max-width: 576px) {
    .about_page .section_02 .title img {
        width: 50px;
        max-width: 50px;
        margin-right: 21px;
    }
    .about_page .section_02 .item {
        margin-bottom: 30px;
    }
}

/* program_page */
.program_page .list_default li,
.program_page .section ul li {
    margin-bottom: 14px;
}
.program_page .section {
    margin-bottom: 80px;
    padding-top: 57px;
    margin-top: -57px;
}
.program_page .section_01 {
    margin-bottom: 35px;
    margin-top: 0;
}
.program_page .section h3 {
    margin-bottom: 30px;
}
.program_page .section .image {
    margin-bottom: 20px;
}
.program_page .section .caption,
.program_page .section figcaption {
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
}
.program_page .section figure img {
    margin-bottom: 20px;
}
.program_page .section .inner_white {
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(202, 201, 236, 0.4);
    border-radius: 10px;
    padding: 50px;
}
.program_page .section .inner_white .desc {
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 50px;
}
@media (max-width: 576px) {
    .program_page .section .inner_white .desc {
        font-size: 16px;
        line-height: 24px;
    }
}
.program_page .section .inner_white img {
    width: 100%;
}
.program_page .section .inner_white .caption,
.program_page .section .inner_white.desc {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
.program_page .section .title,
.program_page .section h4 {
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.program_page .section ul li {
    font-weight: 300;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 12px;
    padding-left: 20px;
    background-image: url('../img/i_round_orange.svg');
    background-repeat: no-repeat;
    background-position: left 11px;

}
.program_page .section blockquote {
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(202, 201, 236, 0.4);
    border-radius: 10px;
    padding: 8px 20px 22px 15px;
	max-width: 100%;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    /* margin-bottom: 50px; */
}
.program_page .section blockquote p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}
.program_page .section blockquote p strong {
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 50px;
}
.program_page .section blockquote img {
    display: inline-block;
    margin-bottom: 20px;
}
.program_page .section blockquote figcaption {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
.program_page .section ul li strong {
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
}
/* Program page - Slider */
.program_page .swiper-container {
    /* height: 100%; */
}
.program_page .swiper-container .swiper-pagination {
    position: relative;
    text-align: left;
    padding-left: 46px;
    /* margin-top: -48px; */
    margin-top: 20px;
    margin-bottom: 32px;
}
.program_page .swiper-container .swiper-pagination:before {
    content: '';
    display: inline-block;
    width: 39px;
    height: 1px;
    background-color: #003878;
    position: absolute;
    bottom: 14px;
    left: 0;
}
.program_page .swiper-container .swiper-pagination-bullet {
    background-color: transparent;
    font-size: 18px;
    line-height: 30px;
    color: #003878;
    opacity: 1;
}
.program_page .swiper-container .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 8px;
}
.program_page .swiper-container .swiper-pagination-bullet-active {
    font-weight: bold;
    font-size: 22px;
}
.program_page .swiper-button-next,
.program_page .swiper-button-prev {
    display: none;
}
.program_page .swiper-container .swiper-slide img {
    max-width: 100% !important;
}
.program_page .section .image_01 {
    margin-bottom: 62px;
}
.program_page .section_08 .column_right .inner_white,
.program_page .section blockquote.flex {
    padding-bottom: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.program_page .section_08 .column_right .list_default {
    padding-bottom: 50px;
}
.program_page .section blockquote {
    position: relative;
}
.program_page .section blockquote.flex ul {
    padding-bottom: 50px;
}
@media (max-width: 575px) {
    .program_page .section blockquote.flex {
        flex-direction: column;
        padding: 0;
        max-width: 100%;
    }
}
.program_page .section_08 .column_right .image,
.program_page .section .image-right {
    /* position: absolute; */
    position: relative;
    bottom: 0;
    /* right: 27px; */
    right: 0;
    margin-bottom: 0;
    display: flex;
    align-items: end;
}
.program_page .section .image-right {
    /* position: absolute; */
    float: right;
    bottom: 0;
    /* margin-right: 27px; */
}
.program_page .section_09 .column_left img:first-of-type {
    /* margin-right: 100px; */
}
.program_page .section figure,
.program_page .section img {
    max-width: 100%;
}
.program_page .section img  {
    height: auto;
}

@media (max-width: 1125px) {
    .program_page .section_08 .column_right .inner_white,
    .program_page .section blockquote.flex {
        padding-right: 23px;
    }
    .program_page .section .image-right {
        max-width: 50%;
    }
}
@media (max-width: 870px) {
    .program_page.template_default .section blockquote.flex {
        align-items: center;
    }
    .program_page.template_default .section blockquote.flex h3 {
        font-size: 26px;
    }
}
@media (max-width: 576px) {
    .program_page.template_default .section blockquote.flex {
        padding-left: 15px;
    }
    .program_page .section_08 .column_right .inner_white {
        flex-direction: column;
    }
    .program_page .section_08 .column_right .list_default {
        padding-bottom: 0;
    }
}
@media (max-width: 767px) {
    .program_page .section_08 .column_right .inner_white {
        padding-top: 0;
    }
    .program_page .section img {
        max-width: 100%;
    }
    .program_page .section {
        margin-bottom: 10px;
    }
}

@media (max-width: 1199px) {
    .program_page .section {
        padding-top: 35px;
    }
}

@media (max-width: 767px) {
    .program_page .section  {
        padding-top: 0;
        margin-bottom: 0;
        padding-bottom: 35px;
    }
    .program_page .inner_white {
        position: relative;
        margin-bottom: 35px;
    }
    .program_page .section h3,
    .program_page .inner_white,
    .program_page .image {
        padding-top: 35px;
    }
}
.program_page .section img {
    max-width: 100%;
}

@media (max-width: 767px) {
    .program_page .section .inner_white .desc,
    .program_page .section .image_01 {
        margin-bottom: 0;
    }
}

/* Кнопка наверх */
#btn_top {
    /* display: inline-block; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #003878;
    box-shadow: 0px 4px 20px rgba(202, 201, 236, 0.4);
    border-radius: 10px;
    /* width: 81px; */
    width: 70px;
    /* height: 86px; */
    height: 77px;
    text-align: center;
    position: fixed;
    bottom: 39px;
    right: 46px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    color: white;
    font-weight: 500;
    font-size: 13px;
    line-height: 30px;
  }
  #btn_top img {
      width: 20px;
      height: auto;
  }
  #btn_top:hover {
    cursor: pointer;
    background-color: #333;
  }
  #btn_top:active {
    /* background-color: #5799e4;
    background-color: #c5d7ee; */
    background-color: #555;
  }
  #btn_top.show {
    opacity: 1;
    visibility: visible;
  }

  @media (max-width: 576px) {
      #btn_top {
        width: 59px;
        height: 57px;
        bottom: 20px;
        right: 26px;
      }
    #btn_top span {
        display: none;
    }
  }

/* history slider */
.history_slider {
    padding-top: 80px;
    padding-bottom: 80px;
}
.history_slider h2 {
    margin-bottom: 24px;
}
.wpostahs-slider-design-2 .wpostahs-slider-nav .slick-list.draggable::before,
.wpostahs-main-title {
    display: none;
}
@media (min-width: 1200px) {
    .history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav,
    .history_slider .wpostahs-slider-design-2 .wpostahs-slick-slider {
        max-width: 1140px;
    }
}
@media (min-width: 992px) {
    .history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav,
    .history_slider .wpostahs-slider-design-2 .wpostahs-slick-slider {
        max-width: 960px;
    }
}

@media (min-width: 768px) {
    .history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav,
    .history_slider .wpostahs-slider-design-2 .wpostahs-slick-slider {
        max-width: 720px;
    }
}

@media (min-width: 576px) {
    .history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav,
    .history_slider .wpostahs-slider-design-2 .wpostahs-slick-slider {
        max-width: 540px;
    }
}

.history_slider #wpostahs-slider-nav-1 {
    max-width: 1366px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slick-slider {
    max-width: 100%;
    max-width: 1366px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav .slick-slide {
    text-align: left;
    width: auto !important;
    margin-right: 40px;
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav .slick-slide .wpostahs-title {
    font-size: 20px;
    line-height: 30px;
    color: #003878;
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav .slick-slide.slick-current .wpostahs-title {
    font-weight: 600;
    font-size: 24px;
    color: #CC2128;
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-nav .slick-slide.slick-current .wpostahs-title:after {
    display: block;
    content: '';
    width: 45px;
    height: 2px;
    background-color: #CC2128;
    margin: 0 auto;
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-for {
    padding-top: 13px;
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-for .slick-list {
    /* overflow: visible;
    overflow-y: hidden; */
}
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-for .slick-slide {
    display: flex;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(202, 201, 236, 0.4);
    border-radius: 10px;
    padding: 26px 60px 26px 82px;

    /****************/
    /* max-width: 1366px !important;
    width: 1366px !important; */
}
.history_slider .wpostahs-slider-design-2 .slick-slider .wpostahs-centent-title {
    position: absolute;
    font-weight: 800;
    font-size: 48px;
    line-height: 60px;
}
.history_slider .wpostahs-slider-design-2 .slick-slider .wpostahs-centent-title:after {
   content: 'год';
   display: inline-block;
   margin-left: 15px;
}
.history_slider .wpostahs-slider-design-2 .slick-slider .wpostahs-centent {
    padding-top: 82px;
    padding-left: 0;
}
.history_slider .wpostahs-slider-design-2 .slick-slider .wpostahs-centent p {
    font-weight: 300;
    font-size: 16px;
    line-height: 28px;
    color: #003878;
    text-align: left;
}
.history_slider .wpostahs-slider-design-2 .slick-slider img {
    margin-top: 61px;
}

.slick-track:before,
.slick-track:after {
    /* display: none !important; */
}

/* test slider */
.history_slider .wpostahs-slider-design-2 .wpostahs-slider-for .slick-list {
    /* overflow: visible; */
}


@media (min-width: 992px) and (max-width: 1100px) {
    .wpostahs-slider-design-2 .wpostahs-slider-for .wpostahs-slider-nav-content img {
        max-width: 350px;
    }
}

@media (max-width: 991px) {
    .wpostahs-slider-design-2 .wpostahs-slider-for .wpostahs-slider-nav-content {
        padding-bottom: 45px;
    }
    .history_slider .wpostahs-slider-design-2 .slick-slider .wpostahs-centent {
        margin-left: 0;
    }
    .history_slider .wpostahs-slider-design-2 .wpostahs-slider-for .slick-slide {
        flex-direction: column;
    }
    .history_slider .wpostahs-slider-design-2 .slick-slider .wpostahs-centent-title {
        margin-bottom: 20px;
    }
    .wpostahs-slider-design-2 .wpostahs-slider-for .wpostahs-slider-nav-content img {
        max-width: 100%;
        margin-top: 0;
    }
    .history_slider .wpostahs-slider-design-2 .slick-slider .wpostahs-centent {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {
    .wpostahs-slider.wpostahs-slider-inner-wrp.wpostahs-slider-design-2 {
        /* position: relative; */
    }
    .history_slider #wpostahs-slider-nav-1 .slick-list {
        /* display: none; */
        opacity: 0;
        height: 30px;
    }
    
    .history_slider .wpostahs-slick-slider button.slick-arrow.slick-next {
        margin-right: 15px !important;
    }
    .history_slider .wpostahs-slick-slider button.slick-arrow.slick-prev {
        margin-left: 15px !important;
    }
}
.history_slider .wpostahs-slick-slider button.slick-next,
.history_slider .wpostahs-slick-slider button.slick-next:hover,
.history_slider .wpostahs-slick-slider button.slick-next:focus,
.history_slider .wpostahs-slick-slider button.slick-prev,
.history_slider .wpostahs-slick-slider button.slick-prev:hover,
.history_slider .wpostahs-slick-slider button.slick-prev:focus {
    border: none !important;
    outline: none !important;
    width: 45px !important;
}
.history_slider .wpostahs-slick-slider button.slick-next,
.history_slider .wpostahs-slick-slider button.slick-next:hover,
.history_slider .wpostahs-slick-slider button.slick-next:focus {
    background: url('../img/arrow_right.svg') center center no-repeat !important;
}
.history_slider .wpostahs-slick-slider button.slick-prev,
.history_slider .wpostahs-slick-slider button.slick-prev:hover,
.history_slider .wpostahs-slick-slider button.slick-prev:focus {
    background: url('../img/arrow_left.svg') center center no-repeat !important;
}
@media (max-width: 575px) {
    .history_slider {
        padding-top: 30px;
    }
    .history_slider .wpostahs-slider-design-2 .wpostahs-slider-for .wpostahs-slider-nav-content img {
        display: none;
    }
    .history_slider .wpostahs-slider-design-2 .wpostahs-slider-for .slick-slide{
        padding-left: 25px !important;
        padding-right: 10px !important;
    }
}

.slider .desc p {
    display: inline-block;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #003878;
    /* margin-bottom: 30px; */
}

/* Страница 404 */
.no_found_page {
    /* padding-bottom: 135px; */
    padding-top: 80px;
    padding-bottom: 100px;
}
.no_found_page .row {
    justify-content: space-between;
}
.no_found_page image img {
    width: 559px;
}
.no_found_page .text {
    font-style: normal;
    color: #003878;
    text-align: center;
}
.no_found_page .first {
    font-weight: 800;
    font-size: 200px;
    line-height: 200px;
}
.no_found_page .second {
    font-weight: 800;
    font-size: 90px;
    line-height: 90px;
    margin-top: -11px;
    margin-bottom: 39px;
}
.no_found_page .third {
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 8px;
}
.no_found_page.template_default .section .text.desc {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    width: 565px;
    margin: 0 auto 71px auto;
}
.no_found_page .link {
    display: block;
    width: 327px;
    background: linear-gradient(0deg, #CC2128, #CC2128), linear-gradient(90deg, #FF5530 15.29%, #EA850E 85.29%);
    border-radius: 30px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 46px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 auto;
}

@media (max-width: 1199px) {
    .no_found_page .item {
        width: 48%;
        max-width: 48%;
    }
    .no_found_page .image img {
        display: inline-block;
        width: 462px;
        max-width: 462px;
        margin-left: 15px;
    }
    .no_found_page .first {
        font-weight: 800;
        font-size: 180px;
    }
    .no_found_page .third {
        font-weight: 500;
        font-size: 24px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 8px;
    }
    .no_found_page.template_default .section .text.desc {
        max-width: 100%;
    }
    .no_found_page .link {
    }
}

@media (max-width: 991px) {
    .no_found_page .item {
    }
    .no_found_page .image img {
        display: inline-block;
        width: 100%;
        max-width: 100%;
        margin-left: 15px;
    }
    .no_found_page .first {
        font-weight: 800;
        line-height: 150px;
        font-size: 150px;
        margin-bottom: 0;
    }
    .no_found_page .second {
        font-size: 70px;
        margin-bottom: 29px;

        font-weight: 800;
        line-height: 90px;
        margin-top: -11px;
    }
    .no_found_page .third {
        font-size: 20px;

        font-weight: 500;
        line-height: 30px;
        text-align: center;
        margin-bottom: 8px;
    }
    .no_found_page .third {
        font-weight: 500;
        font-size: 24px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 8px;
    }
    .no_found_page.template_default .section .text.desc {
        max-width: 100%;
    }
    .no_found_page .link {
    }
}

@media (max-width: 768px) {
    .no_found_page {
        padding-top: 54px;
        padding-bottom: 100px;
    }
    .no_found_page .section .row {
        text-align: center;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .no_found_page .item {
        width: 100%;
        max-width: 100%;
    }
    .no_found_page .image {
        margin-bottom: 45px;
    }
    .no_found_page .image img {
        width: 226px;
    }
    .no_found_page .first {
        font-size: 100px;
        line-height: 100px;
        margin-bottom: 10px;
    }
    .no_found_page .second {
        font-size: 48px;
        line-height: 52px;
        margin-bottom: 15px;
    }
    .no_found_page .third {
        font-size: 18px;
        line-height: 32px;
    }
    .no_found_page.template_default .section .text.desc {
        font-size: 13px;
        line-height: 18px;
        width: 406px;
        margin-bottom: 30px;
    }
    .no_found_page .link {
        width: 286px;
    }
}

@media (max-width: 480px) {
    .no_found_page {
        padding-top: 70px;
        padding-bottom: 65px;
    }
    .no_found_page .image {
        display: none;
    }
    .no_found_page .first {
        font-size: 80px;
        line-height: 100px;
        margin-bottom: 0;
    }
    .no_found_page .second {
        font-size: 36px;
        line-height: 52px;
        margin-bottom: 30px;
    }
    .no_found_page .third {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 5px;
    }
    .no_found_page.template_default .section .text.desc {
        font-size: 13px;
        line-height: 18px;
    }
}

@media (max-width: 406px) {
    .no_found_page .first {
        font-size: 80px;
        line-height: 100px;
        margin-bottom: 0;
    }
    .no_found_page .second {
        font-size: 36px;
        line-height: 52px;
        margin-bottom: 30px;
    }
    .no_found_page .third {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 5px;
    }
    .no_found_page.template_default .section .text.desc {
        font-size: 13px;
        line-height: 18px;
        width: auto;
    }
    .no_found_page .link {
        width: 70%;
        line-height: 16px;
        font-size: 12px;
        padding: 8px 9px;

        padding: 14px 9px;
    }
}

@media (max-width: 768px) {
    body {
        /* padding-top: 106px; */
        padding-top: 54px;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        /* padding-bottom: 0; */
    }
}

/* Страница Сообщество */
.template_default .content p {
    font-weight: 300;
    font-size: 17px;
    line-height: 30px;
}

.template_default.community {
    padding-bottom: 75px;
}
.template_default.community .content {
    margin-bottom: 15px;
}
.template_default .section_01 {
    padding-top: 35px;
}

@media (max-width: 768px) {
    .template_default .section_01 {
        padding-top: 0;
    }
}
@media (max-width: 576px) {
    .template_default .section_01 {
        /* padding-top: 35px; */
    }
}

.main_page .template_default .section_01 {
    padding-top: 0;
}
/* Логотип Ниьелунг в админке Вордпресс */
#wpadminbar #wp-admin-bar-wp-logo .ab-icon {
    display: flex;
    align-items: center;
}

/* Плагин пользователя */
/* Страница профиля */
.pmagic .pm-group-view .pm-section {
    min-height: auto !important;
    /* border: 1px solid red; */
}
.pmagic .pm-group-view #pg-profile-tabs {
    width: auto;
}
.pmagic .pm-group-view #pg-profile-tabs .pg-profile-tab-content {
    min-height: auto !important;
    /* border: 1px solid green; */
}
.pmagic .pm-group-view .pm-section .pm-section-content {
    min-height: auto !important;
    /* border: 1px solid blue; */
}
#pg-profile-tabs .pm-section-nav-horizental.fixed {
    position: fixed;
    top: 32px;
    left: 0;
    z-index: 777;
}
#pg-profile-tabs .pm-section-nav-horizental.fixed .mymenu {
    display: flex;
    flex-direction: column;
    width: auto;
    background-color: yellow;
}

/* Страница записи */
.sidebar .pg_groups_menu .widget-title,
.sidebar .widget-title,
.sidebar h2.widget-title,
.widget-area h2.widget-title,
.single .screen-reader-text,
.comments-area .comments-title {
    font-size: 20px !important;
    margin-bottom: 15px !important;
}
.sidebar .widget-area .search-form .search-submit {
    position: absolute;
    top: 0;
    right: 17px;
}
body .sidebar .widget-area .search-form .screen-reader-text {
    display: none;
}
.single .entry-content a {
    background-image: url('../img/file-download-solid.svg');
    background-repeat: no-repeat;
    padding-left: 25px;
}
.sidebar .widget.pg_user_blogs li {
    background-image: url('../img/file-alt-regular.svg');
    background-repeat: no-repeat;
    background-size: 15px;
    padding-left: 23px;
}
.single .post-thumbnail {
    margin-bottom: 25px;
}
.post-edit-link .screen-reader-text {
    font-style: italic;
}

.template_default {
    min-height: 55vh;
}
@media (max-width: 768px) {
    .template_default {
        padding-top: 1px;
    }
}
.search-form input[type="search"] {
    outline: none;
    border: 1px solid #d2cccc;
    font-size: 14px;
    height: 39px;
    padding-left: 7px;
}
/* FORUM */
.errno {
	background-color: #f4f4f4;
	padding: 10px 20px;
	border-left: 5px solid #fe0000;
}
.errno.success {
	border-left-color:#0bb80b;
}
#acf-form .wp-editor-tools {
    display: none;
}
.um.um-register {
    margin-left: 0 !important;
}

.forum_item {
    padding: 0;
}
.forum_content .forum_item {
    margin-bottom: 30px;
    height: 100%;
    min-height: 170px;
    padding-left: 15px;
}
.forum_item__title {
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
    font-size: 14px;
}
.forum_item__link {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    text-align: center;
    /* background-color: #ffffff52; */
    background-color: transparent;
}
.forum_item__link__inner {
    position: relative;
    z-index: -1;
    /* box-shadow: 1px 3px 8px 0px #0000000d;
    background-color: #ffffff;
    border: 1px solid #fafafa; */
}
.forum_item__image {
    width: 300px;
    height: 230px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    border-radius: 10px;
}
.section_01.forum_content .catalog_row {
    padding-right: 15px;
}

.catalog_row .forum_item__image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}
.webinars .catalog_row .forum_item__image p {
    width: 100%;
}
.forum_item__image img {
    height: auto;
    min-height: 230px;
    width: auto;
    min-width: 100%;
}

.forum_item__image {
    height: auto;
}
.forum_item__image img {
    min-height: auto;
}

@media (max-width: 768px) {
    .forum_item__image {
        height: auto;
    }
    .forum_item__image img {
        min-height: auto;
    }
}
.forum_item .info_bottom {
    width: 100%;
    text-align: left;
    color: gray;
    font-size: 12px;
}
.add_file a {
    width: 100%;
    background: #cc2128;
    color: white;
    font-size: 13px;
    line-height: 29px;
    padding: 2px 11px 2px 8px;
    margin-bottom: 11px;
    text-align: center;
    display: inline-block;
}
.flex_start {
    align-items: flex-start;
}
.user_greeting {
    display: flex;
    margin-bottom: 17px;
    align-items: flex-start;
    align-items: center;
    padding-top: 20px;

    border-bottom: 1px solid #c5c5c5;
    padding-bottom: 13px;
}
@media (max-width: 480px) {
    .user_greeting {
        padding-top: 43px;
    }
}
.user_greeting #message {
    padding-left: 11px;
}
.user_greeting #message p {
    font-weight: 400;
    font-style: italic;
    color: #256db3;
}
.user_greeting .user_avatar {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.user_greeting .user_avatar img {
    border-radius: 50%;
    width: 119px;
    height: auto;
    margin-bottom: 11px;
}
.user_greeting {
    /* padding-left: 38px; */
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
    /* width: 78%; */
}
@media (max-width: 991px) {
    .user_greeting {
        width: 100%;
    }
}
.user_greeting .greeting p {
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0;
}
.forum_menu__wrapper {
    padding-left: 0;
    margin-bottom: 15px;
}
.menu-forum {
    padding-left: 0;
}
body .forum_menu li {
    margin-bottom: 3px;
}
body .forum_menu a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.2;
}
.forum_menu .current-menu-item a {
    color: #cc2128;
    font-weight: bold;
}
.download_file__section {
    /* font-size: 14px; */
    /* display: inline-block; */
}
/* .download_file__section .icon_download {
    width: 34px;
    margin-right: 10px;
} */
.download_file__link {
    /* text-decoration: underline; */
    /* font-weight: bold; */
    /* font-size: 14px; */
    font-size: 13px;
    line-height: 29px;
    color: white;
    padding: 6px 14px 6px 29px;
    /* padding-left: 27px; */
    font-weight: bold;

    background-size: 13px;
    background: #256db3;
    border-color: #054d98;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 15px;
    background-image: url('../img/arrow_down__white.svg');
    background-repeat: no-repeat;
    background-size: 13px;
    background-position: 8px center;
}
.download_file__link:hover {
    color: white;
    opacity: .9;
}


.single.single_post {
    padding-top: 57px;
    padding-bottom: 38px;
}
.single.single_post .post_content {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 37px;
}
.single.single_post .basic_info {
    /* display: flex; */
}
.single.single_post .basic_info p {
    font-weight: 300;
    font-size: 17px;
    line-height: 30px;
}
.single.single_post .post_image {
    margin-right: 15px;
    margin-bottom: 15px;
}
.single.single_post .post_image .image {
    margin-bottom: 7px;
}
.single.single_post .logged-in-as {
    display: none;
}
.single.single_post .comment-form-comment label {
    display: none;
}
.single.single_post .comments-area .comment-reply-title {
    font-size: 17px;
    font-weight: 300;
}
.single.single_post .post_image .post_author,
.single.single_post .post_image .post_author a {
    font-size: 14px;
}
.single.single_post .edit_btn {
    font-size: 14px;
    font-weight: 500;
    color: #003878;
    margin-bottom: 22px;

    background-image: url('../img/edit-regular__blue.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 19px;
    padding-left: 24px;
    font-weight: bold;
}
.single.single_post .edit_btn:hover {
    color: #0056b3;
}
.single.single_post .post_edit_section {
    /* background-color: #FAEBD7; */
    /* background-color: white; */
    background-color: #efecd3;
    /* background-color: #e6e0c8; */
    background-color: #e0eaf7;
    padding: 20px 40px 40px 40px;
    border-radius: 7px;
    overflow: hidden;
}
.forum_content #acf-form {
    width: 100%;
}
.single.single_post .post_edit_section .acf-form input,
.single.single_post .post_edit_section .acf-form textarea {
    color: gray;
    font-size: 14px;
    font-family: inherit;
}
.single.single_post .post_edit_section .acf-form input:focus,
.single.single_post .post_edit_section .acf-form textarea:focus {
    outline: none;
}
.single.single_post .post_edit_section .acf-form input {
    border: 1px solid #ccd0d4;
}
.single.single_post .post_edit_section .acf-form textarea {
    padding-right: 11px;
}
.single.single_post .post_content {
    margin-bottom: 24px;
}
.single.single_post .post_content h1 {
    font-style: normal;
    font-weight: 800;
    font-size: 40px;
    line-height: 44px;
    margin-bottom: 35px;
}
@media (max-width: 768px) {
    .single.single_post .post_content h1 {
        /* font-size: 30px;
        line-height: 37px; */
        font-size: 23px;
        line-height: 32px;
    }
}
.single.single_post .post_content  .post_author {
    color: gray;
    font-weight: 300;
    font-size: 14px;
}

/* Форма отправки комментария */
.comment-form {
    margin-bottom: 35px;
}
.comment-form-comment textarea {
    border: 1px solid #ccd0d4;
}
.comment-form-comment textarea:focus {
    outline: none;
}
.comment-author.vcard img {
    border-radius: 50%;
}
.comment-awaiting-moderation {
    color: red;
    font-size: 12px;
}
.comment-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.comment-list .children {
    list-style: none;
    margin-top: 15px;
}
.comment {
    margin-bottom: 15px;
}
.comment .comment-body {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 2px 3px 6px 0px #00000029;
}

.comment .comment-metadata time {
    font-size: 14px;
    color:grey;
}
input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */


.acf-form-submit .acf-button {
    background-color: #003878;
    color: white !important;
    overflow: hidden;
    border: 1px solid #003878;
    font-size: 14px;
    font-weight: 600;
}
.acf-form input[type="file"],
.acf-form .acf-basic-uploader {
    /* cursor: pointer; */
}
.acf-form input[type="submit"]:focus,
.acf-form input[type="file"]:focus {
    border: none;
    outline: none;
}
.add_page__form .acf-form .acf-field-600fde032e5cf .acf-label:after,
.add_page__form .acf-form .acf-field-600ff6d9c1590 .acf-label:after {
    content: '*';
    display: inline-block;
    color: red;
    font-weight: bold;
    margin-left: 5px;
}
.acf-form .acf-field.acf-field-600fde032e5cf .acf-label,
.acf-form .acf-field.acf-field-600ff6d9c1590 .acf-label {
    display: flex;
    align-items: center;
}
.acf-form .acf-field.acf-field-600fde032e5cf .acf-label label,
.acf-form .acf-field.acf-field-600ff6d9c1590 .acf-label label {
    display: inline-block;
}
.catalog_wrapper {
    display: flex;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}
.catalog_wrapper .sidebar_section {
    padding-left: 0;
    padding-right: 0;
    width: 18%;
}
@media (max-width: 991px) {
    .catalog_wrapper .sidebar_section.active {
        width: 61%;
    }
}

@media (max-width: 480px) {
    .catalog_wrapper .sidebar_section.active {
        width: 100vw;
        left: 0;
        min-width: 100vh;
        width: 100vh;
        top: 111px;
    }
    .catalog_wrapper .sidebar_section.active .sidebar_section__inner {
        height: 100vh;
        min-height: 100vh;
        max-width: 100vw;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .catalog_wrapper .sidebar_section.active .user_info {
        width: 100%;
        text-align: center;
    }
}
.sidebar_section__inner {
    /* padding-right: 0; */
    background-color: white;
    box-shadow: 0px 4px 20px rgb(202 201 236 / 40%);
    border-radius: 10px;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}
.catalog_right_section {
    width: 80%;
    padding-bottom: 100px;
}
@media (max-width: 991px) {
    .catalog_right_section {
        width: 100%;
    }
}
/* Sidebar - Поиск */
.search-form label,
.search-form input[type="search"] {
    max-width: 100%;
}
.search_form .search-form input[type="search"] {
    outline: none;
}
.search_form .search-form input[type="submit"] {
    right: 0;
    height: 39px;
    background-color: #256db3;
    border: none;
    outline: none;
    color: white;
    font-size: 13px;
    font-weight: 500;
    padding: 0 15px;
}
.search_form .screen-reader-text {
    display: none;
}

/* Боковая панель - Последние комментарии */
.sidebar .last_comment {
    margin-bottom: 15px;
}
.sidebar .last_comments {
    padding-right: 15px;
    border-top: 1px solid #c5c5c5;
    padding-top:  14px;
}
.sidebar .last_comments .title {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
    font-style: normal;
    font-weight: 800;
}
.last_comment__content {
    font-size: 12px;
    font-style: italic;
    margin-bottom: 3px;
}
.last_comment__link {
    line-height: 0.6;
}
.last_comment__link a {
    font-size: 12px;
    text-decoration: underline;
    font-style: italic;
    font-weight: bold;
    line-height: 1.4;
}
.last_comment__author,
.last_comment__author a,
.last_comment__date {
    font-size: 12px;
    font-style: italic;
    line-height: 1;
}
.last_comment__date {
    display: block;
}
.cats_btn {
    background: #256db3;
    border-color: #054d98;
    color: white;
    font-size: 13px;
    line-height: 29px;
    padding: 0 11px;
    display: inline-block;
    outline: none;
    border: none;
    font-weight: 500;
    height: 32px;
    width: 100%;
}
.cats_btn .arrow_down {
    height: auto;
    width: 12px;
    color: white;
}
.cats_btn.active .arrow_down {
    transform: rotate(180deg);
}
button:focus,
button:active {
    outline: none !important;
}
.row.cats {
    display: none;
    padding-left: 15px;
    padding-right: 15px;
}
.row.cats.active {
    display: block;
    margin-bottom: 35px;
}
.row.cats ul {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white;
    margin-bottom: 35px;
    box-shadow: 1px 2px 8px 0px #0000002b;
    border-radius: 8px;
}
.row.cats li {
    margin-bottom: 15px;
}
.template_default.community ul li.cat-item-all a,
.cats ul li.current-cat a {
    color: #cc2128;
}
.categories ul {
    display: flex;
}
.categories ul a {
    display: inline-block;
    margin-right: 10px;
}
.categories {
    color: transparent;
    margin-bottom: 35px;
}
.categories ul {
    background-color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.categories ul li {
    display: inline-flex;
    width: auto;
    margin-bottom: 15px;
}
.categories ul a {
    color: #003878;
    line-height: 1.8;
}
.categories ul li:after {
    /* display: inline-block;
    content: '-';
    color: #003878;
    margin-right: 10px; */
}
.categories ul li:last-child:after {
    display: none;
}
.categories ul a:hover {
    opacity: .8;
}

.posts_archive {
    padding-bottom: 75px;
}

/* POST RAITING - WP-PostRatings */
.raiting {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}
.forum_item .forum_item__title {
    margin-bottom: 0;
    /* min-height: 54px; */
    /* max-height: 42px; */
    max-height: 38px;
    min-height: 38px;
    overflow: hidden;
    margin-bottom: 9px;
    line-height: 1.3;
    display: flex;
    /* align-items: flex-end; */
    margin-bottom: 14px;
}
.webinars .forum_item .forum_item__title {
    margin-bottom: 9px;
    line-height: 1.4;
}
.webinars .forum_item .forum_item__image iframe {
    width: 100% !important;
}
body .webinars .forum_item iframe #player,
body .webinars .forum_item iframe {
    position: relative !important;
    z-index: -1 !important;
}
.post-ratings {
    font-size: 14px;
    max-height: 20px;
    overflow: hidden;
    display: block;
}

/* ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ */
.um-member-directory-sorting span {
    display: none;
}
.um-members-edit-btn {
    display: none !important;
}
.user_profile_page .um-profile .um-cover-overlay {
    /* display: none !important; */
}
.um-profile .um-profile-body.comments.comments-default,
.um-profile .um-profile-body.posts.posts-default {
    max-width: 100%;
}

/* Страница Members - Участники */
.um-directory .um-members-wrapper .um-members.um-members-grid .um-member .um-member-cover[data-ratio] {
    /* background-color: white; */
}
.um-directory .um-members-wrapper .um-members .um-member .um-member-photo.radius-1 a img {
    border-radius: 0 !important;
}
.um-directory .um-members-wrapper .um-members .um-member.awaiting_admin_review {
    /* display: none; */
    /* visibility: hidden;
    width: 0;
    height: 0; */
}
.relative {
    position: relative;
}
.header_bottom__inner {
    justify-content: space-between;
    padding-right: 19px;
}
@media (max-width: 1199px) {
    .header_bottom__inner {
        padding-right: 15px;
    }
}
.header_user_avatar {
    /* position: absolute; */
    /* right: 77px; */
    width: 39px;
    /* border-radius: 50%; */
    z-index: 1;
}
.header_user_avatar img {
    width: 39px;
    border-radius: 50%;
}
.categories li.current-cat a {
    /* font-weight: bold; */
    color: #cc2128;
}

.breadcrumbs {
    display: flex;
}
.breadcrumbs.breadcrumbs__user_profile {
    /* display: none; */
}

/* Форма регистрации на странице пособия - index.php */
.register_index_page_section {
    padding-top: 35px;
}
.register_index_page_section .um.um-register {
    opacity: 1;
    /* margin-left: auto !important;
    margin-right: auto !important; */
    width: 100%;
    margin-left: 0;
}

/* Страница входа */
.enter_page_template .um.um-login {
    /* margin-left: 0 !important;
    width: 100%; */
    margin-left: 0 !important;
}
.header_user_avatar {
    display: flex;
    align-items: center;
    width: auto;
}
.header_user_avatar img {
    display: inline-block;
    margin-right: 10px;
}
.header_user_avatar img.avatar {
    width: 41px;
    height: 41px;
}
.header_user_avatar .user_name {
    line-height: 1.2;
}

.lk_link.logged_out.header_user_avatar {
    width: 22%;
    /* position: absolute; */
    right: 0;
    /* height: 100%; */
    height: 35px;
    align-items: center;
    /* background: powderblue; */
    display: flex;
    justify-content: center;
    background-position: 10px center;
    /* border-radius: none; */
}
@media (max-width: 839px) {
    .lk_link.logged_out.header_user_avatar {
        /* width: 185px; */
        width: auto;
    }
}
@media (max-width: 369px) {
    .toggle_btn {
        margin-right: 15px;
    }
    .header_user_avatar .user_name {
        font-size: 15px;
    }
    .lk_link.logged_out.header_user_avatar {
        width: 173px;
    }
}
@media (max-width: 359px) {
    .lk_link.logged_out.header_user_avatar {
        width: 35px;
        padding-right: 0;
        margin-right: 15px;
    }
    .header_bottom .lk_link {
        background-size: 33px;
    }
    .header_user_avatar .user_name {
        color: transparent;
        width: 0;
    }
}
@media (max-width: 1252px) {
    .lk_link.logged_out.header_user_avatar {
        background-position: left center;
    }
}
.header_user_avatar.hidden {
    display: none;
}
.user_name {
    display: block;
    width: 100%;
}
.header_bottom .main_menu__wrapper {
    padding-right: 39px;
}

.um-register .um-field-checkbox input[type="checkbox"] {
    width: 24px !important;
    height: 24px !important;
    opacity: 1 !important;
}
.um-field-checkbox.um-field-half {
    width: 100% !important;
}
.um-register .um-field-checkbox .um-field-checkbox-state {
    display: none !important;
}
.um-register .um-field-checkbox .um-field-checkbox-option {
    margin-left: 30px;
}
.um-register .um-field-checkbox .um-field-checkbox-option a {
    font-size: 15px;
}
.um-register select#country.um-s1 {
    display: block !important;
    width: 100%;
    border: 1px solid #ddd !important;
    height: 40px;
    padding-left: 12px;
}
body .register_index_page_section .um-register .um-row {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 0 !important;
    /* padding-bottom: 30px;  */
    margin-bottom: 0;
}
body .register_index_page_section .um-register .um-row._um_row_2 {
    border-bottom: none !important;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
}
body .register_index_page_section .um-register .g-recaptcha {
    margin-bottom: 33px;
    padding-top: 0;
    margin-top: 0;
}

.main .section_03.slider.gallery .swiper-slide {
    width: 319px;
    height: 230px;
    /* overflow: hidden; */
    border-radius: 10px;
    cursor: pointer;
}
.main .section_03.slider.gallery .swiper-slide img {
    width: auto;
}
@media (min-width: 1200px) {
    .main .section_03.slider.gallery .swiper-slide img {
        min-height: 230px;
    }
}

/* Попап окно на Главной */
.popup_overlay {
    position: fixed;
    background-color: #000000cc;
    width: 100vw;
    height: 100vh;
    top: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 77777;
}
.popup_overlay.active {
    display: flex;
}
.popup_content {
    background-color: white;
    color: black;
    border-radius: 10px;
    box-shadow: 1px 7px 6px 4px #00000029;
    position: absolute;
    height: 300px;
    width: 450px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 35px;
}
.popup_content .close {
    position: absolute;
    top: 15px;
    right: 19px;
}
.popup_content .close:focus {
    border: none;
    outline: none;
}
#showPopup {
    color: red;
}

div.um.um-login .um-form .g-recaptcha,
div.um.um-register .um-form .g-recaptcha {
    margin-left: 0;
}

/* Редактируем профиль */
.um.um-profile.um-editing .main{
    background-image: none;
}
.template_default .um-field-block h1 {
    color: #003878;
}

/* СТРАНИЦА ВЕБИНАРЫ */
.webinars h1 {
    margin-bottom: 53px;
}

/* Главная - каталог */
.main .items_main {
    /* display: flex; */
    display: grid;
    grid-template-columns: repeat(auto-fill, 24%);
    justify-content: space-between;
}
.main .items_main .item {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}
.main .items_main .image {
    width: 96%;
    height: 189px;
    overflow: hidden;
    border-radius: 10px;
    /* object-fit: cover; */
    background-size: cover;
    position: relative;
    z-index: -1;
    display: flex;
    justify-content: center;
    background-position: center;
    margin-right: 0;
}
.main .items_main .image img {
    /* max-width: 100%;
    height: auto; */
}
.main .items_main .item .title {
    padding: 1px 10px;
    margin-top: 11px;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    line-height: 19px;
    /* color: #ff7a00; */
    color: #003878;
}

@media (max-width: 991px) {
    .main .items_main {
        grid-template-columns: repeat(auto-fill, 33%);
    }
}
@media (max-width: 768px) {
    .main .items_main {
        grid-template-columns: repeat(auto-fill, 50%);
    }
    .main .items_main .image {
        border-radius: 17px;
    }
}
@media (max-width: 525px) {
    .main .items_main .image {
        /* height: 152px; */
        height: 212px;
    }
}
@media (max-width: 480px) {
    .main .items_main {
        grid-template-columns: repeat(auto-fill, 100%);
    }
}
.catalog_row {
    /* padding-left: 53px; */
    display: grid;
    grid-template-columns: repeat(auto-fill, 33%);
    /* padding-left: 0;
    padding-right: 0; */
    justify-content: space-between;
}
@media (max-width: 1199px) {
    .catalog_row {
        grid-template-columns: repeat(auto-fill, 33%);
    }
}
@media (max-width: 768px) {
    .catalog_row {
        grid-template-columns: repeat(auto-fill, 50%);
    }
}
@media (max-width: 480px) {
    .catalog_row {
        grid-template-columns: repeat(auto-fill, 100%);
    }
}
@media (max-width: 576px) {
    .webinars .catalog_row .forum_item__image p {
        width: 100%;
        max-height: 158px;
        overflow: hidden;
        display: flex;
        align-items: center;
        border-radius: 10px;
    }
}
@media (max-width: 480px) {
    .webinars .catalog_row {
        grid-template-columns: repeat(auto-fill, 100%);
    }
    .webinars .catalog_row .forum_item__image p {
        max-height: 261px;
    }
}
.title_section {
    display: flex;
    justify-content: space-between;
}
.users_count {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.users_count strong {
    font-size: 16px;
    line-height: 0.9;
}

.catalog_buttons_top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    /* padding-left: 53px; */
    padding-right: 0;
    padding-left: 15px;
}
.catalog_buttons_top_01 {
    display: grid;
    grid-template-columns: repeat(auto-fill, 33%);
    justify-content: space-between;
    padding-right: 15px;
}
.catalog_buttons_top .search_form {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.catalog_buttons_top .search_form .search-form {
    display: flex;
}
.catalog_buttons_top .search_form .search-form label,
.catalog_buttons_top .search_form .search-form input[type="search"] {
    width: 100%;
}
.catalog_buttons_top .search_form .search-form input[type="search"],
.catalog_buttons_top .search_form  input[type="submit"] {
    height: 33px;
}
.catalog_buttons_top .add_file {
    padding-right: 0;
}
.catalog_buttons_top .add_file a {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .catalog_buttons_top_01 {
        display: flex;
        flex-direction: column;
    }
    .catalog_buttons_top_01 .cats_top {
        margin-bottom: 14px;
    }
    .catalog_buttons_top_01 .cats_top .cats_btn {
        height: 45px;
    }
    .catalog_buttons_top .search_form {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 14px;
    }
    .catalog_buttons_top .search_form .search-form input[type="search"],
    .catalog_buttons_top .search_form input[type="submit"] {
        height: 45px;
    }
    .catalog_buttons_top .search_form .search-form label {
        margin-bottom: 0;
    }
    .catalog_buttons_top .add_file a {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

.user_raiting {
    text-align: center;
}
.wp-pagenavi {
    width: 100%;
    text-align: center;
}
.wp-pagenavi a:hover,
.wp-pagenavi span:hover {
    border: 1px solid transparent;
}
@media (max-width: 991px) {
    .sidebar_section {
        position: fixed;
        z-index: 777;
        /* background-color: white; */
        top: 161px;
        right: 0;
        /* width: 30%;
        max-width: 30%; */
        width: 284px;
        max-width: 284px;
        height: auto;
        padding-bottom: 19px;
        padding-left: 21px;
        display: none;
    }
    body.scroll_300 .sidebar_section {
        top: 84px;
    }
    .sidebar_section.active {
        display: block;
    }
    .sidebar_section__inner {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: 2px 2px 20px rgb(97 97 100 / 28%);
    }
    .sidebar_section .user_greeting .user_avatar img {
        display: none;
    }
}

@media (min-width: 360px) and (max-width: 991px) {
    .sidebar_section .user_greeting .user_avatar .user_name {
        display: none;
    }
}

@media (max-width: 782px) {
    .sidebar_section {
        top: 172px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 102px;
    }
    .forum_content .sidebar_section {
        top: 127px;
    }
    body.scroll_300 .sidebar_section {
        top: 79px;
    }
    .sidebar_section {
        top: 128px;
    }
}

span.header_user_avatar__catalog{
    display: none;
}

@media (max-width: 991px) {
    a.header_user_avatar__catalog {
        display: none;
    }
    span.header_user_avatar__catalog {
        display: flex;
    }
}


@media (max-width: 450px) {
    .enter_page_template .um.um-login .um-half {
        width: 100%;
    }
    .enter_page_template .um.um-login .um-left {
        margin-bottom: 14px;
    }
}

.user_profile_page .um-profile .um-profile-photo .um-dropdown {
    display: none !important;
}
.um-dropdown li a {
    color: #898989 !important;
}
body div.uimob960 .um-profile-photo a.um-profile-photo-img {
    top: 0 !important;
}

@media (min-width: 769px) {
    .um-row__wrapper {
        display: flex;
        justify-content: space-between;
    }
    .um-row__wrapper .um-row {
        width: 48%;
    }
}

.sidebar_section .user_info li,
.sidebar_section .user_info li b {
    font-size: 14px;
    line-height: 1.3;
}
.sidebar_section .user_info li {
    margin-bottom: 5px;
}

.catalog_right_section .um-profile.um-editing .um-form .um-header .um-profile-photo .um-profile-photo-img {
    display: block !important;
}
.catalog_right_section .um-profile.um-editing .um-profile-nav {
    display: none;
}
.um.um-profile.um-editing .main {
    padding-top: 0;
}
.template_default.user_profile_page {
    padding-bottom: 135px;
}
.profile_edit_btn {
    color: #fff!important;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 10px 6px 28px;
    display: block;
    float: left;
    border-radius: 4px;
    margin-left: 5px;
    position: relative;
}
@media (max-width: 393px) {
    .profile_edit_btn {
        padding-left: 0;
    }
}
.profile_edit_btn:hover {
    background: #555;
}
.profile_edit_btn .um-faicon-cog {
    font-size: 16px;
}
.catalog_right_section .um-profile .um-profile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 14px;
    margin-bottom: 1px;
}
.catalog_right_section .um-profile .um-profile-nav .section_left {
    display: flex;
}

.enter_page_template .um-register #um_field_310_politik {
    position: absolute;
    left: 15px;
}
@media (max-width: 665px) {
    .enter_page_template .um-register #um_field_310_politik .um-field-checkbox-option {
        font-size: 10px;
        line-height: 19px;
    }
}

.enter_page_template .um-register.um-err .um-row__wrapper {
    margin-bottom: 93px;
}
@media (max-width: 768px) {
    .enter_page_template .um-register.um-err .um-row__wrapper {
        margin-bottom: 125px;
    }
    .enter_page_template .um-register.um-err .um-field-error {
        max-width: 97%;
    }
}

@media (max-width: 335px) {
    .enter_page_template .um-register.um-err .um-row__wrapper {
        margin-bottom: 161px;
    }
}

.enter_page_template .um-register .um-row__wrapper {
    margin-bottom: 25px;
} 
@media (max-width: 768px) {
    .enter_page_template .um-register .um-row__wrapper {
        margin-bottom: 58px;
    }
}
@media (max-width: 665px) {
    .enter_page_template .um-register .um-row__wrapper {
        margin-bottom: 65px;
    }
}
.catalog_right_section .um-profile .um-profile-nav {
    background: #3ba1da;
}
.catalog_right_section .um-profile .um-profile-nav .um-profile-nav-item.active a,
.catalog_right_section .um-profile .um-profile-nav .um-profile-nav-item a:hover,
.catalog_right_section .um-profile .profile_edit_btn:hover {
    background: #1f88c3;
}

@media (max-width: 444px) {
    .enter_page_template .um-register .um-half {
        width: 100%;
    }
    .enter_page_template .um-register .um-half.um-left {
        margin-bottom: 10px;
    }
}
.template_67 {
    min-height: 67vh;
}

.password_reset .links {
    display: flex;
    text-align: center;
    justify-content: center;
}
.password_reset .links .link:first-of-type {
    margin-right: 10px;
}
.password_reset .links .link:last-of-type {
    margin-left: 10px;
}
.password_reset .links span {
    color: #003878;
}
@media (max-width: 576px) {
    .single_post iframe {
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .single.single_post .post_image .image img,
    .single.single_post .comment-form-comment textarea {
        max-width: 100%;
    }
}

body.hidden {
    overflow: hidden;
}


@media (max-width: 991px) {
    .sidebar_section__inner {
        position: fixed;
        overflow: scroll;
        padding-bottom: 300px;
        height: 100%;
    }
}
@media (max-width: 480px) {
    .sidebar_section__inner {
        padding-bottom: 150px;
        overflow: scroll;
    }
}
.sidebar_section__inner .close_btn {
    position: absolute;
    right: 36px;
    top: 8px;
}
@media (min-width: 481px) {
    .sidebar_section__inner .close_btn {
        display: none;
    }
}
.sidebar_section__inner .close_btn span {
    background-color: #003878;
    width: 20px;
    height: 4px;
    border-radius: 50px;
    margin-bottom: 5px;
    display: block;
}
.sidebar_section__inner .close_btn span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 9px;
}
.sidebar_section__inner .close_btn span:nth-child(2) {
    transform: rotate(-45deg);
}

.post_edit_section__wrapper {
    position: relative;
    height: 0;
    overflow: hidden;
    margin-bottom: 35px;
}
.post_edit_section__wrapper.active {
    height: 100%;
    transition: all .2s;
}

.close_btn {
    position: relative;
}
.close_btn span {
    background-color: #003878;
    width: 20px;
    height: 4px;
    border-radius: 50px;
    margin-bottom: 5px;
    display: block;
}
.close_btn span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 9px;
}
.close_btn span:nth-child(2) {
    transform: rotate(-45deg);
}
.single_post .title_wrapper {
    display: flex;
    justify-content: space-between;
}
.single_post .post_edit_section__wrapper .acf-form-reset {
    display: inline-flex;
    border-radius: 30px;
    width: 109px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background-color: #003878;
    color: white !important;
    overflow: hidden;
    border: 1px solid #003878;
    font-size: 14px;
    font-weight: 600;

    position: absolute;
    bottom: 40px;
    left: 160px;
    cursor: pointer;
}
.single_post .post_edit_section__wrapper .acf-form-reset.moved {
    left: 181px;
}
.add_page .add_page__form {
    width: 80%;
}
@media (max-width: 991px) {
    .add_page .add_page__form {
        width: 100%;
    }
}
.add_page .add_page__form .acf-form-submit {
    margin-left: 10px;
    margin-top: 4px;
}

.catalog_right_section .um-profile.um-editing .um-form .um-header {
    display: block !important;
}
.single_post .catalog_right_section .comments-title  {
    line-height: 25px;
}
.members .um-directory.um-loaded .um-members-wrapper {
    padding-top: 4px;
}