body {
  position: relative;
  overflow-x: hidden;
  background: #153F61;
  color: #D6DAD5;
  font-family: "Questrial", "Arial", sans-serif;
}

body,
html {
  height: 100%;
}

h2.claim {
  font-size: 50px;
  font-family: 'Bebas Neue', arial;
}

figure {
  margin: 0px;
}

.jumbotron {
  background: inherit;
}

#main {
  margin-top: 100px;
}

.main-content a,
.footer a {
  color: #fff;
}

.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
  background-color: transparent;
}

.navbar>.d-flex {
  height: 90px;
}

.navbar-transp {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-opaque {
  background-color: rgba(255, 255, 255, 1) !important;
}

.has-search .form-control {
  padding-left: 1.1rem;
  height: 50px;
  border-radius: 2rem;
  border: 5px solid #ced4da;
  font-size: 22px;
}

.has-search .form-control-feedback {
  position: absolute;
  z-index: 2;
  display: block;
  width: 2.675rem;
  height: 2.675rem;
  line-height: 2.875rem;
  text-align: center;
  pointer-events: none;
  color: #333;
  right: 26px;
  font-size: 26px;
}

.user-icon a:hover {
  text-decoration: none;
}

.form-control::placeholder {
  color: #ccc;
}

.form-control:focus {
  border: 5px solid #28B5D4;
}

/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/

#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled {
  padding-left: 280px;
}

#sidebar-wrapper {
  z-index: 1000;
  left: 280px;
  width: 0;
  height: 100%;
  margin-left: -280px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}

#wrapper.toggled #sidebar-wrapper {
  width: 280px;
}

#page-content-wrapper {
  width: 100%;
  padding-top: 0px;
}

#wrapper.toggled #page-content-wrapper {
  position: absolute;
  margin-right: -280px;
}

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/
.navbar {
  padding: 0;
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  position: relative;
  line-height: 20px;
  display: inline-block;
  width: 100%;
  padding: 20px 0px 20px 50px;
}

.sidebar-nav li a {
  display: block;
  color: #042e50;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
}

.sidebar-nav li a.social {
  display: inline-block;
  font-size: 22px;
}

.sidebar-nav li a.active {
  font-weight: bold;
}


.sidebar-header {
  text-align: center;
  position: relative;
  width: 100%;
  margin-top: 50px;
  display: inline-block;
}

.sidebar-brand {
  height: 65px;
  position: relative;
  background: #fff;
  padding-top: 1em;
}

.sidebar-brand a {
  color: #999;
}

.sidebar-brand a:hover {
  color: #999;
  text-decoration: none;
}

.dropdown-header {
  text-align: center;
  font-size: 1em;
  color: #999;
  background: #fff;
}

.sidebar-nav .dropdown-menu {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: none;
  background-color: #fff;
  box-shadow: none;
}

.dropdown-menu.show {
  top: 0;
}

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
  position: relative;
  z-index: 999;
  display: block;
  width: 40px;
  height: 36px;
  margin-left: 15px;
  background: transparent;
  border: none;
}

.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  outline: none;
}

.hamburger.is-closed:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px, 0, 0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom,
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  position: absolute;
  left: 10%;
  height: 5px;
  width: 100%;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom {
  background-color: #042e50;
}

