@font-face {
    font-family: "Inter", sans-serif !important;
    src: url(../fonts/Inter-SemiBold.ttf) format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Inter", sans-serif !important;
    src: url(../fonts/Inter-Bold.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Inter", sans-serif !important;
    src: url(../fonts/Inter-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Inter", sans-serif !important;
    src: url(../fonts/Inter-Medium.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Inter', sans-serif !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
    color: #6f51a1;
}

.hover:hover {
    text-decoration: none !important;
    color: #6f51a1 !important;
}

.img-zoom-container {
    overflow: hidden;
}

.nav-background {
    background-color: #F9F5FF;
}

.vl {
    border-right: 1px solid #EAEAEA !important;
    height: auto;
}

.icon-button {
    border: 1px solid #000;
    border-radius: 100%;
    color: #000;
    width: 41px;
    height: 41px;
    background-color: #EEE5FE;
    outline: none;
    padding: 7px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-lang {
    border: 1px solid #000;
    border-radius: 90px;
    color: #000;
    width: 80px;
    height: 40px;
    background-color: #EEE5FE;
    outline: none;
    padding: 7px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-exclusive {
    position: relative;
    border-radius: 90px;
    color: #fff;
    background-color: #6f51a1;
    outline: none;
    padding: 4px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 32px;
    text-decoration: none;
    min-width: fit-content;
    max-width: fit-content;
}

.redeem-button {
    position: relative;
    border-radius: 15px;
    color: #fff;
    background-color: #6f51a1;
    outline: none;
    padding: 4px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 32px;
    text-decoration: none;
}

.icon-exclusive:hover {
    color: #fff !important;
    background: #553C80;
}

.icon-exclusive-new {
    position: absolute;
    border-radius: 90px;
    right: -20px;
    top: -10px;
    color: #fff;
    background: linear-gradient(180deg, #FBF300 -43.75%, #FC1001 134.37%);
    outline: none;
    padding: 2px 6px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8px;
    line-height: 10px;
    text-decoration: none;
}

.icon-button:hover, .icon-lang:hover {
    padding-top: 7px;
    border: 1px solid #fff !important;
    background: #553C80 !important;
    color: #fff !important;
}

.icon-button-active {
    background-color: #6f51a1;
    padding-top: 7px;
    border: 2px solid #6f51a1;
    color: #fff !important;
}

.icon-button:hover {
    color: #000;
}

.icon-button-mobile {
    border: none;
    border-radius: 100%;
    color: #000;
    width: 20px;
    height: 20px;
    background-color: #EEE5FE !important;
    outline: none;
    text-align: center;
    display: inline-block;
    font-size: 22px;
    padding: 0
}

.navbar .navbar-nav > li.nav-item > a.nav-link {
    color: #000 !important;
}

.navbar-brand {
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.navbar-brand-footer {
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-top: .5rem !important;
    padding-bottom: 0 !important;
}

.brand-logo {
    aspect-ratio: 83 / 24 !important;
    width: 166px !important;
}

.feature-article-image {
    object-fit: cover !important;
    border-radius: 5px;
    transition: transform .3s ease-in-out;
    transform-origin: 50% 50%;
    aspect-ratio: 16 / 10 !important;
}

.feature-article-image-desktop {
    object-fit: cover !important;
    border-radius: 5px;
    transition: transform .3s ease-in-out;
    transform-origin: 50% 50%;
    aspect-ratio: 10 / 16 !important;
}

.feature-article-image:hover, .feature-article-image-desktop:hover {
    transform: scale(1.2)
}

.library-description-height {
    height: 84px !important;
}

.library-image {
    aspect-ratio: 1 / 1 !important;
    width: 50%;
}

.padding-top {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.subscribe-btn {
    background-color: #6f51a1 !important;
    color: #fff !important;
}

.subscribe-btn:hover {
    background-color: #553C80 !important;
    color: #fff !important;
}

.subscribe-email {
    border-radius: 4px !important;
    border: 1px solid #6F51A1 !important;
    background: #FFF !important;
}

.category-image-container {
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden !important;
}

.category-image {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    transition: transform .3s ease-in-out;
    border-radius: 5px !important;
    transform-origin: 50% 50%;
    filter: brightness(0.5);
}

.category-image:hover {
    width: 100%;
    transform: scale(1.2);
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (min-width: 1200px) {

    #nav-article {
        padding: 45px 0 35px !important;
        background-color: #faf5ff;
    }

    .dropdown-hover-content {
        width: 30vw !important;
    }

    .subscribe-image {
        width: 100px !important;
        position: absolute;
        right: 4% !important;
        bottom: 2% !important;
    }
}

@media only screen and (max-width: 1199px) {
    .filter_box {
        left: calc(10% + 0.25rem) !important;
        bottom: calc(57% + 0.25rem) !important;

    }

    .subscribe-image {
        width: 100px !important;
        position: absolute;
        right: 5% !important;
        bottom: 5% !important;
    }

    .tgl-h4-newsletter {
        font-family: "Inter", sans-serif !important;
        font-style: normal !important;
        font-weight: 600 !important;
        font-size: 20px !important;
        line-height: 48px !important;
    }

    .newsletter-description {
        margin: 0 0 20px !important;
        color: #686868 !important;
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 991px) {
    #nav-article {
        padding: 35px 0 !important;
        background-color: #faf5ff;
    }

    #search-bar {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .filter_box {
        left: calc(13% + 0.25rem) !important;
        bottom: calc(57% + 0.25rem) !important;
    }

    .single-post {
        margin-top: 100px !important;
        max-width: 850px;
        border-radius: 3px;
    }

    .article-text-block {
        padding: 0 !important;
        border-radius: 0 !important;
        margin-top: 1.5rem !important;;
    }

    .article-text-block a {
        color: #000 !important;
    }

    .article-text-block a.view-articles {
        color: #000 !important;
        border: 1px solid #686868;
        background: #F9F5FF;
    }

    .article-text-block a.view-articles:hover {
        color: #fff !important;
        border: 1px solid #FFF;
        background: #553C80;
    }

    .article-image-block {
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .subscribe-image {
        width: 0 !important;
        display: none !important;
    }

    .feat-title:hover {
        color: #6F51A1 !important;
    }

}


.card-image-responsive {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
}

.view-articles {
    background-color: #6f51a1;
    border: 1px solid #fff;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
    padding: 3px 24px;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: .4375rem;
}

.view-articles:hover {
    color: #6F51A1 !important;
    background: #FFF;
}

#category-article-title {
    font-size: 18px;
    font-weight: 700;
}

.single-post-title {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 48px;
    color: #000;
}

.single-post-recipes {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 32px;
    color: #000;
}

.single-post-content {
    font-size: 18px;
    line-height: 32px;
    color: #000 !important;
}

.single-post-content a {
    color: #6f51a1 !important;
}

.single-post-tags {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #6f51a1;
    background-color: #fff;
    border: 1px solid;
    padding: 4px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 90px;
}

.single-post {
    margin-top: 20px !important;
    max-width: 850px;
    border-radius: 3px;
}

a {
    pointer-events: auto;
}

.padding-bottom-active-nav {
    padding-bottom: 0.3rem !important;;
}

@media screen and (max-width: 425px) {
    .single-post {
        margin-top: 85px !important;
        width: 375px !important;
    }
}

@media only screen and (max-width: 768px) {
    .single-post {
        margin-top: 85px !important;
        width: 875px !important;
    }

    #nav-article {
        padding: 100px 0 0 !important;
        background-color: #faf5ff;
    }
}

@media screen and (max-width: 515px) {
    .single-post {
        margin-top: 85px !important;
        width: 330px !important;
    }
}

@media screen and (max-width: 375px) {
    .single-post {
        margin-top: 85px !important;
        width: 345px !important;
    }
}

@media screen and (max-width: 320px) {
    .single-post {
        margin-top: 85px !important;
        width: 290px !important;
    }
}

@media only screen and (max-width: 515px) {
    .article-save-button,
    .article-comment-button,
    .article-share-button {
        width: 90px !important;
        padding: 13px 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none !important;
        color: #000 !important;
    }

    #detail-text {
        display: none;
    }

    #nav-article {
        padding: 35px 0;
        background-color: #faf5ff;
    }

}

@media only screen and (max-width: 745px) {
    .single-post {
        margin-top: 85px !important;
        width: 490px;
    }
}

.article-save-button,
.article-comment-button,
.article-share-button {
    background-color: #fff;
    border: 1px solid #000;
    padding: 13px 0;
    text-align: center;
    display: flex;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 90px;
    width: 160px;
    height: 58px;
    font-family: Inter, "sans-serif";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #000 !important;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
}

.article-save-button:hover,
.article-comment-button:hover,
.article-share-button:hover {
    border: 2px solid #6f51a1;
    text-decoration: none !important;
}

.modal-center {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.continue-facebook-button {
    width: 60%;
    background-color: #4267b2;
    border-radius: 15px;
    color: #fff;
    padding: 7px 0;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    gap: 5px;
}

.continue-facebook-button:hover {
    color: #000 !important;
}

.share-button-popover > a:hover {
    color: #000 !important;
    text-decoration: none;
}

.share-button-popover .nav-link:hover {
    color: #fff !important;
    background-color: #553C80 !important;
    text-decoration: none;
}

.nav-link:focus {
    color: #553C80 !important;
}

.continue-google-button {
    width: 60%;
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #000;
    color: #000;
    padding: 8px 0;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    gap: 5px;
}

.continue-google-button:hover {
    color: #000;
}

.login-bottom {
    padding-left: 67px;
}

.login-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 8px;
}

@media only screen and (max-width: 450px) {
    .continue-google-button,
    .continue-facebook-button {
        width: 85%;
    }
}

@media only screen and (max-width: 383px) {
    .continue-google-button,
    .continue-facebook-button {
        padding: 9px 0;
        font-size: 17px;
        width: 100%;
    }

    .navbar-brand {
        padding-left: 0 !important;
    }
}

.dialog {
    border-radius: 2rem !important;
    padding: 2rem 1rem 1rem !important;
}

.mobile-nav-icon {
    list-style-type: none;
    padding-left: 0;
    overflow: hidden;
}

.mobile-nav-icon li a {
    font-size: 16px;
    display: block;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

/* navigation bar */
.navbar-light .navbar-nav .active {
    border-bottom: 2px solid #6f51a1;
}

.navbar-light .navbar-nav .nav-link {
    color: #6f51a1;
}

/* end of navigation bar */

/*mega menu*/
.dropdown-hover {
    float: left;
    overflow: hidden;
}

.dropdown-hover-content {
    width: 35vw !important;
    position: absolute;
    background-color: #F9F5FF !important;
    margin-left: auto;
    margin-right: auto;
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.dropdown-hover-content .row {
    width: 100%;
}

.dropdown-hover:hover .dropdown-hover-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    opacity: 1;
    visibility: visible;
    transition-delay: .2s;
}

.dropdown-hover-button:hover {
    color: #6f51a1 !important;
}

.recipe-library-header-link:hover {
    color: #6f51a1 !important;
}

.tgl-h2-mega-menu:hover {
    color: #6f51a1 !important;
}

.tgl-h2-mega-menu-mm:hover {
    color: #6f51a1 !important;
}

.mega-menu-shadow {
    background: #fffff5 !important;
    box-shadow: 0 0 10px #0000001f !important;
    backdrop-filter: blur(10px) !important;
    -moz-box-shadow: 0 0 10px #0000001f !important;
    -webkit-box-shadow: 0 0 10px #0000001f !important;
}

/*end of mega menu*/

body.home-layout #layout-nav.navbar {
    background: #EEE5FE !important;
}

.bg-newsletter {
    background: #EEE5FE !important;
    border-radius: 5px !important;
}

.footer-newsletter-padding {
    padding-left: var(--bs-gutter-x, 1.5rem) !important;
    padding-right: var(--bs-gutter-x, 1.5rem) !important;
}

.footer-bg-newsletter {
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, #fff 50%, #414244 50%)
}

.library-btn:hover {
    color: #553C80 !important;
}

@media (max-width: 576px) {

    .library-btn {
        display: none !important;
    }

}

@media (max-width: 767.98px) {
   .continue-facebook-button, .continue-google-button {
        font-size: 16px;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {

    #nav-article {
        padding: 110px 0 35px !important;
        background-color: #faf5ff;
    }

    #card-container-mobile {
        display: none;
    }

    #card-container {
        display: block;
    }

    #search-bar {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .article-image-block {
        height: 100% !important;
    }


}


@media only screen and (min-width: 1250px) {
    #search-section {
        padding: 0 10px 20px !important;
    }

    #search-bar {
        padding-top: 50px !important;
        padding-bottom: 5px !important;
    }

    #nav-article {
        padding: 50px 0 35px !important;
        background-color: #faf5ff;
    }

    .navbar-brand {
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .article-image-block {
        height: 100% !important;
        border-radius: 5px 0 0 5px !important;
    }

    .article-text-block {
        height: 100% !important;
        padding: 3.5rem 2rem !important;
        border-radius: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .tgl-h4-newsletter {
        font-family: "Inter", sans-serif !important;
        font-style: normal !important;
        font-weight: 600 !important;
        font-size: 30px !important;
        line-height: 48px !important;
    }

    .newsletter-description {
        margin: 0 !important;
        color: #686868 !important;
        font-size: 16px !important;
    }

}


@media (min-width: 1200px) {
    .saved-dot {
        top: 80px;
        color: #6f51a1;
    }

    #card-container-mobile {
        display: none;
    }

    #card-container {
        display: block;
    }
}

