
/* TOP HEADER */
#navDesktop {
    display: block;
}

#navMobile {
    display: none;
}

nav {
    background: #fff;
    padding: 1.2em 3em;
    box-shadow: 0px 2px 4px 0px #00000026;
    z-index: 9999;
    position: relative;
}
.modal {
    display: none;
    position: fixed;
    z-index: 999999; 
    left: 0;
    top: 0; 
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    position: relative;
    top: 0;

    /* AJOUTER ↓ */
    max-height: 80vh; 
    overflow-y: auto;
}

@media screen and (max-width: 768px) {
    .modal-content {
        width: 90% !important; 
    }
}


.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

nav section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4em;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-inline: 0.3em;
    padding: 0px !important;
}

#navTransformationMobile section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-inline: 0.3em;

}

nav section article:nth-child(1) img {
    width: 96.71px;
    height: 61.47px;
    object-fit: cover;
    cursor: pointer;
}

nav section article:nth-child(2) {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
    /* margin-left: 10em; */
}

.btn-ctp {
    background: rgb(2,117,128);
    color: #fff;
    border-radius: 1em;
    padding: 1.35em 2em;
    font-weight: 700;
    cursor: pointer;
    text-wrap: nowrap;
    height: 100%;
    flex-direction: row;
    display: flex
;
    border: 1px solid var(--primary);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 0.5em;
}

.hover_header_btn:hover{
    opacity: 0.9;
}

.bg2 {
    background: none;
    border: 1px solid var(--primary);
    padding: 1.35em 2.5em;
    font-weight: 800;
    cursor: pointer;
    color: var(--primary);
    border-radius: 1em;

}
.bg2:hover{
    background: #f8f8f8;
}


/* search */
.search_new_header form {
    border: 1px solid #A6A3A3;
    padding: 0.4em;
    border-radius: 0.9em;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap !important;
    height: 100%;
    min-width: 25vw;

}

.search_new_header input {
    padding: 0.8em;
    height: 100%;
    width: 100%;
    text-overflow: ellipsis;
}

#search-icon {
    background: var(--primary) !important;
    color: #fff;
    border-radius: 0.7em;
    padding: 0.7em 0.8em;
    cursor: pointer;
}
#search-icon:hover {
    opacity: 0.9;
}


#navTransformationMobile {
    display: none;
}

nav section article:nth-child(2) picture {
    display: flex;
    gap: 2em;
    align-items: center;
    height: 3.5em;
    /* background: red; */
}

/* nav section article:nth-child(2) picture input {
    padding: 0.8em;
    min-width: 30vw;
    background: none;
} */

nav section article:nth-child(2) picture i {
    /* padding: 0.9em;
    padding-bottom: 0.6em;
    padding-inline: 0.9em; */
    /* background: #f3f3f3; */
    border-radius: 0.8em;
    cursor: pointer;
    transition: 0.1s;
    font-style: normal;
    height: 100%;
    flex-direction: row;
    display: flex
;
    transition: 0.1s;
    position: relative !important;
    align-items: center;
    justify-content: center;
}

.flex_new_icon_svg_tojo{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.8em;
}

nav section article:nth-child(2) picture i a{
    color:inherit !important;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav section article:nth-child(2) picture i a:hover{
    color:var(--primary) !important;
}

.relative_favoris{
    position: relative !important;
}

nav section article:nth-child(2) picture i span {
    position: absolute;
    /* top: 0; */
    right: 0;
    /* background: #EE7563; */
    width: 1.8em;
    height: 1.8em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2.1em;
    margin-left: 2em;
    margin-right: -0.5em;
    font-size: 0.6em;
    font-weight: 600;
    font-family: 'montserrat';
    border-radius: 50%;
    color: #fff;
    /* outline: 2px solid white; */
}

/* nav section article:nth-child(2) picture i:hover {
    background: #e9e9e9;
} */

nav section article:nth-child(2) picture i svg {
    text-align: center;
    padding: 0.1em;
}

#Profile img {
    width: 3.2em;
    height: 3.2em;
    border-radius: 50%;
    /* object-fit: contain; */
    cursor: pointer;
    transition: 0.1s;
    outline: 1.5px solid #e0e0e0;
    /* border: 1.5px solid #fff; */
}
#Profile img:hover {
    opacity: 0.9;
}

#headerMobile {
    display: none;
}

#toggle {
    display: none;
}

