@media (max-width: 991px) {
  #header,
  #corps,
  .wrapper,
  .wrapper-main {
    min-width: 0 !important;
    width: 100% !important;
  }
  .main {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 12px !important;
    overflow: visible;
  }
  .menu_barre_top,
  .barre_top,
  .liste_resaux {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
  }
  #header .logo {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 8px auto;
    text-align: center;
  }
  #header .logo img,
  .img_logo {
    max-height: 52px;
    width: auto;
  }
  #header #menu,
  .bg_header #menu {
    float: none !important;
    width: 100% !important;
    text-align: center;
  }
  #menu ul {
    margin: 0;
    padding: 0;
    text-align: center;
  }
  #menu ul li {
    float: none !important;
    display: inline-block;
  }
  .block_content {
    padding-top: 140px;
  }
  .container,
  .search_block2.container {
    width: auto !important;
    max-width: 100% !important;
  }
  .search_block2 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
  .search_block2 .form-group.col-md-6 {
    width: 50%;
    float: left;
  }
  .search_block2 .col-md-9,
  .search_block2 .centred_btn {
    width: 100% !important;
    float: none !important;
  }
  .search_block2 .color_btn {
    width: 100%;
  }
  .search_block2 .block_social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
  }
  .search_block2 .block_social a {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
  }
  .search_block2 .block_social img {
    width: 36px;
    height: auto;
  }
  .content_home {
    margin-left: 8px;
    margin-right: 8px;
  }
  img,
  iframe,
  video {
    max-width: 100%;
  }
  .block_annonne .panel-body {
    padding: 12px;
  }
  .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0;
  }
  .pagination > li {
    float: none;
  }
}

@media (max-width: 767px) {
  .bg_header {
    justify-content: center;
    padding: 10px 12px 4px;
  }
  .bg_header .col-md-6 {
    display: none;
  }
  .bg_header .logo,
  .bg_header .pull-right,
  #header .logo {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
  }
  .bg_header .logo a,
  #header .logo a {
    display: inline-block;
  }
  .bg_header .img_logo,
  #header .img_logo {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .search_block2 .form-group.col-md-6 {
    width: 100%;
    float: none;
  }
  .block_home {
    width: 100% !important;
    float: none !important;
    margin: 0 0 12px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .sous_block_home {
    height: auto !important;
    min-height: 0;
  }
  .block_annonne .caption h2,
  .block_annonne .caption h2 a {
    font-size: 16px !important;
  }
  .espace-candidat {
    padding-left: 12px;
    padding-right: 12px;
  }
}

#cookieChoiceInfo {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 0 !important;
  padding: 14px 18px !important;
  background: #1c2430 !important;
  color: #fff !important;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 -8px 24px rgba(16, 24, 40, .28);
}
#cookieChoiceInfo span {
  flex: 1 1 260px;
  max-width: 820px;
}
#cookieChoiceInfo a {
  margin: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
}
#cookieChoiceInfo a:not(#cookieChoiceDismiss) {
  text-decoration: underline !important;
}
#cookieChoiceDismiss {
  display: inline-block;
  background: #c23b3b;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
}

.liste_resaux {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.liste_resaux a.link_res {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  padding: 0;
  border-radius: 10px;
  background: #eef2f6;
  color: #1c2430 !important;
  font-size: 15px;
  line-height: 1;
  text-transform: none;
  text-decoration: none;
}
.liste_resaux a.link_res span,
.liste_resaux a.link_res strong {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.liste_resaux a.link_res svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}
.liste_resaux a.link_res:hover {
  background: #1c2430;
  color: #fff !important;
}
.liste_resaux a.link_res:hover svg {
  fill: #fff;
}
