/*
Theme Name: phongmy-design
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

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

@font-face {
    font-family: 'UTM Avo';
    src: url('fonts/UTMAvoBold.eot');
    src: url('fonts/UTMAvoBold.eot?#iefix') format('embedded-opentype'),
    url('fonts/UTMAvoBold.woff2') format('woff2'),
    url('fonts/UTMAvoBold.woff') format('woff'),
    url('fonts/UTMAvoBold.ttf') format('truetype'),
    url('fonts/UTMAvoBold.svg#UTMAvoBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UTM Avo';
    src: url('fonts/UTMAvo-Italic.eot');
    src: url('fonts/UTMAvo-Italic.eot?#iefix') format('embedded-opentype'),
    url('fonts/UTMAvo-Italic.woff2') format('woff2'),
    url('fonts/UTMAvo-Italic.woff') format('woff'),
    url('fonts/UTMAvo-Italic.ttf') format('truetype'),
    url('fonts/UTMAvo-Italic.svg#UTMAvo-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'UTM Avo';
    src: url('fonts/UTMAvo.eot');
    src: url('fonts/UTMAvo.eot?#iefix') format('embedded-opentype'),
    url('fonts/UTMAvo.woff2') format('woff2'),
    url('fonts/UTMAvo.woff') format('woff'),
    url('fonts/UTMAvo.ttf') format('truetype'),
    url('fonts/UTMAvo.svg#UTMAvo') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UTM Avo';
    src: url('fonts/UTMAvo-BoldItalic.eot');
    src: url('fonts/UTMAvo-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/UTMAvo-BoldItalic.woff2') format('woff2'),
    url('fonts/UTMAvo-BoldItalic.woff') format('woff'),
    url('fonts/UTMAvo-BoldItalic.ttf') format('truetype'),
    url('fonts/UTMAvo-BoldItalic.svg#UTMAvo-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

a.ab-item, span.ab-icon {
    font-family: dashicons !important;
}

html, body, * {
    font-family: 'UTM Avo' !important;
}

:root {
    font-family: 'UTM Avo';
    --second-color: #1f4c2d;
    --yellow-color: #FFDE96;
    --white-color: #fff;
    --yellow-color2: rgb(207, 159, 42);
    --black-color: #000;
}

#top-bar {
    background: transparent;
}


#top-bar .flex-left li {
    color: var(--yellow-color);
}

#top-bar .nav-right li {
    background: url("img/box_header.png") no-repeat top left;
    padding: 9px 30px;
    background-size: 100% 100%;
    color: var(--white-color);
    font-weight: 700;
    font-size: 13px;
    margin-left: 0;
    cursor: pointer;
}

#top-bar .nav-right li a {
    color: var(--white-color);
    font-weight: 700;
    font-size: 13px;
    padding: 0;
}

#top-bar .nav-right li:hover {
    color: var(--second-color);
}

#masthead a {
    font-weight: normal;
}

.stuck #logo img {
    top: 0;
}

#logo img {
    max-height: 115px !important;
    position: relative;
    top: -55px;
    height: 115px;
    width: auto !important;
    max-width: initial;
    padding: 7px 0;
}


div#top-bar:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 7px;
    background: #1f4c2d;
    left: 0;
    right: 0;
    top: 0;
}

li.html.custom.html_topbar_left {
    background: transparent !important;

}

li.html.custom.html_topbar_left img {
    position: relative;
    top: -2px;
    right: -35px;
    height: 44px;
}

ul.sub-menu.nav-dropdown {
    padding: 0;
}

.nav-dropdown-simple .nav-column li > a:hover, .nav-dropdown.nav-dropdown-simple > li > a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/*home*/

.full_slider img {
    height: calc(100vh - 122px);
    object-fit: cover;
    object-position: center center;
}

.section-gadient {
    background: linear-gradient(var(--white-color), var(--yellow-color2));
}

.section-vechungtoi p {
    margin-bottom: 0.7em;
}

.section-title-container.type1 .section-title, .section-title-container.type2 .section-title {
    border-bottom: 0px;
}

.section-title-container span {
    font-size: 1.4rem;
    color: var(--second-color);
    position: relative;
    border-bottom: 0;
}

.section-title-container.type1 span:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 50%;
    bottom: 0;
    left: 0;
    background: var(--black-color);
}

.type2 span:after {
    position: absolute;
    content: '';
    background: url(img/after_title.png) no-repeat top left;
    background-size: contain;
    bottom: -40px;
    height: 26px;
    left: 50%;
    width: 250px;
    transform: translate(-50%, -50%);
}

.type2 {
    margin-bottom: 3rem;
}

.type2 b {
    opacity: 0;
    visibility: hidden;
}

.section-noibat {
    padding-bottom: 0 !important;
}

