/*
Theme Name: Flatsome child
Description: Flatsome Team developed for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.9
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* css dihi */
/* font google */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
h1, h2, h3, h4, h5, h6, section, div, p, span, strong, a, ul, li{
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;

}
:root{
    --color-primary-key: #d9d9d9;
    --color-second-key: #926632;
    --color-third-key: #a8382d;
}
/* Chrome scrollbar */
*::-webkit-scrollbar {
    width: 1px;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #fff;
  }

  *::-webkit-scrollbar-track {
    background-color: rgba(255,255,255,56%);
  }
  /* Chrome scrollbar */
body{
    background-color: #000 !important;
}
/* Slider banner */
/* carousel */
 .carousel{
    height: 100vh;
/*     margin-top: -50px; */
    width: 100vw;
    overflow: hidden;
    position: relative;
}
 .carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
 .carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.background-overlay-sl {
    height: 100%;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    right: 0;
    background-color: rgb(0 0 0 / 50%);
    top: 0;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
 .carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 5px;
}
 .carousel .list .item .title,
 .carousel .list .item .topic{
    font-size: 3.5em;
    font-weight: bold;
    line-height: 1.3em;
}
 .carousel .list .item .topic{
    background: var(--gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* .carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
} */
 .carousel .list .item .buttons button{
    border: none;
	border-radius: 4px;
    background: var(--gradient-color);
	color: #000;
    letter-spacing: 3px;
    font-weight: 500;
}
 .carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbail  */
 .thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
 .thumbnail .item{
    width: 150px;
    height: 190px;
    flex-shrink: 0;
    position: relative;
}
 .thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
 .thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
 .thumbnail .item .content .title{
    font-weight: 500;
}
 .thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
 .arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
 .arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
 .arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
 .carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
 .carousel .list .item:nth-child(1) .content .title,
 .carousel .list .item:nth-child(1) .content .topic,
 .carousel .list .item:nth-child(1) .content .des,
 .carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
 .carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1s!important;
}
 .carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.2s!important;
}
 .carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.4s!important;
}
 .carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.6s!important;
}
/* create animation when next click */
 .carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

 .carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
 .carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

 .carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

 .carousel.next .time,
 .carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

 .carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

 .carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

 .carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
 .carousel.next .arrows button,
 .carousel.prev .arrows button{
    pointer-events: none;
}
 .carousel.prev .list .item:nth-child(2) .content .author,
 .carousel.prev .list .item:nth-child(2) .content .title,
 .carousel.prev .list .item:nth-child(2) .content .topic,
 .carousel.prev .list .item:nth-child(2) .content .des,
 .carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}
@media screen and (max-width: 48em){
	.carousel{
		height: 350px;
	}
	.thumbnail .item {
		width: 120px;
		height: 140px;
	}
	.arrows button{
		width: 40px;
		height: 40px;
	}
	ul.addThis_listing{
		right: 10px;
	}
	.st_uudai p{
		font-size: 14px;
	}
	ul.addThis_listing li{
		padding: 7px;
	}
}
/* end Slider banner */
/* button social */
.social-header-top {
	display: flex;
    padding-top: 10px;
  }
  
  .social-header-top .social-icon {
	  font-size: 14px;
	  width: 40px;
	  height: 40px;
	  line-height: 40px;
	  border-radius: 50%;
	  margin-left: calc(10px/2);
	  margin-right: calc(10px/2);
	  background-color: #ededed;
	  transition: .4s;
  }
  .social-header-top .social-icon i.fa-brands {
	  display: flex;
	  justify-content: center;
	  margin-top: 32%;
	  color: #000;
	  transition: .4s;
  }
  .social-header-top .social-icon:hover{
	background-color: var(--color-pgreen-1);
  }
  .social-header-top .social-icon:hover i.fa-brands{
	color: #fff;
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
  }

