/* Fuente de servidor */
@font-face{
    font-family: 'Poppins SemiBold';
    src:url('Poppins-SemiBold.ttf');
}

/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font: 14px/1 'Century Gothic';
    
    color: #777;    
    /* --ColorFondoCabeceras: #379add; */
    --ColorFondoCabeceras: #173766;
}

html, body {
    height: 100%;
}

ul {
    list-style: none; 
} 

.wrapper {
    display: flex;
    min-height: 100%;
    background: #e2f0ff;
}

main {
    flex: 1;
    /* padding: 25px 0; */
    padding: 0;
    background: #e2f0ff;
    background-image: url("../img/bg.jpg");
    background-position: top center;
    background-repeat: repeat;	
    background-size: 100% auto;
    /* El contenido debe quedar en el fondo */
    /*z-index:-1000;*/
}

.flex-grid {
    display: flex; 
    align-items: center;

    flex: 1; /* 03/02/2019. Hacer seguimiento al lado de display: flex;*/
}

.contenido {
    padding: 0 15px 15px 15px;
} 

.contenidoGrid {
    /* Un valor, número sin unidades: flex-grow */
    flex: 1;
    /* margin: 0 20px 20px 0; */
    margin: 0;
    /* border: 1px solid #ddd; */
    background: #fff; 
}  
.contenidoGrid:last-child {
    margin-right: 0; 
}
.flex-grid h2, 
.container h2 {
    margin: -15px -15px 15px -15px;
    padding: 12px 15px;
    font-size: 1.2rem;    
    font-weight:lighter;
    color: #aaa;
    background-color: #404040;
}

.flex-item {
    margin-right:10px;
}

#spnMensaje {
    margin-left:auto;
}


@media (max-width: 1000px) {
    .flex-grid {
        flex-direction: column; 
    }
    
    .flex-grid > div {
        margin-right: 0; 
    }

    .colG6, .colG7 {
        display: none;
    }
    /* prueba */
    .lnktest:before {
        content: "mquery 1";
    }
}

#divTabla {
    overflow-x:auto;
}

.TablaApp {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.TablaApp td, .TablaApp th {
    border: 1px solid #ddd;    
    font-weight:lighter;
    box-sizing: border-box;
}

.TablaApp th {        
    padding: 8px;
}

.TablaApp td {    
    /* Este padding es el que mas afecta el aspecto del grid */
    padding: 0.5rem 0.2rem 0.5rem 0.5rem;
}

.FilaCabecera {
    background-color: var(--ColorFondoCabeceras);
    font-size: 0.8rem;    
    font-weight:lighter;
    color: #fff;
}

.FilaDatos, #divBuscar, .Mensaje {
    font-size:1em; /* aspecto grid */
}

.FilaDatos:nth-child(even){
    background-color: #f2f2f2;
}

.FilaDatos:hover {
    background-color: rgba(55, 154, 221, 0.03);
    cursor: pointer;
}

.Mensaje {
    color:var(--ColorFondoCabeceras);
    font-weight:bold;    
}

.Centro {
    text-align:center;
}

.Boton {
    color: white;
    border-radius: 4px;
    background: var(--ColorFondoCabeceras);
    padding: .5em 1em;
    box-sizing: border-box;
    margin:2px;    
    cursor:pointer;
    font-size:0.85em;
    text-decoration:none;
    border: none;
    border-width: 0;
    border-style:none;
    text-transform: none;
    
    display:flex; 
    justify-content:center;
    font-family: "Century Gothic";
}


.Boton:hover {
    background-color:rgba(55, 154, 221, 0.3);
    color:var(--ColorFondoCabeceras);
    cursor:pointer;
}

#spnRegistrosPagina input {
    width:40px;
    margin-right:10px;
    border: 1px solid #ddd;
    font-family: "Century Gothic";
}

.Enlace {
   cursor:pointer;
}

.Enlace:hover {
   font-weight:bold;
}

.Icono {
    width:16px;
    height:16px;
    cursor:pointer;
    margin-right:8px;
}

.Icono24 {
    width:24px;
    height:24px;
    cursor:pointer;    
}

/* Estilos para ventana modal */

.fondoModal {
    position:fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height: 100%;      
    min-height: 100%;
    background-color: rgba(0,0,0,0.7);    
    display:none;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    z-index: 6;
}            
#modal-dialog {
    background-color: #fff;
    position: relative;
    /* top: 15px; */
    width:100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    /* border: solid 1px #ccc; */
    /* background-color: #f8fcfe; */
    height: 100%;
}

#ventana-modal {
    background-color: #fff;
    min-width: 50vw;
    
    /* test 27/08/2019 */
    overflow-y: auto;
    max-height: 95vh;
}

