/*
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.   ***************/

.hotline-1 > i{
    -webkit-animation-name: blinker;
    -webkit-animation-duration: .6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
    animation: gelatine .5s infinite;
    animation: hithere 1s ease infinite;
}
@keyframes hithere {
	30% {
		transform: scale(1.2)
	}

	40%,
	60% {
		transform: rotate(-20deg) scale(1.2)
	}

	50% {
		transform: rotate(20deg) scale(1.2)
	}

	70% {
		transform: rotate(0deg) scale(1.2)
	}

	100% {
		transform: scale(1)
	}
}
@keyframes gelatine {

	from,
	to {
		transform: scale(1, 1)
	}

	25% {
		transform: scale(.9, 1.1)
	}

	50% {
		transform: scale(1.1, .9)
	}

	75% {
		transform: scale(.95, 1.05)
	}
}

.absolute-footer{
	/*background: #ed1f24;*/
	border-top: 1px solid #dedede;
}
.div-no-padding{
	padding-bottom: 0 !important;
}

.back-to-top {
    right: 30px !important;
    right: unset;
    bottom: 137px;
    background: #007fff !important;
    border: 1px solid #007fff !important;
    color: #fff !important;
}
.product-small.box{
    border: 1px solid #ed1f24;
}
.product-small.box:before{
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0;
    left: 50%;
    right: 50%;
    border-top: solid 1px #ed1f24;
    border-bottom: solid 1px #ed1f24;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    pointer-events: none;
    z-index: 1;
}
.product-small.box:after{
    content: "";
    position: absolute;
    left: 0px;
    right: 0;
    top: 50%;
    bottom: 50%;
    border-left: solid 1px #ed1f24;
    border-right: solid 1px #ed1f24;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    pointer-events: none;
    z-index: 1;
}
.product-small.box:hover:before {
    left: 0;
    right: 0;
}
.product-small.box:hover:after {
    top: 0;
    bottom: 0;
}
.sp-home  .col-inner:hover {
    box-shadow: 0px 10px 10px #0000001a;
    border-color: #fff0;
}
.title-home h2{
    color: #2e6ab2;
    font-size: 36px;
}
.button, button, input, textarea, select, fieldset {
    margin-bottom: 0.5em;
}


#related_posts .col {
  float: left;
  margin-left: 0;
  list-style: none;
}
.relatedcontent h3 {
  font-size: 16px;
  margin-top: 7px;
}
.relatedthumb img {
  height: 100%;
  max-height: 165px;
}
#related_posts {
  border-top: 4px double #e8e8e8;
        padding-top: 10px;
}
#related_posts li:nth-child(1) {
  padding-left: 0 !important;
}
#related_posts li:nth-child(2) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#related_posts li:nth-child(3) {
  padding-right: 0 !important;
}
.relatedthumb img {
  min-height: 125px;
}
span.amount {
    color: #ff0000;
}
.tabbed-content li a{
  background: rgb(27,137,188);
  background: linear-gradient(90deg, rgba(27,137,188,1) 0%, rgba(0,175,240,1) 52%, rgba(27,137,188,1) 100%);
  box-shadow: 0px 10px 10px #0000001a;
  display: inline-block;
  padding: 5px 10px;
  color: #fff !important;
  border-radius: 5px 5px 0 0;
}
.tabbed-content li.active a{
  color: #eeee22 !important;
}

