﻿
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* imagen de fondo */
html, body {
    font-family: 'Open Sans', sans-serif;
    height: 100%;
}

.portada {
    height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-image: url(../images/Login/bg-login.jpg);
    background-repeat: no-repeat;
    background-position: center top;
}

/* links */
a {
    color: #0099cc;
    text-decoration: none;
}

    a:hover {
        color: #0099cc;
        text-decoration: underline;
    }

    a.white {
        color: #FFF;
        text-decoration: none;
    }

        a.white:hover {
            color: #0099cc;
            text-decoration: underline;
        }

h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 2.5em;
    color: #003366;
    line-height: 2em;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: .85em;
    color: #333;
    line-height: 2em;
}

/* contenido */
.page-wrap {
    min-height: 100%;
    /* igual a la altura del footer */
    margin-bottom: -50px;
}

    .page-wrap:after {
        content: "";
        display: block;
    }
    /* sticky footer */
    .site-footer, .page-wrap:after {
        /* igual al margin-bottom del page-wrap */
        height: 50px;
    }

.site-footer {
    color: #FFF;
    font-size: .85em;
    background: #333;
    text-align: center;
}


/* formulario login al centro */
.box-login {
    text-align: center;
    width: 400px;
    height: 500px;
    background-color: #FFF;
    padding: 20px 40px !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.box-login--lg {
    height: 700px;
}

label {
    color: #333;
    font-size: .85em;
    font-weight: bold;
    float: left;
    display: block;
}

.captcha-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-container__label {
    align-self: flex-start;
    /*margin-bottom: 5px;
    font-size: 1em;
    color: #333;*/
}

.captcha-container__image {
    max-width: 100%;
    height: 85px;
    margin-bottom: 10px;
}

.captcha-container__grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    width: 100%;
}

.captcha-container__input {
    width: 100%;
    height: 45px;
    background-color: #CCC;
    color: #333;
    font-size: .85em;
    padding-left: 40px;
    box-sizing: border-box;
}

.captcha-container__icon {
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-container__icon--refresh {
    background: #BCA431;
}

    .captcha-container__icon--refresh:hover {
        background-color: #908233;
    }

.captcha-container__error-message {
    grid-column: 1 / span 3;
    margin-top: 5px;
    color: red;
    font-size: .85em;
}

.input-color {
    width: 100%;
    float: left;
    border: 0;
    height: 45px;
    background-color: #CCC;
    color: #333;
    font-size: .85em;
    margin: 5px 0;
    display: inline-block;
}

.usuario {
    background-image: url(../images/Login/icon-input-user.png);
    background-repeat: no-repeat;
    background-position: 10px 10px;
    padding-left: 40px;
}

.password {
    background-image: url(../images/Login/icon-input-password.png);
    background-repeat: no-repeat;
    background-position: 10px 10px;
    padding-left: 40px;
}

.submit {
    width: 100%;
    border: none;
    height: 40px;
    font-size: .85em !important;
    text-transform: uppercase;
    margin: 5px 0px;
    background-color: #908233;
    color: #FFF;
    cursor: pointer;
}

    .submit:hover {
        background-color: #473b07;
    }

.ui-widget-overlay.custom-overlay {
    background-color: black;
    background-image: none;
    opacity: 0.9;
    z-index: 10;
}

.no-title-bar .ui-dialog-titlebar {
    display: none;
}

.validation-fail {
    border: 1px solid red !important;
}

.overlay {
    z-index: 105 !important;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #aaa;
    filter: alpha(opacity=80);
    opacity: 0.8;
}

.overlayContent {
    z-index: 1 !important;
    margin: 250px auto;
    width: 550px;
    height: 150px;
    text-align: center;
}
