html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

#wpadminbar {
    /**
     * Hide admin bar, because it destroys map functionality
     */
    display: none;
}

/* BEGIN new responsive map */

.page-template-maps div[data-elementor-type="footer"] {
    display: none;
}
@media only screen and (max-width: 1024px){
    .cooee-maps-navigation {
        position: absolute;
        width: 100% !important;
        height: 50%;
        bottom: 0;
    }

    .cooee-maps-markers-header {
        display: none;
    }

    .cooee-maps-markers-filters {
        display: flex;
        padding: 0 10px;
        border: 0;
    }

    #cooee-maps-location {
        padding: 0 !important;
    }

    .cooee-maps-navigation #cooee-maps-location {
        height: unset !important;
    }

    .cooee-maps-location-wrap .fa-chevron-down {
        display: none;
    }

    .cooee-maps-location .leaflet {
        border-radius: 0 !important;
    }

    .cooee-maps-view .cooee-maps-marker-details {
        height: 50%;
        width: 100% !important;
        position: absolute;
        bottom: 0;
        z-index: 500;
    }

    .cooee-maps-view #cooee-maps {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 50%;
        top: 70px;
        height: unset !important;
        width: 100% !important;
        overflow: hidden;
    }
}
/* END new responsive map */

.select2-container--default .select2-selection--single .select2-selection__clear {
  font-size: 25px;
  line-height: 0;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
  font-size: 25px;
  line-height: 0;
  color: #c36;
}

footer#site-footer {
    display: none;
}

.cooee-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cooee-maps-navigation {
    width: 250px;
    overflow: hidden;
    border-right: 1px solid #dcdcdc;
}

.cooee-maps-navigation .cooee-maps-location-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    background: #3180FF;
}

.cooee-maps-navigation .cooee-maps-location-wrap .cooee-maps-button {
    color: white;
    font-size: 30px;
    margin: 7px;
}

.cooee-maps-navigation #cooee-maps-location {
    background-color: #3180ff;
    height: 70px;
    padding: 15px;
    width: 100%;
}

.cooee-maps-navigation #cooee-maps-location .leaflet-bar.leaflet-locationiq-control {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    border: none;
    width: 100% !important;
}

.cooee-maps-navigation #cooee-maps-location .leaflet-bar.leaflet-locationiq-control .leaflet-locationiq-search-icon {
    background: none !important;
}

.cooee-maps-navigation #cooee-maps-location .leaflet-bar.leaflet-locationiq-control .leaflet-locationiq-search-icon:before {
    font-family: FontAwesome, serif;
    font-weight: 900;
    content: "\f002";
    color: white;
    vertical-align: middle;
    line-height: 45px;
}

.cooee-maps-navigation #cooee-maps-location .leaflet-bar.leaflet-locationiq-control .leaflet-locationiq-close {
    background: transparent !important;
    color: #ffffff;
}

.cooee-maps-navigation #cooee-maps-location .leaflet-bar.leaflet-locationiq-control input {
    color: #ffffff;
}

.cooee-maps-navigation #cooee-maps-location .leaflet-locationiq-results {
    top: 40px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.cooee-maps-navigation .cooee-maps-markers-container {
    height: 100%;
}

.cooee-maps-navigation .cooee-maps-markers-container .cooee-maps-markers-header {
    padding: 10px;
    height: 70px;
    line-height: 50px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #dcdcdc;
}

.cooee-maps-navigation .cooee-maps-markers-container .cooee-maps-markers-header .cooee-maps-markers-counter {
    color: #3180ff;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers {
    height: calc(100% - 72px);
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

@media screen and (min-width: 920px) {
    .cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers {
        max-height: calc(100% - 200px);
    }
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker {
    padding: 10px;
    line-height: 1.5;
    list-style: none;
    color: #717171;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker .cooee-maps-marker-title {
    font-weight: bold;
    font-size: 20px;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker .cooee-maps-marker-title:after {
    content: '\f054';
    font-family: FontAwesome;
    float: right;
    color: #dcdcdc;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker:not(:last-of-type) {
    border-bottom: 1px solid #dcdcdc;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker:hover {
    color: #3180ff;
    cursor: pointer;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker:hover .cooee-maps-marker-title:after {
    color: #3180ff;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker.active {
    color: #3180ff;
    background-color: #dcdcdc;
}

.cooee-maps-navigation .cooee-maps-markers-container #cooee-maps-markers .cooee-maps-marker.active .cooee-maps-marker-title:after {
    color: #3180ff;
}

.cooee-maps-view {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.cooee-maps-view .cooee-maps-header {
    height: 70px;
    width: 100%;
}

.cooee-maps-view .cooee-maps-header .elementor-section {
    padding: 0 !important;
}

.cooee-maps-view .cooee-maps-header .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: none;
}

.cooee-maps-view #cooee-maps {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 920px) {
    .cooee-maps-view #cooee-maps {
        height: calc(100% - 70px);
    }
}

.cooee-maps-view .cooee-maps-marker-details {
    display: none;
    width: 30%;
    background-color: #f5f5f5;
    box-shadow: 5px 0 5px -5px rgba(0, 0, 0, 0.3);
    padding: 10px;
    z-index: 999;
    overflow-x: visible;
    overflow-y: auto;
    max-height: calc(100% - 70px);
}

.cooee-maps-view .cooee-maps-marker-details span {
    display: block;
}

.cooee-maps-view .cooee-maps-marker-details .cooee-marker-details-location {
    margin-top: 20px;
    color: #3180ff;
}

.cooee-maps-view .cooee-maps-marker-details .cooee-marker-details-location:before {
    content: "\f276";
    font-family: FontAwesome;
    font-size: 18px;
    padding-right: 10px;
}

.cooee-maps-view .cooee-maps-marker-details.visible {
    display: block;
}

.cooee-maps-view .cooee-maps-marker-details.visible + #cooee-maps {
    width: 70%;
}

.cooee-maps-view .cooee-maps-marker-details h2 {
    font-size: 32px;
    font-weight: bold;
}

.cooee-maps-view .cooee-maps-marker-details h5 {
    margin-top: 30px;
    font-size: 16px;
    font-weight: bold;
}

.cooee-maps-view .cooee-maps-marker-details p {
    color: gray;
    font-size: 14px;
}

.cooee-maps-view .cooee-maps-marker-details audio {
    width: 100%;
}

.loading::after {
    content: "";
    pointer-events: all;
    z-index: 1;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    cursor: wait;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
}

.loading {
    pointer-events: all;
    cursor: wait;
    position: relative;
}

.loading > * {
    pointer-events: all;
    cursor: wait;
    z-index: 100;
}

input.leaflet-locationiq-input::placeholder {
    color: white;
    opacity: .6;
}
