html,
body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #F2F5FB;
    background-image: url(../images/bg.jpg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
}

.header {
    background-color: #3853A4;
    border-bottom: 10px solid #112D81;
    height: 240px;
    min-height: calc(100vh / 3);
    background-image: url(../images/header.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
}

.logo {
    position: absolute;
    font-size: 0px;
    top: 5.5rem;
    width: 350px;
    height: 85px;
    background-image: url(../images/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.sign-in {
    height: 380px;
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
}

.redo {
    display: inline-block;
    content: url(../images/redo.svg);
    width: 30px;
    height: 30px;
    padding: .35rem;
    transition: .75s all;
}

.btn-login {
    color: #fff;
    background-color:#D20818;
    border-color: #D20818;
    font-weight: bold;
    padding: .5rem 2rem;
}

.btn-login:hover {
    color: #fff;
    background-color: #bd0f1e;
    border-color: #bd0f1e;
}

.btn-info {
    color: #fff;
    background-color: #97d5d2;
    border-color: #97d5d2;
}

.btn-info:hover {
    color: #fff;
    background-color: #87cac7;
    border-color: #87cac7;
}

.btn-correct {
    color: #fff;
    background-color: #eb4e5d;
    border-color: #eb4e5d;
}

.btn-correct:hover {
    color: #fff;
    background-color: #e44252;
    border-color: #e44252;
}

.link-grey {
    color: #636F75;
    text-decoration: none;
}

.link-grey:hover {
    color: #47aad4;
    text-decoration: underline;
}

.slide .carousel-inner{
    height: 380px;
    border-radius: 1rem;
    border: 3px solid #ffffff;
}

.slide .carousel-inner img{ height: 380px;}
.form-control{height: 48px;}

footer{
    background-color: #ffffff;
    color: #3853A4;
    text-align: center;
    font-size:14px;
    padding: 1rem 0;
}

@media (max-width:1000px) {
    .logo {
        width: 100%;
        background-position: 50% 50%;
        background-color: #3853a4ab;
    }
}


/*忘記密碼 / 重整*/

.password-card {
    background-color: #ffffff;
    border-radius: .5rem;
    box-shadow: 0 0 .25rem 0 rgba(0, 0, 0, 0.15);
    padding: 1rem;
}

.ps-name {
    font-weight: bold;
    font-size: 1.25rem;
}

.password-card label {
    font-size: .9rem;
    color: #212529;
    display: inline-block;
    padding: .25rem;
}

.password-info {
    border-radius: .5rem;
    background-color: #fffbeb;
}


/*補*/

.full-main-box {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #efefef;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    border-radius: 0.25rem;
}

@media screen and (max-width: 1000px) {
    .header {
        background-color: #3853A4;
        border-bottom: 10px solid #112D81;
        height: 140px;
        min-height:auto;
        background-image:none;
        background-repeat: no-repeat;
        background-position: center right;
        background-size: cover;
    }

    .logo {
        position: absolute;
        font-size: 0px;
        top:1.4rem;
        left: 50%;
        margin-left: -175px;
        width: 350px;
        height: 85px;
        background-image: url(../images/logo.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
}