@font-face {
    font-family: 'Segoe UI';
    src: url('fonts/SegoeUI-SemiBold.eot');
    src: local('Segoe UI Semibold'), local('SegoeUI-SemiBold'),
        url('fonts/SegoeUI-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/SegoeUI-SemiBold.woff2') format('woff2'),
        url('fonts/SegoeUI-SemiBold.woff') format('woff'),
        url('fonts/SegoeUI-SemiBold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('fonts/SegoeUI.eot');
    src: local('Segoe UI'), local('SegoeUI'),
        url('fonts/SegoeUI.eot?#iefix') format('embedded-opentype'),
        url('fonts/SegoeUI.woff2') format('woff2'),
        url('fonts/SegoeUI.woff') format('woff'),
        url('fonts/SegoeUI.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}



* {
     -webkit-tap-highlight-color: transparent !important;
     tap-highlight-color: transparent !important;
}

.container.header {
    display: none;
}

.container.footer {
    display: none;
}

/*  MOBILE  */

.library {
    overflow: hidden;
}

.library .container {
    padding-top: 0;
    max-width: 1360px;
}

.library * {
    font-family: 'Segoe UI';
    color: #364153;
}

.elDesk {
    display: none !important;
}

.library__header {
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
    position: relative;
}

.library__header-fixed {
   display: none;
}

.library__header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.library__header-burger {
    width: 24px;
}
.library__header-home img {
    width: 24px;
}

.library__header-home {
   margin: 0 15px;
}

.library__header-lupa {
    width: 20px;
}

.library__header-logo img {
    width: 115px;
    transform: translateY(3px);
    transition: .2s;
}

.library__header-sanofi img {
   width: 78px;
   transform: translateY(3px);
   transition: .2s;
}

.library__header-sep {
    width: 1px;
    height: 27px;
    background: #E5E7EB;
}

.library__header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 65%;
}
.library__header-right .library__header-sep,
.library__header-sanofi,
.library__footer-sanofi {
    display: none;
}


.library__header.makeFixed {
    position: fixed;
    top: 0;
    background: #fff;
    z-index: 40;
    width: calc(100% - 30px);
}

.library__header.makeFixed .library__header-logo img {
    width: 83px;
}

.library__header.makeFixed .library__header-sanofi img {
    width: 57px;
}

.library__header.makeFixed .library__header-right {
    width: 48%;
}

.library__header.makeFixed {
    padding: 8px 0;
}


.library__filter-list-mat .library__filter-list {
    flex-direction: row;
    max-width: 100%;
    overflow: initial;
    min-width: initial;
    flex-wrap: wrap;
}

.library__filter-list-cont.library__filter-list-mat {
    /*
    overflow: initial;
    */
}


.library__filter-list-parent-ills .library__filter-list-item[data-ill] {
  width: 100%;
}

.library__filter-list-parent-ills  {
   flex-direction: column;
}

.library__brands-list-li.list-item-hide,
.library__filter-list-item.library__filter-list-item-ill.list-item-hide {
    display: none;
}
.library__filter-list-item.list-item-hide {
    display: none;
}

.library__brands-list-li.list-item-hide.list-item-show,
.library__filter-list-item.library__filter-list-item-ill.list-item-show {
    display: flex;
}
.library__filter-list-item.list-item-hide.list-item-show {
    display: flex;
}

.updown__word {
    color: #7000E6;
    font-size: 12px;
}

.updown__wordN {
    display: none;
}

.updown__arr {
    width: 8px;
    transition: .2s;
    transform: rotate(180deg);
}

.updown {
    margin-top: 8px;
    cursor: pointer;
}
.updown.active .updown__arr {
    transform: rotate(0);
}

.updown.active .updown__wordN {
    display: inline;
}
.updown.active .updown__wordY {
    display: none;
}

@media (max-width: 370px) {
    .library__header-sanofi img {
        width: 60px;
    }
}

.library__brands-list-li,
.library__filter-list-item.library__filter-list-item-ill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 5px 10px 5px 10px;
    cursor: pointer;
    transition: .2s;
    border-radius: 6px;
}

.library__brands-list-li a,
.library__filter-list-item.library__filter-list-item-ill a {
   text-decoration: none;
   display: block;
   min-width: 100%;
}

.library__brands-list-li span:not(.list-li-dop span) {
    transition: .2s;
}

.library__brands-list-li.active span:not(.list-li-dop span),
.library__filter-list-item.library__filter-list-item-ill.active span:not(.list-li-dop span) {
    color: #00C0C0;
    font-weight: 500;
}

.list-li-dop a {
   transition: .2s;
}

.library__brands-list-li:hover,
.library__filter-list-item.library__filter-list-item-ill:hover {
   background: rgba(114, 118, 139, 0.16);
}

.list-li-dop.active span {
    color: #00C0C0;
    font-weight: 500;
}


.library__brand-arrB {
    width: 7px;
}
.library__filter-title {
    margin-top: 30px;
}
.library__filter-title:first-child {
    margin-top: 0;
}


.library__filter-list-item a:not(.library__filter-list-item.library__filter-list-item-ill a) {
    margin-right: 0;
    display: inline-flex;
    margin-bottom: 10px;
    white-space: nowrap;
}
.library__filter-list-item:last-child a {
   margin-bottom: 0;
}

.library__filters.library__filters-all {
    flex-direction: column;
    align-items: flex-start;
}


.library__brands-list,
.library__filter-list.library__filter-list-parent-ills {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.library__brands-list-dop {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: .2s;
}
.library__brands-list-dop.library__brands-list {
   overflow: auto;
   scrollbar-width: none; 
}

.library__brands-list-dop.library__brands-list::-webkit-scrollbar {
    display: none;
}

.brands-many.active .library__brands-list-dop {
    transform: translateX(0);
}

.back_to_list {
    font-weight: 600;
}

.back_to_list span {
    color: #364153 !important;
}

.back_to_list__img {
    transform: rotate(180deg);
    margin-right: 10px;
}

.list-li-dop {
    display: block;
    padding-left: 19px;
}

.list-li-dop.back_to_list {
    padding-left: 0;
}

.list-li-dop.back_to_list:hover {
    background-color: #fff;
}

.list-li-dop.back_to_list:hover span {
   color: #364153;
}

.library__filters-top {
    display: none;
}

.library__h1 {
   line-height: 1;
   font-size: 40px;
   font-weight: 400;
   margin-bottom: 24px;
   margin-top: 0;
}

.library__section {
    padding-top: 40px;
}

.library__form-search {
    position: relative;
}

.library__params-lupa {
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    cursor: pointer;
}

.library__form-search input {
    border-radius: 12px;
    border: 1px solid #E5E5EA;
    font-size: 14px;
    padding: 0 20px 0 50px;
    height: 50px;
    width: 100%;
    outline: none;
}

.library__form-search input:placeholder {
    color: #99A1AF;
}

.library__filters {
    margin-top: 16px;
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-bottom: 12px;
}

.library__filters-item {
    margin-right: 10px;
}

.library__filter-1,
.library__filter-2 {
    width: 36px;
    cursor: pointer;
}

.library__brands-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    border-radius: 12px;
    border: 1px solid #F3F4F6;
    height: 34px;
    width: 81px;
    cursor: pointer;
}
.library__brand-arr {
    width: 12px;
    margin-left: 7px;
}

.library__forspec {
   display: flex;
   background: #F3F4F6;
   height: 32px;
   padding: 0 10px;
   border-radius: 12px;
    align-items: center;
    cursor: pointer;
}

.library__forspec-locked {
   margin-right: 7px;
   width: 12px;
   transition: .2s;
}

.library__forspec-text {
   color: #364153;
}

.library__filter-title {
    font-size: 14px;
    font-weight: 500;
    margin: 20px 0 12px 0;
}

.library__filter-list {
    display: flex;
    min-width: fit-content;
}

.library__forspec.active {
    background-color: #00C0C0;
    color: #fff;
}

.library__forspec.active .library__forspec-locked {
    filter: brightness(0) invert(1);
}

.library__forspec.active .library__forspec-text {
   color: #fff;
}

.library__filter-list.library__filter-list-icons {
    min-width: 430px;
}

.library__filter-list-cont {
   overflow: auto;
  margin-right: -15px;
  scrollbar-width: none;
}

.library__filter-list-cont::-webkit-scrollbar {display: none;}


.library__filter-list-item a:not(.library__filter-list-item.library__filter-list-item-ill a) {
   text-decoration: none;
   font-size: 12px;
   color: #364153;
   padding: 10px 12px;
   border-radius: 12px;
   margin-right: 10px;
   background: #F3F4F6;
       display: flex;
    align-items: center;
    transition: .2s;
}



.library__filter-list-item.active a {
    background-color: #00C0C0 !important;
    color: #fff;
}

.library__filter-list-item.active a span {
    color: #fff;
}

.library__filter-list-item-pic {
    transition: .2s;
}

.library__filter-list-item.active a .library__filter-list-item-pic {
    filter: brightness(0) invert(1);
}


.library__filter-list-item-pic {
    width: 12px;
    margin-right: 10px;
    transition: .2s;
}

.library__cards {
    padding-top: 30px;
    border-top: 1px solid #F2F2F7;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.library__card {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #E5E7EB;
    width: 100%;
    min-width: 100%;
}

.library__card-top {
    position: relative;
    /*
        height: 48vw;
        */
    border-radius: 8px;
    margin-bottom: 20px;
    transition: .2s;
    height: auto;
}

.library__card:hover {
   transform: translateY(-4px);
}

.library__card:hover .library__card-top {
   border: 2px solid #00C0C0;
}

.library__card:hover .library__card-title {
    color: #00C0C0;
}


.library__card-prev {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 8px;
}

.library__card-tags {
    position: absolute;
    top: 15px;
    left: 20px;
    display: flex;
}

.library__card-tag {
   border-radius: 12px;
   background: #fff;
   font-size: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 6px 7px;
}

.library__card-tag-text {
   margin-left: 4px;
}

.library__card-tag-icon {
    width: 12px;
}

.library__card-title {
    font-size: 18px;
    font-weight: 500;
    transition: .2s;
}

.library__card-brand {
    font-size: 12px;
    color: #99A1AF;
    margin: 16px 0 12px 0;
}

.library__card-tag2 {
    background: #F1E6FD;
}

.library__card-tag-2 {
    width: 36px;
    height: 28px;
    background: #B3EDED;
    border-radius: 12px;
    display: flex;
   align-items: center;
   justify-content: center;
   margin-left: 7px;
}

.library__card-tag-bottom {
   color: #7000E6;
   border-radius: 12px;
   background: #F1E6FD;
   padding: 9px 12px;
   display: inline-block;
   font-size: 12px;
}


.library__showMore {
    width: 100%;
    border-radius: 16px;
    background: #00C0C0;
    color: #fff;
    font-size: 16px;
    border-radius: 16px;
    height: 52px;
    border: 0;
    outline: 0;
    cursor: pointer;
    transition: .2s;
    display: none;
}

.library__cards-empty {
    display: none;
    padding-left: 30px;
    padding-top: 20px;
}

.library__showMore:hover {
    opacity: .8;
}

.library__footer {
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid #E5E5EA;
}
.library__footer-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.library__footer-logo img {
    width: 100px;
}

.library__footer-sanofi img {
    width: 70px;
    margin-left: 20px;
}

.library__copyright {
    font-size: 14px;
    margin-top: 15px;
    width: 100%;
}

.library__filters-close {
    display: none;
}


.library__overlay, .library__overlay-media {
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    display: none;
}

.library__fixed-filters, .library__filterFix {
    display: none;
    max-height: 80vh;
    overflow: auto;
    font-family: 'Segoe UI';
}

.library__filter-spec {
    display: flex;
    font-size: 14px;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
}

.library__filter-spec-self {
    width: 47px;
    height: 29px;
    background: #E5E5EA;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: .2s;
    margin-left: 10px;
}
.library__filter-spec-switch {
    position: absolute;
    width: 23px;
    height: 23px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 4px;
    transition: .2s;
}
.library__filter-spec-self.active {
    background: #B3EDED;
}

.library__filter-spec-self.active .library__filter-spec-switch {
   background: #00C0C0;
   left: initial;
   right: 4px;
}




@media (max-width: 1023px) {
    .library__filters-all, .library__filterFix {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #fff;
    border-radius: 16px 16px 0 0;
    padding: 30px 20px;
    z-index: 100;
    transform: translateY(100%);
    transition: .2s;
    display: block;
    margin-bottom: 0;
}

.library__filters-all .library__filter-title, .library__filterFix .library__filter-title {
    font-size: 16px;
    font-weight: 550;
}

.library__filters-all.active, .library__filterFix.active {
     transform: translateY(0);
}

 .library__filters-all:after, .library__filterFix:after {
     content: "";
     position: absolute;
     left: 50%;
     top: 5px;
     transform: translateX(-50%);
     height: 3px;
     width: 36px;
     background: rgba(0, 0, 0, 0.2);
 }

 .library__filters-close {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
    cursor: pointer;
    width: 12px;
 }
 .library__filter-title {
    margin-top: 0;
 }

 .back_to_list span {
    font-size: 16px;
 }

 .library__brands-list-li:hover,
 .library__filter-list-item.library__filter-list-item-ill:hover {
     background-color: #fff !important;
 }

.ascDesc__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ascDesc__item-text {
    font-size: 14px;
    font-weight: 500;
}

.ascDesc__item-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(19, 19, 19, 0.2);
}

.ascDesc__item.active .ascDesc__item-circle {
    border-color: #00C0C0;
    background: #00C0C0;
    position: relative;
}
.ascDesc__item.active .ascDesc__item-circle:after {
    content: "";
    background: #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
     position: absolute;
}


.library__filters-mob-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.library__filter-title-flex {
    display: flex;
    justify-content: space-between;
}

.library__filter-title-flex-right {
    color: #7000E6;
    font-size: 12px;
    text-decoration: underline;
}

.clonedTypes, .clonedBrands, .clonedIlls {
    margin-bottom: 25px;
}

/*
.clonedTypes .library__filter-list-item a:not(.clonedTypes .library__filter-list-item.library__filter-list-item-ill a) {

    padding: 13px 16px;
    background: #fff;
    color: #364153;
    border: 1px solid #E5E5EA;
}
*/

.clonedTypes .library__filter-list-item.active a {
    background: #00C0C0;
    border-color: #00C0C0;
}

.clonedTypes .library__filter-list-item-pic {
    width: 16px;
}

.clonedTypes .library__filter-list.library__filter-list-icons {
    min-width: 450px;
    flex-wrap: nowrap;
}

.library__brands-list-li,
.library__filter-list-item.library__filter-list-item-ill {
    font-size: 12px;
}

.clonedIlls .library__filter-list-item a:not(.clonedIlls .clonedTypes .library__filter-list-item.library__filter-list-item-ill a),
.library__filter-list-cont-ills-origin .library__filter-list-item a:not(.library__filter-list-cont-ills-origin .library__filter-list-item.library__filter-list-item-ill a),
.library__filter-list-cont-mats-origin .library__filter-list-item a:not(.library__filter-list-cont-mats-origin .library__filter-list-item.library__filter-list-item-ill a) {
    padding: 13px 16px;
    border-radius: 16px;
    margin-right: 15px;
}


.library__filter-spec-mobile {
    justify-content: space-between;
    margin-top: 30px;
}

.back_to_list span {
    font-size: 16px;
    color: #00C0C0 !important;
}

.library__brands-list-li,
.library__filter-list-item.library__filter-list-item-ill {
   padding-left: 0;
}


.library__brand-arrB {
    width: 5px;
    margin-right: 5px;
}

.library__filters-all .library__filter-title {
            font-size: 24px;
        margin-bottom: 30px;
}
.list-li-dop.back_to_list {
    margin-bottom: 10px;
}

.desk-yu {
    display: none;
}

.list-li-dop.back_to_list[data-backToMain] {
    display: block;
    margin-bottom: 15px;
}

.library__filter-list-cont-ills-origin .library__filter-list,
.library__filter-list-cont-mats-origin .library__filter-list {
    min-width: 100%;
    flex-wrap: wrap;
}

.library__form-search-fixed {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    display: none;
    z-index: 99;
        width: 90%;
}
.library__form-search-fixed.active {
    display: block;
}


}