.hamburger.is-closed .hamb-top {
  top: 4px;
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-middle {
  top: 50%;
  margin-top: -2px;
}

.hamburger.is-closed .hamb-bottom {
  bottom: 3px;
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-top {
  top: 4px;
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-bottom {
  bottom: 4px;
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  background-color: #042e50;
}

.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-bottom {
  top: 50%;
  margin-top: -2px;
}

.hamburger.is-open .hamb-top {
  -webkit-transform: rotate(45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73, 1, .28, .08);
}

.hamburger.is-open .hamb-middle {
  display: none;
}

.hamburger.is-open .hamb-bottom {
  -webkit-transform: rotate(-45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73, 1, .28, .08);
}

.hamburger.is-open:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-open:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px, 0, 0);
  -webkit-transition: all .35s ease-in-out;
}

h1.title,
h2.title,
h3.title,
h4.title,
h1.font-weight-bold {
  text-transform: uppercase;
  font-size: 32px;
  border-left: 3px solid #fff;
  padding: 0 0 0 20px;
  color: #D6DAD5;
  display: table;
  margin-bottom: 20px;
  font-family: 'Bebas Neue', arial;
}

a.btn-primary,
.btn-primary {
  color: #000;
  background-color: #ccc;
  border-color: #666;
  font-family: 'Bebas Neue';
}

.loader {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100px;
  height: 20px;
  margin: 150px auto;
}

.loader div {
  background-color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: bounce 0.5s infinite alternate;
}

.loader div:nth-child(2) {
  animation-delay: 0.1s;
}

.loader div:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-20px);
  }
}

.loading {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Marges constantes entre les cards */
  justify-content: center;
  /* Aligne les cards à gauche */
  margin-top: 20px;
}

.card {
  background: inherit;
  position: relative;
}

.card-container .card {
  background: inherit;
  border: 0;
  display: flex;
  flex-direction: column;
  max-width: 170px;
  /* Largeur fixe pour chaque card */
  padding: 10px 10px 0 10px;
  transition: background-color 0.3s ease;
}

.card-container .card-image {
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  /* Espace entre l'image et le texte */
}

.card-container .card-image img {
  width: 100%;
  height: auto;
}

.card-container .card-body {
  text-align: left;
  /* Texte aligné à gauche */
  padding: 0px;
}

.card-container .card-title {
  font-size: 1.2rem;
  margin: 0;
  height: 60px;
  overflow: hidden;
  line-height: 1.2rem;
}

.card-container .card-title a {
  text-decoration: none;
  color: inherit;
}

.card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.card:hover .play-button {
  opacity: 1;
  /* Devient visible au survol */
  bottom: 10px;
}

.play-button {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #153F61;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  vertical-align: middle;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  position: absolute;
  right: 8px;
  bottom: 0px;
  opacity: 0;
  transition: all 0.3s ease;
}

.play-button svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.slick-disabled {
  display: none !important;
}

.carousel .item {
  margin: 0 6px;
}

.embed-responsive .card-img-top {
  object-fit: cover;
}

a.page-link {
  color: #000;
}

.dropdown-flag {
  display: inline-block;
  margin-left: 10px;
  position: relative;
}

.dropdown-flag button {
  border: 0px;
  padding: 0px;
  background: transparent;
}

.dropdown-flag button img {
  width: 30px;
  height: auto;
}

.dropdown-flag-toggle {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 5px;
}

.dropdown-flag-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
  right: 0px;
}

.dropdown-flag-menu a {
  padding: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

.dropdown-flag-menu a:hover {
  background-color: #f1f1f1;
}

.dropdown-flag-menu img {
  margin-right: 10px;
}

.show {
  display: block;
}

#news_page .news-detail a {
  font-weight: bold;
  text-decoration: underline;
}

/* Regles lecteur petits ecrans : deplacees dans responsive.css, qui est
   charge apres player.css et peut donc reellement les appliquer. */



/* Extra small devices (phones, up to 480px) */
@media screen and (max-width: 767px) {

  .navbar-brand-logo img {
    max-width: 190px;
    height: auto;
  }

  h2.claim {
    font-size: 50px !important;
  }

  h1.title,
  h2.title,
  h3.title,
  h4.title,
  h1.font-weight-bold {
    font-size: 30px;
    padding: 0 0 0 10px;
  }

  .wall-container .card {
    max-width: 80px;
    padding: 0px;
  }

  .wall-container .card-title {
    font-size: 1rem;
  }

  .dropdown-flag .dropdown-toggle::after {
    display: none;
  }

  .dropdown-flag button img {
    width: 20px;
    height: auto;
  }
}

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
}

.slick-prev:before,
.slick-next:before {
  font-size: 40px;
}

.slick-next {
  right: -45px;
}

.slick-prev {
  left: -45px;
}