/*
 Theme Name:   Njooh Web
 Description:  Thème de base
 Author:       Brice Meye • (+237) 695-194-022 • ebess.core@gmail.com
 Author URI:   https://njoohweb.com
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  caleece
*/

@import url("./assets/css/fa-all.min.css");

:root {
  --theme-main-color: #2c47b5;
  --theme-secondary-color: #242424;
  --theme-main-font: "WorkSans", NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
  --theme-main-font-bold: "WorkSans Bold", NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
  --theme-secondary-font: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

@font-face {
  font-family: "WorkSans";
  font-weight: normal;
  font-style: normal;
  src: url(./assets/fonts/WorkSans-Regular.ttf);
}

@font-face {
  font-family: "WorkSans Bold";
  font-weight: normal;
  font-style: normal;
  src: url(./assets/fonts/WorkSans-Bold.ttf);
}

@font-face {
  font-family: "Cabin";
  font-weight: normal;
  font-style: normal;
  src: url(./assets/fonts/Cabin-Regular.ttf);
}

@font-face {
  font-family: "MavenPro";
  font-weight: normal;
  font-style: normal;
  src: url(./assets/fonts/Comfortaa-Medium.ttf);
}

/* TYPO */
h1,
h2,
h3,
h4,
.entry-header h1,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file {
  font-family: var(--theme-main-font-bold);
}

h1,
.heading-size-1 {
  font-size: 5.4rem;
}

h1.entry-title,
h2.entry-title {
  color: var(--theme-main-color);
}

h2 {
  font-size: 200%;
  margin-top: 50px;
  margin-bottom: 50px;
}

h2.wp-block-heading {
  margin-top: 80px !important;
  margin-bottom: 40px !important;
  color: var(--theme-main-color);
}

body,
.entry-content {
  /* background: #f5efe0; */
  letter-spacing: -0.015em;
  font-family: var(--theme-main-font);
  font-size: 1.5rem;
}

a,
.has-drop-cap:not(:focus)::first-letter,
.wp-block-button.is-style-outline,
.wp-block-pullquote::before {
  color: var(--theme-main-color);
}

blockquote {
  border-color: var(--theme-main-color);
}

button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.social-icons a,
.comment-reply-link,
.footer-social a {
  background-color: var(--theme-main-color);
  font-family: var(--theme-main-font);
  border-radius: 3px;
}

a.btn,
input.btn, button.btn {
  position: relative;
  top: 0;
  padding: 15px 30px;
  text-transform: initial !important;
  border-radius: 50px;
  /* background-color: transparent; */
  /* font-weight: bold; */
  border-width: 0;
  box-shadow: 0 5px 10px #ffa5b8;
  transition: background-color 500ms, box-shadow 500ms, top 500ms;
}

a.btn:hover,
input.btn:hover, button.btn:hover {
  top: -5px;
  box-shadow: 0 10px 40px #ffa5b8;
  transition: background-color 500ms, box-shadow 500ms, top 500ms;
}

a.btn.btn-primary {
  /* background: linear-gradient(to top right, #2c47b5 40%, red 160%); */
}

body:not(.overlay-header) .primary-menu>li>a,
body:not(.overlay-header) .primary-menu>li>.icon,
.modal-menu a,
.footer-menu a,
.footer-widgets a,
#site-footer .wp-block-button.is-style-outline,
.wp-block-pullquote::before,
.singular:not(.overlay-header) .entry-header a,
.archive-header a,
.header-footer-group .color-accent,
.header-footer-group .color-accent-hover:hover {
  color: var(--theme-main-color) !important;
}

button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn {
  padding: 0.4em 0.9em;
}

button,
.button,
.faux-button,
.wp-block-button__link,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn {
  font-size: inherit !important;
}

button .icone {
  display: inline-block;
  margin-right: 10px;
  font-size: 120%;
}

#post-inner .section-inner {
  max-width: 1100px !important;
  padding-bottom: 50px;
  padding-top: 30px;
}

.search-form .search-field {
  border-radius: 5px 0 0 5px;
}

.search-form .search-submit {
  margin-left: 0;
  border-radius: 0 5px 5px 0;
}

.flex {
  display: flex;
}

.h-spacer {
  flex: 1 1 auto;
}

