/*
Theme Name: Danhhd Child
Description: Design by Danhhd
Author: Danhhd
Author URI: https://www.danhhd.com/
Description: Đây là giao diện con của Flatsome
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.stuck i.icon-menu,
body:not(.home) i.icon-menu {
    color: #000;
}

#header .header-nav .menu-item a.nav-top-link {
    color: #6a6a6a;
    font-size: 16px;
    font-weight: normal;
    text-shadow: 0px 0px 3px var(--fs-color-secondary), 0px 0px 3px var(--fs-color-secondary), 0px 0px 3px var(--fs-color-secondary);
}

#header .header-nav .menu-item.current-menu-item a.nav-top-link {
    color: var(--fs-color-primary);
    font-weight: bold;
    text-shadow: 0px 0px 3px #fff, 0px 0px 3px #fff, 0px 0px 3px #fff;
}

#header .header-nav .menu-item a.nav-top-link:hover {
    /* color: #0d8e5a; */
    text-shadow: 0px 0px 3px #fff, 0px 0px 3px #fff, 0px 0px 3px #fff;
}

#header .header-wrapper {
    background: url(/wp-content/uploads/2025/06/Rice-Fields-2.jpg) no-repeat;
    background-position: 0 50%;
    background-size: cover;
    background-color: rgba(0, 0, 0, .3);
    background-blend-mode: overlay;
}

#header .header-wrapper .header-bg-color.fill {
    background: none;
}

#header .header-nav .menu-item a.nav-top-link {
    color: #fff;
}

.sc-landscapes .box-text {
    pointer-events: none;
}

.sc-landscapes .box-image,
.sc-landscapes .box-image .shade {
    border-radius: 15px;
}

.col-box-vertical .col-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.col-box-vertical .col-inner>.box {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
}

.col-box-vertical .col-inner>.box:nth-child(odd) {
    flex-direction: row-reverse;
}

.col-box-vertical .col-inner>.box .box-image {
    flex-basis: 60%;
    max-width: 60%;
}

.col-box-vertical .col-inner>.box .box-text {
    flex-basis: 40%;
    max-width: 40%;
    z-index: 2;
}

.col-box-vertical .col-inner>.box:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background-image: linear-gradient(90deg, #F4ECDC 40%, #F4ECDC00 67%);
    z-index: 1;
    pointer-events: none;
}

.col-box-vertical .col-inner>.box:nth-child(even)::before {
    background-image: linear-gradient(270deg, #F4ECDC 40%, #F4ECDC00 67%);
}

.col-box-vertical .col-inner>.box .box-text h4 {
    font-size: 25px;
    margin: 0;
}

.col-box-vertical .col-inner>.box .box-text .learn-more {
    margin: 30px 0 0;
}

.col-box-vertical .col-inner>.box .box-text .learn-more a {
    margin: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid;
    transition: all .3s ease-in-out;
}

.col-box-vertical .col-inner>.box .box-text .learn-more a:after {
    content: "\f061";
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    margin-left: 10px;
    font-size: 14px;
}

.col-box-vertical .col-inner>.box .box-text .learn-more a:hover {
    transform: translateY(-8px);
}

.col-box-vertical .col-inner>.box .box-text .box-text-inner {
    text-align: left;
}

.col-box-vertical .col-inner>.box:nth-child(even) .box-text .box-text-inner {
    text-align: right;
}

.sc-join .box-text {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #fff;
    width: 75%;
    text-align: left;
    font-size: 15px;
    padding: 5px 10px;
    border-top-left-radius: 10px;
    box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}

.row-center-xy .col .col-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sc-news button.flickity-button {
    transform: none;
    opacity: 0.7;
}

.sc-news button.flickity-button svg.flickity-button-icon {
    background-color: var(--fs-color-primary);
    border-radius: 99px;
    border: 2px solid var(--fs-color-secondary);
}

.sc-news button.flickity-button svg.flickity-button-icon path.arrow {
    fill: #fff;
}

div#wrapper:has(.z-entry-title) .row.row-main>.col>.col-inner>p>img {
    width: 80%;
    border-radius: 15px;
}