@media (min-width: 1400px) {
    .saved-dot {
        top: 70px;
        color: #6f51a1;
    }

    #card-container-mobile {
        display: none;
    }

    #card-container {
        display: block;
    }

    #nav-article {
        padding: 45px 0 35px !important;
        background-color: #faf5ff;
    }

    .category-posts {
        padding: 0 !important;
    }
}

.nav-link.active {
    transition: color .2s ease .05s;
    border-bottom: 2px solid #6f51a1;
}

.nav-link.active-category {
    transition: color .2s ease .05s;
    border-bottom: 2px solid #6f51a1;
}

.navbar-light .navbar-nav .active-category {
    border-bottom: 2px solid #6f51a1
}

.share-link {
    width: 100% !important;
    padding: 5px 10px !important;
}

#link-1 {
    padding: 0 0 0 8px;
    color: #000 !important;
}

.video-wrapper {
    height: auto !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    margin-bottom: -.5rem;
}

.video-wrapper > iframe {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 5px;
}

.feature-article-video > iframe {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.padding-left-8 {
    padding-left: 8px !important;
}

@media only screen and (max-width: 1439px) {
    #link-1 {
        display: none;
    }

    body.home-layout #layout-nav.navbar {
        padding: 1.25rem 0 !important;
        z-index: 1030;
    }
}

