html{
    background-color: #e4e4e4;
    color:#000;
    margin:0;
    padding:0;
}

body{
    height: 100%;
    min-height:100vh;
display: flex;
display: -webkit-flex;
display: -ms-flexbox;
flex-direction: column;
font-family: 'Roboto';
margin:0;
padding:0;
}

.contentWrapper {
    display:flex;
    display:-webkit-flex;
    display:-ms-flexbox;
    flex-direction: column;
    height:100%;
    min-height: 100vh;
}

#map { width:100%; height:100%; margin:0; padding:0; z-index: 1; background: #000000; position:absolute !important; }

h1{
    font-size:48px;
    margin:10px 0;
    text-transform: uppercase;
}

h2{
    font-size:26px;
    margin:10px;
    text-transform: uppercase;
}

h3{
    color:#6b502e;
    font-size: 22px;
    text-transform: uppercase;
}

h4{
    text-transform: uppercase;
}

#header{
    color:#000;
    text-align: center;
    /*font-family: 'Gravitas One';*/
    /*font-family: 'Ultra';*/
    /*font-family: 'Stint Ultra Condensed';*/
    /*font-family: 'Roboto Slab', serif;*/
    font-family: "Carme";
    font-family: "Comfortaa";
    letter-spacing: 5px;
    padding:10px;
    /*background-image: url(../images/headerBackground.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;*/
}

#pageContents{
    position: relative;
    height:100%;
    color:#000;
    text-align: center;
    flex: 1 1 auto;
}

#pageContents #detailContainer a{
    color: #425e81;
}

#overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    z-index: 3000;
    display: none;
}

#detailContainerWrapper{
    max-width:1200px;
    width:90%;
    height:90%;
    background-color:#fff;
    widows: 90%;
    position: absolute;
    right:0;
    left:0;
    margin:auto;
}

#detailContainerWrapper .close{
    position: absolute;
    top:7px;
    left:7px;
    padding:5px;
    font-size: 18px;
    cursor: pointer;
    color:#000;
}

#detailContainer{
    overflow-y: scroll;
    height:100%;
    padding:15px 30px;
    background-color:#ffffff;
    border:5px solid #42697f;
    text-align: left;

}

#detailContainer h1{
    font-size:22px;
    font-family: 'Roboto Slab';
    color: #26364b;
}

#detailContainer h4{
    font-size:16px;
    font-family: 'Roboto Slab';
    color: #26364b;
}

#detailContainer .mainThumb{
    float:right;
    margin-left:15px;
    margin-bottom:15px;
    max-width:100%;
}

#detailContainer img{
    max-width:100%;
}

.relatedImages{
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;

}

.relatedImage{
    display:flex;
    display: -webkit-flex;
    flex-direction: column;
    padding:10px .5%;
    text-align: center;
    width:32%;
}

.relatedImage .caption{
    margin-top:10px;
    font-size: 14px;
}

#sidebar .categories{
    margin: 0;
    padding: 0;
}

#sidebar .categories li{
    list-style-type: none;
    text-align: left;
    padding:5px 10px;
    font-size: 16px;
}

#sidebar .categories li:hover{
    background-color:#ccc;
}

#sidebar .categories li.active{
    background-color:#314a68;
    color:#fff;
}

#categories2018{
    display:none;
}

/*Position minimap*/
.leaflet-bottom.leaflet-left{
    width:100%;
}

.leaflet-control-minimap{
    position: absolute !important;
    bottom:0;
    left:0;
    right:0;
    margin:auto !important;
}

@media screen and (max-width:1530px){
    .leaflet-control-minimap{
        width:1000px !important;
    }
}

@media screen and (max-width:1125px){

    h1{
        font-size:42px;
    }

    h2{
        font-size: 22px;
    }

    .leaflet-control-minimap{
        width:800px !important;
    }
}

@media screen and (max-width:930px){
    body{
        font-size:12px;

    }

    h1{
        font-size:32px;
    }

    h2{
        font-size: 16px;
    }

    .leaflet-control-minimap{
        width:400px !important;
    }

    #header{
        letter-spacing: 3px;
    }

    #detailContainer h1{
        font-size:20px;
    }
}

