body {
    background: #cced8a; /* footer color */
    font-family: sans-serif;
}

/*
 * Layout
 */

/* Menor que 568px */

#title > .wrap,
#menu > .wrap,
#content > .wrap,
#footer > .wrap {
    width: 90%;
}

.header-title {
    display: table;
    width: 100%;
}

.header-logo1 {
    display: table-cell;
    vertical-align: bottom;
    width: 168px;
}

.header-logo2 {
    display: none;
}

.header-text {
    display: table-cell;
    vertical-align: bottom;
}

#title > .wrap,
#menu > .wrap,
#content > .wrap
{
    width: 100%;
    margin: auto;
}

#footer > .wrap {
    width: 260px;
    margin: auto;
}

/* sm, ≥ 568px */
@media screen and (min-width: 35.5em) {

    .header-logo2 {
        display: table-cell;
        width: 148px;
    }

}

/* md, ≥ 768px */
@media screen and (min-width: 48em) {

    #title > .wrap,
    #menu > .wrap,
    #content > .wrap,
    #footer > .wrap {
        width: 96%;
    }

}

/* lg, ≥ 1024 */
@media screen and (min-width: 64em) {

    #title > .wrap,
    #menu > .wrap,
    #content > .wrap,
    #footer > .wrap {
        max-width: 1024px;
        width: 93%;
    }
}

/* xl, ≥ 1280px */
@media screen and (min-width: 80em) {
}

/*
 * Style
 */

/* Todos los tamaños */

.header-logo1 img {
    vertical-align: bottom;
}

.header-text h2 {
    text-align: center;
    font-size: larger;
    font-weight: normal;
    font-family: 'Laila', serif;
}

#title {
    background: white;
}

#menu {
    background: #cced8a; /* footer color */
    overflow-x: hidden;
    /* Bug que cambia el overflow-y a auto cuando overflow-x es hidden */
    padding-bottom: 145px;
    margin-bottom: -145px;
    /* fin del bug */
}

.header-menu {
    padding: 0.35em 0;
    text-align: center;
}

.header-menu .pure-menu-link {
    color: black;
    text-transform: uppercase;
    font-family: 'Laila', serif;
    font-size: smaller;
    padding: .5em .1em
}

.header-menu .pure-menu-link:hover {
    background-color: transparent;
}

.header-menu .pure-menu-has-children>.pure-menu-link:after {
    content: "\25BE\00a0|";
}

.header-menu-narrow .pure-menu-children > li {
    width: 16ex;
    /*background: #cced8a;*/
    background: #ccff66;
}

.header-menu-narrow .pure-menu-children {
    left: -5px;
    z-index: 10;
}

.header-menu-wide {
    display: none;
}

#content {
    background: #ffffcc;
}

#footer {
    background: #cced8a;
    overflow: auto; /* margin collapse */
}

.footer-items {
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    font-size: smaller;
}

.footer-items > div {
    white-space: nowrap;
}

.footer-items > div {
    margin-bottom: 0.8em;
}

.footer-items > div span {
    margin-left: 0.7em;
}

.footer-direccion > i {
    margin-left: 1px;
    margin-right: 2px;
}

.footer-telefono > i {
    margin-left: 3px;
    margin-right: 3px;
}

.footer-email a {
    color: black;
    text-decoration: none;
}

/* Menor que 568px */

.header-text h2 {
    font-size: medium;
    margin: 0;
}

.header-logo1 img {
    margin-bottom: 2%;
}

/*d sm, ≥ 568px */
@media screen and (min-width: 35.5em) {

    .header-text h2 {
        font-size: larger;
    }

    .header-logo1 img {
        margin-bottom: 5%;
    }

    .header-logo2 img {
        margin-top: 10%;
        vertical-align: bottom;
    }

}

/* md, ≥ 768px */
@media screen and (min-width: 48em) {

    .header-text h2 {
        display: inline-block;
        width: 49%;
        margin-bottom: 1%;
    }

    .header-menu .pure-menu-link {
        padding: .5em 0.25em;
    }

    .header-menu-wide {
        display: block;
    }

    .header-menu-narrow {
        display: none;
    }

    #footer {
        padding-top: 0.8em;
        padding-bottom: 1.6em;
    }

    .footer-items > div span {
        margin-left: 0.2em;
    }

    .footer-direccion > i,
    .footer-telefono > i {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-email {
        text-align: center;
    }

    .footer-telefono {
        text-align: right;
    }

}

/* lg, ≥ 1024 */
@media screen and (min-width: 64em) {

    .header-menu .pure-menu-link {
        padding: .5em 0.75em;
    }
}

/* xl, ≥ 1280px */
@media screen and (min-width: 80em) {
}