.section-title a{
	font-weight: normal;
}
.section-title-bold ul.hdevvn-show-cats{
    display: none;
}
ul.hdevvn-show-cats{
    line-height: normal;
    margin-top: 1px;
    padding: 0;
    float: left;
    margin-left: 15px;
    list-style: none;
    margin-bottom: 0;
}
ul.hdevvn-show-cats li:first-child:before{
	display: none;
}
ul.hdevvn-show-cats li {
    float: none;
    display: inline-block;
    margin-bottom: 0;
    margin-left: 0;
    vertical-align: middle;
}
ul.hdevvn-show-cats li:hover a{
    opacity: 0.8;
}
ul.hdevvn-show-cats li:before {
    content: "/ ";
    padding: 0 10px;
    color: #ccc;
    vertical-align: middle;
    font-weight: normal;
}
ul.hdevvn-show-cats li a {
    color: #000;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    padding-left: 0;
}
.home .section-title-normal {
	border-bottom: 2px solid #ec2b2e;
	padding: 0px;
	margin-bottom: 0;
}
.section-title-main {
	font-size: 18px;
	font-weight: 400;
	color: #ec2b2e;
	border: none;
}
.section-title-normal, .section-title-normal span {
	border: none;
}
.section-title-normal span {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 10px 10px 10px;
    border-radius: 3px;
    justify-content: space-around;

	padding-bottom: 1px;
	font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 20px 0 0;
    background: url(images/bg_title_pro.png) right 0px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-right: 50px;
}
.itc-sidebar span.widget-title,
#product-sidebar span.widget-title,
#secondary span.widget-title span,
#shop-sidebar span.widget-title {
    display: block;
    background: #ed1f24;
    color: white !important;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    font-weight: normal;
    margin-bottom: 0px;
}
.itc-sidebar .widget .is-divider,
#product-sidebar .widget .is-divider,
#secondary .widget .is-divider,
#menu-danh-muc .widget .is-divider,
#shop-sidebar .widget .is-divider{
    display: none;
}
#menu-danh-muc,
#product-sidebar aside > ul,
#secondary aside > ul,
#shop-sidebar aside > ul,
.menu-services-menu-container{
    padding-left: 15px !important;
    padding-bottom: 0px!important;
    padding-right: 15px!important;
    padding-top: 10px!important;
    border: 1px solid #ed1f24;
    border-radius: 0 0 5px 5px;
    background: #fff;
}
.custom-html-widget{
    padding-left: 0px !important;
    padding-bottom: 0px!important;
    padding-right: 0px!important;
    padding-top: 0px!important;
    border: 1px solid #ed1f24;
    border-radius: 0 0 5px 5px;
    background: #fff;
}
.post-sidebar{
    padding-left: 0 !important;
}
.widget>div>ul>li>a {
    font-weight: bold;
    font-size: 16px;
}
#menu-danh-muc-sidebar li i {
    color: #3cad53;
    padding-right: 10px;
    font-size: 14px;
}
.div-no-padding .post-item{
	padding-bottom: 0;
}
.article-inner.has-shadow {
    background-color: #fff;
    border: 1px solid #ededed;
}
.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
    padding: 10px
}
.bai-viet-lien-quan h3 {
    font-size: 19px;
    color: black;
    padding-left: 15px;
}
.bai-viet-lien-quan ul li {
    list-style: none;
    width: 25%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}
