/* css/anteriores.css */

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
/* reset.css */

body{
	background-image: url("../images/fondo2.jpg");
	font-family: Arial;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	padding-top: 2%;
}

.cabecera{
	display: flex;
	flex-wrap: wrap;
	width: 85%;
	margin: 2% 7.5% 5%;
	background-color: #1332cf;
	overflow: hidden;
	border-radius: 5px 5px 5px 5px;
	height: auto;
	float: left;
	padding-bottom: 5%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .cabecera {
    max-width: 90%;
    padding-left: 2%;
	padding-top: 0.5%;
	padding-bottom: 2%;
	font-size: 1.2vw;
    flex-direction: column-reverse;
	float: right;
  }
}


.cabecera img{
	display: flex;
	flex-wrap: wrap;
	float: left;
	margin-top: 0.5%;
	width: 13%;
	position: absolute;
	height: auto;
	padding: 1vw;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .cabecera img {
	width: 9%;
	height: auto;
	padding: 0.8vw;
  }
}



.prueba {
	animation-name: transformar;
	animation-duration: 5s;
	animation-delay: 2s;
	animation-timing-function: ease;
} 

@keyframes transformar{
	50%{ transform: scale(1.2, 1.2);
	       }
} 

.cabecera h1{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 2% 0% 3% 17%;
	color: white;
	float: right;
	font-size: 3.5em;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .cabecera h1 {
	color: white;
	font-size: 2.5em;
	order: 1;
  }
}


.cabecera h5 {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding-left: 80%;
	color: white;
	float: right;
	font-size: 1em;
	clear: both;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .cabecera h5 {
	color: white;
	font-size: 0.9em;
  }
}

.cabecera h6{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding-left: 80%;
	color: white;
	float: left;
	font-size: 1em;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .cabecera h6 {
	color: white;
	font-size: 0.9em;
  }
}

.contenedor{
	background-color: #FFFFFF;
	width: 85%;
	margin: auto;
	clear: both;
	border-radius: 5px 5px 5px 5px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .contenedor {
    width: 85%;
  }
}


.botonera ul{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 2%;
	background-color: #1332cf;
	list-style-type: none;
	height: 57px;
	padding-top: 1%;
	/* Padding en vez de margin para mostrar el color de fondo */
	padding-left: 2%;
	/* Pixel perfect */
	border-radius: 5px 5px 0 0;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .botonera ul {
    width: 100%;
    padding-right: 15%;
	padding-top: 2%;
	padding-bottom: 2%;
	list-style-type: none;
	font-size: 2.3vw;
    flex-direction: column-reverse;
	height: 3.6vh;
  }
}


.botonera a{
	line-height: 220%;
	float: left;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	padding-left: 1vw;
	padding-right: 1vw;
	border-right: 1px solid yellow;
}

.botonera a:hover{
	color: #F75D41;
}


.izquierda{
	float: left;
	width: 16%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .izquierda {
    float: left;
  }
}


.izquierda ul{
	list-style-type: none;
	font-size: 1vw;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: 0%;
	padding-right: 33%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .izquierda ul {
    width: 100%;
	font-size: 2vh;
  }
}



.izquierda h3 {
	padding-left: 11%;
	font-size: 4vh;
    max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: 30%;
	margin-bottom: 12%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .izquierda h3 {
	font-size: 1.2vh;
	margin-top: 50%;
	margin-bottom: 2%;
    padding-left: 38%;
  }
}


.izquierda a{
	display: block;
	margin-left: 30px;
	width: 150%;
	height: auto;
	line-height: 30px;
	text-decoration: none;
	color: #000000;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .izquierda a {
	font-size: 1.5vw;
	margin-top: 20%;
	margin-bottom: 2%;
	line-height: 8px;
    margin-left: 20px;
	width: 200%;
  }
}

.izquierda a:hover{
	color: #FF9900;
}



.derecha {
	display: flex;
	flex-wrap: wrap;
	float: right;
	width: 80%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .derecha {
	width: 72%;
  }
}




.derecha h4{
	font-size: 2vw;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 10%;
	background-color: #1332cf;
	color: white;
	margin-bottom: 5%;
	padding-top: 1%;
	padding-bottom: 1%;
	border-radius: 15px 0px 0px 15px;
	padding-left: 2%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .derecha h4 {
    width: 100%;
    padding-left: 5%;
	padding-top: 2%;
	padding-bottom: 2%;
	border-radius: 5px 0px 0px 5px;
    margin-top: 12%;
  }
}



.noticias{
	width: 90%;
	height: auto;
	float: left;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .noticias {
	width: 90%;
	margin-left: 2%;
  }
}



.noticias img{
	display: flex;
	flex-wrap: wrap;
	width: 12%;
	float: left;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .noticias img {
	width: 10%;
	float: left;
  }
}




.noticias p{
	font-size: 1.2em;
	line-height: 1.5;
	float: left;
	margin-bottom: 10%;
	width: 80%;
	margin-left: 2%;
    text-align : justify;
	margin-top: 1%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .noticias p {
	font-size: 0.5em;
	line-height: 1;
	float: left;
	margin-bottom: 5%;
	width: 80%;
	text-align: left;
  }
}


.noticias a {
	text-decoration: none;
}

.noticias a:hover {
	color: #F90;
}