/* logo */
.transparent #logo img {
    max-height: 100px;
    width: 60px;
}
/* menu right */
.transparent .header-nav.header-nav-main.nav.nav-right li a{
    font-weight: 500;
    color: #fff;
}
.header-main .nav > li > a{
    font-size: 16px;
}
/* banner */
.st_banner .img-inner{
    border-radius: 6px 6px 0px 0px;
}
.st_banner .row-slider .col{
    padding: 0;
}
.st_banner .row-title{
   position: absolute;
   bottom: 15%;
   left: 25%;
}
.st_banner .row-title h1{
    color: #fff;
    font-size: 60px;
    font-weight: 400;
    margin: 0;
}
.st_banner .row-title p{
    color: #fff;
    font-size: 36px;
    font-weight: 400;
    margin: 0;
}
.st_banner .row-title .btn-lienhe{
    background-color: var(--color-second-key);
    font-weight: 500;
    font-size: 16px;
    text-transform: none;
    border: 1px solid #fff;
    transition: 1s;
}
.st_banner .row-title .btn-lienhe:hover{
    background-color: #fff;
    color: #000;
}
/* content after banner */
.st_content_after_banner p{
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
}
.st_content_after_banner p strong{
    color: var(--color-second-key);
}
/* các dịch vụ thiết kế */
.st_dichvu_thietke .img-inner{
    border-radius: 6px;
}
.st_dichvu_thietke h2{
    font-weight: 500;
}
.st_dichvu_thietke p{
    font-size: 14px;
    font-weight: 500;
    text-align: justify;
}
/* dự án */
.st_duan h2{
    font-weight: 500;
}
.st_duan .btn-xemthem{
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background-color: var(--color-second-key);
    text-transform: none;
    transition: 1s;
}
.st_duan .btn-xemthem:hover{
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    
}
.st_lydo h2{
    font-weight: 500;
}
.st_lydo .row .col{
    padding-bottom: 0;
}
/* blog */
.archive.category-tin-tuc #post-list{
	display: flex;
	flex-wrap: wrap;
}
.archive.category-tin-tuc #post-list>.post:nth-child(n + 2){
	flex-basis: 50%;
	padding: 10px 15px;
}
.archive.category-tin-tuc #post-list footer.entry-meta,
.archive.category-tin-tuc .entry-category,
.archive.category-tin-tuc .more-link{
	display: none;
}
.archive.category-tin-tuc #post-list>.post:nth-child(n + 2) img{
	height: 255px;
	object-fit: cover;
	border-radius: 6px;
}
.archive.category-tin-tuc #post-list>.post:nth-child(1) img{
	height: 530px;
	object-fit: cover;
	border-radius: 6x;
}
.archive.category-tin-tuc #post-list>.post img{
	padding-bottom: 10px;
}
.post-sidebar span.widget-title {
	color: var(--color-second-key);
	text-transform: none;
	font-size: 23px;
	margin-bottom: 20px;
	display: inline;
	font-weight: 600;
	border-bottom: 2px solid;
}
.post-sidebar .flatsome_recent_posts ul{
	counter-reset: post-ranking 0;
}
.post-sidebar .recent-blog-posts .badge {
	width: 100px;
	height: 80px;
	position: relative;
}
.post-sidebar .recent-blog-posts .badge:before {
	position: absolute;
	content: counter(post-ranking);
	top: calc(50% - 16px);
	left: -16px;
	border: 2px solid #fff;
	height: 32px;
	width: 32px;
	line-height: 28px;
	text-align: center;
	border-radius: 100%;
	background: var(--color-second-key);
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	counter-increment: post-ranking;
	z-index: 1;
}