.section-noibat .icon-box {
    cursor: pointer;
}

.section-noibat .icon-box img {
    object-fit: contain;
    object-position: top;
    padding: 0;
    transition: all 500ms;
}

.section-noibat h5 {
    color: var(--primary-color);
    transition: all 500ms;
}

.section-noibat .icon-box-text {
    line-height: 19px;
    color: var(--black-color);
}

.section-noibat .col:nth-child(-n+3) {
    padding-bottom: 60px;
}

.section-noibat .icon-box:hover img {
    transform: rotate(180deg);
}

.section-noibat .icon-box:hover h5 {
    color: var(--second-color);
}

.mo-tab li {
    background: url("img/box_title.png") no-repeat top left;
    padding: 2px 30px;
    background-size: 100% 100%;
    color: var(--white-color);
    font-weight: 700;
    font-size: 13px;
    margin-left: 0;
    cursor: pointer;
    transition: all 500ms;
}

.mo-tab li.active, .mo-tab li:hover {
    background: url("img/box_title_hover.png") no-repeat top left;
    padding: 2px 30px;
    background-size: 100% 100%;
}

.mo-tab li span {
    color: var(--white-color);
}

.row-sanpham-home .box-text {
    bottom: 0;
    background-color: rgb(0 0 0 / 41%);
}

.row-sanpham-home .box-text h5 {
    color: var(--white-color);
}

.r-flex {
    display: flex;
    align-items: center;
}

.slider-sub.slider {
    max-height: 270px;
    overflow: hidden;
}

.slider-sub.slider .phongmy-sub-item {
    width: 25% !important;
    padding: 7px 3.5px;

}

.slider-sub.slider .phongmy-sub-item.is-nav-selected img {
    border: 1px solid var(--second-color);
}

.slider-main-nha img, .phongmy-sub-item img {
    border-radius: 10px;
    width: 100%;
}

.slider-main-nha img {
    max-height: 589px;
    object-fit: cover;
    object-position: top center;
}

.slider-sub img {
    max-height: 158px;
    object-fit: cover;
    object-position: center center;
}

.no-p {
    padding-bottom: 0 !important;
}

.section-tintuc {
    padding-bottom: 0;
}

.section-tintuc .is-divider {
    display: none;
}

span.readmore {
    color: var(--black-color);
    FONT-WEIGHT: 600;
}

.section-tintuc .box-text {
    background-color: var(--primary-color);
    padding: 10px;
}

.section-tintuc li.tab.active a {
    color: var(--primary-color);
}

.section-tintuc li {
    line-height: 15px;
}

.section-tintuc li a {
    padding: 0;
}

.section-tintuc li:first-child {
    border-right: 1px solid var(--black-color);
    padding-right: 15px;
    margin-right: 15px;
}

.section-tintuc .box-text h5 {
    margin: 0;
    color: var(--second-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
    line-height: 1.35;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 0 !important;
    -webkit-line-clamp: 2;
    height: calc(1em * 1.35 * 2 - 2px);
}

.white-color {
    color: var(--white-color);
}

.excerpt-new {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
    line-height: 1.35;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 0 !important;
    -webkit-line-clamp: 3;
    height: calc(1em * 1.35 * 3 - 2px);
}

.post-date {
    padding: 5px 0;
}

.post-date img {
    margin-right: 5px;
}

.type3 h3 {
    border: 0;
}

.footer .type3 {
    margin: 0 !important;
}

.footer .type3 span {
    font-size: 16px;
}

.footer h4 {
    color: var(--black-color) !important;
    font-size: 15px;
    margin: 0;
}

.footer, .footer p, .footer span, footer a {
    color: var(--black-color) !important;
    font-size: 13px;

}

#block_widget-9 p {
    margin-bottom: 5px;
}

.rank-math-breadcrumb p {
    margin: 0;
}

.rank-math-breadcrumb span::first-letter {
    text-transform: uppercase;
}

.rank-math-breadcrumb {
    border-radius: 5px;
    background-color: var(--yellow-color);
    padding: 5px 10px;
    margin-bottom: 15px;
}

.rank-math-breadcrumb a, .rank-math-breadcrumb {
    color: var(--black-color);
}

.footer span.wpcf7-form-control-wrap input {
    border: 0;
    border-radius: 5px;
    height: 30px;
}

.footer textarea.wpcf7-form-control.wpcf7-textarea {
    min-height: 116px;
}

.footer input.wpcf7-form-control.has-spinner.wpcf7-submit {
        background: #fff;
    color: #000;
    border-radius: 15px;
    position: absolute;
    top: 0px;
    left: 0;
}

.footer .wpcf7 form.sent .wpcf7-response-output {
    margin: 0;
    background: var(--white-color);
    color: var(--black-color);
}

