@font-face {
    font-family: SVN-Avo;
    src: url(../font/SVN-Avo.ttf);
}

:root {
    --gray: #565656;
}

#library {
    padding-bottom: 40px;
}

#main-content {
    display: flex;
    gap: 32px;
    padding-top: 30px;
    align-items: flex-start;
}

#filter {
    width: 25%;
    /*max-height: 912px;*/
    /*overflow-y: auto;*/
}

#content {
    width: 75%;
}

#content-items {
    column-count: 3;
    column-gap: 16px;
}


#filter-content .filter-items {
    list-style-type: none;
    list-style-position: inside;
    padding-left: 0;
}

#filter::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #E0E9EB;
    background-color: #FFFFFF;
    border-radius: 10px;
}

#filter::-webkit-scrollbar {
    width: 8px;
    background-color: #FFFFFF;
}

#filter::-webkit-scrollbar-thumb {
    background-color: #CFDADB;
    border-radius: 10px;
}


#filter-title {
    color: var(--gray);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.15px;
    border-bottom: 1px solid #DFEAF2;
    padding-bottom: 16px;
    font-family: SVN-Avo;
    display: flex;
    justify-content: space-between;
}

#filter-title .reset-filter {
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
}

.filter-item {
    margin-top: 24px;
}

.filter-item-2 {
    margin-top: 12px;
    padding-left: 10px;
    width: 100%;
}

.filter-item .filter-item-btn {
    color: var(--gray);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gray);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    padding: 0;
    font-family: SVN-Avo;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    transition: all .3s;
    padding: 5px 0;
}

.filter-item .filter-item-btn.active {
    background-color: #F3FAFF;
}

.filter-item .filter-item-btn.btn-level0 {
    font-weight: 700;
}

.filter-item-btn-2 {
    margin-top: 10px;
}

.fa-chevron-down:before {
    content: "\f078";
}

.filter-item.active .fa-chevron-down:before {
    content: "\f077";
}

.filter-item-btn i {
    display: inline-block;
    padding: 5px;
    font-size: 10px;
    transform: rotate(-90deg);
}

.filter-item.active>.filter-item-btn i {
    transform: rotate(180deg);
}

.filter-item.active .filter-item-btn.filter-item-btn-2 i {
    transform: rotate(90deg);
}

.filter-item.active .filter-item-btn.active i {
    transform: rotate(180deg);
}

.filter-item-content {
    flex-wrap: wrap;
    gap: 8px;
    display: none;
}

.filter-item .filter-item-content.active {
    display: flex;
}

.filter-item-2.active .filter-item-content-2.active {
    display: flex;
    margin-bottom: 10px;
}

.filter-item-2 > a {
    margin: 4px;
    display: inline-block;
}

.filter-item-content .item {
    color: #434343;
    font-family: SVN-Avo;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.25px;
    padding: 0px 8px 4px 8px;
    border-radius: 4px;
    border: 1px solid #CDCDCD;
}

.filter-item-content .item.level1 {
    color: var(--gray);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    padding: 0;
    font-family: SVN-Avo;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 10px 0 12px;
    padding: 5px 0;
    line-height: 18px;
}

.filter-item-content .item.level1 i {
    display: inline-block;
    padding: 5px;
    font-size: 10px;
    transform: rotate(90deg);
}

.filter-item-content .item:hover,
.filter-item-content .item.active {
    border-color: #003E6B;
    color: #003E6B;
}

.filter-item-content .item.level1:hover,
.filter-item-content .item.active.level1 {

    background-color: #F3FAFF;
    color: #003E6B;
    margin-left: -10px;
    padding-left: 10px;
    border-radius: 4px;
    width: calc(100% + 10px);
}

.filter-item .filter-item-btn:hover {
    background-color: #F3FAFF;
    color: #003E6B;
    margin-left: -10px;
    padding-left: 10px;
    border-radius: 4px;
    width: calc(100% + 10px);
}

.content-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: inline-block;
    margin-bottom: 16px;
    width: 100%;
    border-radius: 10px;
}

.content-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.content-item:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

.operation {
    position: absolute;
    top: 16px;
    right: 16px;
    list-style-type: none;
    padding-left: 0;
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 8px;
    visibility: hidden;
    z-index: 1;
}

.content-item:hover .operation {
    visibility: visible;
}

.operation-item {
    cursor: pointer;
    padding: 6px;
    background: #FFFFFF;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.operation-item .icon {
    width: 16px;
    height: 16px;
}

#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    gap: 24px;
}