@media only screen and (min-width: 1440px) {
    #link-2 {
        display: none;
    }

    body.home-layout #layout-nav.navbar {
        padding: 1.25rem 2rem !important;
        top: 1.25rem !important;
        z-index: 1030;
    }

    .navbar-expand-lg-custom {
        margin: 0 1.5rem;
        border-radius: 1.25rem;
        background: #EEE5FE !important;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg-custom .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg-custom .navbar-nav .nav-link {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .navbar-expand-lg-custom .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg-custom .navbar-toggler {
        display: none;
    }

    #search-section {
        padding: 0 10px 20px !important;
    }

    #search-bar {
        padding-top: 50px !important;
        padding-bottom: 5px !important;
    }

    #nav-article {
        padding: 50px 0 35px !important;
        background-color: #faf5ff;
    }

    .navbar-brand {
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }
}

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

    .section-slider {
        padding: 0;
        background-color: #fff;
    }

    .wrapper {
        display: flex;
        grid-gap: 1rem;
        max-width: 768px;
        max-height: 768px;
        overflow-x: auto;
        scroll-snap-type: x;
        cursor: grab;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .wrapper::-webkit-scrollbar {
        display: inline;
    }

    .slider {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x;
    }

    .slider .img-slider {
        flex-shrink: 0;
        width: 250px;
        max-height: 570px;
        margin-right: 20px;
        display: block;
    }

    #card-container-mobile {
        margin-top: 20px !important;
        display: block;
    }

    #card-container {
        display: none;
    }

    #nav-article {
        padding: 35px 0 !important;
        background-color: #faf5ff;
    }

    .category-posts {
        padding: 0 25px 0 !important;
    }

    .dropdown-menu-profile {
        left: calc(3%) !important;
        top: calc(20% + 0.25rem) !important;
    }

}

