/* html, body, #map {
    height: 100vh;
    padding: 0;
    margin: 0;
}
body {
    display: flex;
    overflow:hidden;
} 
#map { 
    height: 100vh;
    flex-grow: 1; 
} */
.sidepanel {
    width: 300px;
    max-width:400px;
    height: 100vh;
    position:relative;
    border-left:1px solid #bba;
    overflow:hidden;
    
}

#sidebar {
    overflow:hidden;
}

#collapsebtn {
    height:40px;
    width:40px;
    position:absolute;
    z-index:30;
    top:0;
    left:240px;
    background-color:white;
    border:1px solid gray;
    background-image: url(collapseright_45855_cc.png);
    background-size:40px;
    cursor:pointer;
    transition:transform 0.5s; /* mmm cheese */
}

.collapsed #collapsebtn {
    transform:rotate(180deg);
    display:block !important;
}


.sidepanel.collapsed {
    width: 0;
    flex-grow:initial;
}

.collapsed * {
    display:none;
}


.backgroundtext {
    position: absolute;
    height:100vh;
    color: #C9C4A5;
    font-family:lobster;
    z-index:-10;
    opacity:0.5;
    overflow: hidden;
    filter:blur(0.5px)

}


@font-face {
    font-family: 'corkiregular';
    src: url('fonts/corki-regular-webfont.eot');
    src: url('fonts/corki-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/corki-regular-webfont.woff') format('woff'),
         url('fonts/corki-regular-webfont.ttf') format('truetype'),
         url('fonts/corki-regular-webfont.svg#corkiregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'duke_regularregular';
    src: url('fonts/duke-webfont.eot');
    src: url('fonts/duke-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/duke-webfont.woff') format('woff'),
         url('fonts/duke-webfont.ttf') format('truetype'),
         url('fonts/duke-webfont.svg#duke_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* Typography */
body{font-family: Helvetica, Arial; font-weight: regular; font-size: 15px; color: #64605A; background-color: #FFF; margin: 0;}

h1 { 
    font-family: 'Lobster', cursive; 
    /*corkiregular;LimeLight; */
    font-size:40px;/*50px;*/
    background: url(hr.png) center bottom no-repeat;
    padding-bottom: 50px;
    text-align: center;
}

.footer{border-top: 1px solid #ddd; margin-top: 30px;}
.titleBlock{text-align: right;}
.fronttext {
    position:relative;
    z-index:10;

}

@media only screen and (max-width: 480px) {
    h1 {
        font-size:20px;
    }
    .fronttext p {
        margin: 8px;
        font-size:12px;
        line-height:18px !important;
    }
    .sidepanel {
        width:150px;
    };
}

.witty { 
    margin-bottom: 10em; 
}

.witty p {
    font-family: corkiregular;
    font-size: 20px; 
    margin: 1em;
    line-height:30px !important;
}


.credits {
    position:absolute;
    bottom:2em;
    right:0;
    z-index:1;
    width:95%;
    font-size: 10px; 
}

.mapboxgl-popup-content {
    background: #fffff5 !important;
    box-shadow: 1px 1px 2px 2px #998 !important;
    max-width:450px !important;
}

.mapboxgl-popup-content div {
    border: 1px solid grey;
    margin:0.5em;
    padding:1em;
}

.mapboxgl-popup-content h2 {
    font-family: Lobster, cursive;
    text-align: center;
    
}
.mapboxgl-popup-content p {
    font-family: corkiregular, serif;
    font-size: 20px; 
    margin: 1em 2em;
    line-height:30px !important;
}


.mapboxgl-popup-close-button {
    display:none;
}  

.mapboxgl-popup-content .url {
    text-align:center;

}
.mapboxgl-popup-content .url a {
    font-size: 16px;
    color:hsl(0,0%,60%);
}


@media only screen and (max-width: 480px) {
    .mapboxgl-popup-content {
        max-width: 250px;
    }
    .mapboxgl-popup-content div {
        border: 1px solid grey;
        /*margin:0.25em;*/
        padding:0em;
    }
    .mapboxgl-popup-content p {
        margin: 0.5em 0.5em;
    }
}

@media only screen and (max-width: 480px) {
    #sidebar {
        display: none;
    }
}
