﻿

.map-location-popup > .gm-style-iw-d > div > div.marker-popup-content {
    padding: 30px;
}


.popup-location-content,
.popup-poi-content {
    white-space: nowrap;
    padding: 10px;
    padding-right: 20px;
}

.marker-popup-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.marker-popup-content {
    text-align: center;
    padding-right: 0px;
    padding-top: 0px;
    width: 300px;
}

    .marker-popup-content > .carousel {
        margin: 0 !important;
    }

        .marker-popup-content > .carousel.slide > .carousel-control-prev,
        .marker-popup-content > .carousel.slide > .carousel-control-next {
            position: absolute;
            height: 50px;
            top: calc(50% - 25px);
        }


    .marker-popup-content + .marker-popup-description {
        max-height: 120px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0.5rem;
        max-width: 300px;
        color: #000000;
    }

.marker-popup-description-name {
    color: #000000;
    line-height: 25px;
    font-size: medium;
}

.marker-popup-description-stars {
    color: var(--color1);
    white-space: nowrap;
    line-height: 25px;
    padding-left: 5px;
}

.marker-popup-description-priceFrom {
    line-height: 20px;
    color: #000000;
}

.marker-popup-description > .marker-popup-description-priceFrom:before {
    content: '\A';
}




/* apart multiple (meme coordonnées, meme popup)*/
.marker-popup-multi {
    font-size: small;
    padding-bottom: 1px;
}
    .marker-popup-multi >  div.marker-popup-description {
        margin: 5px;
    }
    .marker-popup-multi:last-child {
        padding-bottom: 0px;
    }

    .marker-popup-multi > div.marker-popup-description > span.marker-popup-description-name > a {
        color: var(--color2);
        font-weight: 300;
    }

    .marker-popup-multi.active > div.marker-popup-description > span.marker-popup-description-name > a {
        color: var(--color1);
        transform-style: preserve-3d;
    }


    .marker-popup-multi.active {
        border: 0.5px ridge var(--color1);
        border-radius: 5px;
        animation: ease-in;
        animation-delay: 0.5s;
        animation-duration: 3s;
        animation-direction: alternate;
        animation-fill-mode: both;
    }
/*.marker-popup-multi::before {
        content: '\f52a';
        font-family: "Font Awesome 5 Pro";
    }

    .marker-popup-multi.active::before {
        content: '\f52b';
        font-family: "Font Awesome 5 Pro";        
    }*/



/**************************************/
/* Redefinie googlemap dialog UI style */


.fullScreen {
    padding-right: 30px !important;
}

.map-btn-hide {
    position: absolute;
    right: 5px;
    top: 8px;
    z-index: 10000;
}


.gm-style .gm-style-iw-c {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    top: 0;
    left: 0;
    transform: translate3d(-50%,-100%,0);
    background-color: white;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 7px 1px rgba(0,0,0,.3);
}

.gm-style-iw-d {
    overflow: hidden !important;
}



@media screen and (min-width: 768px), screen and (min-height: 768px) {
    .gm-style-iw.gm-style-iw-c:not(.map-hotel-popup) {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .map-hotel-popup > button.gm-ui-hover-effect {
        background-color: var(--color1) !important;
        border-radius: 15px;
        top: 10px !important;
        left: 10px !important;
        right: unset !important;
        color: var(--fore-color1) !important;
    }

        .map-hotel-popup > button.gm-ui-hover-effect > span {
            background-color: white;
        }
}


@media screen and (max-width: 767px), screen and (max-height: 767px) {
    .gm-style-iw.gm-style-iw-c {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .marker-popup-content {
        display: none;
    }

    .marker-popup-image {
        display: none;
    }

    .map-btn-hide {
        display: none;
    }

    .marker-popup-description {
        padding-left: 25px !important;
    }
}
 