font-face {
  font-family: "Arial";
  font-style: normal;
}

body {
  margin-top:10px;
  padding-top: 10px;
  font-family: Arial, sans-serif;
}


. {
    display: block;
    max-width: 70%;
    height: auto;
}


.img-responsive {
    display: block;
    max-width:200px;
    height: auto;
    margin-bottom:20px;
}


.page {
  margin-top: 70px; /* Ajusta si el navbar es más alto */
}

.nav-item{margin-bottom: 5px;}
/* ------------------ SLIDER ------------------ */
.slider {

  

}
.slider {
	position: relative;
  width: 100%;
  max-height: 350px;
  overflow: hidden;
   margin-top: 100px;
   margin-bottom: 0px;
   
 
}

.slider ul {
	display: flex;
    margin-top:0px;
	padding: 0;
	width: 100%;
	
	animation: cambio 13s infinite alternate linear;
}

.slider li {
	margin-top:0px;
	width: 100%;
	list-style: none;
  flex-shrink: 0;
}

.slider img-total {
    z-index: 100;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@keyframes cambio {
	0% {margin-left: 0;}
	10% {margin-left: 0;}
	
	20% {margin-left: -100%;}
	70% {margin-left: -100%;}
	
	80% {margin-left: -200%;}
	100% {margin-left: -200%;}
}

/* Quita estilos vino que trae el framework */


h4 {
  text-decoration: none;
  color: #005db0;
  font-weight: 200;
  border: solid 2px #afaeae;
  margin-top: 4px;
  padding: 10px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

h4:hover {
  text-decoration: underline;
  color: #005db0;
  cursor: pointer;
}
a {
  text-decoration: none;
}


#CEG {
  float:center;
	display:inline;
	text-align:center;
	letter-spacing: 1px;
	padding: 0px 70px 0px 70px;
	margin-top: 10px;
	width:100%;
}

#CEG a {
	font-family:Myriad pro, Arial, Tahoma;
	font-size:22px; 
	color:#6d2ad8;
	display:block;
	outline:0;
	text-decoration:none;
  padding: 8px 0px 0px 0px;
  margin-bottom:0px;
	border-width: 6px;
	border-color: #441570;
	border-style: solid none;
	font-weight:100px;
  background: #fff;
  -webkit-transition: color .4s linear; 
  -moz-transition: color .4s linear; 
  -ms-transition: color .4s linear; 
  -o-transition: color .4s linear; 
  transition: color .4s linear; 
}


#CEG a:hover { 
  background: #f1e9f9;  
  color: #6c6a6d; 
  -moz-transition: color .4s linear; 
  -ms-transition: color .4s linear; 
  -o-transition: color .4s linear;
   transition: color .4s linear; 
  }

#azul {
  float:center;
	display:inline;
	color:#fff;
	text-align:center;
  letter-spacing: 1px;
	padding: 40px 0px 40px 0px;
	width:100%;
}

#azul    a {
	font-family:Myriad pro, Arial, Tahoma;
	font-size:22px; 
	color:#fff;
	display:block;
	outline:0;
	text-decoration:none;
  padding: 8px 0px 0px 0px;
  margin-bottom:-15px;
	margin-top:-15;
	font-weight:100px;
  background: #72a7d5; 
  -webkit-transition: color .4s linear; 
  -moz-transition: color .4s linear; 
  -ms-transition: color .4s linear; 
  -o-transition: color .4s linear; 
  transition: color .4s linear; }


#azul  a:hover { 
  background: #fff; 
  color: #441570;
 -moz-transition: color .4s linear; 
 -ms-transition: color .4s linear; 
 -o-transition: color .4s linear; 
 transition: color .4s linear; }


#Cursos a {
	font-family:Myriad pro, Arial, Tahoma;
	font-size:22px; 
	
	color:#fff;
	display:block;
	outline:0;
	text-decoration:none;
  padding:10px 0px 0px 0px;
  margin-bottom:10px;
	margin-top:-20px;
	font-weight:100px;
  background: #005db0; -webkit-transition: color .4s linear; -moz-transition: color .4s linear; -ms-transition: color .4s linear;
 -o-transition: color .4s linear; transition: color .4s linear; }


