/* ---------------------------------- */
/* Google Autocomplete
------------------------------------- */
body .pac-item {
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: 0.2s;
    padding: 5px 15px;
}

body .pac-container {
    border-radius: 0 0 4px 4px;
    border: none;
    box-sizing: content-box;
    margin-top: -2px;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

/* ---------------------------------- */
/* Google Maps
------------------------------------- */
.infoBox {
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 30px);
    line-height: 24px;
}

.infoBox .job-listing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    box-shadow: none;
    width: 100%;
}

.infoBox .job-listing .job-listing-description {
    padding-top: 0;
}

.infoBox .job-listing:hover {
    transform: none;
}

.infoBox .job-listing-details {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 25px;
}

.infoBox .job-listing h4.job-listing-company {
    font-size: 14px;
    position: relative;
    top: 0px;
}

.infoBox .job-listing .verified-badge {
    transform: scale(0.85);
    right: -7px;
    bottom: -7px;
}

.infoBox .job-listing .not-verified-badge {
    display: none;
}

.infoBox .job-listing-footer {
    flex-grow: 0;
    padding: 15px 25px;
    font-size: 16px;
    display: none;
}

.infoBox .job-listing h3.job-listing-title {
    font-size: 16px;
    line-height: 24px;
}

.infoBox .job-listing .job-listing-company-logo {
    max-width: 46px;
    margin: 5px 18px 5px 0;
    top: 0;
    flex: 0 0 46px;
}

.infoBox .job-listing .job-listing-company-logo img { max-width: 46px; }


.map-box {
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.12);
    position: relative;
    width: 100%;
}

.map-box .listing-img-container img {
    width: 100%;
    border-radius: 4px 4px 0 0;
}

.map-box h4 {
    margin: 0;
    padding: 0;
}

.map-box h4 a {
    padding: 0 0 2px 0;
    font-size: 17px;
    line-height: 25px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

.listing-img-container {
    position: relative;
    height: 100%;
    display: block;
}

.map-box h4 a:hover { color: #66676b; }

.map-box p {
    padding: 0;
    line-height: 25px;
    margin: 2px 0 0 0;
    font-size: 14px;
}

.map-box ul.listing-details {
    padding: 0;
    font-size: 14px;
    display: none;
}

.map-box .listing-title {
    padding: 16px 22px;
}


.map-box .listing-img-content {
    padding: 18px 22px;
}


.map-box .listing-img-content span {
    font-size: 21px;
}

.map-box .listing-img-content .listing-price i {
    font-size: 15px;
    margin: -7px 0 0 0;
}


.infoBox > img {
    position: absolute !important;
    right: 0px;
    top: 0px;
}

.map-box .listing-img-container::before {
    content:"";
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    background: linear-gradient(to top, rgba(35,35,37,0.85) 0%, rgba(35,35,37,0.40) 35%, rgba(22,22,23,0) 60%, rgba(0,0,0,0) 100%);
    background-color: rgba(35,35,37,0.2);
}

.map-box .listing-item-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    padding: 0 24px;
    width: 100%;
    z-index: 50;
    box-sizing: border-box;
}

.map-box .listing-item-content h3 {
    color: #fff;
    font-size: 18px;
    padding: 0 0 2px 0;
    font-weight: 500;
    margin: 0;
    line-height: 27px;
}

.map-box .listing-item-content span {
    font-size: 15px;
    font-weight: 300;
    display: inline-block;
    color: rgba(255,255,255,0.7);
}


/* Close Button */
.infoBox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-block;
    z-index: 999;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    height: 27px;
    width: 27px;
    line-height: 27px;
    background-color: #f0f0f0;
    color: #666;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-radius: 4px;
}

.infoBox-close i {
    position: relative;
    top: 2px;
    left: -0.5px;
}

.infoBox-close:hover {
    color: #fff;
    background-color: #66676b;
}


/* Read More Icon */
.map-box-icon {
    height: 38px;
    width: 38px;
    position: absolute;
    bottom:0;
    right:0;
    background-color: #3685cf;
    display: block;
    color: #fff;
    font-size: 12px;
    z-index: 101;
    text-align: center;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    opacity:0;
    visibility: hidden;
}

