/*
Theme Name: ECO
Description: Công ty TNHH Dịch vụ Kỹ thuật Cơ Điện ECO
Author: UX Themes
Template: flatsome
Version: 1.0
*/

@font-face {
    src: url(assets/fonts/helvetica-light-587ebe5a59211.ttf) format('truetype');
    font-family: Helvetica;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}
@font-face {
    src: url(assets/fonts/Helvetica.ttf) format('truetype');
    font-family: Helvetica;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}
@font-face {
    src: url(assets/fonts/Helvetica-Oblique.ttf) format('truetype');
    font-family: Helvetica;
    font-weight: normal;
    font-style: italic;
    font-stretch: normal;
    font-display: swap;
}
@font-face {
    src: url(assets/fonts/Helvetica-Bold.ttf) format('truetype');
    font-family: Helvetica;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}
@font-face {
    src: url(assets/fonts/Helvetica-BoldOblique.ttf) format('truetype');
    font-family: Helvetica;
    font-weight: 600;
    font-style: italic;
    font-stretch: normal;
    font-display: swap;
}
@font-face {
    src: url(assets/fonts/UTM-ViceroyJF.ttf);
    font-family: UTM-ViceroyJF;
    font-display: swap;
}
@font-face {
    src: url(assets/fonts/Constan.ttf);
    font-family: Constan;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}
@font-face {
    src: url(assets/fonts/Constan-Bold.ttf);
    font-family: Constan;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}

body,
html {
    font-family: Helvetica, Arial, sans-serif;
}

.text-viceroyjf {
    font-family: UTM-ViceroyJF, Arial, sans-serif;
}

.text-constan {
    font-family: Constan, Helvetica, sans-serif;
}

.z-index-9 {
	z-index: 9;
}

.pl {
	padding-left: 30px;
}
.pr {
	padding-right: 30px;
}
.pt-half {
	padding-top: 15px;
}
.pb-half {
	padding-bottom: 15px;
}
.pt-left {
	padding-left: 15px;
}
.pt-right {
	padding-right: 15px;
}
.mb-half {
	margin-bottom: 15px;
}

.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
	width: 90%;
}

.nav-column li.active>a,
.nav-dropdown li.active>a,
.nav>li.active>a,
.nav>li.current>a,
.nav>li>a.active,
.nav>li>a.current {
    color: var(--primary-color, hsla(0,0%,7%,.85));
    font-weight: bold;
}