.bai-viet-lien-quan ul li img{
    width: 100%;
    height: 120px;
}
.bai-viet-lien-quan h4 {
    font-size: 15px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
}
.off-canvas-left.dark .mfp-content, .off-canvas-right.dark .mfp-content {
    background-color: #ed1f24;
}
.widget-area .is-divider{
	display: none;
}
.widget_category_widget .category-widget li a{
	font-weight: bold;
}
.widget_category_widget .category-widget li:hover a{
    color: #00783a;
}
.widget_category_widget .category-widget li a:before{
	content: "\f2a7";
	font-family: var(--fa-style-family,"Font Awesome 6 Free");
    font-weight: var(--fa-style,900);
    padding-right: 5px;
}
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a {
    color: #ed1f24;
    font-weight: bold;
    padding: 7px 15px;
}
.nav-vertical-fly-out > li + li{
    position: relative;
}
.nav-vertical-fly-out > li + li ul{
    width: 260px;
    display: block;
}
.nav-vertical-fly-out > li + li > ul > li{
    display: block !important;
    position: relative;
    width: 100% !important;
}
.nav-vertical-fly-out > li + li > ul > li.nav-dropdown-col a{
    font-weight: normal;
    text-transform: initial;
    font-size: 100%;
}
.nav-vertical-fly-out > li + li > ul > li.nav-dropdown-col:after,
.nav-dropdown .menu-item-has-children:after{
    content: "+";
    position: absolute;
    right: 10px;
    top: 5px;
}
.nav-dropdown{
    padding: 0;
    display: block;
}
.nav-dropdown .menu-item-has-children>a, 
.nav-dropdown .nav-dropdown-col>a, 
.nav-dropdown .title>a{
    font-weight: normal;
    font-size: 100%;
    text-transform: inherit;
}
.nav-dropdown .menu-item-has-children {
    display: block !important;
    position: relative;
    width: 100% !important;
}
.nav-dropdown .menu-item-has-children > ul{
    position: absolute;
    width: 260px;
    top: 0;
    left: 100%;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    background-color: #fff;
    color: #777;
    text-align: left;
    transition: opacity .25s,visibility .25s;
    padding: 0px;
    border: 2px solid #ddd;
    box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
}
.nav-dropdown .menu-item-has-children:hover > ul{
    visibility: visible;
    overflow: visible;
    opacity: 1;
}
.nav-vertical-fly-out > li + li > ul > li > ul{
    position: absolute;
    width: 260px;
    top: 0;
    left: 100%;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    background-color: #fff;
    color: #777;
    text-align: left;
    transition: opacity .25s,visibility .25s;
    padding: 0px;
    border: 2px solid #ddd;
    box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
}
.nav-vertical-fly-out > li + li > ul > li:hover > ul{
    visibility: visible;
    overflow: visible;
    opacity: 1;
}
.nav-vertical-fly-out > li + li > ul > li > ul > li > ul{
    position: absolute;
    width: 260px;
    top: 0;
    left: 100%;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    background-color: #fff;
    color: #777;
    text-align: left;
    transition: opacity .25s,visibility .25s;
    padding: 0px;
    border: 2px solid #ddd;
    box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
}
.nav-vertical-fly-out > li + li > ul > li > ul > li:hover > ul{
    visibility: visible;
    overflow: visible;
    opacity: 1;
}
.nav-vertical-fly-out li:hover,
.nav-vertical-fly-out li:hover > a{
    background-color: #f4f4f4;
    color: #ed1f24;
}
/*.nav-vertical-fly-out > li + li > ul > li > ul > li{
    position: relative;
}
.nav-vertical-fly-out > li + li > ul > li > ul > li.menu-item-has-children a{
    font-weight: normal;
    text-transform: initial;
    font-size: 100%;
}
.nav-vertical-fly-out > li + li > ul > li > ul > li.menu-item-has-children:after{
    content: ">";
    position: absolute;
    right: 0;
    top: 5px;
}*/