@media only screen and (min-width: 992px) {

    .section-slider {
        display: none;
        justify-content: center;
        align-items: center;
    }

    .wrapper {
        display: flex;
        grid-gap: 1rem;
        max-width: 768px;
        max-height: 768px;
        overflow-x: auto;
        scroll-snap-type: x;
        cursor: grab;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .wrapper::-webkit-scrollbar {
        display: inline;
    }

    .section-slider {
        padding: 10px 0;
        background-color: #fff;
    }

    #card-container-mobile {
        display: none;
    }

    #card-container {
        display: block;
    }

    .article-text-block {
        height: 100% !important;
        padding: 3.5rem 2rem !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        background-color: #6f51a1 !important;
    }

    .article-text-block a {
        color: #fff !important;
    }

    .article-text-block p {
        color: #fff !important;
    }

    .feature-article-image, .feature-article-image-desktop {
        border-radius: 5px 0 0 5px !important;
    }


}

.box {
    background: gray;
    color: #fff;
    border: 1px solid gray;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    margin: 5px;
    overflow: hidden;
    padding: 25px;
    position: relative;
}

.text {
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}

#link-1 .nav-single-item {
    color: #000 !important;
    position: relative;
    top: 0;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 32px;
}

.link-1-hover:hover {
    border-bottom: 2px solid #6f51a1 !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: 0;
    text-decoration: none;
}

