/*
------------
 * © Francisco José Caballero Cerezo 2018
 * Queda expresamente prohibida la reproducción, transmisión a otro equipo informático,
 * modificación, adaptación, mantenimiento, corrección de errores, cesión, venta,
 * arriendo, préstamo, cesión de uso ni parcial ni total, transmisión del derecho de uso,
 * divulgación, publicación, etc., del presente código informático sin
 * la autorización expresa del AUTOR.
------------
*/

body,
html {
    height: 100%;
}

body {
    background: white;
    background: url(../img/bg-login.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.alert-success {
    margin-left: 5px;
    margin-right: 5px;
}

.alert-login {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    margin: auto;
}

@media (max-width: 767px) {
    .alert-login {
        bottom: 70px;
        top: auto;
    }
}

@media (min-width: 768px) {
    .center {
        position: relative;
        top: 30%;
        transform: translateY(-30%);
    }
}

.login-error {
    color: #ff526c;
}

.login-underline {
    color: white;
    font-size: .95em;
    opacity: .85;
    text-align: center;
    margin-top: 12px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .85);
    font-weight: 600;
}

.login-underline a {
    color: #a1a1a1;
    text-decoration: none;
}

.login-underline a:hover {
    color: #727272;
    text-decoration: none;
}

.panel-sm {
    margin: auto;
    width: 450px;
    max-width: 100%;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .95);
    -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .95);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .95);
}

.panel-canvas {
    padding: 5px 5px 5px 5px;
}

.panel {
    background: white;
    border-top: 3px solid #80b9d6;
    border-radius: 2px;
    /*-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .4);*/
    height: 100%;
    /*padding: 17px;*/
    padding: 0;
    margin: 0;
    opacity: .94;
    border: 0;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 10px 1px rgba(0, 0, 0, .05);
    min-height: 153px;
    margin: auto;
}

.panel-blue {
    border-top: 0px solid #80b9d6;
}

.panel .panel-heading {
    border-bottom: 1px solid lightgray;
    height: 63px;
    text-transform: uppercase;
}

.panel .panel-heading-login {
    border-bottom: 1px solid black;
    height: 63px;
}

.panel .panel-subheading {
    border-bottom: 1px solid lightgray;
    background: #ecf0f5;
    clear: both;
    font-weight: 400;
    padding: 17px 17px 0px 17px;
}

.panel .panel-subheading input {
    height: 23px;
    background: rgba(255, 255, 255, 1);
    border-radius: 4px !important;
    border: 1px solid lightgray;
    color: dimgray;
    font-size: 12px;
    padding: 1px 10px;
    right: 20px;
    position: absolute;
}

@media (max-width: 576px) {
    .panel .panel-subheading input {
        display: block;
        width: 100%;
        position: static;
        margin-top: 8px;
    }
}

.panel-title {
    color: #0e0e0e;
    font-weight: 500;
    font-size: .94em;
    position: relative;
    text-transform: uppercase;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 3px 0 10px;
}

.panel .panel-title-login {
    text-align: center;
}

.panel .panel-body {
    padding: 17px;
    clear: both;
}

.panel-login {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .07);
    box-shadow: 0 1px 10px 1px rgba(0, 0, 0, .07);
}


@media only screen and (min-width: 768px) {
    .panel-login:before {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        margin: 70px 0 0 -15px;
        border-right: 20px solid white;
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
    }
}

.login-logo {
    width: 65%;
}

.logo-section {
    text-align: right;
    padding-right: 45px;
}

.underline-logo {
    font-size: 1.7em;
    text-align: right;
}

@media only screen and (max-width: 960px) {

    .logo-section,
    .underline-logo {
        text-align: center;
        padding: 10px;
    }
}


@media only screen and (max-width: 350px) {
    .underline-logo {
        font-size: 1.1em;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 3px;
    }
}


.login-credits {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 12px;
    font-size: 300;
    font-size: .8em;
    opacity: .75;
    padding-top: 20px;
}
