﻿/* Login การคลัง */

.container {
    /*background: #fff;*/
    border-radius: 20px;
    /*box-shadow: 0px 5px 10px 1px grey;*/
}

.conteiner-logo{
    
}

.icon-visibility {
    background-image: url('../images/Rama9/banner/visibility_24px.png') ;
    width: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor:pointer;
    height:40px;
    position: absolute;
    bottom: 2.5px;
    right: 10px;
}

.icon-visibility-off {
    background-image: url('../images/Rama9/banner/visibility_off_24px.png');
    width: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    height: 40px;
}

.logo-img {
    /*    background-image: url('../images/icon/ko.png');*/
    background-image: url('../images/logo_full.png');
    height: 250px;
    width: 70%;
    margin: 0 auto!important;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

p {
    font-size: 16px;
    color: #02449b;
    margin: 0
}

input {
    outline: none;
    border: none
}
    textarea:focus,
    input:focus {
        /*border-color: transparent !important*/
    }

        input:focus::-webkit-input-placeholder {
            color: transparent
        }

        input:focus:-moz-placeholder {
            color: transparent
        }

        input:focus::-moz-placeholder {
            color: transparent
        }

        input:focus:-ms-input-placeholder {
            color: transparent
        }

    input::-webkit-input-placeholder {
        color: #999
    }

    input:-moz-placeholder {
        color: #999
    }

    input::-moz-placeholder {
        color: #999
    }

    input:-ms-input-placeholder {
        color: #999
    }

label {
    display: block;
    margin: 0
}

button {
    outline: none !important;
    border: none;
    background: 0 0
}

    button:hover {
        cursor: pointer
    }

.forgot-pw {
    font-size: 16px;
    line-height: 1.4;
    color: #02449b
}

.limiter {
    width: 100%;
    margin: 0 auto
}

.container-login {
    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;
    background: #f2f2f2
}

.wrap-login {
    width: 100%;
    background: #fff;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row-reverse
}

.login-more {
    width: calc(100% - 840px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /*.login-more::before {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, .1)
    }*/

    .login-more > img {
        height: 100%;
        width: 100%;
        max-width: none;
        position: relative;
        left: -5px;
    }

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
}

#welcome {
    width: 100%;
    display: block;
    color: #585858;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.8rem;
    font-size: 1.5em;
}

#titlename {
    width: 100%;
    display: block;
    font-size: 3em;
    color: black;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1.5rem;
}

.wrap-input {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.login-input {
    font-size: 1.3em;
    color: #02449b;
    line-height: 1.2;
    display: block;
    width: 100%;
    height: 45px;
    background: 0 0;
    border: 2px solid #5495d6;
    padding: 10px;
}

input.login-input {
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s
}

.fas {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    text-align: start;
}

    .fas::before {
        content: "";
        display: block;
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        -webkit-transition: all .4s;
        -o-transition: all .4s;
        -moz-transition: all .4s;
        transition: all .4s;
        background: #02449b
    }

    .fas::after {
        font-size: 25px;
        color: #02449b;
        content: attr(data-placeholder);
        display: block;
        width: 100%;
        position: absolute;
        top: 6px;
        left: 0;
        padding-left: 5px;
        -webkit-transition: all .4s;
        -o-transition: all .4s;
        -moz-transition: all .4s;
        transition: all .4s
    }

.login-input:focus + .fas {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1)
}

.login-input:focus + .focus-input100 {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1)
}

.login-input:focus {
    /*padding-left: 5px*/
}

    .login-input:focus + .fas::after {
        top: -22px;
        font-size: 25px
    }

    .login-input:focus + .fas::before {
        width: 100%
    }

    .login-input:focus + .focus-input100::after {
        top: -22px;
        font-size: 25px
    }

    .login-input:focus + .focus-input100::before {
        width: 100%
    }

.input-checkbox {
    display: none
}

.label-checkbox {
    font-size: 16px;
    color: #02449b;
    line-height: 1.4;
    display: block;
    position: relative;
    padding-left: 26px;
    cursor: pointer
}

    .label-checkbox::before {
        content: "\f00c";
        font-size: 16px;
        color: transparent;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 18px;
        height: 18px;
        border-radius: 2px;
        background: #fff;
        border: 1px solid #02449b;
        left: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%)
    }

.input-checkbox:checked + .label-checkbox::before {
    color: #02449b
}

.container-login-form-btn {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.login-form-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background-color: #5495d6;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    font-size: 24px;
    filter: drop-shadow(0px 2px 4px gray);
}

    .login-form-btn:hover {
        background: rgba(193,227,255,1)
    }


.validate-input {
    position: relative;
    display:flex;
    flex-direction:column;
}

.login-form-social-item {
    width: 36px;
    height: 36px;
    font-size: 18px;
    color: #fff;
    border-radius: 50%
}

    .login-form-social-item:hover {
        background: #333;
        color: #fff
    }


/*Small devices (landscape phones, 576px and up)*/

@media (min-width: 576px) {
    .login-form {
        width: 840px;
        min-height: 100vh;
        padding: 100px 100px;
    }

    .login-more {
        width: calc(100% - 840px);
        background-size: 100% 100%;
    }
}


/*Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) {
    .login-form {
        width: 100%;
        min-height: 100vh;
        padding: 0 100px;
    }

    .login-more {
    }
}


/*Large devices (desktops, 992px and up)*/

@media (min-width: 992px) {
    .login-form {
        width: 50%;
        min-height: 100vh;
        padding: 0 50px;
    }

    .login-more {
        width: 50%;
        background-size: 100% 100%;
    }
}


/*Extra large devices (large desktops, 1200px and up)*/

@media (min-width: 1200px) {
    .login-form {
        width: 50%;
        min-height: 100vh;
        padding: 0 100px;
    }

    .login-more {
        width: 50%;
        background-size: 100% 100%;
    }
}

@media (min-width: 1600px) {
    .login-form {
        width: 50%;
        min-height: 100vh;
        padding: 0 200px;
    }

    .login-more {
        width: 50%;
        background-size: 100% 100%;
    }
}