/*
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.   ***************/
.bottom-contact {
    display: block;
    position: fixed;
    background: white;
    width: 100%;
    z-index: 100;
    box-shadow: 2px 1px 9px #dedede;
    border-top: 1px solid #eaeaea;
    width: auto;
    z-index: 150;
    bottom: 100px;
    right: 15px;
}
.hide-des{
	display:none;
}
.bottom-contact ul {
    margin: unset;
}
.bottom-contact ul li {
    list-style: none;
    text-align: center;
    font-size: 13.5px;
    padding: 10px;
	    padding-top: 0;
    padding-bottom: 3px;
}
.bottom-contact ul li img{    width: 35px;
    margin-top: 10px;
    margin-bottom: 0px;}

blockquote {
    padding: 20px 15px 0px 10px !important;
    margin: 8px 0 !important;
    box-shadow: 6px 10px 8px rgb(0 0 0 / 15%);
    border: 1px solid #03A24E !important;
    border-radius: 10px !important;
    margin: 25px 0 !important;
    font-style: unset !important;
    font-weight: normal !important;
    font-size: 16px !important;
}
 blockquote::before {
    color: #03A24E;
    font-size: 55px;
    top: -12px;
    background: white;
    width: unset;
}
blockquote::before {
    content: "“";
    position: absolute;
    left: 10px;
    top: -16px;
    width: 30px;
    height: 30px;
    line-height: 1;
    font-family: Arial;
    font-size: 72px;
    color: #03A24E;
}
blockquote h2{color:#b43a06}
.single .entry-content {
    padding-bottom: 1.5em;
    padding-top: 0;
}
.single .entry-content h2{color:#b43a06 }
.entry-header-text {
    padding: 0 0;
}
#ez-toc-container {

    width: 100%;
}
.post-item .box-vertical .box-text {

        vertical-align: top;
    }
.post-item a{color:#000; font-weight:bold;}

/* menu */
/* MENU CHÍNH */
.header-nav-main > li > a {
    font-size: 15px;
    font-weight: 600;
    padding: 0 16px;
    transition: all .3s ease;
    position: relative;
}

/* Hiệu ứng gạch chân */
.header-nav-main > li > a:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #d62828;
    transition: all .3s ease;
    transform: translateX(-50%);
}

.header-nav-main > li:hover > a:after,
.header-nav-main > li.active > a:after,
.header-nav-main > li.current-menu-item > a:after {
    width: 70%;
}

/* Hover menu */
.header-nav-main > li:hover > a {
    color: #d62828;
}

/* MENU ĐANG ACTIVE */
.header-nav-main > li.current-menu-item > a,
.header-nav-main > li.active > a {
    color: #d62828;
    font-weight: 700;
}

/* DROPDOWN */
.nav-dropdown {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 10px 0;
    overflow: hidden;
}

/* Item dropdown */
.nav-dropdown li a {
    padding: 12px 20px;
    font-size: 14px;
    transition: all .25s ease;
}

.nav-dropdown li a:hover {
    background: #f5f5f5;
    color: #d62828;
    padding-left: 26px;
}

/* Mũi tên dropdown */
.nav-top-link .icon-angle-down {
    margin-left: 6px;
    transition: transform .3s ease;
}

.menu-item-has-children:hover .icon-angle-down {
    transform: rotate(180deg);
}

/* dich vu */
/* Card */
.featured-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: all .3s ease;
    height: 100%;
}

.featured-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

/* Khung ảnh */
.featured-box .icon-box-img {
    width: 100% !important;
    overflow: hidden;
    margin: 0 !important;
}

/* Ảnh */
.featured-box .icon-inner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.featured-box:hover .icon-inner img {
    transform: scale(1.08);
}

/* Nội dung */
.featured-box .icon-box-text {
    padding: 20px;
}

/* Tiêu đề */
.featured-box .icon-box-text p {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

/* Hover tiêu đề */
.featured-box:hover .icon-box-text p {
    color: #c62828;
}
.featured-box .icon-box-text::after {
    content: "Xem chi tiết →";
    display: block;
    margin-top: 12px;
    color: #c62828;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

.featured-box:hover .icon-box-text::after {
    transform: translateX(5px);
}
/*post */
/* ===== CARD BÀI VIẾT ===== */

.post-item .col-inner{
    height:100%;
}

.box-blog-post{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    transition:all .3s ease;
    height:100%;
}

.box-blog-post:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* ===== HÌNH ẢNH ===== */

.box-blog-post .box-image{
    overflow:hidden;
}

.box-blog-post .image-cover{
    padding-top:60% !important;
}

.box-blog-post .image-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.box-blog-post:hover .image-cover img{
    transform:scale(1.08);
}

/* ===== NỘI DUNG ===== */

.box-blog-post .box-text{
    padding:20px;
    text-align:left !important;
}

.box-blog-post .post-title{
    margin-bottom:12px;
}

.box-blog-post .post-title a{
    display:block;
    color:#222;
    font-size:18px;
    font-weight:700;
    line-height:1.5;
    transition:.3s;
    
    /* Giới hạn 2 dòng */
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.box-blog-post:hover .post-title a{
    color:#C62828;
}

/* ===== MÔ TẢ ===== */

.box-blog-post .from_the_blog_excerpt{
    color:#666;
    font-size:14px;
    line-height:1.7;
    margin-top:10px;

    /* Giới hạn 3 dòng */
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
	opacity: 1;
}

/* ===== ĐỌC TIẾP ===== */

.box-blog-post .box-text-inner::after{
    content:"Đọc tiếp →";
    display:inline-block;
    margin-top:15px;
    color:#C62828;
    font-weight:600;
    transition:.3s;
}

.box-blog-post:hover .box-text-inner::after{
    transform:translateX(5px);
}

/* ===== MOBILE ===== */

@media (max-width:768px){

    .box-blog-post .post-title a{
        font-size:16px;
    }

    .box-blog-post .box-text{
        padding:15px;
    }

}

.section-title{
    text-align:center;
    font-size:38px;
    font-weight:800;
    color:#1f2937;
    line-height:1.3;
    margin-bottom:50px;
    position:relative;
}

.section-title span{
    color:#C62828;
}

.section-title:before,
.section-title:after{
    content:'';
    position:absolute;
    top:50%;
    width:80px;
    height:1px;
    background:#ddd;
}

.section-title:before{
    left:calc(50% - 220px);
}

.section-title:after{
    right:calc(50% - 220px);
}
/* doi tac */
.html_topbar_left a.primary {
    color: #fff !important;
    border-radius: 20px;
    box-shadow: 1px 1px 1px 1px rgb(0, 0, 0, 0.5);
}
.html_topbar_left a.primary:hover {
    color: #fff !important;
    border-radius: 20px;
    box-shadow: 1px 1px 1px 1px rgb(0, 0, 0, 0.5);
	background:#B43A06 !important;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.bottom-contact {
    display: block;
    position: fixed;
    background: white;
    width: 100%;
    z-index: 100;
    box-shadow: 2px 1px 9px #dedede;
    border-top: 1px solid #eaeaea;
    width: 100%;
    z-index: 150;
    bottom: 0;
    right: 0;
}
.bottom-contact ul li {
    list-style: none;
    text-align: center;
    font-size: 13.5px;
    padding: 10px;
    width: 20%;
    padding-top: 0;
    padding-bottom: 3px;
    float: left;
}
}