.featured .icon-box-img{
    border-radius: 50%;
    border: 1.5px solid #ccc; 
    height: 65px;
}
.title-text {
    position: relative;
    padding-bottom: 0px;
}
.title-text:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0px;
    top: 16px;
    left: 0px;
}
.title-text:before {
    background: url(images/icon-image.webp) no-repeat scroll -29px -168px;
}
.title-text h2, .title-text h3 {
    font-size: 25px;
    font-weight: 900;
    margin-top: 0px;
    color: #373737;
    position: relative;
    padding-bottom: 15px;
    padding-top: 15px;
    text-transform: uppercase;
    padding-left: 36px;
    background-position: center left;
    letter-spacing: -1px;
    margin-bottom: 0px;
}
.wrap-time {
    display: inline-block;
    width: 120px;
    float: left;
    margin-right: 5px;
    text-align: center;
    background: #282828;
    padding: 10px 20px 0;
    margin-top: 10px;
}
.wrap-time:before {
    display: inline-block;
    width: 54px;
    height: 52px;
    content: "";
    margin: 7px auto 20px;
}
.wrap-time:before {
    background: url(images/icon-image.webp) no-repeat scroll -17px -223px;
}
.itc-img{
    position: relative;
    display: block;
    overflow: hidden;
}
.itc-img .img-inner:before,
.itc-img .box-image:before {
    border-color: #000 transparent transparent;
    border-style: solid;
    border-width: 0;
    content: "";
    height: 0;
    left: 0;
    opacity: 0.2;
    position: absolute;
    top: 0;
    transition: all 0.5s ease-in-out;
    width: 0;
}
.itc-img .img-inner:after,
.itc-img .box-image:after {
    border-color: transparent transparent #000;
    border-style: solid;
    border-width: 0;
    bottom: 0;
    content: "";
    height: 0;
    opacity: 0.2;
    position: absolute;
    right: 0;
    transition: all 0.5s ease-in-out;
    width: 0;
}
.itc-img .img-inner:hover:before,
.itc-img .box-image:hover:before {
    border-width: 1150px 680px 0 0;
    transition: all 0.3s ease-in-out;
}
.itc-img .img-inner:hover:after,
.itc-img .box-image:hover:after {
    border-width: 0 0 1150px 680px;
    transition: all 0.3s ease-in-out;
}
.border-1 .col-inner aside{
    border: 1px solid #ebebeb;
    padding: 0 10px 0px 10px;
    box-shadow: 5px 5px 15px 0px #cacaca;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.border-1 .col-inner aside .widget-title{
    border: 1px solid #ebebeb;
    border-top: 3px solid #F8B91C;
    border-bottom: 0;
    padding: 15px 20px 4px;
    font-weight: bold;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 20px;
    text-transform: uppercase;
    background: #fff;
        display: block;
    margin-left: -10px;
    margin-right: -10px;
}
.border-1 .col-inner aside .is-divider{
    height: 1px;
    display: block;
    max-width: 100%;
}
.grid-tools{
    width: 56px;
}
.grid-tools a{
    background: #ff2d37 !important
}
.product-small .add-to-cart-button{
    position: absolute;
    right: -109px;
    bottom: -100px;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    transition: opacity .5s,transform .3s,max-height .6s,filter .6s;
    transform: translateY(0) translateZ(0);
    border: none !important;
}
.itc-pro .product-small .add-to-cart-button{
    position: absolute;
    right: -109px;
    bottom: -100px;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    transition: opacity .5s,transform .3s,max-height .6s,filter .6s;
    transform: translateY(0) translateZ(0);
    border: none !important;
}
.pro-sale .product-small .add-to-cart-button{
    position: absolute;
    right: -15px;
    bottom: -35px;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    transition: opacity .5s,transform .3s,max-height .6s,filter .6s;
    transform: translateY(100%) translateZ(0);
    border: none !important;
}
.product-small {
    overflow: hidden;
}
.product-small .add-to-cart-button a{
    font-size: 1em !important;
    background-color: #ed1f24 !important;
    color: #fff !important;
    border: none !important;
}
.product-small:hover .add-to-cart-button{
    bottom: 109px;
    right: -15px;
    visibility: visible;
    overflow: visible;
    opacity: 1;
    transform: scale(1) translateZ(-110px) translateY(0)!important;
}
.pro-sale .product-small:hover .add-to-cart-button{
    bottom: 0;
    right: -13px;
    transform: scale(1) translateZ(0) translateY(0)!important;
}
.stuck .header-main{
    display: none;
}
.itc-pro .product-small .add-to-cart-button a{
    font-size: 1em !important;
    background-color: #ed1f24 !important;
    color: #fff !important
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.post-sidebar{
        padding-left: 15px !important;
    }
    .bai-viet-lien-quan ul li {
        width: 100%;
    }
    .bai-viet-lien-quan h4{
        height: auto;
    }
    .bai-viet-lien-quan ul li img{
        width: 100%;
        height: auto;
    }
    ul.hdevvn-show-cats{
    	display: none;
    }
    .hotline-phone-ring-wrap{
        display: none;
    }
    .has-sticky.sticky-jump .header-bottom{
        display: none;
    }
    .stuck .header-main {
        display: block;
    }

}
