@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);
@import url(https://fonts.googleapis.com/css?family=Barlow+Condensed:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);
@import url(https://fonts.googleapis.com/css?family=Inter:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);

:root {
    --primary: #027580;
    --secondary: #F9C66E;
    --tertiary: #EE7563;
    --btn-link: #81BAC0;
}

*,
::before,
::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

li {
    list-style-type: none;
}

button,
input {
    font-family: 'montserrat';
    border: none;
    outline: none;
}

body {
    font-family: 'montserrat';
    background: #fff;
        font-size: 0.92em;

    overflow-x: hidden;
}

#MainBody {
    display: flex;
    flex-direction: column;
}

/* 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;
}

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;

}

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;
    /* background: red; */
    height: 3.5em;
    /* margin-left: 10em; */
}

#Profile {
    position: relative;
    height: 100% !important;
}
.btn-ctp {
    background: var(--primary);
    color: #fff;
    border-radius: 1em;
    padding: 1.35em 2.5em;
    font-weight: 700;
    cursor: pointer;
    text-wrap: nowrap;  height: 100%;
    flex-direction: row;
    display: flex
;
    align-items: center;
    border: 1px solid var(--primary);
    justify-content: center;
}

.btn-ctp:hover{
    opacity: 0.9;
}
.bg2 {
    background: none;
    border: 1px solid var(--primary);
    font-weight: 800;
    color: var(--primary);
}

nav section article:nth-child(2) picture 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;

}
#pop-show div p:last-child{
    /* background: red; */
    display: none;
    }
nav section article:nth-child(2) picture input {
    padding: 0.8em;
    height: 100%;
    width: 100%;
    text-overflow: ellipsis;
}


nav section article:nth-child(2) picture i {
    /* background: var(--primary); */
    /* color: #fff; */
    /* border-radius: 0.7em; */
    /* padding: 0.7em 0.8em; */
    /* cursor: pointer; */
}
nav section article:nth-child(2) picture i:hover {
    opacity: 0.9;
}
nav section article:nth-child(3) i {
    background: #f5f5f5;
    font-size: 1.5em;
    padding: 0.5em 0.7em;
    border-radius: 0.5em;
    cursor: pointer;
}

#headerMobile {
    display: none;
}

.header_newplace_icon {
    display: flex;
    gap: 1.2em;
    align-items: center;
    height: 3.5em;
    /* background: red; */
}

/* .header_newplace_icon input {
    padding: 0.8em;
    min-width: 30vw;
    background: none;
} */

.header_newplace_icon 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;
}

.relative_favoris{
    position: relative !important;
}

.header_newplace_icon 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: -3.2em;
    margin-left: 2em;
    margin-right: -0.3em;
    font-size: 0.8em;
    font-weight: 600;
    font-family: 'montserrat';
    border-radius: 50%;
    color: #fff;
}

/* .header_newplace_icon i:hover {
    background: #e9e9e9;
} */

.header_newplace_icon i svg {
    text-align: center;
    padding: 0.1em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999999999999999999999999999999999999999999999; 
    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;
}

@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;
}

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

/* 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;
}

/* FOOTER */
#footerMobile {
    display: none;
}

footer {
    background: #F7F7F7;
    margin-top: 15em;
}

footer section:nth-child(1) svg {
    /* height: 60vh; */
    position: absolute;
    margin-top: -7em;
    z-index: -1;
}

footer img {
    width: 126.71px;
    height: 85.26px;
}

footer section:where(:nth-child(2), :nth-child(3)) {
    display: flex;
    flex-direction: row;
    padding: 1.2em 6em;
    align-items: center;
    justify-content: space-between;
}

footer section:nth-child(2) article:nth-child(2) {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 5em;
}

footer section:nth-child(2) article:nth-child(2) div {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

footer section:nth-child(2) article:nth-child(2) div p {
    cursor: pointer;
}

.bold {
    font-weight: 700;
}

footer section:nth-child(3) {
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    padding: 1.2em 6em;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
}

footer section:nth-child(3) article:nth-child(1) {
    font-size: 1.8em;
    color: #D9D9D9;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-left: 0.3em;
}

footer section:nth-child(3) article:nth-child(1) i {
    cursor: pointer;
}

footer section:nth-child(3) article:nth-child(2) {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
}

footer section:nth-child(3) article:nth-child(2) button {
    background: var(--btn-link);
    border: 1px solid #FFFFFF;
    height: 75px;
    padding: 1.5em 2em;
    border-radius: 1em;
    display: flex;
    align-items: center;
    flex-direction: row;
    color: #fff;
    gap: 1em;
    cursor: pointer;
    text-wrap: nowrap;
}

footer section:nth-child(3) article:nth-child(2) button i {
    font-size: 2.5em;
    color: #fff;
    width: max-content;
}

footer section:nth-child(3) article:nth-child(2) button svg {
    width: 2.8em;
    height: 2.8em;

}

footer section:nth-child(3) article:nth-child(2) button p {
    font-size: 1.1em;
    text-align: left;
}

footer section:nth-child(3) article:nth-child(2) button p span {
    font-weight: 700;
}

footer section:last-child {
    display: flex;
    flex-direction: row;
    padding: 1.5em 6em;
    align-items: center;
    text-align: center;
    /* width: 80%; */
    justify-content: space-between;
    gap: 2em;
}

footer section:last-child p {
    font-weight: 400;
    cursor: pointer;
}

.post-ads {
    text-decoration: none;
    color: white;
  }

  .politique {
    text-decoration: none;
    color: #000;
  }
  .login{
    text-decoration: none;
    color: #027580;
  }
  
#Profile img {
    width: 3.5em;
    height: 3.5em;
    /* object-fit: contain; */
    cursor: pointer;
    border-radius: 50%;
}
#Profile img:hover {
    opacity: 0.9;
  }
#toggle {
    display: none;
}

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

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

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

}

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

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

}

