/*
Textos: #010101
Fondos: #134A61
Degradados: #eeeeee, #2388B4
*/

html, body {
    margin: 0px;
    padding: 0px;
    font-size: 12px;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #FFFFFF;
    color: #010101;
}

header {
    width: 98%;
    height: 47px;
    padding: 1%;
    clear: both;
    border-bottom: #010101 1px solid;
}

footer {
    width: 98%;
    padding: 1%;
    clear: both;
    text-align: center;
    border-top: #010101 1px solid;
    z-index: 5;
}

a {
    color: #010101;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

input {
    font-size: 12px;
    border: 1px solid #999;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-image: -moz-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: -webkit-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: -o-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: -ms-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    padding: 3px;
}

input[type=submit]:disabled {
    background-color: #999999;
}

textarea {
    font-size: 12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    border: 1px solid #999;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-image: -moz-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: -webkit-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: -o-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: -ms-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    background-image: linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff);
    padding: 3px;
}

select {
    font-size: 12px;
    border: 1px solid #999;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-image: -moz-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff 12px);
    background-image: -webkit-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff 12px);
    background-image: -o-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff 12px);
    background-image: -ms-linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff 12px);
    background-image: linear-gradient(top, #ffffff 5%, #eeeeee 95%, #ffffff 12px);
    padding: 3px;
}

ul {
    list-style-type: none;
    list-style-position: outside;
}

ol {
    list-style-position: outside;
}

table {
    font-size: 12px;
}

th {
    font-size: 12px;
    color: #FFF;
    background-color: #134A61;
    padding: 3px;
}

#precarga {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #134A61;
    background-color: #FFFFFF;
    background-image: url(images/fondo_login.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 5;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    opacity: 0.98;
}

#precarga div {
    position: absolute;
    bottom: 10%;
    right: 5%;
    z-index: 6;
}

.small {
    font-size: 9px;
}

.big {
    font-size: 16px;
}

.subtitulo {
    font-size: 13px;
    font-weight: bold;
    color: #134A61;
    padding: 2px;
}

.titulo {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    padding: 3px;
    margin-bottom: 5px;
    margin-top: 2px;
    background-color: #134A61;
}

.menuitem {
    font-size: 12px;
    color: #010101;
    padding: 2px;
}

.boton, button .boton, submit .boton {
    font-size: 11px;
    color: #FFFFFF;
    border: #134A61 1px solid;
    border-radius: none;
    background-color: #134A61;
    background-image: -moz-linear-gradient(top, #134A61, #2388B4);
    background-image: -webkit-linear-gradient(top, #134A61, #2388B4);
    background-image: -o-linear-gradient(top, #134A61, #2388B4);
    background-image: -ms-linear-gradient(top, #134A61, #2388B4);
    background-image: linear-gradient(top, #134A61, #2388B4);
    padding: 2px;
}

.aviso {
    color: #003366;
    border: 1px solid #010101;
    background-color: #FFFFCC;
    margin: 3px;
    padding: 3px;
    font-size: 12px;
    font-weight: bold;
}

.errortext {
    border: 1px solid #010101;
    background-color: #FFB9B9;
    font-size: 12px;
    font-weight: bold;
    color: #010101;
    padding: 3px;
    margin: 3px;
}

.disabled {
    color: #BDBDBD;
}

#mensaje {
    display: inline;
}

tr:nth-child(even) {
    background-color: #EEE;
}

tr:nth-child(odd) {
    background-color: #FFF;
}

.sortable tr td {
    font-size: 12px;
}

.sortable tr:hover {
    background-color: #E5E5E5;
    color: #000000;
}

.TabbedPanels {
    margin-bottom: 20px !important;
}

.resaltado {
    background-color: #666666;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 12px;
}

#boxlogin {
    width: 50%;
    margin-left: 45%;
    margin-top: 5%;
    text-align: center;
    background-color: #FFFFFF;
    border: 1px solid #010101;
    padding: 5px;
}

#div_logo {
    width: 50%;
    height: 100%;
    display: inline;
    float: left;
}

#div_logo img {
    width: auto;
    height: 100%;
}

#div_menu_min {
    display: none;
}

#div_empresa {
    width: 50%;
    height: 100%;
    display: inline;
    float: right;
    text-align: right;
}

#menu_usuario {
    display: none;
    position: absolute;
    top: 70px;
    right: 0px;
    background-color: #FFF;
    border: #010101 1px solid;
    text-align: left;
}

#menu_usuario ul {
    margin: 1%;
    padding: 1%;
    list-style: none;
}

#div_shortcut {
    margin-top: 3px;
    padding: 0.5%;
    width: 56%;
    display: inline;
    float: left;
}

#div_shortcut_min {
    display: none
}

#div_buscar {
    margin-top: 3px;
    padding: 0.5%;
    width: 36%;
    display: inline;
    float: right;
    text-align: right;
}

#frmBuscar {
    margin: 0;
}

#div_menu {
    width: 20%;
    float: left;
    display: inline;
    clear: left;
    margin-top: 4px;
    box-shadow: #010101 0px 2px 2px;
}

#img_cal {
    display: none;
}