.modal-header, 
.barra-titulo {
    padding: 12px 1.4em;
    background-color: #021b3e;
    margin: 0;
}

.modal-header span,
.barra-titulo span {
    font-size: 1.2rem;
    /* color: #aaa; */
    color: #fff;
    margin:0;
}

.modal-header h2 {
    font-size: 1.2rem;
    color: #aaa;
    font-weight: lighter;
}

.modal-body {
    font-size: 0.9em;
    width:100%;
}

.modal-footer {
    /* padding: 0.9em 1.4em; */
    padding: 0 1.4em;
    display:flex;
    margin-bottom: 10px;
    justify-content:space-around;
}
.btn-close {
    color: #aaa;
    font-size: 30px;          
    position: relative;
    top: -22px;
    cursor:pointer;
    float: right;
}
.btn-close:hover {
    color: #919191;
}

#divPaginacion {
    display:flex; 
    flex-direction:row;
    justify-content:center;
}
/* Revisar este */
/* input[type="text"] {
    text-transform: uppercase;
} */
.mayus {
    text-transform: uppercase;
}
.minus {
    text-transform: lowercase;
}


/* Estilos del proyecto del formulario */
.PageFrame {    
    /* ancho minimo */
    min-width: 270px;
    max-width: 1200px;
    /* padding: 6px 20px; */
    margin: 0 auto;
    background: #fff;

    /* */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .TabCabecera {
    display: none;
  }
  
  .TabTitulo {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 15px;
    font-weight: 600;
    text-align: center;
    color: #bbb;
    border: 1px solid transparent;
  }
  
  .TabTitulo:before {
    margin-right: 8px;
    /* 27/10/2017 */
    position: relative;
    top: 2px;
    opacity: 0.5;
  }
  
  .TabContenido {
    display: none;
    padding: 20px 0 0;
    border-top: 1px solid #ddd;
  }
  
  #titulo1::before {
    content: url('../img/llave.png');
  }
  #titulo2::before {
      content: url('../img/ubicacion.png');
  }
  #titulo3::before {
      content: url('../img/hoja.png');
  }
  #titulo4::before {
      content: url('../img/head.png');
  }
  #titulo5::before {
      content: url('../img/padres.png');
  }
  #titulo6::before {
      content: url('../img/ingreso.png');
  }
  
  .TabTitulo:hover {
    color: #888;
    cursor: pointer;
  }
  /**/
  .TabTitulo:hover:before {
      opacity: 0.9;
    }
  
  .TabCabecera:checked + label {
    color: #555;
    border: 1px solid #ddd;
    border-top: 2px solid orange;
    border-bottom: 1px solid #fff;
  }
  
  .TabCabecera:checked + label:before {
      color: blue;
      opacity: 1;
    }
  
  #tab1:checked ~ #content1,
  #tab2:checked ~ #content2,
  #tab3:checked ~ #content3,
  #tab4:checked ~ #content4,
  #tab5:checked ~ #content5,
  #tab6:checked ~ #content6 {
    display: block;
  }
  
  @media screen and (max-width: 650px) {
    .TabTitulo {
      font-size: 0;
    }
    .TabTitulo:before {
      margin: 0;
      font-size: 18px;
    }
    .colG5 {
        display: none;
    }
    /* prueba */
    .lnktest:before {
        content: "mquery 2";
    }
  }
  
  /* Estilos de los proyectos bootstrap y smart-admin */
  
  /* --------- INICIO XXX -----------------*/
  .col-lg-1,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-md-1,
  .col-md-10,
  .col-md-11,
  .col-md-12,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-sm-1,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9 {
      position: relative;
      min-height: 1px;
      padding-left: 13px;
      padding-right: 13px
  }
  
  @media (min-width: 768px) {
      .col-sm-1,
      .col-sm-10,
      .col-sm-11,
      .col-sm-12,
      .col-sm-2,
      .col-sm-3,
      .col-sm-4,
      .col-sm-5,
      .col-sm-6,
      .col-sm-7,
      .col-sm-8,
      .col-sm-9 {
          float: left;
      }
      .col-sm-12 {
          width: 100%;
          box-sizing: border-box;
      }
      .col-sm-11 {
          width: 91.66666667%
      }
      .col-sm-10 {
          width: 83.33333333%
      }
      .col-sm-9 {
          width: 75%
      }
      .col-sm-8 {
          width: 66.66666667%
      }
      .col-sm-7 {
          width: 58.33333333%
      }
      .col-sm-6 {
          width: 50%
      }
      .col-sm-5 {
          width: 41.66666667%
      }
      .col-sm-4 {
          width: 33.33333333%
      }
      .col-sm-3 {
          width: 25%
      }
      .col-sm-2 {
          width: 16.66666667%
      }
      .col-sm-1 {
          width: 8.33333333%
      }
      /*
        #modal {
            min-height: 110%; 
        }*/
      /* prueba */
        .lnktest:before {
            content: "mquery 3";
        }
  
  }
  @media (min-width: 992px) {
      .col-md-1,
      .col-md-10,
      .col-md-11,
      .col-md-12,
      .col-md-2,
      .col-md-3,
      .col-md-4,
      .col-md-5,
      .col-md-6,
      .col-md-7,
      .col-md-8,
      .col-md-9 {
          float: left;
      }
      .col-md-12 {
          width: 100%;
          box-sizing: border-box;
      }
      .col-md-11 {
          width: 91.66666667%
      }
      .col-md-10 {
          width: 83.33333333%
      }
      .col-md-9 {
          width: 75%
      }
      .col-md-8 {
          width: 66.66666667%
      }
      .col-md-7 {
          width: 58.33333333%
      }
      .col-md-6 {
          width: 50%
      }
      .col-md-5 {
          width: 41.66666667%
      }
      .col-md-4 {
          width: 33.33333333%
      }
      .col-md-3 {
          width: 25%
      }
      .col-md-2 {
          width: 16.66666667%
      }
      .col-md-1 {
          width: 8.33333333%
      }
      /*
        #modal {
            min-height: 120%; 
        }*/
      /* prueba */
    .lnktest:before {
        content: "mquery 4";
    }
  
  }
  @media (min-width: 1200px) {
      .col-lg-1,
      .col-lg-10,
      .col-lg-11,
      .col-lg-12,
      .col-lg-2,
      .col-lg-3,
      .col-lg-4,
      .col-lg-5,
      .col-lg-6,
      .col-lg-7,
      .col-lg-8,
      .col-lg-9 {
          float: left;
      }
      .col-lg-12 {
          width: 100%;
          box-sizing: border-box;
      }
      .col-lg-11 {
          width: 91.66666667%
      }
      .col-lg-10 {
          width: 83.33333333%
      }
      .col-lg-9 {
          width: 75%
      }
      .col-lg-8 {
          width: 66.66666667%
      }
      .col-lg-7 {
          width: 58.33333333%
      }
      .col-lg-6 {
          width: 50%
      }
      .col-lg-5 {
          width: 41.66666667%
      }
      .col-lg-4 {
          width: 33.33333333%
      }
      .col-lg-3 {
          width: 25%
      }
      .col-lg-2 {
          width: 16.66666667%
      }
      .col-lg-1 {
          width: 8.33333333%
      }
      /* prueba */
    .lnktest:before {
        content: "mquery 5";
    }
    
  }
  /* mejor q vaya */
  .row {
    margin-left: -13px;
    margin-right: -13px;
  
    margin: 0 -15px;
    margin-top: 10px;
  }
  .row:after {
    content: '';
    display: table;
    clear: both
  }
  
  .row0 {
    margin: 0 -15px;
  }

  /* ---------   FIN XXX  -----------------*/
  .label {
    /* display: inline-block; */
    max-width: 100%;
    font-weight: 700;
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    /* white-space: nowrap; */
    vertical-align: baseline;
    border-radius: .25em
  }
  
  .label:empty {
    display: none;
  }
  
  .smart-form fieldset {
    display: block;
    padding: 0 18px 5px;
    border: none;
    background: rgba(255, 255, 255, .9);
    position: relative;
  }
  .smart-form fieldset+fieldset {
    border-top: 1px solid rgba(0, 0, 0, .1);
  }
  
  .smart-form footer {
    display: block;
    padding: 7px 14px 15px;
    border-top: 1px solid rgba(0, 0, 0, .1);
    background: rgba(248, 248, 248, .9)
  }
  .smart-form footer:after {
    content: '';
    display: table;
    clear: both
  }
  
  /* va */
  .smart-form .label {
    display: block;
    line-height: 19px;
    font-weight: bold;
    font-size: 13px;
    color: #333;
    text-align: left;
    padding-left: 0;
  }
  /* va */
  .smart-form .button,
  .smart-form .checkbox,
  .smart-form .input,
  .smart-form .radio,
  .smart-form .select,
  .smart-form .textarea {
    position: relative;
    display: block;
    /* font-weight: 400 */
    font-weight: normal;
  }
  /* va */
  .smart-form .input,
  .smart-form .input input,
  .smart-form .select select,
  .smart-form .textarea textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    line-height: 32px;
    padding-left: 6px;
    /* border-radius: 0; */
    background: #fff;
    font: 13px/16px 'Century Gothic';
    color: #404040;
    border: 1px solid #a9a9a9;
  }
  .smart-form .textarea textarea {
    height: auto;
    resize: none
  }
  
  .smart-form .col {
    float: left;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
  }
  .smart-form .col-1 {
    width: 8.33%
  }
  .smart-form .col-2 {
    width: 16.66%
  }
  .smart-form .col-3 {
    width: 25%
  }
  .smart-form .col-4 {
    width: 33.33%
  }
  .smart-form .col-5 {
    width: 41.66%
  }
  .smart-form .col-6 {
    width: 50%
  }
  .smart-form .col-7 {
    width: 58.33%
  }
  .smart-form .col-8 {
    width: 66.67%
  }
  .smart-form .col-9 {
    width: 75%
  }
  .smart-form .col-10 {
    width: 83.33%
  }
  .smart-form .col-11 {
    width: 91.67%
  }
  .smart-form .col-12 {
    width: 100%
  }
  @media screen and (max-width: 600px) {
    .smart-form .col {
        float: none;
        width: 100%;
        box-sizing: border-box;
    }
/*
    #modal {
        min-height: 245%; 
    } */
    .colG3 {
        display: none;
    }
    /* prueba */
    .lnktest:before {
        content: "mquery 6";
    }
  }
  .smart-form .select select {
    padding: 5px
  }
  
  #MarcoFoto {
      width: 140px;
      min-width: 140px;
      height: 180px;
      border: 1px solid #ccc;
      margin-right: 20px;
      margin-bottom: 20px;
  }