#Cursos a:hover { background: #fff;  color: #441570;  -moz-transition: color .4s linear; 
  -ms-transition: color .4s linear; -o-transition: color .4s linear; transition: color .4s linear; }

 /* organigrama */ 

.directivos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin: 40px auto;
  max-width: 1100px;
}

.director {
  text-align: center;
}

.grupo-subdirectores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.persona {
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 5px;
  width: 160px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  margin-left: 35px;
}

.persona:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.persona img {
  width: 100%;
  border-radius: 1px;
}

.persona h4 {
 margin-top: 0;
 font-family: 'Arial', cursive;
  text-decoration: none;
  font-size: 14px;
  color: #000;
  line-height: 1.3;
  font-weight: 300;
  opacity: 0.8;
  text-align: center;
  transition: all 200ms linear;
  border: none;
}

.persona .cargo {
  margin-top: -15px;
  font-family: 'Arial', 'cursive';
  text-decoration: none;
  font-size: 14px;
  color: #005db0;
  font-weight: bold;
  text-align: center
}


.fecha{
font-size:12px;
color: #005db0;
text-align:right;
font-weight:500;

}

/* Textos directores,subdirectores */
.colorAzulNegritas{  
font-size:25px; 
font-weight: 600;
text-decoration:none;
color:#005db0;
margin-bottom: 4px; /* Reduce espacio entre líneas */
line-height: 1.2;

}

.SinSUbrayado
{text-decoration:none;
color:#000;
font-size:18px;
list-style: none;
margin-bottom: 4px; /* Reduce espacio entre líneas */
line-height: 1.2;
}

.rosa {
      display: inline-block;
      background-color: #c50671; /* color rosa */
      color: white;
      text-decoration: none;
      padding: 20px 20px; /* hace el botón cuadrado si el texto es corto */
      font-size: 16px;
      text-align: center;
      border-radius: 5px;
      font-family: 'Times New Roman';
}
nom {
    font-size: 23px;
    font-weight: bold;
    color: #333;
}
em {
    font-style: italic;
    margin: 0px;
    text-align: left;
}
.img-responsive 
{
    display: block;
    max-width: 100%;
    height: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: transparent;
    max-width: 100%;
}
.tab {
    table-layout: fixed;
    width: 100%;
    font-size: 15px;
    border-collapse: collapse;
    background-color: transparent;
}

.tab tr, .tab td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    word-wrap: break-word;
}
.tabla-estilo {
    table-layout: fixed;
    width: 100%;
    font-size: 15px;
    border-collapse: collapse;
    background-color: transparent;
    text-align: left;
    margin-top: 20px;
    border: 1px solid #ccc;
}

.tabla-estilo th,
.tabla-estilo td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    word-wrap: break-word;
    vertical-align: top;
}

