/*****************/
/*    LOADING    */
/*****************/
#oDivLoading 
{
    background: rgba( 255, 255, 255, .8 ) url('../img/loading.gif') 50% 50%  no-repeat;
    display:    none;
    height:     100%;
    left:       0;
    position:   fixed;
    top:        0;
    width:      100%;
    z-index:    1000000;
}
#oDivLoading.loading {overflow: hidden;}
#oDivLoading.loading {display: block;}

/*****************/
/*    BACKGROUND */
/*****************/
img.bg {
    height: auto;
    left: 0;
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;
      
    /* Set up positioning */
    position: fixed;
    top: 0;
      
    /* Set up proportionate scaling */
    width: 100%;
    z-index: -5;
  }
  
  @media screen and (max-width: 1024px) { /* Specific to this particular image */
    img.bg {
      left: 50%;
      margin-left: -512px;   /* 50% */
    }
  }

/*********************/
/*    TOOGLE         */
/*********************/
#hashLink {
    display: none;
}
  
#hashLink:target {
    display: block;
}


/*********************/
/*    TOOGLE         */
/*********************/
#hashLinkChild {
    display: none;
}
  
#hashLinkChild:target {
    display: block;
}


/*********************/
/*    BOTONES        */
/*********************/
.box {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    width: 350px;
}
.box:hover {
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

/*********************/
/*    PASTILLA FONDO */
/*********************/
.pastilla {
    background-color: #FFF;
    border: 0.25px solid #EDEDED;
    border-radius: 5px;
    margin-bottom: 30px;
    margin-top: 30px;
    padding-bottom: 25px; 
    padding-left: 50px; 
    padding-right: 50px;
    padding-top: 25px;
}

/*********************/
/*     CHECKBOX      */
/*********************/

/* The switch - the box around the slider */
.switch 
{
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}  
/* Hide default HTML checkbox */
.switch input 
{
    height: 0;
    opacity: 0;
    width: 0;
}  
/* The slider */
.slider 
{
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: .4s;
    transition: .4s;
}  
.slider:before 
{
    background-color: white;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    -webkit-transition: .4s;
    transition: .4s;
    width: 26px;
}  
input:checked + .slider {background-color: #24292E;}  
input:focus + .slider {box-shadow: 0 0 1px #24292E;}  
input:checked + .slider:before 
{
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}  
/* Rounded sliders */
.slider.round {border-radius: 34px;}  
.slider.round:before {border-radius: 50%;}

.checkbox .checkbox-activar-crm {
	margin-left: 0 !important;
}
.form-horizontal .checkbox .checkbox-activar-crm {
	margin-top: 2px !important;
}

/*********************/
/*     DATATABLE     */
/*********************/

.oDataTable thead th {cursor:pointer;}

.dataTables_empty {background-color: fff;}
.dataTables_filter { float: right;width: 100%;}
.dataTables_filter label{ text-align: right!important;width: 100%;}
.dataTables_filter label input {width: 50%!important;}


/*********************/
/*         QR        */
/*********************/
table.qr
{
	border: solid 1px black;
	border-collapse: collapse;
	table-layout: fixed;
}

table.qr td
{
	font-size: 2px;
	height: 5px;
	width: 5px;
}

table.qr td.on
{
	background: #000000;
}
/*********************/
/*LANDING MANCOMUNADAS*/
/*********************/
#oValidacion input,#oNoValidacion input{font-size: 16px;} 

/******************************/
/* PLANTILLAS PERSONALIZADAS */
/****************************/

.seccion-plantillas-personalizadas {
	height: 300px;
	max-height: 300px !important;
}

.seccion-botones-plantillas {
	height: 300px;
	overflow-y: scroll;
}

.seccion-plantillas {
	overflow-y: hidden;
}

.contenedor-plantilla {
	height: 300px;
	width: 100%;
}





#oTablaPlantillas thead input {
    width: 100%; /* Hacer que el input ocupe todo el ancho de la columna */
    box-sizing: border-box; /* Asegurar que el padding y el border estén incluidos en el ancho */
}

#oTablaPlantillas thead select {
    width: 100%; /* Hacer que el select también ocupe todo el ancho de la columna */
    box-sizing: border-box;
}

table.table.datatable-es {
    margin-bottom: 0px !important;
}

.dataTables_length {
    float: left !important;
    margin-left: 0;
}

.dataTables_filter {
    float: right !important;
    margin-right: 0;
}

.dataTables_info {
    text-align: left;
    float: left;
    margin-left: 0;
}

.fondoModal {
    display:none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.choices[data-type="select-multiple"]>.choices__inner {
	max-height: 100px;
	overflow-y: scroll;
}

/*****************/
/* PASSWORD BUTTONS */
/*****************/
/* Estilos para los botones de acción de contraseña */
.input-group-btn .btn-password-action {
    height: 34px; /* Misma altura que el input */
    line-height: 1.42857143;
    padding: 6px 12px;
    vertical-align: middle;
    margin-left: -1px; /* Elimina el espacio entre botones */
}

.input-group-btn .btn-password-action .glyphicon {
    line-height: 1.4;
    font-size: 14px;
    position: relative;
    top: 1px; /* Ajuste fino para centrar verticalmente los iconos */
}

/* Asegura que el primer botón tenga borde redondeado correcto */
.input-group-btn .btn-password-action:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Mejorar la apariencia del input de contraseña */
#passwordField {
    height: 34px;
}

.tabla-scroll-container {
    overflow-y: auto;
    max-height: 300px;
    border: 1px solid #ddd;
}

/* Cabecera fija */
.thead-fijo th {
    position: sticky;
    top: 0;
    background-color: #434343;
    color: #ffffff;
    z-index: 2;
}

.btn-circle {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
}

.btn-circle-small {
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 9px;
}

.btn-circle:active,
.btn-circle:focus,
.btn-circle-small:active,
.btn-circle-small:focus {
    outline: 0 !important;
}

.panel-title > a.sil-decoration-none-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title > a.sil-decoration-none-link span {
  text-align: left;
}

.panel-title > a.sil-decoration-none-link i {
  text-align: right;
}

#oDiv_resumen, #oDiv_resumenChild, #oDiv_resumenGrandChild,
#oDiv_documento, #oDiv_documentoChild, #oDiv_documentoGrandChild,
#oDiv_trazabilidad, #oDiv_trazabilidadChild, #oDiv_trazabilidadGrandChild,
#oDiv_cc,
#oDiv_cpee {
    height: 358px !important;
    max-height: 358px !important;
}

#oDiv_resumen.burofax-height, #oDiv_resumenChild.burofax-height, #oDiv_resumenGrandChild.burofax-height,
#oDiv_documento.burofax-height, #oDiv_documentoChild.burofax-height, #oDiv_documentoGrandChild.burofax-height,
#oDiv_trazabilidad.burofax-height, #oDiv_trazabilidadChild.burofax-height, #oDiv_trazabilidadGrandChild.burofax-height,
#oDiv_cc.burofax-height,
#oDiv_cpee.burofax-height {
    height: 393px !important;
    max-height: 393px !important;
}

/*Crons listar*/
.success-highlight {
    background-color: #d4edda !important;
    transition: background-color 1.5s ease;
}