.Error {
    color:red;
    /* font-weight:bold; */
}

#spnMensajes {
    padding:1.5em;
    position: relative;
    top:0.6em;
}

.FondoBlanco {
    background-color: white;
}

textarea {
    font-family: "Century Gothic";
    width:100%;
    min-width: 200px;
}

/* Prueba */
.buscar:before {
    content: url('../img/lupa1.jpg');
    margin-right: 0.2rem;
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]):hover,
input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus,
textarea:hover, textarea:focus, select:hover, select:focus {
  border: 0.1rem solid #0288d1;
}


button, [type="button"], [type="submit"], [type="reset"],
a.button {
    font-family: "Century Gothic";    
    display: inline-block;
    border: 0;
    border-radius: 0.1875rem;
    padding: 0.625rem 0.875rem;
    margin: 0.5rem;
    text-decoration: none;    
    cursor: pointer;
    transition-duration: 0.1s;
    transition-property: transform;
}

input:disabled, input[disabled], textarea:disabled, textarea[disabled], 
select:disabled, select[disabled], button:disabled, button[disabled], 
.button:disabled, .button[disabled], [role="button"]:disabled, [role="button"][disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}


.fondo-navy {
    background-color: #57607c;
  }
  .fondo-green {
    background-color: #1add9f;
  }
  .fondo-teal {
    background-color: #18d2ba;
  }
  .fondo-blue {
    background-color: #4894f0;
  }
  .fondo-purple {
    background-color: #b490f5;
  }
  .fondo-pink {
    background-color: #f45b93;
  }
  .fondo-red {
    background-color: #cd980a;
  }
  .fondo-orange {
    background-color: #ff8463;
  }
  .fondo-yellow {
    background-color: #ffbf00;
  }
  .fondo-grey {
    background-color: #ebf2fa;
  }
  .fondo-gris {
    background-color: #c3bdbc;
  }
  .fondo-white {
    background-color: #ffffff;
  }
  
