
@import url('https://fonts.googleapis.com/css?family=Lato:100,400,700|Oswald:200,400,600');

header,
footer {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
}

.navbar {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 50px;
}

.navbar a {
    text-decoration: none;
}

.navbar .idiomas {
    flex: 0 0 auto;
    justify-self: flex-start;
    padding: 0;
    list-style: none;
}

.navbar .idiomas li {
    display: inline;
    margin: 0;
}

.navbar .idiomas li a {
    padding: 15px;
    display: inline-block;
}

.navbar .idiomas li a.active { 
    background-color: #0e3668;
    color: #ffffff}

.menu-wp {
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
    
    padding: 0;
    list-style: none;
}

.menu-wp li a {
    display: inline-block;
    padding: 15px 10px;
    color: #777;
}

.menu-wp li a:hover {
    background-color: #0e3668;
    color: #ffffff;
}

#reloj {
    justify-content: flex-end;
    align-self: center;
}

.cabecera-wp {
    width: 100%;
    background: #0e3668;
    background: -webkit-linear-gradient(to right, #0e3668, #0e3668);
    background: linear-gradient(to right, #0e3668, #0e3668);
    margin-bottom: 2rem;
}

.contenedor-cabecera-wp {
    width: 100%;
    padding: 2.5em;
    max-height: 230px;
}

@media (min-width: 992px) {
    .contenedor-cabecera-wp {
        width: 1170px; 
        margin: 0 auto;
    }
}

.contenedor-cabecera-wp a {
    display: flex;
    flex-wrap: wrap;
    color: #ffffff}

.contenedor-cabecera-wp .titulo-sede {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.contenedor-cabecera-wp #escudo {
    flex: 0 0 auto;
    display: inline-block;
    width: 125px;
    vertical-align: top;
    margin-bottom: 1em;
    margin-top: -1rem;
}

.contenedor-cabecera-wp #escudo.escudo-grande {
    max-width: 25% !important;
    width: auto !important;
    max-height: 125px;
}

.contenedor-cabecera-wp span {
    padding: 0 .5em;
    /* margin-bottom: 2rem; */
    display: inline-block;
    font-size: 2em;
    color: #ffffff;
    font-family: oswald;
}

/* Footer */
footer {
    margin-top: 2rem;
    text-align: center;
}

footer a {
    color: #337ab7;
}

.footer-top > div,
.footer-bottom > div {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

footer ul li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

footer .footer-top {
    background: #f1f1f1;
    padding: 1em 0 .5em 0;
}

footer .footer-bottom {
    background: #dfdfdf;
    padding: 1em 0 .5em 0;
}

footer .datos-entidad-wp li:not(:last-of-type):after {
    content: '';
    border-right: 1px solid #474747;
    margin-left: 15px;
}

footer .btn-link, 
footer .btn-link * {
    color: #337ab7;
}

@media (max-width: 768px) {
    .navbar, 
    .footer-top > div,
    .footer-top > div > ul,
    .footer-bottom > div {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    
    .navbar > * {
        margin-bottom: 1rem;
    }

    footer .datos-entidad-wp li:not(:last-of-type):after {
        display: none;
    }

}

/* Menu mobil */
.navbar .top-bar button {
    display: none;
}

@media (max-width: 768px) {
    .menu-wp {
        display: none;
    }

    .open .menu-wp {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-top: 1px solid #ececec;
    }

    .menu-wp li {
        flex: 0 0 100%;
    }

    .menu-wp li a {
        display: block;
    }

    .navbar .top-bar {
        flex: 0 0 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .navbar .top-bar button {
        display: block;
        padding: 15px;
    }

    .navbar .top-bar button .fa:before {
        margin: 0;
    }
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
}