@import url(https://fonts.googleapis.com/css?family=Lato);

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
}

html {
  font: 1em/1.5 "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
}

body {
  font-size: 1.3em;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.mt-100 {
  margin-top: 100px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-10 {
  margin-top: 10px;
}

.mb-100 {
  padding-bottom: 100px;
}

.mb-70 {
  padding-bottom: 70px;
}

.mb-50 {
  padding-bottom: 50px;
}

.mb-30 {
  padding-bottom: 300px;
}

.mb-20 {
  padding-bottom: 20px;
}

.mb-10 {
  padding-bottom: 10px;
}

.pt-100 {
  padding-top: 100px;
}

.pt-70 {
  padding-top: 70px;
}

.pt-50 {
  padding-top: 50px;
}

.pt-30 {
  padding-top: 300px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-10 {
  padding-top: 10px;
}

.pb-100 {
  padding-bottom: 100px;
}

.pb-70 {
  padding-bottom: 70px;
}

.pb-50 {
  padding-bottom: 50px;
}

.pb-30 {
  padding-bottom: 300px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-10 {
  padding-bottom: 10px;
}

.logo img {
  margin-top: 80px;
  width: 50%;
}

.titlesite {
  background: #333333;
  color: #ffffff;
  padding: 5px 0px;
  text-align: center;
}

.epaphrodite h1 {
  font-size: 150px;
  font-weight: 100px;
  text-align: center;
  width: 80%;
}

.epaphrodite {
  margin-top: 5px;
}

.epaphrodite a {
  text-decoration: none;
  text-align: center;
  padding: 10px 40px;
  background: #ca0404;
  border: 1px solid #fff;
  border-radius: 40px;
  color: #ffffff;
  font-weight: bold;
}

.epaphrodite a:hover {
  background: #016D6D;
  color: #ffffff;
}

.form-control {
  color: #646464;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

.form-control:focus {
  border-color: #ccc;
  background-color: #fcfcfc;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#BtnValidate {
  width: 100%;
}

.form-control {
  padding-left: 0;
  padding-right: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  -webkit-box-shadow: 0 1px 0 #e6e6e6;
  box-shadow: 0 1px 0 #e6e6e6;
}

.form-control:focus {
  background-color: transparent;
  -webkit-box-shadow: 0 2px 0 #646464;
  box-shadow: 0 2px 0 #646464;
}

.loginImg img {
  width: 40%;
  margin-top: -100px;
}

.qrcodes {
  height: 100px;
}

.texthead {
  font-size: 20px;
  text-align: center;
}

.reponses {
  text-align: center;
  color: #ff4500;
  font-style: italic;
}

.informationtheme img {
  margin-top: -170px;
  width: 70%;
}

.cardform {
  margin: 270px auto 100px;
  width: 30%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 17px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #ffffff;
}

@media(max-width:767px) {
  .cardform {
    margin: 100px auto;
    width: 90%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 17px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #ffffff;
  }
}

#textarea_input {
  resize: none;
}


.pagination-button {
  cursor: pointer;
  padding: 5px 10px;
  background: #b59102;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
}

.pagination-number {
  cursor: pointer;
  border-radius: 7px;
  padding: 5px 10px;
  background: var(--dashboard-main);
  ;
  margin: 2px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
}

.pagination a {
  border-radius: 0px;
  padding: 5px 5px;
  background: var(--dashboard-main);
  ;
  margin: 2px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
}

.pagination .active {
  background-color: rgb(178, 4, 4);
  color: #fff;
}

.bi-envelope {
  text-decoration: none;
}

.container .row a {
  text-decoration: none;
}

.flashinfos i {
  font-size: 30px;
  line-height: 30px;
}

.bi-envelope {
  font-size: 30px;
  line-height: 30px;
}

.textinfo {
  padding-top: 10px;
  font-size: 13px;
  line-height: 13px;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
  font-size: 58px;
}

.flash-infos {
  color: red;

}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

header {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center center;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-image 0.5s ease-in-out;
}

header .overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #333 center no-repeat;
  background-size: cover;
  z-index: 0;
  opacity: 0;
  -webkit-filter: blur(4px);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.content {
  z-index: 1;
}

.image1 {
  background-image: url('../../img/bgEcolier.avif');
  background-size: cover;
}

.image2 {
  background-image: url('../../img/rimak1.jpg');
}

.image3 {
  background-image: url('../../img/bgEcolier2.avif');
}

.image4 {
  background-image: url('../../img/bgEcolier3.avif');
}

.image5 {
  background-image: url('../../img/bgEcolier5.jpg');
}
.image6 {
  background-image: url('../../img/rimak22.jpg');
}

header .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

header h1,
header h2 {
  margin: 0;
}

header h2 {
  text-transform: uppercase;
  margin-top: -.5em;
}

header hgroup {
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 8.3%;
  left: 6%;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 2;
  overflow: hidden;

}

.flash_card {
  height: 50px;
  background-color: #016D6D;
}

.content_flash {
  text-align: center;
}

img {
  margin-right: 20px
}

.site {
  padding: auto;
  text-align: center;
  background-color: #efefef;
  position: relative;
}

.site .navbar .nav-link {
  color: #e61d25;
  font-weight: 700;
  font-style: oblique;
  font-size: 15px;
}

.deroulant button {
  background: none;
  border: none;
  color: #e61d25;
  font-weight: 700;
  font-style: oblique;
  line-height: 10px;
  font-size: 15px;
  padding-left: 5px;
}

.deroulant .dropdown-menu {
  z-index: 997;
  margin-top: 50px;
  background: none;
  border: none;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}

.deroulant .dropdown-menu li a {
  font-size: 15px;
}

.deroulant button:hover {
  background: #fff;
  border: none;
  color: #2308be;
}

.site .navbar .nav-link:hover {
  color: #2308be;
}

.site nav a {
  padding: 10px 30px;
  font-size: 1.3em;
  display: inline-block
}

#navbarNav {
  background-color: #f8f8f8DB;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 11px;
}

nav #navbarNav ul li .nav-link {
  margin-right: 25px;
}

.container h2 {
  font-size: 1.5rem;
  color: #0d6efd;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
  position: relative;
}

.container h2::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ed0f0f;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.container h2:hover {
  background: linear-gradient(to right, #32baec, #ed0f0f);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: colorChange 4s infinite;
}

.container h2:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@keyframes colorChange {
  10% {
    color: #32baec;
  }

  40% {
    color: #e74c3c;
  }

  60% {
    color: #b14c98;
  }

  80% {
    color: #f6e72c;
  }

  50% {
    color: #93bf20;
  }
}


.container .card-group .card {
  border: none;
}

.margin-card {
  margin-right: 10px;
  margin-left: 10px;
}

.overlay-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.navbar {
  z-index: 1000;
}

.row-below-navbar {
  position: relative;
  z-index: 999;
}

.margin-card {
  margin: 15px;
}

.card-text {
  max-height: 420px;
  overflow: hidden;
}

.card-text.expandable {
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.container .card-img-fixed-height {
  height: 200px;
  object-fit: cover;
}

.truncate-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;
}

/***************************************ACTUALITE && EVENT ************************************/

.card-img-top {
  width: 100%;
  height: 200px; /* Vous pouvez ajuster cette hauteur selon vos préférences */
  object-fit: cover; /* Pour s'assurer que l'image couvre toute la zone */
  border-radius: 10px; /* Pour ajouter des bordures arrondies */
}

@media (max-width: 992px) {
  .card {
      width: calc(50% - 20px); /* Deux cartes par ligne sur les écrans plus petits */
  }
}

@media (max-width: 768px) {
  .card {
      width: 100%; /* Une carte par ligne sur les petits écrans */
  }
}


/***************PDF GALERIE************************/
.pdf {
  width: 100%;
  height: 600px; 
  border: none; 
}

/********************************************  PAGE CONTACT  *************************************************/
.card-text-fond,
.contact-form {
  background-color: #f8f8f8DB;
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 50px 0;
}

.contact-form {
  flex: 1;
}

.contact-form h4 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.form-control {
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 20px;
}

.container   a{
  /* color: #333; */
  text-decoration: none;
}

.form-control:focus {
  box-shadow: none;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  border-radius: 20px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.map-container h4,
.card-body h4 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.map-container {
  flex: 1;
  height: 400px;
  margin: 20px;
}

 /*************************************    ALBUM PHOTOS    ***********************************************/

.container-galerie {
  padding: 20px;
  background-color: #32baec;
}

.image-grid_photo {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr); /* 4 images par ligne */
}

.photo_image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Aspect ratio 1:1 pour créer un carré */
  overflow: hidden;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.photo_image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.card-footer-photo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
}

.footer-photo {
  font-size: 0.9em;
}

#galerie-photo-title {
  text-align: center;
}

.galerie-photo {
  text-align: center;
  font-size: 1.5em;
  padding: 20px;
}

@media (max-width: 1200px) {
  .image-grid_photo {
    grid-template-columns: repeat(3, 1fr); /* 3 images par ligne pour les écrans plus petits */
  }
}

@media (max-width: 992px) {
  .image-grid_photo {
    grid-template-columns: repeat(2, 1fr); /* 2 images par ligne pour les écrans encore plus petits */
  }
}

@media (max-width: 768px) {
  .image-grid_photo {
    grid-template-columns: 1fr; /* 1 image par ligne pour les petits écrans */
  }
}




/*************************************    ALBUM VIDEO    *****************************************************/

.container-video {
  padding: 20px;
  background: #ddd;
}

.video-grid-body {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr); /* 4 vidéos par ligne */
}

.video-wrapper-vid {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Aspect ratio 1:1 pour créer un carré */
  overflow: hidden;
  background-color: #000;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-wrapper-vid video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

#galerie-photo-title {
  text-align: center;
}

.text-center-video {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  padding: 20px;
}


/****************************************** Style du pied de page *******************************************/
footer {
  background-color: #086081;
  color: #fff;
  padding: 50px 0px;
  margin-left: -12px;
  margin-right: -12px;
  margin-top: 20px;
}

.index_footer mark {
  background: none;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
}

/* Alignement du texte dans le pied de page */
.footer-text {
  text-align: center;
}

/* Style pour les liens du pied de page */
footer a {
  color: #fff;
  text-decoration: none;
}

/* Style pour les liens du pied de page au survol */
footer a:hover {
  color: #e74c3c;
}

/* Pour réduire la marge par défaut du corps */
.container-fluid {
  margin: 0;
}