.widget_text p,
.widget_text ol,
.widget_text ul,
.widget_text dl,
.widget_text dt,
.widget-content .rssSummary {
  font-family: var(--theme-main-font);
  letter-spacing: normal;
  font-size: 1.5rem;
}

.icon-button {

}

.icon-button svg.svg-icon {
  fill: white;
}

#colonne-laterale {}

#colonne-laterale .login {
  background-color: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 5px rgb(190, 190, 190);
}

#actualites h2 {
  display: inline-block;
  width: auto;
  background-color: #f5efe0;
  padding-left: 30px;
  padding-right: 30px;
  z-index: 1;
  position: relative;
}

#actualites .subsep {
  position: relative;
  left: 20px;
}

#actualites .subsep {
  border-top: 1px solid rgb(180, 180, 180);
  position: relative;
  top: 70px;
  z-index: 0;
}

.wp-block-column.is-layout-flow:nth-child(2):not(.no-padding) {
  padding-left: 10%;
  padding-right: 10%;
}

/* HEADER */
#site-header {
  /* background: transparent; */
  position: absolute;
  width: 100%;
  z-index: 98;
  top: 0;
  background-color: white;
}

#site-header ul.primary-menu li ul {
  background: var(--theme-main-color);
}

#site-header ul.primary-menu li.menu-item {
  display: flex;
  font-size: initial;
}

.primary-menu ul::before, .primary-menu ul::after {
  display: none;
}

#site-header .primary-menu ul.sub-menu {
  background: linear-gradient(to top right, var(--theme-main-color) 40%, darkred 120%);
  /* background-color: white; */
  /* border-top: 5px solid darkred; */
  z-index: 100;
  box-shadow: 0px 10px 20px rgb(220, 220, 220);
  border-radius: 10px;
  padding: 20px 0;
  width: 25rem;
  margin-top: -20px;
}

#site-header ul.primary-menu li.menu-item a {
  font-family: var(--theme-main-font);
  font-weight: bolder;
  padding: 20px 0;
}

#site-header ul.primary-menu li.menu-item .icon {
  position: relative;
  margin-left: 5px;
}

#site-header ul.primary-menu li.menu-item .menu-item a {
  font-family: var(--theme-main-font);
  color: white;
  /* color: var(--theme-main-color); */
  padding: 10px 20px;
  /* border-bottom: 1px solid rgb(220, 220, 220); */
  /* background-size: 200% 200%;
  animation: Animation 5s ease infinite; */
}

#site-header ul.primary-menu li.menu-item .menu-item a:hover {
  background: linear-gradient(to right, darkred 1%, transparent 60%);
  text-decoration: none;
  background-size: 200% 200%;
  animation: Animation 5s ease infinite;
}

@keyframes Animation {
  0%{background-position:10% 0%}
  50%{background-position:91% 100%}
  100%{background-position:10% 0%}
}

#site-header.has-featured-image {
  color: white;
  background: transparent !important;
}

#site-header.has-featured-image ul.primary-menu>li.menu-item>a {
  color: white !important;
}

#site-header.has-featured-image button * {
  color: white !important;
}

#site-header.has-featured-image button svg.svg-icon {
  fill: white;
  color: white;
}

#site-header.has-featured-image .primary-menu .icon::before, #site-header.has-featured-image .primary-menu .icon::after {
  background-color: white;
}

#site-header .site-logo img {
  height: 9rem;
  transition: height 500ms;
}

#site-header.sous-la-banniere {
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

#site-header.sous-la-banniere .site-logo img {
  height: 6rem;
  transition: height 500ms;
}

.site-description {
  padding: 0;
  margin: 0;
  font-size: 80%;
  max-width: 140px;
  position: relative;
  top: -10px;
}

.home .site-description {
  color: white !important;
}

.header-inner {
  padding: 1rem 0;
}

.entry-header {
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 100px;
  background-color: white !important;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 50px 50px rgb(220, 220, 222);
}


.singular .entry-header {
  padding: 10rem 0 2rem 0;
  background-color: transparent;
}

