
/*Estilos generales*/
html {
    height: 100%;
    box-sizing: border-box;
  }
  
*,
*:before,
*:after {
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*{
    padding:  0;
}

body{
    background: #F1ECD1;
    font-size: 14px;
    position: relative;
    padding-bottom: 15em;
    margin: 0;
}
.main{
    
    height: 100%;
    
}

.container{
    height: 100%;
}
/*Estilos de menus generales*/
.menu{
    background: #C32525;
    height: 60px;
    width: 100%;
    margin-bottom: 30px;
}
.menu  img{
    vertical-align: top;
}
.menu a{
    display: inline-block;
    height: 100%;
    padding: 10px 15px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #F1ECD1;
    text-decoration: none;
    background: #C32525;
    border-bottom: 3px solid transparent;
}
.menu a:hover{
    border-bottom: 3px solid #F1ECD1;
    background: #A01F1F;
}
.logo{
    height: 100%;

}

/*Estilos de contenido*/
h2{
    font-family: 'Open Sans',sans-serif;
    font-weight: 300;
    font-size: 2.14em;
}
/*Estilos blog*/
.main .entrada {
    width: 100%;
    display: flex;
    margin: 30px 0;
}
.main .entrada .imagen {
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    border-radius: 4px;
    box-shadow: 5px 10px 4px #1337497e;
    
}
.main .entrada .imagen img{
    width: 99%;
    height: 98%;
    vertical-align: top;
    border-radius: 4px;
}
.main .entrada .titulo {
    width: 50%;
}
.main .entrada .titulo a {
    color: #133749;
    
}
.main .entrada .titulo a h2 {
    font-weight: 400;
}
/*Estilos de productos*/

.main .producto{
    width: 85%;
    margin: auto;
}
.main .producto .imagen {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}
.main .producto .imagen img {
    width: 99%;
    height: 98%;
    vertical-align: top;
    border-radius: 4px;
}
.main .producto 
{
    display: flex;
    padding: 30px 0;
}
.main .producto .info 
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    color: #fff;
}
.main .producto .boton
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%;
}
.main .producto .boton a 
{
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    background: #5CB85C;
    border-radius: 5px;
    color: #fff;
}
.cont1{
    background: #C32525;
    min-height: 280px;
    display: flex;
}
.cont2{
    background: #F77F00;
    min-height: 280px;
    display: flex;
}
.cont3{
    background: #174259;
    min-height: 280px;
    display: flex;

}
/*Estilos de cursos*/
.main .curso 
{
    background: #FCC459;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
}
.main .curso .titulo {
    width: 100%; 
}
.main .curso .titulo h2 {
    font-family: 'Open Sans',sans-serif;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    color: #C32525;

}
.main .curso .imagen {
    width: 200px;
    float: left;
    margin: 0 40px;
    margin-left: 60px;
}
.main .curso .imagen img {
    width: 100%;
    vertical-align: top;
}
.main .curso .info {
    width: 60%;
    float: left;
    display: flex;
    margin-left: 60px;
    
}
.main .curso .info p{
    color: #333333;
    font-family: 'Open Sans',sans-serif;
    font-weight: 400;
    line-height: 30px;
    font-size: 20px;
}
/*Estilos de acerca de*/
.fondo{
    width: 100%;
    max-width: 100%;
    background: #F77F00;
    margin-bottom: 30px;
    padding: 0;
}
.cont-bout{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fondo .titulo h2
{
    color: #C32525;
    font-family: 'Open Sans',sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
}
.fondo .imagen 
{
    width: 25%;
    min-width: 150px;
}
.fondo .imagen img {
    width: 100%;
    vertical-align: top;
}
.fondo .contenido{
    width: 50%;
}
.fondo .contenido p{
    color: #FCC459;
    text-align: center;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}
.bout {
    display: flex;
    align-items: center;
}
.bout .img img{
   width: 100%;
   vertical-align: top;

}
.bout .info p{
    color: #333;
    text-align: right;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}
/*Estilos contacto*/
.main .contacto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main .contacto .titulo h2 {
    color: #C32525;
    font-family: 'Open Sans',sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    
}
.main .contacto .formulario{
    background: #fff;
    border-radius: 5px;
    padding: 20px 40px;
    width: 50%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.466);
} 
.main .contacto .formulario input {
    display: block;
}
.main .contacto .formulario input[type="text"],
.main .contacto .formulario input[type="email"],
.main .contacto .formulario textarea{
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #174259;
    border-radius: 6px;
    font-family: 'Open Sans',sans-serif;
    font-size: 16px;
    
}
.main .contacto .formulario textarea{
    min-height: 150px;
    max-height: 300px;
    min-width: 100%;
    max-width: 100%;
}
.main .contacto .formulario input[type="text"]:focus,
.main .contacto .formulario input[type="email"]:focus,
.main .contacto .formulario textarea:focus{
    border: 1px solid #5CB85C;
}
.main .contacto .formulario input[type="submit"]{
    margin: 0 auto;
    width: 20%;
    min-width: 80px;
    background: none;
    border: 1px solid #5CB85C;
    color: #5CB85C;
    font-family: 'Open Sans',sans-serif;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}
