﻿html, body {
    height: 100%;
    font-family: 'Microsoft JhengHei';
}

@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: 1310px;
    }
}

.icon {
    display: inline-block;
}

.icon-arrow-lr {
    background: url(../Content/Images/icon-arrow-lr.png) no-repeat;
    width: 55px;
    height: 56px;
}

.btn-reset {
    background: url(../Content/Images/icon-reset.png) no-repeat;
    background-size: cover;
    width: 36px;
    height: 36px;
}

    .btn-reset:hover, .btn-reset:focus {
        background: url(../Content/Images/icon-reset.png) no-repeat;
        background-size: cover;
    }

.btn-login {
    background: url(../Content/Images/btn-login_bg.png) no-repeat;
    padding: 12 20px;
    font-size: 24px;
    width: 150px;
    height: 50px;
    display: inline-block;
    color: #fff;
}

    .btn-login:hover, .btn-login:focus {
        background: url(../Content/Images/btn-login_bg.png) no-repeat;
        color: #fff;
    }

.btn-login2 {
    background: #18494d;
    font-size: 24px;
    padding: 0;
    width: 100%;
    height: 50px !important;
    line-height: 50px;
    display: inline-block;
    color: #fff;
    border-radius: 6px !important;
}

    .btn-login2:hover, .btn-login2:focus {
        background: #18494d;
        color: #fff;
    }

