@charset "UTF-8";

header,
footer,
.crumb {
    display: none;
}

main {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 0;
}

.login__item {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
    justify-items: center;
    justify-content: center;
    width: calc(100% - 30px);
    max-width: 650px;
    box-shadow: 20px 20px 60px rgba(193, 193, 193, .4);
}

/****圖片區塊****/
.login__item__pic {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
    justify-items: center;
    justify-content: center;
    width: 47.5%;
    border-radius: 5px 0 0 5px;
    overflow: hidden;
}

.login__item__pic__acc {
    width: 80px;
    height: auto;
    background: #111;
}

.login__item__pic__acc__icon {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    margin: 20px auto 0 auto;
    overflow: hidden;
}

.login__item__pic__acc__icon img {
    object-fit: contain;
    object-position: center;
    width: 40%;
    height: 40%;
    filter: brightness(100);
}

.login__item__pic__main {
    width: calc(100% - 80px);
}

.login__item__pic__main img {
    object-fit: cover;
    object-position: left bottom;
    width: 100%;
    height: 100%;
}

.login__item__pic__main .mb {
    display: none;
}


/****登入區塊****/
.login__item__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 52.5%;
    padding: 40px 30px;
    border-radius: 0 5px 5px 0;
    background: #fff;
    overflow: hidden;
}

.login__item__content__form {
    width: 100%;
    padding: 45px 0 0 0;
    margin: 35px auto 0 auto;
    border-top: 1px solid #e5e5e5;
}

.login__item__content__form__text {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    color: #888;
    text-align: center;
    margin: 0 auto 20px auto;
}

.login__item__content__form input[type="text"],
.login__item__content__form input[type="password"],
.login__item__content__form select {
    margin: 0 auto 10px auto;
}

.login__item__content__form__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    margin: 20px auto 50px auto;
}

.login__item__content__form__sub__link {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    color: #888;
    padding: 0 10px 0 0;
    margin: 0 10px 0 0;
    border-right: 1px solid #888;
    transition: color .4s ease-in-out;
}

.login__item__content__form__sub__link:last-child {
    border: none;
    padding: 0;
    margin: 0;
}

.login__item__content__form__sub__link:hover {
    color: #a40000;
}

.login__item__content__form__bt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: space-between;
}

.login__item__content__form__bt [class|="c-bt"] {
    display: flex;
    width: calc(50% - 2.5px);
    max-width: 140px;
    margin: 0;
    padding: 15px 5px;
}

/****關閉鈕****/
.login .c-close {
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
}

/****===========================****/
/****==========忘記密碼=========****/
/****==========================****/
.forget .login__item__content__form {
    padding: 30px 0 0 0;
}

.forget .login__item__content__form__bt {
    justify-items: flex-end;
    justify-content: flex-end;
    margin: 25px auto 0 auto;
    padding: 20px 0 0 0;
    border-top: 1px solid #e5e5e5;
}

.forget .login__item__content__form input[type="text"] {
    margin: 0 auto;
}

/****===========================****/
/****==========會員註冊=========****/
/****==========================****/
.registered .login__item__content__form .c-captcha input[name="captcha"] {
    margin: 0;
}

.registered .c-captcha__pic {
    width: 117px;
    flex: 0 0 117px;
}

.registered .login__item__content__form {
    padding: 20px 0 0 0;
    margin: 20px auto 0 auto;
}

.registered .login__item__content__form input[type="text"],
.registered .login__item__content__form input[type="password"],
.registered .login__item__content__form select {
    margin: 0 auto 5px auto;
}

.registered .c-form__birthday select {
    margin: 0 0 5px 0;
}

.registered .login__item__content__form__bt {
    margin: 20px auto 0 auto;
    padding: 20px 0 0 0;
    border-top: 1px solid #e5e5e5;
}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 767px) {

    /****圖片區塊****/
    .login__item__pic {
        width: 100%;
        border-radius: 5px 5px 0 0;
    }

    .login__item__pic__acc {
        width: 100%;
    }

    .login__item__pic__acc__icon {
        width: 40px;
        height: 40px;
        margin: 10px auto 10px 10px;
    }

    .login__item__pic__main {
        width: 100%;
    }

    .login__item__pic__main .pc {
        display: none;
    }

    .login__item__pic__main .mb {
        display: block;
    }

    /****登入區塊****/
    .login__item__content {
        width: 100%;
        border-radius: 0 0 5px 5px;
        padding: 20px 30px 40px 30px;
    }

    .login__item__content__form {
        margin: 25px auto 0 auto;
    }

    /****關閉鈕****/
    .login .c-close {
        top: -20px;
        right: -10px;
    }
}

@media screen and (max-width: 575px) {

    /****登入區塊****/
    .login__item__content {
        padding: 20px 15px;
    }

    .login__item__content__form {
        padding: 20px 0 0 0;
    }

    .login__item__content__form__sub {
        margin: 10px auto 20px auto;
    }

    .login__item__content__form__bt [class|="c-bt"] {
        width: 100%;
        max-width: none;
        margin: 0 0 5px 0;
    }

    /****===========================****/
    /****==========忘記密碼=========****/
    /****==========================****/
    .forget .login__item__content__form {
        padding: 20px 0 0 0;
    }
}

/****IOS樣式****/
@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 991px) {
        main {
            min-height: calc(100vh - 30px);
        }
    }

    @media screen and (max-width: 575px) {
        main {
            min-height: calc(100vh - 30px);
        }
    }
}