/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.17.6
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: "AvertaStd";
    src: url("assets/avertastd-regular.otf");
    font-weight: 400
}

@font-face {
    font-family: "AvertaStd";
    src: url("assets/avertastd-bold.otf");
    font-weight: 700
}

body {
    font-size: 16px;
    font-family: 'AvertaStd', sans-serif;
    background: #fff;
    font-weight: 400
}

.container-player-poster{
	display: none;
}
.text-justify p{
	text-align: justify;
}
.service-inner{
	background-image: radial-gradient(circle, #fff, #d9e6f5);
	padding-top: 20px;
    padding-bottom: 10px;
}
.headline-1{
    
    margin-bottom: 30px;
}
.headline-1 h2, .headline-1 h3{
	color: #2b54a4;
	font-weight: 700;
    font-size: 30px;
}

.headline-2 h3 {
    font-size: 28px;
    color: #2b54a4;
}
.tab-products h4 {
    font-size: 28px;
    font-weight: 700;
    color: #2b54a4;
    text-transform: inherit;
}

.tab-products ul.nav li a {
    font-size: 16px;
}


.section-cats .box-overlay.dark .box-text {
    text-shadow: inherit;
}
.product-detail-tag img {
    max-width: 35px;
}
.product-small.col .title-wrapper a {
    font-weight: bold;
    font-size: 20px;
    color: #2b54a4;
    font-family: "AvertaStd", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
p.category.uppercase {
    text-transform: capitalize;
    font-size: 13px;
}
.price-wrapper .price .amount {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: normal;
}

.product-small.col .price-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}
.section-posts .box-image {
    border-radius: 10px;
}

.section-posts .box-push .box-text {
    border-radius: 10px;
    box-shadow: 0px 4px 8px -2px #234093;
}

h5.post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.product-small.col .col-inner {
    box-shadow: rgba(99,99,99,0.2) 0px 2px 8px 0px;
    border-radius: 20px;
    padding-bottom: 5px;
}

.product-small.col .col-inner .box-text {
    padding-left: 10px;
    padding-right: 10px;
}
.product-small.col span.price ins {
    font-size: 18px;
}
.section-footer ul {
    list-style: none;
}

.section-footer ul li {
    margin-left: 0;
}
.headline-2 .section-title-main {
    text-transform: inherit;
}

.section-title a {
    font-size: 16px;
}
.product-small .box-image a.link-bg:before {
    /*background: url(https://elmich.hotkeyweb.io.vn/wp-content/uploads/2025/06/image_ftag_1.webp);
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 9;*/
}
.product-main .price-wrapper .price .amount {
    font-size: 28px;
    font-weight: bold;
}
.product-small .box-image a.link-bg {
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
}
.product-small .view-more-link {
    
    bottom: 0;
    left: 0;
    right: 0;
    top: unset !important;
    padding: 10px;
    border-top: 1px solid #e3e3e3;
}
.product-small .view-more-link a {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2b54a4;
}
.product-small .badge-container, .product-gallery .badge-container {
    margin: 8px 8px 0;
    font-size: 14px;
}

.product-small .callout.badge.badge-square, .product-gallery .callout.badge.badge-square{
    width: auto;
    height: auto;
}

.product-small .badge-inner.on-sale, .product-gallery .badge-inner.on-sale{
    padding: 5px;
}
.section-why-choose h3 {
    font-size: 16px;
}

.section-why-choose p {
    font-size: 14px;
}
ul.sub-menu.nav-dropdown.nav-dropdown-default ul li {
    padding: 0;
}

ul.sub-menu.nav-dropdown.nav-dropdown-default {
    padding: 10px;
}

.nav-dropdown-default .nav-column li > a {
    border: 0;
    font-size: 14px;
    color: #000;
}

.nav-dropdown .menu-item-has-children > a {
	color: #2b54a4;
	font-size: 16px;
	text-transform: inherit;
}
.banner-main-menu {
    min-width: 300px;
    color: #fff;
}

.banner-main-menu a {
    color: #fff !important;
}
.nav-dropdown.nav-dropdown-default>li>a{
	border: 0;
    font-size: 14px;
    color: #000;
}
.section-footer ul li {
    font-size: 14px;
}

.section-footer p {
    font-size: 14px;
}

.section-footer span {
    font-size: 14px;
}

.product-gallery .product-images:before {
    /*background: url(https://elmich.hotkeyweb.io.vn/wp-content/uploads/2025/06/image_ftag_1.webp);
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 9;*/
}
.product-gallery .product-thumbnails a {
    border-radius: 15px;
}
.product-short-description {
    background-image: radial-gradient(circle, #fff, #d9e6f5);
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 2px solid #234093;
    padding: 15px 15px 10px;
}
.chinhsach-pro {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .chinhsach-pro {
        margin-bottom:0px;
        margin-right: -7.5px;
        margin-left: -7.5px
    }
}

.chinhsach-pro li {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 0 !important;
}
.chinhsach-pro li {
    font-size: 14px;
    align-items: start;
}

.chinhsach-pro li img {
    width: 25px;
}
@media (max-width: 767px) {
    .chinhsach-pro li {
        -ms-flex:0 0 100%;
        flex: 0 0 50%;
        max-width: 100%;
        font-size: 12px
    }
}

.chinhsach-pro li img {
    width: 32px;
    margin-right: 10px
}
.product-feats td {
    padding: 15px;
    border: 1px solid #ebebeb;
    color: #1c1c1c
}

.product-feats table {
    border-collapse: unset;
    border-spacing: 0;
    border-color: inherit;
    border: 0px;
    margin-bottom: 0px
}
/*.product-feats table,.product-feats #spec-modal table {
    max-width: 100%;
    border: 0px;
    width: 100%
}*/

.product-feats table td {
    padding: 7px 5px;
    border-right: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1
}

.product-feats table tr:nth-of-type(odd) {
    background-color: #f9f9fb
}

.product-feats table tr:first-child td {
    border-top: 1px solid #f1f1f1
}

.product-feats table tr td:first-child {
    border-left: 1px solid #f1f1f1;
    width: 40%
}
.view_more_content{
    max-height: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.2s ease;
}
.view_more_content.is_show{
    max-height: 100%;
}
.view_more_content{
    margin: 10px auto;
}
.view_more_content_2{
    max-height: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.2s ease;
}
.view_more_content_2.is_show{
    max-height: 100%;
}
.view_more_content_2{
    margin: 10px auto;
}

.view_more_content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.view_more_content_2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
  transition: opacity 0.3s ease;
}
@media only screen and (min-width: 992px) {
	header#header {
        box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    }
    .row.category-page-row .large-3 {
        max-width: 20%;
        flex-basis: 20%;
    }
    .row.category-page-row .large-9 {
        max-width: 80%;
        flex-basis: 80%;
    }
}

