/**
 * Desain halaman login baru untuk eAsuransi
 * @author Mochammad Faizal Chaniago <mochammadfaizal@inovamedika.com>
 */

* {
    box-sizing: border-box;
    text-decoration: none !important;
    outline: none !important;
}

html {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    color: #424242;
}

body {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5em !important;
    background: linear-gradient(0deg, rgba(100, 180, 250, .9), rgba(100, 180, 250, .5), rgba(255, 255, 255, .25)),
        url("login/background_portrait.png") right top no-repeat;
    background-size: cover;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    margin-bottom: 15px;
}

hr {
    height: 1px;
    background: #bdbdbd;
    border: none;
}

a,
button {
    transition: .25s;
}

textarea {
    resize: none;
}

/* Third party override */

.row>div {
    margin-bottom: 0;
}

.form-control,
.input-group-addon {
    color: #424242;
    font-size: 14px;
}

.btn {
    margin: 30px 0 !important;
    padding: 10px;
    font-size: inherit !important;
    font-weight: initial;
    vertical-align: initial;
    white-space: normal;
}

/* Main content */

header {
    position: absolute;
    background: none;
    box-shadow: none;
}

.gambar {
    height: 100vh;
    min-height: 600px;
    margin: 0 -15px;
    background: url("login/background.png") center bottom no-repeat;
    background-size: cover;
    text-align: center;
}

.gambar .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    min-height: 600px;
}

.gambar .logo img {
    margin: 0;
    max-width: 85%;
    max-height: 85%;
}

.form-masuk {
    display: flex;
    height: 100vh;
    min-height: 600px;
}

.form-masuk h1 {
    margin: 30px 0;
    font-size: 2.5rem;
    line-height: 1.25em;
    font-weight: bold;
    text-align: center;
    color: #051A35;
}

.form-masuk a.submit {
    display: block;
    width: 75%;
    margin: 15px auto 0;
}

.form-masuk .daftar {
    margin: 40px 0 0;
    text-align: center;
}

.form-masuk>div {
    width: 100%;
    margin: auto 0;
}

.form-login-error p #message-login {
    display: block;
    position: relative;
    padding: 10px 15px;
    background: #d35b40;
    color: #fff;
    border-left: solid 5px #9E4430;
}

.form-login-error p #message-login:not(:empty)::after {
    content: "\f071";
    position: absolute;
    right: 10px;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 40px;
    color: rgba(0, 0, 0, .25);
    z-index: 1;
}

.form-login-error p #message-login:empty {
    padding: 0;
}

.form-status .form {
    z-index: 100;
}

.login-bottom-links {
    font-size: 12px;
    text-align: center;
    color: #424242;
}

.login-bottom-links a {
    color: #424242;
}

.login-bottom-links img {
    width: 120px;
}

/* tablet screen view */

@media (min-width: 768px) {
    header {
        padding: 10px 15px !important;
    }
}

/* desktop screen view */

@media (min-width: 992px) {
    body {
        background: #fafafa;
    }

    .form-masuk h1 {
        text-align: initial;
        color: #424242;
    }

    .form-masuk a.submit {
        display: inline-block;
        width: auto;
        margin: 15px 0 0;
    }

    .form-masuk .daftar {
        text-align: initial;
    }
}

/* large desktop screen view */

@media (min-width: 1200px) {}