.absolute-footer {
    display: none;
}

.copyright-footer {
    text-align: center;
    padding: 5px 0;
    color: var(--black-color);
}

/*end home*/


/*single*/

li.recent-blog-posts-li a {
    text-transform: lowercase;
    /*display: -webkit-box;*/
    -webkit-box-orient: vertical;
    position: relative;
    line-height: 1.35;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 0 !important;
    -webkit-line-clamp: 2;
    height: calc(1em * 1.35 * 2 - 2px);
}

li.recent-blog-posts-li a::first-letter {
    text-transform: uppercase;
}

.recent-blog-posts-li .post_comments {
    display: none;
}

aside.widget {
    margin-bottom: 2.5rem;
}

aside span.widget-title {
    color: var(--black-color);
    text-transform: inherit;
    font-size: 1.3rem;
}

h1.entry-title {
    color: var(--black-color);
    text-transform: lowercase;
}

h1.entry-title:first-letter {
    text-transform: uppercase;
}

.blog-share-title {
    font-weight: bold;
    color: var(--second-color);
    font-size: 1.2rem;
    padding-bottom: 5px;
}

.hotrochung.phone {
    padding-top: 15px;
    padding-bottom: 5px;
}

.hotrochung span {
    position: relative;
    color: var(--black-color);
    font-size: 1.2rem;
    padding-left: 30px;
    font-weight: bold;
}

.large-3.col .widget-area {
    position: sticky;
    top: 110px;
}

.widget .is-divider {
    display: none;
}

.phone span:before {
    position: absolute;
    content: '';
    background: url(img/phone-lag.gif) no-repeat top left;
    width: 50px;
    height: 50px;
    left: -22px;
    top: -13px;
    background-size: cover;
}

.zalo span:before {
    position: absolute;
    content: '';
    background: url(img/zalo1.png) no-repeat top left;
    width: 30px;
    height: 30px;
    left: -3px;
    top: -3px;
    background-size: cover;
}

/*end single*/

/*archive*/
.tax-loai-san-pham.archive h5.post-title {
    height: auto;
}

.from_the_blog_excerpt {
    color: var(--black-color);
    padding-top: 5px;
}

.archive h5.post-title,
.thuvienhinhanh h5.post-title {
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
    line-height: 1.35;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 0 !important;
    -webkit-line-clamp: 3;
    height: calc(1em * 1.35 * 3 - 2px);
    color: var(--second-color);
}

.box-blog-post .is-divider {
    display: none;
}

/*end archive*/

.flex-col.hide-for-medium.flex-center, .flex-col.hide-for-medium.flex-left {
    display: none;
}

#footer-contact {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--yellow-color);
    padding: 10px;
    font-size: 1.3em;
    z-index: 99999999;
}

#footer-contact a {
    color: #57372c;
}

.back-to-top {
    bottom: 70px;
}

.off-canvas-right.dark .mfp-content, .off-canvas-left.dark .mfp-content,
.off-canvas-right .mfp-content, .off-canvas-left .mfp-content {
    background-color: var(--second-color) !important;
    /*background-color: var(--yellow-color) !important;*/
}

.off-canvas-right.dark .nav > li > a {
    color: var(--white-color) !important;
}

.cf7-form-home .col.col_tren {

}


/* page */
.page-template-page-blank-title-center .entry-content {
    padding-left: 30px;
    padding-right: 30px;
}

/* end page */


/* popup */
/* click popup */
#popmake-2252 {
    padding: 0;
}

#popmake-2252 .col {
    padding-bottom: 0 !important;
}

#popmake-2252 form {
    margin: 0;
}

#popmake-2252 .col.popup_left {
    padding: 0;
}

#popmake-2252 form .wpcf7 .wpcf7-form-control-wrap {
    padding-top: 5px !important;
}

#popmake-2252 form input {
    border-radius: 5px !important;
    box-shadow: none;
}

#popmake-2252 form label {
    font-weight: normal;
    font-size: 1rem;
}

#popmake-2252 img {
    padding: 5px;
}

.bg_2 {
    background-color: var(--yellow-color);
}

/* responsive*/
@media (max-width: 1023px) {
    li.html.custom.html_topbar_left img {
        position: relative;
        top: -2px;
        right: -162px;
        height: 44px;
        width: 75%;
    }
}

@media (max-width: 990px) {

    #masthead .nav-spacing-xlarge > li {
        margin: 0 7px;
    }

    li.html.custom.html_topbar_right, li.html.custom.html_top_right_text {
        width: 180px !important;
        margin: 0 auto;
        position: relative;
        top: -8px;
    }

    #logo img {
        top: -79px;
    }

    ul.nav.top-bar-nav.nav-right.nav-small.nav-divided {
        display: inherit;
        margin: 0 auto !important;
        text-align: center;
    }

    ul.nav.top-bar-nav.nav-right.nav-small {
        margin: 0 auto;
    }

    li.html.custom.html_topbar_left {
        text-align: center;
    }

    li.html.custom.html_topbar_left img {
        position: relative;
        top: -4px;
        right: unset;
        height: initial;
        width: 400px;
    }

    #top-bar .nav-right li {
        padding: 9px 10px;
        width: 100%;
    }
}

