/* ----------------------------------------------- */
/*
/* Photos
/*
/* ----------------------------------------------- */
#photos {
    position: relative;
    top: 0;
    left: 0;

}

#photos .photo_principale {
    position: relative;
    top: 0;
    left: 0;
}

#photos .no_photo_principale {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 450px;
    background-color: #FFFFFF;

    display: flex;
    align-items: center;
}

#photos .no_photo_principale .no_picture {
    margin: 15px;
    width: 100%;
    height: calc(100% - 30px);
    background-color: #EEEEEE;
    font-size: 155px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

#photos .photo_principale img {
    border: 1px solid #EBEBEB;
    border-radius: 3px;
}


#photos .photo_grand {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    visibility: hidden;
    opacity: 0;

    transition: all 0.3s ease;
}

#photos .photo_grand.show {

    position: relative;

    visibility: visible;
    opacity: 1;

    transition: all 0.3s ease;
}


#photos .photo_grand .loupe {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background-color: #8BAE30;
    color: #FFFFFF;

    font-size: 18px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#photos #carousel_photos {
    position: relative;
    top: 0;
    left: 0;
    max-height: 452px;
}

#photos #carousel_photos {
    position: relative;
    opacity: 1;
    transition: opacity 0.1s;
}

#photos #carousel_photos.hide {
    position: absolute;
    opacity: 0;
}

#photos #carousel_photos .next, #photos #carousel_photos .prev {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3px;
    text-align: center;
    font-size: 25px;

    opacity: 0;
    transition: opacity 0.3s ease;
}

#photos #carousel_photos .prev {
    top: 0;
    bottom: auto;
}

#photos #carousel_photos:hover .next, #photos #carousel_photos:hover .prev {
    opacity: 1;
    transition: opacity 0.3s ease;
}

#photos .photo_carousel img {
    border: 2px solid #EBEBEB;
    width: 100%;
    height: 100%;
}

#photos .photo_carousel.selected img {
    border: 2px solid #8BAE30;
}

.modal-title {
    font-size: 15px;
    font-weight: bold;
}

/* ----------------------------------------------- */
/*
/* Détails annonce
/*
/* ----------------------------------------------- */
.box_details {
    position: relative;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    margin: 15px 0;
    padding: 20px 30px;
    border: 1px solid #EBEBEB;
    border-radius: 3px;
}

.box_details.disclaimer {
    background: #D37112;
    color: #FFFFFF;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 25px;
}

.box_details.disclaimer .icon .fas {
    font-size: 40px !important;
}

.box_details.disclaimer h4 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 20px;
}

#page #infos_annonce h1 {
    font-family: "Open Sans";
    font-weight: bold;
    letter-spacing: normal;
    border-bottom: none;
    font-size: 25px;
    margin-bottom: 7px;
    padding-bottom: 0;
}

#infos_annonce i {
    font-size: 22px;
}

#infos_annonce #partager, #infos_annonce #partager_mobile {
    display: inline-block;
    margin-left: 7px;
}

#infos_annonce #partager .dropdown-item {
    display: flex;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#infos_annonce #partager .dropdown-item i {
    color: #A5C92E;
    margin-right: 7px;
}

#infos_annonce .prix {
    font-weight: bold;
    color: #A5C92E;
    font-size: 30px;
}

#infos_annonce .cat_et_depot {
    font-size: 13.5px;
}

#infos_annonce .cat_et_depot p {
    margin-bottom: 5px;
}

#infos_annonce .cat_et_depot .annonce-badge {
    border: 2px solid #8BAE30;
    font-size: 90%;
    color: #161616;
    margin-right: 5px;
}

#page #infos_annonce h2 {
    font-family: "Open Sans";
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: normal;
}

#google_maps {
    height: 350px;
}

/* ----------------------------------------------- */
/*
/* Infos vendeur + Signaler
/*
/* ----------------------------------------------- */

#vendeur {
    position: relative;
    top: 0;
    left: 0;
    background-color: #FFFFFF;

    border: 1px solid #EBEBEB;
    border-radius: 3px;

    padding: 15px;
    margin-bottom: 15px;
}

