body {
    font-family: neuzeit-grotesk, sans-serif;
    font-style: normal;
    font-size: medium;
    font-weight: normal;
    margin: 0;
    min-height: 100%;
}

/* main flexbox to hold fullscreen site */
#box {
    display: grid;
    min-height: 100vh;
    grid-template-rows: auto 1fr;
}


/* Remove body margins */

h1 {
    font-family: futura-pt, sans-serif;
    font-style: bold;
    font-size: 3em;
    font-weight: 600;
    margin: 0;
}

h2 {
    font-family: neuzeit-grotesk, sans-serif;
    font-style: normal;
    font-size: 2em;
    font-weight: 700;
}

h3 {
    font-family: neuzeit-grotesk, sans-serif;
    font-style: normal;
    font-size: 1.5em;
    font-weight: 900;
}

h4 {
    font-family: neuzeit-grotesk, sans-serif;
    font-style: normal;
    font-size: 1.25em;
    font-weight: 700;
}


.spaced-text>br {
    margin-bottom: 1em;
}

#logo {
    width: 10vw;
    fill: #172d43;
    z-index: 2000000;
}

#header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
    background: linear-gradient(0deg, rgb(23, 45, 67) 0%, rgb(23, 45, 67) 35%, rgb(56, 124, 156) 35%, rgb(56, 124, 156) 35%, rgb(56, 124, 156) 100%);
}

#obs_name {
    color: white;
    text-align: center;
    font-size: 5vw;
    letter-spacing: .04em;
    padding-left: 60px;
    white-space: nowrap;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;

}

#activityMap-container {
    grid-row: 1/2;
    grid-column: 2/5;
    min-height: .5vh;
    padding: 1em;
}

#activityMap {
    height: 60vh;
    border-radius: 10px;
}

#menu-search {
    width: 90%;
    display: block;

}

.social-icon {
    width: 30px;
    padding: 1em;
}

.social-icon:hover {
    animation-name: social-bop;
    animation-duration: .2s;
}

@keyframes social-bop {
    0% {
        transform: scale(80%);
    }

    50% {
        transform: scale(120%);
    }

    100% {
        transform: scale(100%);
    }
}

#social-list {
    list-style: none;
    display: inline-flex;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}



/* Main Nav Button */

.navButton {
    letter-spacing: 1px;
    cursor: pointer;
    color: #172d43;
    text-align: center;
    transition: 0.3s ease-in-out;
}




/* Main container */

.container {
    display: grid;
    grid-template-columns: 60px 1fr 1fr auto;
    grid-gap: 1rem;
    grid-template-rows: repeat(6, auto);
    align-items: start;
    transition: .1s ease;
    width: 100%;
}

.grid {
    background-color: #444;
    padding: 5px;
}

.content {
    grid-column: 2 / 5;
    grid-row: 2 / 3;
    margin: 5px;
}

.volcanic-activity {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
    min-height: 200px;
}

.hans-html {
    border: solid 2px #172d43;
    color: #172d43;
    border-radius: 4px;
    padding: 1em;
}

.volcanic-activity-radio {
    grid-column: 4;
    grid-row: 1 / 5;
    min-height: 200px;
    min-width: 100%;
}

#radio-logo {
    width: 200px;
    display: block;
    margin: auto;
}

#radio-text {
    text-align: center;
}

#audio-control {
    display: block;
    margin: auto;
    max-width: 100%;
}

.related-images {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
    min-height: 150px;
    background-color: #2BB673;
}

.related-posts {
    grid-column: 3 / 4;
    grid-row: 5 / 6;
    background-color: #f3cddd;
}


#footer {
    background-color: #172d43;
    /*background: linear-gradient(0deg, #172d43 30%, #387c9c);*/
    color: white;
    text-align: center;
    margin: 0px;
    padding-top: 1em;
    padding-right: 0px;
    padding-bottom: 1em;
    padding-left: 0px;
}

/* display footer list horizotally. Use a list for screen readers */

#footer-list {
    margin: 0px;
    list-style-type: none;
    text-align: center;
    display: inline-flex;
}

#footer-list li {
    padding-left: 1em;
    padding-right: 1em;
    padding-top: .5em;
    padding-bottom: 0;
}

