﻿body {
    font-family: 微軟正黑體;
}

input::-ms-reveal {
    display: none;
}

.logoCtn {
    padding: 20px 0;
    display: flex;

    .logo {
        margin: 0 auto;
    }
}

.title {
    text-align: center;
    padding-bottom: 20px;
    letter-spacing: 2px;
    cursor: default;
}

.custom_WebFooter {
    height: 35px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
}

td, th {
    border: 1px solid #cdcdcd;
    padding: 8px;
    border: none;
}

input:checked + label {
    color: #CC3300;
    background: #f1f1f1;
    font-weight: bolder;
    border-bottom-color: #CC3300;
}

.mytable {
    width: 400px;
    max-width: 100%;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    background-color: #fefefe;
    margin: auto;
    padding: 20px 40px 40px 40px;
}

.custom_LoginModalContent {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background-color: #fefefe;
    border: 1px solid #888;
    /*width: 300px;*/
    /* height: 338px; */

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom_Input {
    height: 30px;
    width: 200px;
    padding: 0.375rem 0.75rem;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom_input:focus {
    outline: none !important;
    border: 1px solid orangered;
    box-shadow: 0 0 10px #719ECE;
    border-color: orangered !important;
}

.input.custom_input:focus {
    outline: none !important;
    border: 1px solid orangered;
    box-shadow: 0 0 10px #719ECE;
    border-color: orangered !important;
}

#sLonginName {
    cursor: default;
}

.auto-style2 {
    width: 600px;
    margin: 0px 0px 0px 0px;
}

.myDropDownList {
    border: 2px solid #7d6754;
    border-radius: 5px;
    padding: 3px;
    -webkit-appearance: none;
    background-image: url('images/Arrowhead-Down-01.png');
    background-position: right;
    background-repeat: no-repeat;
    text-indent: 0.01px; /*In Firefox*/
    text-overflow: ''; /*In Firefox*/
    font-family: 微軟正黑體;
    font-size: larger;
}

.btn {
    width: 100%;
}

.btn-forget-pwd {
    color: #6c757d;
    background: #00000000;
    width: auto;
    float: right;
    border: 0px;
    border-radius: 0;
    border-bottom: 1px solid white;
    padding: 0;
}

.btn-forget-pwd:hover {
    color: black;
    border-bottom: 1px solid black;
}

.btn-forget-pwd:focus {
    box-shadow: none;
}

hr {
    margin: 0px 0px 20px 0px !important;
}

.pwd-title-ctn {
    margin-top: 10px;
}

#txtID {
    position: static;
    z-index: 999;
}
input[type=text], input[type=password] {
    flex: auto;
}
.pwd-input-ctn:has(input[disabled=disabled]) {
    background-color: #e9ecef !important;
}
input[disabled=disabled] ~ .eye {
    background-color: #e9ecef !important;
    border-radius: 0;
}

.pwd-input-ctn:has(input:focus) {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.pwd-input-ctn input:focus {
    box-shadow: none;
    border-color: #00000000;
}

.pwd-input-ctn:has(input:-internal-autofill-selected) {
    background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;
}

input:-internal-autofill-selected, input:-internal-autofill-selected ~ .eye {
    background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;
    border-radius: 0;
}

.eye {
    background-image: url(../images/eye.svg);
    background-color: #00000000;
    float: right;
    margin-top: -37px;
    width: 39px;
    background-repeat: no-repeat;
    background-position: center;
    border: 0px solid #00000000;
    height: 39px;
    cursor: pointer;
    position: static;
    z-index: 999;
    border-radius: 0;
}

.eye {
    background-image: url(../images/eye-hover.svg);
}

.eye-slash {
    background-image: url(../images/eye-slash.svg);
}

.eye-slash:hover {
    background-image: url(../images/eye-slash-hover.svg);
}

#main.pc {
    #dvIndexGogo {
        display: block;
    }

    #sLonginName {
        display: block;
    }
}

#main.mobile {
    input, label, div, span, button {
        font-size: 40px;
        border-radius: 5px;
    }

    input {
        font-size: 40px !important;
        padding: 28px !important;
    }

    #dvIndexGogo {
        display: none;
    }

    #sLonginName {
        display: none;
    }

    .mytable {
        width: 100%;
        border-color: #ffffff00;
        box-shadow: none;
        padding: 0px 100px 100px 100px;
    }

    .title {
        text-align: center;
        padding-bottom: 40px;
        letter-spacing: 5px;
        font-size: 70px;
        padding-top: 40px;
    }

    .pwd-ctn {
        margin-top: 40px;
    }

    .eye {
        margin-top: -90px;
        width: 100px;
        height: 120px;
        float: right;
        background-color: #00000000;
        background-size: 50%;
    }
}

.pwd-input-ctn {
    display: flex;
    border: 1px solid #ced4da;
    border-radius: 5px;

    input[type=text], input[type=password] {
        width: 80%;
        float: left;
        border-width: 0;
    }

    .eye {
        margin: 0;
        float: none;
        width: 20%;
        float: left;
        margin-top: 0 !important;
    }

    .navbar-brand {
        margin-right: 0;
    }
}
