/*
TobBar Style
*/

.navbar-nav_wrap {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    max-width: 1280px;
    margin: auto;
    height: 100px;
    font-size: 14px;
}
.one-page-navbar {
    height: auto;
}
.main-nav-toggle {
    display: none;
    margin-right: 6px;
}

.nav_logo {
    display: flex;
    align-items: center;
    width: 7%;
}

.nav-location-selector {
    display: flex;
    align-items: center;
    width: 20%;
    color: var(--gray-color);
    font-size: 14px;
    font-weight: 600;
}

.nav-location-selector select,
.nav-location-selector .select2-container {
    background-color: unset;
    margin-right: 5px;
    max-width: fit-content;
    margin-right: 5px;
    color: var(--gray-color);
    font-size: 14px;
    font-weight: 600;
}

.nav-location-selector .select2-container .select2-selection--single .select2-selection__rendered {
    min-width: 50px !important;
    background: #f8f9fa;
    padding-left: 0px !important;
    color: var(--gray-color);
    font-size: 14px;
}

.nav-location-selector select:focus-visible {
    border: none !important;
    outline: unset !important;
    color: var(--secondary-color);
    font-size: 14px;
}

.nav-search-toggle-container {
    display: flex;
    /*gap: 10px;*/
    /*padding: 20px;*/
    justify-content: center;
    align-items: center;
    /* width: 24%; */
    font-size: 14px;
}

.nav-search-container {
    /*border-radius: 20px 0px 0px 20px;*/
    border-radius: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0px 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 16px;
    /*max-width: 236px;*/
    height: 40px;
    width: 100%;
    position: relative;
}

.nav-search-container.disabled,
.nav-search-container input:disabled {
    background-color: var(--light-color);
}

.competences-input {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 13px;
    padding: 0px;
    color: #000;
    width: 100%;
    font-weight: 600;
}

.hidden-search {
    min-width: 24%;
    visibility: hidden;
}

.search-btn {
    margin-left: 10px;
    font-size: 18px;
    color: var(--secondary-color);
}

.nav-btn-annuaires,
.nav-btn-social {
    display: flex;
    align-items: center;
    /* min-width: 11%;*/
    gap: 7px;
    padding: 0px 29px;
}


/*.btn__espace_container button,*/

.nav-btn-annuaires button,
.nav-btn-social a {
    padding: 0px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    /*border: 1px solid #ccc;*/
    color: black;
    display: flex;
}

.btn:focus {
    outline: 0;
    -webkit-box-shadow: none !important;
    /**/
    /* box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25); */
}


/*.btn__espace_container button:hover,*/

.nav-btn-annuaires button:hover,
.nav-btn-user button:hover,
.nav-btn-social a:hover {
    /*border-color: #adb5bd;
    background-color: transparent;
    color: #adb5bd;*/
}


/*.btn__espace_container button img,*/

.nav-btn-annuaires button img,
.nav-btn-user button img,
.nav-btn-social a img {
    width: 40px;
    height: 40px;
    max-width: unset !important;
    object-fit: cover;
    border-radius: 50%;
}

.language-dropdown-container button {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.language-dropdown-container button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


/**.btn__espace_container {
    margin-right: 10px;
    gap: 7px;
    padding: 0px 29px;
}*/


/*header_components*/

.main-nav__body .nav-btn-user {
    justify-content: center;
    margin-bottom: 10px;
    font-size: 14px;
}


/* .nav-btn-user {
    display: flex;
    gap: 7px;
    width: 13%;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 0px;
    border-radius: 40px;
    color: #313131;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    height: 40px;
    position: relative;
} */

.nav-btn-user {
    display: flex;
    gap: 7px;
    width: 13%;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 0;
    border-radius: 40px;
    color: #313131;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    height: 40px;
    position: relative;
    font-weight: bold;
}


/* .language-dropdown-container,
.user-dropdown-container {
    display: inline-block;
    height: 100%;
} */

.language-dropdown-container,
.user-dropdown-container {
    display: inline-block;
    height: 100%;
    width: 100%;
    position: relative;
    text-align: center;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 50%;
    /* Centre horizontalement par rapport au parent */
    transform: translateX(-50%);
    border-radius: 10px;
    padding: 10px 0;
}

.user-dropdown-container button {
    height: 100%;
    width: 100%;
}

.language-dropdown-menu.show,
.user-dropdown-menu.show {
    display: block;
}


/* .user-dropdown-menu */

.language-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 1;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    background: #f8f9fa;
    left: 0px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: none;
}