.section-advance .icon-box h3 {
    font-size: 16px;
}

.section-advance .icon-box p {
    font-size: 14px;
}
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .entry-header-text{
        padding: 10px 0;
    }
    .post-sidebar.large-3.col {
        padding-left: 0px;
        padding-right: 10px;
        border-left: 0 !important;
        /*flex-basis: 20%;
        max-width: 20%;*/
    }
    .page-template-page-right-sidebar div#content{
         padding-left: 0px;
        padding-right: 0;
        border-right: 0 !important;
    }
    .page-template-page-right-sidebar .large-3.col{
        padding-left: 20px;

    }

    .single-post .large-9.col {
       /* flex-basis: 80%;
        max-width: 80%;*/
        padding-bottom: 0;
    }
    .section_footer_top .large-3 {
        max-width: 20%;
        flex-basis: 20%;
    }

    .section_footer_top .large-2 {
        width: 26%;
        max-width: 26%;
        flex-basis: 26%;
    }
	.service_tips .icon-box-text {
	    height: 110px;
	}
	.service_step .icon-box-text {
	    height: 200px;
	}
    .box-service .post-title{
        height: 40px;
    }
    .h2_style_1 h2, .h2_style_1 h2 span, .main-home-title h3{
        font-size: 35px;
        padding-bottom: 15px;

    }
    
}
.widget-area .widget {
    padding: 15px;
    background: #f7f7f7;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.widget-area .widget span.widget-title{
    color: #000;
    font-size: 18px;
    font-family: "AvertaStd", sans-serif;
    font-weight: 700;
    text-transform: inherit;
}
.widget-area .widget .is-divider{
    max-width: 100%;
    background: #eee;

}
.post-sidebar .widget {
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 10px 15px 10px;
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}
li.technical {
    display: flex;
    justify-content: space-between;
}

li.technical span {
    display: block;
}

.box-online-support.box-online-support-1 {
    font-size: 20px;
}

li.phone_sp {

    
    letter-spacing: 1px;
}
li.phone_sp a{
        color: red;
}

.box-online-support.box-online-support-1 ul li {
    margin: 0;
}
li.technical span:last-child a{
    color: var(--primary-color);
    font-weight: bold;
}
li.technical span:last-child {
    color: var(--primary-color);;
    font-weight: bold;
}
.box h5.post-title.is-large {
    font-size: 18px;
}


.recent-blog-posts a {
    font-size: 14px;
}
.blog-archive .box .box-text{
    background-color: hsla(0, 0%, 100%, .95);
    margin: -15% auto 0;
    max-width: 95%;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px -2px #234093;
}
.blog-archive .box .box-image {
    border-radius: 10px;
}
p.from_the_blog_excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breadcum nav span,.breadcum nav a {
    font-size: 14px;
    color: var(--primary-color);
}
.widget form {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
    margin: 0;
}

.widget form input[type=search] {
    border: 0;
    box-shadow: unset;
}

.widget form button {
    width: 60px;
}
li.recent-blog-posts-li .badge {
    width: 90px;
    height: 60px;
}
.widget_categories ul li {
    display: inline-block;
    border: 0 !important;
}

