
:root {
    --bannetHeightMobile: 332px;
    --bannetHeightDesktop: 370px;
}

.BlockOnMain_BannerSlider_Container .container {
    margin-bottom: 30px !important;
}

.BlockOnMain_BannerSlider {
    position: relative;
}

.BannerSlider {
    margin-bottom: 0 !important;
}
.BannerSlider.loading {
    height: var(--bannetHeightDesktop);
   /* overflow: hidden; */
}

.BlockOnMain_BannerSlider > .BannerSlider {
    overflow: hidden;
    height: var(--bannetHeightDesktop);
}

.BannerSlider_slide {
    height: var(--bannetHeightDesktop);
    display: flex;
    /*background-size: cover;
    background-position: center;
    */
    /*box-shadow: inset 5000px 0 rgb(0 0 0 / 40%);*/
}

.BannerSlider_slideContent {
    width: 680px;
    height: 248px;
    margin: 32px 24px 40px;
}

.BannerSlider_floatSidePanel_place {
}

/* Точки слайдера */

.BannerSlider .timeline-dots {
    display: flex;
    flex-wrap: nowrap;
    position: absolute;
    left: 22px;
    right: 22px;
    margin-top: -36px;
}

.BannerSlider .timeline-dots li {
    width: 100%;
    background: #ffffff45;
    margin-left: 4px;
}

.BannerSlider .timeline-dots li.slick-active {

}

.BannerSlider .timeline-dots li button {
    background: #fff;
    font-size: 0;
    padding: 0;
    line-height: 0;
    height: 4px;
    display: block;
    border: 0;
}

.BannerSlider .timeline-dots li.slick-active button {
    /*background: #00000045;*/
}

.BannerSlider_floatSidePanel {
    border: 1px solid #B2B2B2;
    background: #fff;
    position: absolute;
    z-index: 1;
    top: 32px;
    right: 32px;
    width: 392px;
    height: 248px;
}


@media screen and (min-width: 1640px) {
    .BannerSlider_floatSidePanel {
        right: 32px;
    }
}


.index-banner {
    color: #FFF;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
}

.index-banner_title {
    font-family: Circe;
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0px;
    margin: 0 0 16px 0;
    padding-top: 0px !important;
}

.index-banner_text {
    font-family: Circe;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
    margin-bottom: 16px;
}