@media screen and (max-width:750px){
    h1{
        font-size:24px;
    }

    h2{
        font-size: 14px;
    }

    #detailContainer h1{
        font-size:16px;
    }

    .relatedImage{
        width:48%;
        padding:10px 1%;
    }

    .relatedImage .caption{
        font-size:12px;
    }

}

@media screen and (max-width:550px){
    #detailContainer .mainThumb{
        width:100%;
    }
}


@media screen and (max-width:500px){
    .leaflet-control-minimap{
        width:200px !important;
    }

    .relatedImage{
        width:100%;
        padding:10px 0;
    }

}

/*Styling the controls*/
/*.leaflet-bar a, .leaflet-control-pan a, .sidebar-tabs, .leaflet-control-minimap a{
    background-color:#cac7ac;
}

.leaflet-bar a.leaflet-disabled, .leaflet-bar a.leaflet-disabled:hover{
    background-color: #e0ddbf;
    color:#99997d !important;
}

.leaflet-bar a:hover, .leaflet-control-pan a:hover, .leaflet-control-minimap a:hover, .sidebar-tabs > li:hover, .sidebar-tabs > ul > li:hover{
    background-color:#b3b096;
}

.leaflet-control-minimap{
    border-color:#cac7ac;
}

.sidebar-tabs > li.active, .sidebar-tabs > ul > li.active{
    background-color: #b3b096;
}*/

#pageContents .sidebar-tabs a{
    color: #000;
}

.sidebar-tabs > li.active, .sidebar-tabs > ul > li.active{
    background-color:#26364b;
}

#pageContent .sidebar-tabs > li.active a, #pageContents .sidebar-tabs > ul > li.active a{
    color:#fff;
}

.sidebar-header{
    background-color:#fff;
    border-bottom:1px solid #26364b;
    color:#26364b;
    font-family: 'Carme';
    font-family: "Comfortaa";
}

.sidebar-content{
    background-color:#fff;
}

.leaflet-top{
    width:100%;
}



/*Footer*/
#footer{
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    padding:10px;
    /*background-image: url(../images/footerBackground.png);
    background-position: center;
    background-size: cover;*/
}

/*additional styling used for image lightbox*/

#cboxOverlay{
    background-color:rgba(0,0,0, .7);
}

#cboxContent{
    background: none;
}

#cboxClose{
    top:0;
    left:0;
    bottom:inherit;
    right:inherit;
    background:none;
    text-indent: 0;
    font-size:20px;
    background-color:#fff;
    width:auto;
    height:auto;
    padding:3px;
}

#cboxClose:before{
    content: '\f00d';
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    line-height: 25px;
    width: 25px;
    text-align: center;
    height:25px
}

/*Styles for kiosk*/
.kiosk .relatedLinks{
    display: none;
}

.kiosk.sidebar.collapsed{
    width:44px;
}

.kiosk .sidebar-pane a{
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

.kiosk .sidebar-pane a:after{
    content:" (" attr(href) ") ";
}

.kiosk .sidebar-tabs > li, .kiosk .sidebar-tabs > ul > li{
    font-size:16pt;
    height:44px;
}

.kiosk .sidebar-tabs, .kiosk .sidebar-tabs > ul{
    width:44px
}

.kiosk .sidebar-tabs > li > a,.kiosk .sidebar-tabs > ul > li > a{
    line-height: 44px;
}

.kiosk .sidebar-right .sidebar-content{
    right:44px;
}

.kiosk .sidebar-right .sidebar-header{
    padding-left:44px;
}

.kiosk .sidebar-header{
    height: 44px;
}

.kiosk .sidebar-close{
    width:44px;
    height:44px;
}

.kiosk .sidebar-close .fa{
    font-size: 20pt;
    vertical-align:text-bottom;
}

.kiosk .leaflet-touch .leaflet-bar a{
    width:44px;
    height:44px;
    line-height: 44px;
}

.kiosk .leaflet-touch .leaflet-control-zoom-in, .kiosk .leaflet-touch .leaflet-control-zoom-out{
    font-size:24px;
}

.kiosk .leaflet-touch .leaflet-control-pan a{
    width:44px;
    height:44px;
}

.kiosk .leaflet-touch .leaflet-control-pan-left-wrap {
    top: 54px;
}

.kiosk .leaflet-touch .leaflet-control-pan-right-wrap {
    top: 54px;
}

.kiosk .leaflet-touch .leaflet-control-pan-down-wrap{
    top:108px;
}