﻿.form-group .animated-label {
    position: absolute;
    top: 25px;
    left: 2%;
    bottom: 0;
    z-index: 2;
    width: 96%;
    font-weight: 300;
    font-size: 16px;
    opacity: 0.5;
    cursor: text;
    transition: 0.2s ease all;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

    .form-group .animated-label:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 45%;
        height: 2px;
        width: 10px;
        visibility: hidden;
        background-color: #5292C7;
        transition: 0.2s ease all;
    }

.form-group .form-control {
    position: relative;
    z-index: 1;
    border-radius: 0;
    border-width: 0 0 1px;
    border-bottom-color: #5292C7;
    height: auto;
    padding: 3px 0 5px;
}

    .form-group .form-control:focus {
        box-shadow: none;
        border-bottom-color: rgba(0, 0, 0, 0.12);
    }

        .form-group .form-control:focus ~ .animated-label {
            top: -15px;
            opacity: 1;
            color: #5292C7;
            font-size: 12px;
        }

            .form-group .form-control:focus ~ .animated-label:after {
                visibility: visible;
                width: 100%;
                left: 0;
            }

.validateLogin {
    border: 1px solid red !important;
}

@media only screen and (max-width: 780px) {
    #login-box {
        width: 99% !important;
        margin: 80px auto 0 auto !important;
    }

    body {
        background-image: none !important;
    }
}

.modal-browser {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 25%;
    top: 10%;
    width: 50%; /* Full width */
    height: 100%; /* Full height */
}

/* Modal Content/Box */
.modal-browser-content {
    background-color: #fefefe;
    margin: 0 auto; /* 15% from the top and centered */
    padding: 20px;
    width: 100%; /* Could be more or less, depending on screen size */
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0px 0px 30px #808080;
}

    .modal-browser-content img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .modal-browser-content h5 {
        font-size: 20px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.02em;
    }

    .modal-browser-content h5, h6 {
        font-family: "Roboto","Helvetica","Arial",sans-serif;
        margin: 24px 0 16px;
    }

    .modal-browser-content h3, h4 {
        font-family: "Roboto","Helvetica","Arial",sans-serif;
        font-weight: 400;
    }

    .modal-browser-content h3 {
        font-size: 34px;
        line-height: 40px;
    }

    .modal-browser-content h2, h3 {
        margin: 24px 0;
    }

.alert-success {
    color: white;
    background-color: #51a351;
    border-color: #51a351;
}

    .alert-success hr {
        border-top-color: #c9e2b3;
    }

    .alert-success .alert-link {
        color: #2b542c;
    }

.alert-info {
    color: white;
    background-color: #6fcbda;
    border-color: #6fcbda;
}

    .alert-info hr {
        border-top-color: #a6e1ec;
    }

    .alert-info .alert-link {
        color: #245269;
    }

.alert-warning {
    color: white;
    background-color: #f89406;
    border-color: #f89406;
}

    .alert-warning hr {
        border-top-color: #f7e1b5;
    }

    .alert-warning .alert-link {
        color: #66512c;
    }

.alert-danger {
    color: white;
    background-color: #bd362f;
    border-color: #bd362f;
}

    .alert-danger hr {
        border-top-color: #e4b9c0;
    }

    .alert-danger .alert-link {
        color: #843534;
    }

.alert {
    margin-left: 0;
}
