/*
Theme Name: Flatsome Child
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 Alexander'; /* Tên của font */
    src: url('fonts/UTM Alexander.ttf') format('truetype');
}

.top-location{
    color: #484554;
}
.top-location img{
    margin-right: 10px;
}
.top-phone{
    background: #ED1354;
    padding: 5px 15px;
    color: #fff;
    font-weight: 600;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
}
.header-main{
    z-index: 9999;
}
.nav-spacing-xlarge>li {
    margin: 0 30px;
}
#logo img {
    max-height: 100px!important;
    margin-top: -35px;
}
.home-introduce{
    margin-top: -50px;
    z-index: 99;
    padding-bottom: 160px!important;
}
.banner-title{
    margin-bottom: 50px;
    font-family: 'UTM Alexander';
}
.banner-content{
    margin-top: -500px;
}
.introduce-title{
    color: #ED1354 ;
}
.home-detail-image{
    background: #fff;
    padding: 15px 50px;
    border-radius: 10px;
}
.home-detail{
    margin-top: -160px;
    z-index: 99;
    padding-top: 150px!important;
}
.home-detail-top{
    margin-top: 70px;
}
.home-detail-center{
    margin-top: 100px
}
.home-detail-bottom{
    margin-top: 200px;
    margin-bottom: 50px;
}
.home-detail-top-colunm{
    flex-basis: 42%;
}
.home-detail-top-colunm .icon-box{
    align-items: center;
}
.home-detail-top-title{
    font-family: 'UTM Alexander';
    font-weight: 500;
}
.home-section-four{
    margin-top: -40px;
    z-index: 99;
    padding-bottom: 20px!important;
}
.home-section-four .img-order{
    margin-top: -130px;
}
.home-custom-title{
    margin-bottom: 40px;
    color: #ED1354;
    font-family: 'UTM Alexander';
    font-weight: 500;
}
.home-section-five{
    padding-top: 60px!important;
    padding-bottom: 0!important;
}
.blog-post-inner .is-divider{
    display: none;
}
.blog-post-inner .post-meta, .related-date{
    color: #ED1354;
    font-weight: 600;
    font-size: 14px;
    margin: 10px 0;
}
.footer{
    padding-top: 45px!important;
}
.footer-title{
    font-weight: 600;
}

.footer .footer-info ul li{
    list-style-type: none;
    margin-left: 0;
}
.footer ul li a{
    color: #fff
}
.absolute-footer{
    display: none;
}
.footer-share{
    display: flex;
    align-items: center;
    gap: 10px;
}
.intro-section-one-left{
    border: 2px solid #f5f5f5;
    border-radius: 10px;
    padding: 10px;
}
.intro-section-one-right .home-custom-title{
    margin-bottom: 15px;
}
.intro-section-one-right-row{
    margin-top: 40px;
}
.intro-section-one-right-row p{
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
}
.intro-section-two .section-bg img{
    object-fit: fill!important;
}
.intro-section-two-row{
    margin-top: -80px;
}
.intro-section-two-bottom-row{
    margin-top: 50px
}
.intro-section-two-bottom-row .txt-title{
    color: #fff;
    font-family: 'UTM Alexander';
}
.intro-section-two-row .home-custom-title{
    margin-top: -50px;
}
.intro-section-three{
    margin-top: -1px;
}
.archive #content .large-10, .single #content .large-10{
    flex-basis: 100%;
    max-width: 100%;
}
.archive #content .blog-post-inner{
    display: flex;
    flex-direction: column;
}
.archive #content .blog-post-inner .from_the_blog_excerpt{
    order: 3
}
.archive #content .box-blog-post .image-cover{
    padding-top: 65%!important;
    border-radius: 10px;
}
.archive #content .blog-post-inner .from_the_blog_comments, #comments{display: none}
.blog-archive h1.page-title span{
    color: #ED1354;
    font-family: 'UTM Alexander';
    font-weight: 500;
    font-size: 25px;
}
.box-blog-post .post-title.is-large a, .related-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* Hiển thị tối đa 2 dòng */
    line-height: 1.5; /* Khoảng cách giữa các dòng */
    max-height: 3em; /* Tính bằng line-height * số dòng */
}

/*************** CSS FOR BAIVIETLIENQUAN.   ***************/
.related-box{
    margin-top: -50px;
}
.related-box .related-head {
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
    font-size: 22px;
    color: #ED1354;
    font-family: 'UTM Alexander';
}
.related-box ul li {
    margin-bottom: 3px;
}
.related-box ul li a {
    font-weight: 700;
    font-size: 16px;
    /*color: #2a9e2f;*/
}
.related-box ul li a:hover {
    text-decoration: underline;
}
.feature {
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.feature .image{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}
ul.row.related-post li {
    list-style: none;
}
.related-title {
    line-height: 1.3 !important;
    margin-top: 10px !important;
    color: #000;
}
.related-title a{
    color: #000;
    font-weight: 600;
}
/*************** END CSS FOR BAIVIETLIENQUAN. ***************/
.box-content-share{
    display: flex;
    margin-top: -45px;
    margin-bottom: 20px;
    align-items: center;
}
.box-content-share-date{
    color:#ED1354;
    font-size: 14px;
    font-weight: 600;
}
.box-content-share-icon{
    margin-left: auto;
}
.share-icon-images{
    display: flex;
    gap: 10px;
    align-items: center;
}
.share-icon-images i{
    background: #00923F;
    padding: 4px 6px;
    border-radius: 50px;
    color: #fff;
}
.share-icon-images p{
    margin-bottom: 0;
    font-weight: 600;
    color:#ED1354;
    font-size: 14px;
    margin-left: 20px;
}
.box-content-share-bottom{
    margin-top: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 50px;
}
#order-popup{
    border-radius: 10px;
    padding-top: 30px;
}
.form-order h3{
    margin: 30px 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 25px;
}
.form-order input, .form-order textarea {
    box-shadow: unset;
    border-radius: 5px;
}
input.wpcf7-submit{
    border-radius: 10px;
    background-color: #ED1354;
    width: 150px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 767px){
    .top-location{
        margin-left: 92px;
    }
    .top-location img{
        margin-right: 0;
    }
    .icon-menu{
        font-size: 31px!important;
    }
    .html_topbar_right{
        margin-left: auto!important;
    }
    .top-phone{
       display: none;
    }
    .slide-home{
        height: 400px;
    }
   .banner-title{
       margin-bottom: 0;
   }
    .banner-content {
        margin-top: -265px;
    }
    .home-custom-title{
        font-size: 25px;
    }
    .home-detail-top-colunm{
        flex-basis: 100%;
    }
    .home-detail-center, .home-detail-bottom, .home-detail-top,.intro-section-two-row .home-custom-title{
        margin-top: 0;
    }
    .home-intro-iconbox-top{
        display: unset;
    }
    .home-intro-iconbox{
        background: #970c35e3;
        display: block;
        padding: 1px;
        border-radius: 10px;
        margin-top: -50px;
    }
}