.post-sidebar .product_list_widget span.amount{
	color: var(--color-second-key);
	font-weight: normal;
}
/* trang tin tức */
  .blog-archive h2.entry-title a{
	overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
   height: 65px;
  }
  .blog-archive .entry-summary p{
	text-align: justify;
  }
  .is-divider.small {
    display: none;
}
.meta-related {
    display: none;
}
.blog-wrapper img{
    border-radius: 10px;
}
.blog-wrapper .badge-inner{
    background-color: var(--color-second-key) !important;
}
/* blog home */
.st_blog h2{
    font-weight: 500;
}
.grid-col .box:not(.box-shade):not(.box-overlay):not(.box-badge) .box-text{
    background: #000 !important;
}
/* dự án */
body.archive.post-type-archive .portfolio-page-wrapper .page-title-inner{
    width: 100%;
      height: 300px;
      max-height: 500px;
      background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)),
      url('http://noithattruongminh.vn/wp-content/uploads/2025/05/thiet-ke-noi-that-quan-7-scaled-e1748362212295.jpg'); 
      background-size: cover;
      background-position: center;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
}
.portfolio-page-wrapper .page-title-inner h1{
    color: #fff;
    text-align: center;
}
.portfolio-page-wrapper img{
    border-radius: 6px;
}
.portfolio-page-wrapper .nav-box>li.active>a, .nav-pills>li.active>a{
    background-color: var(--color-second-key);
    border-radius: 10px !important;
    transition: .4s;
}
.portfolio-page-wrapper .nav li a{
    font-size: 16px;
}
.portfolio-page-wrapper .nav li:first-child{
    padding: 0px 5px;
}
/* footer */
.absolute-footer.dark.medium-text-center.small-text-center {
    display: none;
}
.st_footer .col-footer-3 img{
    border-radius: 6px;
}
.st_footer .elementor-widget-divider .elementor-divider {
	display: flex;
}
.st_footer .elementor-divider {
	padding: 5px 0px 10px 0px;
}
.st_footer .elementor-divider-separator {
	display: flex;
	position: relative;
	border-radius: 2px;
	margin: 0;
	direction: ltr;
	width: 45px;
	height: 4px;
	border-top: #fff;
	background-color: #fff;
}
.st_footer .elementor-divider-separator:after {
	position: absolute;
	bottom: 0;
	right: -10px;
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 2px;
	background-color: #fff;
}
.st_footer p{
    margin-bottom: 0;
    font-size: 13px;
}
.st_footer a.plain{
    font-size: 13px;
    font-weight: 500;
}
.st_footer ul li{
    list-style: none;
    margin-left: 0;
}
.st_footer ul li i{
    padding-right: 10px;
}
.st_footer ul li a{
    font-size: 13px;
    font-weight: 500;
}
.call-now-widget,.fb-messenger-widget,.zalo-chat-widget {
    display: block;
    position: fixed
}
.call-now-widget {
    left: 5%;
    bottom: 24px;
    z-index: 9999;
    background: var(--color-second-key);
    border-radius: 7px
}
.call-now-widget a {
    color: #fff;
    padding: 5px 15px 5px 5px;
    font-weight: 500
}

.call-now-widget i.fa.fa-phone {
    padding: 8px 10px;
    background: #825a2a;
    color: #fff;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px
}
.fb-messenger-widget,.zalo-chat-widget {
    z-index:20000;
    width: 60px;
    height: 60px;
    transition: opacity .3s
}
.call-now-widget,.fb-messenger-widget,.zalo-chat-widget {
    display: block;
    position: fixed;
}
.fb-messenger-widget {
    margin: 0 12px;
    padding: 0;
    bottom: 24px;
    top: auto;
    border-radius: 29px;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,.15);
    background: 0 0;
    right: 12px
}
.zalo-chat-widget {
    right: 23px;
    bottom: 100px
}
.zalo-chat-widget a {
    cursor: pointer
}
/* form liên hệ */
.wpcf7 p.title-form{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
}
.wpcf7 p.content-form{
    font-weight: 400;
    font-size: 16px;
}
.wpcf7 label{
    font-size: 13px;
    font-weight: 400;
}
.wpcf7 label span{
    color: red;
}
.wpcf7 input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required{
    height: 40px;
    border: none;
    box-shadow: none;
    border-bottom: 1px solid var(--color-primary-key);
    border-radius: 4px;
}
.wpcf7 input.wpcf7-form-control.wpcf7-submit.has-spinner{
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 3px;
    padding: 12px 24px;
    line-height: 12px !important;
    background-color: var(--color-second-key);
    font-weight: 400;
}
.st_form .img-inner{
    border-radius: 6px;
}
/* liên hệ */
.st_lienhe .tabbed-content li a{
    padding: 10px 7px;
    color: #000;
}
.st_lienhe .tabbed-content li.active a{
    background-color: var(--color-second-key);
    border-radius: 6px;
    color: #fff;
}