/*************** Begin title lich van su *******************************/

#lich_van_su_title .title {
    color: #330033;
    font-size: 38px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 50px;
}

/*************** End title lich van su *******************************/

/*************** Begin lich van su *******************************/

#lich_van_su .thang-title {
    position: relative;
}

#lich_van_su .common-bg:after {
    content: '';
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

#lich_van_su .select-lich {
    background-color: white !important;
}

#lich_van_su .select-lich td select {
    width: 100%;
    height: 32px;
}

#lich_van_su .image-header {
    margin: 0px;
    padding: 0px;
}

#lich_van_su .image-header img {
    height: 100%;
    width: 100%;
}

#lich_van_su .thang-title .thang-nam-duong {
    text-align: center;
    font-size: 150%;
    padding: 10px 0;
    font-weight: bold;
    color: #330033;
}

#lich_van_su .thang-title td, #lich_van_su .select-lich td {
    border: 1px solid gray;
}

#lich_van_su .ngay-duong {
    padding: 10px 0;
}

#lich_van_su .thu-duong {
    text-align: center;
    font-size: 160%;
    font-weight: bold;
    padding: 10px 0;
    text-decoration: underline;
}

#lich_van_su .thang-chon td {
    border: 1px solid red;
    height: 2.3rem;
    font-size: 1rem;
}

#lich_van_su .ngay-am {
    text-align: center;
    font-size: 50px;
    color: black;
    line-height: 100%;
}

#lich_van_su .common-lich-am {
    border: 0px !important;
    border: 1px solid rgba(179, 166, 166, 0.5) !important;
}

#lich_van_su .common-lich-am:first-child {
    border-left: 1px solid grey !important;
}

#lich_van_su .common-lich-am:last-child {
    border-right: 1px solid grey !important;
}

#lich_van_su .ngay-duong, #lich_van_su .thang-nam-duong, #lich_van_su .thu-duong {
    border-top: 0px !important;
    border-bottom: 0px !important;
}

#lich_van_su .thang-chon {
    border: 1px solid grey !important;
}

#lich_van_su .thang td {
    border: 1px solid red;
}

#lich_van_su .icon-nex-pre {
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#lich_van_su .icon-nex-pre:hover {
    color: lightseagreen;
}

#lich_van_su .tennam {
    text-align: center;
    font-size: 150%;
    line-height: 120%;
    font-weight: bold;
    color: #000000;
    background-color: #CCCCCC
}

#lich_van_su .thang {
    font-size: '+fontSize+';
    padding: 1;
    line-height: 100%;
    table-layout: fixed
}

#lich_van_su .tenthang {
    text-align: center;
    font-size: 160%;
    line-height: 100%;
    font-weight: bold;
    color: #330033;
    background-color: #CCFFCC
}

#lich_van_su .navi-l {
    text-align: center;
    font-size: 75%;
    line-height: 100%;
    font-weight: bold;
    color: red;
    /* background-color: #CCFFCC */
}

#lich_van_su .navi-r {
    text-align: center;
    font-size: 75%;
    line-height: 100%;
    font-weight: bold;
    color: #330033;
    /* background-color: #CCFFCC */
}


#lich_van_su .ngaytuan {
    width: 14%;
    text-align: center;
    font-weight: bold;
    font-size: 125%;
    line-height: 100%;
    color: #330033;
    background-color: #FFFFCC
}

#lich_van_su .ngaythangchon {
    background-color: lightgreen !important;
}

#lich_van_su .ngaythang {
    cursor: pointer;
    background-color: #FDFDF0
}

#lich_van_su .ngaythang:hover {
    background-color: rosybrown;
}

#lich_van_su .homnay {
    background-color: #FFF000
}

#lich_van_su .tet {
    background-color: #FFCC99
}

#lich_van_su .am {
    text-align: right;
    font-size: 75%;
    line-height: 100%;
    color: blue
}

#lich_van_su .am2 {
    text-align: right;
    font-size: 75%;
    line-height: 100%;
    color: #004080
}

#lich_van_su .t2t6 {
    text-align: left;
    font-size: 125%;
    color: black
}

#lich_van_su .t7 {
    text-align: left;
    font-size: 125%;
    line-height: 100%;
    color: green
}

#lich_van_su .cn {
    text-align: left;
    font-size: 125%;
    line-height: 100%;
    color: red
}

