/*------------------ MAP ---------------*/
.map-component {
    /*position: absolute;*/
    top: 0;
    left: 0;
    /*width: 800px !important;
    height: 900px !important;*/
    width: 100% !important;
    height: 100% !important;
    /*background: url("/images/map/road-map-with-pointers-flat-style_23-2147800329.jpg");*/
    background-position: center;
    background-size: cover;
}
.locator-map {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    overflow: hidden;
}



div {
    border: none;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    vertical-align: baseline;
    text-decoration: none;
    margin: 0;
    padding: 0;
}
a._loadMapLink {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0);
    background: #0f3e68;
    color:#FFF;
    padding: 12px;
    text-decoration: none;
    border-radius: 20px;
}
a._loadMapLink:hover {
    background: #FFF;
    color:#0f3e68;
}
.map-popup-wrap * {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.fl-wrap {
    float: left;
    width: 100%;
    position: relative;
}
.gm-style img {
    max-width: none;
}
.map-popup img {
    width: 100%;
    height: auto;
}


/* COLORS */
.infoBox-close:hover,
.map_listing_dist {
    background: #005b90;
}

.infoBox-close {
    background: #005b90;
}
.cluster div {
    background: #2a90ed;
}
.cluster div:hover {
    background:#18458B;
}
.map-popup-location-price {
    color: #FFF;
    line-height: 16px;
}
.listing-title a{
    color: #2a4488;
    line-height: 16px;
}
.mapMoveSearchControl{ color: #333}
.map-card-rainting {
    color: #FFF;
}
.mapzoom-in,
.geodir-category-location a i,
.map-popup-location-info i {
    color: #F9B90F;
}
.mapzoom-out {
    color: #18458B;
}

.mapDrawControl.active {
    background-color: #1563df;
    color: #FFF;
}
.mapDrawControl.active:hover {
    background-color: #FFF;
    color: #1563df;
}
.mapDrawControl {
    z-index: 980;
    position: absolute;
    top:10px;
    left: 196px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0px;
    font-size: 15px;
    padding: 5px 10px;
}
.mapMoveSearchControl {
    color: #333;
    z-index: 980;
    position: absolute;
    background-color: rgba(255,255,255,.929);
    /*box-shadow: 0 1px 30px 0 rgba(38,50,57,.1);*/

    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    width: 185px;
    height: 29px;
    margin: 10px;
    /*border-radius: 25px;*/
    /*padding-left: 12px;
    padding-right: 17px;*/
    padding-left: 5px;
    padding-right: 5px;

    padding-top: 9px;
    font-size: 11px;
    border-radius: 5px;

    border-bottom-right-radius: 0;
    border-top-right-radius: 0px;
}
.mapMoveSearchControl i.fa-search {
    position: relative;
    font-size: 14px;
    left: -14px;
    top: -2px;
}
.mapMoveSearchControl input[type="checkbox"] { display: none; }

.mapMoveSearchControl input[type="checkbox"] + label {
    display: block;
    position: absolute;
    padding-left: 30px;
    margin-bottom: 20px;
    /*font: 11px 'Open Sans', Arial, sans-serif;*/
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /*padding-top: 2px;*/
    margin-top: -4px;
}

.mapMoveSearchControl input[type="checkbox"] + label:last-child { margin-bottom: 0; }

.mapMoveSearchControl input[type="checkbox"] + label:before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    /*border: 1px solid #6cc0e5;*/
    border: 2px solid #1563df;
    /*border-radius: 28px;*/
    position: absolute;
    left: 6px;
    top: 3px;
    /*opacity: .6;*/
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

.mapMoveSearchControl:hover input[type="checkbox"] + label:before {
    border: 2px solid #FFF;
}

.mapMoveSearchControl input[type="checkbox"]:checked + label:before {
    width: 9px;
    top: 0px;
    left: 8px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.map-popup-wrap {
    display:block;
    width:300px !important;
    position:relative;
}
.map-popup {
    display:block;
    width:100%;
    position:relative;
    overflow:hidden;
    border-radius:10px;
    background:#fff;
    box-shadow: 0 9px 16px rgba(58, 87, 135, 0.65);
}
.map-popup-wrap:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    margin-top:-1px;
    z-index:20;
}
.map-popup-wrap:before {
    border-color:  transparent;
    border-top-color: #fff;
    border-width: 15px;
    margin-left: -15px;
}
.map-popup img {
    width:100%;
    height:auto;
}
.map_listing_dist {
    float: left;
    padding: 7px 9px;
    margin-top: -5px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
}

.mapzoom-in  , .mapzoom-out{
    position: absolute;
    z-index:100;
    top:50%;
    cursor:pointer;
    width:40px;
    height:40px;
    line-height:40px;
    right: 8px;
    margin-top:-84px;
    -webkit-transform: translate3d(0,0,0);
    background: #fff;
    /*box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);*/
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    text-align: center;
    /*border: solid 1px #d8d8d8;*/
}
.mapzoom-out {
    margin-top:-40px;
    /*border-bottom-left-radius:8px;
    border-bottom-right-radius:8px;*/
}
.mapzoom-in{
    /*border-top-left-radius:8px;
    border-top-right-radius:8px;*/
}
.mapzoom-in:before  , .mapzoom-out:before{
    font-family: Font Awesome\ 5 Pro;
    content: "\f068";
    font-size: 14px;
    font-weight: 600;
}
.mapzoom-in:before{
    content: "\f067";
}
.listing-content {
    background:#fff;
    padding:20px 20px;
    z-index:20;
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
}

.listing-img-content {
    width: 300px;
    height: 125px;
    /*background: url("https://i2.wp.com/canadacopy.com/wp-content/uploads/2016/12/default-placeholder-300x300.png?ssl=1");*/
    /*
    https://cdn.dribbble.com/users/1133112/screenshots/3164394/__.gif
    https://mir-s3-cdn-cf.behance.net/project_modules/disp/afb8cb36197347.5713616457ee5.gif
    https://cdn.dribbble.com/users/1507834/screenshots/4519335/optimize_route_dribb_full_frame_gif__1.gif
    https://i.pinimg.com/originals/45/12/4d/45124d126d0f0b6d8f5c4d635d466246.gif
     */
    /*background: #18458b url("/images/map/optimize_route_dribb_full_frame_gif__1.gif") center center no-repeat;*/
}
.listing-content:before {
    font-family: Font Awesome\ 5 Pro;
    content: "\f35d";
    position: absolute;
    color: #ccc;
    top: 20px;
    right: 20px;
    font-size: 25px;
    font-weight: 500;
    z-index: -1;
    opacity: 0.5;
}
.listing-title h4 {
    font-size:16px;
    text-align:left;
    font-weight:500;
}
.map-popup-location-price {
    position:absolute;
    left:20px;
    top:24px;
    padding:6px 10px;
    font-size:15px;
    z-index:20;
    font-weight:700;
    border-radius:4px;
    overflow:hidden;
}
.map-popup-location-price strong {
    color:#fff;
    float:left;
    width:100%;
    margin-bottom:4px;
    font-size:11px;
    font-weight:400;
}
.map-popup-location-info {
    width:100%;
    margin-top:3px;
    color: #878C9F;
    font-weight: 500;
    font-size: 13px;
    text-align:left;
    line-height: 20px;
}
.map-popup-location-info i{
    padding-right: 3px;
    font-size: 16px;
    font-weight: 400;
    color: #CCC;
}
.map-card-rainting {
    position:absolute;
    left:0;
    width:100%;
    top:-45px;
    padding:15px 20px;
    z-index:2;
}
.map-popup-location-price:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: #061B41;
    opacity: 0.5;
}
.map-card-rainting i {
    /*float:left;*/
    margin-right:2px;
}
.infoBox-close {
    position:absolute;
    width: 20px;
    height: 20px;
    line-height: 21px;
    top:5px;
    right:5px;
    color:#fff;
    border-radius:20px;
    z-index:20;
    cursor:pointer;
    -webkit-transition: all 300ms;
    transition: all 300ms;
    text-align: center;
}
.map-card-rainting {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(6,27,65,0)), color-stop(100%,rgba(6,27,65,0.95)));
    background: -webkit-linear-gradient(top, rgba(6,27,65,0) 0%,rgba(6,27,65,0.95) 100%);
    background: -o-linear-gradient(top, rgba(6,27,65,0) 0%,rgba(6,27,65,0.95) 100%);
    background: -ms-linear-gradient(top, rgba(6,27,65,0) 0%,rgba(6,27,65,0.95) 100%);
    background: linear-gradient(to bottom, rgba(6,27,65,0) 0%,rgba(6,27,65,0.95) 100%);
}


