/*body { overflow: hidden;}*/
html,body,textarea,select {font-family: Lucida Grande, Geneva, Arial, Helvetica, sans-serif; font-size:small;
							margin: 0; padding: 0;}
textarea,select,input { user-select: auto;}
table				{
    box-shadow:1px 1px 5px black;
     /* hack IE8 */
    border-spacing: 0 \0/;
    border-collapse: collapse \0/;
    border-right: 2px inset #D3D3D3 \0/;
    border-bottom: 2px inset #D3D3D3 \0/;
     /* hack IE7 */
    *border-spacing: 0;
    *border-collapse: collapse;
    *border-right: 2px inset #D3D3D3;
    *border-bottom: 2px inset #D3D3D3;
}
.tablapelada {margin:0px; padding:0px; border: 0px;
				box-shadow:0px 0px 0px;
				border-collapse: collapse;
				 }
.tablasimple {margin:0px; padding:0px; border: 1px solid #000000;;
				box-shadow:0px 0px 0px;}
 /* Estilo para tablas con la clase 'tabla-simple' */
.tabla-simple {
            border-collapse: collapse; /* Combina bordes de celdas */
            width: 100%; /* Ajusta al ancho del contenedor */
            margin: 20px 0; /* Espaciado superior e inferior */
            font-family: Arial, sans-serif; /* Fuente para la tabla */
            font-size: 16px; /* Tamaño del texto */
        }
        .tabla-simple th, 
        .tabla-simple td {
            border: 1px solid #ddd; /* Bordes simples */
            padding: 2px; /* Espaciado interno */
            text-align: left; /* Texto alineado a la izquierda */
        }
        .tabla-simple th {
            background-color: #f4f4f4; /* Color de fondo para encabezados */
            font-weight: bold; /* Texto en negrita */
        }
        .tabla-simple tr:nth-child(even) {
            background-color: #f9f9f9; /* Fondo alternativo para filas pares */
        }
        .tabla-simple tr:hover {
            background-color: #e2e2e2; /* Fondo al pasar el ratón */
        }
/*td 	{ padding-top:10px; padding-bottom:10px; }*/
.filaAltatr {border-bottom: 1px solid #cccccc;}
.celdaRedondeada {
      border: 1px solid #000; /* Borde negro para la celda */
      border-radius: 15px; /* Radios de borde para esquinas redondeadas */
      padding: 10px; /* Relleno dentro de la celda */
    }
block{
    width:100%;
    height:100%;
    display: none;
    position: absolute;
    z-index: 1;
    background-color: black;
    opacity:0.4;
    filter:alpha(opacity=40); /* For IE8 and earlier */
    top:0;
    left:0;
}
.recuadro {
			  /*max-width: calc(100% - 40px);*/
			  background-color: #ffffe6;
			  border: 1px solid lightgray;
			  border-radius: 10px;
			  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
			  /*padding: 3px;*/
			  mragin: 3px;
			}
#ventanaDeTareas h2{
    margin:0px;
}
#popupbox h2{
    margin:0px;
}
#ventanaDeTareas{
    display: none;
    padding: 5px;
    padding-top: 0px;
    background-color: white;
    border: 5px solid #C3D9FF;
    border-radius: 5px 5px 5px 5px;
    margin: 20px auto 0 108px;
    position: absolute;
    width: 530px;
    box-shadow:1px 1px 5px black;
    z-index: 2;
}
#popupbox{
    display: none;
    padding: 5px;
    padding-top: 0px;
    background-color: white;
    border: 5px solid #C3D9FF;
    border-radius: 5px 5px 5px 5px;
    margin: 20px auto 0 50px;
    position: absolute;
    width: 530px;
    box-shadow:1px 1px 5px black;
    z-index: 2;
}
#ventanaDeTareas label{
    display: block;
    float: left;
    margin-right: 9px;
    margin-top: 7px;
    text-align: right;
    width: 102px;
}
#ventanaDeMensaje label{
    display: block;
    float: left;
    margin-right: 9px;
    margin-top: 7px;
    text-align: right;
    width: 102px;
}
#popupbox label{
    display: block;
    float: left;
    margin-right: 9px;
    margin-top: 7px;
    text-align: right;
    width: 102px;
}
/* ------------------------- */
	div.botones			{ margin-top:0px; margin-bottom: 0px; }
	a.boton,a.button { font-size: 1.5rem;
					background-color: #92cae4;
					border:1px solid #205791;
					color:white;
					padding:4px;
					text-decoration: none;
					font-weight: bold;
					box-shadow:1px 1px 5px black;
					tex-shadow:1px 1px black;
					line-height: 45px;
	}
	a.botonSinCaja { font-size: 1.5rem; 
					background-color: #92cae4;
					/*border:1px solid #205791;*/
					color:white;
					/*padding:5px;*/
					text-decoration: none;
					font-weight: bold;
					/*box-shadow:1px 1px 5px black;*/
					/*tex-shadow:1px 1px black;*/
	}
