body {
    width: 100%;
    max-height: 1700px;
    background-image: url('../img/fondomcentral.jpg'); background-repeat: no-repeat;     background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    margin: 0;
    font-family: 'Work Sans', sans-serif;
}

/*----------------------------- HEADER ---------------------------------*/

.header {
    width: 1000px;
    height: 228px;
    margin: auto;
}

.ban-sub {
    width: 1000px;
    height: 91px;
    margin: auto;

}

.sub-banner {
    display: flex;
    justify-content: space-between;
    width: 1000px;
    height: 34px;
    background: #e9e9e9;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.banner-izq {
    margin: 0;
    padding: 2px 0px 0px 10px ;
    width: 300px;
    height: 34px;

}

.banner-der {
    width: 340px;
    height: 34px;;
}

h3 {
    margin: 0;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
    line-height: 34px;
    color: black;
}

.face {
    margin-top: 2px;
    width: 25px;
    height: 25px;
}

.logo {
    margin: auto;
    width: 1000px;
}

.logomcentral {
    widows: 565px;
    height: 77px;
}

/*----------------------------- MENU NAV---------------------------------*/
nav {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background: #e9e9e9;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.menu li:hover {
    background: #5a6297;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    transition: 0.5s;
}

.menu li a {
    display: block;
    padding: 15px 10px;
    color: #000;
    text-decoration: none;
}

.menu li a:hover {
    color: #fff;
}

/*----------------------------- CONTENEDOR CONTACTO ---------------------------------*/
.contacto {
    max-width: 1000px;
    width: 100%;
    height: 950px;
    margin: auto;
    background: white;
    padding-top: 30px
}