#vendeur h4 {
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid #8BAE30;
    margin-bottom: 15px;
    font-weight: bold;
}

#vendeur .annonce_pro {
    padding: 4px 7px;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    background-color: #D37112;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

#vendeur .localisation {
    display: flex;
    align-items: center;
}

#vendeur .localisation i {
    font-size: 21px;
    color: #8BAE30;
    margin-right: 10px;
}

#vendeur .contact_vendeur, #vendeur .numero, #vendeur .magasin {
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;

    font-size: 16px;
    width: 100%;

}

#vendeur .numero.affiche {
    color: #8BAE30;
    background-color: #FFFFFF;
}

#vendeur .contact_vendeur {
    background-color: #D37112;
    border-color: #D37112;
}


#vendeur .contact_vendeur i, #vendeur .numero i {
    margin-right: 10px;
}

#signaler {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

#signaler .btn_signaler {
    padding: 7px 15px;
    width: 100%;
    color: #FFFFFF;
    background-color: #161616;
    display: inline-block;
    text-align: center;
    border-radius: 3px;
    margin-bottom: 15px;
}

#signaler .btn_signaler i {
    margin-right: 7px;
}


@media screen and (max-width: 991px) {
    .fixed-mobile {
        position: fixed;
        width: 100%;
        left: 0;
        bottom: 0;
        z-index: 10;
        background-color: #FFFFFF;
        height: auto;
        display: block;
        box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.14);
    }

    .fixed-mobile.active {
        position: fixed;
        width: 100%;
        height: auto;
        left: 0;
        bottom: 0;
        z-index: 10;
        background-color: #FFFFFF;
        opacity: 1;
        animation-duration: 0.3s;
        animation-name: animate_contact;
    }

    .fixed-mobile #collapse_button {
        height: 70px;
        background: #8BAE30;
        color: #FFFFFF;

        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
    }

    .fixed-mobile #collapse_button h4 {
        margin-bottom: 0;
        color: inherit;
        font-size: 18px;
        font-weight: bold;
    }

    .fixed-mobile #collapse_button .up i {
        color: inherit;
        position: absolute;
        top: 25px;
        right: 20px;
        font-size: 1.5rem;
        transform: rotate(0);
        transition: 0.4s;
    }

    .fixed-mobile #collapse_button:not(.collapsed) .up i {
        transform: rotate(180deg);
    }

    .fixed-mobile #vendeur {
        border: 0;
        margin: 0;
        padding: 5px 15px 25px 15px;
        background-color: transparent;
    }

    .fixed-mobile #vendeur h4 {
        margin-bottom: 0px;
        width: calc(100% - 40px);
        border: 0;
        padding: 0;
    }

    .fixed-mobile.active #vendeur h4 {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem
    }

    .fixed-mobile.open #vendeur h4 {
        border-bottom: 1px solid #8BAE30;
    }

    #signaler {
        padding: 0px 15px;
    }

    @keyframes animate_contact {
        from {
            height: auto;
            opacity: 0;
        }

        to {
            opacity: 1;
            height: auto;
        }
    }

    @keyframes animate_rotation {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(180deg);
        }
    }
}

@media screen and (max-width: 767px) {

    /* bloc détail vendeur fixed */
    #pied {
        padding-bottom: 70px;
    }

    #photos .photo_principale {
        height: 383px;
    }

    #photos .photo_principale img {
        height: 383px;
        object-fit: cover;
    }

    #photos #carousel_photos {
        height: auto;
        display: flex;
        padding: 10px 0px;
    }


    #photos #carousel_photos .next, #photos #carousel_photos .prev {
        width: 50px;
        top: 50%;
        left: 0;
        right: inherit;
        bottom: inherit;
        opacity: 1;
        transform: translateY(-50%) rotate(-90deg);
    }

    #photos #carousel_photos .next {
        right: 0 !important;
        left: auto;
        bottom: inherit;
        transform-origin: center;
    }

}