/*******************************************  查驗中心 Login page ***/
body {
    background-color: #FFFFFF;
    background-position: left top;
    background-repeat: no-repeat;
    background-image: url(/frontweb/skin/pages/mbr/mbr1001/images/bg_1-94801339a4919146ead96ec07fcc1901.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.container > .row {
    align-items: flex-start;
    justify-content: center;
}

.bg-body-tertiary {
    --bs-bg-opacity: 1;
    background-color: transparent !important;
}


/******************************************* header ***/
header {
    padding-top: 20px;
}

.logo_box.container-fluid {
    align-items: flex-end;
}

h1.newZeroTitle {
    margin: 0;
    padding: 0;
    font-size: 0 !important;
    height: 0;
}

.logo_img {
    width: 260px;
    height: 41px;
    filter: drop-shadow(5px 5px 12px rgba(255, 255, 255, 0.3)) drop-shadow(5px 5px 30px rgba(255, 255, 255, 0.6));
}

.header_img {
    width: 20px;
    height: auto;
    margin-top: -5px;
}

header a {
    color: #000 !important;
    text-decoration: none;
}

header a:hover {
    color: #386ef3 !important;
}

header .nav-item:nth-child(2) {
    margin-left: 20px;
}

.mobile_menu {
    justify-content: flex-end;
    position: relative;
}

@media (max-width: 992px) {

    header .nav-item:nth-child(1),
    header .nav-item:nth-child(2) {
        margin-left: 0px;
        padding: 10px 20px;
        border-bottom: 2px solid #5b9cc4;
    }

    header .nav-item:last-of-type {
        border-bottom: none;
    }

    .mobile_menu {
        justify-content: flex-start;
    }
}

.navbar-toggler {
    border: none;
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: left !important;
        background-color: #fff;
        width: 100%;
        margin-top: 10px;
        border-radius: 0.5rem;
    }

    .navbar-nav:before {
        content: '';
        width: 0;
        height: 0;
        border: 8px solid;
        border-color: transparent transparent #fff transparent;
        position: absolute;
        right: 20px;
        top: -6px;
    }
}

.navbar-toggler:focus {
    box-shadow: none;
    background-color: #fff;
}

.navbar-toggler-icon img {
    width: 30px;
    height: auto;
}

/*******************************************  欄位 ***/
.login_card {
    margin: 0 12px;
}

.login_card .title_box {
    display: block;
}

.login_card .title_box h2 {
    font-size: 2rem;
    color: #6d1dab;
    /*   font-weight: 700;*/
}

.title_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    border-bottom: 3px solid #6d1dab;
    padding-bottom: 0px;
}

.login_card a {
    color: #1cb6fe;
    text-decoration: none;
    font-weight: initial;
}

.login_card a:hover {
    color: #0468f1;
    text-decoration: underline;
    font-weight: initial;
}

.tdC {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.tdC .tdC_left {
    width: 80px;
    margin-bottom: 15px;
    line-height: 1.8rem;
    /* font-weight: 900;*/
}

.tdC .tdC_right {
    width: calc(100% - 80px);
    margin-bottom: 15px;
    line-height: 1.8rem;
}

@media (max-width: 768px) {
    .tdC .tdC_left {
        width: 100%;
        margin-bottom: 5px;
        line-height: 1.2rem;
    }

    .tdC .tdC_right {
        width: 100%;
        margin-bottom: 15px;
        line-height: 1.8rem;
    }
}

.tdC .tdC_right .form-label {
    display: none;
}

.login_card .btn-primary {
    width: 100%;
    margin: 0 auto;
    zoom: 1.2;
}

@media (max-width: 768px) {
    .login_card .btn-primary {
        width: 100%;
    }
}

.doc_sec {
    margin-top: 20px;
    padding: 20px 0 0 0;
    border-top: 1px solid #dee2e6;
}

ul.list_item_1 {
    list-style-image: url('../images/com-icon-1.png');
    list-style-position: outside;
    padding-left: 1rem;
}

ul.list_item_1 li {
    margin-bottom: 5px;
}

ul.list_item_1 li a {
    line-height: 1.2rem;
}

.btn-primary {
    background-color: #624bff;
    border-color: #624bff;
    color: #fff;
}

.col-auto .form-control {
    border-radius: var(--bs-border-radius) !important;
}

.tdC_right .row.g-3 .col-auto:nth-of-type(1) {
    width: 72% !important;
}

@media (max-width: 1280px) {
    .tdC_right .row.g-3 .col-auto:nth-of-type(1) {
        width: 100% !important;
    }

    .tdC_right .row.g-3 .col-auto:nth-of-type(1) .form-control {
        width: 100% !important;
    }
}

/******************************************* footer ***/
.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 0 10px 0;
    margin: 1.5rem 1.5rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);

}

.footer div:nth-child(1) {
    width: 80px;
}

.footer div:nth-child(2) {
    /*    width: calc(100% - 80px);*/
    width: 60%;
}

@media (max-width: 1000px) {
    .footer div:nth-child(2) {
        width: calc(100% - 80px);

    }
}

@media (max-width: 768px) {
    .footer div:nth-child(1) {
        order: 2 !important;
        width: 100%;
    }

    .footer div:nth-child(2) {
        order: 1 !important;
        width: 100%;
    }
}

footer p {
    font-size: 1rem;
    line-height: 1.8rem;
}

footer span {
    color: #486e8e;
    font-size: 0.9rem;
    padding-left: 20px;
}

@media (max-width: 992px) {
    footer span {
        display: inline-block;
        width: 100%;
        padding-left: 0;
    }
}

footer a {
    text-decoration: none;
}
