/*
Theme Name: webbaoloc
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.20.7
*/
.absolute-footer{font-size:0.7em;}
.custom-h {
  border-bottom: 2px solid #d0021b;
  border-bottom-left-radius: 12px;
  display: flex;
  position: relative;
  margin-bottom:10px;
}

.custom-h h2 {
    background: #d0021b;
    border-radius: 10px;
    color: #fff;
    padding: 10px 20px;
    margin: 0;
    width: auto;
    display: inline-flex;
    position: relative;
    border-bottom-right-radius: 0;
	font-size: 100%;
}

.custom-h h2::after
{
    content: "";
    height: 15px;
    bottom: 0;
    position: absolute;
    width: 42px;
    right: -42px;
    border-radius: 0px 0px 0px 26px;
    box-shadow: -15px 0px 0px 0px #d0021b;
    pointer-events: none;
}
/*************** ADD CUSTOM CSS HERE.   ***************/
div.wpcf7-mail-sent-ok {
    border: 2px solid #fef83e;
}
div.wpcf7-response-output {
    margin: 2em .5em 1em;
    padding: .2em 1em;
}
.wpcf7-display-none {
    display: none;
}
.tieude * {
    border: none !important;
    margin-bottom: 0 !important;
}

.tieude {
    margin-bottom: 1rem;
}

.tieude .section-title-main {
    padding: 10px;
    padding-right: 2rem;
    display: inline-block;
    width: max-content;
    color: inherit;/* Thay đổi màu sắc của chữ theo ý */
    background: bisque; /* Thay đổi màu sắc của nền theo ý */
    position: relative;
    clip-path: polygon(95% 0, 100% 50%, 95% 100%, 0 100%, 0 0);
}
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.custom-modal-content {
    background-color: #fefefe;
    max-width: 600px;
    margin: 15% auto;
    padding: 15px;
    border: 1px solid #888;
    width: 80%;
    position: relative;
    border-radius: 5px;
}

.custom-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    width: 26px;
    height: 26px;
    line-height: 26px;
    justify-content: center;
}

.custom-modal-close:hover,
.custom-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.contact-form-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: stretch;
}

.contact-form-row > label {
    box-sizing: border-box;
    flex-basis: 145px;
    font-weight: normal;
    font-size: 14px;
}

.contact-form-row > .contact-form-controls {
    box-sizing: border-box;
    font-size: 13px;
    flex: 1;
}

.contact-form-row > input::placeholder, .contact-form-row > textarea::placeholder {
    font-size: 13px;
    color: #ccc;
}
.ss-lds-dual-ring.ss-hidden {
    display: none;
}

.ss-lds-dual-ring {
    display: flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
}

.ss-lds-dual-ring p {
    font-size: 20px;
    color: #fff;
    margin-left: 10px;
}

.ss-lds-dual-ring img {
    height: 50px;
    width: 50px;
}

.ss-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    z-index: 9999999999999999999;
    opacity: 1;
    transition: all 0.5s;
}
b,strong{font-weight:bold;}
.videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* ==========================================================================
   BỘ CSS TÙY CHỈNH CHO FOOTER JAC - Ô TÔ HHT (SẠCH, CHUẨN SCANNING)
   ========================================================================== */

/* Thống nhất font không chân cho toàn bộ footer */
.jac-policy-section, .jac-main-footer {
    font-family: sans-serif !important;
}

/* 1. KHỐI 4 CAM KẾT PHÍA TRÊN */
.commitment-item {
    display: flex; 
    flex-direction: column; 
    height: 100%;
}
.commitment-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px;
}
.commitment-title {
    font-size: 0.95em; 
    font-weight: bold; 
    color: #333; 
    margin: 0; 
    text-transform: uppercase;
}
.commitment-icon-wrap {
    width: 32px; 
    height: 32px; 
    flex-shrink: 0;
}
.commitment-icon {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    display: block;
}
.commitment-desc {
    font-size: 0.85em; 
    color: #555; 
    line-height: 1.6; 
    text-align: justify; 
    margin: 0; 
    flex-grow: 1;
}

/* Đường kẻ mảnh ngăn cách giữa các cột cam kết trên máy tính */
@media (min-width: 850px) {
    .line_bor {
        border-right: 1px solid #e5e5e5;
    }
}

/* 2. KHỐI LIÊN KẾT & THÔNG TIN LIÊN HỆ PHÍA DƯỚI */
footer .col-inner ul li{padding:0;margin-left:0}
.footer-link-title {
    font-size: 1.05em; 
    font-weight: bold; 
    color: #d2232a; /* Màu đỏ thương hiệu JAC */
    margin-bottom: 15px;
}
.footer-links-list {
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    font-size: 0.85em; 
    line-height: 2;
}
.footer-links-list a {
    color: #555;
    transition: color 0.2s ease;
}
.footer-links-list a:hover {
    color: #d2232a; /* Đổi màu khi di chuột vào link */
}

/* Thông tin liên hệ */
.contact-info-item {
    font-size: 0.85em; 
    color: #333; 
    margin-bottom: 8px; 
    line-height: 1.5;
}
.highlight-text {
    font-weight: bold; 
    color: #333;
}
.company-summary {
    font-size: 0.82em; 
    color: #666; 
    line-height: 1.6; 
    text-align: justify; 
    margin: 0; 
    border-top: 1px dashed #ddd; 
    padding-top: 15px;
}

/* 3. KHỐI BRANDING LOGO & SLOGAN CUỐI TRANG */
.footer-brand-col {
    margin-top: 20px;
}
.footer-logo-text {
    margin-bottom: 20px;
}
.footer-logo-text span {
    font-size: 2.2em; 
    font-weight: 900; 
    color: #d2232a; 
    letter-spacing: 2px;
}
.footer-slogan {
    font-size: 0.82em; 
    color: #555; 
    line-height: 1.7; 
    font-style: italic; 
    margin-bottom: 20px; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto;
}
/* Định dạng icon trong danh sách liên kết chân trang */
.footer-links-list li i {
    font-size: 0.9em;
    margin-right: 8px; /* Tạo khoảng cách giữa icon và chữ */
    color: #888; /* Màu xám nhẹ mặc định cho icon */
    transition: all 0.2s ease;
    display: inline-block;
}

/* Hiệu ứng chuyển động và đổi màu đỏ JAC khi khách hàng di chuột vào */
.footer-links-list li:hover i {
    color: #d2232a; /* Màu đỏ thương hiệu JAC */
    transform: translateX(4px); /* Icon dịch nhẹ sang phải 4px tạo hiệu ứng chuyển động mượt */
}
