@font-face {
    font-family: 'SVN-Felix Titling';
    src: url(../fonts/SVN-FelixTitling.woff2) format('woff2'),
        url(../fonts/SVN-FelixTitling.woff) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '1FTV La Graziela';
    src: url(../fonts/1FTVLaGraziela.woff2) format('woff2'),
        url(../fonts/1FTVLaGraziela.woff) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-Semibold.woff2) format('woff2'),
        url(../fonts/Averta-Semibold.woff) format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-ThinItalic.woff2) format('woff2'),
        url(../fonts/Averta-ThinItalic.woff) format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* [data-uk-cover]:where(img, video),
[uk-cover]:where(img, video) {
    object-fit: fill;
} */

body.single-post .dang-ky-tu-van {
    display: none;
}

body.page-id-242 .dang-ky-tu-van {
    display: none;
}

.first-slideshow .uk-slideshow-items {
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.uk-slideshow-items {
    min-height: calc(100vh - 80px) !important;
    max-height: calc(100vh - 80px) !important;
}

.first-section .uk-height-viewport {
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.uk-height-viewport {
    min-height: calc(100vh - 80px) !important;
    /* max-height: calc(100vh - 80px) !important; */
}

.max-height .uk-height-viewport {
    max-height: calc(100vh - 80px) !important;
}


/* --- navbar --- */
.uk-navbar-container {
    background: linear-gradient(180deg, #02364A 0%, rgba(2, 54, 74, 0.00) 100%) !important;
    backdrop-filter: blur(8px);
}

/* --- cf7 --- */
.wpcf7-spinner {
    position: absolute !important;
}

/* --- ju-ha-tang --- */
.ju-ha-tang {
    margin-left: -40px;
}

.ju-ha-tang>* {
    padding-left: 40px;
}

.ju-ha-tang .el-content {
    font-style: italic;
}

.ju-ha-tang .uk-grid-divider.uk-grid-large.uk-grid-stack>.uk-grid-margin {
    margin-top: 72px;
}

.ju-ha-tang .uk-grid-divider.uk-grid-large.uk-grid-stack>.uk-grid-margin::before {
    top: -36px;
    border-color: #212121;
}

.ju-ha-tang .el-item {
    background: #FFF;
}

.ju-ha-tang .uk-open>.el-item {
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.08);
    padding: 36px 24px;
}

.ju-ha-tang .uk-open>.el-item .uk-grid>*:not(.uk-open) .el-content {
    display: none;
}

.ju-ha-tang :not(.uk-open)>.el-item .ju-parent-grid {
    display: none;
}

.ju-ha-tang :not(.uk-open)>.el-item .parent-image-mb {
    display: none;
}

.ju-ha-tang .el-item .ju-parent-grid .el-title {
    transition: all 0.3s;
}

.ju-ha-tang .el-item .ju-parent-grid .uk-open .el-title,
.ju-ha-tang .el-item .ju-parent-grid .el-title:hover {
    color: #02364A;
    cursor: pointer;
    text-decoration: underline;
}

.ju-ha-tang .el-item .uk-h5 {
    cursor: pointer;
}

.ju-ha-tang .el-image {
    aspect-ratio: 863/670;
    aspect-ratio: 863 / 670;
    max-height: calc(100vh - 325px);
    object-fit: cover;
}

.ju-ha-tang .el-image-mb {
    aspect-ratio: 310/212;
}

/* --- fix-toc --- */
#ftwp-container.ftwp-wrap #ftwp-header {
    padding: 24px;
}

#ftwp-container.ftwp-wrap #ftwp-list {
    font-style: italic;
    padding: 0 24px 24px;
}

#ftwp-container.ftwp-wrap #ftwp-list .ftwp-anchor {
    padding: 4px 16px;
}

#ftwp-container.ftwp-wrap #ftwp-list .ftwp-anchor:hover {
    text-decoration: underline;
}

/* --- tiện ích --- */
.el-item-vi-tri {
    font-size: 14px;
    border-radius: 50%;
    border: 2px solid #FFF;
    min-width: 29px;
    min-height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .3s;
}

