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

.no-margin {margin: 0 !important}
.no-margin > * {margin: 0 !important}
.no-paddding {padding: 0 !important}
.no-paddding > *{padding: 0 !important}
.row-no-padding-bottom .col{padding-bottom: 0 !important}

.owl-nav.disabled{display: none !important;}
.owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-prev {left: 0}
.owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-next {right: 0;}
.absolute-footer {display: none !important;}

:root {
    --border-radius-12: 12px;
    --secondary-color: #12223b;
    --white-color: #fff;
    --base-color: #667282;
    --black-color: #000;
    --border-color: #12223B30;
}

body > *{
	font-size: 18px;
}

.btn-common {
    border-radius: var(--border-radius-12);
    padding: 10px 30px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    span {
        font-size: 18px;
        font-weight: 800;
    }

    &.outline-style {
        background: transparent !important;
        border: 1px solid var(--white-color);
        color: var(--white-color);
        &:hover {
            border-color: var(--primary-color);
        }
        &::after {
            background-color: var(--primary-color);
        }
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 0;
        height: 100%;
        background-color: var(--secondary-color);
        z-index: -1;
        transition: all 0.3s ease-in-out;
    }

    &:hover {
        border-color: var(--secondary-color);
    }

    &:hover::after {
        width: 100%; 
    }
}

.row-padding-full {
    padding: 0 15px;
}

.col-border-cus {
    .col-inner {
        border: 1px solid var(--border-color);
    }
}

.nav-spacing-xlarge>li {
    margin: 0 20px;
}

header.has-transparent.transparent {
    .header-nav-main > li a {
        color: var(--white-color) !important;
    }

    .header-nav-main {
    
        & > li.active a {
            color: var(--primary-color) !important;
        }
    }
}

.bc {
    span {
        font-size: 18px;
        font-weight: 600;
        padding-right: 8px;
    }
    span.breadcrumb_last {
        color: var(--primary-color);
        padding-left: 8px;
        padding-right: 0;
    }
}

.text-hero {
    .welcome {
        color: var(--primary-color);
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0.13em;
        margin: 0;
    }

    h1 {
        font-size: 70px;
        font-weight: 800;
        margin-top: 0.3em;
        margin-bottom: 0.3em;
    }

    .slogan {
        margin: 0;
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 30px;
    }
}

.text-heading {
    p:first-child {
        color: var(--primary-color);
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0.13em;
        margin: 0;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 50px;
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.1em;
        margin: 0.3em 0;
    }

    p:not(:first-child) {
        font-size: 18px;
        color: var(--base-color);
		&:last-child {
			margin-bottom: 0;
		}
    }
}

.icon-box-about {
    align-items: center;
    .icon-box-text {
        padding-left: 0.5em !important;
    }
    .icon-box-img {
        height: 20px;
    }

    .icon-inner {
        height: 20px;
        width: 20px;
        svg {padding: 0;}
    }

    .icon-box-text p {
        color: var(--black-color);
        font-size: 20px;
        font-weight: 500;
    }
}

.section-service {
    background-image: url(./assets/images/our-service-bg.png);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: auto;
}