div#wrapper:has(.z-entry-title) .row.row-main>.col>.col-inner>p {
    margin-bottom: 15px;
}

.text-beautiful,
.text-ancient {
    margin-bottom: 30px;
}

.sc-letus .text-segoe span {
    color: red;
}







.post-sidebar input#s {
    border: 1px solid #e2e2e2;
    box-shadow: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    color: #555;
}

.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    color: #fff;
    border: 1px solid;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0:hover {
    box-shadow: none;
}

.post-sidebar input#s:focus {
    border-color: var(--primary-color);
}

.post-sidebar span.widget-title {
    font-size: 20px;
    font-weight: normal;
    color: #6d6d6d;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
    text-transform: none;
    /* line-height:  60px; */
    display: block;
}

.post-sidebar .is-divider.small {
    display: none;
}

.post-sidebar aside {
    margin: 0 0 40px 0;
}

.post-sidebar ul li a {
    font-size: 14px;
    color: #6d6d6d;
    transition: all ease-in-out 0.2s;
}

.post-sidebar ul li a:hover {
    color: #000;
}

.post-sidebar a.tag-cloud-link {
    font-size: 13px !important;
    padding: 6px 8px;
    line-height: 34px;
    background-color: #f1f3f4;
    white-space: nowrap;
    border-radius: 4px;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
}

.post-sidebar a.tag-cloud-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.entry-header .entry-image.relative {
    margin-top: 15px;
}

.entry-header .entry-image.relative .badge.absolute.top.post-date.badge-outline {
    display: none;
}


.entry-header .entry-header-text.entry-header-text-top.text-center {
    padding: 0;
    text-align: left;
}

.entry-header h6.entry-category.is-xsmall {
    max-width: 100%;
    width: auto;
    margin: 0;
    display: inline-block;
    opacity: 1;
    transition: all 0.3s ease;
}

.entry-header .entry-meta.is-xsmall {
    max-width: 100%;
    margin: 0;
    display: inline-block;
    width: auto;
}

.entry-header h6.entry-category.is-xsmall:before {
    content: '\f02e';
    font-family: "Font Awesome 5 Free";
    color: #000;
    font-weight: normal;
    transition: all 0.3s ease;
}

.entry-header .entry-meta.is-xsmall>span {
    margin-right: 10px;
    font-size: 12px;
}

.entry-header .entry-meta span.posted-on:before {
    content: '\f017';
    color: #000;
    font-family: "Font Awesome 5 Free";
    padding-right: 3px;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.byline:before {
    content: '\f007';
    font-family: "Font Awesome 5 Free";
    color: #000;
    transition: all 0.3s ease;
}

.entry-header .entry-meta a {
    color: #000;
    text-transform: none;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on {
    padding-right: 20px;
}

.entry-header .entry-meta span.byline {
    padding-right: 20px;

}

.entry-header h6.entry-category.is-xsmall a {
    color: #000;
    font-weight: normal;
    text-transform: none;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on:hover:before,
.entry-header .entry-meta span.posted-on:hover a,
.entry-header .entry-meta span.byline:hover:before,
.entry-header .entry-meta span.byline:hover a,
.entry-header h6.entry-category.is-xsmall:hover:before,
.entry-header h6.entry-category.is-xsmall:hover a {
    color: #f27c66;
}

.blog-wrapper .large-10.col {
    padding-bottom: 0;
}

.entry-image-float .badge.absolute.top.post-date.badge-outline {
    display: none;
}

.chuyen-muc {
    display: flex;
    width: 100%;
}

.entry-image-float img.attachment-large.size-large.wp-post-image {
    width: 100%;
    transition: transform 3s;
    -webkt-transition: transform 3s;
    -moz-transition: transform 3s;
    border-top-left-radius: 10px;
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    border: 1px solid #cfcfcf;
    padding: 3px;
    border-top-left-radius: 10px;
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
}

.chuyen-muc .entry-image-float a {
    overflow: hidden;
    padding-top: 65%;
    background-position: 50% 50%;
    background-size: cover;
}

.chuyen-muc .entry-image-float a img {
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.entry-image-float {
    display: inline-flex;
    max-width: 30%;
    width: 100%;
    margin: 0;
    /* border: 1px solid #cfcfcf; */
    /* padding: 3px; */
    /* border-top-left-radius: 10px; */
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    /* -webkit-border-top-left-radius: 10px; */
    /* border-bottom-right-radius: 10px; */
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    /* -webkit-border-bottom-right-radius: 10px; */
}

#post-list .entry-content {
    display: flex;
    margin-left: 20px;
    width: 70%;
    padding-bottom: 0;
}

#post-list footer.entry-meta.clearfix {
    display: none;
}

#post-list .entry-content .text-left {
    float: right;
    margin-top: 15px;
}

#post-list .entry-content .text-left a {
    margin: 0;
    text-transform: none;
    border-radius: 5px;
}