.tabla-estilo th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.uno {
  text-align: left;
  font-size: 12px;
  background-color: #f1f1f1;
  padding: 13px 0;
  border-top: 1px solid #333;
  font-weight: 500;
  margin-top: 40px;
}
.columna {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
.col4 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
.btnM {
    float: left;
    display: inline;
    list-style: none;
 width: 100%;
    font-weight: 100;
    margin-bottom: 45px;
    padding: 0;
}

/* Elementos de lista dentro de .btnM */
.btnM li {
    float: left;
     width: 210px;
    display: inline;
    border: 3px solid transparent; /* Anteriormente tenía un valor inválido #0000 */
    margin-right: 10px; /* Espacio entre botones */
}

/* Enlace principal */
.btnM li a {
    font-family: "Myriad Pro", Arial, Tahoma, sans-serif;
    font-size: 15px;
    color: #29858b;
    display: block;
    text-align: center;
    width: 210px;
    height: 90px;
    outline: 0;
    border-radius: 15px;
    text-decoration: none;
    padding: 15px;
    text-shadow: 1px 2px 1px #CCC;
    background: #e5fbfb;
    transition: color 0.4s linear;
}

/* Enlace visitado */
.btnM li a:visited {
    color: #29858b;
    font-size: 15px;
}
.j4 {
    font-size: 20px;
    font-weight: 400;
    color: #7b3c27;
}
.medica a {
    font-family: Myriad pro, Arial, Tahoma;
    font-size: 18px;
    color: #000;
    display: block;
    outline: 0;
    text-decoration: none;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 35px;
    font-weight: 100px;
    text-shadow: 1px 1px 0px #333;
    box-shadow: 3px 3px 3px #29858b;
    background: #e5fbfb;
    -webkit-transition: color .4s linear;
    -moz-transition: color .4s linear;
    -ms-transition: color .4s linear;
    -o-transition: color .4s linear;
    transition: color .4s linear;
}
.citasa {
  float: left;
  display: inline;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  width: 100%;
  margin-left: 0px;
  margin-right: 30px;
}

.citasa a {
  font-family: "Myriad Pro", Arial, Tahoma;
  font-size: 18px;
  color: #000;
  display: block;
  outline: 0;
  text-decoration: none;
  padding: 10px;
  margin-bottom: 30px;
  border-radius: 35px;
  text-shadow: 1px 1px 0px #333;
  box-shadow: 3px 3px 3px #29858b;
  background: #e5fbfb;
  transition: background 0.4s ease, color 0.4s ease;
}

.citasa a:hover {
  background: #98d3d7;
  color: #333;
}
/*Esilos de Comunicacion y Vinculacion¨*/
.boton{
    position: relative;
    
}

.boton a {
    text-decoration: none;
    font-size: 20px;
    display: block;
    width: 700px;
    height: 10%;
    text-align: center;
    padding: 7px 10px;
    margin-bottom: 20px;
    color: #fbfae5;
    background: rgba(0, 93, 187, 0.9);
    border-radius: 30px 30px 30px 30px;
}
.boton a:hover {
    color: #093d5c;
    background: rgba(0, 93, 187, 0.4);
}
aut {
    text-decoration:none;
    font-size:12px;
    color:#fff;
}
/* ------------------ SLIDER Entrono Ambiental ------------------ */
.entorno {background-image:url(/storage/app/media/fotosINCMNSZ/comunicacion/comunicacionyvinculacion/entorno/agua.gif);
background-position: top;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 1200px 1100px;
background-color: #fdfefa;
}
.sliderr {
	position: relative;
  width: 100%;
  overflow: hidden;
  margin: auto;
}
.sliderr ul {
	display: flex;
	padding: 0;
	width: 100%;
	
	animation: cambio 13s infinite alternate linear;
}
.sliderr li {
	margin-top:10px;
	width: 100%;
	list-style: none;
  flex-shrink: 0;
}
.sliderr img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
#galeria {
    margin: 5rem auto;
    width: 100%;
    max-width: 960px;
    column-count: 3;
    page-break-inside: avoid;
    column-rule: 1px solid #bbb;
}
#num   {float:left;
	display:inline;
	margin-top:0px;	
	margin-bottom:20px;
	margin-left: 0px;
	margin-right: 10px;

}
#num li {
        float:left;
	display:inline;
	color:#ab4785;
	text-align:center;
	margin-top: 0px;
	border-right:1px dotted #0163be;
	border-left:1px dotted #0163be;
	width:170px;
	border:3px solid #0000;
}
#num li a {
	font-family:Myriad pro, Arial, Tahoma;
	font-size:28px; 
	color:#005db5;
	display:block;
	outline:0;
	text-decoration:none;
    padding: 8px 0px 0px 0px;
	text-shadow: 1px 2px 1px #CCC;
    background: #f1f8fe;  
    transition: color .4s linear; }
#num li a:hover { 
    background: #d6bb70; 
    color: white; 
    -webkit-transition: color .4s linear; 
    -moz-transition: color .4s linear; 
    -ms-transition: color .4s linear;
    -o-transition: color .4s linear; 
    transition: color .4s linear; 
    }