@charset "utf-8";

/* CSS Document */

@import url("reset.css");
*,
 ::after,
 ::before {
    box-sizing: border-box;
}

body {
    font-size: 1em;
    background: #F9F9F9 url(bg.jpg) 50% 50% no-repeat;
    font-family: "微軟正黑體", Ariel;
}

.wrap {
    width: 100%;
    min-height: 768px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flex-basic {
    flex-basis: 25%;
}

.col {
    flex: 1 0 0%;
}

.p-3 {
    padding: 1rem;
}

.mb-3 {
    margin-bottom: .75rem;
}

.d-grid {
    display: grid;
    margin-top: 1.2rem;
}

.fs-7{font-size: .85rem; color: #8a8a8a;}


.header {
    width:100%;
    height: 230px;
    background: url(pic.png);
    background-size: cover;
    border-radius: 10px;
    margin: 1rem 0;
    position: relative;
}

.header img{
    position: absolute;
    bottom: 0;
}

.container {
    width: 360px;
    position: relative;
    margin: 0 auto;
    padding-top: 3rem;
}

.login {
    color: #757575;
    background: #fff;
    margin: 0 auto;
    border-radius: .25rem;
    -webkit-border-radius: .25rem;
    -moz-border-radius: .25rem;
    -ms-border-radius: .25rem;
    -o-border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 6px;
}

.login-title{
    color: #DB170E;
    font-weight: bold;
    font-size: 1.2rem;
    padding-top: 1.5rem;
    padding-bottom: .5rem;
}

.login-title::before{
    display: inline-block;
    content: "";
    width: 40px;
    height: 5px;
    background-color: #DB170E;
    margin-right: 1rem;
    vertical-align: middle;
}

.form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn {
    display: inline-block;
    font-weight: bold;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    color: #fff;
    background-color: #a9b2b9;
    border-color: #a9b2b9;
}

.btn-success {
    color: #fff;
    background-color: #DB170E;
    border-color: #DB170E;
}

.btn-primary:hover {
    color: #fff;
    background-color: #1f70a7;
    border-color: #1f70a7;
    transition: all .75s;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #9aa3aa;
    border-color: #9aa3aa;
    transition: all .75s;
}

.btn-success:hover {
    color: #fff;
    background-color: #c5240e;
    border-color: #c5240e;
    transition: all .75s;
}

.d-account {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: .75rem;
}

.rounded {
    display: inline-block;
    background-color: #383838;
    text-align: center;
    border-radius: 50px;
    color: #FFF;
    padding: .25rem 1.25rem;
    margin: 1rem 0;
    font-size: .8rem;
    font-weight: bold;
}

.login .forget {
    text-align: center;
    display: block;
    padding: 2% 0;
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
}

.copyright {
    width: 100%;
    background: rgb(211, 211, 211);
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
}

.red {
    color: #e93f0c;
}

.error {
    background: #e93f0c;
    padding: 20px;
    color: #fff;
    border-radius: 3px 3px 0 0;
    font-size: 1.2em;
    font-weight: bold;
}

.info {
    padding: 1rem;
    background-color: #ffffff;
    margin: 1rem 0;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 6px;
    line-height: 1.5;
    font-size: .9rem;
}

.link {
    text-align: center;
    margin: 1rem 0;
}

.link a {
    color: #757575;
    font-size: .9rem;
}


/*---------rwd----------*/

@media screen and (max-width: 400px) {
    .container {
        width: 100%;
        padding: 1rem;
    }

    .header {
        height: 200px;
        background-position: 50% 50%;
    }

    .header img {
        width: 100%;
    }
}


@media screen and (max-width: 300px) {
    .flex-basic {
        flex-basis: 100%;
        margin-bottom: .25rem;
    }
    
}

.fs {
    color: #686868;
    font-size: .9rem;
    margin: 0 .5rem;
}

.border {
    border-bottom: 1px solid #b1b1b1;
    flex-grow: 1;
    margin: 1.5rem 0;
}

a.btn365 {
    display: block;
    font-size: 1.1rem;
    border: 1px solid #333333;
    color: #333333;
    text-decoration: none;
    background-color: #ffffff;
    padding: .75rem;
    text-align: center;
    border-radius: .25rem;
}

.o365 {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(o365.png);
    background-repeat: no-repeat;
    vertical-align: -5px;
    background-size: 100%;
    margin-right: .75rem;
}

a.btn365:hover {
    background-color: #e9e9e9;
    color: #181818;
    transition: .5s all;
}