  nav{
    background-color: #fff;
    height: 70px;
    box-shadow: 0 1px 2px gray;   
    position: sticky; 
    top: 0; 
     z-index: 1000; 
    background-color: #fff;
}
nav ul{
    display: flex;
  align-items: center;
   justify-content: space-between; 
  list-style: none;
  padding: 10px 30px;
}
nav ul li a{
 text-decoration: none;
  color: grey;
  font-weight: 500;
  padding: 8px 12px;
  font-size: 13px;
}



nav ul li:first-child img {
  width: 35px;
  height: 35px;
  margin-right: 8px;

}
nav ul li:first-child a {
 color: black;
 padding-top: 15px;
 font-size: large;
 font-weight: bold;
font-style: italic;
}


nav.conx {
  color: black;
  font-weight: 400;
  font-size: large;
}
nav button {
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
nav .share {
  background-color: #ff6600;
  color: white;
}
nav .langue {
  background-color: #f2f2f2;
  color: #333;
} 
.menu-toggle{
    font-size: 20px;
    color: black;
    display: none;
}



@media (max-width: 992px) {
  nav ul li:not(:first-child) {
    display: none; 
  }

  .menu-toggle {
    display: block; 
  }
}



.v-h{
    display: flex;
}

.vertical {
 position: fixed;
    top: 80px;
    left: 0;
    width: 380px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border-right: 1px solid #ddd;
    box-shadow: 2px 0 8px rgba(0,0,0,0.05);
    z-index: 999;
    margin-left: 10px;
    margin-right: 10px;
}


.line1{
    display: flex;
    justify-content: space-between;
}

.vertical label {
  font-weight: 600;
  color: #6c6b6b;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

.vertical a {
  color: black;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}


.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  margin-bottom: 12px;
}

.input-group-text {
  background-color: #fafafa;
  border: none;
  padding: 10px 12px;
  display: flex;
  align-items: center;
}

.input-group-text img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

 .form-control {
  border: none;
  background: transparent;
  padding: 10px;
  font-size: 14px;
} 


 .input_group .input-group {
  width: 48%;
  display: inline-flex;
  justify-content: space-between;
} 

.btn-outline-secondary {
  border: 1px solid #ccc;
  color: #333;
  border-radius: 20px;
  padding: 6px 14px;
  background: #fff;
  font-size: 13px;
  margin-right: 6px;
}


.btn-primary {
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: #0056b3;
}

.choix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.choix img {
  width: 16px;
  margin-right: 8px;
}

.choix p {
  font-weight: bold;
  margin: 0;
  font-size: 13px;
  color: black;
}



.horizontale{
    width: 1200px;
    background-color: #f4f2f2;
    margin-left: 380px;

}
.img-pub{
    width: 100%;
    height: 300px;
    padding-top: 5px;
    padding-left: 40px;
    padding-right: 40px;
}
.btn-group{
    margin: 30px;
    padding-left: 10px;
}
.butn{
    padding: 10px;
    margin-right: 20px;
    border-radius: 50px;
    background-color: rgb(216, 214, 214);
    width: 60px;
    height: 60px;
    font-size: large;
    border: none;
}

.btn-p{
    color: rgb(194, 194, 194);
    text-align: center;
    color: black;
}
.btn-p i{
    color: red;
}

.anonce{
padding-left: 10px;
font-size: large;
font-weight: 40px;
padding-top: 0px;
}



.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
}

   .profile {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  
}

.profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}
.profile p{
    padding-left: 5px;
    padding-top: 10px;
    font-weight: bold;
}
.profile span{
    padding-left: 90px;
    color: orange;
}
.time{
    text-align: left;
    margin-left: 30px;
    color: rgb(180, 178, 178);
    font-size: small;
    padding-top: 0px;
}
.card main {
  font-size: 0.85rem;
  color: #777;
  padding-left: 60px;
  text-align: left;
}
.img-group{
    display: flex;
    overflow-x: auto;
    justify-content: 10px;
}
.img-group::-webkit-scrollbar{
    width: 0px;
}
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 10px;
  border-radius: 10px;
  margin-right: 10px;
}


.card-body {
  padding: 12px 16px;
}

.card-text {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 4px;
  text-align: left;
}

.card-title {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  text-transform: capitalize;
  margin-bottom: 8px;
  text-align: left;
}


.card-body button {
   background-color: #f4f4f4;
  border: none;
  padding: 6px 12px;
  margin-right: 2px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: black;
  display: inline-flex;
  border-radius: 0px;
  padding-left: 10px;
  justify-content: space-between;
 gap: 7px; 
 align-items: center;
 
}

.card-body button:hover {
  background-color: #e8e8e8;
}

.card-body p:last-child {
  font-weight: 700;
  color: #0080ff;
  font-size: 1.1rem;
  margin-top: 5px;
}


@media (max-width: 992px) {
  .v-h {
     flex-direction: column; 
  }
  .vertical {
     position: relative; 
    width: 100%;
    height: auto;
    margin: 10px auto;
     border: 1px solid #ddd; 
  }

  .horizontale {
    width: 100%;
    margin-left: 0;
  }

  .input_group .input-group {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  .btn-outline-secondary {
    width: 48%;
    margin-bottom: 10px;
  }

  .btn-group{
    padding-top: 10px;
  }

  .container .col {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .img-pub{
    padding-top: 80px;
  }
}

@media (max-width: 600px) {
  .vertical {
    position: relative; 
    width: 100%;
    height: auto;
    margin: 5px auto;
     border: 1px solid #ddd;
  }
  .btn-group{
    padding-top: 70px;
    margin: 10px;
    padding-left: 5px;
  }

.butn{
    padding: 10px;
    border-radius: 50px;
    background-color: rgb(216, 214, 214);
    width: 40px;
    height: 40px;
    border: none;
    font-size: small;
}

.btn-p{
    font-size: smaller;
}
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