.text-line-1 {
    display: -webkit-box !important;
    max-width: 100%;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-line-2 {
    display: -webkit-box !important;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-line-3 {
    display: -webkit-box !important;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-line-4 {
    display: -webkit-box !important;
    max-width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-full-height .col-inner {
    height: 100%;
}

.round-15 {
    border-radius: 15px;
    overflow: hidden;
}
.nav-uppercase > li > a {
    font-weight: normal;
}

.mfp-bg.mfp-ready {
    opacity: .9;
}

.slider-show-nav .flickity-button {
    opacity: 1 !important;
}
.flickity-prev-next-button:disabled, button.flickity-prev-next-button[disabled] {
    background: inherit !important;
    box-shadow: inherit !important;
    cursor: auto;
    opacity: 1 !important;
    pointer-events: none;
}
.slider-show-nav .flickity-button svg {
    border-color: #224d9b;
    background-color: #224d9b;
}
.row-slider .flickity-page-dots, .slider-nav-outside .flickity-page-dots {
    bottom: -70px;
}
.slider-nav-dots-dashes-spaced .flickity-page-dots .dot {
    height: 6px;
    width: 20px;
}
.slider-nav-light .flickity-page-dots .dot.is-selected, .slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
    background-color: var(--primary-color);
}
@media screen and (max-width: 768px) {
    .row-slider .flickity-page-dots, .slider-nav-outside .flickity-page-dots {
        bottom: -35px;
    }
}
@media screen and (min-width: 1280px) {
    .flickity-prev-next-button {
        width: 50px;
        height: 50px;
    }
}
@media (min-width: 1440px) {
    .slider-nav-outside .flickity-prev-next-button.previous {
        right: 105%;
    }
    .slider-nav-outside .flickity-prev-next-button.next {
        left: 105%;
    }
}
@media (min-width: 1280px) {
    .slider-nav-outside .flickity-prev-next-button.previous {
        right: 101%;
    }
    .slider-nav-outside .flickity-prev-next-button.next {
        left: 101%;
    }
}
.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: unset;
}

/* Header */
@media screen and (min-width: 1366px) {
    .nav-spacing-xlarge > li {
        margin: 0 30px;
    }
    .nav-size-xlarge > li > a {
        font-size: 1.2em;
    }
}
@media screen and (min-width: 1600px) {
    .nav-spacing-xlarge > li {
        margin: 0 38px;
    }
    .nav-size-xlarge > li > a {
        font-size: 1.3em;
    }
}
@media screen and (min-width: 1025px) {
    #logo a {
        position: absolute;
        bottom: -35px;
        height: 140px;
        z-index: 9;
        width: 100%;
    }
    #logo a .header_logo {
        width: 100%;
        height: 100%;
        max-height: unset;
    }
    #logo {
        position: relative;
    }
    .header-main {
        z-index: 11;
    }
}
#header .header-main .nav > li > a {
    font-weight: 600;
}
.header-slogan {
    font-size: 22px;
}
.header-slogan br {
    display: none;
}
@media screen and (max-width: 1366px) {
    .header-slogan {
        font-size: 20px;
    }
}
@media screen and (max-width: 1024px) {
    .header-slogan {
        font-size: 16px;
    }
}
@media screen and (max-width: 849px) {
    .header-slogan {
        color: var(--primary-color);
    }
    .header-slogan br {
        display: initial;
    }
    .header-main li.html.custom {
        display: block;
    }
    .header-main #logo {
        width: 72px;
    }
    .header-main .medium-logo-left .flex-left {
        flex: initial;
    }
}
@media screen and (max-width: 767px) {
    .header-main #logo {
        width: 70px;
        margin-right: 7px;
    }
}
@media screen and (max-width: 474px) {
    .header-slogan {
        font-size: 13px;
    }
    .header-main #logo {
        width: 55px;
        margin-right: 5px;
    }
    .header-main .header-inner.container {
        padding: 0 7px;
    }
}
#top-bar > .container > .flex-right {
    flex: 1;
    margin-left: 57px;
}
#top-bar > .container > .flex-right > .top-bar-nav {
    flex-flow: initial;
    justify-content: space-between;
}
.header-search-form .searchform .search-field {
    height: 32px;
    font-size: 14px;
    border: none;
    box-shadow: none !important;
}
.header-search-form .searchform {
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff !important;
}
.header-search-form .searchform .submit-button {
    background: unset;
    border: none;
    box-shadow: none;
    outline: none !important;
    color: var(--primary-color);
    padding: 0 15px;
    min-height: 25px;
    border-left: 1px solid var(--primary-color);
}

/* Footer */
.footer-form .wpcf7-form > .row {
    margin: 0 -5px;
}
.footer-form .wpcf7-form > .row > .col {
    padding: 0 5px;
    margin-bottom: 5px;
}
.footer-form .wpcf7-form input, .footer-form .wpcf7-form textarea {
    background-color: transparent;
    font-size: 11px;
    border-radius: 5px;
}
.footer-form .wpcf7-form input {
    height: 30px;
}
.footer-form .wpcf7-form input::placeholder, .footer-form .wpcf7-form textarea::placeholder {
    color: #fff;
}
.footer-form .wpcf7-form label {
    font-size: 12px;
}
.footer-form .wpcf7-form textarea {
    min-height: 60px;
}
.cfs-social-list a.icon {
    margin: 0 15px;
}
.cfs-social-list a.icon:last-child {
    margin-right: 0;
}

