/* 共通 css */

a {
    color: #566f31;
}

a:hover {
    color: #566f31;
}

.w-100 {
    width: 100% !important;
}

.w-69 {
    width: 69% !important;
}

.w-58 {
    width: 58% !important;
}

.w-49 {
    width: 49% !important;
}

.w-40 {
    width: 40% !important;
}

.w-29 {
    width: 29% !important;
}

.bg-grey {
    background: #F5F5F5;
}

.btn-grey {
    background-color: #E8E8E8 !important;
    color: #A3A3A3 !important;
}

.btn {
    background-color: #566f31;
    color: #ffffff;
    border: none;
    font-size: 17px;
    padding: 6px 15px;
    cursor: pointer;
    border-radius: 24px;
}

.btn:hover {
    background-color: #4a5f2a;
    color: #ffffff;
}

.btn-outline-primary {
    color: #566f31;
    background-color: #fff;
    padding: 5px 15px;
    border: 2px solid #566f31;
    border-radius: 24px;
    outline: none;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: #566f31;
    border-color: #566f31;
    outline: none;
}

.btn-default {
    background-color: #566f31;
}

.btn-default:hover {
    background-color: #3d5716;
    color: #fff;
}

input {
    border-radius: 24px;
    border: 1px solid #888;
    padding: 5px 10px;
    margin-bottom: 20px;
}


/* sign-in page css */

.login {
    width: 100%;
    position: relative;
    background: #F5F5F5;
    padding: 20px 0;
}

@media(max-width:768px) {
    .login {
        padding: 10px 0;
    }
}


.login_box {
    width: 915px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 1px 4px 22px -8px #0004;
    display: flex;
    overflow: hidden;
}

@media(max-width:1024px) {
    .login_box {
        width: 850px;
    }
}

@media(max-width:900px) {
    .login_box {
        width: 90%;
    }
}

.login_box .account-contact {
    height: 100%;
    padding: 25px 25px;
}

.register-btn {
    position: absolute;
    right: 30px;
}

.account-contact {
    height: 100%;
    margin: auto;
    padding: 0 20px;
    background: #fff;
}

@media(max-width:450px) {
    .account-contact {
        padding: 0;
    }
}

.account-contact h3 {
    text-align: center;
    margin-bottom: 40px;
}

.account-contact input {
    border: none;
    margin: 0 0 15px 0px;
    border: 1px solid #707070;
    padding: 7px 9px;
    overflow: hidden;
    font-weight: 400;
    font-size: 14px;
}

.account-contact label {
    font-weight: 500;
    color: #333333;
}

input[type=text],
input[type=date],
input[type=password],
input[type=email],
input[type=birthday] {
    width: 100%;
}

.submit {
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: auto;
    margin: 40px 0;
    background: #566f31;
    color: #fff;
    font-weight: bold;
    box-shadow: 0px 9px 15px -11px rgb(132, 132, 132);
}

.forget-password {
    font-size: 15px;
    color: #999999;
    cursor: pointer;
}

.forget-password-modal .modal-body .btn {
    width: 120px;
}

.account-bn {
    background-color: #566f31;
    background-image: url('../img/sign-in-bg.png');
    color: #fff;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.left-text h2 {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 50px;
    font-weight: 500;
}

.left-text h5 {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 19px;
    font-weight: 400;
}

.top_link img {
    width: 28px;
    padding-right: 7px;
    margin-top: -3px;
}

.social-login {
    text-align: center;
}

.social-login h5 {
    font-size: 14px;
    color: rgb(185, 185, 185);
    letter-spacing: 1.5px;
    position: relative;
    font-weight: 400;
}

.social-login h5 span:after,
.social-login h5 span:before {
    content: "";
    position: absolute;
    top: 50%;
    background: rgb(185, 185, 185);
    width: 32%;
    height: 1px;
}

.social-login h5 span:before {
    left: 0;
}

.social-login h5 span:after {
    right: 0;
}

.social-login p {
    font-size: 13px;
    color: #999999;
}

.social-login img {
    width: 60px;
    margin: 0 20px;
}

@media(max-width:500px) {
    .social-login img {
        margin: 0 5px;
    }

    .social-login h5 span:after,
    .social-login h5 span:before {
        width: 26%;
    }
}

.password-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.password_input {
    outline: 0;
    background: none;
    transition: width .4s linear;
    font-weight: 300;
    caret-color: #566f31;
    text-overflow: ellipsis;
}

.preview_icon,
.preview_icon-1 {
    color: #666;
    text-decoration: none;
    height: 16px;
    width: 16px;
    cursor: pointer;
    display: flex;
    padding-right: 20px;
    margin: -15px 0 0 -20px;
    justify-content: center;
    align-items: center;
}

.preview_icon:hover {
    color: #666;
    text-decoration: none;
}

.preview_icon i {
    font-size: 18px;
}

.alert-danger ul {
    margin-bottom: 0 !important;
    padding-inline-start: 10px !important;
    padding: 0.3rem 1.25rem !important;
}


/* register page css */

#register-form {
    background-color: #ffffff;
    width: 100%;
}

.register-point {
    font-size: 14px;
    color: #566f31;
    font-weight: 400;
}

.code-btn {
    background-color: #566f31;
    border: none !important;
    width: 40%;
}

#agree-service-policy {
    width: 17px;
    height: 17px;
    margin-top: 20px;
}


