@charset "utf-8";
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);

div.main {
    background: #0264d6;
    background: -moz-radial-gradient(center, ellipse cover, #0264d6 1%, #1c2b5a 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#0264d6), color-stop(100%,#1c2b5a));
    background: -webkit-radial-gradient(center, ellipse cover, #0264d6 1%,#1c2b5a 100%);
    background: -o-radial-gradient(center, ellipse cover, #0264d6 1%,#1c2b5a 100%);
    background: -ms-radial-gradient(center, ellipse cover, #0264d6 1%,#1c2b5a 100%);
    background: radial-gradient(ellipse at center, #0264d6 1%,#1c2b5a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0264d6', endColorstr='#1c2b5a',GradientType=1 );
    height: calc(100vh);
    width: 100%;
}

[class*="fontawesome-"]:before {
    font-family: 'FontAwesome', sans-serif;
}

/* ---------- GENERAL ---------- */
* {
    box-sizing: border-box;
    margin: 0px auto;
}

    *:before, *:after {
        box-sizing: border-box;
    }

body {
    color: #606468;
    font: 87.5%/1.5em 'Open Sans', sans-serif;
    margin: 0;
}

a {
    color: #eee;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

input {
    border: none;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    padding: 0;
    -webkit-appearance: none;
}

p {
    line-height: 1.5em;
}

.clearfix {
    *zoom: 1;
}

    .clearfix:before, .clearfix:after {
        content: ' ';
        display: table;
    }

    .clearfix:after {
        clear: both;
    }

.container {
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* ---------- LOGIN ---------- */
#login form {
    width: 250px;
}

#login, .logo {
    display: inline-block;
    width: 40%;
}

#login {
    border-right: 1px solid #fff;
    padding: 0px 22px;
    width: 79%;
}

.logo {
    color: #fff;
    font-size: 35px;
    line-height: 45px;
    width: 545px;
    padding-top: 40px;
}

.image {
    filter: brightness(0) invert(1);
}

.logo2 {
    color: #fff;
    font-size: 35px;
    line-height: 45px;
    width: 545px;
    padding-top: 180px;
}

.futter {
    color: #fff;
    font-size: 15px;
    line-height: 45px;
    padding-bottom: 180px;
}

#login form span.fa {
    background-color: #fff;
    border-radius: 3px 0px 0px 3px;
    color: #000;
    display: block;
    float: left;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    width: 50px;
}

#login form input {
    height: 50px;
}

fieldset {
    padding: 0;
    border: 0;
    margin: 0;
}

#login form input[type="text"], input[type="password"] {
    background-color: #fff;
    border-radius: 0px 3px 3px 0px;
    color: #000;
    margin-bottom: 1em;
    padding: 0 16px;
    width: 200px;
}

#login form input[type="submit"] {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #000000;
    color: #eee;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 10px;
    height: 30px;
}

    #login form input[type="submit"]:hover {
        background-color: #0092ff;
    }

#login > p {
    text-align: center;
}

    #login > p span {
        padding-left: 5px;
    }

.middle {
    display: flex;
    width: 600px;
}

/* ---------- ANIMACIONES ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- ALERTAS ---------- */
.alert-success {
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    margin-top: 10px;
    position: relative;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    margin-top: 10px;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ---------- SPINNER ---------- */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- VALIDACION ---------- */
.is-invalid {
    border: 1px solid #dc3545 !important;
    background-color: #fff5f5 !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        height: auto !important;
    }

    .col-md-6 {
        width: 100% !important;
        padding: 30px 20px !important;
    }

    .col-md-6:first-child {
        display: none;
    }
}
