/* GLOBAL */
::placeholder {
    color: #000000!important;
}

.hover-opacity {
    opacity: 1;

    -o-transition:opacity 0.3s ease-in;
    -ms-transition:opacity 0.3s ease-in;
    -moz-transition:opacity 0.3s ease-in;
    -webkit-transition:opacity 0.3s ease-in;
    transition:opacity 0.3s ease-in;
}

.hover-opacity:hover {
    opacity: 0.5;
}

.color-gray {
    color: #5D595C;
}

.fs-21 {
    font-size: 21px;
}

.fs-12 {
    font-size: 12px;
}

.fw-700 {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

.fw-400 {
    font-weight: 400;
}

.object-cover {
    object-fit: cover;
}

.d-contents-desktop {
    display: contents;
}
@media screen and (max-width: 450px) {
    .d-contents-desktop {
        display: block;
    }
}

/* END GLOBAL */

/* HEADER */
#top_menu {
    background-color: #333333;
}

@media screen and (min-width: 451px) {
    .header-homepage {
        position: absolute;
        z-index: 999;
        background: transparent!important;
        width: 100%;
    }
}
/* END HEADER */

/* SEARCH BAR */
.col-lg-2 {
    padding: 0;
}

.form-control {
    border-right: 1px solid!important;
    border-color: #BCBEC0!important;
}

#submit_recherche {
    border: 0!important;
}
/* END SEARCH BAR */

/* NAVBAR */
.sidebar {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 999; /* Stay on top */
    top: 0;
    right: 0;
    background-color: #6294d3d6; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

.sidebar a {
    margin: 0 20%;
    padding: 5% 0!important;
    border-bottom: 1px solid;
    border-color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    font-weight: bold;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: #444;
}

#main {
    transition: margin-left .5s;
    padding: 20px;
}

@media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
}
/* END NAVBAR */

/* HOMEPAGE PROJECTS */
.container-img {
    position: relative;
    text-align: center;
}

.container-img:hover .text-img {
    display: flex;
    background-color: #A1CA62;
}

@media screen and (min-width: 451px) {
    .container-img:hover .back-img {
        visibility: hidden;
    }
    .h-48 {
        height: 48px;
    }
}

.text-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    color: #FFFFFF;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.text-img-projet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    color: #FFFFFF;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

.size-row {
    height: 400px;
    margin-bottom: 30px!important;
}

@media screen and (max-width: 450px) {
    .text-img {
        position: initial;
        transform: initial;
        display: flex;
        color: #FFFFFF;
        text-align: center;
        width: 100%;
        height: 100%;
        background-color: #E6E6E6;
    }

    .size-row {
        height: auto;
    }

    .text-img-projet {
        display: none;
    }

    .background-gray-m {
        background-color: #c1c1c1!important;
    }

    .pad-3-0 {
        padding: 3% 0;
    }
}

/* END HOMEPAGE PROJECTS */


#share_button {
    position: relative;
    padding-bottom: 20px;
}

#share_buttons {
    display: none;
}

#share_button:hover  #share_buttons {
    padding: 15px 20px;
    box-shadow: 1px 4px 15px 1px #b3b3b3;
    display: flex;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 999;
    background-color: #fff;
}

#share_buttons a, #share_buttons span {
    margin: 0 8px;
    display: inline-block;
}

#listing_biens_container_projets {
    background-color: #E6E6E6;
    padding: 12px;
}

#detail_bandeau_statut_bg {
    width: 96%!important;
}

@media screen and (max-width: 450px) {
    #detail_bandeau_statut_bg {
        width: 92%!important;
    }
}

@media screen and (min-width: 451px) {
    .h-projet-desk {
        height: 400px;
    }
}
