﻿body {
    background-color: white;
    background-image: none;
    height: 100vh;
}

.g2-login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50vh;
    background-color: #222527;
    background-image: url('../img/bg.png');
}

.g2-login-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: center;
    margin-left: 15px;
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
}

.babelstreet-login-logo {
    width: 430px;
    filter: invert(1);
}

#babel-login-logo-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 65px;
}

.g2-login-shadow,
.g2-login-main {
    width: 448px;
    position: absolute;
    top: 50% !important;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #323232;
    background-color: white;
    text-align: center;
    font-size: 14px;

}

.g2-login-shadow {
    z-index: -1;
    box-shadow: 0 0 40px 5px #E2E2E2;
}

@media (max-height: 848px) {
    .g2-login-logo {
        top: 137px;
    }
    .g2-login-main {
        top: 230px;
    }
    .g2-login-header {
        height: 370px;
    }
    .g2-login-shadow {
        height: 350px;
    }
}

@media (max-height: 750px) {
    .g2-login-logo {
        top: 17px;
    }
    .g2-login-main {
        top: 80px;
    }
    .g2-login-header {
        height: 265px;
    }
    .g2-login-shadow {
        top: -140px;
        height: 220px;
    }
}

.g2-login-title {
    height: 80px;
    line-height: 80px;
    font-weight: bold;
    font-size: 16px;
}

.g2-login-form {
    border-top: 1px solid #E5E5E5;
    padding: 30px;
}
    .g2-login-form > input {
        width: 100%;
        height: 40px;
        padding-left: 15px;
        border: 1px solid #DDE2EE;
        background-color: #F5F7FA;
    }
        .g2-login-form > input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
            color: #A8A8B7;
        }
        .g2-login-form > input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
            color: #A8A8B7;
            opacity: 1;
        }
        .g2-login-form > input::-moz-placeholder { /* Mozilla Firefox 19+ */
            color: #A8A8B7;
            opacity: 1;
        }
        .g2-login-form > input:-ms-input-placeholder { /* Internet Explorer 10-11 */
            color: #A8A8B7;
        }
        .g2-login-form > input::-ms-input-placeholder { /* Microsoft Edge */
            color: #A8A8B7;
        }


.g2-login-name-label {
    height: 28px;
    float: left;
    font-weight: bold;
}
.g2-login-password-label {
    margin-top: 23px;
    height: 28px;
    float: left;
    font-weight: bold;
}

.g2-login-name {
    font-size: 14px;
    font-weight: normal;
}

.g2-login-password,
.g2-login-password-conf {
    margin-bottom: 15px;
}
.g2-login-password {
    font-size: 16px;
    font-weight: bold;
}

.g2-login-button {
    width: 100%;
    font-weight: bold;
    margin-top: 15px;
    height: 50px;
}

.g2-login-errors {
    display: none;
    padding-left: 30px;
    color: red;
    text-align: left;
    font-weight: bold;
}
.g2-login-errors > ul {
    list-style-type: disc
}