.letra-blanca {
    color: #fff;
    font-weight: bold;
}
  
.letra-blue {
    color: #4894f0;
    font-weight: bold;
}  
  
button:hover, 
[type="button"]:hover, 
a.button:hover, 
input[type="submit"]:hover 
/*, [type="reset"], a.button */ {
    /* opacity: 0.7;    */
    transform: scale(1.1);
}


.smart-form input:disabled,
.smart-form select:disabled {
    background-color: rgb(235, 235, 228);
}

dialog {
    padding: 0;
}

.btnBuscarGrid {
    padding: 0.1rem 0.5rem;
    /* padding: 0; */
    margin: 0 0.2rem;
    width:1.8rem;
    cursor:pointer;
    background-color: #4894f0;
    color: #ffffff;
}

.derecha {
    text-align: right; 
}

.w90 {
    width: 90%;
}

.padR03 {
    padding-right: 0.3rem;
}

.fondo-red2 {
    background-color: #e93349;
  }

#ventana-modal-mensajes, 
#ventana-modal-fechas
{
    background-color: #ffffff;
}  
/*
.smart-form .input:required {
    border: 1px solid red;
}
*/

#ventana-modal-busquedas {
    background-color: #ffffff;
    width: 80%;
}

.TablaApp input[type="text"]
 {
    /* text-align: right;  */
    border: 1px solid #a9a9a9;
}

