﻿.login-overlay {
    position: absolute;
    text-align: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #effefe;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.335, 1.05);
}

    .login-overlay:after {
        position: absolute;
        top: 0;
        width: 100%;
        height: 300px;
        left: 0;
        right: 0;
        /*background-image: url("../images/login-cover.jpg");*/
        /*background-color: #626dbf;*/
        background-color: black;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        content: "";
        box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.14);
    }

    .login-overlay .logo {
        display: block;
        margin: 0 auto;
        position: relative;
        z-index: 1;
        /*text-transform: uppercase;*/
        color: white;
        font-size: 27px;
        letter-spacing: 1px;
        top: 20px;
    }

        .login-overlay .logo .smaller {
            font-size: 16px;
            font-weight: 100;
            letter-spacing: 5px;
            margin-left: -8px;
        }

    .login-overlay .form-container {
        position: relative;
        z-index: 1;
        top: 60px;
        background: #ffffff;
        width: 60%;
        margin: 0 auto;
    }

        .login-overlay .form-container .icon {
            padding-top: 30px;
        }

            .login-overlay .form-container .icon .mdi {
                color: #2979FF;
                font-size: 110px;
            }

            .login-overlay .form-container .icon .header {
                margin-top: 10px;
                font-size: 20px;
                font-weight: 100;
                /*text-transform: uppercase;*/
            }

        .login-overlay .form-container .inputs {
            margin-top: 10px;
        }

            .login-overlay .form-container .inputs .mdl-textfield {
                width: 75%;
            }

            .login-overlay .form-container .inputs .buttons {
                width: 75%;
                margin: 5px auto;
            }

                .login-overlay .form-container .inputs .buttons .mdl-checkbox {
                    /*text-transform: uppercase;*/
                    text-align: initial;
                    width: 50%;
                    float: left;
                }

                .login-overlay .form-container .inputs .buttons .signup {
                    /*float: right;*/
                }

                    .login-overlay .form-container .inputs .buttons .signup a {
                        text-decoration: none;
                        color: #2979FF;
                    }

                .login-overlay .form-container .inputs .buttons .link {
                    padding-top: 40px;
                    padding-bottom: 30px;
                }

                    .login-overlay .form-container .inputs .buttons .link .mdl-button {
                        background: #2979FF;
                        color: white;
                        font-weight: 100;
                        width: 25%;
                        font-size: 15px;
                    }

@media screen and (max-width: 990px) {
    .form-container {
        width: 75% !important;
    }
}

@media screen and (max-width: 490px) {
    .logo {
        top: 40px !important;
    }

    .form-container {
        top: 60px !important;
        width: 90% !important;
    }

        .form-container .mdl-textfield {
            width: 85% !important;
        }
}
