﻿html {
    height: 100%;
}

.datepicker {
    background-color: white;
}

/* header */
.logo {
    width: 40px;
    height: 40px;
}

.z-index-1200 {
    z-index: 1200;
}

.z-index-100 {
    z-index: 100;
}

.customBorderTop {
    border-top: 1px solid rgba(0, 0, 0, .15);
}
.input-need {
    color: red;
}

.text-Remark {
    color:darkgreen;
}

.text-titleDarkgreen {
    color: darkgreen;
}
.text-titleDarkblue {
    color: darkblue;
}

.text-titleDarkmagenta {
    color: darkmagenta;
}

/* main */
.mainBg {
    background-image: url("../Img/TopBg.png"), url("../Img/bg_bann.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left top, center bottom;
    background-size: 10%, contain;
}

.bgHeight {
    height: calc(100vh - 9rem);
}

.loginFormWidth {
    width: 70%;
}

.checkEye {
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* register */
.registerHeight {
    height: auto;
}

.registerFormWidth {
    width: 100%;
}

.registerTitleText {
    margin-left: 10rem !important;
}

.registerSubText {
    margin-left: 13.5rem !important;
}

/* footer */
.loginFooter {
    background-color: #002838;
    color: #ffffff;
    font-weight: bold;
}

footer .toggleFooter {
    padding: 0 10px;
    cursor: pointer;
    /*background-color: #46a560;*/
}

footer .fa-chevron-up.show {
    transform: rotate(180deg);
}

footer .mainFooter {
    display: none;
    text-align: left;
    font-size: 0.875rem;
    color: #fff;
}

@media (min-width: 767.98px) {
    /* main */
    .loginFormWidth {
        width: 50%;
    }

    /* footer */
    footer .mainFooter {
        padding: 12px;
        text-align: center;
    }

    /* register */
    .registerTitleText {
        margin-left: 10rem !important;
    }

    .registerSubText {
        margin-left: 13.5rem !important;
    }

    /* customUtilities */
    .border-md-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }

}

@media (min-width: 991.98px) {
    /* main */
    .bgHeight {
        height: calc(100vh - 12.5rem);
    }

    .loginFormWidth {
        width: 25%;
    }

    /* register */
    .registerFormWidth {
        width: 70%;
    }

    .registerTitleText {
        margin-left: 10rem !important;
    }

    .registerSubText {
        margin-left: 13.5rem !important;
    }
}

@media (min-width: 1400px) {
    /* register */
    .registerHeight {
        min-height: calc(100vh - 12.5rem);
    }
}

/*other files*/
iframe {
    width: 100%;
    height: 99%;
    overflow: auto;
}

th,
td {
    padding: 4px !important;
}

td > button {
    margin-right: 4px !important;
}

.customFormSelectHeight {
    height: 46px;
}
.customFormRadioHeight {
    height: 100vh;
    max-height: 110px
}
.customFormEHeight {
    height: 67px;
}
.customFormFHeight {
    height: 27vh;
}
.mainTitle {
    border-bottom: 2px solid #12a5a1;
    text-align: center;
    margin-bottom: 1rem;
}

.mainTitle h2 {
    display: inline-block;
    border-bottom: 2px solid #009090;
}

.subTitle p {
    color: #009090;
    font-size: 1.375rem;
    font-weight: bold;
}

.subTitle p::before {
    content: "｜";
    display: inline-block;
    vertical-align: text-bottom;
    color: #009090;
    padding-right: 10px;
    font-weight: bold;
}

.detailsWrap > * {
    padding: 1rem 0;
}

.table_default {
    /*table格式*/
    margin: auto;
    width: 100% !important;
    word-break: break-all;
    margin-top: 1rem;
}

.table_default th,
.table_default td {
    padding: 5px 5px;
}

@media only screen and (min-width: 768px) {
    .table_default th,
    .table_default td {
        border: 1px solid #fff;
    }
}

.table_default thead {
    background-color: #00909d;
}

.table_default thead th {
    color: #fff;
    font-weight: bold;
}

@media only screen and (min-width: 768px) {
    .table_default tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .table_default tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }
}

@media only screen and (max-width: 767px) {
    .table_default thead {
        display: none;
    }

    .table_default tbody tr {
        display: block;
        border: 1px solid #00909d;
        margin: 10px 0;
        border-radius: 5pt;
    }

    .table_default tbody td {
        display: block;
        text-align: left;
        padding: 5px 1rem 5px 2rem;
        color: black;
    }

    .table_default tbody td:before {
        color: #00909d;
        text-indent: -1rem;
        content: attr(data-th);
        font-weight: bold;
        display: block;
    }
}

div > label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}