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

ul.header-nav.header-nav-main {
    display: flex;
 
    justify-content: flex-end;
}

.header-main {
    height: 80px;
       background: linear-gradient(90deg, #0f172a 0%, #0f172a 34%, #020617 60%);
}
ul.header-nav.header-nav-main.nav.nav-left.nav-size-medium {
    display: flex;
    margin-left: -68px;
}

.header-nav-main .searchform .button.icon {
    margin: 0;
    background: #fff;
    box-shadow: unset;
    border-color: unset !important;
    border-radius: 0px 4px 4px 0px;
    border: 0px;
}

.header-search-form input#s {
    border-radius: 4px 0px 0px 4px;
}

.header-nav-main .searchform .button.icon i.icon-search {
    color: #191C49;
}

.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:after, .nav-dropdown-has-arrow li.current-dropdown.has-dropdown:before{
	display:none;
}

.sub-menu li:hover > a {
    background: #191C49;
color: #fff;  
}

.next-prev-thumbs li.has-dropdown:hover>.nav-dropdown, .no-js li.has-dropdown:hover>.nav-dropdown, li.current-dropdown>.nav-dropdown {
    left: -15px;
    max-height: inherit;
    opacity: 1;
    visibility: visible;
    top: 47px !important;
    padding: 0px;
    min-width: 220px !important;
    border: unset;
}


.header-wrapper.stuck ul.sub-menu.nav-dropdown.nav-dropdown-default {
    top: 60px !important;
}

.sub-menu li a {
    margin: 0px !important;
    padding-left: 10px !important;
}
.header-nav-main>li {
    position: relative;
}

/* .header-nav-main>li::after {
    content: "";
    position: absolute;
       right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 25px;
    background-color: #fdd889;
}
 */

.header-nav-main>li {
    margin: 0 0px;
}

.header-nav-main>li:last-child::after {
    display: none;
}

.header-nav-main>li>a {
    padding: 0 18px;
}


.img-box-cong-trinh {
    position: relative;
    overflow: hidden;
    border-radius: 20px; /* bo góc */
}


.img-box-cong-trinh .box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s ease;
}
.img-box-cong-trinh .box-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}


.img-box-cong-trinh .box-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-box-cong-trinh .box-text h3 {
    color: #fff;
 
    margin: 0;
}

/* Hover effect */


.img-box-cong-trinh:hover .box-image::after {
    opacity: 1;
}

.img-box-cong-trinh:hover .box-text {
    opacity: 1;
}

.m16-form {
    max-width: 360px;
}

.m16-form input[type="text"],
.m16-form input[type="tel"] {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: none;
      border-radius: 6px;
    background: #ffffff;
    color: #666;
    font-size: 14px;
    margin-bottom: 14px;
    box-sizing: border-box;
    border: 1px solid #ccc;
	    margin-bottom: 6px;
}

.m16-form input::placeholder {
    color: #777;
}

.m16-form .m16-submit {
    width: 180px;
    height: 35px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}



.section-footer span.ux-menu-link__text {
    color: #fff;
    font-size: 14px;
}

.section-footer span.ux-menu-link__text:hover {
    color: #FDD889;
}

.section-footer a.ux-menu-link__link.flex {
    margin-bottom: -7px;
}

.btn-phone-grad {
    background: linear-gradient(to top, #8A6B39, #FAD386);
    border: unset;
}

.copyright-footer {
    color: #939393;
}

.copyright-footer {
    color: #939393;
    font-size: 12px;
    margin-top: -13px;
}

.section-footer {
    border-top: 1px solid #fdd889;
}

.social-footer {
    display: flex;
    gap: 18px;
}

.social-footer a:hover {
    color: #FDD889;
}

.img-box-project {
    position: relative;
    overflow: hidden;
}

.img-box-project .box-image {
    position: relative;
    overflow: hidden;
}

.img-box-project .box-image img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.img-box-project .overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 57%) !important;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.img-box-project:hover .overlay {
    opacity: 1;
}