.navbar-toggler {
    border: none !important;
    background-color: transparent !important;
    line-height: 0.9;
}

.navbar-toggler-icon {
    height: 20px !important;
    width: 20px !important;
}

#link-2 .nav-single-item {
    color: #000;
    position: relative;
    top: 0;
    padding: 15px 10px;
    font-size: 14px;
}

#link-2 ul {
    list-style-type: none;
}

.btn-cmhl {
    padding: 10px;
    gap: 8px;
    background-color: #6f51a1;
    color: #fff;
    border: 1px solid #6f51a1;
    border-radius: 2px;
}

.btn-cmhl:hover {
    background-color: #553C80;
    color: #fff;
}

.btn-cmhl-reply {
    padding: 10px;
    gap: 8px;
    background-color: gray;
    color: #fff;
    border: 1px solid gray;
    border-radius: 2px;
}

.icon-active {
    background-color: #6f51a1;
    padding-top: 7px;
    border: 1px solid #6f51a1;
    color: #fff !important;
}

.svg-active-mobile {
    filter: invert(34%) sepia(50%) saturate(679%) hue-rotate(221deg) brightness(90%) contrast(85%) !important;
}

#township-card {
    border: 1px solid #bdbfc4;
    border-radius: 8px;
    padding: 0 10px;
}

.library {
    color: #6f51a1 !important;
    border: 1px solid #6f51a1;
    border-radius: 7px;
}

.card {
    border: none !important;
}

.card .card-body {
    max-height: 200px !important;
    padding: 1.5rem 1.5rem 0;
}

@media only screen and (max-width: 573px) {
    #search-section {
        padding: 80px 25px 10px !important;
    }
}

#search-section {
    padding: 0 120px;
    background-color: #f9f5ff;
}

.tag {
    background-color: #faf5ff;
    border: 1px solid #6f51a1;
    color: #6f51a1;
    padding: 5px 14px 4px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 16px;
    height: 40px;
    margin: 5px 5px 5px 0;
}

.tag:hover {
    background-color: #6f51a1;
    color: #fff;
}

.dropdown-menu-profile.showProfile,
.dropdown-menu-profile-mobile.showProfile {
    display: block;
}

.dropdown-menu-profile {
    position: absolute;
    right: 1rem;
    top: calc(105% + 0.25rem);
    background-color: #fff;
    padding: .75rem;
    border-radius: 9px;
    box-shadow: 0 2px 5px 0 #9C8A8A;
    transform: translateY(-10px);
    transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
    width: 300px;
    height: 315px;
    display: none;
}

.profile-text {
    font-family: "Inter", sans-serif !important;
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    color: #414244;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.dropdown-menu-profile-mobile {
    position: absolute;
    right: 1rem;
    top: calc(105% + 0.25rem);
    background-color: #fff;
    padding: .75rem;
    border-radius: 9px;
    box-shadow: 0 2px 5px 0 #9C8A8A;
    transform: translateY(-10px);
    transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
    width: 300px;
    height: 300px;
    display: none;
}

.profile-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
}

.profile-logout-button {
    width: 100%;
    height: 40px;
    background-color: #f7f4fa;
    border-radius: 9px;
    border: none;
    color: #6f51a1;
    padding: 9px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    font-size: 14px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196f3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.profile-disconnect-button {
    width: 100%;
    height: 40px;
    background-color: #fdf1f4;
    border-radius: 9px;
    border: none;
    color: #f4858e;
    padding: 9px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-profile {
    padding: 0 0 0 8px;
}

.category-nav-group {
    display: flex;
    align-items: center;
    overflow-x: auto;
    max-height: 50px;
}

.category-nav-group .item {
    white-space: nowrap;
    width: auto;
    margin-right: 25px;
}

.category-nav-group .item a {
    color: #000;
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 0;
}

.dropdown-icon {
    position: relative;
    top: 1px;
}

@media only screen and (max-width: 410px) {
    #layout-nav.navbar {
        padding: 30px 10px !important;
        z-index: 1030;
    }
}

.saved-dot {
    color: #6f51a1 !important;
    font-size: 22px;
    top: 62%;
    margin-left: 17px !important;
}

.profile-dot {
    color: #6f51a1 !important;
    font-size: 22px;
    top: 62%;
    margin-left: 17px !important;
    display: none;
}

.profile-dot-active {
    display: inline !important;
}

.profile-dot-mobile {
    color: #6f51a1 !important;
    font-size: 22px;
    top: 68%;
    margin-left: -19px !important;
    display: none;
}

.profile-dot-mobile-active {
    display: inline !important;
}

#detail-text {
    font-size: 18px;
    color: #000 !important;
    padding-left: 10px;
}