#footer-list a {
    color: white;
    text-decoration: none;

}

.USGS-Grant {
    text-align: center;
}

.USGS-Grant>p {
    margin: 0;
}

/* The sidebar menu */

.sidenav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    font-family: futura-pt, sans-serif;
    font-style: bold;
    font-size: 3em;
    /* Full-height: remove this if you want "auto" height */
    background-color: #172d43;
    /* Black */
    overflow-x: hidden;

    grid-column: 1;
    grid-row: 1;
}

/* The navigation menu links */

.sidenav a {
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    white-space: nowrap;

}

/* When you mouse over the navigation links, change their color */

.sidenav a:hover {
    color: #f1f1f1;

}

.afternav {
    height: 100%;
    background-color: #172d43;
    grid-row: 1/7;
    grid-column: 1;
}

.menu-item {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 60px 1fr;
    padding: 6px 8px 6px 16px;
    max-height: 1em;
    align-items: center;
}

.menu-item-icon svg {
    max-width: 30px;
    fill: #f9f9f9;
    display: grid;
}

.menu-item-icon img {
    max-width: 30px;
    fill: #f9f9f9;
    display: grid;
}

.menu-item-icon:hover {
    animation-name: social-bop;
    animation-duration: .2s;
}


#toggle {
    display: none;
}

#toggle:checked~.container {
    grid-template-columns: 250px 1fr 1fr auto;
}


.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    scale: 1;
    width: 60px;
}

.hamRotate.active {
    transform: rotate(45deg);
}

.hamRotate180.active {
    transform: rotate(180deg);
}

.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #000;
    stroke-width: 5.5;
    stroke-linecap: round;
    stroke: white;
}

.ham1 .top {
    stroke-dasharray: 40 139;
}

.ham1 .bottom {
    stroke-dasharray: 40 180;
}

.ham1.active .top {
    stroke-dashoffset: -98px;
}

.ham1.active .bottom {
    stroke-dashoffset: -138px;
}


/* Style page content */


.dropdown {
    display: table-caption;
    grid-auto-flow: column;
    grid-template-columns: 60px 1fr;
    align-items: center;
    padding: 6px 8px 6px 16px;
}

.dropdown-collection {
    display: none;
}

.dropdown-item {
    grid-template-columns: 1fr;
    text-align: right;
}

.dropdown-item a {
    text-align: right;
}

.gsc-search-button {
    display: none;
}

.sensorsIcons {
    display: flex;
}

@media only screen and (orientation: portrait) {

    .container {
        display: grid;
        grid-template-columns: 60px 1fr;
        transition: .1s ease;
        grid-template-rows: auto auto;
        column-gap: 1%;
        width: 100%;
    }

    .content {
        grid-column: 2;
    }

    .volcanic-activity {
        grid-column: 2;
    }

    #activityMap-container {
        grid-column: 2;
        min-height: 480px;
        padding: 1em;
    }


    .clusterCount {
        position: relative
    }

    .communityIcon {
        position: absolute;
        top: 30%;
    }

    .wrapper {
        display: inline-block;
        margin: inherit;
    }

    .volcanic-activity-radio {
        grid-column: 2;
        grid-row: 4;
    }

    #toggle:checked~.container {
        grid-template-columns: 250px 1fr;
    }

    #footer-list {
        display: inline-block;
    }

}

/* map stuff */
.popup-image {
    max-width: 300px;
}

.instrumentCount {
    text-align: center;
    background-color: white;
    border-radius: 100%;
    width: 100%;
    height: 100%;
}


@media screen and (orientation: portrait) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}


@media only screen and (orientation: portrait) {
    .container {
        display: grid;
        grid-template-columns: 40px 1fr;
        transition: .1s ease;
        grid-template-rows: auto auto;
        grid-column-gap: 1%;
        width: 100%;
    }


    .menu-item {
        padding: 16px 8px 6px 5px;
    }

    .ham {
        width: 40px;
    }

    .card {
        font-size: small;
    }

    .sidenav {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        font-family: futura-pt, sans-serif;
        font-style: bold;
        font-size: 3em;
        /* Full-height: remove this if you want "auto" height */
        background-color: #172d43;
        /* Black */
        overflow-x: hidden;
        grid-column: 1;
        grid-row: 1;
    }
}