.TablaApp input
{
    font: 14px/1 'Century Gothic';
}


/*
* Estilos de la grilla de facturas
*/

.codServicio {
    /* max-width: 2.4rem; */
    min-width: 6.5rem;
}
/*
.nomServicio {
    border: 1px solid #a9a9a9;
}
*/

.fechaIni, .fechaFin {    
    max-width: 4.9rem;
    min-width: 4.2rem;
    margin-right: 0.2rem;
    border: 1px solid #a9a9a9;
}

.dias {
    float: right;
    text-align: right; 
    max-width: 1.8rem;
    min-width: 1.7rem;
    border: 1px solid #a9a9a9;
}

.cantidad {
    float: right;
    text-align: right; 
    max-width: 2.5rem;
    min-width: 2.4rem;
    border: 1px solid #a9a9a9;
}

.precioUnit {
    float: right;
    text-align: right; 
    max-width: 4.7rem;
    min-width: 4.6rem;
}

.cantidad {
    float: right;
    text-align: right; 
    max-width: 3rem;
    min-width: 2.8rem;
    border: 1px solid #a9a9a9;
}

.totalLinea {
    float: right;
    text-align: right; 
    max-width: 5.2rem;
    min-width: 5.1rem;
}

.eliminar {
    padding-left: 0.4rem;
    padding-right: 0;
    width: 1.5rem;
}

.eliminar img {
    width:16px;
    height:16px;
    cursor:pointer;
}

.linkDisabled {
    text-decoration: none;
    cursor: not-allowed;
    color: #333;
}

#btnNuevoDetalle {
    margin: 0;
    padding: 0.1rem;    
}

.btnIcon {
    padding: 0;
    margin: 0;
}

.btnIcon img{
    width:16px;
    height:16px;
    padding-top: 0;
    padding-bottom: 0;
    /* cursor:pointer;  */
}

.btn-titulo {
    cursor:pointer;
    float: right;
}
.btn-titulo:hover {
    color: #919191;
}
.colBoton {
    max-width: 1em;
}

.card {
    display: flex; 
}
.card > div {
    /* Un valor, número sin unidades: flex-grow */
    flex: 1;
    margin: 0 20px 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fff; 
}  
.card > div:last-child {
    margin-right: 0; 
}
.card h2 {
    margin: -15px -15px 15px -15px;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #ddd; 
}
.card li {
    position: relative;
    margin: 0 0 10px;
    padding: 0 0 0 25px; 
}
.card li:before {
    content: '\f00c';
    font: normal 16px fontawesome;
    top: 0;
    left: 0;
    color: #999; 
    padding-right: 5px;
}  

@media (max-width: 1000px) {
    .card {
        flex-direction: column; 
    }
    
    .card > div {
        margin-right: 0; 
    }

    #modal-dialog {
        width: 100%;
    }
}

.fondoImg {
    background-image: url("../img/bawebfondo.jpg");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.w100 {
    width: 100% !important;
}

#secBtnConsultarHistorico {
    position: relative;
    top: -10px;
}

.btnCerrarModal {
    position: relative;
    cursor: pointer;
    float: right;
}


#tblArchivadorDetalle th:nth-child(3) {
    width: 8rem;
}

#tblArchivadorDetalle th:nth-child(4) {
    width: 4rem;
}

.encogerCentrar {
    max-width: 50rem;
    margin: 0 auto;
    /* background-color: red; */
}

.fondoEscritorio {
    background: #e9f0f5;
}


.celdaIconos {
    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: baseline;
	align-content: stretch;
}


/* Estilizar los checkboxes */
.labelCheck {
    position: relative;
    cursor: pointer;
    top: -2px;
}

.labelCheck input {
    position: relative;
    opacity: 0;
    cursor: pointer;
}

.labelCheck .spanCheck {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 16px;
    width: 16px;
    background-color: transparent;
    /* border-radius: 5px; */
    border: 2px solid #2196F3;
}

.labelCheck input:checked ~ .spanCheck {
    background-color: #FFFFFF;
    /* border-radius: 5px; */
    opacity:1;
    border: 2px solid #2196F3;
}

.labelCheck .spanCheck::after {
    position: absolute;
    content: "";
    left: 12px;
    top: 12px;
    height: 0px;
    width: 0px;
    /* border-radius: 5px; */
    border: solid #009BFF;
    border-width: 0 3px 3px 0;
    transform: rotate(0deg) scale(0);
    opacity:1;
  	transition: all 0.1s ease-out;
}

.labelCheck input:checked ~ .spanCheck::after {
  transform: rotate(45deg) scale(1);
  opacity:1;
  left: 2px;
  top: -4px;
  width: 6px;
  height: 12px;
  border: solid #009BFF;
  border-width: 0 2px 2px 0;
  background-color: transparent;
  /* border-radius: 0; */
}