@media only screen and (min-width: 1062px) {
    .single-post {
        margin-top: 40px !important;
        max-width: 850px;
        border-radius: 3px;
    }
}

@media only screen and (max-width: 390px) {
    #layout-nav.navbar {
        padding: 0 !important;
        z-index: 1030;
    }

    body.home-layout #layout-nav.navbar {
        padding: 1.25rem 0 !important;
        z-index: 1030;
    }
}

.mail-box {
    width: auto;
    height: 409px;
    border-radius: 25px;
    background: #fefdff;
    border: 3px solid #6f51a11a;
    box-shadow: 0 0 15px #00000012;
    text-align: center;
}

.text-remove-center {
    text-align: left !important;
}

.tgl-mail-h1 {
    font-family: "Inter", sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    line-height: 32px !important;
    padding-top: 24px;
}

.tgl-mail-text {
    font-family: "Inter", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 28px !important;
    text-align: center !important;
    color: #686868 !important;
    margin-bottom: 0 !important;
}

.tgl-mail-footer {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    color: #686868;
    border-top: 1px solid #ededed;
    padding-top: 10px;
}

.subscribe {
    padding: 8px 16px;
    width: 353px;
    height: 48px;
    background: #6f51a1;
    border-radius: 4px;
    border: none;
    color: #fff;
    font-size: 16px;
    line-height: 32px;
}

.subscribe:hover {
    color: #fff;
    background: #8a65c7;
    text-decoration: none;
}

.form-input {
    width: 352px;
    height: 40px;
    margin-bottom: 10px;
    padding-left: 30px;
    border: 2px solid #6f51a1;
}

.error-mail-message {
    position: absolute;
    left: 50%;
    top: 59%;
    transform: translate(-50%, -50%);
}

#goToTop {
    display: none;
    position: fixed;
    bottom: 85px;
    right: 15px;
    z-index: 999999;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #6F51A1;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
}

#goToTop:hover {
    background-color: #553C80 !important;
    color: #fff !important;
}

.deactivate-cancel-button {
    padding: 8px 0;
    width: 120px;
    height: 48px;
    background: #6f51a126;
    border-radius: 4px;
    border: none;
    align-items: center;
    color: #6F51A1;
    margin-right: 20px;
}

.deactivate-confirm-button {
    padding: 8px 0;
    width: 120px;
    height: 48px;
    background: #6F51A1;
    border-radius: 4px;
    border: none;
    text-align: center;
    color: #fff;
    font-size: 16px;
}

.close-svg {
    display: none;
}

.action input:checked + span {
    background-color: #6f51a1;
    color: #fff;
}

.action input:checked + span > span {
    display: inline;
}

.sub-action input:checked + span > span {
    display: inline;
}

.checkbox-input {
    display: none;
}

