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

/*@import url('assets/fonts/css/apex-fontawesome5.min.css');*/
@import url(assets/font-awesome-4.7.0/css/font-awesome.min.css);


.fleft {
    float: left;
}
.fright {
    float: right;
}
.slogan{
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    line-height: 45px;
    text-align: center;
}
.slogan p:nth-child(1){
    margin-top: 4px;
}
.slogan p:nth-child(2){
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    margin-top: 3px;
}
.logo-left .logo{
	margin-right: 0;
}
.hotline-header{
    position: relative;
    display: block;
    color: #fff;
    font-size: 20px;
    padding-left: 38px;
    line-height: 85px;
}
.hotline-header:hover{
	color: #fff;
}
.hotline-header span:nth-child(1){
    position: absolute;
    top: 30px;
    left: 0px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 100%;
    text-align: center;
    font-family: arial;
    color: #fff;
    font-size: 14px;
    background-color: #004aad;
    z-index: 1000;
}

/*.hotline-header span:nth-child(1):after{
    position: absolute;
    content: '';
    z-index: -1;
    width: 54px;
    height: 54px;
    top: -12px;
    left: -12px;
    border-radius: 100%;
    background-color: #004aad;
    transition: all .5s;
    animation: phone-wave 1s infinite ease-in-out;
}*/
.hotline-header span:nth-child(2){
    font-size: 16px;
}
.hotline-header span:nth-child(3){
    color: #ff0000;
}
.header-main{
	border-bottom: 1px solid #383737;
}
/*.header-bottom ul>li:hover>a, 
.header-bottom ul>li>a:hover, 
.header-bottom ul>li.current-menu-item>a {
    background-color: #004aad;
}*/
.slider-home .slider-nav-light .flickity-page-dots .dot{
	opacity: 1;
	background: #fff;
	border-radius: 10px;
}
.slider-home .flickity-page-dots .dot.is-selected {
    border-color: red;
    background: red;
    width: 20px;
}
.slider-nav-circle .flickity-prev-next-button svg, .slider-nav-circle .flickity-prev-next-button .arrow{
	border-radius: 100%;
}
.block-item-head{
    text-align: center;
}
.block-item-title{
    position: relative;
    font-size: 35px;
    line-height: 45px;
    padding-bottom: 40px;
    font-weight: 400;
    background: url(assets/images/line-title.png) bottom center no-repeat;
    text-transform: uppercase;
}
.block-item-title-white{
    color: #fff;
}
.block-item-title span{
    color: #004aad;
}
.block-item-des{
    margin-top: 15px;
}
.block-item-des-white{
    color: #fff;
}
.block-item-content{
    margin-top: 30px;
}
.block-item-content-flex{
    display: flex;
    flex-flow: row wrap;
}
.play-icon .button.is-outline{
	border-color: #004aad;
	color: #004aad;
	min-width: 3.2em;
	min-height: 3em;
	font-size: 2.5em;
}
.play-icon .button.is-outline i.icon-play{
	font-size: 2.5em !important;
}
.thiet-ke-noi-that .nav > li{
    width: 30%;
    text-align: center;
    margin-bottom: 10px;
}
.thiet-ke-noi-that .nav .nav li:first-child{

}
.thiet-ke-noi-that .nav > li > a{
    display: inline-block;
    height: 35px;
    line-height: 34px;
    padding: 0 15px;
    color: #333;
    border: 1px solid #999;
    font-size: 100%;
    width: 100%;
}
.thiet-ke-noi-that .nav > li:nth-child(4){
    margin-left: -6px;
}
.thiet-ke-noi-that .nav > li > a:hover,
.thiet-ke-noi-that .nav > li.active > a{
    color: #004aad;
    border: 1px solid #004aad;
    width: 100%;
    background: #004aad;
    color: #fff;
}
.thiet-ke-noi-that .tab-panels{
	padding-top: 30px;
}
.thiet-ke-noi-that .portfolio-box-category{
	display: none;
}
.thiet-ke-noi-that .box-text.text-center{
	padding: 0;
	padding-top: 10px;
}
.thiet-ke-noi-that .box-text-inner{
    text-align: center;
}
.thiet-ke-noi-that .portfolio-box-title{
	display: block;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    font-size: 14px;
    font-weight: 400;
    text-transform: inherit;
    opacity: 1;
    height: 40px;
}
.thiet-ke-noi-that .box-image{
	display: block;
    width: 100%;
    padding: 3px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
    overflow: visible;
    -webkit-mask-image: none;
}
.thiet-ke-noi-that .image-inner{
	position: relative !important;
	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	-o-perspective: 1000;
	perspective: 1000;
	overflow: hidden;
}
.thiet-ke-noi-that .image-inner img{
	width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    width:100%;
	height:auto;
	transition:all .4s;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.thiet-ke-noi-that .image-inner:hover img{
	filter: brightness(80%);
	-webkit-filter: brightness(80%);
	-moz-filter: brightness(80%);
	-ms-filter: brightness(80%);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.thiet-ke-noi-that .thumbnail-hoverlay{
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	opacity:0;
	box-sizing: border-box;
	background-color: #004aad;
	transition:all .4s;
	-webkit-transform-origin: bottom;
	transform-origin: bottom;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	-o-transform: rotateX(90deg);
	transform: rotateX(90deg);
}
.thiet-ke-noi-that .thumbnail-hoverlay-icon{
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	opacity:0;
	box-sizing: border-box;
	-webkit-transform: translateY(-60px) scale(1.5);
	transform: translateY(-60px) scale(1.5);
	transition:all .45s;
}
.thiet-ke-noi-that .thumbnail-hoverlay-icon .fa{
	position:absolute;
	top:50%;
	left:50%;
	margin-top:-13px;
	margin-left:-13px;
	font-size:26px;
	color:#fff;
	margin-top: -20px;
    margin-left: -20px;
    font-size: 20px;
    border: solid 1px;
    width: 40px;
    height: 40px;
    line-height: 38px;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    text-align: center;
}
.thiet-ke-noi-that .thumbnail-hoverlay-icon .fa:before {
    display: inline-block;
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.thiet-ke-noi-that .box-image:hover .thumbnail-hoverlay{
	opacity:.5;
	-webkit-transform: rotateX(0);
	-moz-transform: rotateX(0);
	-o-transform: rotateX(0);
	transform: rotateX(0);
}
.thiet-ke-noi-that .box-image:hover .thumbnail-hoverlay-icon{
	opacity:1;
	-webkit-transform: translateY(0) scale(1);
	transform: translateY(0) scale(1);
}
.lua-chon .box{
	padding: 15px 0;
	border: 1px solid #ededed;
}
.ttn{
	font-weight: 400;
    text-align: center;
    margin: 0 auto;
    width: 150px;
    display: block;
}
.btn-dang-ky{
	color: #fff;
    font-size: 18px;
    background-color: #004aad !important;
    width: 100%;
    height: 45px;
    outline: none;
    border: none;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 3px;
}
.absolute-footer ul,
.footer-top-nav ul{
    overflow: hidden;
    padding-bottom: 0;
    margin-bottom: 0;
}
.absolute-footer ul li,
.footer-top-nav ul li{
    display: inline-block;
    margin-right: 20px;
    position: relative;
    border: none !important
}
.footer-top-nav ul li:last-child,
.absolute-footer ul li:last-child{
    margin-right: 0px;
}
.footer-top-nav ul li:before,
.absolute-footer ul li:before{
    position: absolute;
    content: '';
    width: 1px;
    height: 12px;
    top: 7px;
    right: -12px;
    background-color: #666;
}
.footer-top-nav ul li:last-child:before,
.absolute-footer ul li:last-child:before{
    display: none;
}
.back-to-top.active {
    bottom: 60px;
}
.page-title-inner{
	padding-top: 50px;
	padding-bottom: 40px !important;
}
.single-related{
    margin-top: 30px;
}
.single-block-head{
    position: relative;
    font-size: 22px;
    line-height: 32px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    text-transform: uppercase;
}
.single-block-head:after{
    position: absolute;
    content: '';
    width: 40px;
    height: 1px;
    left: 0px;
    bottom: -1px;
    background-color: #004aad;
}
.single-related-item{
    width: calc((100% - 20px) / 2);
    margin-top: 20px;
}
.single-related-item:nth-child(2n+2){
    float: right;
}
.single-related-item-thumb{
    width: 90px;
    height: 90px;
    border: 1px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}
.single-related-item-info{
    margin-left: 105px;
}
.single-related-item-title{
    font-size: 16px;
    font-weight: 400;
}
.single-related-item-title a{
    display: block;
    color: #333;
}
.single-related-item-des{
    margin-top: 3px;
    font-size: 13px;
    line-height: 20px;
}
.category .thumbnail-hoverlay-icon{
    display: none;
}
.category .badge{
    display: none;
}
.blog-featured-title h1.entry-title{
    font-size: 25px;
}
span.widget-title{
    font-size: 16px;
    font-weight: 400;
}
.archive .thiet-ke-noi-that .nav > li > a{
        font-size: 70%;
}
.rpwwt-post-title{
    font-size: 85%;
}
.rpwwt-widget ul li{
    margin: 0 !important;
}

.block-single-gallery .container{
    padding-bottom: 0px;
}
.single-gallery-top{
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}
.single-gallery-top .owl-theme{
    width: 100%;
}
.gallery-top-item{
    display: block;
    width: 100%;
    height: 550px;
}
.single-gallery-bottom{
    margin-top: 20px;
}
.single-gallery-bottom-owl .owl-theme{
    width: calc(100% + 10px);
}
.gallery-bottom-item{
    width: 137.5px;
    height: 90px;
    margin-right: 10px;
}
.single-gallery-bottom .current .gallery-bottom-item{
    opacity: .3;
}
/*
* FEATURED.
*/
.featured{
    position: relative;
    background-color: #f9f9f9
}
.featured-item{
    display: block;
}
.thumb-cover{
    overflow: hidden;
}
.thumb-cover img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.owl-carousel{
    position: relative;
}
.owl-theme  button,
.owl-theme button:focus{
    outline: none !important;
}
.owl-theme .owl-dots .owl-dot.active span{
    width: 20px;
    background-color: #004aad !important;
}
.owl-theme .owl-dots .owl-dot:hover span{
    background-color: #004aad !important;
}
.featured .owl-theme .owl-dots .owl-dot span{
    background-color: #fff;
}
.featured .owl-theme .owl-dots{
    position: absolute;
    left: 0px;
    bottom: 10px;
    width: 100%;
}
.owl-theme .owl-nav{
    left: 0px;
    top: 0px;
    margin-top: 0px !important;
}
.owl-nav button{
    margin: 0px !important;
    position: absolute;
    top: calc(50% - 20px) !important;
    width: 35px;
    height: 40px;
    font-family: Arial !important;
    line-height: 36px !important;
    text-align: center;
    background-color: rgba(255, 255, 255, .8) !important;
    border-radius: 0px !important;
    font-size: 25px !important;
    z-index: 10000;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out .2s;
}
.owl-carousel:hover .owl-nav button{
    opacity: 1;
    visibility: visible;
}
.owl-nav button:hover{
    background-color: rgba(255, 255, 255, 1) !important;
    color: #333 !important;
}
.owl-nav button span{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.owl-nav button.owl-prev{
    left: 0px !important;
}
.owl-nav button.owl-next{
    right: 0px !important;
}
/**/
.owl-wrap{
    overflow: hidden;
    position: relative;
}
.owl-wrap .owl-carousel{
    overflow: hidden;
    width: 100%
}
.owl-wrap .owl-theme .owl-dots{
    width: calc(100% - 30px);
    /*margin-top: 20px !important;*/
    display: none !important;
}
/*button i, .button i {
    vertical-align: middle;
    top: 6px;
}*/
.product-small.box .box-image img {
    width: 300px;
    height: 300px;
}
.anshun-category h4{
    display: block;
    padding: 10px 0;
    text-align: center;
    background: #004aad;
    color: #fff;
    border-radius: 10px;
    overflow: hidden
}
.anshun-category.box-bounce:hover .box-text{
    background: transparent;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .block-item-title{
        font-size: 25px;
    }

}