#div_contenido {
    width: 78.5%;
    padding: 0 0.5% 0 0.5%;
    float: right;
    display: inline;
    clear: right;
}

#div_ayuda {
    display: none;
    text-align: justify;
}

.nuevo_reg {
    background-color: #fff;
    border: 1px solid #010101;
    left: 50%;
    overflow: auto;
    padding: 15px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    max-height: 95%;
    min-width: 80%;
}

#nuevo_reg_layout {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

#cerrar_nuevo_reg {
    color: #FFF;
    background-color: #134A61;
    padding: 5px;
    float: right;
    clear: both;
}

#div_externo {
    width: 96%;
    height: 96%;
    top: 1%;
    left: 2%;
    transform: translate(0%, 0%);
    display: none;
}

#div_externo iframe {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Modal de búsqueda de clientes: se apila encima del modal "Nuevo Documento" */
#layout_look {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 8;
}

#div_externo.look_modal_activo {
    z-index: 9;
}

#cerrar_look,
.barra_cerrar_look a {
    color: #FFF;
    background-color: #134A61;
    padding: 5px 10px;
    float: right;
    clear: both;
    text-decoration: none;
}

.barra_cerrar_look {
    overflow: hidden;
    margin-bottom: 8px;
}

#gotop {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    background-image: url(images/gotop.png);
    background-repeat: no-repeat;
    display: none;
    cursor: pointer;
}

#btnX, #btnX1, #btnX2 {
    position: absolute;
    margin-left: -2.2%;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

#div_procesando {
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #134A61;
    display: none;
}

.box_stat {
    border: 1px solid #010101;
    margin-top: 10px;
    padding-left: 25%;
}

/*Estilos de Lightbox*/

.fadebox {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
}

.overbox {
    display: none;
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    z-index: 1002;
    overflow: auto;
}

.overboxCorreo {
    display: none;
    position: fixed;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    z-index: 1002;
    overflow: auto;
}

#content {
    background: #FFFFFF;
    border: solid 3px #CCCCCC;
    padding: 10px;
}

.tbl_filter {
    display: none;
    position: absolute;
    color: #000;
    background-color: #FFF;
    border: #CCC 1px solid;
    box-shadow: #CCC 1px 1px 1px;
    text-align: left;
    /*margin-top:10px;*/
    margin-left: -3px;
    overflow: scroll;
    max-height: 400px;
    min-width: 250px;
    z-index: 1002;
}

#fheader {
    z-index: 10000 !important;
}

.caret_bg {
    display: inline;
    float: right;
    padding: 3px;
    background-color: #CCC;
    margin-top: -20px;
}

.caret {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 6px 0 6px;
    border-color: #000000 transparent transparent transparent;
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}

/* .searchable tr:not([hiddenByFilter="0"]) {
    display: none;
} */

.searchable tr.oculta {
    display: none;
}

@media (max-width:1023px) {
    #boxlogin {
        width: 80%;
        margin-left: 10%;
        margin-top: 5%;
    }
    #boxlogin input {
        width: 90%;
        clear: both;
        margin-bottom: 3px;
    }
    footer {
        display: none;
    }
    #div_logo {
        display: none;
    }
    #div_menu_min {
        width: 20%;
        height: 100%;
        display: inline;
        float: left;
        background-image: url(images/menu.png);
        background-repeat: no-repeat;
        background-size: auto 60%;
        background-position: left center;
        cursor: pointer;
    }
    #div_shortcut {
        display: none;
    }
    #div_shortcut_min {
        margin-top: 3px;
        padding: 0.5%;
        width: 40%;
        display: inline;
        float: left;
    }
    #div_buscar {
        width: 50%;
    }
    #div_menu {
        top: 0;
        bottom: 0;
        position: fixed;
        overflow-y: scroll;
        overflow-x: auto;
        padding-top: 15px;
        width: 30%;
        display: none;
        background-color: #FFF;
        z-index: 10;
    }
    .layout {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 5;
    }
    #img_cal {
        display: block;
        width: 100%;
        height: 60px;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/calendar.jpg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        cursor: pointer;
    }
    #div_cal {
        position: absolute;
        padding: 5%;
        border: #010101 1px solid;
        display: none;
        background-color: #FFF;
    }
    #div_contenido {
        width: 98%;
        padding: 1%;
    }
    .nuevo_reg {
        width: 94%;
        max-height: 96%;
        padding: 1%;
    }
    #txtbuscarmenu {
        height: 35px;
    }
}

@media (max-width:630px) {
    header {
        height: 50px;
    }
    #txtbuscar {
        width: 70%;
    }
}

@media (max-width:420px) {
    #div_shortcut_min {
        display: none
    }
    #div_buscar {
        width: 100%;
    }
    header {
        font-size: 0.8em;
    }
}

@media print {
    body {
        font-size: 0.9em;
    }
    a, button, form, input[type=button], input[type=submit], input[type=checkbox], header, footer, #div_menu, #div_shortcut, #div_buscar, .vert {
        display: none !important;
    }
    input[type=text], textarea, select, .chosen-container, .chosen-container-single, .chosen-container-single-nosearch, div {
        border: none;
    }
    #div_contenido {
        width: 100%;
        padding: 1% 1% 1% 2%;
    }
    #div_logo a {
        display: block;
    }
}