.checkbox-span {
    border: 1px solid #6F51A1;
    padding: 11px;
    background: #FEFDFF;
    border-radius: 90px;
    color: #6F51A1;
    font-size: 15px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.checkbox-span:hover {
    background: #6f51a1;
    color: #fff;
}

.more_filter {
    display: none;
}

.show-checked {
    color: #fff !important;
    text-shadow: 0 0 6px #000c;
    background-color: #6f51a1;
}

.show-checked:checked span {
    display: inline;
}

.more_filter .filter_button {
    width: 135px;
    height: 44px;
    border: 1px solid #6f51a1;
    border-radius: 8px;
    background: #f9f5ff;
    color: #6f51a1;
}

.more_filter .filter_button:hover {
    background: #eee5fe;
    color: #6f51a1;
}

.more_filter.show {
    display: block;
}

.filter_box {
    position: absolute;
    left: calc(8% + 0.25rem);
    top: -25px;
    transform: translateY(-10px);
    transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
    background: #FEFDFF;
    opacity: 0.98;
    border: 3px solid #6f51a11a;
    box-shadow: 0 4px 4px #00000040;
    backdrop-filter: blur(5px);
    border-radius: 9px;
    width: 313px;
    height: 256px;
    display: none;
    margin-top: 2rem !important;
    z-index: 999;
}

.filter_box .top-arrow::before {
    content: '';
    position: absolute;
    left: 76px;
    top: -16px;
    width: 20px;
    height: 30px;
    background: #6F51A1;
    border: 1px solid #000;
    clip-path: polygon(50% 0%, 21% 53%, 85% 53%);
}

.select {
    display: flex;
}

.filter-footer-container {
    width: auto;
    height: 55px;
    background: #fff;
    box-shadow: 0 -2px 4px #0000000d;
    display: flex;
    justify-content: end;
    align-items: center;
}

.filter-reset-button {
    width: 77px;
    height: 35px;
    background: #fff;
    box-shadow: 0 0 10px #00000026;
    border-radius: 4px;
    border: none;
    color: #6f51a1;
    text-align: center;
    padding: 3px;
    margin-right: 10px;
    user-select: none;
    cursor: pointer;
}

.filter-reset-button:hover {
    background: #ffe9e9;
}

.filter-submit-button {
    width: 77px;
    height: 35px;
    background: #6F51A1;
    box-shadow: 0 0 10px rgb(0 0 0 / 15%);
    border-radius: 4px;
    border: none;
    color: #fff;
}

.filter-submit-button:hover {
    background: #8856d9;
}

.checkbox-scroll {
    overflow: scroll;
    width: 100%;
    height: 210px;
}

#filter-container {
    position: relative;
}

@media only screen and (max-width: 400px) {
    .filter_box {
        left: calc(10% + 0.25rem) !important;
        bottom: calc(85% + 0.25rem) !important;
    }

    .filter_box .top-arrow::before {
        left: 200px !important;
    }

    .category-row {
        display: block;
        padding: 0 0 15px !important;
    }

    .category-p {
        border: 1px solid #EBEBEB;
        width: 91% !important;
        padding: 10px 0;
        margin: 12px 12px 6px;
    }
}

@media only screen and (max-width: 365px) {
    .filter_box {
        left: calc(4% + 0.25rem) !important;
        bottom: calc(85% + 0.25rem) !important;
    }

    .filter_box .top-arrow::before {
        left: 200px !important;
    }
}

.library-dropdown {
    text-align: left !important;
    background: url(../images/icons/chevron-down.svg) no-repeat right !important;
    -webkit-appearance: none !important;
    text-overflow: ellipsis;
    padding: 6px 22px 6px 10px !important;
    border: 1px solid #6f51a1 !important;
    border-radius: 4px !important;
    margin-top: 10px !important;
}

.parent-checkout-span {
    padding: 12px 16px;
    border-radius: 16px;
    color: #6f51a1;
    background-color: #faf5ff;
    border: 1px solid #6f51a1;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.parent-checkout-span:hover {
    background-color: #6f51a1;
    color: #fff;
}

.parentTag {
    display: none;
}

.cat label {
    padding: 10px 0;
    margin: 0 10px;
}

.cat label input {
    position: absolute;
    display: none;
    color: #fff !important;
}

.cat label input + span {
    color: #6f51a1;
    width: 100%;
    user-select: none;
}

.cat input:checked + span {
    color: #fff;
}

video {
    width: 100%;
    height: 100%;
}

ul.pagination > li.page-item.first > .page-link {
    position: relative;
    color: #000 !important;
    width: 44px;
    pointer-events: auto !important;
}

ul.pagination > li.page-item.last > .page-link {
    position: relative;
    color: #000 !important;
    width: 44px;
    pointer-events: auto !important;
}

.pagination {
    display: flex;
    list-style: none;
    justify-content: center;
}

.btn-cmhl-primary {
    background: #6f51a1 !important;
    border-color: #6f51a1 !important;
    color: #fff !important;
}

.btn-cmhl-primary:hover {
    background-color: #553C80 !important;
    color: #fff !important;
}

