/*
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.   ***************/
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
body{
    font-family: "Exo 2", sans-serif;
}
.absolute-footer {
    background-color: #060b31;
}
.absolute-footer {
    padding: 10px 0 10px;
}
.danh-mucbv div:hover a span {
    color: #ff3533 !important;
}
body {
	max-width: 100%;
	overflow: hidden;
}
#breadcrumbs {
	margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	body .blog-single .large-9 {
		padding: 0 15px;
	}

}

.blog-single  .entry-header .entry-header-text {
	padding-bottom: 0;
}
.widget_nav_menu ul.menu li {
	padding: 0 15px;
}
.widget_price_filter .widget-title{
	margin-bottom: 15px;
}
.entry-content.single-page {
	padding-top: 0;
}
#footer p {margin-bottom:5px;}
#footer ul {margin-bottom:0; list-style:none;}
#footer li { margin-left:0; margin-bottom:5px;}

.col.post-item .box-text-inner {
	overflow: hidden;
}
.col.post-item .box-text-inner button {
	float: right;
	padding: 0 25px;
}
.product-category.col .box-text {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
/* */
.after-title-loop {
	overflow: hidden;
	padding-top: 10px;
}
.after-title-loop a {
	border: 1px solid #333;
	border-radius: 4px;
    display: inline-block;
    padding: 5px 10px;
    float: left;
    font-size: 13px;
}
.after-title-loop a.muangay {
	float: right;
}
.product-thumbnails img {
	height: 85px;
	object-fit: cover;
}
/*.single-product .product-main .price-wrapper, .single-product .product-main .cart {
	display: none !important;
}*/
.product_list_widget ins,
.product_list_widget ins *,
.price-wrapper ins,
.price-wrapper ins * {
	color: red;
}
.product_list_widget del,
.product_list_widget del *,
.price-wrapper del,
.price-wrapper del * {
	color: #333;
    font-size: 18px;
}
.product_list_widget del,
.product_list_widget del * {
	font-size: 14px;
}
.product-small.box .box-image img {
	height: 333px;
	object-fit: contain;
}

.blog-single .large-9 {
	padding-left: 0;
}
.term-description {
	/*max-height: 600px;*/
	overflow: auto;
}
body a.devvn_buy_now_style {
	max-width: initial;
}
body .popup-customer-info-group .devvn-order-btn,
body .devvn-popup-title {
    background: #db2017 !important;
}
.product-small.box {
	border: 1px solid #e1e1e1;
}
.product-small .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 52px;
    line-height: 27px;
}
.col.post-item .from_the_blog_excerpt  {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 70px;
    line-height: 22px;
}
.page-title-bar h1 {
	margin-bottom: 0;
}
.page-title-bar .breadcrumb_last {
	color: #db2017;
}
.post-sidebar.large-3  {
	border: none !important;
	padding-left: 0;
}
body .ftwp-in-post#ftwp-container-outer.ftwp-float-left {
	width: 100%;
	margin-top: 15px;
}
.row-fix-content p:last-child {
	margin-bottom: 0;
}
.box.box-category .box-image img {
	height: 260px;
	object-fit: contain;
}
.col.post-item .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 44px;
    line-height: 22px;
    overflow: hidden;
}
.shop-container .product-small.box .box-image img {
	height: 180px;
}
.shop-container .product-small.box .after-title-loop  {
	text-align: center;
}
.shop-container .product-small.box .after-title-loop .muangay {
	display: none;
}
.shop-container .product-small.box .after-title-loop a {
	float: initial;
}
.single-page a,
#tab-description a {
	color: red;
}
.product_list_widget del,
.product_list_widget ins,
.product_list_widget .lien-he-price {
	display: none;
}
h3.header-title {
	font-size: 1em;
}
.product-small.box .title-wrapper a {
	height: 44px;
	line-height: 22px;
	overflow: hidden;
}
/* */
.price * {
	color: red;
	font-size: 15px;
}
.price del,
.price del * {
	color: #333;
}
.single_add_to_cart_button {
    background-color: rgb(15, 117, 188) !important;
}
.product-info .price-wrapper {
	margin-bottom: 15px;
}
.product-info .price-wrapper * {
	font-size: 21px;
}
.note-addthem {
	text-align: center;
	font-size: 14px;
	font-style: italic;
}
#billing_country_field,
#customer_details .optional {
	display: none;
}
#billing_address_1_field,
#billing_first_name_field {
	width: 100%;
	margin: 0 !important;
}
/* */
.woocommerce-order-received .woocommerce > .row > .large-7 {
	max-width: 60%;
	-ms-flex-preferred-size: 60%;
	flex-basis: 60%;
	margin: auto;
}
.woocommerce-order-received .woocommerce > .row > .large-5 {
	display: none;
}
.woocommerce-order-received .woocommerce-order-details__title {
	text-align: center;
	padding-top: 25px;
	color: #db2017;
}
.woocommerce-order-received .woocommerce-order-details__title span {
	display: block;
	padding-top: 10px;
}
.woocommerce-order-received .woocommerce-order-details__title i {
	font-size: 2em;
}
.thank-order p {
	font-size: 2em;
	color: #db2017;
}
.phutrach-order > span {
	color: #db2017;
}
.phutrach-order > div {
	padding-top: 15px;
}
.phutrach-order {
	padding: 0 56px;
}
/* */
.row-muasll {
	background: #d61010;
	margin: 0 0 20px !important;
}
.row-muasll h2 {
	margin-bottom: 20px;
}
.row-muasll input[type=submit] {
	margin: 0;
    background: #891212 !important;
}
.row-muasll .wpcf7-spinner {
	display: none;
}
.row-muasll form {
	margin-bottom: 0;
}
.product-small.box  .title-wrapper h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 46px;
    line-height: 23px;
}
.archive .product-small.box .after-title-loop{
	display: none;
}
/* fix css header */
/* =========================
   FIX HEADER - MENU 1 HÀNG
   ========================= */