.language-dropdown-item,
.user-dropdown-item {
    display: flex !important;
    align-items: center;
    padding: 8px 12px !important;
    cursor: pointer;
    width: 100%;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 600;
}

.user-dropdown-item a {
    font-size: 14px;
    font-weight: 600;
}

.user-dropdown-item:hover,
.user-dropdown-item:active,
.user-dropdown-item:focus,
.language-dropdown-item:hover,
.language-dropdown-item:active,
.language-dropdown-item:focus {
    /*background-color: var(--gray-color);*/
    color: var(--gray-color) !important;
}

.language-flag {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.auth-btn {
    border-radius: 40px;
    text-align: center;
    user-select: none;
    line-height: 1.5;
    /* background-color: var(--primary-color); */
    /* border: 1px solid var(--primary-color); */
    color: #313131;
    cursor: pointer;
    margin: auto;
    font-weight: 600;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn-icon {
    height: 24px;
    width: 24px;
    margin-right: 3px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.auth-toggle.dropdown {
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    right: -6px;
    top: 31px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover,
.dropdown-content a:active {
    background-color: var(--gray-color);
    color: var(--secondary-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.connected-btn-icon {
    display: none;
}

.disabled-auth-btn {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}


/*fin header_components*/


/*
.btn__espace_container {
    display: flex;
    align-items: center;
    margin-inline-start: 0.75rem;
}*/

.nav-btn-social a {
    background: var(--secondary-color);
}

.navbar-icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.select2-container--open .select2-dropdown--below {
    width: 95px !important;
    left: -43px !important;
}

.sticky_wrap {
    /* height: 90px; */
    display: flex;
    flex-direction: column;
    /*position: fixed;*/
    top: 0;
    z-index: 3;
    padding: 0px 4px;
    background-color: #f8f9fa;
    /* max-width: 1280px;*/
    width: 100%;
}

.sticky-nav {
    position: fixed;
    top: 0;
    z-index: 3;
    padding: 0px 4px;
    background-color: #f8f9fa;
    width: 100%;
    /* max-width: 1280px;*/
    left: 50%;
    padding: 0px 35px;
    transform: translateX(-50%);
    box-shadow: -5px 0 10px #b0b0b0;
}

.main-nav__wrap {
    display: flex;
    flex-direction: column;
}

.navbar-nav_bottom {
    margin-bottom: 7px;
}

.navbar-nav_bottom ul {
    display: flex;
}

.navbar-nav_bottom ul li a {
    color: var(--gray-color) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.navbar-nav_bottom ul li a.griser_prov {
    color: #dee2e6 !important;
}

.navbar-nav_bottom ul li a img {
    width: 30px;
    height: 30px;
}

.main-nav__header {
    border-bottom: 1px solid #99999936;
    height: 66px;
    display: flex;
    justify-content: center;
}

.main-nav__header img {
    height: 100%;
}

.main-nav__footer {
    border-top: 1px solid #99999936;
    height: 50px;
    padding: 15px;
}

.main-nav__container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}

.main-nav__container.show {
    display: block;
}

.main-nav__container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    z-index: 999;
}

.main-nav__container.show {
    display: block;
}

.searchForm_wrap {
    display: flex;
    width: 30%;
}

.navbar__components {
    display: flex;
    justify-content: space-between;
}

.navbar__actions {
    display: none;
}

.navbar__search {
    display: flex;
}

.pays_options p {
    padding: 10px;
}

.slidebtn {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.lang_pays_mobile {
    display: none;
    position: relative;
}

.lang_pays_mobile .fa-globe {
    font-size: 20px;
}

.pays_container {
    position: relative;
}

.dropdown-content-pays {
    display: block;
    position: absolute;
    top: 25px;
    left: 0px;
    background-color: #f9f9f9;
    min-width: 160px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    z-index: 2;
}

.pays_options {
    padding: 0px 7px 7px 7px;
}

.pays_options input {
    margin-bottom: 4px;
    position: sticky;
    z-index: 2;
    top: 0;
}

.select-label-container {
    margin-right: 10px;
    /* Ajustez la marge selon vos besoins */
}

.navbar {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.navbar-brand img {
    height: 57px;
    object-fit: contain;
}

.nav-item {
    margin-right: 10px;
    display: flex;
}

.departement {
    stroke: #000000;
    stroke-width: 1px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-opacity: .25;
    fill: var(--primary-color);
}

.region:hover .departement {
    fill: #86cce0;
}

.departement:hover {
    fill: #86eee0;
}

.departement-text {
    fill: rgb(0, 0, 0);
}

.home-main-layout-container .departement {
    stroke: #000000;
    stroke-width: 1px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-opacity: .25;
    fill: #e9e9e9;
}

.home-main-layout-container .region:hover .departement {
    fill: #e9e9e9;
}


/*
.home-main-layout-container .departement:hover {
    fill: var(--primary-color);
}*/

.home-main-layout-container .departement-text {
    fill: rgb(0, 0, 0);
}


/**/

.navbar__inner {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 20px;
    margin: 6px 0px;
    justify-content: space-between;
}

.nav-search-container1 {
    display: flex;
    width: 100%;
    max-width: 600px;
    justify-content: center;
}

.top-nav-search-container {
    display: flex;
    /*gap: 10px;*/
    /*padding: 20px;*/
    justify-content: center;
}

.searchForm__wrap {
    display: none;
}

.icon {
    margin: 5px 0px 3px 10px;
    font-size: 18px;
    color: #333;
}

.icon:hover {
    color: var(--primary-color);
}

.btn__connexion {
    height: 40px;
    padding: 7px 12px;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    /*font-weight: bold;*/
    border: 1px solid var(--primary-color);
    width: max-content;
    margin-left: 10px;
}

/* .suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestions-list li {
    padding: 7px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.suggestions-list li:hover {
    background-color: var(--gray-color);
} */


/*style navbar.css*/

.profile-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*border: 1px solid gray;
      background: #3c30ff; */
    /* border-radius: 50%; */
    padding: 10px;
    margin: 18px 0px 0px 0px;
}


/*.profile-btn:hover{
      color: #3c30ff;
  
  }*/

.profile-btn .fa-solid {
    font-size: 21px;
    margin-bottom: 5px
}

.nav-btn-user .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px
}

.header__logo {
    /* max-width: 100px;
    max-height: 100%;
    height: 100%;
    width: 100%;*/
    height: 66, 5px;
    width: 120px;
    /* margin-right: 10px;
    padding: 10px;*/
}

.header__logo img {
    width: 100%;
    /* height: 100%;*/
}

.themes-links {
    display: inline-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: absolute;
}

.main-theme-link {
    color: var(--gray-color1);
    text-decoration: none;
    font-size: 16px;
    padding: 9px 15px;
    transition: all 0.3s ease;
}

.list-subItems-container li a {
    color: #311818;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.list-subItems-container li a:hover {
    color: #3c30ff;
}


/*.themes-links li:hover .list-items-dropdown {
    transition: all 0.3s ease;
    top: 26px;
    opacity: 1;
    visibility: visible;
     
}*/

.themes-links .list-items-dropdown.show {
    opacity: 1;
    visibility: visible;
    top: 26px;
    /* Position quand visible */
}

.list-items-dropdown {
    position: absolute;
    /* display:none;*/
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 50px;
    opacity: 0;
    visibility: hidden;
    /**/
    z-index: 99;
}

.list-subItems-container {
    background: white;
    padding: 25px 20px;
    display: flex;
    width: 100%;
    /* justify-content: space-between;*/
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.list-subItems-container .row {
    width: fit-content;
    line-height: 39px;
    height: max-content;
    margin-right: 32px;
}

.list-subItems-container .row:last-child() {
    margin-right: 3px;
}

.subItem-title {
    font-weight: 500;
    border-bottom: 1px solid gray;
}

.subItem-children li a {
    color: #443030;
}

.subItem_list_items {
    margin-left: 30px;
}

.sub-theme-item {
    list-style: inside;
    line-height: 23px;
}

.subItem_list_items li a {
    font-weight: 200;
}

.subItem-title a {
    color: #323232;
    font-size: 15px;
    display: block;
}

.subItem-title a:hover {
    color: #3c30ff;
}

.hidden-overflow {
    overflow-x: clip;
}

.form_registre_btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form_registre_btn button,
.create_compte {
    font-weight: 400;
    text-align: center;
    user-select: none;
    padding: 0px 15px;
    font-size: 1rem;
    line-height: 1.5;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50rem;
    border: 1px solid var(--primary-color);
    color: white;
    cursor: pointer;
    min-width: 166px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    /*border-top: 1px solid white;*/
    margin: 10px auto;
    padding: 15px 15px 5px 15px;
    width: fit-content;
}

.footer-bottom p {
    margin-right: 20px;
    color: black;
}

.social-bloc a {
    font-size: 19px
}

.main-nav-toggle img {
    height: 40px;
    width: 40px;
}

@media (max-width: 1024px) {
    .btn__espace_container .btn__connexion,
    .nav-btn-user .btn__connexion {
        display: flex;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }
    .connected-btn-icon {
        display: block;
    }
    .auth-btn-icon {
        margin-right: 0px;
    }
    .navbar__inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .navbar-nav_wrap {
        height: 172px;
    }
    .nav_logo {
        order: 1;
        margin-left: 0px;
    }
    .nav-location-selector {
        order: 2;
        width: auto;
    }
    /*.btn__espace_container {
        order: 3;
    }*/
    .nav-btn-annuaires {
        order: 3;
    }
    .nav-btn-user {
        order: 4;
        justify-content: space-between;
        width: 18%;
        padding-left: 5px;
    }
    .nav-btn-social {
        order: 5;
        display: none;
    }
    /*.main-nav-toggle {
        order: 4;
        margin-left: 10px;
    }*/
    .nav-search-toggle-container {
        order: 6;
        width: 100%;
        margin-top: 10px;
    }
    /* .btn__espace_container {
        display: flex;
        justify-content: center;
        margin-right: 10px;
        padding: 0px;
    }*/
    .nav-search-container {
        max-width: 500px;
    }
    .sticky_wrap {
        padding: 5px 4px 10px 4px;
        height: unset;
    }
    .main-nav__body .nav-btn-user {
        justify-content: center;
        margin-bottom: 10px;
        display: flex;
    }
    .nav-btn-user select {
        min-height: 40px;
    }
    .nav-btn-user select:last-child() {
        width: auto;
    }
}

@media (max-width: 758px) {
    .nav-search-container {
        max-width: 400px;
    }
    .nav-location-selector .select {
        max-width: 81px;
    }
    .nav-location-selector .select2-container {
        max-width: unset;
        width: unset !important;
    }
    .nav-location-selector select,
    .nav-location-selector .select2-container {
        font-size: 14px;
    }
    .navbar-nav_wrap {
        height: 235px;
    }
    .sticky_wrap {
        height: unset;
    }
    /*.navbar-nav_wrap.hidden-themes-list {
        height: 158px;
    }*/
    /**/
    .navbar-nav_wrap.hidden-nav-search-container {
        height: 110px;
    }
    .custom_sticky_wrap.sticky_wrap {
        height: 100px;
    }
    .navbar__inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        justify-content: space-between;
    }
    /*.main-nav-toggle {
        display: block;
    }*/
    .nav_logo {
        order: 1;
        margin-left: 0px;
        width: auto;
        height: 70px;
    }
    .nav-btn-annuaires {
        order: 3;
        width: 100%;
        justify-content: center;
        /*gap: 17px;*/
    }
    .nav-btn-user {
        order: 2;
        /*gap: 1px;
        justify-content: space-between;
        width: auto;
        padding-left: 9px;*/
        align-items: center;
    }
    /* .btn__espace_container {
        order: 2;
        padding: 0px;
        margin: 0px;
    }*/
    .nav-btn-social {
        display: none;
    }
    .nav-search-toggle-container {
        order: 5;
        width: 100%;
        margin-top: 6px;
    }
    .header__logo img {
        width: 90px;
        max-width: unset !important;
    }
}

@media (max-width: 500px) {
    .nav-location-span {
        display: none;
    }
    .nav-location-selector {
        width: 20%;
    }
    .navbar-nav_bottom ul li:not(:first-child) span {
        display: none;
    }
}

.search-toggle-container-positioned {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    /* gap: 10px; */
    /* padding: 20px; */
    margin-left: 3px;
}

.field input:disabled+label {
    font-size: 14px;
    top: -20px;
    color: #6c757d;
    /* transform: translateY(-1.5rem); */
}


/* added wafa provisoire  topbar */

.select2-dropdown {
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: auto;
    min-width: 200px;
    max-width: 100%;
    /* S'assure que le menu ne dépasse pas la largeur de l'écran */
    overflow-x: hidden;
    /* Évite le défilement horizontal */
}

.select2-results__option {
    padding: 8px 12px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    /* Empêche le texte de se casser */
    overflow: hidden;
    /* Cache l'excès de texte */
    text-overflow: ellipsis;
    /* Ajoute des points de suspension si le texte est trop long */
}

.select2-results__option--highlighted {
    background-color: #e9ecef;
    color: #000;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f8f9fa;
    color: #333;
}

.selected-page {
    font-weight: bold;
    text-decoration: underline;
    color: #e53e3e;
}


/*  fin provisoire */