.el-item-vi-tri .el-title {
    position: absolute;
    top: -40px;
    background: red;
    text-align: center;
    white-space: nowrap;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 16px;
    z-index: 2;
}

.ju-scroll-tien-ich {
    color: #fff;
}

.ju-scroll-tien-ich .uk-flex {
    gap: 8px;
}


.ju-scroll-tien-ich .el-item {
    cursor: pointer;
    padding: 5px;
    border-radius: 100px;
    transition: all 0.3s;
}

.ju-scroll-tien-ich .el-item:hover.xanh-la {
    background: #43BB86;
}

.ju-scroll-tien-ich .el-item:hover.xanh-la .el-item-vi-tri {
    background: #CAFFE8 !important;
    color: #43BB86;
}

.ju-scroll-tien-ich .el-item:hover.xanh-duong {
    background: #189DCE;
}

.ju-scroll-tien-ich .el-item:hover.xanh-duong .el-item-vi-tri {
    background: #A2E6FF !important;
    color: #189DCE;
}

@media(min-width:960px) {


    /* --- tiện ích --- */
    .ju-scroll-tien-ich {
        right: 16px;
        max-width: 300px;
        max-height: 78vh;
        overflow: auto;
        font-size: 16px;
    }

    .ju-scroll-tien-ich::-webkit-scrollbar {
        width: 4px;
    }

    .ju-scroll-tien-ich::-webkit-scrollbar-track {
        background: #ffffff4d;
        border-radius: 10px;
    }

    .ju-scroll-tien-ich::-webkit-scrollbar-thumb {
        background: #FCC383;
        border-radius: 10px;
    }

    .ju-scroll-tien-ich .uk-grid-small>.uk-grid-margin {
        margin-top: 4px;
    }


    .ju-scroll-tien-ich .uk-h6 {
        color: #fff;
    }


}

@media(max-width:960px) {

    .tm-header-overlay {
        position: fixed;
    }

    .uk-navbar-item,
    .uk-navbar-nav>li>a,
    .uk-navbar-toggle {
        min-height: 52px !important;
    }

    .uk-slideshow-items {
        min-height: calc(100vh - 52px) !important;
        max-height: calc(100vh - 52px) !important;
    }

    .uk-height-viewport {
        min-height: calc(100vh - 52px) !important;
    }

    .max-height .uk-height-viewport {
        max-height: calc(100vh - 52px) !important;
    }

    /* --- narbav--- */
    .uk-navbar-container {
        background: #02364A !important;
        backdrop-filter: unset;
    }

    /* --- tiện ích --- */
    .el-item-vi-tri .el-title {
        top: -34px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .ju-vi-tri-tien-ich .el-item-vi-tri {
        min-width: 15px;
        min-height: 15px;
        font-size: 7.3px;
    }

    .ju-scroll-tien-ich .uk-h6 {
        color: #fff;
    }


}

@media(max-width:640px) {
    html {
        font-size: 16px;
    }

    /* --- button --- */
    .uk-button {
        border-radius: 12px;
        font-size: 16px;
        line-height: 38px;
    }

    /* --- fix-toc --- */
    #ftwp-container.ftwp-wrap #ftwp-header {
        padding: 16px;
        font-size: 20px;
    }

    #ftwp-container.ftwp-wrap #ftwp-list {
        font-style: italic;
        padding: 0 16px 16px;
    }

    #ftwp-container.ftwp-wrap #ftwp-list .ftwp-anchor {
        font-size: 16px;
    }

    /* --- tiện ích --- */
    .ju-scroll-tien-ich {
        font-size: 14px;
    }

    .ju-scroll-tien-ich .el-item-parent {
        padding: 8px;
        background: rgba(2, 54, 74, 0.24);
    }

    /* --- ju-ha-tang --- */
    .ju-ha-tang .uk-open>.el-item {
        padding: 24px;
    }

    .ju-ha-tang .uk-h5 {
        font-size: 24px;
    }

}