.widget_categories ul li a {
    border: 0;
    transition: .3s;
    padding: 3px 10px;
    border: 1px solid #ddd;
    margin: 3px;
    border-radius: 3px;
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
}
.breadcum span.separator {
    margin-left: 5px;
    margin-right: 5px;
}
.shop-container .col.large-9 {
    border-right: 0 !important;
    padding-right: 10px;
}

.widget_product_categories, .widget_nav_menu {
    padding: 10px 15px 10px;
    background-color: #f7f8f9;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

div#product-sidebar {
    padding-left: 10px;
    padding-right: 10px;
}

ul.product-categories li a, .widget_nav_menu li a {
    font-size: 15px;
    color: var(--primary-color);
}

.widget_recent_entries, .flatsome_recent_posts,.widget_products {
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 10px 15px 10px;
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}
@media only screen and (min-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.section-footer .large-4 {
	    flex-basis: 30%;
	    max-width: 30%;
	}

	.section-footer .large-2 {
	    flex-basis: 20%;
	    max-width: 20%;
	}
    .blog-archive .box .box-image .image-cover{
        padding-top: 75% !important;
    }
    .blog-archive .large-9 {
        flex-basis: 78%;
        max-width: 78%;
    }
    .blog-archive .large-3 {
        flex-basis: 22%;
        max-width: 22%;
    }
    .blog-archive .large-9.col {
        padding-left: 15px;
        padding-right: 15px;
    }
    .blog-archive .col.post-item {
        padding-left: 10px;
        padding-right: 10px;
    }
    .product-main {
        padding-top: 0 !important;
    }

    .product-info.summary.entry-summary.col.col-fit.product-summary {
        padding-top: 0;
    }

}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.banner-has-text{
		font-size: 14px;
	}
	.banner-has-text h3 {
	    font-size: 14px;
	}

	.banner-has-text p {
	    font-size: 12px;
	    display: none;
	}
	.banner-layer {
	    left: 0px;
	}
	.headline-1 h2, .headline-1 h3 {
	    font-size: 25px;
	}

	.headline-2 h3 {
	    font-size: 25px;
	}

	.section-title a {
	    font-size: 14px;
	}

	.product-small.col .title-wrapper a {
	    font-size: 16px;
	}

	.tab-products h4 {
	    font-size: 25px;
	}

	.product-detail-tag img {
	    max-width: 30px;
	}
	.product-footer .woocommerce-tabs{
		padding: 15px;
	}
    .view_more_content_2 {
        text-overflow: initial;
        margin: 0;
    }

    .col.large-12.category-main-description.parent-view-more {
        padding: 0;
        word-break: break-word;
    }
    .col.large-12.parent-view-more {
        padding: 0;
    }
}
/* Vùng bao chung */
.hotline-phone-ring-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
}

/* Vòng tròn chung */
.hotline-phone-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    cursor: pointer;
    left: 0;
}

/* Vòng tròn lớn */
.hotline-phone-ring-circle {
    width: 85px;
    height: 85px;
    top: 10px;
    left: 10px;
    position: absolute;
    border-radius: 100%;
    -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    opacity: 0.5;
}

/* Vòng tròn giữa */
.hotline-phone-ring-circle-fill {
    width: 55px;
    height: 55px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 100%;
    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
}

/* Icon tròn trong cùng */
.hotline-phone-ring-img-circle {
    width: 33px;
    height: 33px;
    top: 37px;
    left: 37px;
    position: absolute;
    border-radius: 100%;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
    width: 20px;
    height: 20px;
}

/* Thanh bar */
.hotline-bar {
    position: absolute;
    height: 40px;
    width: 180px;
    line-height: 40px;
    border-radius: 50px;
    padding: 0 10px;
    cursor: pointer;
    transition: all 0.8s;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.1);
    left: 33px;
}

.hotline-bar > a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    text-indent: 50px;
    display: block;
    letter-spacing: 1px;
    line-height: 40px;
    font-family: Arial;
}

/* Hotline đỏ */
.hotline-ring { bottom: 0; }
.hotline-ring .hotline-phone-ring-circle { border: 2px solid #e60808; }
.hotline-ring .hotline-phone-ring-circle-fill { background-color: rgba(230, 8, 8, 0.7); }
.hotline-ring .hotline-phone-ring-img-circle { background-color: #e60808; }
.hotline-bar-red { background: rgba(230, 8, 8, 0.85); bottom: 37px; }

/* Zalo xanh */
.zalo-ring { bottom: 90px; } /* nằm ngay trên hotline */
.zalo-ring .hotline-phone-ring-circle { border: 2px solid #0068ff; }
.zalo-ring .hotline-phone-ring-circle-fill { background-color: rgba(0, 104, 255, 0.7); }
.zalo-ring .hotline-phone-ring-img-circle { background-color: #0068ff; }
.zalo-bar-blue { background: rgba(0, 104, 255, 0.85); bottom: 127px; } /* bar Zalo ăn theo vị trí */
.page-id-62057 .hotline-phone-ring-wrap,
.page-id-83402 .hotline-phone-ring-wrap {
    display: none;
}