@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

#pull {
    display: none;
}

#innerheader {
    .content {
        max-width: 1200px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        padding: 0 32px;
    }
}

#container_menu,
#innercontainer {
    position: relative;

    .menu {
        display: none;
        gap: 20px;
        line-height: 140%;
        margin: 0;
        padding: 0;
        list-style: none;

        li a {
            font-size: 1.1em;
            color: #153134;
            font-family: "IBM Plex Sans", sans-serif;
            font-weight: 700;
            text-decoration: none;

            &:hover,
            &[aria-current="page"] {
                color: #007c92;

                svg {
                    fill: #007c92;
                }
            }
        }
    }

    .b_menu-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 202;

        li a {
            display: block;
        }
    }

    #pull {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        text-decoration: none;
        font-weight: 400;

        &::before {
            font-family: "Font Awesome 6 Pro";
            font-size: 24px;
            height: 23px;
            content: "\f0c9";
        }

        &[aria-expanded="true"]::before {
            content: "\f00d";
        }

        &:focus {
            outline-offset: -1px;
        }
    }
}

#container_menu {
    .b_menu-open {
        top: 63px;
        gap: 15px;
        padding: 40px 10px;
        box-shadow: 0 4px 10px rgb(0 0 0 / 5%);

        li a {
            padding: 10px 0;
            color: #153134;
        }
    }

    #pull {
        color: #153134;
    }

    .logo {
        a {
            display: flex;
        }

        img {
            height: 60px;
        }
    }
}

#innercontainer {
    .b_menu-open {
        top: 42px;
        padding: 0 20px;

        li a {
            padding: 15px 0;
            color: var(--cl-default);
        }
    }

    #pull {
        color: var(--cl-link);
    }
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    svg {
        width: 16px;
        height: 16px;
    }
}

.text-italic {
    font-style: italic;
}

.text-center {
    text-align: center;
    justify-content: center;
}

#footer {
    width: 100%;
    max-width: 1600px;
    margin: auto auto 0;
    color: #FFF;
    font-size: 16px;

    .container {
        max-width: 100%;
        margin: 0 auto;
        box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
    }

    p {
        margin: 0;
    }

    a {
        color: #FFF;

        svg {
            fill: #FFF;
            width: 14px;
            height: 14px;
        }

        &:hover {
            color: #b3d8de;

            svg {
                fill: #b3d8de;
            }
        }
    }

    .row {
        padding: 32px 32px;
        background: #007c92;

        .row-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            align-items: center;
            max-width: 1140px;
            margin: 0 auto;
        }

        .social {
            a {
                margin-right: 5px;
                text-decoration: none;
                display: inline-block;
                width: 30px;
                height: 30px;

                &.facebook {
                    background: url(images/facebook.svg) center no-repeat;
                }

                &.twitter {
                    background: url(images/twitter.svg) center no-repeat;
                }

                &.linkedin {
                    background: url(images/linkedin.svg) center no-repeat;
                }

                &.youtube {
                    background: url(images/youtube.svg) center no-repeat;
                }

                &:last-of-type {
                    margin-right: 0;
                }
            }
        }

        &.text-center {
            justify-content: center;
            background: #dddddd;
            color: #000;

            a {
                color: #000;

                svg {
                    fill: #000;
                }

                &:hover {
                    color: #292929;

                    svg {
                        fill: #292929;
                    }
                }
            }
        }
    }

    .nav {
        flex-wrap: wrap;
        display: flex;
        padding: 0;
        line-height: 1.6;

        li {
            display: inline-block;

            &:last-of-type a {
                border-right: none;
            }
        }

        a {
            text-decoration: none;
            line-height: 1;
            padding: 0 1rem;
            border-right: 1px solid white;
        }
    }
}

.footnav {
    flex: 0 0 50%;
}

@media screen and (min-width: 1140px) {

    #container_menu,
    #innercontainer {
        .menu {
            display: flex;
            margin: 0;
        }

        #pull {
            display: none;
        }
    }

    #container_menu .logo img {
        height: 111px;
    }
}

@media screen and (max-width: 920px) {
    .logo img {
        height: 60px;
    }
}

@media screen and (max-width: 880px) {
    #innerheader {
        .content {
            padding-right: 16px;
            padding-left: 16px;
        }
    }

    .footer {
        .row {
            flex-direction: column;
            padding-right: 16px;
            padding-left: 16px;
        }

        .nav {
            list-style: none;
            padding: 20px 0;
        }
    }
}