#map {
    height: 100vh;
    width: 100%;
    z-index: 1;
}

.hide {
    display: none;
}

.cluster-icon {
    background: url('../images/defi_big.png');
    width: 60px;
    height: 60px;
    margin-left: -18px;
    margin-top: -39px;
    position: relative;
}

.cluster-count {
    position: absolute;
    left: 0;
    right: 14px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    top: 27px;
}

.controlswrap {
    position: absolute;
    left: 0px;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    z-index: 10;
}

.controls {
    box-sizing: border-box;
    background: white;
    border: none;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    padding: 10px;
    max-width: calc(100vw - 20px);
    margin-left: 10px;
    margin-top: 10px;
    height: 38px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
}

.pac-container:after {
    content: none !important;
}

select.controls {
    pointer-events: all;
    display: inline-block;

    width: 404px;
    padding: 5px;
}

@media screen and (max-width: 767px) {
	
	.mobile {
		display: none;
	}
	
    .controlswrap {
        right: 10px;
        flex-direction: column;
        align-items: stretch;
		top: 45px;
    }

    .controls {
        width: 100%;
    }

    select.controls {
        width: 100%;
    }
}

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

#loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: fixed;
    z-index: 100;
    top: 50%;
    margin-top: -30px;
    margin-left: -30px;
    left: 50%;
}

#loader-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    display: block;
    background: rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none !important;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Location Popup */

/* Overwrite leaflet css */
.leaflet-marker-icon.leaflet-div-icon {
    border: none;
    background: none;
}

.leaflet-popup-pane .leaflet-popup {
    padding-bottom: 30px;
}

.leaflet-popup-pane .leaflet-popup .leaflet-popup-content-wrapper {
    border-radius: 2px;
}

.leaflet-popup-pane .leaflet-popup .leaflet-popup-content {
    margin: 13px 20px 13px 13px;
}
/* end leaflet css */

.gm-style img.main_image {
    max-width: 400px;
}

.leaflet-popup-content p {
	margin: 0;
}

.title-box {
    background-color: #17a9d3;
    margin-bottom: 10px;
}

.title-box h2 {
    color: #fff;
    margin: 0;
    padding: 10px 5px 5px 5px;
}

.title-box p {
    color: #fff;
    margin: 0 !important;
    padding: 0 5px 10px 5px;
}

.adress-details {
    height: auto;
    overflow: hidden;
    max-width: 400px;
}

.adress-details a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adress-details p {
    font-size: 15px;
    margin: 5px 0 !important;
    color: #333;
}

.adress-details .fa {
    padding-right: 10px;
    width: 12px;
    text-align: center;
}

.adress-details a {
    font-size: 15px;
    color: #17a9d3;
    text-decoration: none;
}

button,
input[type=submit] {
    color: #fff;
    padding: 10px 20px;
    background-color: #17a9d3;
    text-decoration: none;
    border: 0;
    font-size: 14px;
    cursor: pointer;
    font-weight: 400;
}

a.change_link {
    color: #17a9d3;
    text-decoration: none;
    font-weight: bold;
}

div::-webkit-scrollbar {
    width: 3px;
}

div::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

div::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

.images {
    display: block;
    overflow: hidden;
}

.img-helper {
    width: 32%;
    float: left;
    padding: 0.67%;
}

.img-container {
    width: 133px;
    height: 100px;
    vertical-align: middle;
    border: 1px solid #eee;
    display: table-cell;
    text-align: center;
}

img.main_image {
    max-width: 100%;
    padding: 0;
    max-height: 100%;
}

.img-helper:first-child {
    float: none;
}

.img-helper:first-child .img-container {
    width: 400px;
    padding: 0;
    height: auto;
    display: block;
    border: 0;
}

#open_times {
    display: none;
}

a.expand {
    cursor: pointer;
}

#open_times p {
    font-size: 14px;
    margin: 2px 0;
}

@media (max-width: 768px) {
    .search_field {
        top: 50px !important;
        left: 10px !important;
    }

    .selectwrap {
        pointer-events: none;
        position: absolute;
        top: 50px;
        left: 0;
    }
}
