body {
    overflow-x: hidden;
}


/* TIPOGRAFIAS */

.playfair {
    font-family: 'Playfair Display', serif;
}

.open {
    font-family: 'Open Sans', sans-serif;
}

.roboto {
    font-family: 'Roboto', sans-serif;
}


/*==========================*/

.top_bar {
    width: 100%;
    height: 40px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 50px;
}

.top_bar a {
    text-decoration: none;
    color: #000000;
    padding: 0 10px;
}

.contacto_top_bar {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.idiomas {
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.activo {
    border: 1px solid #000000;
    background: #ffffff;
}

.header_logo {
    width: 100%;
    height: 130px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 187px;
    height: 100px;
}

.cabecera {
    width: 100%;
    height: 600px;
    background: url(../img/cabecera.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabecera h1 {
    font-family: 'Playfair Display', serif;
    max-width: 900px;
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 50px;
}

.bloque1 {
    padding: 100px 0;
}

.bloque_imagen_1 {
    display: flex;
    justify-content: center;
}

.imagen1 {
    width: 400px;
    height: 620px
}


/* BLOQUE 1 */

.bloque_lista_1 p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 32px;
    margin-bottom: 30px;
}

.bloque_lista_1 p i {
    color: #eba44a;
}


/* BLOQUE 2 */

.bloque_2 {
    background-color: #efefef;
    padding: 100px 0;
}

.titulo_bloque_2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    color: #000000;
    padding-bottom: 50px
}

.bloque_lista_2 p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.bloque_lista_2 p i {
    color: #eba44a;
}


/* BLOQUE 3 */

.bloque_3 {
    background-color: #ffffff;
    padding: 100px 0;
}

.titulo_bloque_3 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    color: #000000;
}

.bloque_texto_3 p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 32px;
    margin-bottom: 30px;
    text-align: center;
}

/*
.bloque_caracteristicas{
    width: 100%;
    height: auto;
    background: url(../img/estanteria.jpg) no-repeat center center;
    background-size: cover;
    padding: 90px 0;
}
*/

.bloque_caracteristicas{
    width: 100%;
    height: auto;
    background-color: #efefef;
    padding: 90px 0;
}

/*PROFESORADO*/

.profesorado{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.img_profesorado{
    width: 100%;
    height: auto;
    padding: 0 0 50px;
}


/* BLOQUE 4 */

.bloque_4 {
    background-color: #efefef;
    padding: 100px 0;
}

.titulo_bloque_4 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    color: #000000;
    padding-bottom: 50px
}

.contenedor_banner {
    padding: 15px;
}

.caja_cursos {
    background: url(../img/cursos.jpg) no-repeat center center;
    background-size: cover;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.caja_precios {
    background: url(../img/precios.jpg) no-repeat center center;
    background-size: cover;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.boton {
    width: 100%;
    height: 100%;
    border: 2px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.boton:hover {
    width: 100%;
    height: 100%;
    border: 2px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
}

.boton h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    color: #000000;
    padding-bottom: 0px
}

.boton p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 30px;
    text-align: center;
}

.contenedor_banner a {
    text-decoration: none;
    color: #000000;
}


/* MAPA */

.contenedor_mapa {
    display: flex;
    align-items: center;
    padding: 100px 0;
    flex-wrap: wrap;
}

.contenedor_mapa h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 400;
    text-align: left;
    color: #000000;
    margin-bottom: 20px;
}

.contenedor_boton_mapa {
    width: 100%;
    display: flex;
    justify-content: center;
}

.boton_mapa {
    color: #000000;
    border: 2px solid #000000;
    padding: 10px 15px 12px;
    text-align: center;
    margin-top: 10px;
}

.boton_mapa:hover {
    color: #ffffff;
    border: 2px solid #000000;
    padding: 10px 15px 12px;
    text-align: center;
    margin-top: 10px;
    background-color: #000000;
    text-decoration: none;
}


/* FOOTER */

.footer {
    background-color: #d4d4d4;
    padding: 100px 50px 20px;
}

.signia {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 5px;
    border-top: 1px solid #000;
    margin-top: 20px;
}

.signia a{
    color: #000000 !important;
    text-decoration: none !important;
    text-align: center;
    font-weight: 700;
}

.signia a:hover{
    color: #000000;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
}

.logo_footer {
    width: 200px;
}

.bloque_texto_footer h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 400;
    text-align: left;
    color: #000000;
    margin-bottom: 20px;
}

.titulo_contacto {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.titulo2_contacto {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    text-transform: none;
    margin-bottom: 0px;
}

.texto_contacto {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}

.texto_contacto a {
    text-decoration: none;
    color: #000000;
}

.flex_footer_logo {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
}

.social {
    margin-top: 15px;
}

.social p {
    font-size: 25px;
    color: #000000
}

.social p a {
    text-decoration: none;
    color: #000000;
    padding: 10px;
}


/*====== ===MEDIAQUERIES =========*/

@media (min-width: 250px) and (max-width: 767px) {
    .top_bar {
        width: 100%;
        height: 80px;
        background-color: #f5f5f5;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0px;
    }
    .contacto_top_bar {
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .idiomas {
        width: 100%;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* Bloque 2 */
    .bloque_2 {
        background-color: #f7f7f7;
        padding: 100px 10px;
    }
    .bloque1 {
        padding: 100px 10px;
    }
    .imagen1 {
        max-width: 325px;
        height: 490px;
        margin-bottom: 50px;
    }
    .caja_cursos,
    .caja_precios{
        height: 350px;
    }
    .mapa a img {
        display: none;
    }
    .contenedor_mapa {
        display: flex;
        align-items: center;
        padding: 100px 0;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }
    .flex_footer_logo {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 50px;
    }
}