/***************men-top***********/
.navbar-light .navbar-toggler-icon {
  background-image: url("./../front/img/lines.svg") !important;
}
.navbar-light .navbar-toggler {
  border: none !important;
}
.customNav .second-btn {
  color: #d0112b !important;
  border: 2px solid #d0112b;
}
.customNav .navbar-brand img {
  width: 35% !important;
}
.marg_link{
  margin-left: 0px;
}
.customNav {
  visibility: visible !important;
  -webkit-box-shadow: 5px 5px 8px 5px rgba(224, 224, 224, 0.2);
  box-shadow: 5px 5px 8px 5px rgba(224, 224, 224, 0.2);
}
.style-menu {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  width: 100% !important;
  flex-grow: 1;
  text-align: center;
  margin-right: 70px;
}
.userdetails {
  width: 100% !important;
}
.logo {
  background-color: #ffff;
  padding: 1%;
  border-bottom-right-radius: 50px;
  margin-right: -5%;
}
.menu-top i {
  font-size: 30px;
  color: #2a2a2a;
  transition: 0.5s all;
  padding-right: 30px;
}
.menu-top-user-panel i {
  font-size: 30px;
  color: #2a2a2a;
  transition: 0.5s all;
}
.menu-top i:hover {
  color: #d0112b !important;
}
.menu-top-user-panel i:hover {
  color: #d0112b !important;
}
@media (max-width: 768px) {
  .nav-link.dropdown-toggle.dropbtn.user {
    display: none !important;
  }
}
.user-profile a#navbarDropdown {
  z-index: 999;
  color: #d0112b !important;
  font-size: 12px !important;
  padding: none;
  font-weight: 600 !important;
}
.m-f {
  color: #2a2a2a !important;
  transition: 0.5s all;
  padding-right: 30px !important;
  padding-left: 30px !important;
}
.m-f:hover {
  color: #d0112b !important;
}
.customNav .m-f {
  color: #2a2a2a !important;
}
.customNav .menu-top i {
  color: #2a2a2a !important;
}
.customNav .menu-top-user-panel i {
  color: #2a2a2a !important;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.icon-name {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.dropdown-content a:hover {
  background-color: rgba(221, 221, 221, 0.411);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.img-profil img {
  width: 35px;
  height: 35px;
  border-radius: 55%;
  border: 2px solid #c00020;
  background-color: #fff;
}
.dropbtn {
  background-color: transparent;
  color: #ffff;
  border-style: none;
}

.customNav .dropbtn {
  background-color: transparent;
  color: #2a2a2a !important;
  border-style: none;
}
#menu-log-in #navbarSupportedContent .nav-link {
  color: #2a2a2a !important;
  font-size: 15px;
  transition: 0.5s all;
  font-weight: 600 !important;
}
#menu-log-in #navbarSupportedContent .nav-link:hover {
  color: #c00020 !important;
}
#menu-log-in .dropdown-menu {
  border: none;
  -webkit-box-shadow: 0px 0px 7px 2px rgb(172 172 172 / 20%);
  box-shadow: 0px 0px 7px 2px rgb(172 172 172 / 20%);
}
#menu-log-in .dropdown-item {
  display: flex;
  align-items: center;
}
.notif {
  height: 335px;
  overflow: auto;
}

.notif .dropdown-item {
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  opacity: 0.6;
}
#menu-log-in .dropdown-item.lu,
#menu-log-in .dropdown-item.voir-plus-notif {
  opacity: 1;
}
#menu-log-in .dropdown-item.new {
  background-color: #e9ecef;
  opacity: 1;
}
ul.dropdown-menu.show {
  padding: 1rem 0rem;
}
#menu-log-in .dropdown-item i {
  padding-right: 10px;
  font-size: 18px;
}
/* .user-profile {
} */
.display-mobile {
  display: none;
}
.navbar .dropdown-toggle::after {
  content: " " !important;
}
a.display-desktop,
.display-mobile {
  position: relative;
}
.display-mobile:after {
  content: " " !important;
  background-color: #c00020;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  left: 23px;
  bottom: 17px;
}
a.display-desktop:after {
  content: " " !important;
  background-color: #c00020;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  left: 20px;
  bottom: 15px;
}

.font-icon {
  color: #d0112b;
}

.customNavs {
  right: 2%;
  top: 34%;
}
.item_menu_center {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 992px) and (max-width: 1354px) {
  .customNavs {
    right: 10%;
    top: 34%;
  }
}

