/*
Theme Name: Understrap Child
Theme URI: https://understrap.com
Template: understrap
Author: Howard Development &amp; Consulting
Author URI: https://howarddc.com
Description: The renowned WordPress starter theme framework that combined Underscores and Bootstrap. Trusted by more than 100,000 developers for building handcrafted, custom WordPress sites.
Tags: one-column,two-columns,three-columns,left-sidebar,right-sidebar,custom-background,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,translation-ready,block-styles,wide-blocks,editor-style,threaded-comments,accessibility-ready
Version: 1.2.4.1741754687
Updated: 2025-03-12 04:44:47

*/
.archive-blog .understrap-read-more-link {
    display: none;
}
/*----*/
.custom-lang ul {
    margin: 0;
    display: flex;
    gap: 10px;
    list-style: none;
}

.custom-lang ul li a img {
    width: 20px;
    height: 20px;
}

/*-- Trang chủ ----*/
.elementor-element.menu-header .elementor-sub-item {
    width: 300px;
    height: auto;
    padding: 14px 11px 11px 10px !important;
    white-space: break-spaces;
}

.title-event .elementor-heading-title {
    display: block;
    display: -webkit-box;
    min-height: 56px;
    -webkit-line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.home .slide-home .elementor-slides .swiper-slide-bg.elementor-ken-burns {
    background-position: bottom center;
}
.btn-11 .elementor-button  {
    position: relative;
    color: #544d4b;
    overflow: hidden;
    z-index: 1;
}
.btn-11 .elementor-button:before, .btn-11 .elementor-button:after {
    position: absolute;
    top: 50%;
    content: "";
    width: 20px;
    height: 20px;
    background-color: #fff9ed;
    border-radius: 50%;
    z-index: 1;
}
.btn-11 .elementor-button:before {
    left: -20px;
    transform: translate(-50%, -50%);
}
.btn-11 .elementor-button:after {
    right: -20px;
    transform: translate(50%, -50%);
}
.btn-11 .elementor-button:hover {
    color: #cdcbca;
}
.btn-11 .elementor-button:hover:before {
    -webkit-animation: criss-cross-left 0.8s both;
    animation: criss-cross-left 0.8s both;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}
.btn-11 .elementor-button:hover:after {
    -webkit-animation: criss-cross-right 0.8s both;
    animation: criss-cross-right 0.8s both;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

.btn-11 .elementor-button:hover .elementor-button-text {
    color: #106061;
    z-index: 4;
}

.blog-post .content-blog {
    display: block;
    display: -webkit-box;
    min-height: 74px;
    -webkit-line-clamp: 3;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.blog-post .image-blog {
    overflow: hidden;
}

.blog-post .image-blog .elementor-widget-container img {
    transition: 0.4s;
}

.blog-post:hover .image-blog .elementor-widget-container img {
    transform: scale(1.2);
    transition: 0.4s;
}

/*---- Blog post ----*/
.blog .elementor-pagination .page-numbers {
    padding: 10px 20px;
    background-color: #106061;
    color: #fff;

}

.blog-post {
    position: relative;
    overflow: hidden;
}

.blog-post .image-post {
    position: relative;
    overflow: hidden;
}

.blog-post .image-post .elementor-widget-container img {
    transition: 0.8s;
}

.blog-post:hover .image-post .elementor-widget-container img {
    transform: scale(1.2) translateY(-10px);
    transition: 0.8s;
    opacity: 0.8;
}

.blog-post .content-post {
    display: block;
    display: -webkit-box;
    min-height: 76px;
    -webkit-line-clamp: 4;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.blog-post .image-post .blog-menu {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -60px;
    z-index: 4;
    overflow: hidden;
    transform: translateY(80px);
}

.blog-post:hover .image-post .blog-menu {
    transform: translateY(0);
    transition: 0.4s;
}

/*------ event --------*/
.event-post .image-blog .elementor-widget-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.event-post .image-blog .elementor-widget-container img {
    transition: 0.4s;
}

.event-post:hover .image-blog .elementor-widget-container img {
    transform: scale(1.2);
    transition: 0.4s;
}
.event-post .detail-event {
    display: block;
    display: -webkit-box;
    min-height: 51px;
    -webkit-line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

/*------ Project ----*/
.box-project .content-project {
    display: block;
    display: -webkit-box;
    min-height: 74px;
    -webkit-line-clamp: 3;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.box-project .image-project .elementor-widget-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.box-project .image-project .elementor-widget-container img {
    transition: 0.8s;
}

.box-project:hover .image-project .elementor-widget-container img {
    transform: scale(1.2);
    transition: 0.8s;
    opacity: 0.6;
}

/*---------------- detail project -----*/

.call-now-text .elementor-heading-title {
    z-index: 2;
    position: relative;
}

.call-now-text .elementor-heading-title {
    position: relative;
}

.call-now-text .elementor-heading-title:before {
    position: absolute;
    content: "";
    top: 50%;
    left: -45px;
    transform: translatey(-50%);
    height: 1px;
    width: 30%;
    background-color: #fff;
    z-index: 1;
}

.call-now-text .elementor-heading-title:after {
    position: absolute;
    content: "";
    top: 50%;
    right: -45px;
    transform: translatey(-50%);
    height: 1px;
    width: 30%;
    background-color: #fff;
    z-index: 1;
}

.list-event .menu-item:before {
    position: absolute;
    top: 9px;
    left: -17px;
    content: "\f178";
    font-family: fontawesome;
    height: 30px;
    width: 30px;
    font-size: 20px;
    background-color: #fff;
    color: #093377;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.form-contact .elementor-button.elementor-size-sm {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
    outline: none !important;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    padding: 24px 40px 23px;
    transition: all 0.5s linear;
    clip-path: polygon(0% 0%, 93% 0, 100% 50%, 93% 100%, 0% 100%);
    overflow: hidden;
    z-index: 1;
}

.form-contact .elementor-button.elementor-size-sm:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 6px;
    background: #05384e;
    content: "";
    clip-path: polygon(0% 0%, 93% 0, 100% 50%, 93% 100%, 0% 100%);
    transform: scalex(1.0);
    transform-origin: center;
    transform-style: preserve-3d;
    -webkit-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    transform-origin: left center;
    z-index: -1;
}

.form-contact .elementor-button.elementor-size-sm:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: -30px;
    background: #05384e;
    content: "";
    clip-path: polygon(0% 0%, 93% 0, 100% 50%, 93% 100%, 0% 100%);
    transform: scaleY(0.0);
    transform-origin: center;
    transform-style: preserve-3d;
    -webkit-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    transform-origin: right center;
    z-index: -1;
}

.form-contact .elementor-button.elementor-size-sm:hover:before {
    transform: scalex(0.0);
    transform-origin: left center;
    transition-delay: 200ms;
    background: #8dddff;
}

.form-contact .elementor-button.elementor-size-sm:hover:after{
    transform: scaleY(1.0);
    transform-origin: right center;
    transition-delay: 200ms;
    background: #05384e;
}

/*---- product --------*/
.elementor-element.box-product .desc-product .elementor-widget-container {
    display: block;
    display: -webkit-box;
    height: 50px;
    -webkit-line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}
@keyframes criss-cross-left {
    0% {
        left: -20px;
    }
    50% {
        left: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        left: 50%;
        width: 375px;
        height: 375px;
    }
}

@keyframes criss-cross-right {
    0% {
        right: -20px;
    }
    50% {
        right: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        right: 50%;
        width: 375px;
        height: 375px;
    }
}
/*------- Mobile -------*/
@media  (max-width: 767px) {
    .elementor-element.box-product .desc-product .elementor-widget-container {
        height: 46px;
    }

    .active-blog-2 .elementor-post__excerpt {
        display: block;
        display: -webkit-box;
        max-height: 54px;
        -webkit-line-clamp: 2;
        visibility: visible;
        text-overflow: ellipsis;
        overflow:hidden;
        -webkit-box-orient: vertical;
    }
}