@media only screen and (min-width: 992px) {
    #footer-contact {
        display: none;
    }
}

@media (min-width: 850px) {
    .section-tintuc .col.post-item {
        padding-bottom: 0 !important;
    }
}

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

    .section-iconbox .col {
        padding-bottom: 30px !important;
    }

    .section-iconbox .col:last-child {
        padding-bottom: 0 !important;
    }

    .section-tintuc {
        padding-bottom: 0 !important;
    }

    .page-template-page-blank-title-center .entry-content {
        padding-left: unset;
        padding-right: unset;
    }

    .full_slider img {
        height: auto !important;
    }

    p.from_the_blog_excerpt {
        display: none;
    }

    .archive h5.post-title {
        overflow: visible;
        height: initial;
        -webkit-line-clamp: unset;
        font-size: 13px;
    }

    li.html.custom.html_topbar_right, li.html.custom.html_top_right_text {
        width: 100% !important;
    }

    .archive .box-blog-post,
    .thuvienhinhanh .box-blog-post {
        display: flex;
        flex-flow: row wrap;
    }

    .archive .box-image,
    .thuvienhinhanh .box-image {
        flex: 0 1 40%;
    }

    .archive .box-blog-post .box-text,
    .thuvienhinhanh .box-blog-post .box-text {
        flex: 0 1 60%;
        padding-top: 0;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    #logo img {
        top: -18px;
        max-height: 77px !important;
    }

    .section-sanpham li.tab {
        margin-bottom: 15px;
    }

    .section-sanpham .grid-col-1-2 {
        height: 227px !important;
    }
}

@media only screen and (max-width: 410px) {
    li.html.custom.html_topbar_left img {
        top: -9px;
    }
}

.stl-nav{
    display: none;
}

@media only screen and (max-width: 48em) {
    .stl-nav {
        display: block;
        background: white;
        width: 100%;
        border-radius: 0;
        color: #fff;
        height: 60px;
        line-height: 50px;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 999;
        padding: 5px;
        margin: 0;
        box-shadow: 0 4px 10px 0 #000;
    }

    .stl-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .stl-nav ul li {
        list-style: none !important;
    }

    .stl-nav li {
        float: left;
        width: 20%;
        list-style: none;
        height: 50px;
    }

    .stl-nav ul > li a {
        border: none;
        padding: 3px;
        display: block;
        border-radius: 5px;
        text-align: center;
        font-size: 10px;
        line-height: 15px;
        color: #515151;
        font-weight: 700;
        max-width: 72.19px;
        max-height: 54px;
        text-decoration: none;
    }

    .stl-nav ul > li a i {
        width: 33px;
        height: 33px;
        display: block;
        margin: auto;
    }

    .stl-nav ul > li a i.icon-home {
        background: url(img/home-button.png) no-repeat;
        background-size: contain;
        width: 36px;
        height: 36px;
        display: block;
    }

    .stl-nav ul > li a i.icon-zalo-stl {
        background: url(img/zalo.png) no-repeat;
        background-size: contain;
        width: 36px;
        height: 36px;
        display: block;
    }

    .stl-nav ul > li a i.icon-phone-w {
        background: url(img/icon-hotline-ntpt.gif) no-repeat;
        background-size: contain;
        width: 55px;
        height: 55px;
    }
    .stl-nav ul>li a i.icon-messenger {
        background: url(img/dollar.png) no-repeat;
        background-size: contain;
        width: 36px;
        height: 36px;
        display: block;
    }
    .stl-nav ul>li a i.icon-maps {
        background: url(img/gps.png) no-repeat;
        background-size: contain;
        width: 38px;
        height: 36px;
        display: block;
    }
    .stl-nav li .button2 .phone_animation {
        box-shadow: none;
        position: absolute;
        top: -16px;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .stl-nav ul li .button2 .btn_phone_txt {
        position: relative;
        font-size: 10px;
        font-weight: bold;
        text-transform: none;
        display: block;
    }
    .btn_phone_txt {
        top: 35px;
    }

}

.form_tuvan{

}
.form_tuvan .large-6{
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}
.form_tuvan{
    background: url("https://wikihoavien.vn/wp-content/uploads/2022/07/bg_form-800x380.png") no-repeat;
    background-size: cover;
    padding: 30px 60px;
    text-align: center;
}