#pagination .navigation img {
    width: 70px;
    height: 70px;
    margin-bottom: -13px;
}

#pagination .navigation-left {
    margin-right: -10px;
}

#pagination .navigation-right {
    margin-left: -10px;
}

#library .navigation i {
    color: #939393;
}

#library .page {
    font-size: 18px;
}

#library .page .page-current {
    font-weight: 700;
    font-family: SVN-Avo;
    color: #343434;
}

#library .page .total-page {
    color: #CDCDCD;
}

#library .content-item .image_thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

.content-item:hover .image_thumb {
    transform: scale(1.1);
}

.libraly-loader.loader {
    z-index: 999;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.loader.d-none {
    display: none;
}


.jimu-primary-loading:before,
.jimu-primary-loading:after {
    position: absolute;
    top: 0;
    content: '';
}

.jimu-primary-loading:before {
    left: -19.992px;
}

.jimu-primary-loading:after {
    left: 19.992px;
    -webkit-animation-delay: 0.32s !important;
    animation-delay: 0.32s !important;
}

.jimu-primary-loading:before,
.jimu-primary-loading:after,
.jimu-primary-loading {
    background: #076fe5;
    -webkit-animation: loading-keys-app-loading 0.8s infinite ease-in-out;
    animation: loading-keys-app-loading 0.8s infinite ease-in-out;
    width: 13.6px;
    height: 32px;
}

.jimu-primary-loading {
    text-indent: -9999em;
    margin: auto;
    position: absolute;
    right: calc(50% - 6.8px);
    top: calc(50% - 16px);
    -webkit-animation-delay: 0.16s !important;
    animation-delay: 0.16s !important;
}

@-webkit-keyframes loading-keys-app-loading {

    0%,
    80%,
    100% {
        opacity: .75;
        box-shadow: 0 0 #076fe5;
        height: 32px;
    }

    40% {
        opacity: 1;
        box-shadow: 0 -8px #076fe5;
        height: 40px;
    }
}

@keyframes loading-keys-app-loading {

    0%,
    80%,
    100% {
        opacity: .75;
        box-shadow: 0 0 #076fe5;
        height: 32px;
    }

    40% {
        opacity: 1;
        box-shadow: 0 -8px #076fe5;
        height: 40px;
    }
}

@media (max-width: 767px) {
    #main-content {
        flex-direction: column;
    }

    #filter {
        width: 100%;
    }

    #content {
        width: 100%;
    }
}

.quantity {
    position: relative;
    min-width: 50px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.quantity input {
    width: 100%;
    height: 40px;
    line-height: 1.65;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.quantity input:focus {
    outline: 0;
}

.quantity-nav {
    float: left;
    position: relative;
    height: 42px;
}

.quantity-button {
    position: relative;
    cursor: pointer;
    border-left: 1px solid #eee;
    width: 20px;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-family: "Trebuchet MS", Helvetica, sans-serif !important;
    line-height: 1.7;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.quantity-button.quantity-up {
    position: absolute;
    height: 50%;
    top: 0;
    border-bottom: 1px solid #eee;
}

.quantity-button.quantity-down {
    position: absolute;
    bottom: -1px;
    height: 50%;
}

#library .modal {
    display: none;
    position: fixed;
    z-index: 1055;
    padding-top: 100px;
    left: 0;
    top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, .4);
    padding-bottom: 100px;
}

#library #banner {
    display: none;
}

#library .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 25px;
    width: 1200px;
    max-width: 80%;
}

#library .modal-content .content .top-content {
    display: flex;
    gap: 50px;
    font-family: SVN-Avo;
    padding: 12px;
    height: 100%;
    justify-content: center;
}

#library .modal-content .content .content-download {
    flex-basis: 33.333333%;
    font-weight: 400;
    margin-top: 36px;
}

#library .modal-content .content img {
    max-height: 600px;
    width: auto;
    height: 100%;
}

#library .modal-content .content .content-download .title {
    font-size: 20px;
    font-weight: bold;
}

#library .modal-content .content .content-download .info {
    margin: 10px 0;
    font-weight: bold;
}

#library .modal-content .content .content-download .text-red {
    color: rgb(153 27 27);
}

#library .modal-content .content .content-download .font-normal {
    font-weight: normal;
}

#library .modal-content .content .content-download .upgrade-info {
    border: 1px solid #888;
    border-radius: 25px;
    padding: 20px;
}

#library .modal-content .content .content-download .upgrade-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    margin-bottom: 10px;
}

#library .modal-content .content .content-download .danger-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 10px;
}

