.library .main-slider {
    height: 480px;
    position: relative;
}

.personal-program__text-text {
    max-width: 808px;
    font-family: 'SB Sans Display', sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    margin-top: 15px;
    color: #FFFFFF;
}

.library .main-slider__slider {
    height: 480px;
    padding: 20px 0;
}

.library .main-slider__slider .slick-list,
.library .main-slider__slider .slick-track {
    height: 100%;
}

.library .main-slider__slide {
   /* height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0px 100px;*/
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.main-slider__slider_new-block .main-slider__slider-arrows {
    width: 1224px;
    margin: 0px auto;
    position: absolute;
    height: 100%;
    left: calc(50% - 612px);
    pointer-events: none;
}

.main-slider__slider_new-block .main-slider__slider-arrows > div{
    pointer-events: auto;
    display: flex!important;
}
.library .main-slide__button {
    margin-top: 32px;
    width: 163px;
    height: 48px;
}

.library .main-slide__caption {
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
    color: #FFFFFF;
}

.library .main-slide__image-container {
    height: 100%;
}

.library .main-slide__image {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* .library .main-slider {
    position: relative;
}

.library .main-slider > .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    height: 20%;
}

.library .main-slider__slider {
    height: 480px;
}

.library .main-slider__slider .slick-list,
.library .main-slider__slider .slick-track {
    height: 100%;
    z-index: 4;
}

.library .main-slider__slide {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.library .main-slide__text-container {
    position: absolute;
    max-width: 520px;
    margin-left: 10%;
    z-index: 2;
}

.library .main-slide__button {
    margin-top: 32px;
    width: 163px;
    height: 48px;
}

.library .main-slide__caption {
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
    color: #FFFFFF;
}

.library .main-slide__image-container {
    margin-right: 60px;
    height: 100%;
}

.library .main-slider__slide > .content {
    display: flex;
    justify-content: flex-start;
    align-items: center
}

.library .main-slide__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} */

.library .library-list {
    padding-top: 64px;
}

.library .library-list__caption {
    margin-bottom: 32px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    color: #000;
}

.library .input-container__value {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    padding-top: 5px;
    font-family: "SB Sans Display";
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #333F48;
}

.library .input-container__value:focus-visible{
    outline: transparent;
}

.library .input-container__list {
    position: absolute;
    z-index: 1000;
    padding: 0 16px;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    max-height: 0;
    transition: .3s;
    background-color: #fff;
    overflow-y: auto;
    border-radius: 8px;
    
    scrollbar-color: #21ba72 transparent;
    scrollbar-width: thin;
}

.library .filter-input__input-container_opened .input-container__list {
    padding: 16px;
    max-height: 534px;
    box-shadow: 0px 0px 4px 2px rgba(157, 157, 157, 0.15);
}

.library .library-list__type .filter-input__input-container .input-container__list {
    padding: 0px 28px;
}

.library .library-list__type .filter-input__input-container_opened .input-container__list {
    padding: 20px 28px;
}

.library .input-container__list-item {
    margin-bottom: 16px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #333F48;
    cursor: pointer;
}

.library .input-container__list-item.focus {
    color: #209F6D;
}

.library .input-container__list-item-category-header {

    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #333F48;
    cursor: pointer;
}

.library  .input-container__list-item-category {
    margin-bottom: 18px;
}

.library .input-container__list-item-category:last-child {
    margin-bottom: 0;
}

.library .input-container__list-all-text {
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    color: #333F48;
    transition: .3s;
    position: relative;
    top: 2px;
}

.library .input-container__list-all-text:hover {
    color: #209F6D;
}

.library .input-container__theme-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 18px;
}

.library .input-container__theme-item:hover .input-container__theme-name{
    color: #209F6D;
}   

.library .input-container__theme-item:last-child {
    margin-bottom: 0;
}

.library .input-container__theme-name {
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #333F48;
    transition: .3s;
}

.library .input-container__theme-checkbox {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 11px;
    flex-shrink: 0;
}

.library .input-container__theme-checkbox-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid #E1E5EA;
    box-sizing: border-box;
    border-radius: 4px;
}

.library .input-container__theme-checkbox > input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1000;
}

.library .input-container__theme-checkbox-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    opacity: 0;
}

.library .input-container__theme-checkbox > input:checked + .input-container__theme-checkbox-back {
    background-color: #209F6D;
    border-color: #209F6D;
}

.library .input-container__theme-checkbox > input:checked + .input-container__theme-checkbox-back + .input-container__theme-checkbox-arrow {
    opacity: 1;
}

.library .input-container__list-item-category-body {
    max-height: 0;
    overflow: hidden;
    transition: .3s;
}

.library .input-container__list-item-category_opened .input-container__list-item-category-body {
    max-height: 1000px;
    margin-top: 15px;
}