/* TABLET */

@media (min-width: 481px) {
    .library__filter-list-item a:not(.library__filter-list-item.library__filter-list-item-ill a) {
        font-size: 14px;
    }

    .library__filter-list {
        min-width: 820px;
    }

    .library__filter-list.library__filter-list-icons {
    min-width: initial;
}

.library__filter-title {
    font-size: 17px;
}

.library__form-search input {
   font-size: 16px;
}

.library__card-top {
    /*
    height: 40vw;
    */
}

.library__filter-list-item-pic {
   width: 16px;
}

}

@media (min-width: 500px) {
  .library__header-right {
    width: 275px;
  }
  .library__header.makeFixed .library__header-right {
     width: 250px;
  }
}


@media (min-width: 768px) {
    .library__footer-flex {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .library__copyright {
        width: initial;
        order: 1;
        margin-top: 0;
    }
    .library__footer-logo {
        order: 2;
        margin: 0 0 0 40px;
    }
    .library__footer-sanofi {
        order: 3;
        margin-left: 0;
    }
    .library__card {
        min-width: 49%;
        width: 49%;
        border-bottom: 0;
        padding-bottom: 0;
    }
    .library__cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .library__card {
    margin-right: 0;
  }

    .library__card-top {
        /*
        height: 180px;
        margin-bottom: 25px;
        */
    }

    .library__card-brand {
       margin: auto 0 15px 0;
    }
    .library__card-bottom {
        min-height: 130px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .library__card {
        border-bottom: 0;
    }
} 


@media (min-width: 1024px) {

.library {
    overflow: initial;
}

.library__params-lupa {
    left: 45px;
}

.library__flex {
   display: flex;
   position: relative;
}
.library__params {
    width: 275px;
    min-width: 275px;
    padding-right: 30px;
    position: sticky;
    top: 60px;
    left: 0;
    max-height: fit-content;
}

.library__cards {
    padding-left: 30px;
    border-top: 0;
}

.elMobile {
    display: none;
}

.elDesk {
    display: block !important;
}

.library__h1  {
    font-size: 50px;
    margin-bottom: 30px;
    padding-left: 30px;
}

.library__form-search {
    padding-left: 30px;
}

.library__form-search input {
  border-radius: 24px;   
}

.library__filters {
    margin-top: 0;
}




.library__right {
     border-left: 1px solid #E5E5EA;
     width: 100%;
}

.library__card-tag-bottom {
    font-size: 16px;
}

.library__filter-list { 
  min-width: initial;
}


.library__showMore {
    margin-left: 30px;
    width: calc(100% - 30px);
}

.library__header-logo img {
  width: 126px;   
}

.library__header-sanofi img {
    width: 86px;
}

.library__header-right {
    width: 275px;
}

.library__header-home {
    display: flex;
    align-items: center;
}

.library__header-home span {
    font-size: 14px;
    margin-left: 15px;
}

.library__filters-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 30px;
    margin-top: 30px;
}

.library__filter-date {
    border-radius: 32px;
    border: 1px solid #E5E5EA;
    font-size: 14px;
    color: #364153;
    padding: 15px 40px 15px 15px;
    outline: none;
    appearance: none;
    background-image: url(img/select-arr.svg);
    background-repeat: no-repeat;
    background-position: right 15px center; 
    cursor: pointer;
}


.library__cards {
    justify-content: flex-start;
} 

.library__card {
   min-width: 31.5%;
   width: 31.5%;
   transition: .2s;
}

.library__card {
    margin-right: 2.7%;
}

.library__card:nth-child(3n) {
    margin-right: 0 !important;
}

.library__footer {
    border-top: 1px solid #E5E5EA;
    margin-top: 60px;
}

.library__right {
    position: relative;
}

.library__fixed-filters .library__form-search {
    min-width: 47%;
    margin-right: 10px;
}

.library__fixed-filters .library__form-search input {
    height: 40px;
}

.library__fixed-filters .library__filter-date {
    padding: 11px 40px 11px 15px;
}

.library__fixed-filters {
    position: sticky;
    top: 55px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    z-index: 40;
    padding: 20px 0;
    display: none;
}


.library__fixed-filters .library__filter-spec {
    font-size: 12px;
    text-align: center;
}


.library__header.library__header-fixed {
 z-index: 10;
 background: #fff;
 padding: 10px 0;
  display: none;
    position: sticky;
    top: 0;
    min-height: 55px;
}

.library__header-fixed .library__header-home img {
    width: 18px;
}

.library__header-fixed .library__header-logo img {
    width: 100px;
}

.library__header-fixed .library__header-sanofi img {
    width: 68px;
}
 .library__header-fixed  .library__header-right {
   width: 240px;
}


}


/* DESKTOP */

@media (min-width: 1280px) {

    .library__filters.library__filters-all {
    padding-bottom: 10px;
}

.library__filter-list-cont1 {
    padding-bottom: 10px;
}

   .library__section {
    padding-top: 60px;
}

.library__h1 {
    font-size: 64px;
}


.library__card-top {
     border: 2px solid #fff;
     border-radius: 8px;
     height: 180px;
}

.library__fixed-filters .library__filter-spec {
    font-size: 14px;
    text-align: initial;
}

.library__fixed-filters {
    z-index: 40;
    padding-top: 20px;
    padding-bottom: 20px;
}

}

    [data-backToMain] {
    display: none;
}


.library__popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000B2;
    backdrop-filter: blur(30px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.library__popup-self {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    font-family: 'Segoe UI';
    max-width: 60vw;
}
.library__popup-title {
    font-size: 38px;
    font-weight: 600;
    color: #364153;
    text-align: center;
}
.library__popup-descr {
    font-size: 16px;
    color: #364153;
    opacity: .76;
    margin: 32px 0;
    text-align: center;
}
.library__popup-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.library__btn {
    outline: 0;
    border: 0;
    border-radius: 16px;
    background: #00C0C0;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 30px;
    cursor: pointer;
    line-height: 1;
    min-height: 54px;
    transition: .2s;
}
.library__popup-disagree {
    background: #fff;
    color: #4A5565;
    box-shadow: 0px 3px 5px 0px #E3EBFC;
    border: 1px solid #E5E7EB;

}

.library__popup-agree:hover {
    opacity: .8;
}

    .library__filter-list-item a:not(.library__filter-list-item.library__filter-list-item-ill a):hover {
      opacity: 1 !important;
  }


@media (max-width: 767px) {
    .library__popup-self {
        width: calc(100% - 30px);
        text-align: center;
        max-width: 80vw;
    }
    .library__popup-title {
    font-size: 32px;
    line-height: 1.2;
}

.library__popup-btns {
    flex-wrap: wrap;
    justify-content: center;
}

.library__popup-btn {
   margin-bottom: 20px;
}

}


.brands-many.brands-many-in > span {
    color: #00C0C0;
    font-weight: 500;
}

#reset-filters {
    outline: 0;
    border: 0;
    background: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 40px;
    display: none;
}

#reset-filters img {
    width: 8px;
    margin-left: 10px;
}

