.bg-navy {
  background-color: #a2c579 !important;
}

.styled-table thead tr {
  background-color: #a2c579;
}

tbody .tr-title th {
  background-color: #a2c579;
}

.button-link {
  background-color: #a2c579; /* Bleu par défaut */
}

.button-link:hover {
  background-color: #fffff5; /* Bleu par défaut */

  border : #a2c579 solid 2px ;
}

.modal-header {
  background: #a2c579;
}

.text-primary-emphasis {
    color: #61A3BA !important;
}


.btn-outline-primary {
  --bs-btn-color: #a2c579;
  --bs-btn-border-color: #a2c579;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #a2c579;
  --bs-btn-hover-border-color: #a2c579;
  --bs-btn-focus-shadow-rgb: 35, 87, 163; /* valeurs RGB de ta couleur */
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #a2c579;
  --bs-btn-active-border-color: #a2c579;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #a2c579;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #a2c579;
  --bs-gradient: none;
}

.btn-outline-primary-masculin {
  --bs-btn-color: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0d6efd;
  --bs-btn-hover-border-color: #0d6efd;
  --bs-btn-focus-shadow-rgb: 35, 87, 163; /* valeurs RGB de ta couleur */
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0d6efd;
  --bs-btn-active-border-color: #0d6efd;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #0d6efd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0d6efd;
  --bs-gradient: none;
}

.btn-outline-primary-feminin {
  --bs-btn-color:deeppink;
  --bs-btn-border-color:deeppink;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg:deeppink;
  --bs-btn-hover-border-color:deeppink;
  --bs-btn-focus-shadow-rgb: 35, 87, 163; /* valeurs RGB de ta couleur */
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg:deeppink;
  --bs-btn-active-border-color:deeppink;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color:deeppink;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color:deeppink;
  --bs-gradient: none;
}

.btn-outline-primary-mixte {
  --bs-btn-color:#008000;
  --bs-btn-border-color:#008000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg:#008000;
  --bs-btn-hover-border-color:#008000;
  --bs-btn-focus-shadow-rgb: 35, 87, 163; /* valeurs RGB de ta couleur */
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg:#008000;
  --bs-btn-active-border-color:#008000;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color:#008000;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color:#008000;
  --bs-gradient: none;
}

.bg-light {
    color: #3E7F54 !important;
}

.bg-light-menu {
  background-color: #5CAF7B; /* Couleur menu gauche admin */
}

/* Style pour les liens lorsqu'ils sont survolés */
.bg-light-menu li:hover {
  background-color: #3E7F54; /* Couleur de fond plus foncée au survol */
  color: #5CAF7B; /* Couleur du texte au survol */
}

.bg-light-menu a {
  color: #ffffff;
}

.nav-link:focus, .nav-link:hover {
    color: #5CAF2B;
}

.icon-button {
      background-color: #a2c579;
}

select{
      width: auto;
      padding: 0px;
}

.search-container select {
    background-color: inherit;
}

body{
  background-color: #fffff5;
  font-size: 1.5rem;
}

#site-navigation .dropdown-menu
{
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#site-navigation .dropdown-menu a {
    text-decoration: none !important;
}

/* Cacher les sous-menus */
#site-navigation .sub-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Afficher au survol du parent */
#site-navigation .menu-item-has-children:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.oceanwp-social-menu a {
    text-decoration: none !important;
}

/* Footer bottom – alignement comme sur WordPress */
#footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Menu à gauche ou à droite selon le thème */
#footer-bottom-menu {
    order: 2;
}

#copyright {
    order: 1;
}

/* Sur desktop : menu à droite, copyright à gauche */
@media (min-width: 768px) {
    #footer-bottom-menu {
        margin-left: auto; /* pousse vers la droite */
    }
}

#footer-bottom #footer-bottom-menu, #footer-bottom #copyright {
    width: auto;
}

/* Menu desktop */
@media (min-width: 768px) {
    nav#site-navigation {
        height: auto;   /* Hauteur adaptée au contenu */
        position: relative;
        z-index: 1000;
    }
}

.search-toggle-li{
  display: none;
}

.oceanwp-email{
  display: none;
}

/* Menu mobile (offcanvas) */
@media (max-width: 767px) {
    nav#site-navigation {
        height: auto;  /* ou laissez ce que OceanWP gère par défaut */
        position: fixed; /* souvent utilisé pour offcanvas */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000; /* au-dessus du reste du contenu */
    }

    #site-navigation-wrap { display: none; }
    #site-navigation-wrap.open { display: block; }
    .oceanwp-mobile-menu-icon {
        display: none !important;
    }

    /* Style du lien Accueil en remplacement */
    .mobile-home-link {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 18px;       /* même hauteur que le menu original */
        right: 120px;     /* alignement à droite */
        color: #fff;
        padding: 8px 15px;
        font-weight: 600;
        text-decoration: none;
        font-size: 16px;
        z-index: 9999;
    }

    .mobile-home-link:hover {
        color: #fff; /* effet hover similaire au menu */
        text-decoration: underline;
    }

    #competition{
        max-width: 200px;
    }
}

.selection-competition{
    background-color: #a2c579;
    color:#fff;
    padding-bottom:20px;
    margin-bottom: 0px;
    border-radius: 20px;
}

select option {
    color: black !important;
    background: white !important;
}

.onglet-inscrits{
    background-color: #a2c579;
    color:#fff !important;
    text-transform: uppercase;
    gap:0px;
    padding-bottom:20px;
    margin-bottom:0px;
}

.onglet-inscrits .button-link{
    border: #a2c579 solid 1px;
    border-radius: 20px 20px 0px 0px; 
    background-color: #fffff5;
    color:#a2c579;
    margin-right: 0px;
}

#resultats-container{
    background-color: #a2c579;
    border-radius: inherit;
}

.onglet-inscrits .button-link:hover {
    transform: none !important;
    background-color: #a2c579;
    color:#fff;
    border: #fff solid 1px;
}

#reinitialiser-filtres{
    border: #a2c579 solid 1px;
    border-radius: 5px; 
    background-color: #fff;
    color:#a2c579;
}

.search-container{
    color:#fff;
}

.search-container input{
    color:#61A3BA;
}

.custom-title-container .h4{
    color:#fff;
    font-size: 30px;
}

input[type=checkbox]{
    background-color: #61A3BA;
}

.zoomed-form{
    background-color: #a2c579;
    border-radius: 20px; 
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 15px;
}

#ancres-top {
    background-color: #fffff5;
}