.labelCheck input:checked ~ .spanCheck::before {
    left: -3px;
    top: -3px;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    opacity:0;
    z-index: 999;
}

#divRuta {
    padding: 4px 0;
    /* width: 80%; */
    font-family: 'Roboto', sans-serif;
}

.linkRuta {
    color: #0288d1;
    display: inline;
    text-decoration: underline;
    cursor: pointer;
}

.linkRutaFinal {
    color: #000;
    display: inline;
    font-weight: bold;
}

#thGridAjaxAcciones {
    min-width: 70px;
    max-width: 80px;
}

.mleft8 {
    margin-left: 8px;
}

#imgLogoApp {
    cursor: pointer;
}

/* Ini: Estilos para el File Uploader (FUP) */
.wrapperFUP {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

.uploadConsole {
    background: #fefefe;
    border: 2px solid #eee;
    padding: 20px;
}

.uploadConsoleBody {
    margin-bottom: 20px;
}

.uploadConsoleDrop {
    height: 150px;
    border: 2px dashed #4894f0;
    line-height: 150px;
    color: #ccc;
    text-align: center;
    margin-bottom: 20px;
}

.uploadConsoleDropDrop {
    height: 150px;
    border: 2px dashed #222;
    line-height: 150px;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
}

.bar {
    width:100;
    background: #eee;
    padding: 3px;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    margin-bottom: 20px;
}

.barFill {
    height: 30px;
    display: block;
    background: cornflowerblue;
    width: 0;
    border-radius: 3px;
    -webkit-transition: width 0.8s ease;
    transition: width 0.8s ease;
}

.barFillNoAnim {
    height: 30px;
    display: block;
    background: cornflowerblue;
    width: 0;
    border-radius: 3px;
    -webkit-transition: none;
    transition: none;
}

.barFillText {
    color: #fff;
    line-height: 30px;
    margin-left: 5px;
}

.uploadConsoleUpload {
    border-bottom: 2px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.uploadConsoleUpload span {
    float: right;
}

.marbot10 {
    margin-bottom: 10px;
}

#divUploadsFinished {
    height: 100px;
    overflow-y: auto;
}
/* Fin: Estilos para el File Uploader (FUP) */



/* 
 * Ini: Estilos para el Indexador 
 */

.divIndexador {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 100vh;
}

.ladoFlex {
    flex-grow: 1;
    /* min-width: 350px; */
    min-height: 100vh;
}

#divIzda {
    display: flex;
    flex-direction: column;
    min-width: 440px;
    max-width: 53vw;
}

/* #divDcha {
    background-color:#525659;
    overflow-x: scroll;
    overflow-y: scroll;
    max-height: 100vh;
    min-width: 30vw;
    max-width: 50vw;
    text-align: center;
} */

#divDcha {
    max-width: 50vw;
    display: flex;
    flex-direction: column;
}

#divVisorTiff {
    background-color:#525659;
    overflow-x: scroll;
    overflow-y: scroll;
    max-height: 90vh;
    min-width: 40vw;
    max-width: 50vw;
    text-align: center;
    flex-grow: 1;
}

.up, .dn {
    flex-grow: 1;
    overflow-y: scroll;
}

.up {
    min-height: 20vh;
    max-height: 30vh;
    display: flex;
    background-color: #9499ab;
}

.dn {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    min-height: 70vh;
}

.divIndexador .TablaApp th {
    position: sticky;
    top: -1px;
    /* background-color: #57607c; */
    background-color: #484848;
}

.barra-titulo2 {
    padding: 9px 1.4em;
    /* background-color: #57607c; */
    background-color: #484848;
    color: #fff;
    margin: 0;
    display: flex;
}

.footer {
    display:flex;
    justify-content:space-around;
}

.filaResaltada {
    color: #fff;
    background-color: #18d2ba !important;
}

.upizda {
    color: #fff;
    width: 40px;
    font-size: 26px;
    min-height: 107px;
}

.upizda i {
    cursor: pointer;
    margin-left: 8px;
}

.upizda i:hover {
    /* cursor: pointer; */
    color: #57607c;
}

.fija {
    height: 25vh;
    position: absolute;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

#divBotonesVisor {
    margin-left: auto;
    font-size: 24px;
}

#divBotonesVisor i {
    cursor: pointer;
}

#divBotonesVisor i:hover {
    color: lightgray;
}

@media (max-width: 980px) {
    #divIzda {
        max-width: 100vw;
    }

    #divDcha {
        min-width: 100vw;
    }

    #divVisorTiff {
        min-width: 100vw;
    }
}

#iAmpliar {
    margin-left: 20px;
}  

