/*
Theme Name: Flatsome Child du_an
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.iconpro-rotate {
    --icon-size: 24px;
    background-image: url("../../images/icon/rotate-left-solid.svg");
}

.e-tt h1 {
    margin-bottom: 5px;
    font-size: 30px;
    color: #f8ba04;
}

.e-sub,
.e-sub-1,
.e-sub-2,
.phan-khu-tt,
.phan-khu-child {
    color: #fff;
}

.e-sub {
    margin-bottom: 10px;
    font-size: 20px;
}

.e-sub-1,
.e-et-price,
.cp-form-tt,
.cp-tt,
.cp-price,
.phan-khu-sub,
.ch-price-tt,
.ch-price-line span,
.tt-khunglydo {
    font-weight: 700;
}

.e-sub-1 {
    margin-bottom: 5px;
}

.e-sub-2,
.cp-form-tt {
    margin-bottom: 10px;
}

.e-et-tt,
.e-et-price,
.e-et-sub,
.ch-price-tt,
.tt-khunglydo {
    text-align: center;
}

.e-et-tt,
.e-et-sub {
    color: var(--fs-color-primary);
}

.e-et-price {
    font-size: 20px;
    color: #fc0001;
}

.e-et-sub {
    font-size: 14px;
}

.r-et .col-inner {
    border: 2px dotted #222;
    border-radius: 0 20px;
}

.r-child-page {
    border-radius: 0 100px;
    background-image: linear-gradient(180deg,#f9bb0012 0%,#0f3b22 100%);
    box-shadow: 5px 5px 0 #fbc24d;
}

.r-child-page form {
    text-align: center;
}

.cp-form-tt,
.phan-khu-sub {
    color: #fbc24d;
}

/* ---- Khối tròn ---- */

.cp-item,
.phan-khu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.cp-item {
    padding: 10px;
    background: #fbc24c;
    color: #fff;
}

.cp-tt {
    color: #ea0e03;
}

.cp-price,
.phan-khu-sub {
    font-size: 30px;
}

.cp-price {
    color: #0f3b22;
}

.cp-sub {
    color: #0c3c91;
}

.phan-khu-item {
    background: #0f3b22;
    border: 3px solid #fbc24d;
}

/* ------- Khung giá ------- */

.ch-price .box-image img {
    display: block;
    width: 100%;
    height: 220px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.ch-price-tt {
    position: absolute;
    top: -22px;
    left: 25px;
    width: calc(100% - 50px);
    padding: 10px;
    color: #fff;
    background: #f9bb00;
    border-radius: 10px;
}

.ch-price .box-text {
    padding: 30px 10px 10px;
    background: #f0f6ff;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.ch-price-line span {
    color: red;
}

/* ===== Reason Box ===== */

.r-chinh-sach {
    margin-top: 15px;
    padding: 20px;
    border: 5px solid #f8ba04;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.khunglydo {
    position: relative;
    margin: 10px 0;
    padding: 40px 20px 15px;
    color: #fff;
    background: #114928;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.tt-khunglydo {
    position: absolute;
    top: -22px;
    left: 50%;
    width: calc(100% - 80px);
    max-width: 500px;
    padding: 10px;
    line-height: 1.4;
    color: #000;
    background: #f9bb00;
    border-radius: 10px;
    text-transform: uppercase;
    transform: translateX(-50%);
}

/* ===== Mobile ===== */

@media (max-width:768px) {

    .e-tt h1 {
        font-size: 24px;
    }

    .e-sub {
        font-size: 16px;
    }

    .cp-item,
    .phan-khu-item {
        width: 160px;
        height: 160px;
    }

    .cp-price,
    .phan-khu-sub {
        font-size: 24px;
    }

    .khunglydo {
        padding: 45px 15px 15px;
        border-radius: 8px;
    }

    .tt-khunglydo {
        top: -18px;
        width: calc(100% - 30px);
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 8px;
    }
}



/*---------page du an------------------*/

.ss-green .section-bg-overlay {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, #0f3b22 0%, #F2295B00 100%);
}

.ss-top-blue .section-bg-overlay {
       background-color: transparent !important;
    background-image: linear-gradient(360deg, #07398e 0%, #F2295B00 55%);
    z-index:999;
}

.ss-blue .section-bg-overlay {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, #07398e 0%, #F2295B00 100%);
} 

.ss-top-pur .section-bg-overlay {
       background-color: transparent !important;
    background-image: linear-gradient(360deg, #381750 0%, #F2295B00 55%);
    z-index:999;
}

.ss-pur .section-bg-overlay {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, #381750 0%, #F2295B00 100%);
} 

.ss-top-grey .section-bg-overlay{
    background-color: transparent !important;
    background-image: linear-gradient(360deg, #756b52 0%, #F2295B00 55%);
    z-index:999;
}


.ss-pbottom
{
	padding-bottom:0 !important;
}

.r-brv
{
		border-radius:10px;
		border:2px solid #fff !important;	
		padding:20px;
}
.bgwhite
{
	background:#fff;
}

/* Marquee */

.marquee {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 600;
    animation: marquee 12s linear infinite;
    will-change: transform;
}
.marquee:hover {
    color: #d60000;
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.6);

    /* Dừng khi hover */
    animation-play-state: paused;
}

/* Animation */
@keyframes marquee {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* popup contact liên hệ */

#popup
{
    background: url("images/bg-popup.jpg") center/cover no-repeat;
    border: 2px solid #02409d;
    border-radius: 10px;
    overflow: hidden;
}

#popup .btn-submit
{
	float: right;
    margin: 0;
    background: #f40b00;
}

/* content ***************/

.custom-popup-open {
    overflow: hidden;
}

.custom-popup-post {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(100, 100, 100, .75);
    z-index: 9999;
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: Montserrat, sans-serif;
}

.custom-popup {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

.popup-content {
    width: 1060px;
    margin: 25px auto;
    display: block;
    background: #fff;
    box-shadow: rgba(0, 0, 0, .2) 0 0 30px;
    padding: 0;
    position: relative;
    border-radius: 6px;
    padding: 25px;
}
.popup-content p {
  line-height: 1.5;
}
.popup-content ul, .popup-content ol {
  margin-left: 25px;
}

.popup-close {
    position: absolute;
    top: 45px;
    right: 82px;
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.popup-close:hover {
    background: #e60000;
}

/* Loader */
.ajax-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    z-index: 9999;
    color:#fff;
}

/* Responsive chỉnh sửa cho mobile */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 15px;
    }
    .popup-close {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}