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

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
}

a#locate-button:before, #filter-button:before, 
#filters div label.on:before, #toggle-map-button, .extentControl.leaflet-control:before,
.back-button:before{
    font-family: 'icomoon';
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
a{
    color: black;
}
html, body {
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    position: relative;
}

#map {
    top:0; 
    bottom:0; 
    width:100%; 
}

h1 { 
    margin-top: 0; 
    font-weight: normal;
}

img {
    margin: 20px 0;
}

select { 
    width: 100%; 
    margin-bottom: 1.5em; 
    font-size: 1em;
}

label { 
    display: inline-block;
    margin-bottom: .5em; 
}

#site-title img {
    margin: 0;
}

/* header {
    width: 100%;
    height: 59px;
    display: block;
    position: relative;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    left: 0;
    z-index: 1020;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(90deg, rgba(255, 194, 0, 0.6), rgba(190, 183, 0, 0.35));
} */

/*
    padding: 0.375em 0;
    background-color: #8cbcd8;
    color: #fff;
    margin: 0;
    font-size: 24px;
    line-height: 36px;
    text-shadow: 0.5px 0.5px 2px black;
    text-align: center;
*/
.screen-reader-text {
    display: none;
}

#marker-count, #all-button {
}

div[role="main"] {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.button {
    color: #fff;
    background-color: #8cbcd8;
    padding: 12px;
    font-size: 16px;
    line-height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 3px;
}

a.button{
    background-color: #3d3d3d;
    color: #fff;
    padding: 0.75em;
    border-radius: 3px;
    border-radius: 3px;
    border-radius: 3px;
}


#marker-count { 
}

#all-button { right: 60px; }

#filters h1 {
    margin-top: 0;
    font-weight: normal;
    background-color: #edc86a;
    color: #3d5a80;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100%;
}

#info-panel h1 {
    color: white;
    margin: 0;
    padding: 15px;
    padding-top: 20px;
    font-weight: 600;
    text-align: center;
    z-index: 4000;
    font-size: 2rem;
    margin: auto;
    text-shadow: 0.5px 0.5px 2px black;
}

a#toggle-map-button:before { content: "\e00f"; }

a#locate-button:before { 
    content: "\e012";
    width: 100%;
    height: 100%;
    display: block;
    padding: 7px;
    border-radius: 7px;
}

a#locate-button.loading:before { 
    content: url(loading-gif.gif);
    transform: scale(0.1) translateY(-300%) translateX(-300%);
}

a#locate-button, a#locate-button.loading {
    position: absolute;
    height: 35px;
    width: 35px;
    bottom: 11px;
    z-index: 100000;
    text-decoration: none;
    color: black;
    background-color: white;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    font-size: 20px;
    line-height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 4px;
    overflow: hidden;
}

a#locate-button {
    left: 10px;  
}

.touch a#locate-button {
    border-radius: 10px;
    border: 4px solid rgba(0,0,0,.3) !important;
}

.touch a#locate-button.disabled:before {
    background-color: rgba(255,255,255.8);
}

.map-title{
    display: flex;
    padding: 0.05em 0;
    background-color: #8cbcd8;
    color: #fff;
    font-size: 24px;
    line-height: 36px;
    text-shadow: 0.5px 0.5px 2px black;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    height: 3em;
}

.map-title #marker-count {
    margin: 0;
    padding: 0;
    flex: 1;
    text-align: center;
}

.map-title #filter-button {
    flex: 0;
    text-align: right;
}

#filter-button:before { content: "\e013"; }

#filter-button.on:before, a.back-button:before { content: "\e00d"; }

#filter-button,
#toggle-map-button {
    position: absolute;
    top: 0;
    font-size: 24px;
    height: 3em;
    line-height: 2.25em;
    padding: 10px;
    color: #fff;
    border-left: 1px solid rgba(255,255,255,.15);
    cursor: pointer;
}

#filter-button {
    right: 0;
}

.tour-filter{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 0.5rem 0;
}

.tour-filter #tour-confirm-button {
    background-color: #8cbcd8;
    color: #fff;
    padding: 10px;
    margin-right: 1.3rem;
    border-radius: 3px;
}