.btn-primary2 {
    background: linear-gradient(#5189B7 0%, #2F6FA6 100%);
    font-size: 16px;
    color: #fff;
    border: 1px solid #ccc;
    padding: 12px 24px;
    width: 100%;
    border-radius: 6px;
}

    .btn-primary2:hover, .btn-primary2:focus {
        color: #fff;
        background: linear-gradient(#5189B7 0%, #2F6FA6 100%);
    }

.mt-20 {
    margin-top: 20px;
}

.login_wrap {
    background: url(../Content/Images/login_bg.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

@media only screen and (max-device-width: 767px) and (orientation: landscape) {
    .login_wrap {
        height: inherit;
    }
}

.login_wrap > div {
    width: 100%;
}

.login_wrap .body {
    padding-top: 2%;
    height: 90%;
    background: #FFF5D7 url(../Content/Images/login_bg.png) no-repeat bottom center;
}

@media (max-width: 767px) {
    .login_wrap .body {
        padding-top: 10%;
        background-size: 100%;
    }
}

@media only screen and (max-device-width: 767px) and (orientation: landscape) {
    .login_wrap .body {
        height: auto;
    }
}

.login_wrap .head {
    width: 100%;
}

    .login_wrap .head .container {
        position: relative;
        text-align: center;
    }

        .login_wrap .head .container h1.logo {
            background: url(../Content/Images/logo.png);
            width: 365px;
            height: 81px;
            position: absolute;
            left: 0;
        }

@media (max-width: 767px) {
    .login_wrap .head .container h1.logo {
        position: relative;
        transform: scale(0.7);
        transform-origin: top;
        background-size: cover;
        margin-bottom: -16px;
    }
}

.login_wrap .head .container h2.title {
    color: #58cb9f;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5%;
}

@media (max-width: 767px) {
    .login_wrap .head .container h2.title {
        font-size: 24px;
        margin: 0;
        padding: 0 15px;
    }
}

.login_wrap .head .container h2.title .subtitle {
    color: #18494d;
    font-size: 60px;
    display: block;
    font-weight: bold;
}

@media (max-width: 767px) {
    .login_wrap .head .container h2.title .subtitle {
        font-size: 27px;
    }
}

.login_wrap .content {
    position: relative;
    background-size: contain;
    background-position: right;
    background-blend-mode: multiply;
}

@media (max-width: 767px) {
    .login_wrap .content {
        margin: auto;
    }
}

.login_wrap .content.content-center {
    display: flex;
    align-items: center;
}

.login_wrap .content .panel-group {
    width: 700px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .login_wrap .content .panel-group {
        width: 100%;
    }
}

.login_wrap .content .panel-group .panel-head {
    position: relative;
    z-index: 3;
    margin-top: 40px;
    font-size: 24px;
    color: #00391e;
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .login_wrap .content .panel-group .panel-head {
        display: flex;
        justify-content: center;
        font-size: 15px;
        margin-top: 20px;
    }
}

.login_wrap .content .panel-group .panel-head i {
    margin-right: 12px;
}

@media (max-width: 767px) {
    .login_wrap .content .panel-group .panel-head i {
        transform: scale(0.6);
    }
}

.login_wrap .content .panel-group .panel-head .btn {
    margin-left: 12px;
}

@media (max-width: 767px) {
    .login_wrap .content .panel-group .panel-head .btn {
        display: none;
    }
}

.login_wrap .content .panel-group .panel-touch {
    position: absolute;
    top: 0;
    background: url(../Content/Images/login-touch.png) no-repeat;
    background-position: 0 0;
    background-size: cover;
    height: 100%;
    z-index: 2;
    display: block;
    width: 662px;
}

@media (max-width: 767px) {
    .login_wrap .content .panel-group .panel-touch {
        width: 100%;
        background-size: cover;
    }
}

.login_wrap .content .panel-group .btn-login-mobile {
    display: none;
}

@media (max-width: 767px) {
    .login_wrap .content .panel-group .btn-login-mobile {
        display: block;
        position: absolute;
        bottom: 1rem;
        left: 1rem;
        z-index: 2;
        font-size: 20px;
        height: 40px;
    }
}

.login_wrap .content .form {
    width: 390px;
    padding: 40px;
    margin: 0 auto;
    background: #fff;
    font-size: 18px;
    color: #000;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2),0 10px 30px rgba(0,0,0,0.3);
}

@media (max-width: 767px) {
    .login_wrap .content .form {
        transform: translate(0, 0) scale(0.7);
        transform-origin: center center;
        position: relative;
        left: 0;
        top: 8px;
        padding: 20px;
        padding-top: 40px;
    }
}

@media only screen and (max-device-width: 767px) and (orientation: landscape) {
    .login_wrap .content .form {
        transform: translate(0, 0) scale(0.7);
        left: 0;
    }
}

.login_wrap .content .form:before {
    content: 'LOGIN';
    position: absolute;
    top: 0;
    margin-top: -28px;
    margin-left: -62px;
    left: 50%;
    background: #18494d;
    color: #fff;
    width: 124px;
    height: 56px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-size: 26px;
    text-align: center;
    line-height: 56px;
    font-weight: bold;
}

.login_wrap .content .form.form2:before {
    content: '忘記密碼';
}

.login_wrap .content .form input {
    border-radius: 0;
    height: 36px;
    border: 1px solid #ccc;
}

.login_wrap .content .form ::-webkit-input-placeholder {
    color: #b0b0b0;
    font-size: 16px;
}

.login_wrap .content .form .form-group-password {
    position: relative;
}

    .login_wrap .content .form .form-group-password a {
        position: absolute;
        right: 0;
        bottom: -30px;
        color: #58cb9f;
    }

.login_wrap .content .form .captcha .captchaIn {
    display: flex;
    margin-top: 12px;
}

    .login_wrap .content .form .captcha .captchaIn a {
        display: block;
        flex-basis: 38px;
        margin-right: 6px;
    }

    .login_wrap .content .form .captcha .captchaIn input {
        flex: 1;
        height: 36px;
    }

.login_wrap .foot {
    align-self: flex-start;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 10%;
    background: #FFE59A;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .login_wrap .foot {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

@media only screen and (max-device-width: 767px) and (orientation: landscape) {
    .login_wrap .foot {
        position: relative;
    }
}

.login_wrap .foot .copyright {
    text-align: center;
    font-size: 15px;
    color: #0e538d;
    font-weight: bold;
}



@media (max-height:700px) {
 .content {
         transform: scale(.8);
    transform-origin: center 0;
 }
 .login_wrap .head .container h2.title {
     font-size:27px;
     margin-bottom:40px;
 }
 .login_wrap .head .container h2.title .subtitle {
     font-size:42px;
 }
}