#reset-filters span {
    color: #C22C47;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
 }
#reset-filters:hover span {
    text-decoration: initial;
}

@media (max-width: 1023px) {
    #reset-filters {
        margin-top: 30px;
    }
}

@media (min-width: 1024px) {

    .library__filter-list-item a:not(.library__filter-list-item.library__filter-list-item-ill a):hover {
    background: #B3EDED !important;
    color: #4A5565;
}

.library__filter-list-item a:not(.library__filter-list-item.library__filter-list-item-ill a):hover span  {
    color: #4A5565;
}

.library__filter-list-item a:not(.library__filter-list-item.library__filter-list-item-ill a):hover .library__filter-list-item-pic  {
  filter: brightness(0);
}


}

.library__totop {
   width: 40px;
    position: fixed;
    bottom: 60px;
    right: 40px;
    cursor: pointer;
    display: none;
}



.library__back {
    width: 132px;
    height: 40px;
    font-size: 14px;
    border-radius: 32px;
    color: #364153;
    border: 1px solid #E5E5EA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 30px 0;
}

.library__back img {
    width: 6px;
    margin-right: 10px;
}

.library__page-h1 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.2;
}

.library__page-tags {
    display: flex;
}

.library__page-tag {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 12px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.library__page-tag img {
    height: 12px;
    width: auto;
    margin-right: 3px;
}

.library__page-tag.library__page-dwl {
    width: 87px;
    height: 28px;
    background: #00C0C0;
    margin-left: 5px;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.library__page-tag.library__page-dwl.library__page-share {
    width: 109px;
}

.library__page-tag.library__page-dwl span {
  color: #fff;
  font-family: Inter;
}

.library__page-tag.library__page-dwl img {
    margin-right: 0;
    margin-left: 3px;
}

.library__page-content {
    margin-top: 30px;
    padding-bottom: 20px;
}

.library__page-pdf {
    display: block;
    max-width: 540px;
    margin: auto;
}

.library__page-h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
    margin-top: 0;
}

.library__page-texts {
  margin-top: 20px;
}

.library__page-par {
  font-size: 16px;
  color: rgba(54, 65, 83, 0.8);
}

.library__back-desk {
  display: none;
}



.library__page-content.library__page-content-video {
    margin-top: 35px;
    padding-bottom: 15px;
}

.library__page-video-prev {
    border-radius: 6px;
}

.library__page-video {
  position: relative;
  cursor: pointer;
}

.library__page-video:hover .library__page-video-play {
   transform: translate(-50%, -50%) scale(1.1);
}

.library__page-video-play {
    width: 56px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .2s;
}

.library__media-close {
    width: 24px;
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
}

.library__overlay-media {
    align-items: center;
    justify-content: center;
}

.library__video-popup {
    width: 100%;
}

.library__video-popup iframe {
   width: 100%;
   height: 52vw;
}

.library__page-media-play {
   position: absolute;
    width: 34px;
    bottom: 0;
    right: 0;
}

.library__page-media-prev {
    width: 100%;
}

.library__article-img {
    border-radius: 12px;
    width: 100%;
    margin-top: 10px;
}

.library__page-h2 {
    margin-top: 40px;
    font-size: 24px;
    line-height: 1.2;
}

 .library__page-par {
    margin-bottom: 22px;
}

.library__article-green {
    color: #00C0C0;
    font-weight: 600;
}

.library__article-spec {
    background: rgba(0, 192, 192, 0.1);
    border-radius: 12px;
    border-left: 2px solid rgba(0, 192, 192, 1);
    padding: 25px 20px;
    color: rgba(54, 65, 83, 0.8);
    margin-bottom: 40px;
}

.library__article-src li {
    color: rgba(54, 65, 83, 0.8);
    margin-bottom: 15px;
    font-size: 12px;
    list-style-type: decimal;
}

.library__showMore-link {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.library__article-src {
    padding-left: 12px;
}

.library__page-par + .library__article-img {
    margin-top: 20px;
}

@media (min-width: 767px) {
    .library__video-popup {
    width: 75%;
}

.library__video-popup iframe {
   height: 40vw;
}
}

@media (min-width: 1024px) {
 .library__page .container {
    max-width: 700px;
 }

 .library__back-mob {
    display: none;
}

.library__back-desk {
    display: flex;
    position: absolute;
    margin: 0;
    top: calc(100% + 60px);
    left: 0;
}

.library__page {
    padding-top: 60px;
}

.library__page-h1 {
   font-size: 42px; 
}

.library__page-content {
   margin-top: 50px;
    padding-bottom: 0;
}
.library__page-texts {
    margin-top: 50px;
}
.library__back-desk:hover {
    transform: translatey(-3px);
}

.library__page-video-prev {
    border-radius: 12px;
}
  .library__video-popup {
    max-width: 1130px;
}

.library__video-popup iframe {
   height: 590px;
}

.library__page-media-play {
    width: 46px;
}

.library__page-dwl {
    transition: .2s;
}

.library__page-dwl:hover {
   opacity: .8;
}

.library__article-img {
    margin-top: 0;
}

.library__page-h2 {
    font-size: 28px;
}
   .library__article .library__page-texts {
        margin-top: 0;
    }
.library__showMore.library__showMore-link {
    margin-left: 0;
    margin-top: 60px;
}

.library__page-par + .library__article-img {
    margin-top: 50px;
}

}

.library__cards-search {
    display: none;
}

.library__header-fixed-vn {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
}

.library__form-search-inside {
    width: 41%;
}

.library__header-fixed.library__header-fixed-vn .library__form-search input {
    font-size: 12px;
    height: 30px;
}

.library__header-fixed.library__header-fixed-vn .library__params-lupa {
    width: 16px;
}

.library__header-home-vn {
    margin-left: 0 !important;
}

@media (max-width: 1023px) {
    .library__header-fixed.library__header-fixed-vn {
        display: none !important;
    }
    .library__brands-list,
    .library__filter-list.library__filter-list-parent-ills {
        overflow: visible;
    }
    .library__filters.library__filters-all {
       min-height: 50vh;
       overflow: auto;
    }
    .library__brands-list.library__brands-list-dop {
        overflow: visible;
        min-height: fit-content;
        padding-bottom: 10px;
    }  
}


.library__media-self {
    opacity: 0;
    transition: .2s;
}

.library__cards {
   opacity: 0;
   transition: .2s;
}

.toAll-mob {
    display: none;
}


@media (max-width: 1023px) {
    .updown {
        display: none !important;
    }
    .library__brands-list-li.list-item-hide {
    display: block;
}

.library__filter-list.library__filter-list-parent-ills {
    max-height: 40vh;
    overflow: auto;
}

.library__brands-list.library__brands-list-parent {
    height: 30vh;
    max-height: 30vh;
     overflow: auto;
}

.library__filter-list-cont1 .library__filter-list.library__filter-list-parent-ills {
    display: flex;
    min-width: fit-content;
    flex-direction: row;
}

.library__filter-list-cont1 .library__filter-list.library__filter-list-parent-ills .library__brands-list-li-a {
    white-space: nowrap;
}

.library__filter-list-cont1 .library__filter-list.library__filter-list-parent-ills .library__filter-list-item-ill {
    padding: 5px 10px 5px 0;
}

.library__filter-list-cont1 {
    margin-bottom: 15px;
}

.library__filter-list-cont1 .library__filter-list.library__filter-list-parent-ills .library__filter-list-item-ill:nth-child(n+5) {
    display: none;
}

.toAll-mob {
    display: block;
}

.library__filter-list-item.library__filter-list-item-ill span.library__brands-list-li-a {
        background: #F3F4F6;
    padding: 10px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

.library__filter-list-cont-ills-origin .library__filter-list-parent-ills {
    flex-direction: row;
    flex-wrap: wrap;
}

.library__filter-list-cont-ills-origin .library__filter-list-parent-ills .library__filter-list-item[data-ill] {
    width: fit-content;
}
.library__filter-list-cont-ills-origin .library__filter-list-parent-ills .library__filter-list-item[data-ill].active span,
.library__filter-list-item.library__filter-list-item-ill.active span:not(.list-li-dop span) {
    color: #fff;
    background: #00C0C0 !important;
    font-weight: 400;
} 


}


@media (min-width: 1024px) {
    .short-scroll {
    max-height: 170px;
    height: 170px;
    overflow: auto !important;
    scrollbar-width: thin;
}

.short-scroll-dop {
    height: 170px;
}

.hideItems {
    display: none !important;
}

}

@media (max-width: 350px) {
    .library__header-left {
        min-width: 50%;
    }
}