/*******************************************  查驗中心 Login page ***/
body {
    background-color: #FFFFFF;
    background-position: left top;
    background-repeat: no-repeat;
    background-image: url(/frontweb/skin/assets_ext/extends/img/bg_3-3aafc6b073cd31a749e097a088a60526.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 {
    justify-content: space-between;
    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 {
        width: 100%;
        justify-content: flex-start;
    }
}

.navbar-toggler {
    border: none;
    font-size: 0 !important;
    width: 54px;
    height: 38px;
    margin-top: 6px;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    width: 54px;
    height: 38px;
    text-align: center;
    vertical-align: middle;
    background-image: none;
    position: relative;
}

@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: 29px;
        top: -6px;
    }
}

.navbar-toggler:focus {
    box-shadow: none;
    background-color: #fff;
}

.navbar-toggler-icon img {
    display: inline-block;
    width: 30px;
    height: auto;
    position: absolute;
    top: 1px;
    left: 5px;
}

.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: flex-end;
    width: 100%;
}

@media (max-width: 992px) {
    .logo_box.container-fluid {
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap !important;
        flex-direction: row !important;
    }
}

/*******************************************  系統名稱 ***/
.login_card {
    margin: 0 12px;
}

.login_card .title_box {
    display: block;
}

.login_card .title_box h2 {
    font-size: 3.2rem;
    color: #f0490e;
    font-weight: 700;
}

.title_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    border-bottom: 3px solid #f28b6c;
    margin-bottom: 20px !important;
}

.smooth-shadow-md {
    border-radius: 10px;
    border: none;
    box-shadow: 0 3px 20px rgba(93, 121, 121, 0.10) !important;
    box-shadow: none;
    margin-bottom: 20px !important;
}

.card {
    padding: 15px;
}

@media (max-width: 450px) {
    .card {
        padding: 15px 0px;
    }
}

.login_card a {
    color: #1c76f2;
    text-decoration: none;
}

.login_card a:hover {
    color: #f25702;
    text-decoration: underline;
}

/*******************************************  欄位 ***/
.form-select,
.form-control {
    border: 1px solid #bdc2c2;
    height: 38px;
    font-size: 1.6rem;
    border-radius: 6px;
    font-weight: 500;
}

.tdC {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.tdC .tdC_left {
    font-size: 1.8rem;
    width: 160px;
    margin-bottom: 15px;
    line-height: 3rem;
    font-weight: 700;
}

.tdC .tdC_right {
    width: calc(100% - 160px);
    margin-bottom: 15px;
    line-height: 2.8rem;
    display: inline-flex;
    flex-direction: row;
}

.tdC:nth-child(3) .tdC_right .form-control{
    width: 120px;
}

.tdC:nth-child(3) .tdC_right img,
.tdC:nth-child(3) .tdC_right a {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .tdC .tdC_left {
        width: 100%;
        margin-bottom: 5px;
        line-height: 1.9rem;
    }

    .tdC .tdC_right {
        width: 100%;
        margin-bottom: 15px;
        line-height: 2.8rem;
    }
}

@media (max-width: 400px) {

    .tdC:nth-child(3) .tdC_right img,
    .tdC:nth-child(3) .tdC_right a {
        margin-left: 0px;
    }
}

.doc_sec {
    margin-top: 20px;
    padding: 20px 0 0 0;
    border-top: 1px solid #dee2e6;
}

ul.list_item_1 {
    list-style-image: url('/frontweb/skin/assets_ext/extends/img/com-icon-1-08745669801af6cedc55a978d409fbd5.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.9rem;
}

.btn-primary {
    background-color: #f0490e;
    border-color: #f0490e;
    color: #fff;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.tdC_right .col-auto {
    flex: 0 0 auto !important;
    width: auto !important;
}

.password-container input:first-child {
    border-right: none;
}

.password-container button {
    border-radius: 0 6px 6px 0 !important;
    height: 38px;
    border-color: #bdc2c2;
    margin-top: 0px;
    border-left: none;
}

.password-container button:hover {
    background-color: #fff;
    border-color: #bdc2c2;
}

.eye_img {
    width: 35px;
    height: 35px;
    margin-top: -5px;
}

.email-container {
    display: inline-flex;
    justify-content: flex-start;
    align-content: center;
}

.email-container input:first-child {
    width: calc(100% - 106px - 19px);
}

.email-container button {
    width: 106px !important;
    height: 38px;
    margin-top: 0;
    margin-left: 16px;
}

.otp-container input:first-child {
    width: calc(100% - 106px - 19px);
}

.d-grid button {
    zoom: 1.2;
}

@media (max-width: 768px) {
    .email-container {
        flex-wrap: wrap;
    }

    .email-container input:first-child,
    .otp-container input:first-child {
        width: 100% !important;
    }

    #email-error-container {
        width: 100%;
    }

    .email-container button {
        width: 100% !important;
        margin-top: 10px;
        margin-left: 0;
    }
}

.CAPTCHA-container {
    display: inline-flex;
    justify-content: flex-start;
    align-content: center;
}

.CAPTCHA-container input:first-child {
    width: calc(100% - 200px - 19px);
}

.CAPTCHA-container .CAPTCHA-detail {
    width: 200px;
    margin-left: 16px;
}

/******************************************* 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: 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: 1.6rem;
    line-height: 2.8rem;
    margin-top: 0;
}

footer span {
    color: #486e8e;
    font-size: 1.4rem;
    padding-left: 20px;
}

@media (max-width: 992px) {
    footer span {
        display: inline-block;
        width: 100%;
        padding-left: 0;
    }
}

footer a {
    text-decoration: none;
}