/* --------- Reset --------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --------- Body --------- */
body {
    margin: 0;
    padding:0px;
    background-color: #f1f1f1;
    background-image: url(/imagenes/gancho7.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

html {
    min-height: 100%;
    position: relative;
}

h1 { color: #6994FF;
    padding: 0px 30px;
    font-family: sans-serif; 
    text-shadow: 2px 2px 1px #333,
    3px 3px 1px #333,
    4px 4px 1px #333,
    4px 4px 0px #333,
    5px 5px 0px #333,
    6px 6px 0px #333,
    7px 7px 0px #333,
    8px 8px 0px #333,
    9px 9px 0px #333,
    15px 15px 15px #000;
} 

h2 { color: #6994FF;
    font-family: sans-serif;
    font-weight: 800;
    padding: 5px 30px;
    text-shadow: 0.2em 0.2em 0.3em black;
}
            
h3 { color: #6994FF;
    font-family: sans-serif;
    font-weight: 900;
    padding: 20px 30px;
    text-shadow: 0.2em 0.2em 0.3em black;
} 
h4 { color: #6994FF;
    font-family: sans-serif;
    font-weight: 900;
    padding: 0px 30px;
    text-shadow: 0.2em 0.2em 0.3em black;
} 
h5 { color: #6994FF;
    font-family: sans-serif;
    font-weight: 900;
    /*padding: 20px 30px;*/
    text-shadow: 0.2em 0.2em 0.3em black;
} 

.footer {
    background-color: #666;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    color: white;
    /*margin: 1em;*/
    font-family: sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-shadow: 0.1em 0.1em 0.2em black;
}
        
.subFooter {
    margin: 15px;
}

.efecto3DsinMov{
    border: none;
    border-radius: 4px; /* Borde redondeado del botón */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Sombra del botón */
    transition: transform 0.3s; /* Transición suave del efecto */
}

.efecto3D{
    border: none;
    border-radius: 4px; /* Borde redondeado del botón */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Sombra del botón */
    transition: transform 0.3s; /* Transición suave del efecto */
}

.efecto3D:hover {
    transform: translateY(-2px); /* Efecto de elevación del botón al pasar el cursor sobre él */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Aumentar la sombra cuando el cursor está sobre el botón */
}

.titulo {
    text-align: center;
    color: white;
    font-size: 32px;
    /* perspective: 800px; */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* transform: translateZ(50px); */
}

/*Globo en menú*/
.badge {
    background-color: #bf4042;
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 12px;
    width: 15px;
    height: 15px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
}


/*Lupa en input search */
.search-icon {
    background-image: url('/imagenes/lupa.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 12px 12px;
    filter: invert(1); /* Cambia el color del icono a blanco */
     padding: 5px 0 5px 0;
}

.search-input {
    width: 90%;
    color: #ffffff;
    font-size: 10px;
    background-color: transparent; /* Establece el color de fondo del input como transparente */
}

.search-icon.has-value {
  background-image: none;
}

.input-search:focus + .search-icon {
  display: none;
}

/*Title SweetAlert2*/
.custom-swal-title {
    text-shadow: none !important; /* Eliminar cualquier sombra de texto */
    font-size: 16px !important;   /* Ajusta el tamaño del texto si es necesario */
    color: #333 !important;       /* Forzar el color del texto */
}

.dataTables_wrapper .form-control {
  padding: 5px 0 5px 0;
}

/*Icono ayuda en buscadores*/
.help-icon {
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px;
  filter: invert(1); /* Cambia el color del icono a blanco */
}

.tooltip-inner {
  white-space: pre-line;
}



/*Header modal*/
.left-align {
  text-align: left;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-icons {
  margin-right: 10px;
}

.close {
  margin-left: auto;
}


/*Pantalla de carga*/
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #B4B4B4;
  z-index: 9999;
  text-align: center;
  font-size: 2em;
  opacity: 0.8;
}


#loader span {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.1;
  }
}

#imagenCargando {
  padding: 400px 1.4em .3em .8em;
}