.entry-header.has-featured-image::before {
  background: rgba(0, 0, 0, 0.3)
    /*linear-gradient(to top, black, transparent)*/
  ;
  content: ' ';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.entry-header.has-featured-image {
  color: white;
}

.entry-header .entry-title {
  position: relative;
  text-align: left;
  font-size: 280%;
}

.entry-header .entry-title::after {
  content: " ";
  width: 100px;
  height: 5px;
  background: var(--theme-main-color);
  display: none;
  margin: auto;
  margin-top: 30px;
}

.entry-header.has-featured-image .entry-title::after {
  background-color: white;
  display: none;
}

.entry-header.has-featured-image::after {
  background-color: rgba(0, 0, 0, 0.4);
  display: block;
  position: absolute;
  content: " ";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.entry-header.has-featured-image h1.entry-title,
#site-header.has-featured-image .entry-header.has-featured-image h2.entry-title {
  color: white;
  z-index: 20;
  position: relative;
}

.singular .entry-header.has-featured-image {
  padding: 14rem 0 3rem 0;
}

#bouton-vers-bas {
  padding: 7px 15px;
  font-size: 2.5rem !important;
  position: relative;
}

.premier-titre {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

section .premier-titre {
  position: relative;
  top: -20px;
  font-weight: 100;
}

section .premier-titre::after {
  content: " ";
  width: 100px;
  height: 3px;
  background: var(--theme-main-color);
  display: block;
  margin: auto;
  margin-top: 20px;
}

section.blanc {
  color: white;
}

section.blanc .premier-titre::after {
  background: white;
}

/* POST */
.post-inner {
  padding-top: 5rem;
}

.entry-content {
  /* Regarder plus haut pres du body */
  /* font-family: var(--theme-main-font);
  font-size: 1.4rem; */
}

.entry-content> :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 80rem;
  width: calc(100% - 4rem);
}

.entry-content>.alignwide:not(.wp-block-group.has-background),
.entry-content>.alignfull:not(.wp-block-group.has-background) {
  /* margin-bottom: 1rem !important;
  margin-top: 1rem !important; */
}

.entry-content>.alignwide:not(.wp-block-group.has-background):first-child,
.entry-content>.alignfull:not(.wp-block-group.has-background):first-child {
  margin-bottom: 8rem;
  margin-top: 0rem;
}

.home #site-header {
  position: absolute;
  background: transparent;
}

.site-title {
  font-size: 4rem;
  font-weight: bolder;
  letter-spacing: -7px;
  position: relative;
  top: 10px;
}

section {}

#banniere {
  height: 100vh;
  background-size: cover;
  position: relative;
  background-image: url(assets/images/banniere-accueil.jpeg);
  background-size: cover;
}

#banniere::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 74, 174, 0.7);
  background-attachment: fixed;
}

#texte-banniere {
  /* z-index: 200 !important; */
  position: absolute;
  top: 70px;
  color: white;
  max-width: 650px;
  text-shadow: 0 2px 5px rgb(100, 100, 100);
}

#bouton-vers-bas-contenant {
  text-align: center;
  position: absolute;
  bottom: 50px;
  width: inherit;
}

/* #banniere::before, */
#carouselAccueil .carousel-inner::after {
  content: ' ';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

#banniere .titre {
  font-family: var(--theme-main-font);
  font-size: 13rem;
}

#banniere h1 {
  border-left: 15px solid darkblue;
  padding-left: 25px;
}

#banniere .motto {
  font-size: 3rem;
  line-height: 1.3em;
  position: relative;
  top: -2rem;
  padding-left: 40px;
}

#banniere .more {
  top: -1rem;
  position: relative;
}

#banniere .formulaire-recherche {
  position: absolute;
  bottom: 20%;
  width: 100%;
  z-index: 20;
}

#banniere .formulaire-recherche .titre-formulaire {
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.formulaire-recherche button {
  padding: 0.9rem 1rem !important;
  border-radius: 5px !important;
}

#apercus-services {
  padding-bottom: 3rem;
}

#apercus-services .apercu {
  position: relative;
  /* cursor: pointer; */
  top: 0;
  left: 0;
  transition: top 500ms, left 500ms;
  margin-bottom: 50px;
}

#apercus-services .apercu:hover {
  top: -10px;
  left: -5px;
  transition: top 500ms, left 500ms;
}

#apercus-services .apercu>.titre {
  position: relative;
  left: 10px;
  top: -30px;
}

