body{

	font-family: 'Muli', sans-serif;
}

#menu-mobile{
	display:none;
	width:100vw;
	background-color: #F7F7F7;
	height:100vh;
	position:absolute;
	z-index:999999;
	left: 0px;
    padding-left: 20px;
}
table{
font-size:0.75em;
}
/*
.modal-dialog{
	width: 750px;

}*/

.panel-heading{
	color:#fff !important;

}
#tabla-documentos .fa{
	font-size:1.5em;
	color:#20526b;

}




/**
 * Framework starts from here ...
 * ------------------------------
 */

.tree,
.tree ul {
  margin:0 0 0 1em; /* indentation */
  padding:0;
  list-style:none;
  color:#369;
  position:relative;
}

.tree ul {margin-left:.5em} /* (indentation/2) */

.tree:before,
.tree ul:before {
  content:"";
  display:block;
  width:0;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  border-left:1px solid;
}

.tree li {
  margin:0;
  padding:0 1.5em; /* indentation + .5em */
  line-height:2em; /* default list item's `line-height` */
  font-weight:bold;
  position:relative;
}

.tree li:before {
  content:"";
  display:block;
  width:10px; /* same with indentation */
  height:0;
  border-top:1px solid;
  margin-top:-1px; /* border top width */
  position:absolute;
  top:1em; /* (line-height/2) */
  left:0;
}

.tree li:last-child:before {
  background:white; /* same with body background */
  height:auto;
  top:1em; /* (line-height/2) */
  bottom:0;
}

.has-feedback .form-control {

    padding-right: 0;

}

.spinner-cargando {
	display: none;
	/* visibility:hidden; */
}

.dropbtn {
	background-color: #04AA6D;
	color: white;
	padding: 16px;
	font-size: 16px;
	border: none;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #ddd;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown:hover .dropbtn {
	background-color: #3e8e41;
}

/*MODULOS*/

  .wordwrapList {
        overflow-wrap: break-word;
        font-size: smaller;
        word-break: break-all;
    }

    .selectList input,
    select {
        float: right;
        width: 50%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        /* font-family: Calibri; */
        font-size: 12px;
    }

    .ocultaICE {
        display: none;
    }

    /* span { */
        /* margin-left: 0px; */
        /* color: #b1b1b1; */
        /* font-size: 8px; */
        /* font-style: italic; */
    /* } */

	.fontSelect2{
	  font-size:11px;
	  width: 250px !important;
	  overflow: scroll;
	}

	.acortarTexto {
    width: 150px; /* Adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*Carrusel de avisos de mensajes Global*/

@keyframes marquee {
  0% { text-indent: 100%; }
  100% { text-indent: -100%; }
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.phone.disabled {
	color: gray;
}

.phone.disabled:hover i {
	content: "\f023";
	display: block;
	font-family: FontAwesome;
	cursor: not-allowed;
}

.invalid-phone {
    border-color: red;
}


/* Centrar el modal verticalmente */
.modal-dialog {
    position: relative;
    display: table; /* Para centrar verticalmente */
    overflow-y: auto;
    overflow-x: auto;
    min-width: 300px; /* Ajusta según sea necesario */
    margin: 0 auto; /* Centrar horizontalmente */
    top: 20%;
    transform: translateY(-50%);
}

.spinner-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Asegúrate de que el spinner esté por encima de otros elementos */
    text-align: center; /* Centrar el contenido dentro del contenedor */
}

.spinner-modal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #FFF #FFF transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.spinner-modal::after,
.spinner-modal::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #2a2d77 #2a2d77;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.spinner-modal::before {
  width: 32px;
  height: 32px;
  border-color: #05f29b #00ced6 transparent transparent;
  animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.spinner-site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 9999;
}

/* .spinner-site-border { */
    /* width: 48px; */
    /* height: 48px; */
    /* border-radius: 50%; */
    /* border: 3px solid; */
    /* border-color: #00ced6 #00ced6 transparent transparent; */
    /* box-sizing: border-box; */
    /* animation: rotation 1s linear infinite; */
/* } */

.spinner-site-border::after,
.spinner-site-border::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #2a2d77 #2a2d77;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}

.spinner-site-border::before {
    width: 32px;
    height: 32px;
    border-color: #00ced6 #00ced6 transparent transparent;
    animation: rotation 1.5s linear infinite;
}

/* Animación suave para el texto (opcional, para que respire) */
@keyframes pulse-text {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Animación de la mano "tocando" */
@keyframes tap-hand {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        /* Simula el clic: se mueve un poco arriba/izquierda y se achica */
        transform: translate(-3px, -3px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.enlace-pulsante {
    position: relative; /* Necesario para posicionar la mano */
    display: inline-block;
    text-decoration: underline;
    text-decoration-color: blue;
    color: blue;
    cursor: pointer;
    font-weight: bold;

    /* Animación suave del texto */
    animation: pulse-text 2s infinite ease-in-out;
}

/* El ícono de la mano incrustado */
.enlace-pulsante::after {
    content: "\f25a"; /* Código Unicode de FontAwesome para 'hand-pointer-o' */
    font-family: FontAwesome; /* Asegura que use la fuente de íconos */

    position: absolute;
    bottom: -15px; /* Ajusta para bajar la mano */
    right: -15px;  /* Ajusta para mover a la derecha */

    font-size: 20px; /* Tamaño de la mano */
    color: #ff5722;  /* Color naranja/rojo para llamar la atención (contraste con el azul) */
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff; /* Borde blanco para que se lea sobre líneas */

    /* Aplicar la animación de toque */
    animation: tap-hand 1s infinite ease-in-out;

    pointer-events: none; /* Para que el clic pase a través de la mano al enlace */
    z-index: 10;
}

.enlace-pulsante:hover {
    color: #0056b3;
    /* Al pasar el mouse real, detenemos la animación de la mano virtual */
}

.enlace-pulsante:hover::after {
    display: none; /* Ocultamos la mano virtual cuando el usuario ya puso su mouse encima */
}

/* ========== Autocomplete de Clientes (Spinner Reutilizado) ========== */
/* Contenedor del spinner - reutiliza spinner-modal de styles.css */
.autocomplete-spinner {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    z-index: 10;
}

/* Ajustar tamaño del spinner-modal para el input (más pequeño) */
.autocomplete-spinner .spinner-modal {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.autocomplete-spinner .spinner-modal::after,
.autocomplete-spinner .spinner-modal::before {
    border-width: 2px;
    width: 16px;
    height: 16px;
}

.autocomplete-spinner .spinner-modal::before {
    width: 12px;
    height: 12px;
}

/* Estilos del dropdown de jQuery UI Autocomplete */
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ui-autocomplete .ui-menu-item {
    list-style: none;
}

.ui-autocomplete .ui-menu-item a {
    padding: 8px 12px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.ui-autocomplete .ui-menu-item a:hover {
    background-color: #f0f0f0;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background-color: #0071BB !important;
    color: #fff !important;
    border: none !important;
}