@media screen and (max-width: 480px) {
    .wrapper {
        display: grid;
        grid-template-rows: 3em auto 3em;
    }

    .header {
        grid-row: 1;
        max-height: 3em;
        padding: 0px;
        flex-wrap: nowrap;
    }

    .sidebar {
        grid-row: 2;
        display: grid;
        background-color: #f2f2f2;
        width: 100%;
        grid-row-gap: 12px;
        grid-template-rows: auto 1fr;
    }

    .divider {
        display: none;
    }

    .content {
        display: none;
    }

    .footer {
        grid-row: 3;
    }
}

@media screen and (min-width: 481px) {
    .wrapper {
        display: grid;
        grid-template-columns: 18rem 3px 1fr;
        grid-template-rows: 3em auto 3em;
    }

    .header {
        grid-column: 1 / 4;
        grid-row: 1;
        max-height: 3em;
        padding: 0px;
        flex-wrap: unset; /* nowrap? */
        justify-content: flex-start;
        }

    .sidebar {
        grid-column: 1;
        grid-row: 2;
        display: grid;
        background-color: #f2f2f2;
        min-width: 18rem;
        grid-row-gap: 12px;
        grid-template-rows: auto 1fr;
    }

    .divider {
        grid-column: 2;
        grid-row: 2;
        cursor: ew-resize;
        z-index: 999;
    }

    .content {
        grid-column: 3;
        grid-row: 2;
        min-height: 20px;
        background-color: white;
    }

    .footer {
        grid-column: 1 / 4;
        grid-row: 3;
    }
}

.divider:hover {
	background-color: #1CABE3;
}

.divider .vline {
    border-right: 1px solid #1CABE3;
    margin-left: 1px;
    width: 2px;
    height: 100%;
}

[class$="sidebar"] .ico {
    height: 24px;
}

[class$="sidebar"] .item {
    justify-self: left;
    text-decoration: none;    
}

.header img {
    width: 3rem;
    height: auto;
    margin-left: 0.5rem;
}

.footer .logo {
  height: 40px;
  padding: 0.5rem 1rem 0 1rem
}

nav .logo {
    height: 2em;
    display: inline;
}

nav a, nav a:hover, .nav-link, .nav-link:visited, .breadcrumb a {
    color: white;
    text-decoration: none;    
}

.unibar {
	background-color: #25437e; /* color of kenya rapid+ logo */
    border-color: black;
    color: white;
}

/* banner image below header */
img.banner {
  width: 100vw;
}

/* make breadcrumb divider white */
.breadcrumb-item + .breadcrumb-item::before {
  color: white;
}

#settings {
    position: absolute;
    top: 3rem;
    z-index: 10000; /* hides leaflet's layer icon */
}

.btn-unicef {
    background-color: #1CABE3;
    border-color: #E7E7E7;
    color: white;
}

.btn-unicef:hover {
    background-color: #14779f;
    border-color: #E7E7E7;
    color: white;
}

.ico-unicef {
    color: #1CABE3;
}

.ico-unicef:hover {
    color: #14779f;;
}

.header-caption {
    position: absolute;
    left: 50%;
    font-variant: small-caps;
    font-size: 1.8rem;
    font-weight: 600;
}