#apercus-services .apercu>.titre span {
  background: linear-gradient(to top, orange, red);
  font-weight: bold;
  color: white;
  padding: 1rem 1.4rem;
  position: absolute;
  right: 0;
}

#apercus-services .apercu>.illustration {
  height: 250px;
  background-size: cover;
  box-shadow: 10px 10px 0 orange;
  /* border-left: 5px solid black; */
}

#apercus-services .apercu>.bouton {
  text-align: right;
  position: relative;
  left: 10px;
  /* top: 10px; */
}

#apercus-services .apercu button {
  background: black !important;
  font-size: 80% !important;
}

#numero-vert {
  background: linear-gradient(to top right, dodgerblue, purple);
}

#numero-vert .btn {
  border-width: 2px;
  /* margin-bottom: 10px; */
  /* font-weight: bold; */
  /* text-transform: none; */
}

#points-forts {
  background: linear-gradient(to top right, orange, red);
  padding-bottom: 1rem;
}

#points-forts .point {
  margin-bottom: 8rem;
}

#points-forts .icone-wrapper {
  padding-bottom: 30px;
}

#points-forts .icone {
  font-size: 10rem;
}

#news {
  /* background: white; */
}

#news .apercu {}

#news .apercu h5.titre {
  padding: 2rem 0 1rem 0;
  margin: 0;
}

#news .apercu {}

section#temoignages {
  /* background: green; */
  /* padding: 0; */
  /* padding: 0; */
  position: relative;
  /* height: 500px; */
  background-size: cover;
}

section#temoignages .premier-titre::after {
  display: none;
}

#temoignages .container {
  position: relative;
  max-width: 900px;
}

#carouselTemoignages {
  /* position: absolute; */
  /* top: 100px; */
  /* width: calc(100% - 30px); */
}

#carouselTemoignages .carousel-inner {
  position: relative;
}

#carouselTemoignages .carousel-item {
  position: relative;
}

#carouselTemoignages .carousel-item-content {
  /* position: absolute;
  bottom: 0; */
}

#carouselTemoignages .carousel-inner>img {
  /* height: 100px; */

}

#carouselTemoignages .photo-auteur {
  border-radius: 200px;
  height: 20rem;
  width: 20rem;
  background-size: cover;
  display: inline-block;
}

#carouselTemoignages .caption {
  max-width: 600px;
  width: 100%;
  position: relative;
}

#carouselTemoignages .nom-auteur {
  margin-top: 10px;
  margin-bottom: 10px;
}

#carouselTemoignages .contenu {
  /* font-style: italic; */
  font-family: var(--theme-main-font);
  opacity: 0.8;
  font-size: 90%;
  position: relative;
  padding-left: 10px;
}

#carouselTemoignages .caption .deco-quote-debut {
  font-size: 7rem;
  position: absolute;
  font-family: var(--theme-main-font);
  right: 0px;
  top: 0px;
  z-index: 99;
}

#carouselTemoignages .carousel-indicators {
  bottom: auto;
  top: -15px;
  margin-top: -30px;
}


/* FOOTER */

.footer-top {
  padding: 0.8em 0;
  border-bottom: 0.1rem solid #434343;
  display: flex;
}

#site-footer {
  padding: 0.5em 0;
  background-color: var(--theme-main-color);
  /* background: linear-gradient(to top right, #2c47b5 40%, darkred 90%); */
}

.footer-nav-widgets-wrapper.header-footer-group {
  box-shadow: 0 -30px 30px #ffc5d1;
  border-radius: 50px 50px 0 0;
  background: linear-gradient(to top right, #2c47b5 40%, darkred 160%);
}

.footer-nav-widgets-wrapper,
#site-footer {
  border-color: white !important;
  color: white;
}

.footer-copyright a,
.powered-by-wordpress a {
  color: inherit;
}

.footer-copyright {
  font-size: 80%;
  font-weight: 400;
}

.nav-toggle-wrapper {
  display: none;
}

.powered-by-wordpress {
  float: right;
  font-size: 80%;
  color: inherit;
}

.footer-widgets-outer-wrapper {
  padding: 2.5em 0;
}

.footer-widgets {
  font-size: initial;
  color: inherit;
}

