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

@font-face {
    font-family: SFU Futura;
    src: url(assets/fonts/SFUFuturaBold.woff2);
    font-weight: bold;
    font-style: normal
}

:root {
    --cl-pri: #ff0000;
    --cl-ligt: #fff;
    --font-title: 'SFU Futura';
}

.list-project {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.image-project {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.image-project img {
    width: 100%;
}

.image-project {
    opacity: 0;
    transition: all 2s;
}

.image-project.active {
    opacity: 1;
    transition: all 2s;
}

.project-hm-title .project-hm {

    background: var(--cl-pri);
    padding: 20px 50px;
}

.project-hm-title {
    width: fit-content;
    position: absolute;
    z-index: 1;
    left: 10%;
}

.project-hm-title h3 {
    font-size: 2em;
    color: var(--cl-ligt);

}

.project-load {
    color: var(--cl-ligt);
}

.content-list {
    display: flex;
    flex-flow: row wrap;
    align-content: space-between
}

.content-project {
    width: calc(100% / 3);
    border: 2px solid var(--cl-pri);
    margin-left: -1.5px;
    margin-top: -1.5px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    align-items: stretch;
    overflow: hidden;
    min-height: 180px;
}

.content-project .url-pro {
    transform: translatex(-150px);
    transition: all .3s ease-in-out;
}

.content-project.active .url-pro {
    transform: translatex(0);
    transition: all .3s ease-in-out;
}

.content-project.active {
    background-color: var(--cl-pri);
}

.slider-project-home {
    position: relative;
}

.url-pro {
    color: var(--cl-ligt);
    font-weight: 400;
}

.url-pro:hover {
    color: #fff;
}

.item-c-4 {
    margin-left: calc(100% / 3 - 3px);
}

.content-list {
    display: flex;
    flex-flow: row wrap;
    position: absolute;
    width: 500px;
    z-index: 1;
    bottom: 0;
    right: 5%;
}

.content-project.active span {
    transform: translateY(-80px);
    transition: all .3s ease-in-out;

}

.content-project span {
    font-family: var(--font-title);
    transform: translateY(0px);
    color: var(--cl-ligt);
    transition: all .3s ease-in-out;
    font-size: 3em;
    line-height: 1.1;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, .25);
}

.content-list h3 {
    font-size: 1em;
    color: var(--cl-ligt);
    text-shadow: 3px 3px 5px rgba(0, 0, 0, .25);
    transform: translateY(0px);
    transition: all .3s ease-in-out;
}

.content-project.active h3 {

    transform: translateY(-50px);
    transition: all .3s ease-in-out;
}

.project-i {
    margin-top: -2px;
    width: 120px;
    height: 120px;
    font-family: var(--font-title);
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--cl-pri);
    font-size: 4em;
    color: #fff;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, .25);
}

.title-ab {
    padding: 0 20px;
    font-family: var(--font-title);
    font-size: 50px;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    width: 320px;
    letter-spacing: 5px;
    position: relative;
    line-height: 1.3;
}

.title-ab p {
    margin-bottom: 30px;
}

.title-ab::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    right: 100%;
    top: 0;
    background: var(--cl-pri);
}

.home-about .icon-box-img {
    width: 30px !important;
    margin-bottom: 0;
}

.title-pn {
    padding: 0 35px;
    font-family: var(--font-title);
    color: var(--cl-pri);
    font-size: 50px;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    width: 300px;
    letter-spacing: 5px;
    position: relative;
    line-height: 1.3;
}

.title-pn p {
    margin-bottom: 30px;
}

.home-complete .flickity-page-dots {
    position: absolute;
    width: fit-content;
    left: 2%;
}

.home-parner .flickity-page-dots {
    position: absolute;
    width: fit-content;
    left: -17%;
}

.flickity-page-dots .dot {
    background-color: var(--cl-ligt) !important;
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 0;
    height: 7px;
    border: 2px solid var(--cl-pri) !important;
}

.flickity-page-dots .dot.is-selected {
    background-color: var(--cl-pri) !important;
}

.home-parner .gallery-col {
    padding-bottom: 0;
}

.home-parner .flickity-prev-next-button {
    display: none;
}

.home-parner .box-image img {

    aspect-ratio: 16/10;
    object-fit: contain;
    padding: 20px;
}

.title-com {

    font-size: 34px;
    font-weight: 600;
    font-style: normal;
    color: #252525;
    padding-left: 25px;
    position: relative;
}