/* nền header */
.header-bottom,
.header-vertical-menu__opener {
    background-color: #dd3333;
}

/* toàn bộ hàng menu không cho xuống dòng */
.header-bottom .flex-row {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
}

/* cột trái danh mục */
.header-bottom .flex-left {
    flex: 0 0 auto;
    margin-right: 12px !important;
}

/* nút danh mục sản phẩm */
.header-vertical-menu__opener {
    padding: 0 14px !important;
    min-height: 54px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.header-vertical-menu__opener img {
    filter: invert(1);
    width: 24px;
}

.header-vertical-menu__title {
    font-size: 18px !important;
    font-weight: 700;
    margin-left: 6px;
    white-space: nowrap;
}

/* khu menu chính */
.hd_nav_bot {
    margin-left: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
}

/* ul menu ngang */
.header-bottom-nav {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 2px !important; /* thu hẹp spacing */
    width: 100%;
}

/* từng item */
.header-bottom-nav li {
    margin: 0 !important;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* chữ menu to hơn nhưng padding hẹp lại */
.header-bottom-nav > li > a {
    font-size: 17px !important;
    font-weight: 600;
    color: #fff;
    padding: 8px 8px !important;
    line-height: 1.2;
    white-space: nowrap;
}

.header-bottom-nav > li.active > a {
    color: #fff;
}

/* item có dropdown */
.header-bottom-nav .has-dropdown > a {
    padding-right: 4px !important;
}

/* fix icon xổ xuống */
.icon-angle-down:before {
    content: "▾" !important;
    font-family: inherit !important;
    font-style: normal;
    font-weight: 700;
    text-decoration: none;
    padding-right: 0 !important;
    font-size: 12px;
}

.has-dropdown .icon-angle-down {
    opacity: 1;
    margin-left: 4px;
}

/* menu dropdown */
.nav-dropdown {
    padding: 0;
    margin-top: 5px;
}

.nav-dropdown li a {
    color: #000;
    padding: 10px 15px;
    font-size: 15px;
}

.nav-vertical-fly-out > li + li {
    border-top-style: dashed;
}

.header-vertical-menu .header-vertical-menu__fly-out ul li a {
    color: #000000;
    font-size: 16px;
}

.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item:hover {
    background-color: #dd3333;
    border: unset;
}

.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item:hover a {
    color: #fff;
}

.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item:hover a img {
    filter: invert(1);
}

.header-vertical-menu__fly-out .nav-dropdown {
    margin-top: 0;
}

.header-vertical-menu__fly-out .nav-dropdown li a {
    color: #000 !important;
}

/* cart bên phải */
.header-bottom .flex-right {
    flex: 0 0 auto;
    margin-left: 10px !important;
}

/* header wrapper */
.header,
.header-wrapper {
    z-index: 99;
}

/* top bar */
.header-top {
    border-bottom: 1px solid #dddddd14;
}

#header-contact li a {
    font-size: 14px;
    color: #fff;
}

/* search box */
.sd_tops {
    justify-content: center;
}

.sd_tops input {
    width: 450px;
    border: 1px solid #fff !important;
    border-radius: 5px !important;
    height: 42px;
    color: #fff !important;
}

/* icon/phần phải top */
.sd_top_right {
    gap: 12px;
}

.sd_top_right li {
    margin: 0;
    padding: 5px;
}

.sd_top_right li a {
    margin: 0 !important;
    padding: 0 !important;
}

.sd_top_right li:hover {
    background-color: #dd333345;
    border-radius: 5px;
}

.item-title {
    margin-left: 5px;
    font-size: 12px;
    color: #fff;
    font-weight: normal;
}

.item-title span {
    font-weight: bold;
}

.header-wishlist-icon img {
    width: 28px;
    filter: invert(1);
}

.item_title_cart span {
    background-color: #c05530;
    border-radius: 99px;
    color: #fff;
    font-style: normal;
    font-weight: bolder;
    height: 17px;
    line-height: 17px;
    min-width: 17px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
    transition: transform .2s;
    display: block;
    width: fit-content;
}

/* màn hình nhỏ hơn chút thì tự hẹp thêm */
@media (max-width: 1366px) {
    .header-bottom-nav {
        gap: 0 !important;
    }
	
    .header-bottom-nav > li > a {
        font-size: 15px !important;
        padding: 8px 6px !important;
    }
}
    .header-vertical-menu__title {
        font-size: 16px !important;
    }

    .header-bottom .flex-left {
        margin-right: 8px !important;
    }
}
/**/
/*css fix footer */
.img_logo img {
    max-width: 300px;
}
.tt_gs h3 {
    color: #fff;
}
.ldh_footers ul li {
    color: #fff;
    font-size: 15px;
}
.lokss p {
    color: #fff;
    margin: 0;
}
.icon-box-img img, .icon-box-img svg {
    padding-top: 0;
}
.iocn_tts h3 {
    color: #fff;
}
.hmn_mnsa {
    margin-top: 25px;
}
.hmn_mnsa ul {
    margin: 0;
}
.hmn_mnsa ul li {
    list-style: circle;
    color: #fff;
}
.hmn_mnsa ul li a {
    color: #fff;
    font-size: 15px;
}
.ftts ul {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 5px;
    margin-top: 25px;
}
.ftts ul li {
    max-width: 160px;
    flex-basis: 160px;
    text-align: center;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    margin: 0;
    list-style: none;
}
.ftts ul li img {
    height: 45px;
}
.ing_bnsa {
    margin-top: 30px;
}

