﻿.hidden {
    display: none !important;
}

/*css tra cuu*/
table, th, td {
    border: 1px solid #D6E0E8;
    border-collapse: collapse;
}

.tracuu-wrapper {
    min-height: calc(100vh - 124px);
    display: flex;
    justify-content: center;
    align-items: center
}

.page-id-4328 .rt_banner {
    padding-top: 40px;
}

.ket_qua_tra_cuu {
    margin: 30px auto 60px auto;
    border-radius: 5px;
    padding: 27px 30px;
    background: #fff;
    max-width: 900px;
    width: 100% !important;
}

.form_tracu {
    width: 810px;
    display: block;
    margin: 30px auto 60px auto;
    border: 1px solid #3BB549;
    border-radius: 5px;
    padding: 27px 30px;
    background: #fff;
}

    .form_tracu h2 {
        font-weight: bold;
        font-size: 19px;
        line-height: 28px;
        text-align: center;
        color: #2F4858;
        margin-bottom: 4px;
    }

    .form_tracu p {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        color: #2F4858;
        margin-bottom: 24px;
    }

    .form_tracu label {
        font-weight: bold;
        font-size: 16px;
        line-height: 20px;
        color: #2F4858;
        display: block;
    }

        .form_tracu label span {
            color: #F55858;
        }

    .form_tracu input {
        background: #FFFFFF;
        border: 1px solid #E8E8E8;
        border-radius: 3px;
        box-shadow: unset !important;
        margin-bottom: 24px;
        height: 52px;
    }

    .form_tracu .submit {
        width: 159px;
        height: 44px;
        min-height: 44px;
        background: #3BB549;
        border-radius: 30px;
        display: block;
        margin: 16px auto 0 auto !important;
        text-align: center;
        font-size: 16px;
        text-transform: inherit;
        font-weight: 500;
        border: none;
        padding: 0;
    }

    .form_tracu .password {
        position: relative;
    }
        
        .form_tracu .password #toggle-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            cursor: pointer;
        }

.ket_qua_tra_cuu .title1 {
    color: #3BB549;
    font-weight: 700;
    font-size: 40px;
    line-height: 60px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
}

@media (max-width: 600px) {
    .ket_qua_tra_cuu .title1 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .ket_qua_tra_cuu .title1 {
        font-size: 25px;
    }
}

@media (max-width: 360px) {
    .ket_qua_tra_cuu .title1 {
        font-size: 20px;
    }
}

.ket_qua_tra_cuu .title2 {
    font-weight: 700;
    font-size: 27px;
    line-height: 40px;
    color: #2F4858;
    padding-bottom: 24px;
    border-bottom: 1px solid #E1E1E1;
    margin-bottom: 40px;
    margin-top: 40px;
}

@media (max-width: 480px) {
    .ket_qua_tra_cuu .title2 {
        text-align:center;
    }
}

.ket_qua_tra_cuu .box_kq_1 .col2 {
    margin: 0 -15px;
}

.ket_qua_tra_cuu .box_kq_1 .left {
    width: 50%;
    float: left;
    padding: 0 15px;
}

.ket_qua_tra_cuu .box_kq_1 .right {
    width: 50%;
    float: left;
    padding: 0 15px;
}

.ket_qua_tra_cuu .box_kq_1 table td {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #2F4858;
    padding: 13px 17px;
}

.box_kq_1-mobile {
    margin-top: 12px;
}

.box_kq_1-mobile__item {
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
}

.box_kq_1-mobile__label {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 3px;
}

.box_kq_1-mobile__value {
    font-size: 15px;
    color: #444;
}


.box_kq_2 table tr th {
    background: #3BB549;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    padding: 15px 10px;
    line-height: 20px;
    text-transform: inherit;
}

.box_kq_2 table tr td {
    padding: 10px;
    font-size: 16px;
    line-height: 20px;
}

.box_kq_2 table tr td a {
    color: #2C90EC;
}

.box_kq_2 table tr td.tang {
    color: #F55858;
}

.box_kq_2 table tr td.giam {
    color: #2C90EC;
}

.box_kq_2 table tr td ul li {
    list-style: none;
}

.box_kq_2 .col1 td {
    background: #E7F6E9;
    border: 1px solid #D6E0E8;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #006315;
    text-align: center;
    padding: 15px 10px;
}