.map-box-icon:before {
    content: "\f064";
    font-family: "FontAwesome";
    position: relative;
    top: 7px;
    display: block;
}

.map-box-image:hover .map-box-icon {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateX(0);
}

.map-box-image {
    position: relative;
    overflow: hidden;
    display: block;
}

.infoBox {
    animation: infoBoxAnimation 0.5s;
}

/* Standard syntax */
@keyframes infoBoxAnimation {
    from {opacity: 0; transform: translateY(-10px); }
    to {opacity: 1; transform: translateY(0px); }
}

.infoBox .star-rating span { margin-right: 3px; }

.infoBox .rating-counter {
    position: relative;
    top: -1px;
}

.infoBox:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #fff;
}

#map {
    height: 100%;
    width: 100%;
    margin: 0;
    z-index: 990;
}

#map-container {
    position: relative;
    top: 0;
    left: 0;
    height: 520px;
    width: 100%;
    z-index: 990;
    margin-bottom: 60px;
}

.gmnoprint { margin: 10px; }

.homepage-map {
    height: 560px;
    margin-bottom: 0;
    position: relative;

}

.search-bar-on-map {
    position: absolute;
    bottom: 50px;
    z-index: 1000;
    margin: 0 auto;
    left: 0;
    right: 0;
}

/* Cluster styles */
.cluster img { display:none }

.cluster-visible {
    text-align: center;
    font-size: 14px !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 50%;
    width: 33px !important;
    height: 33px !important;
    line-height: 33px !important;
    background-color: #66676b;
    animation: clusterAnimation 2.5s infinite;
}

@keyframes clusterAnimation {
    0%,100% {
        box-shadow: 0 0 0 6px rgba(102,103,107,0.15);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102,103,107,0.15);
    }
}


/* Marker */
.map-marker-container { position: absolute; }

.marker-container {
    position: relative;
    margin: -9px 0 0 -9px;
    width: 18px;
    height: 18px;
    z-index: 1;
    border-radius: 50%;
    cursor: pointer;
    top: 0;
    background-color: #66676b;
    animation: markerAnimation 2.5s infinite;
    transition: 0.4s;
}

@keyframes markerAnimation {
    0%,100% {
        box-shadow: 0 0 0 6px rgba(102,103,107,0.15);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(102,103,107,0.15);
    }
}

/* Clicked & Hover States */
.map-marker-container.clicked .marker-container {
    transform: scale(1.3);
}

.marker-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: transparent;
    border-radius: 50%;
    transform: scale(2);
    opacity: 0;
}


/* Custom Zoom Buttons
------------------------------------- */
.custom-zoom-in,
.custom-zoom-out {
    background-color: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    margin: 5px 15px;
    transition: 0.3s;
    box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 18px;
    height: 34px;
    width: 34px;
}

.custom-zoom-in:hover,
.custom-zoom-out:hover {
    background-color: #66676b;
    color: #fff;
}

.custom-zoom-in:before,
.custom-zoom-out:before  {
    font-family: "Feather-Icons";
    width: 100%;
    line-height: 35px;
}

.zoomControlWrapper {
    position: absolute;
    left: initial;
    right: 0;
    width: 70px;
    margin-right: 20px;
}

.custom-zoom-in:before { content: "\e9b1"; }
.custom-zoom-out:before  { content: "\e996"; }


/* Street View Button
------------------------------------- */
#streetView,
#geoLocation,
#scrollEnabling {
    background-color: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    margin: 5px 15px;
    transition: 0.3s;
    box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 10px;
    left: 5px;
    z-index: 99;
    font-size: 14px;
    line-height: 21px;
    padding: 8px 14px;
    font-weight: 500;
}

#geoLocation:hover,
#streetView:hover,
#scrollEnabling:hover,
#scrollEnabling.enabled {
    background-color: #66676b;
    color: #fff;
}

#streetView:before {
    content: "\e974";
    font-family: "Material-Icons";
    font-size: 18px;
    top: 3px;
    position: relative;
    margin-right: 7px;
    margin-left: -1px;
    line-height: 0;
}