#toggle-map-button {
    right: 45px;
    opacity: .25;
    border-left: 1px solid rgba(255,255,255,.65);
}

#toggle-map-button.on {
    opacity: 1;
    border-left: 1px solid rgba(255,255,255,.15);
}

#info-panel .back-button {
    display: block;
    padding: .5em 10px;
    z-index: 1010;
    color: white;
    text-shadow: 0.5px 0.5px 2px black;

}

#info-panel .back-button:hover {
    color: #edc86a;
}

.panel-title a {
    display: block;
    margin: 25px;
    width: 40px;
    height: 40px;
    /* display: block;
    margin: 25px;
    width: 40px;
    height: 40px;
    border-top: 5px solid white;
    border-left: 5px solid white;
    filter: drop-shadow(2px 2px 2px black); */
}

#info-panel .next-button:before {
    content: "\203A";
    font-size: 7rem;
    color: white;
    filter: drop-shadow(2px 2px 2px black);
}

#info-panel .prev-button:before {
    content: "\2039";
    font-size: 7rem;
    color: white;
    filter: drop-shadow(2px 2px 2px black);
}

#info-panel .prev-button.off:before,
#info-panel .next-button.off:before {
    content: "";
}

#info-panel .prev-button.off,
#info-panel .next-button.off {
    cursor: default;
}

#tour-type-div p{
    margin: 0;
    font-size: 20px;
}

#filters {
    position: absolute;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    background-size: cover;
    width: 100%;
    z-index: 1001;
    padding: 10px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
}

#filters div label {
    background-color: rgba(219, 108, 54, 0.15);
    border-radius: 3px;
    cursor: pointer;
    vertical-align: middle;
    line-height: 40px;
    width: 100%;
    color: #DF582D;
    position: relative;
    font-weight: 550;
    letter-spacing: 0.5px;
}

#filters div label.on {
    background-color: rgba(33, 201, 0, 0.15) !important;
    color: #36A036 !important;
}

#filters div label:before {
    content: "";
    background-color: #DB6C36;
    color: #FFF;
    height: 40px;
    display: block;
    float: left;
    vertical-align: middle;
    line-height: 40px !important;
    width: 40px;
    text-align: center;
    border-radius: 3px 0 0 3px;
    margin-right: .5em;
}

#filters div label.on:before {
    content: "\ea10";
    background-color: rgba(33, 201, 0, 1) !important;
}

#filters div input[type=checkbox] {
    margin: 0 2em 0 -2em;
    display: none;
}

.disabled {
    background-color: rgba(0, 0, 0, 0) !important;
    color: #C7C7C7 !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    border-radius: 10px !important;
    box-sizing: content-box !important;
}
#info-panel-container {
    width: 100%;
    border: 48px solid transparent;
    background: rgba(0,0,0,.5);
    z-index: 2000;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

#info-panel{
    position: absolute;
    width: 800px;
    height: 600px;
    max-width: 100%;
    max-height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
    z-index: inherit;
}

#info-panel-content {
    display: flex;
    width: 100%;
    height: 100%;
    color: #222;
    font-size: 16px;
    overflow: hidden;
    background: url('../images/bg.jpg') no-repeat top right;
    background-size: cover;
}

#info-panel p {
    width: 100%;
    line-height: 1.5;
    white-space: pre-line;
    word-break: break-word;
}

.info-content{
    display: flex;
    width: 100%;
    height: 100%;
    color: #222;
    overflow: hidden;
}

.popupButton{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.5rem;
    gap: 20px;
}

@media screen and (max-width: 958px) {
    .tour-filter #tour-confirm-button {
        margin: 0;
    }
}

@media screen and (max-width: 640px) {
    .map-title{
        padding: 0.375em 2.85714%;
        height: 2.25em;
    }

    .map-title #marker-count{
        flex: 0 1 auto;
    }

    .map-title #filter-button{
        height: 2.25em;
        padding: 0 10px;
    }

    .info-content {
        flex-direction: column;
    }
    #info-panel{
        height: 840px;
    }
    #info-panel-container{
        border-left-width: 16px;
        border-right-width: 16px;
        border-bottom-width: 16px;
    }
    #info-panel h1{
        font-size: 1.5rem;
        padding: 0;
        line-height: 40px;
    }
    .info-content .image-container{
        height: 25%;
    }
    h2.info-panel-title{
        font-size: 1rem;
    }
    .panel-title{
        justify-content: center;
        padding: 5px 0;
    }
    .panel-title a{
        width: 25px;
        height: 25px;
    }
    #info-panel .next-button:before{
        font-size: 5rem;
    }
    #info-panel .prev-button:before{
        font-size: 5rem;
    }
}