.lg_vts ul {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 5px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.lg_vts ul li {
    margin: 0;
    max-width: 160px;
    flex-basis: 160px;
    text-align: center;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    flex-shrink: 0;
    margin: 0;
    list-style: none;
}
.row_fiiters .col {
    padding-bottom: 0;
}
.footer-primary ul li a {
    color: #fff;
    font-size: 14px;
}
.sec_footers {
    border-bottom: 1px solid #dddddd0d;
}
.sec_footers {
    padding-bottom: 25px !important;
}
.absolute-footer ul {
    opacity: 1;
}
.hmn_mnsa ul li:hover a {
    color: #dd3333;
}
.row_cvlmsa .col {
    padding-bottom: 0;
}
.row_cvlmsa .col .col-inner img {
    border-radius: 5px;
}
.sec_bodys {
    margin-top: -135px;
    z-index: 9999;
}
.img_hvs .img-inner:before {
    top: 15px;
    right: 10px;
    bottom: 15px;
    left: 10px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: scale(0, 1);
    transform-origin: center;
    z-index: 9;
    content: "";
    opacity: 0;
    transition: all .5s 
ease-in-out;
    position: absolute;
}
.img_hvs .img-inner:after {
    top: 5px;
    right: 20px;
    bottom: 0;
    left: 20px;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: scale(1, 0);
    transform-origin: center;
    height: calc(100% - 10px);
    position: absolute;
    z-index: 9;
    content: "";
    opacity: 0;
    transition: all .5s 
ease-in-out;
}
.img_hvs .img-inner:hover:after {
    opacity: 1;
    transform: scale(1);
}
.img_hvs .img-inner:hover:before {
    opacity: 1;
    transform: scale(1);
}
.row_cvlmsa .col .col-inner {
    border-radius: 5px;
    overflow: hidden;
}
.tt_homes .section-title-normal span {
    border-bottom: 0px solid rgba(0, 0, 0, .1);
    margin-bottom: 0;
    margin-right: 0;
    padding-bottom: 0;
    font-size: 30px;
    text-transform: capitalize;
}
.tt_homes .section-title-normal {
    border-bottom: 0px solid #ececec;
}
.row_dmsphms {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
}
.tt_homes {
    margin-bottom: 0;
}
.tbs_top {
    position: relative;
}
.pulse-icon {
    float: left;
    position: absolute;
    display: inline-block;
    top: 3px;
    left: 0;
}
.pulse-icon .icon-wrap {
    width: 6px;
    height: 6px;
    text-align: center;
    display: inline-block;
    border-radius: 6px;
    color: #fa3131;
    background: #fa3131;
    position: absolute;
    top: 3px;
    left: 3px;
}
.pulse-icon .elements {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}
.pulse-icon .pulse {
    position: absolute;
    -webkit-animation: pulse-wave 1s linear infinite both;
    animation: pulse-wave 1s linear infinite both;
    border-radius: 50%;
}
.pulse-icon .pulse-1 {
    border: solid 1px #fa3131;
    width: 14px;
    height: 14px;
    top: -1px;
    left: -1px;
}
@keyframes pulse-wave {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(2);
        transform: scale(2);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(2.7);
        transform: scale(2.7);
    }
}
.tbs_top p {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding-left: 25px;
}
/* báo chí*/
.news-baochi-slider .col {
  padding: 0 10px 0 10px !important;
}