.footer-widgets .widget_nav_menu a {
  font-weight: 400;
}

.footer-widgets #footer-contact-infos {
  min-width: 300px;
  font-size: initial !important;
}

#footer-contact-infos .ligne {
  display: flex;
  padding: 5px 0;
}

#footer-contact-infos .icone {
  width: 45px;
}

#footer-contact-infos .icone img {
  height: 30px;
}

#footer-contact-infos .texte {
  flex: auto;
}

#site-footer.widget_archive li,
#site-footer.widget_categories li,
#site-footer.widget_pages li,
#site-footer.widget_meta li,
#site-footer.widget_nav_menu li {
  color: white;
}

#site-footer .socials a {
  font-size: 130% !important;
  display: inline-block;
  height: 35px;
  width: 35px;
  line-height: 35px;
  text-align: center;
  /* border: 1px solid white; */
  /* border-radius: 50px;
  overflow: hidden; */
  margin-top: -13px;
  position: relative;
  top: 2px;
  opacity: 1;
  transition: opacity 500ms;
}

#site-footer .socials a:hover {
  /* background-color: white;
  color: var(--theme-main-color); */
  opacity: 0.5;
  transition: opacity 500ms;
}

#confirmation_inscription {
  max-width: 500px;
  margin: auto;
  margin-top: 70px;
  margin-bottom: 70px;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: white;
}

.footer-widgets .menu {
  font-size: inherit !important;
}

.footer-widgets .menu li {
  font-size: inherit !important;
}

.footer-widgets .menu li a {
  font-family: var(--theme-main-font);
  color: white !important;
  font-size: 1.5rem !important;
}

.footer-widgets .widget-title {
  color: white;
  font-family: var(--theme-main-font-bold);
  margin-bottom: 25px;
  padding-top: 20px;
  text-transform: capitalize;
  font-size: 2rem;
}

.footer-widgets .widget-title::after {
  display: block;
  content: ' ';
  width: 50px;
  border-top: 1px solid white;
  margin-top: 15px;
}

.footer-widgets-outer-wrapper {
  border-bottom-color: rgba(255, 255, 255, 0.3);
  /* 0.1rem solid #434343 */
}

.footer-social-wrapper {}

.contact-infos {
  font-family: var(--theme-main-font);
  display: flex;
}

.contact-infos>.bloc {
  min-width: 220px;
  display: flex;
  font-size: 1.4rem;
}

.contact-infos>.bloc>.info {
  flex-grow: auto;
}

.contact-infos>.bloc>.info>.label {
  opacity: 0.5;
}

.contact-infos>.bloc>.icon-wraper {
  color: var(--theme-main-color);
  font-size: 2.8rem;
  padding-right: 0.5em;
}

.newsletter-wraper {}

.newsletter-wraper input {
  flex-grow: auto;
  width: 100%;
  border-width: 0;
  /* padding: 0.2rem 0; */
  border-bottom: 1px solid rgb(220, 220, 220);
  background: transparent !important;
  color: white;
  font-family: var(--theme-main-font);
}

.newsletter-wraper input::placeholder {
  color: white;
  font-family: var(--theme-main-font);
}

.newsletter-wraper button {
  width: 7rem;
  height: auto !important;
  padding: 1rem 1rem !important;
  border-radius: 0 5px 5px 0;
}

.form-control {
  font-size: inherit;
  width: auto;
  display: inline-block;
  padding: 1rem .75rem !important;
  height: auto;
  margin-bottom: 10px;
  max-width: 100%;
  border-radius: 5px !important;
  font-family: inherit !important;
}

[class^="col-"],
.col,
.form-group {
  /* padding: 5px; */
}

.formulaire-recherche {
  padding: 50px 0;
  padding-bottom: 20px
}

.formulaire-recherche h4 {
  margin-top: 0;
}

.formulaire-recherche .container {
  margin: auto;
  padding: 0;
}

#carouselAccueil {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px !important;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

#carouselAccueil .carousel-item {
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#carouselAccueil .carousel-item img {
  margin: auto;
  min-height: 100vh;
  min-width: 100vw;
  width: auto !important;
}

a.btn {
  text-decoration: none;
}

.inline-icon {
  margin-right: 5px;
  display: inline-block;
  /* vertical-align: middle; */
}