/* ------------------------- */


.botonesDeAFormulario{
    text-align: right;
    margin-top: 3px;
	}
.buttonsBar{
    text-align: right;
    margin-top: 3px;
	}
.letraChica 		{font-size: 11px; }
.botones1			{ width:20px; height:20px; border:0px; padding:0px; }	/* Botones como el de tareas de grabar, borrar, volver */
.botones2			{ width:12px; height:12px; border:0px; padding:0px; }	/* mas chicos */
.botones3			{ width:20px; height:20px; border:0px; padding:0px; }	/* Botones como el de tareas de grabar, borrar, volver */
.stlBotones 		{ width:25px; height:25px; border:0; }
.stlBotonesMenores 	{ width:15px; height:15px; border:0; }
.btn-borde {														/* Boton con borde esquinas redondeadas */
					  padding: .045rem .45rem;
					  border: 1px solid #007bff;
					  border-radius: .05rem;
					  color: #007bff;
					  transition: color .15s ease-in-out;
					}
.btn-borde:hover, .btn-borde:active, .btn-borde:focus {  color: #fff;  background-color: #007bff; }
.btn-redondo {display: block;
					  padding: 10px 20px;
					  border: 1px solid #ff6600;
					  border-radius: 20px;
					  background-color: #ff9900;
					  color: #ffffff;
					  text-align: center;
					  text-decoration: none;
					  font-weight: bold;
					  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
					  text-transform: uppercase;
			}
.btn-forma1 {			cursor: pointer;
						padding: 6px;
						display: inline-block;
						background-color: #4CAF50;
						color: #fff;
						border: 1px solid #4CAF50;
						border-radius: 5px;
						transition: background-color 0.3s;
					}
.btn-forma1:hover {		background-color: #45a049; }
.bar{
    margin-top:0px;
    margin-bottom: 0px;
}
.title{	font-size: 21px; 
    background-color: RoyalBlue;
    border: 2px solid blanchedAlmond;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 1px 5px black;
    color: white;
    font-family: Lucida Grande;
    font-weight: bold;
    margin-top: 5px;
    padding: 5px;
    text-shadow: 1px 1px gray;
}
.titulo{	font-size: 21px; 
    background-color: RoyalBlue;
    border: 2px solid blanchedAlmond;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 1px 5px black;
    color: white;
    font-family: Lucida Grande;
    font-weight: bold;
    padding: 5px;
    text-shadow: 1px 1px gray;
}
.LetraPrivados 	{color: #FF0000;font-family: Arial Narrow, Arial, Helvetica, sans-serif;}
.Listado 		{font-family: Geneva, Arial, Helvetica, sans-serif;}
.Listado a:link,.Listado a:visited	{ font-family: Arial Narrow, Geneva, Arial, Helvetica, sans-serif;
				text-decoration: none;
				}
.Listado a:hover 	{background-color: #0033CC;	color: #FFFF33;	}
.Boletin 			{font-family: Geneva, Arial, Helvetica, sans-serif;	background-color:#FFFFFF; }
.BoletinSinFondo	{font-family: Geneva, Arial, Helvetica, sans-serif;	}
.inputQueUnidad		{width:40px; height:40px; border:0; }
.BoletinTitulo 		{	background-color:#fbc2c4;
						color:brown;
						border:1px solid #205791;
						padding:5px;
						text-decoration: none;
						font-weight: bold;
						box-shadow:1px 1px 5px black;
						tex-shadow:1px 1px black;
						font-size: 1.8em;
					}
.BoletinNoticia 	{font-family: Geneva, Arial, Helvetica, sans-serif; background-color:#FFFFFF; 
					border:1px solid #205791;
					padding:5px;
					text-decoration: none;
					box-shadow:1px 1px 5px black;
					tex-shadow:1px 1px black;
					font-size: 1.8em;
					}
/*
.abriendo {
				position: fixed;
				left: 0px;
				top: 0px;
				width: 100%;
				height: 100%;
				z-index: 9999;
				background: url('/pict/abriendo.gif') 50% 50% no-repeat rgb(249,249,249);
				opacity: .8;
			}
			*/
.abriendo {
            position: fixed;
            left: 0px;
            top: 0px;
            width: 100%;
            height: 100%;
            z-index: 9999;
            background: rgb(249, 249, 249);
            opacity: .8;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .abriendo img {
            width: 50px; /* Ajusta el tamaño de la imagen según tus necesidades */
            height: 50px;
        }

        .abriendo-texto {
            margin-top: 10px;
            font-size: 16px;
            color: #000; /* Color del texto */
            text-align: center;
        }
.item {
            background-color: green;
            color: white;
            padding: 1px;
            border-radius: 5px;
            display: inline-block;
        }
/* VENTANA PARA CARGAR */
	.ventanaCarga {
				position: fixed; /*fixed; absolute Al colocar fixed aunque haga sroll no se mueve*/
				left: 0px;
				top: 0px;
				width: 100%;
				height: 100%;
				z-index: 999;
				background: 50% 50% no-repeat rgb(249,249,249);
				background: rgba(249, 249, 249, 0.8);
				display: none; /* Cambiar a block para mostrarlo document.getElementById("newCanal").style.display = 'block'; */
				
				/*modal.style.display = "flex";	//block grid*/
				justify-content: center;
				align-items: center;
			}
	.ventanaCargaIn {
			opacity: 1;
			background-color: #ccc;
			/*position: fixed;	/*absolute;*/
			padding:10px;
			box-shadow: 0px 10px 10px black;
			/*left: 50%;
			top: 50%;*/
			border-radius: 10px;
			/*transform: translate(-50%,-50%);*/
			width: auto;
			max-width: 95%; box-sizing: border-box;overflow-x: auto;
			max-height: 100%; overflow-y: auto;
			/*contenido.style.textAlign = "center"; // Centra el contenido horizontalmente*/
		}


/* MENU FLOTANTE */
	.MenuFlotanteTarea { position: absolute; top: 100%; left: 0px; width: 400px;  
					background-color: #41338b; font:normal 1.0em arial;  
					padding: 0.2em 0.5em ; display: none;
					}
	.MenuFlotanteTarea p {	 background-color:#33FF66; margin-top:2px; padding-top:4px; padding-bottom:4px; }
	.MenuFlotanteTarea p:hover {
				background-color: #000000;
				text-decoration: none;
				color: #FF0000;
			}
	.MenuFlotanteTarea a {
				text-align:center;
				text-decoration: none;
			}
	.MenuFlotanteTarea a:hover {
				background-color: #000000;
				text-decoration: none;
				color: #FF0000;
			}
	.MenuFlotanteLink { text-decoration: none;	color: #000099; }
/* MENU FLOTANTE */
		.menuFlontante {
			  background: #92cae4;	/* Color de fondo del men� */
			  width: 100%;
			  position: fixed;
			  z-index: 100;
			  padding: 0;
			}
		.menuFlontante #titulo1 {font-size:xx-large; color:#FFFFFF; padding-left:10px;}
		.menuFlontante #arriba {box-shadow: 0px 4px 10px 1px rgba(138,138,138,1); font-size:large;}
		.menuFlontante table { box-shadow:0px 0px 0px;}
		.menuFlontante nav {
			float: right; /* Desplazamos el nav hacia la derecha*/
			padding: 0;
			margin: 0;
			width: 100%;
			}
		.menuFlontante nav ul {
			  list-style: none;
			  overflow: hidden; /* Limpiamos errores de float */
			  padding: 0;
			  margin: 0;
			}
		.menuFlontante nav ul li {
			  float: right;
			  font-family: Arial, sans-serif;
			  font-size: 16px;
			  padding: 0;
			  margin: 0;
			}
		.menuFlontante nav ul li a {
			  display: block; /* Convertimos los elementos a en elementos bloque para manipular el padding */
			  padding: 10px;
			  color: #fff;
			  text-decoration: none;
			  margin: 0;
			}
		.menuFlontante nav ul li:hover {
			  background: #3ead47;
			  padding: 0;
			  margin: 0;
			}
		.contenidoConFlotante {	padding-top: 120px;	/* Margen superior del cuerpo */ }
/* MENU IZQUIERDO O LATERAL */
	.MenuIzq {	position: fixed;
				height: 100%;
				width: 0;
				top: 0;
				left: 0;
				z-index: 101;
				background-color: #00324b;
				overflow-x: hidden;
				transition: 0.4s;
				padding: 1rem 0;
				box-sizing:border-box;
			}
	.MenuIzq img, MenuDer img {
			  width: 4em;
			  height: 4em;
			padding-left:10px;
			}
	
	.MenuIzq .boton-cerrar{
			position: absolute;
			top: 0.5rem;
			right: 1rem;
			font-size: 2rem;
			display: block;
			padding: 0;
			line-height: 1.5rem;
			margin: 0;
			height: 32px;
			width: 32px;
			text-align: center;
			vertical-align: top;
		}
	.MenuIzq ul,.MenuDer ul {
		padding: 0;
		margin: 5rem 0 0 0;
		list-style: none;
		width: 100%;
		color: #FFFFFF;
	}
	
	.MenuIzq li,.MenuDer li {
		border-top: 1px solid rgba(255, 255, 255, 0.3);
	}
	
	.MenuIzq a,.MenuDer a {
		display: block;
		padding: 1em;
		color: #FFFFFF;
		text-decoration: none;
		transition: background 0.3s ease, color 0.3s ease;
		border-radius: 10px;
		margin: 0.3em 0;
		background-color: rgba(255, 255, 255, 0.2);
	}
	
	.MenuIzq a:hover,.MenuDer a:hover {
		background-color: #ff9800;
		color: #fff;
	}
	/*.MenuIzq .boton-cerrar, .MenuDer .boton-cerrar {
			position: absolute;
			top: 0.5rem;
			right: 1rem;
			font-size: 2rem;
			display: block;
			padding: 0;
			line-height: 1.5rem;
			margin: 0;
			height: 32px;
			width: 32px;
			text-align: center;
			vertical-align: top;
		}*/
		/*
	.MenuIzq ul, .MenuIzq li, .MenuDer ul, .MenuDer li{
			margin:0;
			padding:0;
			list-style:none inside;
		}
	.MenuIzq ul, .MenuDer ul {
			margin: 4rem auto;
			display: block;
			width: 80%;
			min-width:200px;
			border-bottom: 2px dotted #dddbdb;
		}
	.MenuIzq li, .MenuDer li {
			border-top: 2px dotted #dddbdb;
			height: 3em;
			line-height: 3em;
		}
	.MenuIzq a, .MenuDer a {
			display: block;
			font-size: 120%;
			color: #eee;
			text-decoration: none;
		}
	.MenuIzq a:hover, .MenuDer a:hover{
			color:#fff;
			background-color: #f90;
		}
		*/
	
/* MENU DERECHO */
/*.MenuFlotanteTarea { position: absolute; top: 100%; left: 0px; width: 400px;  
					background-color: #41338b; font:normal 1.0em arial;  
					padding: 0.2em 0.5em ; display: none;
					}*/
	/*.MenuDer {	position: absolute;
				width: 0;
				top: 0;
				z-index: 101;
				background-color: #00324b;
				overflow-x: hidden;
				transition: 0.4s;
				padding: 1rem 0;
				box-sizing:border-box;
				right: 0;
			}*/
	.MenuDer {
	position: fixed;
	top: 0;
	right: 0;
	width: 0;
	height: 100%;
	overflow-x: hidden;
	transition: width 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
	z-index: 101;
	background-color: transparent;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	padding: 0;
	pointer-events: none;
}

/* Menú abierto */
.MenuDer.abierto {
	width: 300px;
	background-color: #1e2a38;
	box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	opacity: 1;
	visibility: visible;
	padding: 2rem 1rem;
	pointer-events: auto;
}

	.MenuDer .boton-cerrar {
		position: absolute;
		top: 1rem;
		right: 1rem;
		font-size: 2rem;
		background: none;
		border: none;
		color: #fff;
		cursor: pointer;
	}

/* SWITCH como celular */
		
	.switch {
	  position: relative;
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;
	  cursor: pointer;
	}
	
	.switch input {
	  opacity: 0;
	  width: 0;
	  height: 0;
	}
	
	.slider {
	  position: relative;
	  width: 40px;
	  height: 24px;
	  background-color: #ccc;
	  border-radius: 23px;
	  transition: 0.4s;
	  flex-shrink: 0;
	}
	
	.slider:before {
	  position: absolute;
	  content: "";
	  height: 18px;
	  width: 18px;
	  left: 3px;
	  bottom: 3px;
	  background-color: white;
	  transition: 0.4s;
	  border-radius: 50%;
	}
	
	input:checked + .slider {
	  background-color: #2196F3;
	}
	
	input:checked + .slider:before {
	  transform: translateX(16px);
	}
	
	.switch-text {
	  user-select: none;
	}


/* Tarjetas - recuadros usado en ajax_js.php */
		.info-card {
			background-color: #fff;        /* fondo blanco */
			border-radius: 12px;           /* esquinas redondeadas */
			box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* sombra suave */
			padding: 15px 20px;            /* espacio interno */
			max-width: 500px;              /* ancho máximo */
			margin: 20px auto;             /* centrado horizontal */
			font-family: Arial, sans-serif;
		}
		.info-row {
			display: flex;
			justify-content: space-between; /* etiqueta a la izquierda, valor a la derecha */
			padding: 5px 0;
			border-bottom: 1px solid #eee; /* línea divisoria opcional */
		}
		.info-row:last-child {
			border-bottom: none;           /* quitar línea en la última fila */
		}
		.info-label {
			font-weight: bold;
			color: #333;
			margin-right: 10px;
		}
		.info-value {
			text-align:right;
			color: #555;
			flex: 1; /* para que el valor ocupe el espacio restante */
		}
/* Fin de tarjetas */
/* Burbuja de boton ayuda (usado en inscrip_especialidades.php */
	.burbuja-ayuda {
	  position: relative;
	  background: white;
	  color: #007bff;
	  border: 2px solid #ccc;
	  border-radius: 50%;
	  width: 32px;
	  height: 32px;
	  font-weight: bold;
	  font-size: 20px;
	  line-height: 27px;
	  text-align: center;
	  cursor: pointer;
	  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	  transition: all 0.2s ease;
	}
	/* “piquito” del globo */
	.burbuja-ayuda::after {
	  content: "";
	  position: absolute;
	  bottom: -6px;
	  left: 50%;
	  transform: translateX(-50%);
	  width: 0;
	  height: 0;
	  border: 6px solid transparent;
	  border-top-color: white;
	  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
	}
	/* efecto hover */
	.burbuja-ayuda:hover {
	  background: #007bff;
	  color: white;
	  border-color: #007bff;
	  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
	}
/* Fin Burbuja de boton ayuda */
/* Emoji con un numero en un circulo */
	.keycap-rojo {
		display: inline-block;
		width: 22px;
		height: 22px;
		line-height: 22px;
		border-radius: 50%;
		background-color: red; /* círculo rojo */
		color: white;           /* número blanco */
		text-align: center;
		font-weight: bold;
		font-size: 14px;
	}

/* Consulta de medios para dispositivos móviles con un ancho máximo */
@media (max-width: 767px) {
	body {
		user-select: none; /*Evita en los celulares que aparezca la ventana buscar abajo */
		font-size:medium;
	}
	/*#divPrincipal { transform: scale(1.5); transform-origin: 0 0; }
	iframe { transform: scale(1.5); transform-origin: 0 0; }*/
	.filaAltatr {height: 3.5rem;border-bottom: 1px solid #cccccc;}
	.menuFlontante #titulo1 {font-size:x-large; color:#FFFFFF; padding-left:10px;}
}
	