/* Fin: Estilos para el Indexador */

/*
  Color del Loading
*/
#loader-1 path,
#loader-1 rect{
  fill: black;
}


/* 
 * Ini: Redimension del canvas del visor
 */

/* Ancho por defecto cuando se crea */
canvas {
    width: 600px;
}

/* Lista de tamaños */
.canvas200 {
    width: 200px;
}
.canvas300 {
    width: 300px;
}
.canvas400 {
    width: 400px;
}
.canvas500 {
    width: 500px;
}
.canvas600 {
    width: 600px;
}
.canvas700 {
    width: 700px;
}
.canvas800 {
    width: 800px;
}
.canvas900 {
    width: 900px;
}
.canvas1000 {
    width: 1000px;
}
.canvas1100 {
    width: 1100px;
}
.canvas1200 {
    width: 1200px;
}
.canvas1300 {
    width: 1300px;
}
.canvas1400 {
    width: 1400px;
}
.canvas1500 {
    width: 1500px;
}
.canvas1600 {
    width: 1600px;
}
.canvas1700 {
    width: 1700px;
}
.canvas1800 {
    width: 1800px;
}
.canvas1900 {
    width: 1900px;
}
.canvas2000 {
    width: 2000px;
}

/* 
 * Fin: Redimension del canvas del visor
 */

#ventanaModalVisor {
    border: #000 solid 2px;
} 

#modalVisor {
    flex-direction: column;
}

/* .h90vh {
    height: 90vh;
} */

#btnCerrarVisor {
    padding-left: 20px;
}

.minw450 {
    min-width: 450px;
}

.minw500 {
    min-width: 500px;
}


 .dataRadicacion {
     min-height: 60vh;
     display: flex;
 }

.ladoRad {
    flex-grow: 1;
    border: solid 1px #ccc;
    margin: 0 6px;
}

.minH50 {
    min-height: 50px;
}


/*
 * Ini: flexTabs
 */
 
.flexTabsContainer {
    width: 100%;
}
.flexTabsContainer .state {
    position: absolute;
    left: -10000px;
}
.flexTabsContainer .flex-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.flexTabsContainer .flex-tabs .tab {
    flex-grow: 1;
    max-height: 40px;
}
.flexTabsContainer .flex-tabs .panel {
    background-color: #fff;
    padding: 20px;
    min-height: 300px;
    display: none;
    width: 100%;
    flex-basis: auto;
}
.flexTabsContainer .tab {
    display: inline-block;
    padding: 10px;
    vertical-align: top;
    background-color: #eee;
    cursor: hand;
    cursor: pointer;
    border-left: 10px solid #ccc;
}
.flexTabsContainer .tab:hover {
    background-color: #fff;
}

#tab-1:checked ~ .tabs #tab-1-label,
#tab-2:checked ~ .tabs #tab-2-label,
#tab-3:checked ~ .tabs #tab-3-label,
#tab-4:checked ~ .tabs #tab-4-label,
#tab-5:checked ~ .tabs #tab-5-label,
#tab-6:checked ~ .tabs #tab-6-label,
#tab-7:checked ~ .tabs #tab-7-label {
    background-color: #fff;
    cursor: default;
    border-left-color: #3498db;
    font-weight: bold;
}

#tab-1:checked ~ .tabs #tab-1-panel,
#tab-2:checked ~ .tabs #tab-2-panel,
#tab-3:checked ~ .tabs #tab-3-panel,
#tab-4:checked ~ .tabs #tab-4-panel,
#tab-5:checked ~ .tabs #tab-5-panel,
#tab-6:checked ~ .tabs #tab-6-panel,
#tab-7:checked ~ .tabs #tab-7-panel {
    display: block;
}

