/* Globals */


body {
    box-sizing: border-box;
    padding: 0;
}

header {
        z-index: 3;
    position: relative;
}

#main-content {
    z-index: 2;
    position: relative;
}

footer {
    z-index: 1;
    position: relative;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 30px;
}

.custom-btn-with-arrow {
    font-size: 20px;
    color: #FAF6EF;
    border-radius: 25px;
    background-color: #BA1919;
    padding: .3em 4rem .3em 2rem;
    transition: all 300ms ease 0ms;
    position: relative;
    line-height: 1.7em;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
}

.custom-btn-with-arrow:hover {
    background-color: #0040BC;
    cursor: pointer;
}

.custom-btn-with-arrow:after {
    content: '' !important;
    width: 23px;
    height: 23px;
    background-image: url(/wp-content/uploads/2025/05/icon-arrow-button.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 12px;
    right: 12px;
    position: absolute;
}

.input.et_pb_contact_captcha {
    border: solid 1px #ccc;
    padding: .5rem 2rem;
}

.et_contact_bottom_container {
    display: flex;
    align-items: center;
}

.et_contact_bottom_container .et_pb_contact_right p.clearfix {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Loader */

.loader-container {
    overflow: hidden;
    background: #FAF6EF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999999;
    width: 100vw;
    height: 100vh;
}

.loader-container .loader-text {
    font-size: 4rem;
    color: #BA1919;
    line-height: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
    font-weight: bold;
}

/* HTML: <div class="loader"></div> */
.loader-container .loader {    
  --r1: 154%;
  --r2: 68.5%;
  width: 60px;
  aspect-ratio: 1;
  border-radius: 50%; 
  background:
    radial-gradient(var(--r1) var(--r2) at top   ,#0000 79.5%,#BA1919 80%),
    radial-gradient(var(--r1) var(--r2) at bottom,#BA1919 79.5%,#0000 80%),
    radial-gradient(var(--r1) var(--r2) at top   ,#0000 79.5%,#BA1919 80%),
    #fff;
  background-size: 50.5% 220%;
  background-position: -100% 0%,0% 0%,100% 0%;
  background-repeat:no-repeat;
  animation: l9 2s infinite linear;
}
@keyframes l9 {
    33%  {background-position:    0% 33% ,100% 33% ,200% 33% }
    66%  {background-position: -100%  66%,0%   66% ,100% 66% }
    100% {background-position:    0% 100%,100% 100%,200% 100%}
}


/* Navigation */

.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(2rem);
}

.wp-pagenavi a, .wp-pagenavi span {
    border: 1px solid #e1e1e1;
    padding: 4px 10px;
    color: inherit;
    transition: all 300ms ease;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #000;
    background-color: #000;
    color: white;
}

/* Flip Book */

.df-popup-thumb .df-book-wrapper {
    height: 270px;
}

.df-popup-thumb .df-book-cover {
    height: 100%;
}

.df-popup-thumb img {
    height: 80% !important;
    object-fit: cover;
}

.df-popup-thumb .df-book-title {
    bottom: 0 !important;
    opacity: 1 !important;
}

/* Sitemap */

.sitemap-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 1500px;
    margin: auto;
    gap: 2%;
}

.sitemap-group-item:nth-child(odd) {
    background-color: #f5f5f5 !important;
}

.sitemap-group {
    min-width: 49%;
    border: 1px solid #ededed;
    border-bottom-width: 3px;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.sitemap-group-title {
    padding: 1rem;
    background-color: #d1d1d1;
    font-size: 22px;
}

.sitemap-group-items {
    padding: 0;
}

.sitemap-group-item {
    padding: .5rem 1rem;
    transition: all 300ms ease;
}

.sitemap-group-item:hover {
    background-color: #dfdfdf !important;
}

.sitemap-group-item h3 {
    font-size: 18px;
    line-height: 22px;
    font-weight: normal;
    padding: 0;
}

/* Custom Read more button */
.custom-readme-btn {
    color: #000000;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    background-color: #ffffff;
    transition: all 300ms ease 0ms;
    padding: 0.75rem 2rem;
}

.custom-readme-btn:before {
    content: url(/wp-content/uploads/2025/04/icon-read-more.svg) !important;
    position: absolute;
    left: -2rem;
    top: 0;
    width: 45px;
    height: 47px;
    z-index: 10;
    background-color: white;
    border-radius: 100%;
    padding: 4px 1.75px 0 1.75px;
    transition: all 800ms ease;
}

.custom-readme-btn.custom-readme-btn-blue {
    color: #FFFFFF;
    background-color: #0040BC;
}

.custom-readme-btn.custom-readme-btn-blue:before {
    content: url(/wp-content/uploads/2025/05/icon-read-more-blue.svg) !important;
    background-color: #0040BC;
}

.custom-readme-btn.custom-readme-btn-blue:hover:before {
    left: calc(100% - 1rem);
}

/* Home news slide */


.home-slide-news-container-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.home-slide-news-container-header span {
    margin-right: 2rem;
}

.home-slide-news-container-header button.slick-arrow {
    background-color: transparent;
    border: solid 1px #DCDCDC;
    border-radius: 8px;
    padding: 7px 9px;
    color: #0040BC;
    font-size: 16px;
    margin: 0 .5rem;
    transition: all 300ms ease;
}

.home-slide-news-container-header button.slick-arrow:hover {
    color: white;
    background-color: #0040BC;
}

.home-slide-news-container {
    margin-bottom: 2rem;
}

.home-slide-news-container .slide-news-item-thumb img {

    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 25px;
    min-height: 350px;
    max-height: 540px;

}

.home-slide-news-container .slide-news-item-data {
    position: absolute;
    left: 4%;
    bottom: 7%;
    background-color: rgb(212 175 55 / 93%);
    border-radius: 25px;
    max-width: 50%;
    padding: 2rem;
}

.home-slide-news-container .slide-news-item-title {
    font-size: 30px;
    font-weight: 700;
    padding-bottom: .5rem;
    color: #2F2F2F;
}

.home-slide-news-container .slide-news-item-date {
    line-height: 1rem;
    margin-bottom: 1rem;
}

.home-slide-news-container .slide-news-item-excerpt {
    line-height: 2rem;
}

.slide-news-item-reedmore {
    position: absolute;
    right: 5%;
    bottom: 5%;
    display: flex;
    align-items: center;
}

.slider-news-nav .slide-news-item {
    padding: 0 1rem;
}

.slider-news-nav .slider-news-nav-thumb {
    position: relative;
}

.slider-news-nav .slider-news-nav-thumb img {
    border-radius: 25px;
    height: 240px;
    object-fit: cover;
}

.slider-news-nav .slide-news-item-title {
    font-weight: 700;
    line-height: 1.75rem;
    padding-bottom: 0;
    color: #2F2F2F;
}

.slider-news-nav .slide-news-item-data {
    padding: 1rem;
}

.slider-news-nav .slide-news-item-reedmore {
    right: 10%;
}

/* Home commitments Slide */

.home-slide-commitments-container .home-slide-commitments-item img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 25px;
}

.home-slide-commitments-container .home-slide-commitments-item .home-slide-commitments-item-content {
    margin-top: 1rem;
}

.home-slide-commitments-container .home-slide-commitments-item .home-slide-commitments-item-content h3 {
    font-size: 2rem;
}

.home-slide-commitments-nav-item-img:before {
    background-color: rgb(212 175 55 / 30%);
    border-radius: 25px;
    left: 0;
    top: 0;
    position: absolute;
    content: '';
    z-index: 1000;
    display: block;
    width: 100%;
    height: 100%;
}

.slider-commitments-nav .nav-item {
    position: relative;
    height: 285px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 25px;
    margin: 0 1rem;
}

.home-slide-commitments-nav-item-img {
    height: 100%;
}

.slider-commitments-nav .nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    filter: blur(1px);
}

.home-slide-commitments-nav-item-content {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1001;
}

.slider-commitments-nav .nav-item h3 {
    color: white;
    font-family: 'Lato', sans-serif;
}

.slider-commitments-nav .nav-item.slick-current.slick-active {
    display: none;
}

.slider-commitments-nav .slick-dots {
    display: flex;
    justify-content: space-between;
    background-color: #FAFAFA;
    border-radius: 3px;
    list-style: none;
    padding: 0;
    height: 11px;
    margin: 3rem 0 0;   
}

.slider-commitments-nav .slick-dots li {
    display: flex;
    background-color: #edecec;
    transition: all 300ms linear;
}

.slider-commitments-nav .slick-dots li button {
    border: none;
    background-color: transparent;
    max-height: 11px;
    font-size: 0;
    height: 11px;
    width: 100%;
}

.slider-commitments-nav .slick-dots li.slick-active {
    background-color: #BA1919;
/*    width: 30%;*/
    border-radius: 3px;
}

/* Bureau */

.home-slide-members-item-content {
    padding: 2rem 0;
}

.home-slide-members-item {
    display: flex !important;
    /*align-items: center;*/
    gap: 2rem;
}

.home-slide-members-item-img, .home-slide-members-item-content {
    width: 50%;
}

.home-slide-members-item-img img {
    object-fit: cover;
    border-radius: 25px;
    margin: auto;
    display: block;
    height: 500px;
    width: 100%;
}

.home-slide-members-item h3 {
    color: black;
    font-size: 30px;
    font-family: 'Lato', sans-serif;
}

.home-slide-members-item a.member_mail, .home-slide-members-item a.member_phone {
    display: inline-block;
    background-color: #BA1919;
    color: white;
    text-align: center;
    padding: .5rem 3rem;
    /*width: 100%;*/
    max-width: 250px;
    border-radius: 22px;
}

.home-slide-members-item a.member_phone {
    margin-bottom: 1rem;
    transition: all 300ms ease;
}

.home-slide-members-item a:hover {
    opacity: .75;
}

.home-slide-members-item-description {
    margin-top: 1rem;
}

p.member_fonction {
    color: black;
    font-size: 22px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 2rem;
}

.slider-members-nav {
    display: flex;
    justify-content: flex-start;
    /*align-items: center;*/
    height: 100%;
    flex-wrap: wrap;
    margin: auto;
    /*max-width: 500px;*/
}

.slider-members-nav .nav-item.slick-current.slick-active, .slider-members-nav .nav-item:hover {
    color: #0040BC;
}

.slider-members-nav .nav-item.slick-current.slick-active .home-slide-members-nav-item-function, 
.slider-members-nav .nav-item:hover .home-slide-members-nav-item-function {
    background-color: #0040BC;
}

.home-slide-members-nav-item-function {
    background-color: #AFBFE0;
    color: white;
    padding: .5rem 1rem;
    border-radius: 15px;
    font-size: 14px;
    transition: all 300ms ease;
}

.home-slide-members-nav-item-name {
    margin-bottom: .25rem;
    font-size: 22px;
}

.slider-members-nav .nav-item {
    color: #AFBFE0;
    text-align: center;
    width: 100%;
    margin: 1rem;
    max-width: 240px;
    transition: all 300ms ease;
}

.slider-members-nav-shortcode .et_pb_text_inner {
    height: 100%;
}

.slider-members-nav .slick-list.draggable {
    height: auto !important;
}

.slider-members-nav .slick-track, .slider-members-nav .slick-list {
    transform: none !important;
    height: auto !important;
}

.slider-members-nav .nav-item.slick-cloned {
    display: none;
}

/* Chapitres Single */

.custom-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.custom-card-item {
    position: relative;
    width: 24% !important;
    max-width: 400px;
    background-color: white;
    margin-bottom: 2rem;
    overflow: hidden;
}

.custom-card-item-content {
    transform: translateY(-200%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F2E7C2;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 500ms ease;
}



.custom-card-item:hover .custom-card-item-content {
    transform: translateY(0);
}

.custom-card-item-img img {
    height: 420px;
    object-fit: cover;
    width: 100%;
    object-position: top;
}

.custom-card-item-img h4 {
    color: #0040BC !important;
    text-align: center;
    margin: 1rem auto;
    font-weight: bold;
}

.custom-card-item-links {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.custom-card-item-links a {
    font-size: 27px;
    color: #2F2F2F !important;
    margin: 0 .25rem;
    height: 32px;
    line-height: 37px;
    padding: 0;
    width: 32px;
    text-align: center;
}

.custom-card-item-links img {
    height: 100%;
    margin-top: 6px;
    display: block;
}

.custom-card-item-description {
    text-align: center;
}

.partenaires .custom-card-item {
    border: solid 1px #f1f1f1;
}

.partenaires .custom-card-item-img {
    height: 100%;
}

.partenaires .custom-card-item-img img {
    height: auto;
    border-bottom: solid 1px #f1f1f1;
}

.partenaires .custom-card-item-content {
    transform: translateX(200%);
    background-color: #BCCBD2;
}

.custom-card-item-img h3 {
    text-align: center;
}

.partenaires .custom-card-item-img h4 {
    color: #0040BC !important;
    font-weight: 500;
    font-size: 1.75rem;
    padding: 0 .5rem;
}

.partenaires .custom-card-item-data, .intronises .custom-card-item-data {
    text-align: center;
}

.partenaires .custom-card-item-data-entreprise, .intronises .custom-card-item-data-entreprise  {
    font-weight: bold;
    font-size: 120%;
    line-height: 120%;
}

.partenaires .custom-card-item-data-services {
    font-weight: bold;
    margin: 2rem auto 0;
}

.custom-card-item-statut {
    text-align: center;
    text-transform: uppercase;
    color: #112f69;
    font-size: 80%;
    font-weight: 700;
}

.custom-card-item-statut span {
    position: relative;
}

.custom-card-item-statut span:before {
    content: "";
    position: absolute;
    left: -3rem;
    top: 50%;
    background-color: #112f69;
    width: 2rem;
    height: 1px;
    display: inline-block;
}

.custom-card-item-statut span:after {
    content: "";
    position: absolute;
    right: -3rem;
    top: 50%;
    background-color: #112f69;
    width: 2rem;
    height: 1px;
    display: inline-block;
}

/* Chapitre Galerie */

.single-chapitre .galerie-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-chapitre .galerie-item {
    flex: 1 1 300px;
    min-width: 300px;
    cursor: pointer;
}

.single-chapitre .galerie-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal {
    display: flex;
  transform: translateY(-100vh);
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.93);
  transition: all 300ms ease;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border: 2px solid #585858;
  border-radius: 25px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Chapitre page : lasts */
.last-chapitres-item {
    padding: 0 0 5%;
    border-bottom: solid 1px #ccc;
    margin-bottom: 5%;
}


.last-chapitres-item-header {
    display: flex;
    margin-bottom: 1rem;
    gap: 2rem;
}

.last-chapitres-item-title-date, .last-chapitres-item-resume {
    width: 50%;
}

.last-chapitres-item-title-date {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.last-chapitres-item-title-date .last-chapitres-item-title {
    margin-bottom: 1rem;
}

.last-chapitres-item-date {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #D4AF37;
}

.last-chapitres-item-date-icon img {
    width: 20px;
    margin-right: 1rem;
}

.last-chapitres-item-galerie {
    margin: 2rem auto 5rem;
}

.last-chapitres-item-galerie-item {
    height: 300px;
}

.last-chapitres-item-galerie-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.last-chapitres-item-citation p {
    color: #D4AF37;
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1em;
    text-align: center;
    margin-bottom: 2rem;
}

.last-chapitres-item-content {
    display: flex;
    gap: 2rem;
}

.last-chapitres-item-description {
    width: 75%;
}

.last-chapitres-item-citation {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}