#lich_van_su .hoang_dao, #lich_van_su .hac_dao {
    position: absolute;
    font-size: 10px;
    opacity: 0.7;
    top: 3px;
    left: 80%;
}

#lich_van_su .hoang_dao {
    color: orange;
}

#lich_van_su .hac_dao {
    color: grey;
}

/************************ End lich van su *************************************/

/************************* Begin thong tin tra cuu ********************************/

#thong_tin_tra_lich_van_su {
    border: 1px solid gray;
    min-height: 650px;
}

#thong_tin_lich {
    position: relative;
}

#thong_tin_lich .bg-table:after {
    content: '';
    background-image: url('/lichvansu-api/image/logo.png');
    background-size: cover;
    position: absolute;
    top: 60px;
    left: 15%;
    width: 400px;
    height: 600px;
    z-index: -1;
    opacity: 0.2;
}

#thong_tin_tra_lich_van_su .title {
    font-size: 24px;
    height: 50px;
    color: blue;
}

#thong_tin_tra_lich_van_su .common-data {
    margin-left: 10px;
}

#thong_tin_tra_lich_van_su .common-title {
    color: black;
    font-weight: bold;
    margin-left: 10px;
}

#thong_tin_tra_lich_van_su #thong_tin_mat_troi .dia_diem {
    font-size: 14px;
}

#thong_tin_tra_lich_van_su #thong_tin_mat_troi th, #thong_tin_tra_lich_van_su #thong_tin_mat_troi td {
    max-width: 50px;
}

/****************************** End thong tin tra cuu ******************************************/

/****************************** Begin sao tot xau ******************************************/

#sao_tot_xau .sao-xau {
    width: 50%;
    background-color: lightgreen;
    color: black;
}

#sao_tot_xau .sao-tot {
    background-color: lightgreen;
    color: red;
    width: 50%;
}

#sao_tot_xau #sao_tot {
    color: red !important;
}

/****************************** End sao tot xau ******************************************/

/****************************** Begin thap nhi ******************************************/

#thap_nhi .thap-nhi-truc {
    width: 50%;
    background-color: lightgreen;
    color: blue;
}

#thap_nhi .nhi-thap-bat-tu {
    background-color: lightgreen;
    color: blue;
    width: 50%;
}

#thap_nhi .kim-kinh-phu {
    background-color: lightgreen;
    color: purple;
    height: 15px;
    font-weight: bold;
    text-align: center;
    width: 50%;
}

#thap_nhi #nhi_thap_bat_tu_description .title {
    color: black;
    font-weight: bold;
}

#thap_nhi #kim_kinh_phuc_description .title {
    font-weight: bold;
}

/****************************** End thap nhi ******************************************/

/****************************** Begin thong tin lich co ban ******************************************/

#thong_tin_co_ban #lich_chinh_thu {
    background-color: lightcyan;
    font-weight: bold;
}


#thong_tin_co_ban #lich_chinh_table:after {
    content: '';
    background-image: url('/lichvansu-api/image/logo.png');
    background-size: cover;
    position: absolute;
    top: -60px;
    left: 30%;
    width: 400px;
    height: 600px;
    z-index: -1;
    opacity: 0.2;
}

#thong_tin_co_ban table td {
    table-layout: fixed;
    width: 200px;
}

/* #thong_tin_co_ban .thong-tin-co-ban-title th {
    background-color: lightgoldenrodyellow;
} */

#thong_tin_co_ban #select_gio_duong {
    width: 80px;
}

#thong_tin_co_ban .col-display {
    position: relative;
}

#thong_tin_co_ban .quai_khi_main {
    position: absolute;
    top: 3%;
    left: 70%;
}

#thong_tin_co_ban .quai_van_main {
    position: absolute;
    top: 39%;
    left: 70%;
}

#thong_tin_co_ban table td {
    padding: .3rem !important;
}

/****************************** End thong tin lich co ban ******************************************/

/****************************** Begin huyen khong dai quai ******************************************/

#hkdq .quai_khi_main {
    position: absolute;
    top: 16%;
    left: 70%;
}

#hkdq .quai_van_main {
    position: absolute;
    top: 50%;
    left: 70%;
}

#hkdq .quai_khi_box {
    position: absolute;
    top: 0%;
    left: 75%;
}

#hkdq .quai_van_box {
    position: absolute;
    top: 25%;
    left: 75%;
}