#library .modal-content .content .content-download .btn-share-fb {
    background: #741A06;
    width: 100%;
    border-width: 0px;
    border-radius: 25px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 32px 0;
    font-weight: bold;
    font-size: 20px;
    display: block;
    text-align: center;
    color: white;
    cursor: pointer
}

#library .modal-content .content .content-download .btn-share-fb:hover {
    background: #591505;
}

#library .modal-content .content .content-download .upgrade-info .text-premium {
    color: #F6B028;
}

#library .modal-content .content .content-download .btn-upgrade {
    background: #F6B028;
    width: 100%;
    border-width: 0px;
    border-radius: 25px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 20px 0;
    font-weight: bold;
    font-size: 20px;
    display: block;
    text-align: center;
    color: black;
}

#library .modal-content .content .content-download .btn-upgrade:hover {
    background: #e9a013;
}

#library .modal-content .content .content-download .btn-download {
    background: #003E6B;
    width: 100%;
    border-width: 0px;
    border-radius: 25px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 20px 0;
    font-weight: bold;
    font-size: 20px;
    color: white;
}

#library .modal-content .content .content-download .btn-download:disabled, #library .modal-content .content .content-download .btn-download:hover:disabled {
    pointer-events: auto ! important;
    cursor: not-allowed ! important;
    background: #939393;
}

#library .modal-content .content .content-download .btn-inactive {
    background: #939393;
    width: 100%;
    border-width: 0px;
    border-radius: 25px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 32px 0;
    font-weight: bold;
    font-size: 20px;
    color: white;
}

#library .modal-content .content .content-download .shield {
    display: flex;
    gap: 4px;
    align-items: center;
    font-weight: bold;
}

#library .modal-content .content .content-download .shield svg {
    margin-top: 3px;
}

#library .modal-content .content .content-download .btn-download:hover {
    background: #023255;
}

#library .modal-content .content .content-img {
    flex-basis: 66.666667%;
}

#library .modal-content .content .content-img .info {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    align-items: center;
}

#library .modal-content .content .content-img p {
    flex: 1 1 auto;
    font-weight: bold;
}

#library .modal-content .content .content-img button {
    background: white;
    border-radius: 10px;
    padding: 8px;
    width: fit-content;
    border-width: 0px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

#library .modal-content .content .content-img button:hover {
    background-color: rgb(203 213 225);;
}

#library .modal-content .content .content-img .image_thumb {
    width: 100%;
    height: auto;
    border-radius: 25px;
    max-height: 550px;
    object-fit: cover;
}

#library .close-modal {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#library .close:hover,
#library .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-content.no-padding {
    padding: 0 !important;
    position: relative;
    padding: 0 !important;
    position: relative;
    width: fit-content !important;
    height: 100%;
    max-height: 600px;

}

.modal-content.no-padding .close-modal {
    position: absolute;
    right: -20px;
    top: 0;
}

.modal-content.no-padding .content {
    overflow: hidden;
    border-radius: 25px;
    height: 100%;
}

.modal-content .loading .loading-content {
    padding: 150px;
}

#library .swiper-pagination-clickable .swiper-pagination-bullet {
    border-radius: 10px;
    border: 2px solid #ffffffbf;
    margin: 0 5px;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    opacity: 0.8;
}

#library .swiper-pagination-clickable .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 40px;
    opacity: 1;
}

#library .swiper-slide-bg {
    border-radius: 20px;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    #content-items {
        column-count: 2;
    }

    #library .swiper-slide {
        max-height: 200px;
    }

    #library .modal-content .content .top-content {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    #library .modal-content .content .content-download {
        margin-top: 0;
        margin-bottom: 20px;
    }

    #library .modal-content .content img,
    .modal-content.no-padding .content,
    .modal-content.no-padding {
        height: auto;
    }

    .operation {
        visibility: visible;
    }
}

@media screen and (max-width: 546px) {
    #content-items {
        column-count: 2;
    }

    .content-item {
        margin-bottom: 8px;
    }

    #library .modal-content .content img,
    .modal-content.no-padding .content,
    .modal-content.no-padding {
        height: auto;
    }
}

html.hidden-scroll {
    overflow: hidden;
}

@media screen and (max-width: 570px) {
    #library .modal {
        padding-top: 75% !important;
        top: 0 !important;
    }

    .elementor-element-55da508b > div {
        padding: 10px !important;
    }
}

@media (min-width: 768px) {
    #library #main-content #content {
        margin-top: 52px;
    }
}