.img-box-project .box-text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s ease;
    z-index: 3;
    text-align: left;
}

.img-box-project:hover .box-text {
    opacity: 1;
    transform: translateY(0);
}

.img-box-project .box-text-inner {
    position: relative;
    display: inline-block;
    padding-left: 16px;
    padding-bottom: 12px;
    color: #fff;
}

.img-box-project .box-text-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: #fff;
}

.img-box-project .box-text-inner::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}

.col-grad h3.uppercase {
    margin-bottom: 0px;
}

.col-grad>.col-inner {
    background: linear-gradient(to top, #8A6B39, #FAD386);
}


.box-blog-post h5.post-title.is-large a {
    font-size: 17px;
    color: #000;
    font-weight: 600;
    margin-bottom: 12px;
}

.box-blog-post h5.post-title.is-large a:hover {
        color: #191C49;
}

.box-blog-post p.from_the_blog_excerpt {
    color: #858282;
}

h1.entry-title {
    color: #F8D186;
}

.entry-header-text.entry-header-text-top.text-left {
    margin-bottom: -35px;
}



.cf7-dark-form input[type="text"],
.cf7-dark-form input[type="tel"],
.cf7-dark-form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    height: 45px;
    margin-bottom: 5px;
}

.cf7-dark-form textarea {
    min-height: 90px;
    resize: none;
}

.cf7-dark-form ::placeholder {
    color: #cfcfcf;
    opacity: 1;
}

.cf7-field {
    margin-bottom: 16px;
}

.cf7-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
}

.cf7-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ffffff;
}

.cf7-submit {
    text-align: center;
    margin-top: 18px;
}



.btn-phone-grad:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

span.wpcf7-list-item-label {
    color: #fff;
}


input.wpcf7-form-control.wpcf7-submit.has-spinner.btn-phone-grad {
    width: 200px;
    display: flex;
    margin: 0 auto;
}

.wpcf7-response-output {
    color: #fff;
}


/* Container của mỗi logo */
.gallery-doi-tac .box-image {
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 16px;
    padding: 15px;
    
    /* kích thước cố định */
    height: 160px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: auto;
    transition: all 0.3s ease;
}

/* Ảnh logo */
.gallery-doi-tac .box-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}



.gallery-doi-tac .col-inner {
    display: flex;
    justify-content: center;
}


/* remove p của CF7 */
.m16-form p{
margin:0;
}

/* container */

.m16-form{
max-width:540px;
}

/* title */

.m16-title{
color:#191C49;
font-size:18px;
font-weight:700;
margin:18px 0 10px;
}

/* row */

.m16-row{
display:flex;
gap:14px;
	    margin-bottom: -6px;
}

.m16-group{
flex:1;
margin-bottom:3px;
}

.m16-group.full{
width:100%;
}

/* fix span wrap */

.m16-group .wpcf7-form-control-wrap{
display:block;
width:100%;
}

.m16-input {
    width: 100%;
    padding: 6px 16px;
       border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    box-shadow: unset;
}

.m16-input:focus{
border-color:#191C49;
box-shadow:0 0 0 2px rgba(25,28,73,0.1);
}

/* textarea */

textarea.m16-input{
height: 90px;
resize:none;
}

.m16-form input {
    border-radius: 6px;
}

.m16-budget .wpcf7-list-item{
margin-right:22px;
}

.m16-radio{
accent-color:#191C49;
transform:scale(1.2);
margin-right:6px;
}

/* button */

.m16-submit{
margin-top:12px;
}


.m16-budget span.wpcf7-list-item-label {
    color: #000;
}

.slider-why-choose h3 {
    min-height: 66px;
}
.section-footer .m16-submit {
    background: #C5A47E;
    margin-top: 2px;
    width: 150px;
}
.bo-goc {
    border-radius: 15px;
    overflow: hidden;
}
.len-tren {
    position: relative;
    top: -6px;
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}