.title-com::before {

    position: absolute;
    content: "";
    width: 3px;
    height: 100%;
    right: 100%;
    background: var(--cl-pri);
}

.review-home .content-item:before {
    content: '';

    position: absolute;
    top: 0;
    color: var(--cl-pri);
    left: -15px;
}

.review-home .carousel-nav {
    width: 50%;
    margin: auto;
}

.review-home .carousel-nav .col {
    padding-bottom: 0;
    border: 3px solid #eee;
    padding: 0;
    margin: 0 20px;
    border-radius: 50%;
    overflow: hidden;
}

.review-home .carousel-nav .col.is-nav-selected {
    border-color: var(--cl-pri);
}

.review-home h3 {
    text-align: center;
    color: var(--cl-pri);
}

.content-item {
    padding: 0 30px;
}

.review-home svg {
    width: 38px;
    height: 38px;

}

.review-home #glyph {
    fill: var(--cl-pri);
}

.icon-left {
    position: absolute;
    left: 2px;
    top: -10px;
    transform: rotate(180deg);
}

.icon-right {
    position: absolute;
    right: 2px;
    bottom: 10px;
}

.contact-home .ux-menu-link__icon {
    color: var(--cl-pri);
}

.title-com p {
    line-height: 1;
}

.row-col-5 .col.large-3 {
    flex-basis: calc(100% / 5);
    max-width: calc(100% / 5);
}

#footer .section {
    padding-top: 50px;
}

.absolute-footer {
    display: none;
}

.banner-project {
    position: relative;
}

.banner-project::before {
    width: 100%;
    height: 100%;
    position: absolute;
    content: "";
    background: rgba(0, 0, 0, .5);
}

.banner-project img {
    width: 100%;
    aspect-ratio: 16/6;
    object-fit: cover;
}

.banner-project .tile-banner {
    position: absolute;
    width: 40%;
    right: 16%;
    padding: 0 50px;
    bottom: 30px;
    z-index: 99;
    color: var(--cl-ligt);
}

.banner-project .tile-banner h1 {
    color: var(--cl-ligt);
    font-size: 4em;
    line-height: 1;
    margin-bottom: 30px;
    position: relative;
}

.banner-project .tile-banner h1::before {
    position: absolute;
    width: 4px;
    background: #ff0000;
    height: 92%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    left: -30px;
}

.list-project-ar .item-project {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    margin: 80px 0;
}

.list-project-ar .item-project .project-thumb {
    width: 70%;
}

.list-project-ar .item-project .content-project-ar {
    width: 37%;
    position: absolute;
    z-index: 1;
    padding: 100px 50px;
    background: var(--cl-pri);
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: var(--cl-ligt);
}

.list-project-ar .item-project .content-project-ar h3 {
    color: var(--cl-ligt);
}

.ar-btn {
    color: var(--cl-ligt);
    border-bottom: 1px solid var(--cl-ligt);
}

.list-project-ar .item-project:nth-child(2n) {
    flex-direction: row-reverse;
}

.list-project-ar .item-project:nth-child(2n) .content-project-ar {
    left: 0;
    right: unset;
}

.single-project .row {
    max-width: 100%;
}

.single-project .title-single {
    position: relative;
    margin-bottom: 30px;
}

.info-project-sng {
    padding: 50px;
}

.single-project .title-single::before {
    position: absolute;
    width: 100px;
    background: var(--cl-pri);
    height: 3px;
    bottom: -10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    left: 0px;
}

.slider-img-project img {
    width: 100%;
}

.cs-page-title h1 {
    font-size: 4rem;
    border-left: 8px solid var(--cl-pri);
    padding-left: 30px;
    line-height: 1;
    margin-bottom: 30px !important;
}

.about-core-value h3 {
    font-size: 2rem;
    color: var(--cl-pri);
    border-bottom: 3px solid var(--cl-pri);

    margin-bottom: 30px !important;
}

.about-core-value h2 {
    border-left: 5px solid var(--cl-pri);
    padding-left: 20px;
    line-height: 1;
    margin-bottom: 30px !important;
}

.cs-title h2 {
    border-left: 5px solid var(--cl-pri);
    padding-left: 20px;
    line-height: 1;
    margin-bottom: 30px !important;
}

.cs-title h3 {
    font-size: 2.5rem;
    border-left: 5px solid var(--cl-pri);
    padding-left: 20px;
    line-height: 1;
    margin-bottom: 30px !important;
}