.row-service-img {
    .col-inner {
        overflow: hidden;
    }

    .box-text {
        margin: 0 !important;
        width: 100%;
        background: transparent;
        text-align: left;
        color: var(--white-color);
        padding: 20px 30px;
        bottom: 40px;
        left: 0 !important;
        transform: translateY(82%) !important;
        transition: all 0.4s ease;
        h4 {
            font-size: 29px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        p {
            font-size: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    .box:hover .box-text {
        transform: translateY(0%) !important;
        bottom: 20px;
    }
}

.row-projects {
	.box-text {
		bottom: 0;
		transform: unset !important;
	}
	
	.box:hover .box-text {
		transform: unset;
	}
}

.col-text {
    .col-inner {
        border: 1px solid var(--border-color);
    }

    .icon-box-text h3{
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 1em;
        color: var(--black-color);
    }

    .icon-box-text p {
        font-size: 18px;
    }

    .text-count-up {
        .number {
            color: var(--black-color);
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 0;
            line-height: 1.1em;
        }

        p:last-child {
            font-size: 18px;
        }
    }
}

.col-image {
    .col-inner {
        overflow: hidden;
        height: 100%;
    }

    .img, .img-inner, img {
        height: 100%;
    }

    .img-inner::after {
        content: "";
        position: absolute;
        width: 300%;
        height: 0%;
        left: 50%;
        top: 50%;
        background-color: rgba(255, 255, 255, .2);
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 1;
    }

    .img-inner:hover::after {
        height: 250%;
        transition: all 600ms linear !important;
        background-color: transparent;
    }

    .img:hover img {
        filter: grayscale(50);
        transition: all 600ms linear !important;
    }
}

.section-project {
    background-image: url(./assets/images/our-projects-bg.png);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: auto;
}

.section-call-to-action {
    background-image: url(./assets/images/cta-box-bg.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto;
    padding-bottom: 0 !important;
}

.row-testimonials {
    & > .col > .col-inner {
        border: 1px solid var(--border-color);
    }

    .icon-box-top p {
        font-size: 18px;
    }

    .icon-box-left {
        .icon-box-img {
            height: 65px;
            img {
                border-radius: 99%;
                padding-top: 0;
            }
        }

        .icon-box-text h3 {
            font-size: 24px;
            margin-bottom: 0;
        }

        .icon-box-text p {
            font-size: 18px;
        }
    }
}

.slider-style-shadow .flickity-slider>:before {
    content: unset !important;
}

.flickity-page-dots {
    .dot {
        background: var(--primary-color);
        opacity: 1;
        border-color: var(--primary-color);
    }
    .dot.is-selected {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
    }
}

.post-item {
    .col-inner {
        border-radius: 40px;
        border: 1px solid var(--border-color);
        overflow: hidden;
        background: #fff;
    }

    .box-text {
        padding: 30px;
        h5 a {
            font-size: 22px;
            line-height: 1.3em;
            letter-spacing: 0em;
        }
    }

    a.button {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        padding: 0;
        text-transform: unset;
    }

    .is-divider {display: none;}

    .image-cover > a::after {
        content: "";
        position: absolute;
        width: 300%;
        height: 0%;
        left: 50%;
        top: 50%;
        background-color: rgba(255, 255, 255, .2);
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 1;
    }

    .image-cover > a:hover::after {
        height: 250%;
        transition: all 600ms linear !important;
        background-color: transparent;
    }
}

.text-heading-footer {
    margin-bottom: 30px;
}

.text-heading-footer h3 {
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1.1em;
    letter-spacing: 0em;
    font-weight: 700;
    margin-bottom: 0;
}

.menu-footer {
    .ux-menu-link__link {
        font-size: 18px;
        line-height: 1.6em;
        color: var(--white-color);
        i {
            color: var(--primary-color);
        }

        &:hover {
            color: var(--primary-color);
            i {
                color: var(--white-color);
            }
        }
    }
}

.row-social {
    .social-icons a{
        margin-bottom: 0 !important;
    }
}

.img-hover-cus {
    .img-inner::after {
        content: "";
        position: absolute;
        width: 300%;
        height: 0%;
        left: 50%;
        top: 50%;
        background-color: rgba(255, 255, 255, .2);
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 1;
    }

    .img-inner:hover::after {
        height: 250%;
        transition: all 600ms linear !important;
        background-color: transparent;
    }

    img {
        border-radius: 40px;
    }
}

.text-exp {
    border-radius: 40px;
    padding: 40px;
    width: 225px;
    background: var(--white-color);
    text-align: center;
    position: absolute;
    right: -60px;
    bottom: 20%;
    animation: expmoveobject 3s infinite linear alternate;
    p:first-child {
        margin-bottom: 0;
        font-size: 56px;
        font-weight: 700;
        color: var(--black-color);
    }
    p:last-child {
        font-size: 18px;
    }
}

.icon-box-3-tc {
    .icon-box-img {
        margin-bottom: 0;
    }

    h3 {
        margin: 0.8em 0;
        font-size: 24px;
    }

    p {
        font-size: 18px;
    }
}

.text-count {
    p:first-child {
        font-size: 56px;
        margin-bottom: 0;
        font-weight: 700;
    }
    p.mb-0 {
        font-size: 18px;
    }
}

.image-box-staff {
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    .box-text {
        padding: 30px;
        h4 {
            font-size: 24px;
        }
        p {
            font-size: 18px;
        }
    }

    .box-image .image-zoom::after {
        content: "";
        position: absolute;
        width: 300%;
        height: 0%;
        left: 50%;
        top: 50%;
        background-color: rgba(255, 255, 255, .2);
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 1;
    }

    .box-image .image-zoom:hover::after {
        height: 250%;
        transition: all 600ms linear !important;
        background-color: transparent;
    }

    .social-icons a {
        margin-bottom: 0;
    }
}

.section-form-contact {
    background-image: url(./assets/images/contact-us-bg.png);
    background-size: cover;
    background-position: center center;
}

.form-contact {
    input:not(input[type="submit"]), textarea {
        box-shadow: none;
        border: 0;
        border-bottom: 1px solid #e7e7e7;
    }

    input:not(input[type="submit"]) {
        padding: 15px;
        height: auto;
        &::placeholder {
            color: var(--base-color)
        }
        color: var(--secondary-color);
    }

    input[type="submit"] {
        border-radius: var(--border-radius-12);
        padding: 10px 30px;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        position: relative;
        overflow: hidden;
        z-index: 1;
    
        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 0;
            height: 100%;
            background-color: var(--secondary-color);
            z-index: -1;
            transition: all 0.3s ease-in-out;
        }
    
        &:hover {
            border-color: var(--secondary-color);
        }
    
        &:hover::after {
            width: 100%; 
        }
    }
}

.col-left-form-contact {
    .col-inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.blog-wrapper.blog-archive.page-wrapper {
    padding-top: 0;

    .post-item .box-image .image-cover{
        padding-top: 64% !important;
        img {transition: all .6s;}
        &:hover img {
            transform: scale(1.1);
        }
    }
}

.blog-single {
    .is-divider { display: none; }

}

.featured-image-single {
    border-radius: 40px;
    overflow: hidden;
    position: relative;

    &::after {
        content: "";
        position: absolute;
        width: 300%;
        height: 0%;
        left: 50%;
        top: 50%;
        background-color: rgba(255, 255, 255, .2);
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 1;
    }

    &:hover::after {
        height: 250%;
        transition: all 600ms linear !important;
        background-color: transparent;
    }
}


.entry-meta {
    border-bottom: 0 !important;
    border-top: 0 !important;
    .title {
        font-size: 18px;
        color: var(--black-color);
        font-weight: 700;
    }

    a {
        display: inline-block;
        background-color: var(--primary-color);
        font-size: 18px;
        font-weight: 700;
        color: var(--white-color);
        padding: 8px 20px;
        margin: 0px 0px 10px 15px;
        text-transform: capitalize;
        border-radius: 10px;
    }
}

.bai-viet-lien-quan {
    margin-top: 50px;
    /* border-top: 1px solid var(--border-color); */
    padding-top: 20px;
    h3 {
        font-size: 24px;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 30px;
    }

    .box-image {
        border-radius: 10px;
        overflow: hidden;

        &::after {
            content: "";
            position: absolute;
            width: 300%;
            height: 0%;
            left: 50%;
            top: 50%;
            background-color: rgba(255, 255, 255, .2);
            transform: translate(-50%, -50%) rotate(-45deg);
            z-index: 1;
        }
    
        &:hover::after {
            height: 250%;
            transition: all 600ms linear !important;
            background-color: transparent;
        }
    }

    .tieu-de-bai-viet {
        font-size: 18px;
        margin-top: 15px;
        line-height: 1.2em;
    }
}

aside {
    .widget-title {
        font-size: 18px;
        color: var(--black-color);
        margin-bottom: 15px;
        display: inline-block;
    }

    ul {
        background: #f4f4f4;
        padding: 20px;
        border-radius: 20px;

        .post-date {
            border-radius: 99%;
            overflow: hidden;
        }

        a {
            font-size: 15px;
        }
    }
}

header.transparent {
    .header-logo-dark {
        display: block !important;
    }
    .header-logo {
        display: none !important;
    }
}

header:not(.transparent ) {
    .header-logo-dark {
        display: none !important;
    }
    .header-logo {
        display: block !important;
    }
}

@keyframes expmoveobject {
    50% {
        right: -40px;
    }
}

/* mobile */
@media (max-width: 549px) {
    .col-left-form-contact {
        .col-inner {
            gap: 30px;
        }
    }
	
	.text-hero h1 {
		font-size: 50px;
	}
	
	.text-hero .slogan {
		font-size: 18px;
	}
	
	.btn-common {
		margin-bottom: 10px !important;
		margin-right: 0;
	}
	
	
	.text-heading {
	
		h1, h2, h3, h4, h5, h6 {
			font-size: 40px;
		}
	}

	.row-padding-full {padding: 0;}
	
	.col-footer-social .social-icons {
		margin-top: 10px;
		text-align: center;
	}
	
	.col-footer-social {
		padding-bottom: 0px;
	}
}

/*table*/
@media (max-width: 849px) {
	
}

/*desktop*/
@media (min-width: 850px) {

    .row-no-padding-bottom-col {
        & > .col {
            padding-bottom: 0 !important;
        }
    }
}