#hkdq #table_hkdq td {
    border: 0px !important;
}

#hkdq #table_hkdq .hkdq-title {
    height: 50px;
    font-weight: bold;
    color: black;
}

#hkdq .box_common {
    border: 1px solid blue;
    width: 100px;
    height: 200px;
    margin-left: 15px;
    text-align: center;
}

/****************************** End huyen khong dai quai ******************************************/

/****************************** Begin tinh lich theo gio ******************************************/

#tinh_theo_gio .quai_khi {
    position: absolute;
    top: 10%;
    left: 75%;
}

#tinh_theo_gio table td {
    table-layout: fixed;
    width: 100px;
}

#tinh_theo_gio #title_theo_gio {
    color: blue;
    font-size: 1.5rem;
}

#tinh_theo_gio .quai_van {
    position: absolute;
    top: 39%;
    left: 75%;
}

#tinh_theo_gio .phi-tinh-common {
    border: 1px solid blue;
    width: 100px;
    height: 100px;
}

#tinh_theo_gio .phi-tinh-bang-common {
    border: 2px solid white;
    height: 25px;
    width: 25px;
    padding-top: 0%;
}

#tinh_theo_gio .phi-tinh-bang-box {
    width: 100px;
}

#tinh_theo_gio .tinh-theo-gio-title {
    color: darkblue;
    background-color: lightcyan;
}

#tinh_theo_gio .phi_tinh_nam {
    color: blue;
}

#tinh_theo_gio .phi_tinh_thang {
    color: red;
}

#tinh_theo_gio .box-phi-tinh-bang-common {
    padding-left: 38%;
}

#tinh_theo_gio .phi-tinh-red {
    background-color: red;
    color: white !important;
    font-weight: bold;
}

#tinh_theo_gio .phi-tinh-black {
    background-color: black;
    color: white !important;
    font-weight: bold;
}

/****************************** End tinh lich theo gio ******************************************/

@media (min-width: 960px) {
    /* CSS */
    #thong_tin_tra_lich_van_su {
        margin-top: 0;
    }
}

/* 
    ##Device = Low Resolution Tablets, Mobiles (Landscape)
    ##Screen = B/w 481px to 767px
  */

@media (min-width: 320px) and (max-width: 960px) {
    /* CSS */
    #thong_tin_mat_troi {
        font-size: 0.8rem;
    }
    #sao_tot_xau {
        font-size: 0.8rem;
    }
    #thong_tin_tra_lich_van_su {
        margin-top: 10px;
    }
    #thong_tin_co_ban table {
        width: 750px;
    }
    #thong_tin_co_ban table th {
        padding: .2rem !important;
    }
    #thong_tin_co_ban .quai_khi_main {
        position: absolute;
        top: 3%;
        left: 75%;
    }
    #thong_tin_co_ban .quai_van_main {
        position: absolute;
        top: 39%;
        left: 75%;
    }
    #hkdq .box_common {
        border: 1px solid blue;
        width: 100px;
        height: 180px;
        margin-left: 10px;
        text-align: center;
    }
    #hkdq .quai_khi_box {
        position: absolute;
        top: 0%;
        left: 80%;
    }
    #hkdq .quai_van_box {
        position: absolute;
        top: 25%;
        left: 80%;
    }
    #tinh_theo_gio table th {
        padding: .2rem !important;
    }
    #tinh_theo_gio .quai_khi {
        position: absolute;
        top: 10%;
        left: 85%;
    }
    #tinh_theo_gio .quai_van {
        position: absolute;
        top: 33%;
        left: 85%;
    }
    #tinh_theo_gio table {
        width: 1000px;
    }
    /* for zoom  */
    #lich_van_su {
        margin-top: 10px;
    }
    #lich_van_su .thang-title {
        width: 450px;
    }
    #lich_van_su .select-lich {
        width: 450px;
    }
    #thong_tin_tra_lich_van_su {
        position: absolute;
        top: -690px;
        left: 500px;
        width: 500px;
    }
    #sao_tot_xau table {
        margin-top: 30px;
        width: 1000px;
    }
    #thap_nhi table {
        margin-top: 10px;
        width: 1000px;
    }
    #thong_tin_co_ban table {
        width: 1000px;
    }
    #hkdq .box_common {
        border: 1px solid blue;
        width: 100px;
        height: 180px;
        margin-left: 0px !important;
        text-align: center;
    }
}