.info-content .image-container{
    flex: 1 1;
    position: relative;
    margin: 0;
}

.info-content .image-container img{
    position: static;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    margin: 0;
}
.info-content .content-container{
    flex: 1 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.info-content .content-container .article{
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 32px;
    padding-bottom: 20px;
}
h2.info-panel-title{
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.33;
    margin: 12px 0;
    margin-top: 1.45rem;
}
h2.credits{
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.33;
    margin: 0;
}
.panel-title{
    display: flex;
    justify-content: space-between;
    background-color: #8cbcd8;
}

/* Leaflet Overrides */

.extentControl{
    background : url(sphere.svg) no-repeat 50% 50%;
    background-size: 20px 20px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    border-radius: 4px;
    cursor: pointer !important;
    background-color: #fff;
}

.extentControl-disabled{
    background-color: #f4f4f4;
    color: #bbb;
    cursor: default !important;
}

.leaflet-container {
    font-family : "Raleway", sans-serif !important;
}

.leaflet-tile-pane {
    margin-top: -15px;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    border-radius: 0;
}

.leaflet-control-zoom a:link {
    color: #3d5a80;
}

.leaflet-control-zoom a{
    color: black !important;
}

.leaflet-bar a.leaflet-disabled{
    color: #bbb !important;
}

.leaflet-container a.leaflet-popup-close-button {
    position: absolute;
    top: -6px !important;
    right: -10px !important;
    padding: 1px 2px !important;
    width: 20px !important;
    height: 20px !important;
    color: #FFF !important;
    background: #DB6C36 !important;
    border-radius: 20px;
    border: 1px solid #F89361;
    font-weight: normal !important;
}

.leaflet-popup-content {
    text-align: center;
    margin: 10px !important;
}

.leaflet-popup-content h3 {
    font-weight: normal;
    margin-bottom: 0;
}

.leaflet-popup-content img {
    margin: 10px auto;
}

.open-info-panel.button {
    width: 100%;
    display: block;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    padding: 10px;
}

/* Tooltip styles */

#first-time {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

#first-time .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.75);
}

#first-time .tooltip {
    background-color: #fff;
    position: absolute;
    max-width: 50%;
    right: 20px;
    top: 1.5em;
    padding: 0 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#first-time .tooltip:before {
    content: "";
    width: 10px;
    height: 20px;
    position: absolute;
    top: -10px;
    right: 0;
    border-right: 10px solid #FFF;
    border-top: 10px solid rgba(0, 0, 0, 0);
}

#first-time .tooltip-locate {
    background-color: #fff;
    position: absolute;
    max-width: 50%;
    right: 592px;
    bottom: 8rem;
    padding: 0 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#first-time .tooltip-locate:before {
    content: "";
    width: 10px;
    height: 20px;
    position: absolute;
    top: 100px;
    left: 0;
    transform: rotate(180deg);
    border-right: 10px solid #FFF;
    border-top: 10px solid rgba(0, 0, 0, 0);
}

#first-time button {
    border: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0;
    margin-bottom: 1.5em;
}

.number-icon {
    background-image: url("marker-icon.png");
    text-align:center;
    color:White;    
    font-size: 20px;
}

@media screen and (max-width: 640px) {

    #first-time .tooltip {
        max-width: 90%;
        right: 5%;
    }

    #first-time .tooltip-locate {
        max-width: 90%;
        right: 5%;
        /* top: 70%; */
    }

    #first-time .tooltip-locate::before {
        top: 124px;
    }

    #map {
        height: calc(100vh - 54px - 75px) !important;
    }
}

@media screen and (min-width: 60em) {
    #filters {
        height: auto;
    }

    .map #map {
        min-height: 60em;
    }
}