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

body {
    color: #404040;
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
}

a {
    color: #404040;
    text-decoration: none;
}

a:hover {
    color: #101010;
}

/* The page is split between map and sidebar - the sidebar gets 1/3, map
gets 2/3 of the page. You can adjust this to your personal liking. */
.sidebar {
    position: absolute;
    /*    width: 33.3333%;
        height: 100%;*/
    top: 0;
    left: 0;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.map {
    position: absolute;
    /*    left: 33.3333%;
        width: 66.6666%;*/
    top: 0;
    bottom: 0;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .sidebar-opened {
        width: 66.6666%;
        height: 100%;
    }

    .sidebar-closed {
        width: 0;
    }

    .map-sidebar-opened {
        left: 66.6666%;
        width: 33.3333%;
    }

    .map-sidebar-closed {
        left: 0;
        width: 100%;
    }

    .mapboxgl-popup-content {
        font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
        padding: 0;
        width: calc(100vw - 20px);

        /*    transform: none !important;*/
        /*    position: absolute;
            top: 0px !important;
            left: 0px !important;*/
    }

    .image-in-popup-width {
        width: calc(100vw - 20px);
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .sidebar-opened {
        width: 50%;
        height: 100%;
    }

    .sidebar-closed {
        width: 0;
    }

    .map-sidebar-opened {
        left: 50%;
        width: 50%;
    }

    .map-sidebar-closed {
        left: 0;
        width: 100%;
    }

    .mapboxgl-popup-content {
        font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
        padding: 0;
        width: 460px;
        /*width: calc(100vw - 20px);*/

        /*    transform: none !important;*/
        /*    position: absolute;
            top: 0px !important;
            left: 0px !important;*/
    }

    .image-in-popup-width {
        width: 460px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .sidebar-opened {
        width: 33.3333%;
        height: 100%;
    }

    .sidebar-closed {
        width: 0;
    }

    .map-sidebar-opened {
        left: 33.3333%;
        width: 66.6666%;
    }

    .map-sidebar-closed {
        left: 0;
        width: 100%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

.mapbox-gl-open_close_menu_btn {
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: auto;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iMzJweCIgaWQ9IkxheWVyXzEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMyIDMyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHdpZHRoPSIzMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNCwxMGgyNGMxLjEwNCwwLDItMC44OTYsMi0ycy0wLjg5Ni0yLTItMkg0QzIuODk2LDYsMiw2Ljg5NiwyLDhTMi44OTYsMTAsNCwxMHogTTI4LDE0SDRjLTEuMTA0LDAtMiwwLjg5Ni0yLDIgIHMwLjg5NiwyLDIsMmgyNGMxLjEwNCwwLDItMC44OTYsMi0yUzI5LjEwNCwxNCwyOCwxNHogTTI4LDIySDRjLTEuMTA0LDAtMiwwLjg5Ni0yLDJzMC44OTYsMiwyLDJoMjRjMS4xMDQsMCwyLTAuODk2LDItMiAgUzI5LjEwNCwyMiwyOCwyMnoiLz48L3N2Zz4=);
}

.heading {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 60px;
    line-height: 60px;
    padding: 0 10px;
}

.listings {
    height: 100%;
    overflow: auto;
    padding-bottom: 60px;
}

.listings .item {
    display: block;
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-decoration: none;
}

.listings .item:last-child { border-bottom: none; }

.listings .item .title {
    display: block;
    color: #00853e;
    font-weight: 700;
}

.listings .item .title small { font-weight: 400; }

.listings .item.active .title,
.listings .item .title:hover { color: #8cc63f; }

.listings .item.active {
    background-color: #f8f8f8;
}

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    border-left: 0;
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background: #00853e;
    border-radius: 0;
}

.clearfix { display: block; }

.clearfix::after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Marker tweaks */
.mapboxgl-popup-close-button {
    display: none;
}

.mapboxgl-popup-content {
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
    padding: 0;
/*    width: 460px;*/
/*    width: calc(100vw - 20px);*/

/*    transform: none !important;*/
/*    position: absolute;
    top: 0px !important;
    left: 0px !important;*/
}

.mapboxgl-popup-content-wrapper {
    padding: 1%;
}

.mapboxgl-popup-content h3 {
    background: #91c949;
    color: #fff;
    margin: 0;
    display: block;
    padding: 8px;
    border-radius: 3px 3px 0 0;
    font-weight: 700;
    margin-top: 0px;
}

.mapboxgl-popup-content h4 {
    margin: 0;
    display: block;
    padding: 10px;
    font-weight: 400;
}

.mapboxgl-popup-content div {
/*    padding: 0px;*/
}

.mapboxgl-container .leaflet-marker-icon {
    cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: #91c949;
}

.marker {
    border: none;
    cursor: pointer;
    height: 56px;
    width: 56px;
    background-image: url(../images/marker.png);
    background-color: rgba(0, 0, 0, 0);
}

.mapboxgl-popup {
    padding-bottom: 50px;
}

.mapboxgl-popup{
    transform:none !important;
    bottom: -5%;
    left: 10px;
}
.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-center .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{
    display:none !important;
}

.image-in-popup-width {
    /*width: calc(100vw - 10px);*/
    cursor: pointer;
}

.image-in-popup-zoomed {
    height: 100%;
}

.modal__content {
    margin: 0 auto;
}

.popup-header-layout {
    background: #91c949;
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px;
}

.margin-top-8 {
    margin-top: 8px;
}

.custom-popup-close-button {
    font-weight: normal;
    color: white;
    border: none;
    background-color: transparent;
    cursor: pointer;
    user-focus: none;
}

.custom-popup-close-button:hover {
    font-weight: bolder;
}

.custom-popup-close-button:focus {
    outline:0;
}

a.mapboxgl-ctrl-logo {
    display: none !important;
}

.ws-btn {
    border: none;
    border-radius: 5px;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #91C949;
    color: #ffffff;
    width: 102px;
}


.w3-right {
    float: right!important;
    margin-right: 5px;
    margin-bottom: 5px;
}

.w3-left {
    float: left!important;
    margin-left: 5px;
    margin-bottom: 5px;
}

.w3-left:hover {
    background-color: #059862;
}

.w3-right:hover {
    background-color: #059862;
}

a {
    color: inherit;
}
a {
    background-color: transparent;
}


.nextprev a.w3-right, .nextprev a.w3-left {
    background-color: #04AA6D;
    color: #ffffff;
    border-color: #04AA6D;
}

.nextprev a:link, .nextprev a:visited {
    background-color: #ffffff;
    color: #000000;
}
.nextprev a {
    font-size: 17px;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

.w3-container:after, .w3-container:before, .w3-panel:after, .w3-panel:before, .w3-row:after, .w3-row:before, .w3-row-padding:after, .w3-row-padding:before, .w3-cell-row:before, .w3-cell-row:after, .w3-clear:after, .w3-clear:before, .w3-bar:before, .w3-bar:after {
    content: "";
    display: table;
    clear: both;
}
