header {
    position: relative;
    z-index: 100;
}

#nav {
    align-items: center;
}

#nav .ih-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#nav .ih-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #07876f;
    padding: 10px 0;
    border: 0;
    font: inherit;
    cursor: pointer;
}

#nav .ih-dropdown-toggle::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}

#nav .ih-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 7px;
    background: white;
    border: 1px solid #dce5eb;
    border-top: 3px solid #07876f;
    border-radius: 0 0 9px 9px;
    box-shadow: 0 12px 35px rgba(11,35,59,.15);
    z-index: 999;
}

#nav .ih-submenu a {
    display: block;
    padding: 11px 15px;
    border-radius: 5px;
    color: #0b233b;
    white-space: nowrap;
}

#nav .ih-submenu a:hover,
#nav .ih-submenu a:focus-visible {
    background: #e7f5f0;
    color: #07876f;
    text-decoration: none;
}

#nav .ih-dropdown.is-open > .ih-submenu {
    display: block;
}

@media(max-width:800px) {
    #nav {
        align-items: stretch;
    }

    #nav .ih-dropdown {
        display: block;
        width: 100%;
    }

    #nav .ih-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
    }

    #nav .ih-submenu {
        position: static;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border: 0;
        border-left: 3px solid #07876f;
        background: #f3f7f7;
    }
}