/* Slider Iconbox */
@media screen and (min-width: 1440px) {
    .cfs-slider-iconbox {
        width: 110%;
    }
}
@media screen and (min-width: 1366px) {
    .cfs-slider-iconbox .flickity-viewport::before {
        content: '';
        position: absolute;
        width: 25%;
        height: 100%;
        right: 0;
        z-index: 9;
        background: linear-gradient(270deg, #FFFFFF 34.76%, rgba(255, 255, 255, 0.44) 100%);
    }
    .slider-show-nav .flickity-button {
        z-index: 9;
    }
}
@media screen and (max-width: 576px) {
    .cfs-slider-iconbox .flickity-prev-next-button.previous {
        left: -35px;
    }
    .cfs-slider-iconbox .flickity-prev-next-button.next {
        right: -35px;
    }
}

/* About */
.cfs-title::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 4px;
    background-color: rgba(157, 157, 157, 1);
    left: 0;
    bottom: 0;
}
.cfs-title {
    position: relative;
    padding-bottom: 10px;
}

/* Project */
.cfs-list-duan .box-image::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 49%, rgba(33, 77, 155, 0.96) 83.5%);
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

/* News */
.cfs-news-grid .post-item .post-title {
    display: -webkit-box !important;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cfs-news-grid .post-item .from_the_blog_excerpt  {
    display: -webkit-box !important;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (max-width: 576px) {
    .cfs-news-grid .post-item .post-title {
        font-size: 17px;
    }
    .cfs-news-grid .col.post-item {
        height: 300px !important;
    }
}


/* So do to chuc */
.hotspots-placeholder {
    position: absolute !important;
    left: 50%;
    top: 15%;
    z-index: -1;
    opacity: 0 !important;
    transform: translateX(-50%);
    width: 800px;
    max-width: calc(100vw - 20px) !important;
    border-radius: 10px;
    overflow: hidden;
}
.hotspots-placeholder.actived {
    z-index: 9999;
    opacity: 1 !important;
}
.hotspots-interaction {
    position: relative;
    display: block !important;
}
.hotspots-image-container {
    flex: 0 0 100% !important;
}

.hotspot-close {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 35px;
    background-color: #c0001a;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
}
.show_hotspot #main {
    z-index: 9;
}
.show_hotspot .hotspots-interaction {
    position: relative;
}
.show_hotspot .hotspots-interaction::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
}
@media screen and (max-width: 370px) {
    .hotspots-placeholder {
        top: -35%;
    }
}

/* Breadcrumb */
.breadcrumb-page-title .title-wrapper .entry-title {
    display: -webkit-box !important;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 576px) {
    .cfs-breadcrumb {
        font-size: 1.3em;
    }
}
@media (max-width: 849px){
    .breadcrumb-page-title .title-wrapper {
        text-align: left !important;
    }
    .breadcrumb-page-title .title-wrapper .entry-title {
        font-size: 25px;
    }
}

/* About */
.gradient-overlay .banner-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 68.14%, rgba(11, 73, 184, 0.97) 100%);
}
.gradient-overlay .banner-layers {
    z-index: 2;
}

/* Activity fields */
.activity-field-list .icon-box .icon-box-text > h5 {
    width: 118px;
    height: 118px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 48px;
    border-radius: 50%;
    text-align: center;
    line-height: 105px;
    border: 12px solid #fff;
    position: absolute;
    top: -24px;
    left: -24px;
    margin-bottom: 0;
}
@media screen and (max-width: 767px) {
    .activity-field-list .icon-box .icon-box-text > h5 {
        width: 90px;
        height: 90px;
        font-size: 30px;
        line-height: 70px;
    }
}

/* Product */
.gallery-top .kh_box_img.kh_img_intro {
    margin-bottom: 10px;
    padding: 2px;
    border: 1px solid #ccc;
    text-align: center;
}
.swiper-container.gallery-thumbs {
    padding-bottom: 1px;
}
.gallery-thumbs .kh_item_img .kh_box_img {
    margin: 0;
    padding: 2px;
    border: 1px solid #ccc;
}
.gallery-top .kh_item_img {
    padding-right: 1px;
}
.gallery-thumbs .swiper-slide-thumb-active.kh_item_img .kh_box_img {
    border-color: var(--primary-color);
}
.gallery-thumbs .kh_item_img {
    padding-right: 1px;
}
.gallery-top .swiper-button-next, .gallery-top .swiper-button-prev {
    color: var(--primary-color);
}
#btn_order_popup {
    padding: 10px 30px;
    border-radius: 5px;
}
.btn_order_service {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ccc;
}