html, body {
    margin: 0px;
    width: 100%;
    height: 100%;
}

#compost-map {
    font-family: Helvetica, Arial, sans-serif;
    height: 100%;
}
#compost-map .map-wrapper {
    position: relative;
    height: calc(100% - 50px);
}
#compost-map .map {
    width: 100%;
    height: 100%;
}

#compost-map .filters {
    font-size: 20px;
    margin: 10px 0px 0px 0px;
    color: #708090;
    overflow: auto;
}
#compost-map .filters.wide > div:first-child {
    max-width: 50%;
    display: inline-block;
}
#compost-map .filters.wide > div:last-child {
    max-width: 50%;
    text-align: right;
    float: right;
}
#compost-map .filters > div span {
    white-space: nowrap;
}
#compost-map .filters button {
    cursor: pointer;
}
#compost-map .filters button, #compost-map .filters input {
    margin-bottom: 5px;
    padding: 2px 6px 3px 6px;
}
#compost-map .near-zip, #compost-map .filters button {
    font-size: 20px;
    color: #708090;
    -webkit-appearance: none;
    outline: none;
    border: 1px solid #708090;
    background: white;
}
#compost-map .filters button.active {
    background-color: #ccc;
}
#compost-map button.near-me, #compost-map .near-zip {
    color: #00a1ad;
    border-color: #00a1ad;
    border-radius: 1em;
}
#compost-map button.near-me.active, #compost-map .near-zip.active {
    color: white;
    background-color: #02bac8;
}
#compost-map .near-zip {
    max-width: 90px;
    text-align: center;
}
#compost-map .filters .buttons button:not(:last-of-type) {
    border-right: 0px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 4px;
    padding-right: 4px;
}
#compost-map .filters .buttons button:first-of-type {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    padding-left: 6px;
}
#compost-map .filters .buttons button:last-of-type {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    margin-left: 0;
    padding-right: 4px;
}

@media screen and (max-width: 320px) {
    #compost-map .filters div:first-child {
        word-spacing: -1px;
    }
    #compost-map .filters .buttons .filter-all span {
        display: none;
    }
    #compost-map .near-zip {
        max-width: 65px;
    }
}

#compost-map .details {
    display: none;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    background-color: #f2f2f2;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
}
#compost-map .details .scroll {
    overflow-y: auto;
    height: 100%;
}

#compost-map .details .name {
    font-weight: bold;
    color: white;
    padding: 1em;
    font-size: 1.25em;
}
#compost-map .details .name {
    background-color: #04a73d;
    border-bottom: 3px solid #058e35;
}

#compost-map .details .sta_certified_compost, #compost-map .details .omri_certified_compost  {
    height: 30px;
    cursor: pointer;
}
#compost-map .popup {
    display: none;
    position: fixed;
    background: white;
    padding: 1em;
    width: calc(100% - 2em);
    box-sizing: border-box;
    border: 1px solid gray;
    border-radius: 0.5em;
    z-index: 11;
    top: 10%;
    left: 1em;
}
#compost-map .popup span {
    display: block;
    width: 50%
}
#compost-map .popup span.close {
    text-align: right;
    padding-right: 1em;
    color: #708090;
}
#compost-map .details .nccc_member span {
    cursor: pointer;
}
#compost-map .details .nccc_member .nccc_small img {
    height: 20px;
    position: relative;
    top: 4px;
}
#compost-map .details .nccc_member .nccc_large img {
    height: 75px;
}
#compost-map .details .nccc_member .nccc_large {
    display: none;
}
@media screen and (min-height: 550px) {
    #compost-map .details .sta_certified_compost, #compost-map .details .omri_certified_compost {
        height: 53px;
    }
    #compost-map .details .nccc_member img  {
        height: 75px;
    }
    #compost-map .popup {
        top: 30%;
    }
}
@media screen and (min-height: 650px) {
    #compost-map .details .nccc_member .nccc_large {
        display: block;
    }
    #compost-map .details .nccc_member .nccc_small {
        display: none;
    }
}

#compost-map .details .address, #compost-map .details .phone, #compost-map .details .website,
#compost-map .details .source, 
#compost-map .details .compost_certifications, 
#compost-map .details .nccc_member {
    margin: 1em;
}

#compost-map .details .phone, #compost-map .details .website {
    margin-top: 0px;
    margin-bottom: 0px;
}

#compost-map .details .website a {
    color: #00c3ff;
    text-decoration: none;
}

#compost-map .details .source > span, #compost-map .details .compost_certifications > span, #compost-map .details .nccc_member > span {
    display: block;
    color: #708090;
}

#compost-map .details .compost_certifications .sta_certified_compost {
    margin-right: 30px;
}

#compost-map .details .source, #compost-map .details .compost_certifications
#compost-map .details .sta_certified_compost, #compost-map .details .omri_certified_compost, 
#compost-map .details .nccc_member, #compost-map .details .btn-website, 
#compost-map .details .btn-email, #compost-map .details .btn-phone, 
#compost-map .details .btn-direction {
    display: none;
}
#compost-map .details .btn-facebook svg {
    height: 2em;
}

#compost-map .details .btns {
    text-align: center;
}
#compost-map .details .btns > div {
    display: inline-block;
    width: 2em;
    height: 2em;
    fill: white;
    background-color: #00c3ff;
    margin: 0.5em;
    cursor: pointer;
    padding: 5px;
    text-align: center;
}

#compost-map .details .close, #compost-map .info .close {
    width: 2em;
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    fill: #708090;
}

#compost-map .info {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 10px;
    right: 10px;
}
#compost-map .info svg {
    cursor: pointer;
}

#compost-map ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #00a1ad;
}
#compost-map ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #00a1ad;
   opacity: 1;
}
#compost-map :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #00a1ad;
}

/* Hide zip code field spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
