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

#main,
#wrapper,
.header,
.footer-wrapper {
    padding: 0 15px;
}

.header-full-width .container {
    max-width: 90% !important;
}

.header-bg-color {
    background-color: transparent !important;
}
.flex-col.hide-for-medium.flex-right {
    width: 300px;
}

li.header-search-form.search-form.html.relative.has-icon {
    width: 100%;
}

.logo-left .logo {
    margin: 0;
    /* margin-right: 30px; */
}

ul.header-nav.header-nav-main.nav.nav-left li a {
    font-weight: 700;
}
ul.header-nav.header-nav-main.nav.nav-left {
    display: flex
;
    gap: 47px;
    justify-content: center;
}

button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    background-color: #26768a;
}

div#logo {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-doi-tac-khach-hang .flickity-page-dots {
    transform: translateX(-50%);
    
    left: 50%;
   
}

div#logo img.header-logo {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

/* div#logo:before {
    content: '';
    background: #0a4655;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
} */


ul.sub-menu.nav-dropdown.nav-dropdown-default {
    background: rgb(10, 70, 85);
    border: 1px solid #fff;
      margin-top: 25px;
	width: 300px;
}
ul.sub-menu.nav-dropdown.nav-dropdown-default a {
    color: #fff;
	font-size: 18px;
}

ul.sub-menu.nav-dropdown.nav-dropdown-default a:hover {
    color: #e1dbdb;
}
.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:after, .nav-dropdown-has-arrow li.current-dropdown.has-dropdown:before{
display:none;}

.button.alt,
.button.checkout,
.checkout-button,
.secondary {
    background-color: #0A4655;
}

