﻿/* Login screen for mobile. */
@media (max-height: 700px) {
    .right-side .ei-image {
        top: 175px;
    }

        .right-side .ei-image .ei-logo {
            height: 60px !important;
            padding-right: 0 !important;
            margin-left: unset;
            margin-right: unset;
        }

    .right-side .row.login-form {
        margin-top: 210px;
    }

}

@media(max-height: 550px){

/* Prevent footer from overflowing onto form */
    #terms-footer {
        position: relative !important;
        margin-top: 300px;
    }
}

@media(max-width: 450px){
    .ei-logo {
        height: 45px !important;
    }
}

.row:not(.links-row),
.row:not(.links-row) .left-side,
.row:not(.links-row) .right-side {
    height: 100vh;
}

    .row:not(.links-row) .left-side {
        padding-left: 0;
    }

.row.login-form {
    margin-top: 350px;
}


#login-image {
    background-image: url(../../../../images/2x2Square_water_only.png);
    background-repeat: repeat;
    background-size: cover;
}


#login-image {
    height: 100%;
    width: 100%;
}

#page-wrapper {
    padding-left: 0;
}

#footer-offset,
#footer-container {
    display: none;
}

#footer-offset {
    padding-top: 0 !important;
}

#anti-ie-container {
    display: none;
    position: absolute;
    bottom: 0;
}




#browser-warning {
    font-size: 20px;
    color: red;
    margin-bottom: 5px;
}

.contentCenter {
    display: table !important;
    margin: 0 auto !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

.ei-image {
    position: absolute;
    width: 100%;
    top: 250px;
}


    .ei-image > img:first-of-type {
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: 35px;
    }

@media screen and (min-width:768px) {
    .col-md-12 form {
        /*text-align: center;*/
    }

        .col-md-12 form > * {
            width: 75%;
            margin-left: auto;
            margin-right: auto;
        }
}

@media screen and (max-width:768px) {
    .left-side {
        display: none !important;
    }
}