.btn-cmhl-cancel {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

.alert-info {
    background-color: #6f51a1 !important;
    border-color: #6f51a1 !important;
    color: #fff !important;
}

.subscribe-modal {
    display: block;
    height: 100%;
    left: 0;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1055;
    background-color: #0006;
}

.subscribe-dialog-box {
    width: 413px !important;
}

.cross-button {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.subscribe-head {
    font-family: "Inter", sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    line-height: 32px !important;
    padding-top: 20px;
}

.subscribe-text {
    font-family: "Inter", sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    text-align: center !important;
    margin-bottom: 30px;
    color: #6F51A1 !important;
}

.category-checkbox {
    opacity: 0;
}

.category-checkbox + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
    line-height: 19px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #414244;
}

.category-checkbox + label::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 18px;
    height: 18px;
    outline: 2px solid #aaa;
    background: #fff;
}

.category-checkbox:checked + label::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 18px;
    height: 18px;
    outline: 2px solid #6F51A1;
    background: #6F51A1;
}

.category-checkbox:checked + label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background-image: url("/themes/cmhl/assets/images/icons/check-fill.svg");
    margin: -3px;
    padding: 10px;

}

.category-confirm-button {
    background: #6F51A1;
    border-radius: 4px;
    width: 100%;
    height: 44px;
    color: #fff;
    border: none;
    margin-top: 33px;
}

.category-confirm-button:hover {
    background: #4c357c;
    color: #fff;
}

.view-all-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #0009;
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media only screen and (max-width: 575px) {
    .subscribe-modal {
        justify-content: center;
    }

    .library-container {
        margin-top: 1rem !important;
    }
}

.category-row {
    padding-bottom: 15px;
    border-bottom: 1px solid #EDEDED;
}

.subscribe-modal-content {
    background-clip: padding-box;
    background-color: #fff;
    border: none;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    outline: 0;
    pointer-events: auto;
    position: relative;
    width: 100%;
}

.modal.show {
    display: block;
}

.modal {
    display: none;
    height: 100%;
    left: 0;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1055;
    background-color: #0006;
}

.deactivate-modal {
    display: none;
    height: 100%;
    left: 0;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1055;
    background-color: #0006;
}

.deactivate-modal.show {
    display: block;
}

@media only screen and (min-width: 767px) {
    .category-nav-group {
        margin-bottom: .75rem !important;
    }
}

@media only screen and (max-width: 767px) {
    #library {
        border: 1px solid #6f51a1;
        border-radius: 4px;
        margin-top: 16px;
    }

    .col-xs-6 {
        flex: 0 0 auto;
        width: 50% !important;
    }

    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        background: none !important;
        background-position-x: 100%;
        background-position-y: 5px;
    }

    #newsletter-icon {
        position: relative;
        display: flex;
        justify-content: center !important;
    }

    .filter_box {
        left: calc(18% + 0.25rem) !important;
        bottom: calc(85% + 0.25rem) !important;
    }

    #nav-article {
        padding: 50px 0 0 !important;
    }
}

@media only screen and (max-width: 991px) {
    .single-post {
        margin-top: 20px !important;
    }

    #search-bar {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    #nav-article {
        padding: 30px 0 0 !important;
        background-color: #faf5ff;
    }

    #search-section {
        padding: 0 10px !important;
    }

    .profile-dot-mobile {
        color: #6f51a1 !important;
        font-size: 22px;
        top: 72%;
        margin-left: -19px !important;
        display: none;
    }
}

.jumbotron h1, .jumbotron .h1 {
    padding-top: 0 !important;
}

.jumbotron {
    padding-top: 0 !important;
}

.one-line-clamp {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    overflow: hidden;
}

.title-line-clamp {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
}

.excerpt {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
}

.breadcrumbs {
    color: #000;
    margin-bottom: 20px
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    padding: 0 !important;
    list-style: none;
    box-sizing: border-box
}

.breadcrumbs-sep {
    color: #000;
    padding: 0 4px;
    font-size: 14px
}

.breadcrumbs-link {
    color: #000;
    font-size: 14px;
}

.breadcrumbs-link:hover {
    color: #000;
    text-decoration: none
}

.breadcrumbs-name {
    color: #86878a;
    font-size: 14px
}

.breadcrumbs-name:hover {
    color: #000;
    font-size: 14px
}

.breadcrumbs-name-active {
    color: #000;
    font-size: 14px
}

.color-filler {
    background-color: #faf5ff;
    width: 100%;
    height: 90px;
    position: absolute;
}

ul.pagination > li.page-item > .page-link {
    padding: 5px 12px !important;
}

.library-title:hover {
    color: #432477 !important;
}