.library .input-container__list-item-category_opened .input-container__list-item-category-icon {
    transform: rotate(180deg);
    transition: .3s;
}

.library .input-container__list-item-category-icon {
    margin-right: 10px;
}

.library .input-container__list-item:last-child {
    margin-bottom: 0;
}

.library .input-container__list-all {
    margin-bottom: 20px;
    padding: 4px 12px;
    display: inline-flex;
    border: 1px solid #E1E5EA;
    box-sizing: border-box;
    border-radius: 99px;
    cursor: pointer;
    transition: .3s;
}

.library .input-container__list-all:hover {
    border: 1px solid #E1E5EA;
    color: #209F6D;
}


.library .input-container__trigger {
    transition: .3s;
}

.library .input-container__list-all-icon {
    display: none;
    margin-right: 5px;
    justify-content: center;
    align-items: center;
}

.library .filter-input__input-container_opened .input-container__trigger {
    transform: rotate(180deg);
}

.library .input-container__list-all_active {
    border-color: #209F6D;
    background: #209F6D;
    
}

.library .input-container__list-all_active .input-container__list-all-icon {
    display: flex;
}

.library .input-container__list-all_active .input-container__list-all-text {
    color: #fff;
}

.library .filter-input__input-info {
    padding: 10px 16px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    color: #333F48;
}

.library .library-list__search .filter-input__input-container {
    padding: 10px 16px;
}

.library .library-list__search .filter-input__input-container:focus-within {
    border: 1px solid #209F6D;
}



.library .filter-input__input-container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* padding: 10px 16px; */
    width: 100%;
    height: 40px;
    border: 1px solid #E1E5EA;
    box-sizing: border-box;
    border-radius: 99px;
}

.library .filter-input__input-container:hover{

    border: 1px solid #209F6D;
}

.library .library-list__search,
.library .library-list__type,
.library .library-list__theme {
    width: 270px;
}

.library .input-container__value ::-webkit-input-placeholder,
.library .input-container__value ::-moz-placeholder,
.library .input-container__value :-moz-placeholder,
.library .input-container__value :-ms-input-placeholder {
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 140%;
    display: flex;
    align-items: center;
    letter-spacing: 0.002em;
    color: #878B90;
}

.library .filter-input__input-container_opened {
    border-color: #209F6D;
}

.library .input-container__icon {
    margin-right: 4px;
}

.library .library-list__filter-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.library .library-list__filter-item {
    margin-right: 16px;
}

.library .filter-input__label {
    margin-bottom: 8px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #333F48;
}