.text-muted {
  font-size: 90%;
  opacity: 0.7;
}

.card {
  margin: 15px 0 !important;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-width: 0;
  top: 0;
  transition: top 500ms;
}

.card.card-link:hover {
  top: -5px;
  transition: top 500ms;
}

.card-body {
  padding: 15px 15px;
}

.card .text-muted {
  margin-top: 5px;
}

.card-img-wraper {
  height: 200px;
  background-size: cover;
  background-position: left top;
  position: relative;
}

.card-title {
  font-weight: 600;
  font-size: 18px !important;
}

.card .telephone {
  margin-top: 10px;
  padding-top: 5px;
  border-top: 1px solid rgb(220, 220, 220);
}

.card-body .fa {
  display: inline-block;
  padding-right: 10px;
}

.beau-survol {
  position: relative;
  top: 0;
  transition: top 400ms;
  /* cursor: pointer; */
}

.beau-survol:hover {
  top: -20px;
  transition: top 400ms;
}

.--belle-image {
  border-radius: 5px;
}

.--cliquable {
  cursor: pointer;
}

#resume-sections-site {
  padding: 80px 0;
}

.resume-section {
  height: 500px;
  position: relative;
  overflow: hidden;
  margin: 10px 0;
  border-radius: 10px;
  /* border: 1px solid #e00030; */
}

.resume-section .illustrations {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.resume-section .illustration {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  opacity: 0;
  transition: opacity 1500ms;
}

.resume-section .illustration.active {
  opacity: 1;
  transition: opacity 1500ms;
}

.resume-section .resume {
  position: absolute;
  padding: 50px 20px 20px 20px;
  background: linear-gradient(to top, #e00030 50%, transparent);
  bottom: 0;
  left: 0;
  color: white;
  text-shadow: 0 2px solid rgba(0, 0, 0, 0.2);
}

#passage-consortium {
  background-color: white;
  padding: 15rem 0;
  background: url(assets/images/flowers-bg-gauche-haut.png) top left /35%,
    url(assets/images/flowers-bg-droit-bas.png) bottom right /25%, #ffdee5;
  background-repeat: no-repeat;
  /* background-size: 50%; */
}

#passage-consortium .inner {
  max-width: 600px;
  margin: auto;
  opacity: 0.7;
  /* color: rgb(95, 24, 3); */
}

#passage-consortium .passage {
  /* font-style: italic; */
  font-size: 2.3rem;
  font-weight: 100;
}

.quote {
  position: absolute;
  font-size: 20rem;
  line-height: 8rem;
  /* font-family: 'arial', Courier, monospace; */
}

.quote-gauche {
  margin-left: -20px;
}

.quote-droite {
  /* position: relative; */
  margin-top: 50px;
  margin-left: 20px;
}

.membre-bureau {}

.membre-bureau .nom {
  font-weight: bold;
}

#evenements-slide {
  min-height: 400px;
}

#evenements-slide h5 a {
  font-weight: 100 !important;
  float: right; 
  font-size: 15px;
  position: relative;
  top: 5px;
  color: darkred;
  /* text-decoration: none; */
  text-transform: capitalize;
}

#evenements-slide h5 a img {
  height: 12px;
  display: inline;
  padding-left: 5px;
  fill: blue;
  display: none;
}

#evenements-slide .contenant {
  position: relative;
  top: -10px;
}

#evenements-slide .element {
  position: absolute;
  opacity: 0;
  top: 30px;
  transition: opacity 1500ms, top 1000ms;
  width: 100%;
}

#evenements-slide .element.active {
  opacity: 1;
  top: 0;
  transition: opacity 1500ms, top 1000ms;
}

.apercu-post-date {
  position: absolute;
  padding: 3px 7px;
  border-radius: 5px;
  color: white !important;
  background-color: darkred;
  top: 10px;
  right: 10px;
  font-size: 90%;
}

.image-sous-banniere {
  border-radius: 0;
  border: 4px solid white;
  position: relative;
  top: -50px;
  max-height: 500px;
  display: inline-block;
  box-shadow: 0 30px 30px rgb(180, 180, 180);
}

.galerie [class^="col-"] {
  vertical-align: baseline;
}

.galerie a.element {
  color: inherit !important;
  text-decoration: none;
}