/* Hide all steps by default: */

.register-tab {
    display: none;
}

.register-tab #phone {
    width: 58%;
}

.service-policy-text {
    display: contents;
    font-weight: 400;
}

#prevBtn {
    background-color: #e6e6e6;
    color: #B2B2B2;
    border: none;
    font-size: 17px;
    padding: 6px 15px;
    cursor: pointer;
    border-radius: 24px;
    width: 49%;
}

#nextBtn {
    width: 49%;
}


/* Make circles that indicate the steps of the form: */

.register-step {
    width: 49%;
    height: 28px;
    padding: 0px 10px;
    margin: 0 -1px;
    border-bottom: 4px solid #bbbbbb;
    display: inline-block;
    opacity: 0.5;
}

.register-step.active {
    opacity: 1;
    border-bottom: 4px solid #03c27c;
    color: #03c27c;
    font-weight: 400;
}


/* Mark the steps that are finished and valid: */

.register-step.finish {
    border-bottom: 4px solid #00a76a;
    color: #00a76a;
    font-weight: 500;
    opacity: 1;
}

label {
    user-select: none;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]+label {
    text-align: center;
    width: 32%;
    z-index: 10;
    font-size: 14px;
    margin: 0 0 5px 0;
    position: relative;
    color: #ced4da;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: 400;
    background-color: #ffffff;
    border: 2px solid #ced4da;
    cursor: pointer;
    transition: all 200ms ease;
}

input[type="radio"]:checked+label {
    color: #fff;
    background-color: #566f31;
    border: 2px solid #566f31;
}

input[type="radio"]+label {
    padding: 5px 20px;
    border-radius: 24px;
}


/* 變更密碼&重設密碼 css */

.password-box {
    position: relative;
}

.password-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1em;
}


/* change_number page css */

.tel-disabled {
    background: #EAEAEA;
    border-color: #EAEAEA;
}


/* edit_user_profile page css */

.mail-point {
    background-color: rgb(255, 97, 35);
    color: #fff;
    padding: 2px 8px;
    border-radius: 24px;
    font-size: 13px;
    border: none;
    letter-spacing: 0.5px;
}

.phone-point {
    background-color: rgb(221, 221, 221);
    color: rgb(124, 124, 124);
    padding: 4px 8px;
    border-radius: 24px;
    font-size: 13px;
    cursor: pointer;
}

.phone-point:hover {
    background-color: rgb(124, 124, 124) !important;
    color: #fff !important;
}


/* reset_password page css */

.password_box {
    width: 100%;
    position: relative;
}

.password_box {
    width: 915px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 1px 4px 22px -8px #0004;
    display: flex;
    overflow: hidden;
}

.password_box .account-bn {
    min-height: 600px;
}

.password_box .account-contact {
    height: 100%;
    padding: 25px 25px;
    margin: 0;
}

@media(max-width:1024px) {
    .password_box {
        width: 850px;
    }
}

@media(max-width:900px) {
    .password_box {
        width: 90%;
    }
}

@media(max-width:767px) {
    .password_box .account-bn {
        min-height: auto;
    }
}


/* service_policy page css */

.policy-content .nav-pills .nav-link {
    background-color: #E6E6E6;
    color: #B2B2B2;
    border-radius: 24px;
    margin: 8px 8px 0 0;
}

.policy-content .nav-pills .nav-link.active {
    background-color: #566f31;
    color: #fff;
    border-radius: 24px;
}


/* account_deletion page css */

.policy-content label {
    user-select: none;
}

.policy-content input[type="radio"] {
    display: none;
}

.policy-content input[type="radio"]+label {
    text-align: center;
    width: 31.4%;
    z-index: 10;
    margin: 0 3px 5px 0;
    position: relative;
    color: #ced4da;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: 400;
    background-color: #ffffff;
    border: 2px solid #ced4da;
    cursor: pointer;
    transition: all 200ms ease;
}

.policy-content input[type="radio"]:checked+label {
    color: #fff;
    background-color: #566f31;
    border: 2px solid #566f31;
}

.policy-content input[type="radio"]+label {
    padding: 5px 20px;
    border-radius: 24px;
}

.policy-content select {
    padding: 2px 10px;
}


/* header css */

.account-member {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%)
}

.login-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1.5px solid #566f31;
    color: #566f31;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.login-btn:hover {
    color: #fff;
    background-color: #566f31;
}

.mobile-nav {
    display: none;
}

@media(max-width:767px) {
    .account-member {
        display: inline-block;
        position: relative;
        right: auto;
        top: auto;
        transform: translateY(0);
    }

    .login-btn {
        position: absolute;
        right: 0;
    }

    .mobile-nav {
        display: block;
        margin: 10px 0;
    }

    .navbar-login {
        position: relative;
        margin-bottom: 10px;
        margin-top: 1rem !important;
    }
}


/* footer css */

.footer {
    background-color: #EBEBEB;
    padding: 15px;
}

.footer .footer-item {
    color: #333333;
    display: flex;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.footer .footer-item li a {
    color: #333;
}

.footer .footer-item li a:hover {
    color: #566f31;
    text-decoration: none;
}

@media(max-width:767px) {
    .footer .footer-item {
        display: inline-block;
        font-size: 14px;
        line-height: 1.8;
    }

    .footer .footer-item li {
        display: inline-block;
    }
}