@import url(eose.libreria.externa.css);

.noJavaScript{
    position: fixed;
    top: 0px;
    height: 100%;
    width: 100%;
    background-color: gray;
    margin: auto;
    vertical-align: middle;
    z-index: 1000000000;
    color: white;
    font-size: 25px;
}

/*----------------------------------------------------------------
    Estilo para jqxInput en modo auto complete
------------------------------------------------------------------*/
.jqx-input-popup.jqx-menu.jqx-menu-vertical.jqx-menu-dropdown.jqx-widget.jqx-widget-content .jqx-item.jqx-fill-state-pressed{
    background-color: #FEF5E7 !important;
    background-image: linear-gradient(to bottom,#FEF5E7,#FEF5E7) !important;
    color: black !important;
}

/*----------------------------------------------------------------
    Estilo para jqxGrid con estilo UAEH
------------------------------------------------------------------*/
.jqx-grid .jqx-grid-pager-number.jqx-fill-state-pressed{
    color: #fff !important;
}

/*----------------------------------------------------------------
    Estilo para jqxSwitchButton
------------------------------------------------------------------*/
.jqx-switchbutton .jqx-switchbutton-wrapper .jqx-switchbutton-label-on {
    background-color: #5dba5d;
    color: #fefefe;
}
.jqx-switchbutton .jqx-switchbutton-wrapper .jqx-switchbutton-label-off {
    background-color: #db4f4a;
    color: #fefefe;
}

.jqx-enableselect.jqx-widget-content[role="rowgroup"]{
    overflow: auto !important; }

/*----------------------------------------------------------------
    Estilo para jqxNumberinput
------------------------------------------------------------------*/
.jqx-numberinput input:first-child{
    height: 28px !important;;
}

/*----------------------------------------------------------------
    Estilo para boton institucional estilo modernizacion
------------------------------------------------------------------*/
.btn-uaeh {
    position: relative;
    overflow: visible;
    display: inline-block;
    padding: 0.5em 1em;
    border: 1px solid #d4d4d4;
    margin: 0;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
    /*font-size: 12px;*/
    font-weight: 500;
    color: #883333;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    background-color: #ececec;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#EAE3D8));
    background-image: -moz-linear-gradient(#f4f4f4, #EAE3D8);
    background-image: -ms-linear-gradient(#f4f4f4, #EAE3D8);
    background-image: -o-linear-gradient(#f4f4f4, #EAE3D8);
    background-image: linear-gradient(#f4f4f4, #EAE3D8);
    -moz-background-clip: padding; /* for Firefox 3.6 */
    background-clip: padding-box;
    border-radius: 0.2em;
    /* IE hacks */
    zoom: 1;

    height: 28px;
    line-height: 0;
    margin-left: 2px !important;
}
.btn-uaeh:hover,
.btn-uaeh:focus,
.btn-uaeh:active,
.btn-uaeh.active {
    border-color: #706A5C;
    border-bottom-color: #585347;
    text-decoration: none;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    color: #fff;
    background-color: #706A5C;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9C9687), to(#706A5C));
    background-image: -moz-linear-gradient(#9C9687, #706A5C);
    background-image: -o-linear-gradient(#9C9687, #706A5C);
    background-image: linear-gradient(#9C9687, #706A5C);
}
.btn-uaeh:active,
.btn-uaeh.active {
    border-color: #585347;
    border-bottom-color: #706A5C;
    background-color: #706A5C;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#706A5C), to(#9C9687));
    background-image: -moz-linear-gradient(#706A5C, #9C9687);
    background-image: -ms-linear-gradient(#706A5C, #9C9687);
    background-image: -o-linear-gradient(#706A5C, #9C9687);
    background-image: linear-gradient(#706A5C, #9C9687);
}

.input-group-btn button + button{
    margin-left: 0 !important;
}

/*----------------------------------------------------------------
    Sobreescribir los estilos para modulos pequeños
------------------------------------------------------------------*/
.text-label{
    font-size: 14px !important;
}

/*----------------------------------------------------------------
    Estilo para etiquetas, label, button
------------------------------------------------------------------*/
.eose-btn{
    width: 100%;
    background-color: #800101;
    color: #F1EBE4;
}
.eose-btn:hover
,.eose-btn:focus{
    background-color: #5A0000;
    color: #F1EBE4;
    border-color: #F1EBE4;
}
.whitebox {
    width: 90% !important;
    padding: 15px !important;
    margin: 0 auto;
}
.divPrincipal{
    margin-bottom: 60px;
    color: black;
}
.jqx-widget-content{
    font-size: 13px !important;
}
.jqx-grid .jqx-widget-header span
,.jqx-grid .jqx-grid-content div{
    font-size: 13px !important;
}
.espacio-trabajo {
    padding:10px;
    /*overflow:auto; */
    background-color: #FFFFFF;
    border: 1px solid #e7e7e7;
}
.espacio-trabajo .jqx-checkbox{
    margin-bottom: -12px;
    margin-top: 10px;

    font-size: 11px !important;
}
.espacio-trabajo .jqx-radiobutton{
    font-size: 11px;
}
.espacio-trabajo.area-ep-edicion label{
    margin-bottom: 1px;
    margin-top: 10px;
    /*font-family: Arial, "Century Gothic", sans-serif;*/
}
.espacio-trabajo .row{
    margin-bottom: 5px;
}
.menu-usuario{
    max-width: 300px;
    width: 300px;
}
.area-contenido-arbol{
    margin-top: 6px;
    margin-left: 10px;
}
.area-contenido-arbol .row{
    margin-right: 0px;
}
.arbol-presupuesto-contenido .botones button{
    height: 23px;
}

/*Estilos con colores armonizados a la UAEH*/
.fieldset-uaeh legend{
    margin-bottom: -5px;
    margin-top: 10px;
    font-size: 14px;
}

.consulta fieldset{
    margin-top: 15px;
}
.consulta fieldset legend{
    font-size: 16px;
    margin-bottom: 5px;
    color: #800101;
}
.consulta label
,.consulta span {
    font-size: 13px;
}
/*Sobreescribe el estilo si se usa consulta y formulario*/
.formulario span{
    font-size: 12px !important;
}
.formulario label{
    margin-bottom: 1px;
    margin-top: 10px;
    font-size: 12px;
}
.formulario .boton{
    margin-bottom: 6px;
    margin-top: 6px;
}

.label-solo-lectura{
    font-size: 14px !important;
    font-family: Verdana, serif;
    font-style: normal;
    font-weight: normal;
    margin-left: 6px;
    margin-right: 2px;
    text-shadow: none;
    white-space: normal;
}

.descripcion{
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    word-wrap: break-word;
    line-height: 20px;
    white-space: pre-wrap;
    /*max-height: 180px;*/
}
.text-uaeh-red{
    color: #800101;
}
.area-etiqueta-uaeh{
    margin-top: 5px;
}
.etiqueta-uaeh{
    display: inline-block;
    padding: .2em .6em .3em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: pre-wrap;
    vertical-align: baseline;
    border-radius: .25em;

    color: #fff;
    background-color: #800101;
    border: .5px solid;
    color: #800101;
    background-color: #FEF5E7;
}
.text-avance{
    font-weight: 700;
    font-size: 13px;
    border: .5px solid;
    color: #800101;
    background-color: #FEF5E7;
}
.text-agregado{
    font-weight: 700;
}
.cuadro-alerta{
    padding: 15px 1px 15px 1px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-uaeh{
    background-color: #FEF5E7;
    padding: 5px;
    border-color: #EAE3D8;

    margin-bottom: 1px;
}
.alert-uaeh .legend{
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 2px;
    font-size: 20px;
    line-height: inherit;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}
.alert-uaeh-info{
    /*color: #31708f; */
    background-color: #d9edf7;
    padding: 1px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.btn-lateral{
    margin-top: 15px;
    width: 100%;
}

.radio-group-uaeh{
    margin-top: -10px;
}
.radio-group-uaeh .active{
    color: #fff !important;
    background-color: #31b0d5 !important;
    border-color: #269abc !important;
}

/*----------------------------------------------------------------
    Para los tag originales y campos en formularios
------------------------------------------------------------------*/
html {
    position: relative;
    min-height: 100%;
    font-family: "Century Gothic";
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 43px;
    background-color: #F5F8FA;
}
.header{
    padding-right: 40px;
    padding-left: 40px;
    /*padding-top: 10px;
    padding-bottom: 10px;*/
    margin-bottom: 10px;
    /* add bootstrap jumbotron background image */
    /*background-color: #FEF5E7;*/
    background-color: #FFFFFF;
    /*border-radius: 10px;*/

    background-color: #fff;
    border-bottom: 1px solid black;
}
.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 43px;
    background-color: #FEF5E7;

    border-top: 3px solid #A15900;
}
.footer .btn-link{
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
}
button.small{
    padding: 2px 8px;
    margin-left: 3px;
}

.tituloHeaderPrincipal h2{
    font-size: 30px;
    /* text-transform: none; */
    font-weight: lighter;
    font-variant: normal;
    color: #000000;
    text-shadow: #CCC 1px 1px 0;
}
.header .titulo{
    font-size: 29px;
    /* text-transform: none; */
    font-weight: lighter;
    font-variant: normal;
    color: #000000;
    text-shadow: #CCC 1px 1px 0;
}
.tituloHeaderPrincipal p{
    font-size: 20px;
}
.principal{
    padding-top: 15px;
    padding-bottom: 15px;
    border: 1px solid #A2CEDF;
    background-color: #F2FCFF;
}
.bodyTop{
    height: 3px;
    background-color: #A15900;
}
.usuario{
    background-color: #FFFFFF;
}

textarea {
    width: 100%;
    /*height: 156px;*//*Se controla desde jQuery*/
    font-size: 13px;
    padding: 5px;
    font-family: 'Open Sans',Arial,sans-serif;;
    max-width: 100%;
    color: black;
    border: 2px solid #a4bed4;
    border-radius: 7px;
}
textarea:focus {
    background-color: #FEF5E7;
    border-color: #cacaca;
    box-shadow: 0 0 5px #cacaca;
}

.textarea-solo-lectura{
    max-height: 250px;
    overflow: auto;
}

.grupo-input div[class*="col-"] {
    padding-right: 0 !important;
}

.form-grupo{
    margin-bottom: 15px;
}
.oculto{
    display: none !important;
}

.blog-footer {
    padding: 40px 0;
    color: #999;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
    margin-bottom: 0;
}
.areaBotones button{
    margin-left: 5px;
}
.areaBotones{
    background-color: #d9edf7;
    border-radius: 9px;
    border: 2px solid #bce8f1;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 30px;
}
.menu-principal{
    margin-top: 15px;
}
.menu-principal a{
    cursor: pointer;
}
.menu-principal .navbar{
    background-color: #fff;
    margin-bottom: 10px;
}
.dropdown-menu{
    padding: 5px;
}
.descripcion{
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    word-wrap: break-word;
    line-height: 20px;
    white-space: pre-wrap;
    /*max-height: 180px;*/
}
.escudo {
    padding-top: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.titulo-uaeh{
    color: #7F0009;
    font-size: 25px;
    margin-bottom: 2px;
}
.titulo-patronato{
    color: #A1131F;
    font-size: 24px;
    margin-top: -11px;
    margin-bottom: -6px;
}
.titulo-centro-costo{
    color: #B5290F;
    font-size: 21px;
    margin-bottom: 2px;
}
.titulo-nombre-sistema{
    font-size: 18px;
    margin-bottom: 2px;
}

.areaBotonesActaEdicion{
    margin-top: 20px;
}
.fixed{
    position: fixed;
    top: 0;
    left: 0px;
    height: 45px;
    width: 100%;
    background-color: white;
    z-index: 900;
    border-width: 2px;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.08);
    border: none;
}
.fixed h3{
    margin-top: 6px !important;
}
.fixed .areaBotonesActaEdicion{
    margin-top: 5px;
}
.marco-informacion{
    padding: 1.5rem;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    /*border: solid #f7f7f9;
    border-width: 1px;*/
}
@media screen and (min-width: 48em){
    .label-resize-right{
        text-align: right;
    }
}
.boton-grid-acta{
    width: 100%;
    margin: auto;
}
.boton-grid-acta button{
    width: 20px;
    margin-right: 3px;
    margin-bottom: 3px;
}
.boton-grid-acta .btn-sm {
    padding: 2px 4px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 9px;
}
.jqx-fill-state-pressed-uaeh .grid-link
,.jqx-widget-uaeh .jqx-grid-cell-selected-uaeh .grid-link{
    color: #FEF5E7;
}
.importes-presupuestales{
    font-size: 13px;
}
.importes-presupuestales .row label{
    width: 100%;
}

/*Estilo para checkbox en la misma linea
------------------------------------------------------------------*/
.misma-linea{
    display: flex;
}
.misma-linea .jqx-checkbox{
    margin-bottom: 0 !important;
    margin-top: 14px !important;
}

/*Estilo para icono de ayuda que muestra un tour de la pagina
------------------------------------------------------------------*/
.icono-tour{
    color: #800101;
    font-size: 21px;
    cursor: pointer;
}
.jqx-tree-item-li.introjs-relativePosition{
    left: 0;
}

/* Para los panel, reduce el padding y quita los border
------------------------------------------------------------------*/
.panel-formulario{
    border: 0px solid transparent;
    margin-bottom: 10px !important;
    webkit-box-shadow: 0 0px 0px rgb(0 0 0) !important;
    box-shadow: 0 0px 0px rgb(0 0 0) !important;
}
.panel-formulario .panel-heading{
    border: 1px solid #ddd;
    padding: 5px 11px !important;
}
.panel-formulario .panel-body{
    padding: 5px !important;
}

input[type=text][disabled] {
    background-color: #eee;
    opacity: 1;
}

/* jqxGrid para beneficiarios
------------------------------------------------------------------*/
.jqx-grid .cb-abono{
    background-color: #d7e5ea !important;
}

.cuenta-bancaria-larga{
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 2px;
    text-align: left;
    margin-right: 2px;
    margin-left: 4px;
    margin-top: 5px;
    word-break: break-all;
}

.label-block{
    display: block;
}

.btn-uaeh.azul{
    background-color: #e6f2ff !important;
    background-image: linear-gradient(#e6f2ff, #80bdff) !important;
    border: 1px solid #b3bfcc !important;
    text-shadow: none !important;
}

/* Se redimenciona la cabecera en dispositivos moviles
 ---------------------------------------------------------------------------*/
@media (max-width: 685px) {
    .container-fluid.header{
        padding-left: 0;
        padding-right: 0;
    }
    .escudo img{
        height: 60px;
    }
    .titulo-uaeh{
        font-size: 17px;
        margin-bottom: 5px;
        margin-top: 0;
    }
    .titulo-patronato{
        font-size: 16px;
        margin-bottom: 5px;
        margin-top: 0;
    }
    .titulo-centro-costo{
        font-size: 15px;
        margin-bottom: 5px;
        margin-top: 0;
    }
    .titulo-nombre-sistema{
        font-size: 14px;
        margin-bottom: 5px;
        margin-top: 0;
    }
    .img-aviso{
        height: 120px;
    }
}

@media (max-width: 420px) {
    .container-fluid.header .container .row .col-md-8{
        padding-left: 2px;
        padding-right: 2px;
    }
    .container-fluid.header .container .row .col-md-8,
    .container-fluid.header .container .row .col-md-8 .col-sm-12{
        padding-left: 2px;
        padding-right: 2px;
    }
}

.modal-frame{
    width: 90% !important;
    height: 90% !important;
}
.modal-frame .modal-content{
    width: 100% !important;
    height: 100% !important;
}
.modal-frame .modal-body{
    height: 90% !important;
}
.modal-body img{
    max-width: 100%;
    max-height: 100%;

    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* Para la consulta de documentos
----------------------------------*/
.media-body {
    padding-top: 5px;
    padding-left: 8px;
    margin: 20px 0;
    /*border: 1px solid #eee;*/
    border-left: 5px solid;
    border-radius: 3px;
}
.media-body-warning {
    border-left-color: #aa6708;
}
.media-body-documento {
    border-left-color: #7d869b;
}
.media-body-receptor {
    border-left-color: #1f64ad;
}
.media-body-instruccion{
    border-left-color: #8a8a28;
}
.media-body-instruccion.documento-turnado{
    border-left-color: #b3b300;
}
.media-left.icon-left{
    vertical-align: middle;
    cursor: help;
    max-width: 30px !important;
}
.texto-origen-documento{
    padding-right: 1px;
    padding-left: 1px;
}
li.media{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.media-heading.titulo{
    font-size: 15px;
}
.media-heading{
    margin-bottom: 0;
}
.media-body .acciones{
    border-top: 1px solid #eee;
    margin-right: 1px;
}
.media-body .acciones span
,.text-btn span{
    font-size: 14px;
    cursor: pointer;
}
.media.documentos
,.media.instruccion
,.media.turnados{
    margin-top: 0;
}
.label-instruccion{
    margin-right: 5px;
}
.ubicacion-una-linea{
    font-size: 13px !important;
    font-style: italic;
}
.descargar-archivo{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.preview-archivo {
    border: 0 !important;
    /*height: 50px !important;
    width: 50% !important;*/
    cursor: pointer;
}
.preview-archivo img {
    width: 100% !important;
    height: 100% !important;
    max-height: 40px !important;
}
.preview-archivo i {
    font-size: 2em !important;
    margin-left: 0 !important;
}
.label-nombre-documento{
    font-size: 11px;
    word-break: break-all;
    padding: 10px;
}
.orientacion-vertical{
    writing-mode: vertical-rl;
    text-orientation: upright;
}
.info-principal{
    background-color: #eff2f6;
    margin-top: -5px;
}
.media-body.media-body-documento{
    padding-top: 0 !important;
    padding-left: 5px !important;
}
.media .row{
    margin-bottom: 0;
}
.archivo{
    border: 1px solid #eaf5fb;
    padding-left: 0 !important;
}
.archivo i.fa-download{
    font-size: 2em;
    text-align: center;
    margin-left: 0;
}
.bg-empleado{
    background-color: #eaf5fb;/*d9edf7*/
}

/*Comentario*/
.post-comment{
    background-color: #f2f3f5;
    border: 1px #b7bcc8 solid;
}
.post-comment .comentario-inicial{
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #c0c0c0;
    display: flex;
    padding: 10px 5px;
    color: #c0c0c0;
    background-color: #FFFFFF;
    align-items: center;
    font-size: 14px;
}
.post-comment .comentario-inicial:hover{
    cursor: text;
}
.post-comment .comentario-inicial .figura{
    margin-right: 10px;
    color: black;
    cursor: pointer;
}
.post-comment .comentario{
    margin-top: 6px;
    margin-left: 12px;
    margin-right: 12px;
    font-size: 14px;
}
.post-comment .persona{
    color: #365899;
    text-transform: capitalize;
}
.post-comment .comentario .texto-seguimiento{
    margin-left: 10px;
    word-wrap: break-word;
    line-height: 20px;
    /*white-space: pre-wrap;*/
}
.post-comment textarea{
    height: 60px;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    min-height: 60px;
    border: 1px #b7bcc8 solid;
}
.post-comment textarea:focus{
    background-color: #ebf3f9;
}
.post-comment .separador{
    border-top: 1px solid #ccc;
    margin: 8px 15px 8px 15px;
}

/* Libreria DataTable
--------------------------------------------------*/
.tableReporte.dataTable tbody.scrollContent {
    height: auto;
}
.dataTables_wrapper select{
    width: auto;
}
#jqxGrid_RC_OrdenPago_filter{
    width: 70%;
}
.dataTables_wrapper tbody tr:hover{
    background-color: #cccccc !important;
}

.odd.linea-validada{
    background-color: #e0ebe1 !important;
}
.even.linea-validada{
    background-color: #ddeede !important;
}
.odd.linea-cancelada{
    background-color: #f1dada !important;
}
.even.linea-cancelada{
    background-color: #eddede !important;
}

#jqxGrid_RC_OrdenPago > tbody > tr > td:nth-child(5){
    word-wrap: break-word !important;
    word-break: break-all !important;
}