.news-baochi-slider .col-inner,
.news-baochi-slider .featured-box {
  height: 100%;
}

.news-baochi-slider .featured-box {
  text-align: center;
}

.news-baochi-slider .icon-box-img {
  margin-bottom: 10px;
}

.news-baochi-slider .icon-box-img img {
  max-width: 170px;
  width: auto;
  margin: 0 auto;
}

.news-baochi-slider .featured-box h5,
.news-baochi-slider .featured-box .featured-box-title,
.news-baochi-slider .featured-box h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-baochi-slider .featured-box p {
  font-size: 14px;
  line-height: 1.8;
}

.news-baochi-slider .featured-box p:last-child {
  margin-bottom: 0;
}

.news-baochi-slider .featured-box p img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.news-baochi-slider .flickity-viewport {
  overflow: hidden;
}
/* Desktop giữ 4 card */
.news-baochi-slider .flickity-slider > .col {
  width: 25% !important;
  max-width: 25% !important;
  flex-basis: 25% !important;
}

/* Tablet: 2 card */
@media (max-width: 849px) {
  .news-baochi-slider .flickity-slider > .col {
    width: 50% !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
  }
}

/* Mobile: 1 card */
@media (max-width: 549px) {
  .news-baochi-slider .flickity-slider > .col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

  .news-baochi-slider .icon-box-img img {
    max-width: 120px !important;
  }

  .news-baochi-slider .featured-box h5,
  .news-baochi-slider .featured-box .featured-box-title,
  .news-baochi-slider .featured-box h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .news-baochi-slider .featured-box p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .news-baochi-slider .featured-box p img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }
}
