html, 
body { color: #2E323B; font-family: "Montserrat", sans-serif; font-size: 18px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { padding: 0; width: 100%; }

/* Links */
a { transition: background-color .2s, color .2s; padding: 4px 0; }
a:hover { text-decoration: none; }
a:focus { text-decoration: none; }
button { background: #ccc; border: 0; margin: 6px 0 6px; padding: 8px 14px 6px; transition: background .2s, color .2s; }
button:hover { background: #999; }

/* Headers */
h1 { font-size: 1.4em; margin: 0; transition: font-size .4s; }
h2 { font-size: 2.8em; margin: 26px 0; }
h3 { font-size: 2.2em; margin: 46px 0 22px; }
h4 { font-size: 1.6em; margin: 46px 0 12px; }
h5 { font-size: 1.4em; margin: 46px 0 12px; }
h6 { font-size: 1.2em; margin: 46px 0 12px; }

/* Paragraphs & Lists */
p { line-height: 1.6em; margin: 22px 0; }
ul, 
ol { margin: 20px 0; }
li { line-height: 1.6em; margin: 12px 0; }
img { max-width: 100%; }

/* Header */
header { align-items: center; background-color: #144577; color: #fff; display: none; justify-content: space-between; padding: 10px 44px 14px 20px; position: relative;z-index: 4; }
header.showing { display: flex; }
header > button { background: transparent; margin: 0; padding: 0;  }
header > button:hover { background: transparent; }
header img[src*="Logos"] { height: 62px; }
header nav ul { list-style: none; margin: 0; padding: 0; }
header nav li { display: inline-block; font-size: 1em; margin: 0; margin-left: 62px; position: relative; transition: font-size .4s, margin .4s; }
header nav li button { background: transparent; border-radius: 8px; color: #fff; display: block; font-size: .9em; padding: 3px 16px 3px 8px; }
header nav li button:hover,
header nav li button:focus { background: #0a7c70; }
header nav li button.active { background: #0a7c70; }

#skiptocontent { background-color: #fff; border-radius: 8px; box-shadow: 2px 2px 8px 0 #000; font-size: 1.3em; left: -9999px; padding: 6px 12px; position: absolute; top: -9999px; }
#skiptocontent:focus { left: 8px; top: 8px; }

#mobile-menu { background: transparent; border: 0; display: none; margin: 0; padding: 0 4px; }
#mobile-menu .line { background: #fff; display: block; height: 3px; left: 0; margin: 0 0 6px; position: relative; top: 0; transition: .3s; width: 26px; }
#mobile-menu .line.btm { margin: 0; }

.ada-element { left: -9999px; position: absolute; }

#content { display: none; }

/* Homepage */

#intro-popup { background: #644319; background-image: url("../images/video/backup.jpg"); background-size: cover; background-position: center; height: 100%; left: 0; opacity: 1; position: fixed; top: 0; transition: opacity .9s, top .9s; width: 100%; z-index: 13; }
#intro-popup video { height: 100%; object-fit: cover; object-position: center; width: 100%; }
#welcome-popup { left: 2%; max-height: 86%; opacity: 0; position: absolute; top: 50%; transform: translateY(-50%); width: 40%; }
#welcome-popup > div { background: #144577; background: rgba(20,69,119,.84); border-left: 16px solid #27AAE1; border-left-color: rgb(39,170,225,.8); color: #fff; height: 100%; overflow: auto; padding: 30px 34px; position: relative; z-index: 1; }
#intro-popup button { align-items: center; background: #FBB040; border-radius: 4px; color: #2E323B; display: flex; font-size: 1.2em; font-weight: 700; gap: 9px; margin-top: 28px; padding: 10px 16px; }
#intro-popup button img { display: inline-block; vertical-align: middle; }
#intro-popup button:hover { background: #8b4513; }
#welcome-popup > div > img { height: 128px; }
#intro-popup a { color: #fff; font-weight: 700; text-decoration: underline;  }
#intro-popup a:hover { color: #FBB040; }
#intro-popup strong { color: #F8FF32; text-transform: uppercase; }
#intro-popup.instigated { opacity: 0; top: -100%; transition: 1.3s; }
#intro-popup.hide-too { display: none; }
#welcome-popup:before,
#welcome-popup:after { background: #8DC63F; background: rgba(141,198,63,.84); content: ""; height: 150px; left: -70px; opacity: 0; position: absolute; top: -140px; transform: skewX(-20deg); width: 180px; }
#welcome-popup:after { background: #F8FF32; background: rgba(248,255,50,.7); bottom: -50px; height: 110px; left: auto; right: -120px; top: auto; width: 140px; z-index: 1; }

#intro-popup.animated #welcome-popup { left: 10%; opacity: 1; transition: left 1s, opacity 1s; }
#intro-popup.animated #welcome-popup:before { opacity: 1; top: -70px; transition: opacity 1s ease-in-out .6s, top 1s ease-in-out .6s; }
#intro-popup.animated #welcome-popup:after { opacity: 1; right: -60px; transition: opacity 1s ease-in-out .6s, right 1s ease-in-out .6s; }

.embed-container { height: 100%; left: 0; position: fixed; width: 100%; }
.embed-container:after { content: "";  height: 100%; left: 0; position: fixed; top: 0; width: 100%; }
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; margin: 0; overflow: hidden; width: 100%; max-width: 100%; } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.yt-embed {
    max-width: 150% !important;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
    
    object-fit: cover;
    object-position: center;
    height: 150%;
    width: 150%;
    top: -25%;
    left: -25%;
    
    iframe {
        width: 100%;
        height: 100%;
        transform: scale(1.2);
    }
    
    .yt-embed-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.4);
    }
}

@media screen and (max-width: 992px) {
    .yt-embed { aspect-ratio: none; height: 200% !important; max-width: 200% !important; top: -100%; width: 200%; }
    .yt-embed iframe { width: 200%; height: 200%; }
}

/* Comment Map */
body,
html,
#content,
.container { height: 100%; }
#comment-map { padding: 0 !important; }

#header.commentmap-header { background-image: url("../images/CommentMap_Hero.jpg"); }

#content { height: 100%; padding-top: 82px; position: absolute; top: 0; width: 100%; }
#map-area { height: 100%; overflow-x: hidden; }

#popup-instructions { height: 100%; left: 0; padding-top: 92px; position: absolute; top: 0; width: 100%; z-index: 1; }
#popup-instructions button { background: #000; background: rgba(0,0,0,.5); height: 100%; left: 0; margin: 0; padding: 0;  position: absolute; top: 0; width: 100%; }
#popup-instructions ul { list-style: none; margin: 14px 0; padding: 0; }
#popup-instructions li { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px -2px #222; color: #000; font-weight: 700; line-height: 1.2em; margin-top: 38px; opacity: 0; padding: 8px 14px; position: absolute; text-align: center; width: 210px; }
#popup-instructions li:nth-of-type(1) { right: 248px; }
#popup-instructions li:nth-of-type(2) { right: 18px; }
#popup-instructions li:nth-of-type(3) { left: 24px; }
#popup-instructions li:after { border: 8px solid transparent; border-width: 14px 9px; border-bottom-color: #fff; bottom: 100%; content: ""; left: 50%; position: absolute; transform: translateX(-50%); }
#popup-instructions.animate-in li { margin-top: 8px; opacity: 1; transition: .6s ease-in-out .3s; }
#popup-instructions.animate-in li:nth-of-type(2) { transition: .6s ease-in-out .6s; }
#popup-instructions.animate-in li:nth-of-type(3) { transition: .6s ease-in-out .9s; }

#map { height: 100%; width: 100%; }

#corner-box { display: none; padding: 32px 0 0 32px; position: absolute; top: 92px; z-index: 2; }
#instruction { background: #fff; border: 0; border-width: 0 1px 1px 0; font-size: .85em; height: 0; line-height: 1.3em; opacity: 0; padding: 0; position: relative; transition: .2s, opacity .1s; width: 360px; }
.echolocating #corner-box { display: block; }
.echolocating #instruction { border: 1px solid #000; height: auto; opacity: 1; padding: 10px 14px; transition: height .3s, padding .3s, opacity .2s ease-out .2s; }
.echolocating #instruction p { margin: 0 0 12px; }
#minimize-info { display: none; }

#cancel-add { background: #a00; color: #fff; margin-top: 15px; padding-left: 10px; }
#cancel-add:hover { background: #800; }
#cancel-add:before { content: "\00D7"; display: inline-block; font-size: 2em; font-weight: 700; margin-right: 4px;  vertical-align: middle; }

#map-corner { background: #fc0; margin-bottom: 18px; padding: 14px 18px; width: 480px; }
#map-corner h2 { color: #333; font-size: 1.3em; margin: 0; }
#map-corner p { margin: 8px 0 0; }
.commenting #map-corner { display: none; }

#search-address { display: none; margin-top: 8px; }
#address-search { height: auto; padding: 2px 8px 1px; width: 94%; }

#add-comment { display: none; background: #0a0f3c; border: 0; color: #fff; cursor: pointer; font-size: 1em; font-weight: 700; margin: 0; padding: 44px 14px 8px; position: relative; transition: padding .2s; }
#add-comment:before { background: #fff; content: ""; height: 24px; left: 50%; position: absolute; top: 11px; transform: translateX(-50%); transition: .3s; width: 4px; }
#add-comment:after { background: #fff; content: ""; height: 4px; left: 50%; position: absolute; top: 21px; transform: translateX(-50%); transition: .3s; width: 24px; }
#add-comment:hover { padding-top: 58px; }
#add-comment:hover:before { height: 28px; top: 16px; width: 6px; }
#add-comment:hover:after { height: 6px; top: 27px; width: 28px; }
.echolocating #add-comment { display: block; }

.echolocating #add-comment:before { transform: rotate(35deg); }
.echolocating #add-comment:after { margin-left: -13px; margin-top: 4px; transform: rotate(65deg); width: 14px; }

.commenting #add-comment { background: #7a0f33; color: #fff; }
.commenting #add-comment:before { background: #fff; transform: translateX(-50%) rotate(45deg); }
.commenting #add-comment:after { background: #fff; transform: translateX(-50%) rotate(45deg); }

#form-area { background: #000; background: rgba(0,0,0,.4); display: none; height: 100%; padding-top: 92px; position: absolute; right: -100%; top: 0; transition: right .8s; width: 100%; z-index: 1; }
.commenting #form-area { display: block; }
.come-in #form-area { right: 0; }
#form-area h4 { font-size: 1.2em; font-weight: 700; margin-top: 16px; text-transform: uppercase; }

#form-area > div { background: #F7F7F7; border-radius: 10px; box-shadow: 2px 6px 8px -2px #333; float: right; max-height: 92%; margin: 16px 14px 0; overflow: auto; padding-bottom: 14px; position: relative; right: 0; width: 32%; }
#form-area > div h2 { background: #E5E5E5; border-bottom: 1px solid #2F4F4F; font-size: 1.4em; font-weight: 900; margin: 0 0 8px; padding: 14px 18px; }
#form-area > div > div { padding: 0 18px; }
#form-area > div > div p button { background: transparent; font-weight: 700; margin: 0; padding: 0; text-decoration: underline; }
#form-area > div > div p button:hover { color: #7a0f33; }
#add-close { background: #2E323B; border-radius: 50%; color: #fff; font-size: 2em; font-weight: 700; height: 36px; line-height: 36px; padding: 0; position: absolute; right: 10px; top: 4px; width: 36px; }
#add-close:hover { background: #191b1f; }

#form-area form label { left: -99999px; position: absolute; }
#form-area form label.dont-hide { display: block; position: static; }
#form-area form > div { display: flex; gap: 20px; justify-content: space-between; }
#form-area form > div div { width: 50%; }
#form-area form input { border: 1px solid #2F4F4F; display: block; margin-bottom: 18px; padding: 4px 8px; width: 100%; }
#form-area form select { background: #0a7c70; color: #fff; display: block; margin-bottom: 2px; padding: 4px 8px; width: 100%; }
#form-area form textarea { height: 180px; margin-top: 18px; width: 100%; }
#form-area form button { align-items: center; background: #FBB040; border-radius: 4px; color: #2E323B; display: flex; font-size: 1.2em; font-weight: 700; gap: 9px; margin-top: 28px; padding: 10px 16px; }
#form-area form button img { display: inline-block; vertical-align: middle; }
#form-area form button:hover { align-items: center; background: #8b4513; }
#intro-popup button:hover { background: #8b4513; }

#form-error { color: #a00; font-weight: 700; font-style: italic; }

#map-thanks { background: #fff; border-radius: 8px; box-shadow: 0 4px 8px -2px #333; left: 50%; line-height: 1.5em; padding: 20px 30px; position: absolute; text-align: center; top: -34%; transform: translateX(-50%); transition: top .6s; width: 400px; z-index: 500;}
.thanks #map-thanks { top: 34%; }

.gm-style .gm-style-iw-c { width: 360px; }
.gm-style .gm-style-iw-c h3 { font-size: 1.2em; margin: 0 28px 0 12px; }
.gm-style .gm-style-iw-c ul { list-style: none; margin: 8px 0 0; padding: 0; }
.gm-style .gm-style-iw-c li { line-height: 1.4em; margin: 0 12px 6px; }
.gm-style .gm-style-iw-c .gm-style-iw-chr > button { height: 30px !important; }

.gm-style .gm-style-iw-c .comment-bubble h3 { font-size: 1.4em; }
.gm-style .gm-style-iw-c .comment-bubble .mode-pill { background: #144577; border-radius: 50px; color: #fff; display: inline-block; font-weight: 700; margin: 4px 12px 0; padding: 4px 10px;}
.gm-style .gm-style-iw-c .comment-bubble p { margin: 10px 12px; }

#privacy-disclaimer { display: none; height: 97%; margin-right: 24px; padding-top: 92px; position: absolute; right: 32%; top: 0; width: 32%; z-index: 5; }
#privacy-disclaimer h2 { background: #E5E5E5; border-bottom: 1px solid #2F4F4F; font-size: 1.4em; font-weight: 900; margin: 0 0 14px; padding: 14px 18px; }
#privacy-disclaimer > div { background: #F7F7F7; border-radius: 10px; box-shadow: 2px 6px 8px -2px #333; margin: 16px 2% 0 0; max-height: 95%; overflow-y: auto; position: relative; }
#privacy-disclaimer > div > div { padding-bottom: 14px; }
#privacy-disclaimer > div > div > div { background: #fff; border: 1px solid #2F4F4F; margin: 0 auto; padding: 8px 16px; width: 94%; }
#privacy-disclaimer > div > div > div p { margin: 6px 0; }
#privacy-disclaimer > div > div > div ul { margin: 8px 0; }
#privacy-disclaimer > div > div > div li { margin: 0;  }
#disclaimer-close { background: #2E323B; border-radius: 50%; color: #fff; font-size: 2em; font-weight: 700; height: 36px; line-height: 36px; padding: 0; position: absolute; right: 12px; top: 4px; width: 36px; }
#disclaimer-close:hover { background: #191b1f; }

.show-disclaimer #privacy-disclaimer { display: block; }

/* Map Layers */
#map-layers { display: none; height: 100%; opacity: 0; padding-top: 92px; position: absolute; top: 0; width: 100%; z-index: 1; }
#map-layers > button { background: #000; background: rgba(0,0,0,.46); height: 100%; left: 0; margin: 0; padding: 0; position: absolute; top: 0; width: 100%; }
#map-layers > div { background: #F7F7F7; border-radius: 10px; box-shadow: 2px 6px 8px -2px #333; left: -40%; max-height: 92%; margin: 1% 14px 0; overflow: auto; padding-bottom: 14px; position: relative; width: 356px; }
#map-layers h2 { background: #E5E5E5; border-bottom: 1px solid #2F4F4F; font-size: 1.4em; font-weight: 900; margin: 0 0 8px; padding: 14px 18px; }
#layers-close { background: #2E323B; border-radius: 50%; color: #fff; font-size: 2em; font-weight: 700; height: 36px; line-height: 36px; padding: 0; position: absolute; right: 10px; top: 4px; width: 36px; }
#layers-close:hover { background: #191b1f; }

#map-layers.on { display: block; }
#map-layers.animate { opacity: 1; transition: opacity .6s; }
#map-layers.animate > div { left: 0; transition: left .6s ease-in-out .1s; }

#projects-launched { background: #fff; border-radius: 10px; box-shadow: 0 3px 8px -2px #000; font-weight: 700; left: 451px; line-height: 1.3em; opacity: 0; padding: 8px 14px; position: absolute; text-align: center; top: 234px; width: 200px; }
#projects-launched:before { border: 12px solid transparent; border-width: 10px 16px; border-right-color: #fff; content: ""; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); }
#map-layers.animate #projects-launched { left: 398px; opacity: 1; transition: .9s ease-in-out .4s; }

.switch { -webkit-user-select: none; -ms-user-select: none; user-select: none; }
.switch { align-items: center; background: transparent; display: flex; gap: 10px; line-height: 1.2em; padding: 5px 36px 5px 14px; position: relative; text-align: left; width: 100%; }
.switch:hover { background: transparent; }
.switch:after { border: 2px solid #2F4F4F; border-radius: 6px; content: ""; height: 24px; position: absolute; right: 0; transition: background .2s; width: 24px; }
.switch:hover:after { background: #adedf3; }
.switch.activated:after { background: #168e97; }
.switch.activated:hover:after { background: #0c767e; }

.select-all { background-color: transparent; background-image: url("../images/Icons/arrow.png"); background-size: auto 28px; background-repeat: no-repeat; background-position: center; height: 34px; margin-bottom: 13px; padding: 0; position: absolute; right: 14px; top: 0; width: 36px; }
.select-all:hover { background-color: transparent; background-image: url("../images/Icons/arrow.png"); background-size: auto 100%; background-repeat: no-repeat; background-position: center; }
.select-all span { background: #fff; border: 1px solid #000; border-radius: 8px; box-shadow: 2px 3px 8px -2px #666; color: #000; font-size: .9em; font-weight: 700; margin-right: 14px; opacity: .2; padding: 6px 6px 4px; position: absolute; right: 99999px; top: 50%; transform: translateY(-50%); width: 200px;}
.select-all:hover span { opacity: 1; right: 100%; transition: right 0s, opacity .4s; }
.select-all span:before,
.select-all span:after { border: 18px solid transparent; border-width: 8px 14px; border-left-color: #000; content: ""; left: 100%; position: absolute; top: 50%; transform: translateY(-50%); }
.select-all span:after { border-width: 7px 13px; border-left-color: #fff;  }
.select-all.all-selected { background-image: url("../images/Icons/arrow-selected.png"); }

/* Accordions */
.hdr-accordion { position: relative; }
.hdr-accordion h3 { font-size: 1.1em; margin: 0; position: relative; }
.hdr-accordion-header span { border: 2px solid #fff; border-radius: 50%; height: 30px; left: 9px; position: absolute; top: 50%; transform: translateY(-50%); width: 30px; }
.hdr-accordion-header { background: transparent; color: #144577; cursor: pointer; font-weight: 700; margin: 0; padding: 12px 14px; position: relative; text-align: left; width: 100%; }
.hdr-accordion-set.has-js .hdr-accordion-header:hover,
.hdr-accordion-set.has-js .hdr-accordion-header:focus { background: transparent; color: #072849; }
.hdr-accordion-set.has-js .hdr-accordion-header { padding-left: 44px; }
.hdr-accordion-set.has-js .hdr-accordion-header:after { border: 3px solid #144577; border-width: 0 3px 3px 0; content: ""; height: 12px; left: 18px; position: absolute; top: 50%; transform: rotate(45deg) translateX(-50%) translateY(-50%); transition: .8s; width: 12px; }
.hdr-accordion-set.has-js .opened .hdr-accordion-header:after { left: 24px; transform: translateX(-50%) translateY(-40%) rotate(-135deg); }
.hdr-accordion > div { padding: 0 20px 0 28px; position: relative; }

/************ Responsive ****************************************************************************************/

@media screen and (min-width: 2030px) {
    html,body { font-size: 19px; }
    p { line-height: 1.8em; margin: 32px 0; }
}

@media screen and (max-width: 1240px) {
    #welcome-popup { width: 60%; }
    #intro-popup #welcome-popup:before { height: 110px; left: -42px; top: -70px; width: 135px; }
    #intro-popup.animated #welcome-popup:before { top: -58px; }
    #intro-popup #welcome-popup:after { bottom: -38px; height: 80px; right: -58px; width: 95px; }
    #intro-popup.animated #welcome-popup:after { right: -38px; }

    #form-area > div { width: 50%; }
    #privacy-disclaimer { right: 50%; width: 40%; }
    
    #add-comment { font-size: .85em; }
    #instruction { font-size: .8em; }
    .echolocating #instruction p { line-height: 1.4em; margin: 0 0 10px; }
}

@media screen and (max-width: 992px) {
    h1 { font-size: 1.2em; }
    h2 { font-size: 1.8em; margin: 16px 0; }
    h3 { font-size: 1.6em; margin: 24px 0 0; }
    h4 { font-size: 1.4em; margin: 24px 0 0; }
    h5 { font-size: 1.2em; margin: 24px 0 0; }
    h6 { font-size: 1.1em; margin: 24px 0 0; }
    p, li { font-size: .9em; line-height: 1.6em; }
    button { font-size: .9em; padding: 4px 10px; }

    /* Header */
    header { padding-right: 20px;  }
    header nav ul li { font-size: .9em; margin-left: 12px; }
    header nav ul li img { height: 42px; }
    #popup-instructions li { font-size: .9em; width: 160px; }
    #popup-instructions li:nth-of-type(1) { right: 196px; }

    #welcome-popup > div { padding: 20px 24px; }
    #welcome-popup > div > img { height: 94px; }
    #intro-popup button { font-size: 1em; }
    
    #instruction { font-size: .75em; width: 280px; }
    #map-thanks { font-size: .9em; padding: 8px 14px; width: 80%; }
    #address-search { font-size: .85em; }
    .thanks #map-thanks { top: 210px; }
    #map-form { font-size: .9em; }
    #map-form select { font-size: .9em; }
    #map-form input[type="submit"] { font-size: .9em; }

    #form-area > div { width: 93%; }
    #form-area > div h2 { font-size: 1em; }
    #add-close { font-size: 1.4em; height: 28px; line-height: 28px; width: 28px; }
    #form-area form input,
    #form-area form select,
    #form-area form textarea { font-size: .8em; }
    #form-area form button { font-size: .8em; }
    
    #privacy-disclaimer { height: 100%; margin: -8px 0 0; right: 0%; width: 100%; }
    #privacy-disclaimer h2 { font-size: 1em; }
    #privacy-disclaimer > div { height: 100%; }
    #disclaimer-close { font-size: 1.4em; height: 28px; line-height: 28px; width: 28px; }

    #corner-box { padding: 8px 0 0 8px; }
    .echolocating #instruction { font-size: .85em; padding: 8px 10px; }
    .echolocating #instruction p { line-height: 1.4em; margin: 0 0 8px; }
}

@media screen and (max-width: 768px) {
    #welcome-popup { font-size: .9em; width: 80%; }
    #welcome-popup p { margin: 14px 0; }
    #intro-popup #welcome-popup:before { height: 80px; left: -30px; top: -54px; width: 115px; }
    #intro-popup.animated #welcome-popup:before { top: -36px; }
    #intro-popup #welcome-popup:after { bottom: -25px; height: 60px; right: -50px; width: 65px; }
    #intro-popup.animated #welcome-popup:after { right: -24px; }
    
    .gm-style .gm-style-iw-c { width: 240px; }
    .gm-style .gm-style-iw-c h3 { font-size: 1.05em; margin: 0 28px 0 5px; }
    .gm-style .gm-style-iw-c ul { margin: 6px 0 0; }
    .gm-style .gm-style-iw-c li { line-height: 1.4em; margin: 0 5px 3px; }

    header { padding: 8px 16px 10px 10px; }
    header img[src*="Logos"] { height: 50px; }
    header nav ul li { font-size: .8em; margin-left: 0; }
    header nav ul li img { height: 32px; }
    #popup-instructions li { font-size: .75em; width: 130px; }
    #popup-instructions li:nth-of-type(1) { right: 156px; }
    #popup-instructions li:nth-of-type(2) { right: 12px; }
    #popup-instructions li:nth-of-type(3) { left: 12px; }
    #popup-instructions ul { margin-top: 12px; }

    #map-layers h2 { font-size: 1em; }
    #map-layers > div { width: 90%; }
    #layers-close { font-size: 1.4em; height: 24px; line-height: 24px; top: 6px; width: 24px; }
    .hdr-accordion h3 { font-size: .9em; }
    .hdr-accordion-header { padding-right: 50px; }
    .hdr-accordion-set.has-js .hdr-accordion-header:after { left: 12px; }
    .hdr-accordion-set.has-js .opened .hdr-accordion-header:after { left: 18px; }  
    .hdr-accordion-set.has-js .hdr-accordion-header { padding-left: 32px; }

    #projects-launched { display: none; }
}

@media screen and (max-width: 540px) {
    header { display: block; padding: 9px 12px 0; text-align: center; }
    header img[src*="Logos"] { height: 44px; }
    header nav ul li { font-size: .8em; margin-left: 0; }
    header nav ul li img { height: 32px; }
    header nav li button { margin: 9px 0 6px; padding: 0 9px 0 3px; }
    #popup-instructions li { font-size: .75em; width: 46%; }
    #popup-instructions li:nth-of-type(1) { left: 3%; right: auto; }
    #popup-instructions li:nth-of-type(1):after { left: 75%; }
    #popup-instructions li:nth-of-type(2) { right: 3%; }
    #popup-instructions li:nth-of-type(2):after { left: 25%; }
    #popup-instructions li:nth-of-type(3) { display: None; }
    #popup-instructions ul { margin-top: 12px; }

    #map-layers > div { margin-top: 12px; }
    .select-all { background-size: auto 20px !important; right: 8px; width: 24px; }
    .switch { font-size: .8em; }
    .switch img { height: 24px;  }
    .switch:after { height: 18px; width: 18px; }
    .hdr-accordion > div { padding: 0 10px 0 8px; }
        
    .echolocating #instruction { padding: 0; width: 90%; }

    #minimize-info { background: #0a0f3c; color: #fff; display: block; font-weight: 700; margin: 0; padding: 8px 14px 6px; position: relative; text-align: left; width: 100%; }
    #minimize-info:hover { background: #030622; }
    #minimize-info:after { border: 2px solid #fff; border-width: 0 0 2px 2px; content: ""; height: 10px; position: absolute; right: 12px; transform: rotate(-45deg); transition: .3s; width: 10px; }
    #minimize-info.minimized:after { top: 13px; transform: rotate(-225deg); }
    .echolocating #instruction p { margin: 8px 14px; }
    .echolocating #instruction input { margin: 0 14px; }
    #cancel-add { margin: 12px 0 12px 14px; }
}

@media screen and (min-width: 768px) and (max-height: 740px) {
    #welcome-popup { width: 60%; }
}
@media screen and (max-height: 590px) {
    #welcome-popup > div > img { height: 94px; }
    #welcome-popup { font-size: .9em; left: 5%; width: 80%; }
    #intro-popup #welcome-popup:before { height: 80px; left: -30px; top: -54px; width: 115px; }
    #intro-popup.animated #welcome-popup:before { top: -36px; }
    #intro-popup #welcome-popup:after { bottom: -25px; height: 60px; right: -50px; width: 65px; }
    #intro-popup.animated #welcome-popup:after { right: -24px; }
}