/* css/curso2.css */

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

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

.cabecera{
	width: 90%;
	margin: 4% 5% 5%; 
	background-color: #1332cf;
	overflow:hidden;
	border-radius: 15px 15px 15px 15px;
	height: auto;
	float: left;
}

.cabecera h1{
	margin: 4% 6%;
	color: white;
	float: left;
	font-size: 3vw;
	text-align: center;
	margin-right: 15%;
}

.logo img{
	float: right;
	margin: 0% 7%;
	width: 14%;
	position: absolute;
	height: auto;
	margin-top: 4%;
	margin-left: 80%;
	padding: 3vw;
}

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

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

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

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

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .botonera ul {
    width: 100%;
    padding-left: 2%;
	padding-top: 2%;
	padding-bottom: 2%;
	font-size: 2vw;
    flex-direction: column-reverse;
  }
}

.botonera a{
	line-height: 170%;
	float: left;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
}

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

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

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

.izquierda ul{
	list-style-type: none;
	font-size: 1vw;
	width: 100%;
	margin-top: 0%;
}

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

.izquierda h3 {
	padding-left: 10%;
	font-size: 3.5vh;
    max-width: 100%;
	display: flex;
	margin-top: 34%;
	margin-bottom: 10%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .izquierda h3 {
	font-size: 3vw;
	margin-top: 20%;
	margin-bottom: 2%;
  }
}

.izquierda a{
	display: block;
	margin-left: 10%;
	width: 100%;
	height: auto;
	line-height: 250%;
	text-decoration: none;
	color: #000000;
}

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

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



/*----------arranca CURSOS --------*/


.derecha{
	display: flex;
	flex-wrap: wrap;
	width: auto;
	margin-top: 4%;
}


.derecha h4{
	font-size: 3vw;
	margin-top: 4%;
	width: 100%;
	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: 1%;
	border-radius: 5px 0px 0px 5px;
    font-size: 2.5vw;
  }
}

.derecha h5{
	font-size: 2vw;
	float: right;
	width: 100%;
	background-color: #1332cf;
	color: white;
	margin-bottom: 5%;
	padding: 0.4%;
	border-radius: 15px 0px 0px 15px;
	padding-left: 30%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .derecha h5{
    width: 100%;
    padding-left: 10%;
	padding-top: 1%;
	padding-bottom: 1%;
	border-radius: 5px 0px 0px 5px;
	font-size: 2.5vw;
  }
}

.derecha p{
	width: 90%;
	font-size: 3vh;
	text-align : justify;
	margin-bottom: 4%;
	padding-left: 4%;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .derecha p{
    font-size: 1.2vh;
	margin-bottom: 0%;
  }
}

.derecha hr{
	margin-left: 4%;
	margin-right: 10%;
	margin-bottom: 5%;
	width: auto;
}

.cursos{
	width: auto;
	height: auto;
	float: left;
	padding-left: 2%;
}

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

.aclaracion{
	height: auto;
	float: left;
	padding-left: 2%;
	margin-right: 10%;
	margin-left: 5%;
	background-color: #00ffff;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .aclaracion p {
    height: auto;
	float: left;
	padding-left: 1%;
	margin-right: 5%;
	margin-left: 2%;
	background-color: #00ffff;
	padding-bottom: 3%;
  }
}

.aclaracion p{
	margin-top: 2%;
	font-size: 3vh;
	text-align: justify;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .aclaracion p {
    width: 92%;
    font-size: 1vh;
    line-height: 100%;
  }
}

.inscripcion {
	margin-top: 4%;
	width: 13%;
	height: 2.3%;
	float: left;
	background-color: #81e1b8;
	margin-left: 5%;
	border-radius: 7px 7px 7px 7px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .inscripcion {
    height: 4%;
	width: 40%;
    border-radius: 3px 3px 3px 3px;
  }
}

.inscripcion p {
	font-size: 2vh;
	line-height: 2.5;
	float: left;
	margin-left: 3.5%;
	/* Limitamos el ancho para que se acomode */
	text-align: justify;
	text-align: center;
	color: black;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .inscripcion p {
    font-size: 1.6vh;
    line-height: 2;
	margin-left: 1%;
	margin-bottom: 10%;
	margin-top: 2%;
  }
}

.inscripcion a {
	text-decoration: none;
	color: black;
}

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

.volveratras{
	float: left;
	clear: both;
	list-style-type: none;
	padding-top: 7%;
	margin-bottom: 7%;
	margin-left: 40%;
	font-size: 3vh;
}

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

.volveratras a{
	text-decoration: none;
}

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



/*-----------cierra CURSOS ------*/



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

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .pie {
	height: 60px;
  }
}

.direccion {
	float: right;
	padding-right: 2%;
}

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

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

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

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .direccion img {
    height: 8px;
  }
}

.instituto {
	float: left;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .instituto {
    width: 97%;
	margin-left: 1%;
	font-size: 2.9vw;
  }
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .instituto p{
	font-size: 2.2vw;
  }
}

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

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .pie2 {
    padding-top: 0%;
    height: 13px;
	font-size: 1vh;
  }
}

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