*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	font-family: "Open Sans", Arial, Sans-serif;
	font-size: 16px;
}


/********** NAVBAR ADAPTABLE A DISPOSITIVOS MOVILES ****************/
.fixed-top {
  max-height: 100vh;
  overflow: auto;
}


/*SCROLL DE NAVBAR AÑADIDO POR ALBERTO CRUZ
EL 1 DE SEPTIEMBRE DE 2021
 ****************/
 .DivWithScroll{
    height:65vh;
	width:200px;
    overflow:hidden;
	overflow-y:scroll;
	overflow-x: hidden;
	direction:rtl;
	background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
	font-weight: bold;
	border:1px solid rgba(136, 90, 90, 0.25);
	font-size: 12px;


}
/* estilos webkit solo mejoran apariencia de scroll, aunque mejora no 
se ve en  mozilla porque no es compatible*/
/* width */
::-webkit-scrollbar {
	width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
	background: #f1f1f1;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
	background: #888;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
	background: #555;
  }
/*El tamaño maximo donde se aplicara esta clase
es de 768px. Es decir, para esconcer el navbar de las
PC -- Alberto Cruz*/
@media (max-width: 768px){
	.hide_desk_nav{
		display: none;
	}
	
}

.container {
	text-align: justify;
}
	

/************** HEADER ****************/
.header img{
	/*background:#1E296D;*/
	max-width: 100%;
	margin-top: 50px;
}
/****** section ********/
.section h4{
	color: #1E296D;
	font-family: "Open Sans", Arial, Sans-serif;
	font-weight: 400;
	font-size: 40px;
	margin-top: 50px;
	margin-bottom: 	40px;
}

.section hr {
  height: 2px;
  background-color: black;
}

.section {
	font-family: "Open Sans", Arial, Sans-serif;
	font-weight: 400;
	
}

/**** MAIN ****/

.main{
	margin-top: 30px;
}

.main .chiste{
	margin-bottom: 30px;
	margin-top: 30px;
}

.main .chiste .imagen{
	 display: flex;
        align-items: center;
}
/*para centrar la imagen */
.main .chiste img{
	margin: 0 auto;
	max-width: 100%;
}

.main .fuente{
	font-size: 10px;
	text-align: center;
}
.main hr {
  height: 2px;
  background-color: black;
}

.main .espaciado{
	margin-top: 50px;
}


.main h1,h2,h3,h4{
	color:#1E296D;
	padding-bottom: 1.5rem;
}

/**********ALINEACIÓN DEL VIDEO************/
.video{
	display:block;
	text-align: center;  }

.video iframe{
	padding-bottom: 2rem;
}

/**********Alinear sub-listas a derecha (identación)************/
.sub-list{
	padding-left: 1.5rem;

}
/****** BARRA LATERAL*****/
.aside{

	position: fixed;
	font-size: 14px;
}
.aside li{
	text-align: center;
}
.aside li .active{
	
	color: #fff;
	background: #1E296D;
}
.aside h1{
	font-weight: 300;
}
.aside a{

	color: #000;
}
.aside a:hover{
	color: red;
}

/******* FOOTER ******/

.footer{
	margin: 20px 0;
}
.footer .chiste{
	margin: 20px 0;
}


.footer .row{
	display: flex;
	flex-direction: column;
	text-justify: center;
	align-items: center;
}

.footer img{
	padding-left: 7.2rem;
}

/********* MEDIAQUERIES *******/
@media screen and (max-width:600px)
{
	/* NAVBAR */
	.linea .container a{
		font-size: 15px;
	}
	.linea .container .collapse a{
	font-size: 15px;
	padding: 5px 0px;
	}

	/************** SECTION *************/
	.section h4{
		font-size: 20px;
	}
	.section p{
		font-size: 15px;
	}
	/************** MAIN *************/
	.main p
	{
		font-size: 15px;
	}
	.main ul{
		padding: 0 40px;
		vertical-align: baseline;
	}
	.main li{
		font-size: 15px;
		vertical-align: baseline;
	}
	.main .fuente{
	font-size: 15px;
	}
	.main img{
		width: 80%;
	}
	.footer p{
		font-size: 15px;
	}
}

@media screen and (max-width:400px){
	/************* HEADER **************/
	.header{
		margin-top: 50px;
	}
	/****** section ********/
	.section h4{
		margin-top: 40px;
		margin-bottom: 20px;
		font-size: 15px;
		background-size: cover;
	}
	.section p{
		font-size: 15px;
	}

	.video iframe{
		margin-top: 40px;
		margin-bottom: 20px;
		font-size: 15px;
		height:300px;
		width:300px;
			
	}

	/********** MAIN **********/
	.main .chiste{
		margin-bottom: 0px;
		margin-top: 10px;
	}
	.main p{
		font-size: 15px;
	}
	.main img{
		width: 60%;
	}
	.main li{
		font-size: 15px;
	}
	.main .espaciado{
	margin-top: 20px;
	}

	.main ul{
		list-style-type: square;

	}

	.list_element ul{
		padding-right: 10rem !important;
	}

	/*********** FOOTER ************/
	.footer p{
		font-size: 15px;
	}
	.footer .chiste{
		text-align: center;
	}

	.footer img{
		padding-left: 0rem;
	}
}

@media screen and (max-width:300px)
{
	.main{
		margin-top: 10px;
	}
	.main .fuente{
		text-align: left;
		overflow: hidden;
	}
	.main img{
		width: 100%;
	}

	.video iframe{
		margin-top: 40px;
		margin-bottom: 20px;
		font-size: 15px;
		text-align: center;
		
	}

	/************** FOOTER ***********/
	.footer img{
		width: 100%;
	}
	.footer .chiste{
		margin: 10px 0;
	}
}