.box_kq_2 .col2 img {
    margin-bottom: 15px;
}

.loc_tracuu {
    width: 100%;
    position: relative;
    margin-bottom: 0;
}

.loc_tracuu .namkham {
    width: 250px;
    float: right;
    margin-bottom: 30px;
}

.loc_tracuu:before {
    position: absolute;
    content: "";
    left: 0;
    top: 51px;
    width: calc(100% - 270px);
    height: 1px;
    background: #ddd;
}

.loc_tracuu .ngaykham {
    width: 100%;
    clear: both;
    margin-top: 30px;
    overflow: visible;
}

.loc_tracuu .ngaykham .ds_ngaykham,
.loc_tracuu .ngaykham .ds_ngaykham > div,
.loc_tracuu .ngaykham .ds_ngaykham > a {
    /* Reset các style dàn ngang cũ */
    float: none;
    display: inline-block;
    margin-right: 0;
}

/* Response mobile */
@media (max-width: 600px) {
    .loc_tracuu .namkham {
        width: 100%;
        text-align:center;
    }
}

/* Làm cho dropdown trông giống như một lựa chọn đang active */
.loc_tracuu #NgayKhamSelector {
    -webkit-appearance: none; /* Ẩn arrow mặc định trên Chrome/Safari */
    -moz-appearance: none; /* Ẩn arrow mặc định trên Firefox */
    appearance: none; /* Ẩn arrow mặc định chung */

    width: 100%;
    background: #FFFFFF url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%233BB549" d="M9.293 12.914L5.636 9.257a1 1 0 011.414-1.414L10 10.828l3.354-3.355a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0z"/></svg>') no-repeat;
    background-position: right 15px center; /* Đặt icon mũi tên màu xanh lá cây */
    background-size: 15px 15px;
    border: 1px solid #3BB549 !important; /* Viền xanh lá cây, giống như 'active' */
    border-radius: 10px;
    padding: 10px 40px 10px 15px; /* Đủ chỗ cho mũi tên */
    height: auto; /* Đảm bảo chiều cao linh hoạt */
    font-size: 15px;
    cursor: pointer;
    color: #3BB549; /* Màu chữ như link active */
    font-weight: bold;
}

/* Style cho các option khi dropdown mở ra (tùy trình duyệt) */
.loc_tracuu #NgayKhamSelector option {
    background: white;
    color: #2F4858;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

    /* Đảm bảo màu sắc của option được chọn hiển thị đúng */
    .loc_tracuu #NgayKhamSelector option:checked {
        background: #3BB549 !important;
        color: white !important;
    }

/* Style cho thẻ label ngay phía trên dropdown */
.loc_tracuu .ngaykham label {
    display: block;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    color: #2F4858;
    margin-bottom: 5px;
}

/* Đảm bảo phần năm khám (namkham) không bị ảnh hưởng bởi việc reset float */
.loc_tracuu .namkham {
    float: right;
    margin-bottom: 30px;
}

/* Reset lại đường kẻ ngang cũ */
.loc_tracuu:before {
    content: none;
}

.box_kq_3 .box_kq_dv {
    border: 1px solid #3BB549;
    padding: 40px;
    margin-bottom: 40px;
    overflow: hidden;
}

.box_kq_3 .box_kq_dv .kq_template table {
    width: 100% !important;
}

.box_kq_3 .box_kq_dv .title3 {
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    text-transform: uppercase;
    color: #2F4858;
    margin-bottom: 40px;
    clear: both;
}

.box_kq_3 .box_kq_dv .div1 {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}

.box_kq_4 {
    overflow: hidden;
    margin-bottom: 0px;
}

.box_kq_4 .title2 {
margin-top: 10px;
}

.box_kq_4 .box_donthuoc {
overflow: hidden;
margin-bottom: 25px;
}

.box_kq_4 .box_donthuoc h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.box_kq_4 .box_donthuoc .list_donthuoc {
    overflow: hidden;
    margin-bottom: 15px;
}

.box_kq_4 .box_donthuoc .list_donthuoc p {
    margin-bottom: 10px;
    font-size: 16px;
}