.cs-title-2 h3 {
    font-size: 1.5rem;
    border-left: 5px solid var(--cl-pri);
    padding-left: 20px;
    line-height: 1;
    margin-bottom: 30px !important;
}

.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
    text-transform: uppercase;
}

.contact-page .cs-title p,
.contact-page .cs-title a {
    margin-bottom: 10px !important;
}

.cs-title p {
    margin-bottom: 0 !important;
}

.service-slider h3 {
    border-left: 5px solid var(--cl-pri);
    padding-left: 20px;
    line-height: 1;
    margin-bottom: 30px !important;
}

.archive-page-header {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 30px;
    background-image: url('https://ytuongkientruc.vn/wp-content/uploads/2023/10/News.jpg');
}

.archive-page-header .page-title {
    text-align: right;
    color: var(--cl-ligt);

    font-size: 3rem;
}

.blog-archive {
    padding-top: 0;
}

.archive-page-header .page-title span {
    border-left: 8px solid var(--cl-pri);
    padding-left: 30px;
}

.box-vertical .box-text.text-left {
    background: #f2f2f2;
}

.owl-carousel .owl-nav button {
    height: 47px;
    position: absolute;
    width: 26px;
    cursor: pointer;

}

.owl-carousel .owl-nav button span {
    font-size: 43px;
    line-height: 1;
    color: #000;
}
.owl-theme .owl-nav [class*=owl-]:hover{
    background-color: #ff0000;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 0;
    font-size: 20px !important;
    z-index: 999;
}

.owl-carousel .owl-nav button {
    top: 50% !important;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav button.owl-next {
    right: 0;
    font-size: 20px !important;
    z-index: 999;
}

.slider-img-project.owl-carousel .owl-item img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.tabs-post .tab {
    font-size: 20px;
    padding-right: 20px;
}

.tabs-post .tab span {
    color: #000;
}

.tabs-post .tab.active span {
    color: var(--cl-pri);
}

.slider-home p {
    font-size: 18px;
    color: var(--cl-ligt);
}
.form-td .col label{
    transform: translate3d(0,28px,0) scale(1);
    z-index: 99;
    position: relative;
    transition: -webkit-transform .4s cubic-bezier(.25,.8,.25,1);
        font-size: 16px;
        font-weight: 100;
        left: 3px;
}
.form-td .col.focus label{
    transform: translate3d(0,0,0) scale(1);
    font-size: 14px;
   
}
.form-td .col label::before{
    content:"*";
    color: red;
}
.form-td .col input, .form-td .col select{
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #e9e9e9;

}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .title-ab,
    .title-pn {

        font-size: 40px;
        padding-left: 10px;
    }

    .home-parner .flickity-page-dots {
        position: unset;
        left: unset;
        width: 100%;
    }

    .flickity-page-dots .dot {
        width: 18px !important;
        border-radius: 0;
        height: 7px !important;
    }

    .content-project {
        min-height: 133px;
    }

    .list-project {

        height: 100vh;

    }

    .image-project img {
        width: auto;
        height: 100%;
        object-fit: cover;
    }

    .content-list {

        width: 100%;

        right: 0;
    }

    .content-list h3 {
        font-size: 13px;
    }

    .content-project span {
        font-size: 34px;
    }

    .content-project .url-pro {
        font-size: 12px;
    }

    .title-com {
        margin-top: 30px;
    }

    .title-com::before {
        right: unset;
        left: 1px;
        background: var(--cl-pri);
    }

    .post-item {
        padding-bottom: 0;
    }

    .home-complete .col-inner {
        padding: 10px;
    }

    .row-col-5 .col.large-3 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .list-project-ar .item-project .project-thumb {
        width: 100%;
    }

    .list-project-ar .item-project .content-project-ar {
        position: unset;
        width: 90%;
        padding: 20px;
        transform: unset;
        margin: -40px auto 0;
    }

    .banner-project img {

        aspect-ratio: 16/13;

    }

    .banner-project .tile-banner {

        width: 100%;
        right: 0;
        padding: 0 20px;
        bottom: 30px;
    }

    .banner-project .tile-banner h1 {
        font-size: 3em;
    }

    .list-project-ar .item-project {

        margin: 50px 0;
    }

    .info-project-sng {
        padding: 20px;
    }

    .slider-home h2 {
        font-size: 20px;
    }

    .cs-page-title h1 {
        font-size: 2.5em;

        padding-left: 30px;

        text-align: left;
    }

    .cs-title h3 {
        font-size: 1.5rem;
    }

    .page-title-inner {
        min-height: 300px !important;
    }
}