/* Globals */

a, button {
    transition: all 300ms ease;
}

.titre-missions h3 span {
    font-size: 30px;
  font-family: 'Bitter', sans-serif;
  font-weight: bold;
}

.custom-btn-orange {
    color: #FFFFFF;
    border-width: 1px;
    border-color: #FF4D00;
    border-radius: 5px;
    font-size: 18px;
    background-color: #FF4D00;
    padding: 1rem 2em;
    transition: all 300ms ease;
    text-shadow: none;
}

.custom-btn-orange:hover {
    background-color: white;
    color: #FF4D00;
}


/* Header */


/** Logo **/

.logo_text {
    font-family: 'Churchward Design Regular', sans-serif;
}

.logo_text span {
    font-family: 'Churchward Design Bold', sans-serif;
}

/*header .logo_text_secondary, */
header .burger_menu_button {
    display: none;
}

.site_logo_desktop.et_pb_image_0_tb_header.et_pb_module {
        margin-right: 1rem !important;
    }

header .has_et_pb_sticky .logo_text_secondary, header .has_et_pb_sticky .burger_menu_button {
    display: block;
}

header .has_et_pb_sticky .logo_text, header .has_et_pb_sticky .et_pb_section_0_tb_header .et_pb_menu__menu  {
    display: none;
}

.et_mobile_nav_menu {
    display: none;
}

/* Fix submenu width */
#menu-primary-menu ul.sub-menu, #menu-primary-menu ul.sub-menu li, #menu-primary-menu ul.sub-menu li a {
    width: auto !important;
    display: block;
}

#menu-primary-menu ul.sub-menu li a {
    text-wrap: nowrap;
}


/* Fixed menu */

#fixed-menu ul {
    list-style: none;
}

#fixed-menu {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    transform: translateY(-200vh);
    transition: 800ms;
    overflow: auto;
}

#fixed-menu .fixed-menu-container {
    padding-bottom: 0px;
    border-left: 3px solid rgb(255, 255, 255) !important;
}


#fixed-menu .fixed-menu-items {
    padding-bottom: 0px;
}

#fixed-menu ul {
    list-style: none;
}

#fixed-menu .fixed-menu-items > li {
    position: relative;
    margin-bottom: 1.5rem;
}

#fixed-menu .fixed-menu-items li {
    padding: 0.9rem 0px;
}

#fixed-menu .fixed-menu-items > li::before {
    content: "";
    left: -2.35rem;
    top: 1rem;
    position: absolute;
    width: 12px;
    height: 25px;
    background-color: white;
    border-radius: 13px;
    transition: 300ms;
}

#fixed-menu .fixed-menu-items > li:hover::before {
    background-color: rgb(255, 77, 0);
}

#fixed-menu .fixed-menu-items > li.fixed-menu-is-parent > a {
    position: relative;
    padding-right: 0.5rem;
}

#fixed-menu .fixed-menu-items > li.fixed-menu-is-parent > a::after {
    font-family: ETmodules;
    content: "3";
    font-size: 16px;
    position: absolute;
    left: 100%;
    top: 33%;
    font-weight: 800;
    transition: 300ms;
}

#fixed-menu .fixed-menu-item-submenu {
    padding-bottom: 0px;
    height: 0px;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: 300ms;
}


#fixed-menu .fixed-menu-item-submenu li {
    display: none;
}

#fixed-menu .fixed-menu-items li {
    padding: 0.9rem 0px;
}

#fixed-menu .fixed-menu-items li .fixed-menu-item-submenu a {
    font-size: 24px;
}

#fixed-menu.fixed-menu-opened {
    transform: translateY(0px);
    transition: 800ms;
}

#fixed-menu .fixed-menu-items > li.show-submenu {
    margin-bottom: 0px;
}

#fixed-menu .fixed-menu-item-submenu {
    padding-bottom: 0px;
    height: 0px;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: 300ms;
}

#fixed-menu .fixed-menu-is-parent.show-submenu .fixed-menu-item-submenu {
    height: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 1rem 2rem 0px;
    transition: 300ms;
}

#fixed-menu .fixed-menu-is-parent.show-submenu .fixed-menu-item-submenu li {
    display: block;
}

/* Slides */

/** Home Slides **/

.home-slides {
    position: relative;
}

.home-slide-thumb img {
    width: 100%;
}

.home-slides-nav {
    position: absolute;
    bottom: 2%;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    width: 63%;
}