.noticias h2 {
	font-size: 1vw;
	margin-top: 3%;
	color: #1332cf; 
	text-align: justify;
	
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .noticias h2 {
	width: 90%;
	font-size: 1.7vw;
	margin-top: 10px;
	
  }
}

.noticias hr {
	margin-top: 3%;
	margin-bottom: 6%;
}







.audio1 p {
	float: left;
	margin-left: 13%;
	margin-bottom: 0%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .audio1 p {
	float: left;
	margin-left: 13%;
	margin-bottom: 0%;
	width: 85%;
	font-size: 0.9vh;
  }
}


/*-------------------*/


.conversion p {
	margin-left: 15%;
}


@media only screen and (min-width: 320px) and (max-width: 768px) {
    .conversion p {
	margin-left: 13%;
	
  }
}


.elecciones img {
	width: 75%;
	height: auto;
	margin-left: 11%;
	padding-top: 5%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .elecciones img {
	width: 70%;
	padding-top: 5%;
	margin-left: 17%;
  }
}



.fiestas img {
	width: 75%;
	height: auto;
	margin-left: 11%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .fiestas img {
	width: 70%;
	margin-left:15%;
  }
}


.conversion img {
	width: 75%;
	height: auto;
	margin-left: 11%;
	padding-top: 4%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .conversion img {
	width: 70%;
	margin-left: 17%;
	padding-top: 5%;
  }
}




/*--------------*/






.vermas {
	float: left;
	margin-left: 15%;
	font-size: 2.5vh;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .vermas {
	float: left;
	margin-left: 13%;
	font-size: 0.8vh;
  }
}



.vermas a{
	text-decoration: none;
}

.vermas a:hover{
	color: #F90;
}

.vermas2 {
	float: left;
	margin-left: 15%;
	font-size: 2.5vh;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .vermas2 {
	float: left;
	margin-left: 13%;
	font-size: 0.8vh;
  }
}

.vermas2 a{
	text-decoration: none;
}

.vermas2 a:hover{
	color: #F90;
}



.vermas3 {
	float: left;
	margin-left: 15%;
	font-size: 2.5vh;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .vermas3 {
	float: left;
	margin-left: 13%;
	font-size: 0.8vh;
  }
}

.vermas3 a{
	text-decoration: none;
}

.vermas3 a:hover{
	color: #F90;
}


.masinfo {
	margin-top: 10%;
	margin-bottom: 5%;
	font-size: 1.2vw;
	list-style-type: none;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .masinfo {
	font-size: 0.7vh;
	margin-left: 5%;
  }
}

.masinfo a{
	text-decoration: none;
}

.masinfo a:hover {
	color: #F90;
}

.pie{
	clear: both;
	background-color: black;
	padding: 1% 1%;
	height: 100px;
	color: white;
	font-size: 2vh;
}


.direccion {
	float: right;
    font-size: 3vh;
	padding-right: 20%;
	border-right: 1px solid black;
	margin-right: 15px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .direccion {
    width: 97%;
	margin-left: 1%;
	font-size: 2.3vw;
	margin-top: 3%;
	float: left;
    flex-direction: column-reverse;
  }
}

.direccion p{
	font-size: 2vh;
}


@media only screen and (min-width: 320px) and (max-width: 768px) {
    .direccion p{
	font-size: 1vh;
  }
}

.direccion img {
	height: 15px;
	padding-right: 5px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
	.direccion img {
    height: 2.5vw;
    flex-direction: column-reverse;
  }
}

.sindicato {
	margin-right: 18px;
	padding-right: 90px;
	float: left;
}

.sindicato p{
	font-size: 2vh;
	
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .sindicato p{
	font-size: 1vh;
  }
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .sindicato {
    width: 106%;
	margin-left: 2%;
	font-size: 2.3vw;
    flex-direction: column-reverse;
	padding-top: 4%;
  }
}

.pie2{
	clear: both;
	background-color: #696464;
	padding-top: 5px;
	height: 30px;
	color: black;
	margin-bottom: 40px;
	border-radius: 0 0 5px 5px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .pie2 {
    margin-bottom: 5%;
	height: 30px;
  }
}

.copy{
	margin-right: 18px;
	float: left;
	padding-left: 1%;
	font-size: 0.7vw;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .copy {
	font-size: 2.3vw;
    padding-top: 2%;
  }
}


/*-----------------------SLIDER---------------------------------*/



div#slider { overflow: hidden; } /* las imágenes no van a salir del márgen de la pantalla*/
div#slider figure img { width: 20%; float: left; }

div#slider figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite; /*el movimiento se va a mantener de forma indefinida -infinito-*/
}


/*esta parte del código define el movimiento de las imágenes a la izquierda*/
@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

/*-----------------------CIERRA SLIDER---------------------------------*/



/* --------------  REPRODUCTOR AUDIO ------------*/

<style class="language-css">
  #audioPlayer {
    width: 100%;
    background: #333;
    padding: 20px;
    color: #fff;
  }
  #audio {
    width: 80%;
	margin-left: 13%;
	
  }
</style>


<script class="language-js">
  var audio = document.getElementById('audio');
  
  audio.addEventListener('timeupdate', function() {
    var currentTime = audio.currentTime;
    var duration = audio.duration;
    
    // Update the player's progress bar and time display here
  });
  
  // Add more event listeners for play, pause, skip, etc.
</script>