.library .input-container__count {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    background: #209F6D;
    border-radius: 999px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.input-container__count span{
    position: relative;
    font-size: 10px;
    top: 1px;
    left: -0.5px;
}

.library .filter-reset {
    margin-left: auto;
    width: 130px;
    height: 40px;
}

.library .library-list__categories {
    margin-top: 32px;
    margin-bottom: 32px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.library .library-list__category {
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    padding: 4px 12px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    color: #333F48;
    background: #F6F6F6;
    border-radius: 999px;
    transition: .3s;
}

.library .library-list__category:hover {
    color: #209F6D;
}

.library .library-list__category:last-child {
    margin-right: 0;
}

.library .library-list__category-remove {
    margin-left: 10px;
    cursor: pointer;
}

.library .library-item__image {
    width: 100%;
}

.library .library-item__image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.library .library-item__image-container.border{
    border: 1px solid #e7e7e7;
}

.library .library-item__category {
    margin-top: 16px;
    padding: 4px 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #F6F6F6;
    border-radius: 999px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    color: #333F48;
}

.library .library-item__caption {
    margin-top: 12px;
    margin-bottom: 16px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #333F48;
    transition: .3s;
}

.library .library-item__caption:hover {
    color: #209F6D;
}

.library .library-item__button {
    width: 155px;
    height: 40px;
}

.library .library-item {
    margin-bottom: 48px;
}

.library .library-promo {
    margin: 16px 0 64px;
}

.library .library-promo__slider {
    height: 380px;
}

.library .library-promo__slider .slick-list,
.library .library-promo__slider .slick-track {
    height: 100%;
}

.library .library-promo__slide {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
}

.library .library-promo {
    position: relative;
}

.library .library-promo__caption {
    margin-top: 64px;
    margin-bottom: 8px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 40px;
    color: #fff;
}

.library-promo__text-container {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 560px;
    margin-left: 108px;
    z-index: 2;
}

.library .library-promo__descriptor {
    margin-bottom: 34px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
}

.library .library-promo__button {
    width: max-content;
    height: 48px;
    padding: 0px 30px;
}

/* .library .library-promo__slide > .row {
    height: 100%;
} */

.library .library-promo__image-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.library .library-promo__image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.library .glossary__block {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(50.96% 93.77% at 82.25% 50.14%, #7AC0FF 0%, #136ACB 100%);
}

.library .glossary__block-book {
    /*position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    object-fit: contain;
    object-position: center;*/
    width: 100%;
}

.library .glossary {
    margin-bottom: 64px;
}

.library .glossary__caption {
    margin-bottom: 16px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
}

.library .glossary__descriptor {
    margin-bottom: 8px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}

.library .glossary__content {
    position: relative;
    z-index: 2;
    padding: 48px 0;
}

.library .glossary__descriptor b {
    font-weight: 600;
}

.library .glossary__block > .row {
    height: 100%;
}

.library .glossary__link {
    display: inline-block;
    margin-bottom: 24px;
    font-family: "SB Sans Display", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    text-decoration-line: underline;
    color: #FFFFFF;
}

.library .glossary__link:hover {
    color:  #209F6D;
}

.library .glossary__button_fill {
    width: 192px;
    height: 40px;
}

.slick-list,
 .slick-track {
    height: 100%;
}

@media screen and (max-width: 1919px) {
    .main-slider__slider_new-block .main-slider__slider-arrows{
        width: 1032px;
    margin: 0px auto;
    position: absolute;
    height: 100%;
    left: calc(50% - 516px);
    }
    .library .main-slide__image-container {
        height: auto;
    }
    .library .main-slide__image {
        height: auto;
        width: 415px;
    }

    .library .main-slide__caption {
        font-size: 30px;
        line-height: 40px;
    }
    .library-promo__text-container {
        width: 500px;
        margin-left: 88px;
    }

    .library .content {
        width: 1032px;
    }

    .library .library-promo__caption {
        /*margin-top: 29px;*/
        margin-top: 0px;
        
    }


    /* .library .library-promo__image {
        right: -118px;
        bottom: -110px;
        width: 540px;
    } */
}

@media screen and (max-width: 1919px) and (min-width: 1199px){

    .library-promo__text-container{
        height: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    }

}
/* @media screen and (max-width: 1440px) {
    
    .library .main-slide__text-container {
        max-width: 480px;
    }

} */@media screen and (max-width: 1441px) {


    .library .library-item__caption {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width: 1199px) {
    .main-slider__slider_new-block .main-slider__slider-arrows{
        width: 912px;
        left: calc(50% - 456px);
    }
    /* .library .main-slider__slide {
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    .library .main-slide__image-container {
        margin-right: 0;
        height: 65%;
        width: 100%;
    } */

    /* .library .main-slide__image-container {
        height: 100%;
    } */

    /* .library .main-slide__image {
        height: 100%;
        width: 100%;
        object-fit: contain;
    } */

    /* .library .main-slide__image {
        max-width: 1199px;
    } */

    /* .library .main-slider__slider {
        height: 100%;
        padding: 0;
    }

    .library .main-slider {
        height: 100%;
    } */

    .library .content {
        width: 100%;
        max-width: 990px;
        padding: 0 39px;
    }

    .library .main-slider__slide {
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    .library .main-slide__image-container {
        margin-right: 0;
        height: 65%;
        width: 100%;
    }

    .library .main-slide__image {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

    .library .main-slider__slider {
        height: 694px;
        padding: 0;
    }

    .library .main-slider {
        height: 800px;
    }


    .library .filter-input__input-container {
        width: 100%;
    }

    .library .library-list__filter-row {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .library .library-list__search {
        width: 100%;
        margin-bottom: 24px;
    }

    .library .library-list__type {
        width: calc(50% - 12px);
    }

    .library .library-list__theme {
        width: calc(50% - 12px);
    }

    .library .library-list__filter-item {
        margin-right: 0;
    }

    .library .filter-reset {
        margin-top: 24px;
        margin-left: 0;
    }

    .library .library-list__categories {
        margin-top: 24px;
    }

    .library .library-promo__slider {
        height: 637px;
    }

    .library-promo__text-container {
        width: 100%;
        margin: 48px 38px 0;
    }

    /* .library .library-promo__slide {
        padding: 48px 39px;
    } */

    .library .library-promo__caption {
        margin-top: 0;
    }

    .library .library-promo__button {
        height: 40px;
    }

    .library .library-item {
        margin-bottom: 32px;
    }

    .library .library-promo__image {
        position: static;
        margin: 0 auto;
        border-radius: 16px;
        overflow: hidden;
    }

    .library .main-slider__slider-container {
        position: relative;
    }

    .library .glossary__content {
        padding: 28px 0 28px 32px;
    }
}

@media screen and (max-width: 990px) {
    .main-slider__slider_new-block .main-slider__slider-arrows {
        width: 100%;
        left: 0px;
    }

    .main-slider__slider_new-block .main-slider__slider-arrows .slider-arrow_left{
        left: 39px;
    }

    .main-slider__slider_new-block .main-slider__slider-arrows .slider-arrow_right{
        right: 39px;
    }
}

@media screen and (max-width: 768px) {

    /* .library .main-slider__slider {
        height: 694px;
    } */

    /* .library .main-slide__text-container {
        max-width: 520px;
        bottom: 80px;
    } */

    /* .library .main-slider .content {
        width: 90%;
    } */
}


@media screen and (max-width: 767px) {
    .personal-program__text-text {
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 24px;
    }

    .library .main-slider__slide{
        margin: 0px;
        padding-bottom: 50px;
    }
    /* .library .main-slider {
        height: auto;
    }

    .library .main-slider__slider {
        height: auto;
    } 

     .library .main-slide__caption {
        font-size: 24px;
        line-height: 30px;
    } */
    

    /* .library .main-slide__text-container{
        margin-left: 36px;
        bottom: 80px;
        max-width: 520px;
    } */

    .library .slider-arrows {
        display: none;
    }

    .library .content {
        padding: 0 24px;
        width: 100%;
    }

    .library .main-slider {
        height: auto;
    }

    .library .main-slider__slider {
        height: auto;
    }

    .library .main-slide__caption {
        font-size: 24px;
        line-height: 30px;
    }

    .library .main-slide__button {
        height: 40px;
    }

    .library .main-slide__image-container {
        height: 50%;
        margin-bottom: 24px;
    }
    
    .library .main-slider__slider .slick-dots li svg circle:first-child {
        fill: #fff;
        opacity: .4;
    }

    .library .main-slider__slider .slick-dots {
        /* text-align: left; */
        position: static;
        margin-top: 18px;
        margin-bottom: 34px;
    }

    .library .main-slider__slider .slick-dots .slick-active svg circle:first-child {
        fill: #21BA72;
    }

    .library .library-list__search {
        width: 100%;
        margin-bottom: 24px;
    }

    .library .library-list__type {
        width: 100%;
        margin-bottom: 24px;
    }

    .library .library-list__theme {
        width: 100%;
        margin-bottom: 24px;
    }

    .library .filter-reset {
        margin-top: 0;
    }

    /* .library .library-promo__slide {
        padding: 24px;
    } */

    .library-promo__text-container {
        top: inherit;
        bottom: 0;
        width: auto;
        margin: 0 24px 80px;
    }

    .library .library-promo__caption {
        font-size: 24px;
        line-height: 30px;
    }

    .library .library-promo__slider {
        height: auto;
    }

    .library .library-promo__button {
        width: 100%;
    }

    .library .library-promo__image {
        width: 100%;
    }

    .library .library-promo__image-container {
        margin-bottom: 24px;
    }

    .library .library-promo__slider .slick-dots {
        position: static;
    }

    .library .library-promo__descriptor {
        font-size: 14px;
        line-height: 20px;
    }

    .library .library-promo {
        margin-bottom: 48px;
    }


    .library .glossary__block-book {
        width: 100%;
        position: static;
    }

    .library .glossary__block {
        height: auto;
    }

    .library .glossary__content {
        padding: 40px 24px;
    }

    .library .glossary__button_fill {
        width: 100%;
    }
}@media screen and (max-width: 540px) {
    .library .main-slider__slide{
        padding-bottom: 70px;
    }
}

/* @media screen and (max-width: 540px) {

    .library .main-slider__slider{
        height: 468px;
    }
    .library .main-slide__caption {
        font-size: 24px;
        line-height: 30px;
    }

    .library .main-slide__text-container{
        margin-left: 24px;
        bottom: 75px;
    }
} */

.flex-gl{
    display: flex;
    align-items: center;
}

.filterbtns{
    position: relative;
}

.jsresetfilerall{
    margin-left: 10px!important;
    display: none;
}


.pc-clear{
    margin-top: 10px;
}

@media screen and (max-width: 1199px){
    .pc-clear{
        display: none;
    }

    .jsresetfilerall{
        display: flex;
    }

    .filterbtns{
        width: 100%;
    display: flex;
    }
}

@media screen and (max-width: 320px){
    .library .library-promo__descriptor{
        display: none;
    }

    .library .library-promo__caption{
        margin-bottom: 20px;
    }
}

.jssetmaterial{
    transition: color 0.2s;
}

.jssetmaterial:hover{
    color: #209F6D;
}

.button_fill-dark > span{
    position: relative;
    top: 2px;
}
.jssetfilet{
    
    background: #21BA72;
}
.jssetfilet:hover{
    
    background: #209F6D;
}

.main-slider__slider_new-block{
    position: relative;
}