.main .contacto .formulario input[type="submit"]:hover{
    background: #5CB85C;
    color: #fff;
}
.main .ubicacion {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.main .ubicacion .titulo h2{
    color: #C32525;
    font-family: 'Open Sans',sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
}
.main .ubicacion .mapa{
    width: 100%;

    overflow: hidden;
}
.main .ubicacion .mapa iframe{
    width: 100%;
    max-height: 600px;
}
/*Estilos de footer*/
footer{
    background: #174259;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 13.57em;
    width: 100%;
    margin-top: 10px;
}
/*Estilos de menu de footer*/
footer .container .bott a{
    background: #174259;
}
footer .container .bott a:hover{
    background: #133749;
    border-bottom: 3px solid transparent;
}
footer .container .bott{
    background: #174259;
}
footer .container .menu{
    border-bottom: 3px solid #F77F00;
    padding-bottom: 2px;
}
/*Estilos de seccion info*/
footer .container .info .correo,
footer .container .info .name
{
    display: block;
    text-decoration: nonne;
    color: #FCC459;
    text-align: center;
}
footer .container .info .redes a
{
    text-decoration: nonne;
    display: inline-block;
    color: #133749;
    font-size: 1em;
    text-align: center;
    background: #fff;
    border-radius: 100%;
    align-self:center;
    width: 1.4em;
}
footer .container .info .redes{
    text-align: center;
}
.facebook{
    color: #fff;
    font-size: 1em;
}
.twitter{
    color: #fff;
    font-size: 1em;
}
/*Media queries*/
@media screen and (max-width:1199px){
    .main .curso 
    {
        background: #FCC459;
        padding: 10px;
        margin-bottom: 30px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main .curso .imagen {
        width: 50%;
    }
    .main .curso .imagen img {
        width: 100%;
        vertical-align: top;
    }
    .main .curso .info {
        width: 100%;
        margin-left: 15px;
        padding-right: 15px;
    }
    .main .curso .info p{
        text-align: center;
    }
}
@media screen and (max-width:991px){
    /*Menu*/
    .menu .container{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .bott {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    /*Area de formulario*/
    .main .contacto .formulario{
        width: 95%;
    }
    /*Area de productos*/
    .main .producto{
        width: 90%;
        margin: auto;
        display: flex;
        padding: 30px 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main .producto .imagen {
        width: 50%;
        min-width: 250px;
    }
    .main .producto .info p {
        font-size: 16px;
    }
    .main .producto .boton a {
        font-size: 16px;
    }
}
@media screen and (max-width:767px){
    /*Area de productos*/
    .main .producto .info  {
        width: 80%;
    }
    .main .producto .boton {
        width: 40%;
    }
    /*Area del blog*/
    .main .entrada {
        flex-direction: column;
        align-items: center;
    }
    .main .entrada .imagen {
        width: 70%;
        min-width: 200px;
    }
    .main .entrada .titulo {
        width: 90%;
    }
    .main .entrada .titulo a h2 {
        font-size: 25px;
        text-align: center;
    }
    /*Area de acerca de*/
    .bout {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .bout .img 
    {
        width: 50%;
    }
    .bout .info {
        width: 70%;
    }
    .fondo .contenido 
    {
        width: 70%;
    }
    .bout .info p {
        text-align: center;
    }
}
@media screen and (max-width:532px){
    .bott a{
        visibility: hidden
    }
    /*Menu*/
    .menu .container {
        display: flex;
        flex-direction: column;
    }
    .menu{
        height: auto;
        margin-bottom: 30px;
    }
    .menu a{
        display: inline-block;
        height: 50px;
        padding: 10px 15px;
    }
    .logo{
        width: 60px;;
        height: 60px;
    
    }
    /*Blog*/
    .main .entrada .titulo a h2 {
        font-size: 20px;
    }
}