#pop-show {
    position: absolute;
    background: #fff;
    border-radius: 1em;
    /* margin-left: -3em; */
    margin-top: 1em;
    overflow: hidden;
    border-top-right-radius: 0.5em;
    outline: 1px solid #d9d9d9;
    z-index: 999999999;
    display: none;
    right: 0;
}

.btn_post_ads_mobile{
    display: none !important;
}

@media only screen and (max-width:930px) {
    .btn_post_ads_mobile{
        display: block !important;
    }
}

#pop-show div {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#pop-show p {
    padding: 0;
    cursor: pointer;
    width: 15em;
    transition: 0.1s;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
    font-weight: 500!important;

}


#pop-show p a {
    padding: 1.3em; /* Mettre le padding sur le lien */
    cursor: pointer;
    width: 100%;
    transition: 0.1s;
    display: flex;
    flex-direction: row;
    gap: 0.8em;
    align-items: center;
    text-decoration: none;
    color: black;
}

#pop-show p:hover {
    background: #e9e9e9;
}


#pop-show p i {
    padding: 0;
    background: none;
}

/* Version mobile */
#pop-mobile-connecter p {
    padding: 0; /* Supprimer le padding du p */
    cursor: pointer;
    width: 15em;
    transition: 0.1s;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
}

#pop-mobile-connecter p a {
    padding: 1.3em; /* Mettre le padding sur le lien */
    cursor: pointer;
    width: 100%;
    transition: 0.1s;
    display: flex;
    flex-direction: row;
    gap: 0.8em;
    align-items: center;
    text-decoration: none;
    color: black;
}

#pop-show p:hover {
    background: #e9e9e9;

}

/* HEADER */
header {
    /* background: #f5f5f5; */
    background: #fff;
    padding: 0 3em;
}

header section {
    display: flex;
    flex-direction: row;
    justify-content: left !important;
    gap: 2em;
    background: #f5f5f5;
    width: 100%;
    margin: 0 auto;
    padding: 2em 0.5em;
    overflow-x: hidden;
}

header section article {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 2em;
    text-align: center;
}

header section article p {
    cursor: pointer;
    text-wrap: nowrap;
}

header section article i {
    font-size: 0.5em;
    color: #767575;
}


#i-search {
    display: none;
}
@media only screen and (max-width: 930px) {
    
    #navTransformation {
        display: block;
    }

    /* #navTransformationMobile {
        display: block;
        box-shadow: 0px 2px 4px 0px #00000026 !important;
        padding: 1.5em 2.5em !important;
    } */
     .btn-block{
        display: none;
     }

     .heart-mobile{
        display: none !important;
     }

     body .heart-p{
        display: block !important;
     }

     .search_new_header{
        display: none !important;
     }
}

.heart-p{
    display: none !important;
 }
.heart-p legend{
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
 }

.dropdown{
    text-decoration: none;
    color: black;
}


#pop-mobile-sign {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

#input-list{
    display: none;
}
#input-list-connect{
    display: none;
}

#pop-mobile-connecter {
    top: 0;
    right: 0;
    position: absolute;
    background: #fff;
    border-radius: 1em;
    /* margin-left: -11em; */
    margin-top: 5em;
    overflow: hidden;
    border-top-right-radius: 0.5em;
    outline: 1px solid #d9d9d9;
    z-index: 999999999;
    display: none;
}

#pop-mobile-connecter div {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#pop-mobile-connecter p {
    padding: 1.3em;
    cursor: pointer;
    width: 15em;
    transition: 0.1s;
    display: flex;
    flex-direction: row;
    gap: 0.8em;
    align-items: center;

}

#Profile {
    position: relative;
}

#pop-show div p:last-child{
    /* background: red; */
    display: none;
    }

#pop-mobile-sign {
    position: absolute;
    background: #fff;
    border-radius: 1em;
    margin-left: -11em;
    margin-top: 7em;
    overflow: hidden;
    border-top-right-radius: 0.5em;
    outline: 1px solid #d9d9d9;
    z-index: 999999999;
    margin-right: 2em;
    /* display: none; */
}

#pop-mobile-sign div {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#pop-mobile-sign p {
    padding: 1.3em;
    cursor: pointer;
    width: 15em;
    transition: 0.1s;
    display: flex;
    flex-direction: row;
    gap: 0.8em;
    align-items: center;

}


@media only screen and (max-width:930px) {
   
#pop-show p {
    width: 20em !important;
  

}
}