.contacto h1 {
    margin: auto;
    width: 50%;
    max-width: 1000px;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    background: -moz-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: linear-gradient(135deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    border-radius: 20px;
    color: white;
    padding: 10px;
}

.iframe-contacto {
    width: 100%;
    max-width: 1000px;
}

iframe {
    margin-top: 25px;
    float: right;
    width: 400px;
    height: 300px;
    margin-right: 50px;
}

.iframe-contacto img {
    margin-top: 25px;
    margin-left: 50px;
    float: left;
}

.formulario-contacto {
    width: 100%;
    max-width: 1000px;
    position: absolute;
    margin-top: 350px;
}

.formulario-contacto h1 {
    margin: auto;
    width: 50%;
    max-width: 1000px;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    background: -moz-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: linear-gradient(135deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    border-radius: 20px;
    color: white;
    padding: 10px;
}


form {

    /* Solo para centrar el formulario a la página */
    margin: auto;
    width: 100%;
    max-width: 400px;
    margin-top: 25px;

   /*  Para ver el borde del formulario */
    padding: 2em;
    border: 1px solid #CCC;
    border-radius: 1em;
}

form div + div {
    margin-top: 1em;
}

label {
    /* Para asegurarse que todos los labels tienen el mismo tamaño y están alineados correctamente */
    display: inline-block;
    width: 90px;
    text-align: right;
}

input, textarea {
    /* Para asegurarse de que todos los campos de texto tienen las mismas propiedades de fuente
       Por defecto, las areas de texto tienen una fuente con monospace */
    font: 1em sans-serif;
    border-radius: 10px;

    /* Para darle el mismo tamaño a todos los campos de texto */
    width: 365px;
    padding: 5px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* Para armonizar el look&feel del borde en los campos de texto */
    border: 1px solid #999;
    
}

textarea {
    height: 100px;
}

.button {
   /*  Para posicionar los botones a la misma posición que los campos de texto */
    padding-left: 90px; /* mismo tamaño a todos los elementos label */
    
}
button {
    /* Este margen extra representa aproximadamente el mismo espacio que el espacio
       entre los labels y sus campos de texto */
    margin-left: 60px;
    font-size: 15px;
    border-radius: 10px;
    background: -moz-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: linear-gradient(135deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    border-radius: 10px;
    color: white;
    padding: 10px;
}

.form-wrap {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    background: #fff;
    border-bottom-left-radius:20px;
    border-bottom-right-radius: 20px;
    
}

.msj-exito {
    text-align: center;

}

.msj-exito a {
    text-decoration: none;

}

.msj-exito h1 {
    margin: auto;
    margin-bottom: 20px;
    width: 50%;
    max-width: 1000px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    background: -moz-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    background: linear-gradient(135deg, rgba(65,71,119,1) 0%, rgba(94,100,155,1) 100%);
    border-radius: 20px;
    color: white;
    padding: 10px;
}

.footer {
    position: relative;
    width: 1000px;
    margin: auto;
    margin-top: -13px;
}

/*----------------------------- APLICACIÓN RESPONSIVE ---------------------------------*/

/*------------ APLICACIÓN RESPONSIVE HEADER -------------*/

@media (min-width: 320px) and (max-width: 1000px) {
    body {
        width: 100%;
        height: 100%;
    }
    
    .header {
        width: 100%;
        height: 100%;
        
    }
    
    .ban-sub {
        width: 100%;
        height: 100%;
    }
    
    .ban-sub img {
        width: 100%;
        height: 100%;
    }
    
    .sub-banner {
        position: relative;
        top: -3px;
        width: 100%;
        height: 100%;
    }
    
    .banner-izq {
        text-align: left;
        width: 10%;
    }
    
    .banner-der {
        width: 100%;
    }
    
   h3 {
        text-align: right;
        font-size: 12px;
        padding-right: 10px;
    }
    
    .logo {
        text-align: center;
        width: 100%;
    }
    
    .logomcentral {
        width: 100%;
        height: 100%;
    }
    
/*------------ APLICACIÓN RESPONSIVE CONTACTO -------------*/
    .contacto {
        width: 100%;
        max-width: 1000px;
        margin: auto;
    }
    
    iframe {
        width: 100%;
        height: auto;
        max-width: 400px;
        height: 267px;
        padding-left: 25px;
    }
    
    .iframe-contacto img {
        position: absolute;
        width: 100%;
        height: auto;
        max-width: 400px;
        padding-right: 25px;
    }
    
    form {
        width: 100%;
        max-width: 300px;
    }
    
    label {
    /* Para asegurarse que todos los labels tienen el mismo tamaño y están alineados correctamente */
    display: inline-block;
    width: 90px;
    text-align: right;
}

    input, textarea {
    /* Para asegurarse de que todos los campos de texto tienen las mismas propiedades de fuente
       Por defecto, las areas de texto tienen una fuente con monospace */
    font: 1em sans-serif;
    border-radius: 10px;

    /* Para darle el mismo tamaño a todos los campos de texto */
    width: 300px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* Para armonizar el look&feel del borde en los campos de texto */
    border: 1px solid #999;
}

    textarea {
    height: 100px;
}
    
    .button {
   /*  Para posicionar los botones a la misma posición que los campos de texto */
    
    padding-left: 90px; /* mismo tamaño a todos los elementos label */
    }
    button {
    /* Este margen extra representa aproximadamente el mismo espacio que el espacio
       entre los labels y sus campos de texto */
    margin-left: 30px;
    font-size: 15px;
    border-radius: 10px;
}

@media (min-width: 320px) and (max-width: 1000px) {
    
            
    .footer {
        width: 100%;
        max-width: 1000px;
    }
    
    .footer img {
        width: 100%;
        height: auto;
    }

    .form-wrap {
        width: 100%;
        max-width: 1000px;
        height: 100%;
        max-height: 1000px;
        padding-top: 50px;
        padding-bottom: 50px;
        margin-bottom: 10px;
    }
}
    
@media (max-width:940px) {
    .contacto {
        width: 100%;
        max-width: 1000px;
        margin: auto;
    }
    
    iframe {
        padding-top: 25px;
        margin: auto;
        display: flex;
        width: 100%;
        max-width: 1000px;
        height: 300px;
    }
    
    .iframe-contacto img {
        display: none;
    }
    
}
    
@media (max-width:800px) {
    
    .contacto h1 {
        font-size: 25px;
    }
}
    
@media (max-width:720px) {
    
    .contacto h1 {
        font-size: 20px;
    }
}
    
@media (max-width:550px) {
    
    .contacto h1 {
        font-size: 18px;
    }
    
@media (max-width:390px) {
        
    form {
            width: 100%;
            max-width: 250px;
    }
    
    input, textarea {
        width: 250px;
    }
}
/*------------ APLICACIÓN RESPONSIVE FOOTER -------------*/

/*------------ APLICACIÓN RESPONSIVE NAV -------------*/

@media (max-width:480px) {
        .menu ul {
            display: flex;
            justify-content: center;
            font-size: 14px;    
        }
    }
    