header {
    clear: both;
}
header img {
    height: auto;
    width: 100%;
}

header.global {
    padding-top: 4px;
}

header {
    font-family: 'cabinregular', sans-serif;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 40px;
    padding-left: 20px;
}
@media all and (min-width: 1024px) {
    header.global {
        border-bottom: 1px solid #eee;
        height: 64px;
        padding-bottom: 0;
    }
    header.maps {
        height: 40px;
        padding-bottom: 0;
    }
}
    .wrapper {;
        margin-right: auto;
        margin-left: auto;
        max-width: 1280px;
        width: 100%;
    }
@media all and (min-width: 1024px) {
    header .wrapper {
        padding-left: 20px;
    }
}
    header a {
        color: #535353;
        text-decoration: none;
    }
    header.maps h1 {
        font-size: 18px;
        font-weight: normal;
        line-height: 24px;
        text-align: center;
    }
    header.global .brand {
        margin-right: auto;
        margin-left: auto;
        max-width: 200px;
        width: 100%;
    }
@media all and (min-width: 1024px) {
    header.maps h1 {
        float: left;
        text-align: left;
        width: 25%;
    }
    header.global .brand {
        float: left;
        position: absolute;
        top: 2px;
        width: 200px;
        z-index: 9;
    }
}
    header nav {
        text-align: center;
    }
@media all and (min-width: 1024px) {
    header nav {
        float: right;
        text-align: right;
        width: 75%;
    }
}
        header nav ul {
            height: 24px;
            line-height: 24px;
            list-style: none;
        }
        header nav li {
            display: inline-block;
            font-size: 14px;
            padding-right: 4px;
            padding-left: 4px;
        }
        .here a {
            font-weight: bold;
        }
        .donate a {
            font-weight: bold;
            color: #0074d9;
        }
@media all and (min-width: 1024px) {
    header.global nav {
        padding-top: 14px;
    }
}

     /* Basic header wrapper */
 #topnav {
     background: #111;
     color: #fff;
     padding: 10px 20px;
     position: relative;
     z-index: 10000; /* above Leaflet */
     font-family: 'cabinregular', sans-serif;
 }

#topnav a { color: #fff; text-decoration: none; }
#topnav a:hover { text-decoration: underline; }

/* Top row */
#topnav .menu-container {
    display: flex;
    align-items: center;
    gap: 18px;
}

#topnav .brand img {
    height: 44px;
    width: auto;
    display: block;
}

#topnav .menu-item { white-space: nowrap; }

/* Push right-side links over */
#topnav .menu-container .menu-item {
    margin-left: auto;
}
/* But keep the second menu item (Explore Data) next to the first */
#topnav .menu-container .menu-item + .menu-item {
    margin-left: 0;
}

/* Hamburger button */
#topnav .menu-toggle {
    margin-left: auto;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
#topnav .menu-icon .one,
#topnav .menu-icon .two,
#topnav .menu-icon .three {
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}

/* Second row links (Maps | divider | Home) */
#topnav .nav-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}
#topnav .el-divider--vertical {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.35);
}

/* Dropdown menu */
#topnav #nav {
    display: none;
    background: #111;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}
#topnav #nav.is-open { display: block; }
#topnav #nav ul { list-style: none; margin: 0; padding: 0; }
#topnav #nav li { padding: 10px 20px; }

