﻿html, body {
    background: url('../image/1920/background_Web_1920_body.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.login-header {
    display: flex;
    background: linear-gradient(45deg, #125781, #59d1f8);
    justify-content: center;
}

.login-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

div.login-logo > div.login-logo-width > img {
    max-width: 80%;
}

.login-title {
    margin-top: 13px;
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
}

.login-title > div {
    text-align: center;
}

div.login-title-header > label {
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
}

div.login-title-body > label {
    font-size: 3.2rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
}

.login {
    margin: 0 auto;
    margin-top: 10%;
    width: 42%;
    border-radius: 5px;
}

.login-form {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 7px;
    padding-top: 5%;
    padding-bottom: 10%;
    padding-left: 7%;
    padding-right: 7%;
    margin: 5% auto;
    box-shadow: 0px 1px 9px 5px rgb(255 255 255 / 20%);
}

.form-login-header {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

div.form-login-header > label {
    margin-top: 30px;
    font-size: 2rem;
}

.login-form .form-group .custom-checkbox .custom-control-label {
    top: 6px;
    left: 0;
    border: none;
    color: #ffffff;
}

    .login-form .form-group .custom-checkbox .custom-control-label:before {
        top: 6px;
        left: 0;
        width: 1.5rem;
        height: 1.5rem;
    }

.login input[type="text"],
.login input[type="password"] {
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    height: 42px;
    line-height: 3em;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #cfdbd9;
    outline: none;
    padding-left: 20px;
}

    .login input[type="text"]:focus,
    .login input[type="password"]:focus {
        border: 2px solid;
        border-color: rgb(0, 197, 200);
    }

.login-form input[type="checkbox"], input[type="radio"] {
    width: 1.5rem;
    height: 1.5rem;
}

.label-checkbox-login {
    display: inline-flex;
    align-items: center;
}

    .label-checkbox-login input {
        margin: -1px 5px 0 0;
    }

.login-form input[type="submit"] {
    margin-top: 30px;
    width: 100%;
    height: 42px;
    background: rgb(0, 197, 200);
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
    -webkit-box-shadow: 0px 1px 2px 1px rgba(0,0,0,.2);
    box-shadow: 0px 1px 2px 1px rgba(0,0,0,.2);
}

    .login-form input[type="submit"]:hover {
        background: rgb(0,177,180);
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    }

.userRemember {
    color: #ffffff;
}

div.login-form > input {
    font-size: 1.5rem;
    font-weight: 600;
}

.error-message {
    color: red;
    font-weight: 700;
    padding-top: 5px;
}
/*Media Querie*/
/*@media only screen and (max-width: 1920px) {
    
}*/
@media only screen and (max-width: 1600px) {
    div .login-logo > div.login-logo-width > img {
        max-width: 70%;
    }
}

@media only screen and (max-width: 1366px) {
    html, body {
        background: url('../image/1366/background_Web_1366.jpg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 100%;
    }

    div .login-title-header > label {
        font-size: 1.5rem;
    }

    div.login-title-body > label {
        font-size: 2.7rem;
    }

    .login {
        width: 35%;
        margin-top: 10%;
    }
}

@media only screen and (max-width: 1024px) {
    html, body {
        background: url('../image/ipad_12.9in/Background_iPad_Pro_12.9in_body.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 100%;
    }

    div .login-title-header > label {
        font-size: 1.5rem;
    }

    div.login-title-body > label {
        font-size: 2.7rem;
    }

    .login {
        width: 54%;
        margin-top: 30%;
    }
}


@media only screen and (max-width: 768px) {
    html, body {
        background: url('../image/ipad_12.9in/Background_iPad_Pro_12.9in_body.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 100%;
    }

    div.login-logo > div.login-logo-width > img {
        max-width: 60%;
    }

    div .login-title-header > label {
        font-size: 1.1rem;
    }

    div.login-title-body > label {
        font-size: 1.8rem;
    }

    .login {
        width: 50%;
        margin-top: 10%;
    }

    .login-logo {
        text-align: right;
    }
}

@media only screen and (max-width: 420px) {
    html, body {
        background: url('../image/Mobile/background_mobile.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 100%;
    }

    div .login-title-header > label {
        font-size: 1.1rem;
    }

    div.login-title-body > label {
        font-size: 1.8rem;
    }

    .login {
        width: 90%;
        margin-top: 10%;
    }

    .login-header {
        display: block;
    }

    .login-logo {
        margin-top: 25px;
        justify-content: center;
        text-align: center;
    }

    .login-title {
        text-align: center;
    }

    div .login-title-header > label {
        font-size: 14px;
    }

    div.login-title-body > label {
        font-size: 16px;
    }
}
