@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#bienvenidos .contenedor{
	max-width: 100%;
	width: 98%;
	text-align:center;
	margin-bottom:30px;	

}

hr{ 
	height: 2px;
	margin-left: 40%;
	margin-right: 40%;
	background-color: #693D3D;
	border: 0;
	margin-bottom: 45px;
	margin-top: 35px;

}


.banner img {
  display: block;
  max-width: 100%;
}

.main img {
  display: block;
  max-width: 100%;
}


body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Yanone Kaffeesatz', sans-serif;
  letter-spacing: 1.5px;
}
.section__titulo {
	text-align: center;
	font-size: 40px;
	color: #9A1212;
}
.contenedor {
  margin: auto;
  width: 99%;
}


/*-------------------Estilos del header-------------------*/
.header {
  height: 50px;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

	.header img{
	max-width: 300px;
	max-height: 45px;
    margin-top: -2px;
	}

.header .contenedor {
	display: flex;
	justify-content: space-between;

}
.logo, .icon2-menu {
  margin: 5px;
  color: #fff;
}


.icon2-menu {
  display: block;
  width: 40px;
  height: 40px;
  background:  #ff4136;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
  margin-left: auto;
  cursor: pointer;
}

.sombra{
	display:block;
	margin:auto;
	vertical-align: top;
	max-width: 100%;
	height: 100%;
}

/*--------------Estilos de banner--------------*/

.banner {
  position: relative;
  z-index: -1000;
  margin-bottom: 20px;
}

.banner .contenedor {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  color: #fff;
  text-align: center;
}

.banner img {
	margin-left:auto;
	margin-right:auto;
	}

.banner__txt {
  display: none;
}

/*-----------------Estilos de info-----------------*/
.info__columna {
  background: #2B83BB;
  color: #fff;
  padding: 15px;
  margin-bottom: 30px;
}


/*-----------------Estilos de cursos-----------------*/
.cursos__columna {
  position: relative;
  margin-bottom: 30px;
}
.cursos__descripcion {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background: rgba(0,0,0,0.5);
  width: 60%;
  height: 100%;
  padding: 5px;
}
.cursos__titulo {
  font-size: 25px;
  margin: 5px 0;
}
.cursos__img {
  width: 100%;
}
/*-----------------Estilos de footer-----------------*/

.footer {
  background: #333;
  color: #fff;
	padding-top: 20px;
	padding-bottom: 50px;
  text-align: center;
}

.footer .social [class^="icon-"] {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-size: 30px;
  padding: 10px;
  background: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 40px;
}

/*------------------Estilos responsive------------------*/
@media(max-width:480px) {
	  	.banner {
            display: none;
		}
    .info__titulo {
    color: #fff;
  }
}

@media(min-width:480px) {
	
	#boton {
		display:none;
		
		}
		
  .logo {
    font-size: 40px;
  }
  .header {
  height: 50px;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

	.header img{
	max-width: 300px;
	max-height: 45px;
    margin-top: -2px;
	}

  
  
  .banner__titulo {
    font-size: 30px;
    margin: 5px 0;
    color: #fff;
  }
  .banner__txt {
    display: block;
    font-size: 18px;
    margin: 7px 0;
  }
  .info, .cursos {
    display: flex;
    justify-content: space-between;
    margin-top: -90px;
  }
  .info__columna {
    width: 32%;
  }
  .info__titulo {
    font-size: 30px;
    color: #fff;
    margin: 5px 0;
  }
  .section__titulo {
    width: 100%;
  }
  .cursos {
    flex-wrap: wrap;
    margin-top: 0;
  }
  .cursos__columna {
    width: 49%;
  }
  .footer .social [class^="icon-"] {
    margin: 0 10px;
  }
  

}
@media(min-width:768px) {  
  .banner__titulo {
    font-size: 50px;
  }
  .cursos__titulo {
    font-size: 40px;
  }
  
  .header {
  height: 50px;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

	
}

@media(min-width:1024px) {  
  .header {
    height: 160px;
    display: flex; 
    flex-direction: column; 
    align-items: center;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

    .header .contenedor {
        display: flex; 
        flex-direction: column; 
        align-items: center;
    }

	.header img{
	max-width: 379px;
	max-height: 80px;
	}

  .contenedor {
    width: 1000px;
  }
  .section__titulo {
    font-size: 50px;
    margin: 30px 0;
  }
  .nav {
    position: static;
    width: auto;
  }
  .menu {
    display: flex;
  }
   .icon2-menu {
    display: none;
  }

  .select {
    color: #fff;
    background: #FBA919;
  }
  .banner__titulo {
    font-size: 60px;
  }
  .banner__txt {
    font-size: 25px;
  }
  .info {
    margin-top: -120px;
  }
  .info__columna {
    padding: 30px;
  }
  .info__titulo {
    font-size: 40px;
    text-align: center;
  }
  .cursos__descripcion {
    padding: 20px;
  }
  .cursos__titulo {
    font-size: 50px;
  }
  .cursos__txt {
    font-size: 20px;
  }

.menu .activa{
	color: #ffffff;
    background: #74c3b0;
    border-radius: 6px;
}
  
}

@media(min-width:1280px) {
  .contenedor {
    width: 1200px;
  }
  
  .header {
    height: 190px;
    display: flex; 
    flex-direction: column; 
    align-items: center;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #74c3b0;
}

    .header .contenedor {
        display: flex; 
        flex-direction: column; 
        align-items: center;
    }
  
  .banner .contenedor {
    top: 40%;
  }
  .info {
    margin-top: -220px;
  }
	
	.header img{
	max-width: 379px;
	max-height: 92px;
	}
	

}