/*.infoBox-close:hover , .header-search-button:hover i , .contact-btn:hover i  , .header-sec-link  a:hover i{
    animation: bounce 1s;
}*/

@keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

/* maeker cluster */
.cluster img{
    display:none
}
.cluster{
    width:40px!important;
    height:40px!important;
}
.cluster div{
    text-align:center;
    font-size:15px!important;
    color:#fff!important;
    font-weight:600;
    border-radius:100%;
    width:30px!important;
    height:30px!important;
    line-height:30px!important;
    box-shadow: 0px 0px 0px 4px rgba(6,27,65,0.3);
    border:2px solid  #fff;
    z-index:100;
    -webkit-transition: all 300ms linear;
    transition: all 100ms 3inear;
    animation:cluster-animation 1.5s infinite;
}
@keyframes cluster-animation{
    0%,100%{
        box-shadow: 0px 0px 0px 4px #6dcaeb;
    }
    50%{
        box-shadow: 0px 0px 0px 9px #87d0eb;
    }
}

/*
@keyframes cluster-animation{
    0%,100%{
        box-shadow: 0px 0px 0px 4px #3AACED;
    }
    50%{
        box-shadow: 0px 0px 0px 9px #8ed4ed;
    }
}
@keyframes cluster-animation{
    0%,100%{
        box-shadow: 0px 0px 0px 4px rgba(6,27,65,0.3);
    }
    50%{
        box-shadow: 0px 0px 0px 9px rgba(6,27,65,0.1);
    }
}*/

.sort-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sort-controls select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    min-width: 200px;
}

.sort-controls select:focus {
    outline: none;
    border-color: #18458b;
}