/****************responsive*************/
@media (max-width: 1354px) {
  .navbar-nav {
    font-size: 0.8rem !important;
  }
  h4 {
    font-size: 2em;
  }
  .second-btn,
  .main-btn {
    padding: 15px 15px !important;
    border: 2px solid #d0112b;
  }
  .col-md-4 {
    width: 31% !important;
  }
  .userdetails .col-md-4 {
    width: 33% !important;
  }
  .formItem h3 {
    font-size: 25px;
    height: 90px;
  }
  .formItem p {
    font-size: 15px;
  }
}
@media screen and (min-width: 1200px) {
  #switch {
    margin-right: 120px;
  }
  /* #notif {
  } */

  /* #help {
            margin-right: none;
            padding-top: 10px;
        } */
  .user-profile {
    margin-right: none;
  }
  #dropdownUser {
    padding: 5px;
  }
}
@media screen and (max-width: 1200px) {
  .formItem h3 {
    font-size: 25px;
    height: 90px;
  }
  .formItem p {
    font-size: 15px;
  }
}
@media screen and (max-width: 1354px) {
  #switch {
    margin-right: none;
  }
  #notif {
    margin-right: none;
  }

  /* #help {
            margin-right: none;
            padding-top: 10px;
        } */

  .user-profile {
    margin-right: none;
  }

  #dropdownUser {
    padding: none;
    width: 100%;
    font-size: 14px;
  }
}
@media (min-width: 992px) and (max-width: 992px) {
  .mb-5.mt-5.slideInDown {
    width: 450% !important;
  }
  .col-lg-7 {
    margin-left: 30%;
  }
  #formulaires {
    margin-left: 1pc;
  }
}
@media (max-width: 992px) {
  nav.navbar {
    padding-top: 0;
    background-color: #fff;
  }
  h4 {
    font-size: 25px !important;
  }
  .logo img {
    width: 70%;
  }
  .titre-pres {
    margin-bottom: 15%;
  }
  .userdetails .col-md-4 {
    width: 100% !important;
  }
  .userdetails .col-md-9 {
    width: 100% !important;
  }
  .userdetails .col-md-3 {
    width: 100% !important;
  }
  svg {
    width: 70% !important;
    margin: auto;
  }
  .formItem {
    width: 90% !important;
    margin: auto;
    margin-top: 30px;
  }
  .navbar .navbar-nav {
    margin-top: 10px;
    background: #ffffff;
    flex-direction: row;
    justify-content: space-around !important;
  }
  .style-menu {
    flex-direction: column;
    gap: 5px;
    margin-right: 0px;
  }
  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
  .menu-top i {
    color: #d0112b !important;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .menu-top a {
    color: #2a2a2a !important;
    font-size: 20px;
  }
  .dropbtn {
    color: #2a2a2a !important;
    font-size: 20px;
  }
  .display-mobile {
    display: block;
    font-size: 25px;
    padding-right: 25px;
    color: #2a2a2a !important;
  }
  .display-mobile-show .dropdown-menu[data-bs-popper] {
    left: inherit !important;
    right: 0 !important;
  }
  .display-desktop {
    display: none;
  }
  .mobile-menu-nav {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  div#navbarCollapse .navbar-nav.ms-auto.p-4.p-lg-0 {
    width: 100%;
    text-align: center;
  }
  .navbar .second-btn {
    color: #d0112b !important;
    border-color: #d0112b !important;
    margin-top: 0 !important;
    /* margin-left: 25px !important; */
  }
}
@media (max-width: 991px) {
  .nav-link {
    /* margin-left: -30px !important; */
    border-color: #d0112b !important;
  }
  
  .icon-name {
    gap: 15px;
  }

  @media (max-width: 768px) {
    .footer .row {
      display: block !important;
    }
    .tagcloud {
      display: none;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      width: 2rem;
      height: 2rem;
    }
    .formItem h3 {
      font-size: 1rem !important;
    }
    .nav-link {
      /* margin-left: 25px !important; */
      border-color: #d0112b !important;
    }

    .formItem {
      height: 520px;
      margin-top: 30px;
    }
    .navbar-light .navbar-toggler {
      background-color: #fff !important;
    }
    .logo {
      width: 39% !important;
      padding: 2% 9% 2% 2% !important;
    }
    .navbar {
      padding-top: 0 !important;
      background-color: #fff;
    }
    .navbar .second-btn {
      color: #d0112b !important;
      border-color: #d0112b !important;
      margin-top: 10px !important;
    }
    #header-carousel .carousel-item {
      position: relative;
      min-height: 100vh;
    }
    .logo img {
      width: 60% !important;
    }
    .style-menu {
      flex-direction: column;
      gap: 5px;
      margin-right: 0px;
    }
    #header-carousel .carousel-item img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .carousel-caption {
      width: 80% !important;
      left: 10% !important;
    }
    .carousel-caption h4 {
      font-size: 1.2rem !important;
    }
    .about-img {
      margin-top: 0 !important;
    }
    .footer .col-lg-4 {
      text-align: center;
      padding-bottom: 25px;
      width: 80% !important;
      text-align: center;
      margin: auto !important;
    }
    .call-igppp svg {
      margin-bottom: 30px !important;
    }
    .navbar-toggler:focus {
      box-shadow: none !important;
    }
    .navbar .navbar-nav {
      width: 100% !important;
      flex-direction: row;
      justify-content: space-around !important;
    }
    .userdetails .col-md-3 {
      width: 100% !important;
    }
    .userdetails .col-md-9 {
      width: 100% !important;
    }
    .dropbtn {
      color: #2a2a2a !important;
    }
  }

  .dropdown-menu[data-bs-popper] {
    left: -43px !important;
  }
  @media (max-width: 476px) {
    .navbar .navbar-nav {
      width: 100% !important;
      flex-direction: row;
      justify-content: center !important;
    }
    .nav-link {
      padding: 0px;
    }
    .menu-top i {
      padding-right: 20px;
    }
    .mobile-menu-nav {
      gap: 4px !important;
    }
    #dropdown-menu-list {
      float: right;
    }
  }
}