#imagenCargando img {
  width: 50px; /* El ancho deseado de la imagen */
  height: auto; /* Altura automática para mantener la proporción */
}
/* /Pantalla de carga*/

  
/*boton excel datatable*/
.verde {
    color: #ffffff; 
    border: none; 
    margin-top: 12px;
    margin-left: 6px;
    display: inline-block; *display: inline; *zoom: 1; padding: 4px 10px 4px; margin-bottom: 0; font-size: 13px; line-height: 18px;  text-align: center; vertical-align: middle; background-image: -moz-linear-gradient(top, #004000, #004000);  
    background-image: -webkit-linear-gradient(top, #004000, green); background-image: -o-linear-gradient(top, green, green); background-image: linear-gradient(top, green, green); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=green, endColorstr=green, GradientType=0); border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); border: 1px solid green; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); cursor: pointer; *margin-left: .3em; 
}

.dt-button.buttons-excel {
    background-color: #28a745;  /* Color de fondo */
    color: white;  /* Color del texto */
    border: none;  /* Sin borde */
    border-radius: 4px;  /* Bordes redondeados */
    padding: 7px 12px 7px 12px;  /* Relleno */
    margin-top: 8px;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 14px;  /* Tamaño de fuente */
    cursor: pointer;  /* Cambiar el cursor a mano */
    transition: background-color 0.2s ease-in-out;  /* Transición suave para el fondo */
}

.dt-button.buttons-excel:hover {
    background-color: #218838;  /* Color de fondo al pasar el ratón */
}


.encabezado{
    text-align: center !important;

}

.select-css {
    font-size: 16px;
    font-family: 'Verdana', sans-serif;
    font-weight: 400;
    color: #444;
    line-height: 1.3;
    padding: .4em 1.4em .3em .8em;
    width: 400px;
    max-width: 100%; 
    box-sizing: border-box;
     margin: 20px auto;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.03);
    border-radius: .3em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url(/imagenes/barra.svg),
      linear-gradient(to bottom, #ffffff 0%,#f7f7f7 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    }
    .select-css::-ms-expand {
    display: none;
    }
    .select-css:hover {
    border-color: #888;
    }
    .select-css:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222; 
    outline: none;
    }
    .select-css option {
    font-weight:normal;
    }
                
    .classOfElementToColor:hover {
        background-color:red; color:black
    }
                
    .select-css option[selected] {
        background-color: orange;
    }
                
                
    /* OTROS ESTILOS*/
    .styled-select { 
        width: 240px; 
        height: 34px; 
        overflow: hidden; 
        background: url(new_arrow.png) no-repeat right #ddd; 
        border: 1px solid #ccc; 
    }
                
                
    .sidebar-box select{
    display:block;
    padding: 5px 10px;
    height:42px;
    margin:10px auto;
    min-width: 225px;
    -webkit-appearance: none;
    height: 34px;
    /* background-color: #ffffff; */
    background-image: url('    '),
      linear-gradient(to bottom, #ffffff 0%,#f7f7f7 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;}

    * {
        margin: 0;
        padding: 0;
        }
    
    .container {
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        width: 96%;
    }
            
/*------------------barra menu -------------------------------*/

ul{
	list-style:none;
}
a{
	text-decoration: none;
}

.logo{
	border-right: 1px solid #E7E7E7;
	height: 50px;
	line-height: 50px;
	font-size: 25px;
	padding-right: 10px;
	font-weight: bold;
	font-family: RoadTest;
	letter-spacing: 5px;
	color: #3D3D3D;
}

.logo {
	display: flex;
	justify-content: center;
	align-items: center;
}
.menu ul{
	display: flex;
    margin: 0px;
    padding: 0px;
    z-index: 1000;
}
.menu{
	display:flex;
	align-items:center;
}


.menu ul li a{
	border-right: 1px solid #E7E7E7;
    background-color: #E8E8E8;
	height: 35px;
	line-height: 40px;
	margin: 0px;
	padding: 0px 10px;
	display: flex;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 600;
	font-family: calibri;
	color: black;
	text-decoration: none;
	transition: background-color 0.4s ease, color 0.4s ease; /* Transición suave de 0.4s para ambos cambios */
}
/* Cambiar el color de fondo y el color de texto de los elementos del menú principal al pasar sobre ellos */
.menu ul li a:hover {
    background-color: #000; /* Cambia el fondo a negro */
    color: #fff !important; /* Cambia el texto a blanco */
}


.menu{
	margin-right: auto;
    background-color: #E8E8E8;
    color: black;
}
.search-icon:before{
	content:'\f002';
	font-family: fontAwesome;
	line-height: 30px;
	color: black;
	
}
.search-icon.active:before{
	content:'\f00d';
}

.menu ul li ul{
    position: absolute;
	left: 0;
	background-color: #161616;
	flex-direction: column;
	margin: 8px;
	padding: 0px 0px;
    color: black;
	
display: none !important;
	
}
.menu ul li{
	position: relative;
}

.menu ul li ul li{
	display:block;
	width: 250px;
}
.menu ul li ul li a{
	color: black; !important;
	border-bottom: 1px solid #424242;
}
.menu ul li.active ul{
	display:block !important;
}

.menu ul li ul li  a:hover{
	background-color: #1D1D1D !important;
	color:#D1D1D1 !important;
}

.search-box{
	width:100%;
	height: 50px;
	box-sizing: border-box;
	background-color: #2a2829;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #FFFFFF;
	display: none;
	padding: 0px 30px 0px 30px;
	transition: all ease 0.5s;
}

.navigation{
	position: relative;
	box-shadow: 1px 1px 20px rgba(0,0,0,0.01);
}
.search-box input{
	width: 70%;
	height: 50px;
	outline: none;
	background: transparent;
	border:none;
	color: #E3E3E3;
	font-size: 16px;
}

.s-icon{
	color:#CDCDCD;
	
}
.search-box input::placeholder{
	color:#AFAFAF;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
}
.search-box.active{
	display:flex;
	
}

@media(max-width:900px){     
    .toggle:before {
        content: '\f0c9'; /* ícono de hamburguesa */
        font-family: fontAwesome;
        line-height: 35px;
        font-size: 35px; /* Aumentar el tamaño del ícono */
        color: #fff; /* Color blanco */
        padding: 20px; /* Aumentar el área de clic alrededor del ícono */
    }
	
	.logo{
		border: none;
	}
	.menu{
		margin-right: 0px !important;
	}

	header nav ul{
		position: absolute;
		width: 100%;
		height: calc(100vh - 50px);
		background-color: #353535;
		top: 50px;
		left: 0;
		transition: 0.5s;
		display: block !important;
		overflow: hidden;
		display: none !important;
	}

	header{
		display: flex;
		justify-content: space-between;
	}
	
	.sub-menu:before{
	   content: '\f0d7';
	   font-family:fontAwesome;
	   position: absolute;
	   line-height: 40px;
	   font-size: 30px;
	   color: white;
	   right: 20px;
    }
	
	nav ul li a{
		border-bottom: 1px solid #474747 ;
		border-right: none !important;
		color:#black; !important;
		font-size: 14px !important;
	}

    .toggle.active:before {
        content: '\f00d'; /* Ícono de cerrar (X) */
        font-size: 35px; /* Aumentar el tamaño del ícono */
        color: #fff; /* Mantener el color blanco */
        padding: 20px; /* Aumentar el área de clic */
    }
	nav ul li a:hover{
		background-color: #2F2F2F !important;
	}
	header.active-menu ul{
		display: block !important;
	}
	.toggle:before{
		display: block;
        color: #fff; /* Mantener el color blanco cuando se activa */
	}
	header.active-menu,
	header.active-search{
		background-color: #353535;
		height: 50px;
		color: #FFFFFF;
	}
	.search-icon.active:before{
		color: #FFFFFF;
	}

	.menu ul li ul{
		position: relative;
		top: 0px;
		height:auto;
	}
	.menu ul li ul li{
		width: 100%;;
	}
	
	header.active-menu  .logo,
	header.active-menu  .search-icon{
		display: none;
		
	}
	header.active-search .logo,
	header.active-search .toggle{
		display: none;
	}

}

/*------------------ /barra menu -------------------------------*/
                        

        .btn-whatsapp {
            display:block;
            width:50px;
            height:50px;
            color:#fff;
            position: fixed;
            border-radius:50%;
            line-height:80px;
            z-index:999;
            bottom: 10px; right: 15px
        }
        .tablas {
            padding : 0px 40px 0px 40px;
            color: red;
        }
        table th {
            background-color: #EE445A;
            color: white; 
            text-shadow: 0.1em 0.1em 0.2em black;
            font-family: Arial;
            
        }
        .dataTables_wrapper .dataTables_filter {  /*caja de busqueda */
            padding: 0px 50px 0px 0px;
            text-shadow: 0.1em 0.1em 0.1em black;
            font-size: 12px;
            font-weight: bold;
        }
        
        .dataTables_wrapper .dataTables_filter input {  /*caja de busqueda input */
            text-shadow: 0.1em 0.1em 0.1em black;
            font-size: 12px;
            color: red;
            font-weight: bold;
        }
        
        .dataTables_length{
            padding: 10px 0px 0px 50px;
            color: red;
            
        }
        .dataTables_info{
            padding: 0px 0px 10px 50px;
            color: red;
        }
        
        .warning {
            background-color: #F99 !important;
        }
        .warning2 {
            background-color: #FFC300 !important; 
        }

.btn { display: inline-block; *display: inline; *zoom: 1; padding: 4px 10px 4px; margin-bottom: 0; font-size: 13px; line-height: 18px; color: #333333; text-align: center;text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); vertical-align: middle; background-color: #f5f5f5; background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); background-image: linear-gradient(top, #ffffff, #e6e6e6); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#ffffff, endColorstr=#e6e6e6, GradientType=0); border-color: #e6e6e6 #e6e6e6 #e6e6e6; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); border: 1px solid #e6e6e6; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); cursor: pointer; *margin-left: .3em; }
.btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] { background-color: #e6e6e6; }
.btn-large { padding: 9px 14px; font-size: 15px; line-height: normal; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.btn:hover { color: #333333; text-decoration: none; background-color: #e6e6e6; background-position: 0 -15px; -webkit-transition: background-position 0.1s linear; -moz-transition: background-position 0.1s linear; -ms-transition: background-position 0.1s linear; -o-transition: background-position 0.1s linear; transition: background-position 0.1s linear; }
.btn-primary, .btn-primary:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; }
.btn-primary.active { color: rgba(255, 255, 255, 0.75); }
.btn-primary { background-color: #4a77d4; background-image: -moz-linear-gradient(top, #6eb6de, #4a77d4); background-image: -ms-linear-gradient(top, #6eb6de, #4a77d4); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6eb6de), to(#4a77d4)); background-image: -webkit-linear-gradient(top, #6eb6de, #4a77d4); background-image: -o-linear-gradient(top, #6eb6de, #4a77d4); background-image: linear-gradient(top, #6eb6de, #4a77d4); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#6eb6de, endColorstr=#4a77d4, GradientType=0);  border: 1px solid #3762bc; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5); }
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] { filter: none; background-color: #4a77d4; }
.btn-block { width: 100%; display:block; }

* { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; }


.login { 
	position: absolute;
	top: 60%;
	left: 50%;
	margin: -150px 0 0 -150px;
	width:300px;
	height:300px;
	
}

input { 
	width: 100%; 
	margin-bottom: 10px; 
	background: rgba(0,0,0,0.6);
	border: none;
	outline: none;
	padding: 10px;
	font-size: 14px;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	text-align: center;
	border: 1px solid rgba(0,0,0,0.3);
	border-radius: 4px;
	box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2);
	-webkit-transition: box-shadow .5s ease;
	-moz-transition: box-shadow .5s ease;
	-o-transition: box-shadow .5s ease;
	-ms-transition: box-shadow .5s ease;
	transition: box-shadow .5s ease;
}

/*Animaciones*/
.elemento_animado {
animation-duration: 1.0s;
transition-timing-function: ease-in;
animation-fill-mode: both;
}
.transicion--fadein {
animation-name: fadeIn;
}


@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}

/*-- Rotacion de headers disponibilidad  ------------------------------- */

th.rotate {
  /* Something you can count on */
  height: 160px; /* alto del container encabezados */
  white-space: nowrap;
}

th.rotate > div {
  transform: 
    /* Magic Numbers */
    translate(25px, 51px)
    /* 45 is really 360 - 45 */
    rotate(-90deg);
    width: 50px; /* si aumenta el titulo baja */
    padding: 0 10px 60px 0;
    
}
th.rotate > div > span {
  /*border-bottom: 1px solid #ccc;*/
  /*padding: 5px 10px;*/
  }


/*-- Rotacion de headers disponibilidad  ------------------------------- */

th.rotate2 {
  /* Something you can count on */
  height: 100px; /* alto del container encabezados */
  white-space: nowrap;
}

th.rotate2 > div {
  transform: 
    /* Magic Numbers */
    translate(25px, 25px)
    /* 45 is really 360 - 45 */
    rotate(-90deg);
    width: 50px; /* si aumenta el titulo baja */
    padding: 0 10px 50px 0;
    
}
th.rotate2 > div > span {
  /*border-bottom: 1px solid #ccc;*/
  /*padding: 5px 10px;*/
  }
/*-- /Rotacion de headers disponibilidad  ------------------------------- */