.home-slides-nav button {
    border-radius: 8px;
    padding: 5px 15px;
    width: 150px;
    color: white;
}

.home-slides-nav button:hover {
    background-color: white;
}

.home-slide-nav-item-0 {
    background-color: #112C46;
    border: 1px solid #112C46;
}

.home-slide-nav-item-0:hover {
    color: #112C46;
}

.home-slide-nav-item-1 {
    background-color: #02B2E4;
    border: 1px solid #02B2E4;
}

.home-slide-nav-item-1:hover {
    color: #02B2E4;   
}

.home-slide-nav-item-2 {
    background-color: #FCCB02;
    border: 1px solid #FCCB02;
}

.home-slide-nav-item-2:hover {
    color: #FCCB02;
}

.home-slide-nav-item-3 {
    background-color: #E2031B;
    border: 1px solid #E2031B;
}

.home-slide-nav-item-3:hover {
    color: #E2031B;
}

.home-slide-item {
    position: relative;
}

.home-slide-titles {
    position: absolute;
    top: 30%;
    left: 55%;
    text-shadow: 3px 3px 6px #303030;
    max-width: 40%;
}

.home-slide-titles .home-slide-title, .home-slide-titles .home-slide-subtitle {
    font-family: 'Bitter', sans-serif;
    font-size: 40px;
    line-height: 120%;
    font-weight: bold;
    color: white;
    text-align: end;
}

.home-slide-button {
    margin-top: 12%;
    text-align: end;
}

/** Home News Slides */

.home-news-slide-item {
    width: 100%;
    max-width: 940px;
    display: flex !important;
    background-color: white;
    height: 100%;
    max-height: 350px;
}

.home-news-slide-thumb {
    width: 55%;
}

.home-news-slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-news-slide-data {
    width: 45%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.home-news-slide-date {
    margin-bottom: 1rem;
}

.home-news-slide-title h3 {
    color: #112C46;
    font-family: 'Bitter Light', Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 0;
}

.home-news-slide-title h3:hover {
    color: #FF4D00;
}

.home-news-slide-excerpt {
    margin-bottom: 1rem;
}

.home-news-slide-links {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-news-slide-link-readmore {
    display: flex;
    align-items: center;
    color: #FF4D00;
    font-weight: 500;
}

.home-news-slide-link-readmore img {
    transition: all 300ms ease;
}

.home-news-slide-link-readmore:hover img {
    transform: translateX(3px);
}

.home-news-slide-category {
    color: #112C46;
    font-weight: 500;
}

.home-news-slide-category:hover {
    color: #FF4D00;
}

.home-news-slides .slick-dots {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.home-news-slides .slick-dots li button {
    background-color: #DFE0E0;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    margin: 0 5px;
    color: #DFE0E0;
    font-size: 0;
    line-height: 0;
    display: block;
    padding: 5px;
    cursor: pointer;
    border: 0;
    outline: none;
}

.slick-active button {
    background-color: #FF4D00 !important;
}

/* News */

.single-post #main-content a {
    color: #FF4D00;
}

.single-post #main-content h2, 
.single-post #main-content h3, 
.single-post #main-content h4,
.single-post #main-content h5, 
.single-post #main-content h6 {
    color: #02B2E4;
}


/* Newsletter */

/* only shows on home and contact page */
#mailpoet_form_1 #form_email_1 {
  background-color: #ffffff33;
  padding: 1.2rem 2rem !important;
  border: none;
  border-radius: 30px;
  color: white;
}


#mailpoet_form_1 #form_email_1::placeholder {
  color: #112c46;
}

#mailpoet_form_1 .mailpoet_submit {
  border-radius: 30px;
  padding: .75rem 1rem !important;
  position: absolute;
  top: 5px;
  right: 5px;
}

#mailpoet_form_1 .mailpoet_paragraph > span li, #mailpoet_form_1 .mailpoet_validate_error, #mailpoet_form_1 .mailpoet_validate_success{
    color: white;
    list-style: none;
}

/* Formations & Clubs */

