body:not(.home) header {
    box-shadow: 0 8px 12px -8px rgba(0, 0, 0, 0.4);
}

#genesis-mobile-nav-primary {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

body header {
    padding: 0 0 1em;
}

section.header > div ul.menu li a {
    color: var(--blue);
    font-size: 15px;
}

section.footer > div ul.menu li:last-of-type,
section.header > div ul.menu li:last-of-type {
    display: none;
}

header .container {
    display: grid;
    grid-template-columns: 2fr 8fr 2fr;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    place-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 0 0;
}

header .container>div:nth-of-type(2) {
    display: grid;
    gap: .5em;
}

.servicios-banner {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    place-content: center;
    color: var(--white);
    height: 750px;
    text-align: center;
}

.servicios-banner a,
.servicios-banner a:hover,
.servicios-banner a:focus,
.servicios-banner a:active {
    color: var(--white);
    text-decoration: none;
    padding: 5px 60px;
    border-radius: 3em;
    outline: solid 1px var(--white);
    font-size: 18px;
}

.servicios-banner h2 {
    font-size: 40px;
    margin: 0 0 28px;
}

.servicios-banner .content-container {
    padding: 0 15px;
}

.servicios-banner p {
    font-size: 22px;
    margin: 0 0 48px;
    font-weight: 700;
}

.after-banner-bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 93px;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}


.tienda-btn, .tienda-btn:hover, .tienda-btn:active, .tienda-btn:focus {
    color: var(--white);
    text-decoration: none;
    background-color: var(--light-blue);
    padding: 5px 30px;
    border-radius: 3em;
}

#wpadminbar {
    display: none;
}

#menu-toggle {
    display: none;
}

.menu-bar {
    width: 30px;
    height: 3px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.language-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    text-align: right;
    display: flex;
    justify-content: end;
    padding: 5px 15px;
}

.language-container a {
    color: var(--light-blue);
    text-decoration: none;
}


a.link-logo-container {
    display: grid;
    place-content: center;
    place-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--light-blue);
    text-decoration: unset;
}

a.link-logo-container img {
    padding: 0 0 5px;
}

a.link-logo-container span {
    width: 100%;
    padding: 5px 0 0 0;
    border-top: solid 1px var(--light-blue);
}

@media(max-width: 1080px) {
    header .container {
        grid-template-columns: 1fr 2fr 1fr;
    }
}

@media(max-width: 980px) {

    body.open {
        overflow: hidden;
    }

    body.open section.header {
        position: absolute;
        inset: 0 0 0 0;
        background: var(--white);
        z-index: 8;
        display: block !important;
        max-width: unset !important;
        width: 100% !important;
    }

    body.open header a img {
        z-index: 9;
        position: relative;
    }

    body.open section.header > div ul.menu {
        display: flex;
        flex-flow: column;
        gap: .5em;
    }

    body.open section.header > div ul.menu li:last-of-type {
        display: block;
        background-color: var(--blue);
        border-radius: 3em;
        padding: 5px 60px;
        color: var(--white);
        text-decoration: none;
    }

    body.open section.header > div ul.menu li:last-of-type a {
        color: var(--white);
    }

    section.header > ul.menu {
        display: none;
    }

    #menu-toggle {
        flex-flow: column;
        gap: 4px;
        z-index: 99999;
        display: flex;
    }

    body.open .menu-icon .menu-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.open .menu-icon .menu-bar:nth-child(2) {
        opacity: 0;
    }

    body.open .menu-icon .menu-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    header .container>div:nth-of-type(2) {
        display: flex;
        flex-flow: row;
        align-items: center;
        justify-content: space-evenly;
    }

    header .container>div:nth-of-type(2) > * {
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;
        max-width: 248px;
        width: 100%;
    }

    header .container {
        display: grid;
        grid-template-columns: 1fr 2fr;
        padding: 10px 0 0;
    }

    section.header {
        display: none !important;
    }

    body.open section.header > div ul.menu {
        display: grid;
        height: 100vh;
        place-content: start center;
        padding: 7em 0 0 0;
    }

    body.open section.header > div ul.menu li a {
        font-size: 20px;
    }

    header .container > div:last-of-type {
        display: none;
    }
}

@media(max-width: 600px) {

    header .container>div:nth-of-type(2) > *:first-of-type {
        max-width: unset;
    }

    #menu-toggle {
        align-items: end;
        justify-content: end;
        padding-right: 1em;
        max-width: unset;
        width: 100%;
    }

    header .container>div:nth-of-type(2) {
        display: flex;
        flex-flow: row;
        align-items: center;
        justify-content: space-around;
        max-width: 80%;
        width: 100%;
        margin: auto;
    }

    header .container>div:nth-of-type(2) > * {
        display: flex;
        flex: unset;
        justify-content: center;
        align-items: center;
        max-width: unset;
        width: 100%;
    }
}


@media(max-width: 430px) {

    header .container {
        grid-template-columns: 1fr;
    }

    header .container > div:first-of-type {
        display: none !important;
    }

    header .container > div:nth-of-type(2) {
        width: 100%;
        max-width: 100%;
    }

    header .container > div:nth-of-type(3) {
        display: none;
    }

    #menu-toggle {
        align-items: end;
        justify-content: end;
        padding-right: 1em;
        max-width: unset;
        width: auto;
        position: absolute;
        top: 15px;
        left: 15px;
    }

    body.open section.header > div ul#menu-main_menu {
        display: flex;
        flex-flow: column !important;
        justify-content: center;
        align-items: center;
    }
}