.box_kq_4 .box_donthuoc .list_donthuoc span {
    margin-right: 50px;
    display: inline-block;
    margin-bottom: 5px;
    font-size: 15px;
}

.ket_qua_tra_cuu .select {
    position: relative;
    display: inline-block;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    width: 250px;
    box-shadow: inset 0 -1.4em 1em 0 rgba(0,0,0,.02);
    clear: both;
}

.ket_qua_tra_cuu .selected-option {
    display: block;
    font-size: 16px;
    cursor: pointer;
}

.ket_qua_tra_cuu .selected-option i {
    float: right;
    font-size: 12px;
    position: relative;
    top: 6px;
}

.ket_qua_tra_cuu .options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    border: 1px solid #ccc;
    z-index: 1;
    display: none;
}

.ket_qua_tra_cuu .option {
    display: block;
    padding: 5px;
}

.ket_qua_tra_cuu .bg_hide {
    /*Ä‘oáº¡n css khĂ´ng click vĂ o Ä‘Æ°á»£c*/
    pointer-events: none;
    color: #999;
}

.ket_qua_tra_cuu .option:hover {
    background-color: #1e90ff;
    color: #fff;
}

.ket_qua_tra_cuu .option.selected {
    background-color: #1e90ff;
    color: #fff;
}

.ket_qua_tra_cuu .select.open .options {
    display: block;
}

.chothuchien {
    font-size: 22px;
    margin: 20px 0 60px 0;
    display: block;
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.box_kq_3 .box_kq_dv .box_bs {
    text-align: center;
    width: 300px;
    float: right;
    clear: both;
    display: block;
}

.box_kq_3 .box_kq_dv .box_bs .time {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #2F4858;
    margin-bottom: 6px;
}

.box_kq_3 .box_kq_dv .box_bs .tl1 {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #2F4858;
    margin-bottom: 60px;
}

.box_kq_3 .box_kq_dv .box_bs .tl2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #2F4858;
    margin-bottom: 0px;
}

.box_kq_3 .box_kq_dv .box_hinhanh {
    margin-bottom: 0;
}

.box_kq_3 .box_kq_dv .box_hinhanh img {
    display: block;
    margin: 0 auto 25px auto;
    width: 100%;
    height: auto;
}

.box_kq_3 .box_kq_dv .box_hinhanh img:last-child {
    margin-bottom: 0;
}

.dl_hoso {
    display: inline-block;
    background: #3BB549;
    color: #fff;
    border-radius: 6px;
    padding: 0 20px;
    text-decoration: none;
}

.dl_donthuoc {
    display: inline-block;
    background: #3BB549;
    color: #fff;
    border-radius: 6px;
    padding: 0 20px;
    margin: 10px 0;
    text-decoration: none;
}

.btn-download-service-all {
    display: inline-block;
    background: #3BB549;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    padding: 0 20px;
}

.btn-download-service-all:hover {
    background-color: #2d8a37;
}

.download-menu-wrapper-all {
    position: relative;
    display: inline-block;
    width: unset;
    margin-top: 20px;
    padding: 0 20px;
}

@media (max-width: 600px) {
    .download-menu-wrapper-all {
        display: block;
        margin-top: 20px;
        text-align:center;
        width: 100%;
    }
}

.service-dropdown-list-all {
    display: none; /* Ẩn mặc định */
    position: absolute;
    left: 180px;
    bottom: 20px;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 12px 24px 0px rgba(0,0,0,0.25);
    z-index: 101;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 10px;
    border: 1px solid #ddd;
}

/* Hiển thị khi hover vào wrapper */
.download-menu-wrapper-all:hover .service-dropdown-list-all {
    display: flex;
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 5px 10px;
}

.service-dropdown-list-all .dropdown-item {
    padding: 8px 16px;
    text-align: left;
    color: #2F4858;
    text-decoration: none;
    display: block;
}

.service-dropdown-list-all .dropdown-item:hover {
    background-color: #1e90ff;
    color: #fff;
}

/* Quan trọng: Reset lại style .service-header-container nếu bạn đã thêm nó ở bước trước */
.service-header-container {
    display: block !important; /* Đảm bảo tiêu đề nhóm dịch vụ trở lại bình thường */
    justify-content: unset;
    align-items: unset;
}