@media (min-width: 1401px) {
  .container {
    max-width: 1590px;
  }

  .h-mb {
    display: block;
  }

  .s-mb {
    display: none;
  }

  .navbar-brand img {
    height: 70px;
  }

  .flex-pc-block-mobile {
    display: flex;
  }

  .thematiquetable {
    display: unset;
  }

  .thematiquetable,
  .datefilter {
    width: 100%;
  }
}

/*`xxl` applies to x-large devices (large desktops, greater than 1400px)*/
@media (max-width: 1399.98px) {
  .h-mb {
    display: block;
  }

  .s-mb {
    display: none;
  }

  .navbar-brand img {
    height: 80px;
  }

  .navbar-nav {
    font-size: 15px;
  }

  .container {
    max-width: 1380px;
  }

  .imgSm {
    width: 306px;
  }

  .banner-section .owl-nav {
    display: none;
  }
}

/*// `xl` applies to large devices (desktops, less than 1280px)*/
@media (max-width: 1280px) {
  .h-mb {
    display: block;
  }

  .s-mb {
    display: none;
  }

  .navbar-brand img {
    height: 70px;
  }

  .navbar-nav {
    font-size: 15px;
  }

  .container {
    max-width: 1200px;
  }

  #main-menu .nav-link {
    font-size: 13px;
  }

  .flex-pc-block-mobile {
    display: flex;
  }

  .imgSm {
    width: 306px;
  }
}

/*// `lg` applies to medium devices (tablets, less than 1024px)*/
@media (max-width: 1024.98px) {
  .h-mb {
    display: block;
  }

  .s-mb {
    display: none;
  }

  .container {
    max-width: 1020px;
  }

  .flex-pc-block-mobile {
    display: flex;
  }

  .profil-sub-text {
    overflow-y: scroll;
    max-height: 65px;
  }
}

/*// `lg` applies to medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
  .h-mb {
    display: block;
  }

  .s-mb {
    display: none;
  }

  .container {
    max-width: 780px;
  }

  .captionsection-content h3 {
    font-size: 20px;
  }

  .dateholder {
    top: -76%;
  }

  .headofdepartmentdetails {
    width: 100%;
  }

  .info-headofdepartmentdetails {
    width: 100%;
  }

  .leministre {
    display: block;
  }

  .flex-pc-block-mobile {
    display: flex;
  }

  .access-rapide-slide .item {
    width: 290px !important;
    padding: 0 25px;
  }

  .comminquer-section {
    height: 650px !important;
  }

  .searchlink {
    width: 5%;
  }

  .auto-container {
    width: 100% !important;
    padding: 30px 15px !important;
    left: 0 !important;
    bottom: 0 !important;
  }

  .carousel-item .content-box h1 {
    font-size: 62px !important;
  }
}

/*// `sm` applies to x-small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
  .social-links-icons {
    padding-top: 10px;
  }
  .h-mb {
    display: none;
  }

  .s-mb {
    display: unset;
  }

  .container {
    max-width: 600px;
  }

  .top-header {
    justify-content: space-between;
  }

  .navbar-brand img {
    height: 45px;
  }

  .searchlink {
    border-radius: unset;
    border: unset;
    padding: unset;
  }

  /*.carousel-item-caption{*/
  /*    display: block;*/
  /*}*/
  .carousel-item .captionsection {
    width: 100%;
    height: 300px;
    top: 34%;
    position: absolute;
    left: 0;
    background-color: rgba(52, 64, 81, 1);
  }

  .carousel-item .imgcontent {
    width: 100%;
    height: 400px;
    background-size: contain;
  }

  .carousel-item .captionsection .captionsection-content {
    top: 20%;
  }

  .captionsection-content h3 {
    font-size: 17px;
  }

  .mot-du-ministre {
    display: block;
  }

  .mot-du-ministre .image-minstre {
    width: 100%;
  }

  .mot-du-ministre h1 {
    margin-top: 20px;
  }

  .mot-du-ministre .image-minstre img {
    display: block;
    margin: 0 auto;
  }

  .footer-rights-section {
    justify-content: unset;
    align-items: unset;
    text-align: center;
    display: block;
  }

  .footer-rights-section .navbar-brand img {
    width: 100%;
    height: 125px;
  }

  .crumbs {
    display: block;
  }

  .crumbs span,
  .crumbs p {
    white-space: nowrap;
    margin-bottom: 20px;
    /*margin-top: 20px;*/
    display: inline-block;
  }

  .leministre {
    display: block;
  }

  .headofdepartmentdetails {
    width: 100%;
  }

  .info-headofdepartmentdetails {
    width: 100%;
  }

  .flex-pc-block-mobile {
    display: block;
  }

  .imgSm {
    width: 100%;
  }

  footer h5 {
    text-align: center;
  }

  .access-rapide-slide .item {
    width: 280px !important;
    padding: 0 25px;
    margin: 0 auto;
  }

  .access-rapide-slide .item a h4 {
    text-align: center;
    font-size: 15px;
  }

  .actualite-content {
    height: 200px;
  }

  .actualite-content .date-thema {
    margin: 0 0 10px 0;
  }

  .comminquer-section {
    height: 450px !important;
  }

  .scroll-top {
    width: 40px;
    height: 40px;
    line-height: 29px;
    font-size: 20px;
  }

  .newsletter {
    width: 100%;
    margin: 0;
  }

  .auto-container {
    width: 100% !important;
    /* margin: 0 auto; */
    padding: 15px !important;
    height: 187px;
  }

  .carousel-item .content-box h1 {
    font-size: 35px !important;
  }

  .carousel-item .content-box p {
    font-size: 15px !important;
  }

  .carousel-item .content-box .btn-box .theme-btn {
    padding: 10px 25px !important;
  }

  .testResultbg {
    background-size: 500px;
    background-position-x: left;
  }

  .resultat-search {
    width: 100%;
  }

  .section-title {
    font-size: 15px;
  }

  .top-header a {
    margin: 0 2px;
  }
  .img-holder-cab .social-media {
    display: flex;
    align-items: center;
    justify-content: space-around;
    bottom: 0;
    height: 90px;
    width: 163px;
    left: 22px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 100%;
    border-bottom-left-radius: 100%;
  }
}

/*// `xs` applies to extra small devices (portrait phones, less than 375px)*/
@media (max-width: 375px) {
  .h-mb {
    display: none;
  }

  .flex-pc-block-mobile {
    display: block;
  }

  .s-mb {
    display: unset;
  }

  .comminquer-section {
    height: 250px !important;
  }

  .access-rapide-slide .item {
    width: 230px !important;
    padding: 0 25px;
    margin: 0 auto;
  }
}
