﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url(/Images/HK/bg3.png) no-repeat center center;
    /*background: url(/Images/bg3.png) no-repeat bottom center;*/
    -moz-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 100vh;
}

.logo-wrapper {
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.logo-form {
    max-width: 450px;
    width: 100%;
}

.logo-wrapper form {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
}

/*logo*/
.logo_w {
    max-width: 300px;
    margin: auto;
    padding: 8px;
    margin-bottom: 2rem;
}

    .logo_w img {
        display: block;
        width: 100%;
        height: auto;
        padding: 8px;
    }

/*問號*/
.btn_question a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: auto;
    background: #fff;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* 選教師學生 */
.switch-slide .switch-slide-label {
    display: inline-block;
    width: 100px;
    padding: 16px 0 16px 0;
    border-radius: 30px 0 0 30px;
    border: solid #410B8B 2px;
    cursor: pointer;
    position: relative;
    text-align: center;
    line-height: 2px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

.switch-slide .switch-slide-label-background {
    display: inline-block;
    width: 100px;
    padding: 16px 0 16px 0;
    border-radius: 30px 0 0 30px;
    border: solid #410B8B 2px;
    cursor: pointer;
    position: relative;
    text-align: center;
    line-height: 2px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    background: #410B8B;
    color: #fff;
}

.switch-slide .switch-slide-label:hover, .switch-slide .switch-slide-label:focus {
    background: #410B8B;
    color: #fff;
}

.switch-slide input:checked + label {
    background: #410B8B;
    color: #fff;
}

/* 輸入框 */
.input-wrapper {
    position: relative;
    display: inline-block;
    min-width: 100%;
    margin-bottom: 1rem;
}

    .input-wrapper img {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        width: 20px;
    }

    .input-wrapper input {
        font-size: 18px;
        text-indent: 50px;
        height: 60px;
        width: 100%;
        border: #ddd solid 1px;
        border-radius: 30px;
        outline: none;
    }


/*記住我*/
.remember {
    margin-bottom: 25px;
    /* margin-top: -20px; */
    padding: 5px 20px;
    font-size: 15px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

#remember_me {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 .4em 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: middle;
    height: 18px;
    width: 18px;
    -webkit-appearance: none;
    /*opacity: .5;*/
}

    #remember_me:hover {
        opacity: 1;
    }

    #remember_me:checked {
        background-color: #0075FF;
        opacity: 1;
    }

    #remember_me:before {
        content: '';
        position: absolute;
        right: 50%;
        top: 50%;
        width: 4px;
        height: 10px;
        border: solid #FFF;
        border-width: 0 2px 2px 0;
        margin: -1px -1px 0 -1px;
        transform: rotate(45deg) translate(-50%, -50%);
        z-index: 2;
    }

/*按鈕樣式*/
.btn_login {
    margin-top: 30px;
    padding: 16px;
    /*max-width: 250px;*/
    width: 100%;
    color: #fff;
    background-color: #410B8B;
    font-size: 20px;
    border: none;
    border-radius: 30px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    font-weight: 600;
}

@media only screen and (max-width: 481px) {
    .logo-wrapper form {
        padding: 30px 15px;
    }

    .input-wrapper input {
        font-size: 16px;
        height: 50px;
    }

    .remember {
        margin-bottom: 15px;
    }
}