.index-banner_more {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

.index-banner_more button {
    background-color: #fff;
    border-color: #fff;
    color: #000;
    padding: 6px 60px;
}

.index-banner_more button:hover {
    background-color: #014CA1;
    border-color: #014CA1;
    color: #fff;
}

@media screen and (max-width: 1279px) {
    .BannerSlider_slideContent {
        width: 330px;
        height: 280px;
    }

    .BannerSlider_floatSidePanel {
        width: 294px;
        height: 280px;
    }

    .index-banner_title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 6px;
    }

    .index-banner_text {
        margin-bottom: 6px;
    }

    .index-banner_more button {
        font-size: 21px;
        line-height: 24px;
        width: 100%;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media screen and (min-width: 768px) {
    .BlockOnMain_BannerSlider_Container .container {
        margin-top: 30px !important;
    }
}

@media screen and (max-width: 767px) {
    .BlockOnMain_BannerSlider > .BannerSlider {
        overflow: hidden;
        height: var(--bannetHeightMobile);
    }

    .BlockOnMain_BannerSlider_Container .container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .BannerSlider.loading {
        height: var(--bannetHeightMobile);
    }
    .BannerSlider_slide{
        height: var(--bannetHeightMobile);
    }


    .BannerSlider_slideContent {
        width: 100%;
        height: 257px;
        margin: 25px 17px 40px;
        max-width: calc(100vw - 34px);
    }

    .BannerSlider_floatSidePanel {
        position: initial;
        width: auto;
        height: auto;
    }
    .BannerSlider .timeline-dots{
        left: 13px;
        right: 17px;
        margin-top: -26px;
    }
}

/* Блок авторизации */

.BlockOnMain_Auth {
    margin: 27px 24px;
}

.BlockOnMain_Auth .text_area {
    font-family: Circe;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0px;
}

.BlockOnMain_Auth .button_auth {
    margin: 36px 0 34px;
}

.BlockOnMain_Auth .button_auth .button {
    width: 100%;
}

.BlockOnMain_Auth .reg_area {
    font-family: Circe;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0px;
    display: flex;
    justify-content: space-between;
    margin: 0 5px;
}

.BlockOnMain_Auth .reg_area .auth {
    font-weight: 350;
}

.BlockOnMain_Auth .reg_area .reg {
}

.BlockOnMain_Auth .reg_area .reg a {
}

.BlockOnMain_Auth .reg_area .reg a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1279px) {
    .BlockOnMain_Auth {
        margin: 19px 16px;
    }

    .BlockOnMain_Auth .button_auth {
        margin-top: 45px;
        margin-bottom: 27px;
    }

    .BlockOnMain_Auth .button_auth .button {
        font-size: 21px;
        line-height: 28px;
    }

    .BlockOnMain_Auth .reg_area {
        flex-direction: column;
        align-items: center;
        line-height: 29px;
    }
}

@media screen and (max-width: 767px) {
    .BlockOnMain_Auth {
        margin: 19px 16px 12px;
    }
    .BlockOnMain_Auth .button_auth {
        margin-top: 25px;
    }

    .BlockOnMain_Auth .reg_area {
        flex-direction: row;
    }

    .BlockOnMain_Auth .button_auth .button {
        padding: 6px 22px;
    }
}

/* Рубрики */

.rubrics {
    background: #E0E0E5;
    backdrop-filter: blur(8px);
    padding: 0px 24px;
    width: 100%;
    height: 100%;
    position: relative;
}

.rubrics .card-body {
    padding: 1rem 0;
    padding-top: 60px;
    margin-top: -50px;
    height: 100%;
}

.rubrics .card-body .tab-content,
.rubrics .card-body .tab-content > div {
    height: 100%;
}

.rubrics .card-body .tab-content > div {
    position: relative;
}

.rubrics .card-body .tab-content > div > ul {
    overflow: hidden;
    height: calc(100% - 30px);
}

.rubrics .nav-tabs .nav-link.active,
.rubrics .nav-tabs .nav-item.show .nav-link,
.rubrics .nav-tabs .nav-link:focus,
.rubrics .nav-tabs .nav-link,
.rubrics .nav-tabs {
    border: none;
    background: unset;
}

.rubrics .nav-tabs .nav-link:hover {
    border: none;
}

.rubrics .nav-tabs .nav-item .nav-link {
    font-style: normal;
    font-weight: 400;
    font: 16px/20px regular;
    font-family: 'Circe Regular', 'Circe R', 'Circe';
    line-height: 24px;
    text-align: center;
    color: #707075;
    border-bottom: 3px solid #B2B2B2;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.rubrics .nav-tabs .nav-item .nav-link.active {
    font-family: 'Circe Bold', 'Circe B', 'Circe', bold;
    font-weight: 700;
    color: #000;
}

.rubrics .nav-tabs .nav-item .active {
    border-bottom: 3px solid #000;
}

.rubrics .tab-pane a:hover,
.rubrics .nav-tabs .nav-item .nav-link:not(.active):hover {
    color: #0158bb;
}

.rubrics .pmd-tabs {
    position: relative;
    height: 50px;
    overflow: auto;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
}

.rubrics .pmd-tabs::-webkit-scrollbar {
    display: none;
}

.rubrics .pmd-tabs .nav-tabs {
    flex-wrap: nowrap;
    position: absolute;
    display: grid;
    grid-template-columns: repeat( 3, minmax(100px, 250px) );
}

.rubrics .card-body .tab-pane .ds-title__link {
    bottom: 0;
    position: absolute;
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
    .rubrics .pmd-tabs .nav-tabs {
        grid-template-columns: repeat(3, minmax(80px, 250px));
    }
    .rubrics .nav-tabs .nav-item .nav-link {
        font-size: 14px;
        padding: 0.5rem 0.25rem 0.3rem;
    }
}

@media screen and (max-width: 767px) {
    .rubrics .card-body .tab-pane .ds-title__link{
        position: initial;
    }
}

.link-1lines,
.link-2lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: Circe;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 5px;
}

.link-1lines {
    -webkit-line-clamp: 1;
}

.link-1lines a,
.link-2lines a {
    color: #000000;
    font: 18px/24px regular;
    font-family: 'Circe Regular', 'Circe R', 'Circe', regular;
}

.link-1lines:hover a,
.link-2lines:hover a {
    text-decoration: underline;
}

.link-1lines span,
.link-2lines span {
    color: #707075;
    font: 16px/20px regular;
    font-family: 'Circe Regular', 'Circe R', 'Circe';
}

.BannerSlider-container {
    width: 100%;
    height: var(--bannetHeightDesktop);
    position: relative; 
 
}

.BannerSlider_slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/local/templates/mcmportal2/images/banner/background-image-desktop-1224-banner.svg");
    background-repeat: no-repeat; 
    background-size: cover;
    z-index: 1;
    background-position: center;
}

.BannerSlider-image {
    position: absolute;
    right: 0px;
    opacity: 1;
    z-index: 0;
    width: 650px;
    height: 100%;
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center;
    top: unset;
}

@media screen and (min-width: 1640px) {
    .BannerSlider_slide::before {
        background-image: url("/local/templates/mcmportal2/images/banner/background-image-desktop-1640-banner.svg");
    } 
    
    .BannerSlider-image {
        background-size: cover;
        background-position: center;
        width: 870px;
        top: unset;
    }
}
/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .BannerSlider_slide::before {
        background-image: url("/local/templates/mcmportal2/images/banner/background-image-tablet-banner.svg");
    } 
    
    .BannerSlider-image {
        background-size: cover;
        background-position: 87% 100%;
        min-width: 100%;
        width: 100%;
        top: unset;
    }
}

@media screen and (max-width: 767px) {
    .BannerSlider_slide::before {
        background-image: url("/local/templates/mcmportal2/images/banner/background-image-mobile-banner.svg");
    } 
    
    .BannerSlider-image {
        background-size: contain;
        background-position: center;
        min-width: 100%;
        width: 100vw;
        top: 86px;
    }
}