/** Listing formations */
    .container-formations {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        color: #112C46;
        gap: 3rem;
    }

    .formation-item {
        width: 30%;
        margin-bottom: 2rem;
        border-radius: 5px;
        transition: all 300ms ease;
    }

    .page-id-283453 .formation-item:hover {
        background-color: #112c4614;
    }

    .page-id-283453 .formation-item:hover .formation-diplome h3 {
        background-color: #ff4d00;
        transition: all 300ms ease;
    }

    .formation-name h2 {
        color: #112C46;
        padding: 0;
        margin-bottom: 1rem;
    }

    .formation-thumb {
        height: 350px;
        border-radius: 5px;
    }

    .formation-thumb img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        border-radius: 5px 5px 0 0;
    }

    .page-id-283453 .formation-data {
        padding: 2rem;
        border: solid 1px #112c46;
        border-top: none;
    }

    
    .formation-diplome h3 {
        background-color: #112c46;
        color: white;
        padding: 8px;
        border-radius: 3px;
        margin-bottom: 2rem;
        font-weight: 100;
        font-size: 1rem;
    }


    .formation-inscription-btn {

        color: white;
        border: 1px solid #FF4D00;
        border-radius: 8px;
        font-size: 16px;
        background-color: #FF4D00;
        padding: .5rem 2rem;
        transition: all 300ms ease;
        margin: 2rem 0 0 auto;
        display: block;
        cursor: pointer;
        width: fit-content;
        max-width: 165px;
    }

    .formation-inscription-btn:hover {
        color: #FF4D00;
        background-color: white;
    }

/** Single Formation */

.container-formation {
        color: #112C46;
    }

    .single-formation-inscription-btn {

        color: white;
        border: 1px solid #FF4D00;
        border-radius: 8px;
        font-size: 16px;
        background-color: #FF4D00;
        padding: .5rem 2rem;
        transition: all 300ms ease;
        margin: 2rem 0 0;
        display: block;
        cursor: pointer;
        width: fit-content;
        max-width: 200px;
    }

    .single-formation-inscription-btn:hover {
        color: #FF4D00;
        background-color: white;
    }

.single-formation li.et_pb_tab_1_tb_body:before {
    content: url(/wp-content/uploads/2025/02/par-ici.png);
    display: block;
    position: absolute;
    top: -165%;
    left: 0;
}

.container-club .club-item {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        color: #112C46;
    }

    .container-club .club-item h4 {
        font-size: 26px;
        color: #112C46;
        margin-bottom: 1rem;
    }

    .club-logo-container {
        width: 25%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .club-logo {
        padding: 1rem;
        border-radius: 100%;
        border: solid 1px #ccc;
        overflow: hidden;
        width: 250px;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .club-logo img {
        max-width: 95%;
        height: auto;
        object-fit: cover;
        margin: auto;
        display: block;
        border-radius: 100%;
    }

    .club-data {
        width: 75%;
        padding: 0 2rem;
    }

    .club-contact-btn {

        color: white;
        border: 1px solid #FF4D00;
        border-radius: 8px;
        font-size: 16px;
        background-color: #FF4D00;
        padding: .5rem 1rem;
        transition: all 300ms ease;
        margin: 2rem 1rem 0 0;
        display: block;
        cursor: pointer;
        width: fit-content;
    }

    .club-contact-btn:hover {
        color: #FF4D00;
        background-color: white;
    }

    .club-contact-btn.icon-facebook {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .club-contact-btn.icon-facebook .fa-square-facebook {
        font-size: 36px;
    }

    .contacts {
        display: flex;
    }

    .page-id-283620 .container-club {
        padding: 3rem 0;
        border: solid 1px #ccc;
        margin-bottom: 3rem;
        border-radius: 8px;
    }

    .page-id-283620 .club-logo img {
        width: 95%;
    }

/* Loader */

.loader-container {
    overflow: hidden;
    background: #112c46;
    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-family: 'Churchward Design Regular', Helvetica, Arial, Lucida, sans-serif;*/
    font-size: 2.8rem;
    color: white;
    line-height: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
}

.loader{
    display: block;
    position: relative;
    height: 20px;
    width: 140px;
    background-image: 
    linear-gradient(#FFF 20px, transparent 0), 
    linear-gradient(#FFF 20px, transparent 0), 
    linear-gradient(#FFF 20px, transparent 0), 
    linear-gradient(#FFF 20px, transparent 0);
    background-repeat: no-repeat;
    background-size: 20px auto;
    background-position: 0 0, 40px 0, 80px 0, 120px 0;
    animation: pgfill 1s linear infinite;
  }
  
  @keyframes pgfill {
    0% {   background-image: linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    25% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    50% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    75% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    100% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0); }
  }
  