div#masthead,
.header-top {
    background: linear-gradient(to right, #075a68, #0c4453);
/* 	background: #0a4655 !important; */
	border-bottom-left-radius: 90px;
    border-bottom-right-radius: 90px;
  
}

.section-footer {
    background: linear-gradient(to right, #0c4453, #075a68);
    border-radius: 90px 90px 0 0;
	
}
ul.header-nav.header-nav-main.nav.nav-right {
    display: flex
;
    justify-content: flex-end;
    gap: 31px;
}

.absolute-footer.dark {
    background: linear-gradient(to right, #0c4453, #075a68);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 0px 0px;
}

.footer-primary.pull-left {
    float: left;
    margin: 18px;
    display: flex;
}

.container .wrap {
    padding-top: 30px;
    color: #000;
  
}


.section-footer .has-icon-bg .icon i,
.section-footer .has-icon-bg .icon img,
.section-footer .has-icon-bg .icon svg {
    left: 0;
    margin: 0 27%;
    -o-object-fit: cover;
    object-fit: cover;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44%;
}


.tab-video ul.nav.nav-simple {
    display: flex
;
    justify-content: center;
    gap: 48px;
    font-size: 18px;
    /* margin-bottom: 26px; */
}

.tab-video span {
    color: rgb(10, 70, 85);
    font-size: 21px;
}

.tab-video .tab.active {
    background: #fff;
    box-shadow: 0px 13px 16px rgba(56, 148, 108, 0.12);
    padding: 8px 32px;
    border-radius: 15px;
    display: inline-block;
    position: relative;
}

.section-footer .has-icon-bg .icon .icon-inner {
    border: 2px solid;
    border-radius: 100%;
    color: var(--fs-color-primary);
    height: 100%;
    position: absolute;
    top: 0;
    transition: all .3s;
    width: 100%;
    background: linear-gradient(to top, #081d22, #2cadc3);
    border: unset;
}

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

.section-footer .ux-menu-link__text::before {
    content: "•";
    color: white;
    margin-right: 8px;
    font-size: 1.2em;
    display: inline-block;
    line-height: 1;
}

.slider-banner-home button.flickity-button.flickity-prev-next-button.next,
.slider-banner-home button.flickity-button.flickity-prev-next-button.previous {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.26);
    border-radius: 50%;
    transition: all 0.25s ease-in-out;
    top: 40%;

}

.slider-banner-home .slider-nav-circle .flickity-prev-next-button .arrow,
.slider-banner-home .slider-nav-circle .flickity-prev-next-button svg {
    border: unset !important;
}



.slider-album .flickity-page-dots {
    bottom: -18px;
}

.img-box-service-home .image-cover {
    border-radius: 20px;
}

.img-box-service-home .box-text.text-center {
    padding: 30% 20px 40px;
    width: 100%;
    height: 54%;
    bottom: 0px;
    left: 0;
    background: linear-gradient(to top, #133d48, #075a6800);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.tab-service-home ul.nav.nav-line-bottom {
    display: flex;
    justify-content: center;
    gap: 48px;
    font-size: 18px;
    margin-bottom: 26px;
}

.tab-service-home li:nth-child(1) span:before {
    content: "40";
    position: absolute;
    top: -3px;
    right: -13px;
    font-size: 15px;
}

.tab-service-home li:nth-child(2) span:before {
    content: "30";
    position: absolute;
    top: -3px;
    right: -13px;
    font-size: 15px;
}

.tab-service-home li:nth-child(3) span:before {
    content: "24";
    position: absolute;
    top: -3px;
    right: -13px;
    font-size: 15px;
}

.tab-service-home li:nth-child(4) span:before {
    content: "15";
    position: absolute;
    top: -3px;
    right: -13px;
    font-size: 15px;
}




.tab-service-home button.flickity-button.flickity-prev-next-button.next,
.tab-service-home button.flickity-button.flickity-prev-next-button.previous {
    width: 40px;
    height: 40px;
    border-radius: 5px !important;
    border: 1px solid #0c4455;
    background: #F9F9F8;
    top: 46%;
    transform: translate(0, 0%);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.tab-service-home .slider-nav-light .flickity-prev-next-button .arrow,
.tab-service-home .slider-nav-light .flickity-prev-next-button svg {
    fill: #0c4455;
}

.img-album-noi-bat img {
    border-radius: 8px;
}


.slider-doi-tac .flickity-slider {
    display: flex !important;
    gap: 24px;
    padding: 0 16px;
}


.slider-doi-tac .col {
    flex: 1 0 0%;
    min-width: 232px;
    max-width: 100%;
    box-sizing: border-box;
}

.slider-doi-tac .col-inner {
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    height: 80%;
    padding: 44px 16px 0px;
}

.slider-doi-tac .img-inner {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.slider-doi-tac .img-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.text-ok-bg-white h3 {
    background-color: white;
    display: inline;
    padding: 8px 8px 2px 8px;
    border-radius: 10px;
}

.icon-box-about-us img {
    filter: brightness(0) invert(1);
}

.icon-box-about-us .icon-box-img {
    min-height: 96px;
}


.section-ban-lanh-dao .is-divider.divider.clearfix {
    float: left;
}


.section-form-lien-he input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    border-radius: 3px;
    padding: 26px 10px;
    max-width: 100%;
    background: #fff;
    border-color: rgb(10, 70, 85);
}

.section-form-lien-he textarea.wpcf7-form-control.wpcf7-textarea {
    border-radius: 3px;
    max-width: 100%;
    background: #fff;
    border-color: rgb(10, 70, 85);
    height: 290px;
}

.section-form-lien-he .form-row {
    display: flex;
    gap: 2%;
    margin-bottom: 15px;
}

.section-form-lien-he .form-col {
    flex: 1;
    max-width: 49%;
}

.section-form-lien-he .form-full {
    width: 100%;
    margin-bottom: 15px;
}

.section-form-lien-he input::placeholder,
.section-form-lien-he textarea::placeholder {
    color: rgb(10, 70, 85);
    font-size: 22px;
}

.section-form-lien-he input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    font-size: 18px;
    padding: 6px 30px 0px;
    border-radius: 3px;
}

.row-4-icon-box-service .icon-box-img {
    min-height: 56px;
}


.tab-trang-service .tab {
    color: #000;
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    line-height: 25px;
    height: 41px;

    justify-content: center;
}

.tab-trang-service .tab span {
    padding: 0px 12px 0px;
    font-weight: 900 !important;
}

.tab-trang-service li.tab.active.has-icon a {
    background-color: #C7C7C7;
    color: white;
    border-radius: 10px;
}

.section-slider-actor p {
    padding: 5px 10px 2px;
    border-radius: 5px;
    background-color: #646464;
}

.section-slider-actor .flickity-button {
    position: absolute;
    background: unset !important;
    border: none;
    color: #333
}

.section-slider-actor .flickity-prev-next-button {
    top: 45%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.slider-doi-tac-thiet-bi .col-inner {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 130px;
    margin: 0 auto;
}

.slider-doi-tac-thiet-bi .img-inner img {
    width: 116px;
    height: 96px;
    object-fit: contain;
    border-radius: 3px;
}

.slider-doi-tac-thiet-bi .flickity-slider .col {
    padding: 10px;
}



i.icon-clock,
h5.post-title.is-large {
    color: #0a4655;
}

span.view-count {
    color: #0a4655;
    font-weight: 600;
}

.post-info__meta {
    display: flex;
    margin-top: 10px;
}

span.number-view {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 4px;
}

.blog-home .box.box-normal.box-text-bottom {
    padding: 17px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.06);
}


.blog-home .box.box-vertical.box-text-bottom {
    padding: 0px 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0px 5px 6px rgba(0, 0, 0, 0.04);
    display: inline-block;
    width: 100%;
}

.blog-right .col.post-item {
    margin-bottom: -16px;
}


p.from_the_blog_excerpt {
    color: #000;
}


.blog-single.page-wrapper h1.entry-title {
    color: #0a4655;
}

.entry-content.single-page * {
    color: #000;
}

.blog-widget .col.post-item {
    border-bottom: 1px dashed;
    padding: 10px 10px 24px;
}

.page-id-25 .col {
    padding: 0px;
}

.blog-right a.plain {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .slider-doi-tac-thiet-bi .col-inner {
        width: 100px;
        height: 90px;
    }

    .slider-doi-tac-thiet-bi .img-inner img {
        width: 80px;
        height: 60px;
    }
}
.slider-banner-dich-vu .flickity-button,
.slider-banner-dich-vu .flickity-button:hover{
    background: unset;
}

.slider-banner-dich-vu .flickity-prev-next-button {
    top: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translateY(-50%);
}
.slider-banner-dich-vu .flickity-prev-next-button.next {
    right: -24px;
}
@media (max-width: 768px) {
    .section-form-lien-he .form-row {
        flex-direction: column;
    }

    .section-form-lien-he .form-col {
        max-width: 100%;
    }
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
	div#logo:before{
		display:none;
	}
	
	#main, #wrapper, .header, .footer-wrapper {
    padding: 0px;
}
	
	i.icon-menu {
    color: #fff;
}
	
.nav.nav-line-bottom {
    overflow-x: scroll; /* Cho phép cuộn ngang */
    display: flex;
    flex-wrap: nowrap; /* Ngăn các tab xuống dòng */
    padding-bottom: 10px; /* Padding để thanh cuộn không che nội dung */
    padding-left: 15px; /* Thêm padding trái để tab đầu tiên không bị cắt */
    scroll-behavior: smooth; /* Cuộn mượt hơn */
}

.nav.nav-line-bottom::-webkit-scrollbar {
    height: 8px; /* Chiều cao thanh cuộn */
}

.nav.nav-line-bottom::-webkit-scrollbar-thumb {
    background: #0a4655; /* Màu thanh cuộn */
    border-radius: 4px;
}

.nav.nav-line-bottom::-webkit-scrollbar-track {
    background: #f1f1f1; /* Màu nền thanh cuộn */
}

.nav.nav-line-bottom li {
    white-space: nowrap; /* Ngăn nội dung tab xuống dòng */
    margin-right: 15px; /* Khoảng cách giữa các tab */
}

.nav.nav-line-bottom li a {
    display: inline-block;
    padding: 5px 10px; /* Padding để chữ hiển thị đầy đủ */
    text-align: center; /* Căn giữa chữ trong tab */
}
	.tab-service-home ul.nav.nav-line-bottom {
    display: flex
;
    justify-content: flex-start;
}
	
.slider-doi-tac .col-inner {
    background: unset;
}
	
	.slider-doi-tac .col {
    min-width: 185px;
    max-width: 100%;
    box-sizing: border-box;
}
	.footer-primary.pull-left {
    float: unset;
    margin: 0px auto 14px;
    display: flex
;
    justify-content: center;
}
	.text-ok-bg-white h3 {
    border-radius: 0px;
}
	.nav-simple {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping to the next line */
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Keeps tabs in a single line */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    list-style: none; /* Remove default list styling */
    width: 100%; /* Ensure the container takes full width */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
}

/* Ensure each tab (li) is inline and properly styled */
.nav-simple li {
    display: inline-flex; /* Use inline-flex to align items in a row */
    align-items: center; /* Vertically center content in tabs */
    flex-shrink: 0; /* Prevent tabs from shrinking */
}

/* Optional: Hide scrollbar for better aesthetics */
.nav-simple::-webkit-scrollbar {
    display: none;
}


.nav-simple li a {
    padding: 10px 20px; 
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Text color */

    margin-right: 5px; /* Space between tabs */
}

.tab-video ul.nav.nav-simple {
    display: flex
;
    justify-content: flex-start;
}

}