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

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

    .header-caption {
        display: none;
    }
    .sidebar {
        grid-row: 2;
        display: grid;
        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: auto 3px 1fr;
        grid-template-rows: 3em auto 3em;
    }

    .header {
        grid-column: 1 / 4;
        grid-row: 1;
        max-height: 3em;
        flex-wrap: unset; /* nowrap? */
    }

    .sidebar {
        grid-column: 1;
        grid-row: 2;
        display: grid;
        min-width: 14rem;
        /* 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;
        max-height: 3em;
    }
}

.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;    
}

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

nav .logo {
    height: 24px;
    display: inline;
}

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

.unibar {
	background-color: #25437e;
    border-color: black;
    color: white;
}

/* 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;;
}

/* reset button on leaflet map */
.btn-reset {
    width: 30px;
    height: auto;
    background-color: white;
    padding: 6px;
}