#post-list a:hover img.attachment-large.size-large.wp-post-image {
    transform: scale(1.1, 1.1);
}

#post-list .entry-content span.posted-on {
    display: block;
    font-size: 13px;
    color: #000;
    padding-bottom: 5px;
    padding-top: 5px;
}

#post-list .entry-content span.posted-on:before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    padding-right: 5px;
    font-size: 13px;
}

#post-list .entry-content span.posted-on a {
    color: #000;
}

#post-list .entry-content span.byline:before {
    content: "\f007";
    font-family: "Font Awesome 5 Free";
    padding-right: 2px;
    padding-left: 1px;
    font-size: 13px;
    color: #000;
}

#post-list .entry-content span.byline a {
    color: #000;
    font-size: 13px;
    text-transform: none;
}

#post-list .entry-content p {
    font-size: 14px;
    color: #000;
    text-align: justify;
}

.blog-archive header.archive-page-header {
    display: none;
}

div#post-list {
    margin-top: 30px;
}

.chuyen-muc .entry-meta.is-xsmall {
    display: inline-block;
    width: 50%;
}

.chuyen-muc .entry-meta.is-xsmall span {
    margin-right: 10px;
}

.chuyen-muc .text-left a.more-link.button.primary.is-outline.is-smaller {
    margin: 0;
    margin-top: 20px;
}

.text-epic {
    font-family: 'Segoe Script';
    font-weight: bold;
    font-size: 100px;
    color: #A50021 !important;
}

.text-segoe span {
    font-family: 'Segoe Script';
    font-weight: bold;
    font-size: 50px;
    /* margin-right: 20px; */
}

.text-beautiful span {
    color: #538135;
}

.text-ancient span {
    color: #C45911;
}

.sc-culture .text-segoe {
    font-family: 'Segoe Script';
    font-weight: bold;
    color: #C45911;
}

.text-smiles span {
    color: #FF3399;
}

.text-accomo span {
    color: #7030A0;
}

.text-food span {
    color: #59ddd2;
}

.custom-page-list .item-page a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-page-list .item-page .box-image {
    width: 50%;
    height: 100%;
    border-radius: 7px;
}

.custom-page-list .item-page .box-text p {
    margin: 0;
    font-weight: bold;
    font-size: 16px;
}

.custom-page-list .item-page .box-text {
    padding: 0;
}

.custom-page-list .item-page:not(:last-child) {
    margin-bottom: 10px;
}