@media (max-width: 600px) {
    .flex-tabs {
        flex-direction: column;
    }
    .flex-tabs .tab {
        background: #fff;
        border-bottom: 1px solid #ccc;
    }
    .flex-tabs .tab:last-of-type {
        border-bottom: none;
    }
    .flex-tabs #tab-1-label {
        order: 1;
    }
    .flex-tabs #tab-2-label {
        order: 3;
    }
    .flex-tabs #tab-3-label {
        order: 5;
    }
    .flex-tabs #tab-4-label {
        order: 7;
    }
    .flex-tabs #tab-5-label {
        order: 9;
    }
    .flex-tabs #tab-6-label {
        order: 11;
    }
    .flex-tabs #tab-7-label {
        order: 13;
    }
    /* ---------------------- */
    .flex-tabs #tab-1-panel {
        order: 2;
    }
    .flex-tabs #tab-2-panel {
        order: 4;
    }
    .flex-tabs #tab-3-panel {
        order: 6;
    }
    .flex-tabs #tab-4-panel {
        order: 8;
    }
    .flex-tabs #tab-5-panel {
        order: 10;
    }
    .flex-tabs #tab-6-panel {
        order: 12;
    }
    .flex-tabs #tab-7-panel {
        order: 14;
    }

    #tab-1:checked ~ .tabs #tab-1-label,
    #tab-2:checked ~ .tabs #tab-2-label,
    #tab-3:checked ~ .tabs #tab-3-label,
    #tab-4:checked ~ .tabs #tab-4-label,
    #tab-5:checked ~ .tabs #tab-5-label,
    #tab-6:checked ~ .tabs #tab-6-label,
    #tab-7:checked ~ .tabs #tab-7-label {
        border-bottom: none;
    }

    #tab-1:checked ~ .tabs #tab-1-panel,
    #tab-2:checked ~ .tabs #tab-2-panel,
    #tab-3:checked ~ .tabs #tab-3-panel,
    #tab-4:checked ~ .tabs #tab-4-panel,
    #tab-5:checked ~ .tabs #tab-5-panel,
    #tab-6:checked ~ .tabs #tab-6-panel,
    #tab-7:checked ~ .tabs #tab-7-panel {
        border-bottom: 1px solid #ccc;
    }
}
  
/*
 * Fin: flexTabs
 */

 #visorPDF {
    background-color:#525659;
    overflow-x: scroll;
    overflow-y: scroll;
    max-height: 90vh;
    min-width: 30vw;
    text-align: center;
    flex-grow: 1;
}

.pdfModal {
    min-height: 85vh;
    width: 60vw;
}

#btnEliminarArchivador {
    position: relative;
    top: 14px;
}

/* *************************************************************************** */
  
/* TOOLTIP */
.tooltip {
    position: relative;
    overflow: hidden;
}

.tooltip:hover {
    overflow: visible;
}

.tooltip:hover .tooltip-content {
    opacity: 1;
}
  
.tooltip .tooltip-content {
    background: var(--ColorFondoCabeceras);
    box-shadow: 0 5px 25px 5px rgba(205, 210, 214, 0.8);
    box-sizing: border-box;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 1px;
    max-width: 400px;
    min-width: 200px;
    padding: 1em;
    position: absolute;
    opacity: 0;
    transition: all .3s ease;
}
  
.tooltip .tooltip-content::after {
    background: var(--ColorFondoCabeceras);
    content: "";
    height: 10px;
    position: absolute;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    width: 10px;
}

.tooltip.top .tooltip-content {
    bottom: calc(100% + 1.5em);
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

.tooltip.top .tooltip-content::after {
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
}

.tooltip.bottom .tooltip-content {
    bottom: calc(-100% - 1.8em);
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

.tooltip.bottom .tooltip-content::after {
    top: -5px;
}

.tooltip.right .tooltip-content {
    left: calc(100% + 1.5em);
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

.tooltip.right .tooltip-content::after {
    left: -5px;
    margin-top: -5px;
    top: 50%;
}

.tooltip.left .tooltip-content {
    right: calc(100% + 1.5em);
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

.tooltip.left .tooltip-content::after {
    right: -5px;
    margin-top: -5px;
    top: 50%;
}

.bgRedH:hover {
    background-color: #FF0000;
}

.colWhiteH:hover {
    color: #FFF;
}

.fz20px {
    font-size: 20px;
}

.btnVer {
    margin-right: 15px;
}

.smart-form .permisos input[type=text] {
    min-width: 200px;
    margin-right: 80px;
}

#txtNota {
    min-height: 200px;
}

#txtRespuesta {
    resize: vertical;
    min-height: 25vh;
}

#svgCuadrado{
    width: 75px;
    height: 75px;
    /* fill: #4894f0; */
}

.h32 {
    height: 32px;
    line-height: 32px;
}

.alerta1 {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#divNumeros {
    /* margin:4px; */
    float:left;
}

#divNumeros label {
    float:left;
    width:150px;
    margin:4px;
    background-color:#EFEFEF;
    border-radius:4px;
    border:1px solid #D0D0D0;
    overflow:auto;
       
}

#divNumeros label span {
    text-align:center;
    font-size: 1.7em;
    padding:10px 0px;
    display:block;
}

#divNumeros label input {
    display: none;
}

#divNumeros input:checked + span {
    background-color:#404040;
    color:#F7F7F7;
}

#divNumeros label {
    background-color:#00BFFF;
    color:#fff;
    transition: all 0.3s;
}

#divNumeros label:hover {
    background-color:#009BFF;
}

.moverNums {
    display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}

.btnMoverNums { 
    font-weight: bold;
    font-size: 1.7em;
}

.descripcionClave {
    color: #FFF;
    margin-bottom:2rem;
}