﻿html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents all scrollbars */
}

/* == LAYER 1: THE BACKGROUND == */
.background-layer {
    position: fixed; /* Fixes it to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Places it behind the content */
    display: flex;
    flex-direction: column;
}

    .background-layer .top-half {
        height: 50%;
        background-color: #ffffff;
    }

    .background-layer .bottom-half {
        height: 50%;
        background-image: url('../../img/Login_BG_photo.png');
        /*background-image: url('../App_Themes/metronic/img/Login_BG_photo.png');*/
        background-size: cover;
        background-position: center;
    }

/* == LAYER 2: THE FLOATING CONTENT == */
.content-layer {
    position: fixed; /* Fixes it to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Places it ON TOP of the background */
    /* This flexbox setup is the key to perfect centering */
    display: flex;
    flex-direction: column;
    /*justify-content: center; */ /* Vertically centers the content */
    align-items: center; /* Horizontally centers the content */
    padding: 20px;
    box-sizing: border-box;
}

/* Styling for the logo and the content box inside the floating layer */
.logo {
    margin-bottom: 1rem;
}

    .logo img {
        max-width: 70%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

/* We override the theme's margin to let our flexbox do the positioning */
.content {
    margin: 0 !important;
    width: 360px;
    max-width: 100%;
    padding: 30px !important;
    background-color: #0d2d4f;
    /*background-color: #ffffff;*/
    /*border-radius: 4px;*/
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

    .content h2.form-title {
        color: white;
        /*font-size: 24px;*/
        text-align: center;
        margin: -30px -30px 5px -30px;
        padding: 20px;
        /*border-radius: 4px 4px 0 0;*/
    }


    .content .input-icon {
        border-left: 4px solid #c0b47c !important;
    }

    .content .checkbox {
        color: #ffffff;
    }

.btn-gold {
    border: 1px solid #ffffff !important;
    background-color: #c0b47c;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-gold:hover {
        color: #0d2d4f;
        font-weight: bold;
        /*text-decoration: none;*/
        transform: scale(1.05);
        background-color: #a89f66;
    }


.content .form-actions {
    background-color: transparent !important;
    clear: both;
    border: 0px;
}

.content .forget-password {
    color: #ffffff;
}

.content .form-group {
    /*margin-bottom: 5px;*/
}