.textwidget.custom-html-widget:has(.widget-page-child) {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.textwidget.custom-html-widget:has(.widget-page-child)>.active {
    order: 1;
}

.textwidget.custom-html-widget:has(.widget-page-child)>* {
    order: 2;
}

.widget-page-child>.title {
    font-size: 26px;
    margin-bottom: 10px;
}

.blog-single .large-9.col {
    padding-left: 15px;
}

.blog-single .post-sidebar.large-3.col {
    padding-right: 15px;
}

.blog-single>.row.row-large.row-divided {
    max-width: 1250px;
    margin-top: 30px;
}

.entry-content.single-page img {
    margin: 0 auto;
    display: block;
}

#content .page-inner>p,
.single-post .entry-content>p {
    margin-bottom: 15px;
    text-indent: 30px;
    text-align: justify;
}

.sc-news .from_the_blog_excerpt {
    font-size: 1.25rem;
    text-align: justify;
}

#content .page-inner>p:has(img) {
    text-indent: 0;
}

div#content>.page-inner>figure,
div#content>.page-inner>p>img {
    max-width: 85% !important;
    margin: 0 auto 15px;
}

div#content>.page-inner>p>img {
    margin-bottom: 0;
}

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

    .sc-beautiful .row .col:nth-child(7) .box-text,
    .sc-beautiful .row .col:nth-child(8) .box-text,
    .sc-some .row .col:nth-child(4) .box-text,
    .sc-some .row .col:nth-child(5) .box-text,
    .sc-some .row .col:nth-child(4),
    .sc-some .row .col:nth-child(5) {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 1024px) {
    .col-box-vertical .col-inner>.box .box-text h4 {
        font-size: 18px;
    }

    .col-box-vertical .col-inner>.box .box-text .learn-more {
        margin-top: 15px;
    }

    .col-box-vertical .col-inner>.box .box-text .learn-more a {
        font-size: 15px;
    }

    .sc-join .box-text h4 {
        font-size: 16px;
    }

    .sc-some .box-text h4 {
        font-size: 18px;
    }

    .sc-andone a.button {
        font-size: 15px;
    }

    .sc-news .row.large-columns-1.medium-columns-1.small-columns-1.row-full-width.slider.row-slider {
        margin-left: 0;
        margin-right: 0;
    }

    .sc-news .box-text h5.post-title {
        font-size: 22px;
    }

    .sc-news .box-text .from_the_blog_excerpt {
        font-size: 1.1rem;
        line-height: 1.4em;
    }

    .sc-news .col.post-item {
        padding: 0;
    }

    .text-epic {
        font-size: 80px;
    }
}

@media only screen and (max-width: 767px) {
    .chuyen-muc {
        display: block;
    }

    .entry-image-float {
        max-width: 100%;
    }

    #post-list .entry-content {
        margin-left: 0 !important;
        padding-top: 5px;
        width: 100%;
    }

    #post-list .entry-content h2.entry-title {
        text-align: justify;
    }

    #post-list .entry-content p {
        text-align: justify;
    }

    .col-box-vertical .col-inner>.box {
        flex-direction: column !important;
    }

    .col-box-vertical .col-inner>.box .box-image,
    .col-box-vertical .col-inner>.box .box-text {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
    }

    .col-box-vertical .col-inner>.box:before {
        background-image: linear-gradient(180deg, #ffffff00 39%, #F4ECDC 61%) !important;
    }

    .col-box-vertical .col-inner>.box .box-text h4 {
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .col-box-vertical .col-inner>.box .box-text .box-text-inner {
        text-align: left !important;
    }

    .text-epic {
        font-size: 50px;
    }

    .sc-welcome .section-bg.fill:before {
        content: "";
        height: 100%;
        left: 0;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: 50% 50%;
        object-position: 50% 50%;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1;
        background: url(/wp-content/uploads/2025/07/31-scaled.jpeg) no-repeat center;
        background-size: cover;
    }

    div#content>.page-inner>figure,
    div#content>.page-inner>p>img {
        max-width: 100% !important;
    }
}

@font-face {
    font-family: 'Segoe Script';
    font-weight: 400;
    src: url("webfonts/Segoe Script.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    src: url("webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-weight: normal;
    src: url("webfonts/fa-regular-400.ttf") format("truetype");
}

.fa,
.fas {
    font-family: 'Font Awesome 6 Free';
}