.galerie a.element:hover {
  text-decoration: underline;
}

.galerie .element img,
.galerie .element video {
  display: inline-block;
  border-radius: 10px !important;
}

.galerie .element img.icone {
  width: auto !important;
  display: inline-block;
  height: 40px;
}

.galerie .element video {
  width: 100%;
}

.galerie .libelle {
  padding-top: 10px;
  padding-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 5px;
}

.form-group input[type="date"],
.form-group input[type="number"] {
  width: auto;
  padding: 1px;
}

.photo-contenant {
  background-size: cover;
  min-height: 150px;
  background-position: top center;
}

figure img, figure video {
  width: 100%;
  display: block;
  border-radius: 10px !important;
}

figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 10px;
  break-inside: avoid;
  position: relative;
  /* overflow: hidden; */
}

figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

figure img.icone {
  height: 80px;
  width: auto;
  display: inline-block;
}

.gallery-container a {
  color: black;
  text-decoration: none !important;
}

figcaption {
  margin-top: 0;
  grid-row: 2;
  grid-column: 1;
  background-color: rgba(255,255,255,.9);
  padding: .7em 1em;
  justify-self: start;
  width: 100%;
  bottom: 0;
  left: 0;
  /* position: absolute; */
  border-radius: 10px;
  color: black !important;
  text-decoration: none !important;
}

.gallery-container {
  column-count: 3;
  column-gap: 10px;
}

.activite {
  display: flex;
  margin: 20px 0;
}

.activite .numero {
  font-size: 50px;
  width: 50px !important;
  min-width: 50px;
  border-right: 1px solid rgb(150, 150, 150);
  font-weight: 100;
  color: var(--theme-main-color);
}

.activite .contenu {
  flex: auto;  
  display: flex;
  justify-content: center;
  align-items: center; 
  padding-left: 20px;
}

.activite .contenu div {
  /* display: inline-block; */
  width: 100%;

}

#site-footer a#toTheTop {
  color: white !important;
  position: fixed;
  bottom: 50px;
  right: 20px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: var(--theme-main-color);
  border-radius: 100px;
  font-size: large;
  transition: bottom 500ms;
  box-shadow: 0 5px 10px #ffa5b8;
  /* border: 1px solid white; */
}

#site-footer a#toTheTop:hover {
  bottom: 60px;
  transition: bottom 500ms;
}

.mode-paiement {
  display: flex;
  margin: 10px 0;
  border-radius: 5px;
  transition: background-color 500ms;
  padding: 10px 10px;
}

.mode-paiement:hover {
  background-color: rgb(220, 220, 220);
  transition: background-color 500ms;
}

.mode-paiement a {
  text-decoration: none !important;
  color: initial;
}

.mode-paiement .logo {
  padding-right: 15px;
}

.mode-paiement .logo img {
  height: 40px;
}

.mode-paiement .numero {
  flex: auto;
  line-height: 40px;
  font-size: 120%;
  font-weight: bolder;
}

.ctrl-errored input {
  border-color: red;
}

.ctrl-errored .text-muted {
  color: red !important;
  opacity: 1;
}

.wp-block-column > h2:first-child {
  margin-top: 0 !important;
}

.card-img-wraper.no-image {
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}


@media only screen and (max-width: 700px) {

  h1,
  .heading-size-1 {
    font-size: 4.4rem;
  }

  .nav-toggle-wrapper.toggle-wrapper {
    display: inline-block;
  }

  .footer-top {
    display: block;
  }

  .contact-infos {
    display: block;
  }

  .contact-infos>.bloc {
    display: flex;
    margin: 20px 0;
  }

  .wp-block-media-text .wp-block-media-text__content {
    padding: 3rem 0rem;
  }

  #banniere .form-control,
  #banniere button {
    display: block;
    width: 100%;
  }

  #colonne-laterale {
    display: none;
  }

  .wp-block-column.is-layout-flow:nth-child(2) {
    padding-left: 0;
    padding-right: 0;
  }

  .gallery-container {
    column-count: 1;
    /* column-gap: 0; */
  }

  .wp-block-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

@media only screen and (max-width: 400px) {
  .gallery-container {
    column-count: 0;
    column-gap: 0;
  }
}