/*-- Header / logo / fix-modal-superposition -----------------------*/
body.modal-open #main_nav,
body.modal-open #logo_sticky_nav {
    display: none !important;
}

body.modal-open div#main {
    z-index: 2;
    position: relative;
}

.navigation .navbar-brand {
    height: 230px;
}

@media (max-width: 1000px) {
    .navigation .navbar-brand {
        height: auto;
    }
}

/*-- Menu-----------------------------------------------------------*/
.navbar-brand img {
    max-width: 100%;
    width: auto;
}

/* vg-69930 */
.navbar-collapse {
    justify-content: flex-end;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}
.dropdown-toggle::after {
    top: 50%;
    position: absolute;
}
.dropdown-toggle {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin: 10px 0px 0px 20px;
    padding: 5px 20px !important;
    width: fit-content;
}

#main_nav .navbar-nav {
    margin-left: 240px;
}

@media screen and (max-width: 1000px) {
    #main_nav .navbar-nav {
        margin-left: auto;
    }
}

/*-- slider ---------------------------------------------------------*/

#main_slider .text_slider {
    left: 15%;
    top: 30%;
    text-align: left;
    padding: 20px 30px !important;
    position: absolute;
    width: auto;
    max-width: 450px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
}

#main_slider .text_slider h3 {
    line-height: 1.2em;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}

#main_slider .text_slider p,
#main_slider .text_slider a {
    color: #000;
    font-size: 21px;
    line-height: 1.25em;
    text-align: center;
}

#slider_slogant {
    position: absolute;
    bottom: 0;
    padding: 10px 20px;
    background: #474747;
    color: #fff;
    text-align: center;
    font-size: 20px;
    width: 100%;
    z-index: 3;
}

.owl-prev {
    left: 1%;
    position: absolute;
    top: 38%;
    text-shadow: 2px 1px 7px #200e09;
}

.owl-next {
    right: 1%;
    position: absolute;
    top: 38%;
    background: none;
    text-shadow: 2px 1px 7px #200e09;
}

/*-- modal login fullscreen -----------------------------------------*/
#modal_fullscreen_login {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 575.98px) {
    .modal-fullscreen {
        padding: 0 !important;
    }

    .modal-fullscreen .modal-dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
    }

    .modal-fullscreen .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen .modal-body {
        overflow-y: auto;
    }
}

@media (max-width: 767.98px) {
    .modal-fullscreen-sm {
        padding: 0 !important;
    }

    .modal-fullscreen-sm .modal-dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
    }

    .modal-fullscreen-sm .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen-sm .modal-body {
        overflow-y: auto;
    }
}

@media (max-width: 991.98px) {
    .modal-fullscreen-md {
        padding: 0 !important;
    }

    .modal-fullscreen-md .modal-dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
    }

    .modal-fullscreen-md .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen-md .modal-body {
        overflow-y: auto;
    }
}

@media (max-width: 1199.98px) {
    .modal-fullscreen-lg {
        padding: 0 !important;
    }

    .modal-fullscreen-lg .modal-dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
    }

    .modal-fullscreen-lg .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen-lg .modal-body {
        overflow-y: auto;
    }
}

.modal-fullscreen-xl {
    padding: 0 !important;
}

.modal-fullscreen-xl .modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
}

.modal-fullscreen-xl .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.modal-fullscreen-xl .modal-body {
    overflow-y: auto;
}

/*-- tabs -------------------------------------------------------------------------*/
.nav-tabs .nav-link {
    border-radius: 0;
    border: 0;
    margin: 0 5px 0 0 !important;
}

.nav-tabs .nav-link.active {
    background: #495057 !important;
    color: #fff;
}

/*-- section / container-----------------------------------------------------------*/
.section-title a {
    color: #fff;
}

.container_gradient {
    padding: 20px 0;
}

.container_gradient .section-title-sm,
.container_gradient .section-title {
    color: #fff;
}

.gradient_demi:nth-child(odd) {
    background: linear-gradient(to left, #747477 50%, #303032 50%);
}

.gradient_demi:nth-child(even) {
    background: linear-gradient(to left, #303032 50%, #747477 50%);
}

.gradient_full:nth-child(odd) {
    background: #747477;
}

.gradient_full:nth-child(even) {
    background: #303032;
}

.section {
    overflow: auto;
    width: 100%;
}

/*-- quicklink ---------------------------------------------------------*/
#quicklink_container {
    /*margin: 40px auto;*/
}

#quicklink_container a {
    text-decoration: none;
}

#quicklink_container a img {
    -webkit-transition: opacity 0.5s;
    /* Safari */
    transition: opacity 0.5s;
}

#quicklink_container a:hover img {
    -webkit-transition: opacity 0.5s;
    /* Safari */
    transition: opacity 0.5s;
}

#quicklink_container a span.text_bottom p {
    font-size: 30px;
    margin-top: 0;
    color: #fff;
    -webkit-transition: font-size 0.5s;
    /* Safari */
    transition: font-size 0.5s;
}

#quicklink_container a:hover span.text_bottom p {
    font-size: 35px;
    -webkit-transition: font-size 0.5s;
    /* Safari */
    transition: font-size 0.5s;
}

#quicklink_container a span.text_top p {
    font-size: 22px;
    margin-bottom: 0;
    color: #fff;
    -webkit-transition: font-size 0.5s;
    /* Safari */
    transition: font-size 0.5s;
}

#quicklink_container a:hover span.text_top p {
    font-size: 27px;
    -webkit-transition: font-size 0.5s;
    /* Safari */
    transition: font-size 0.5s;
}

.quicklink_content {
    text-align: center;
    /* vg-69582 */
    color: #fff;
    position: relative;
    overflow: hidden;
    background-position: center;
    margin-bottom: 15px;
}

.quicklink_text p {
    color: #fff;
}

.quicklink_text {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2px 15px 0;
    line-height: 2em;
    position: absolute;
    width: 100%;
    z-index: 2;
    left: 0;
}

.quicklink_content img {
    width: 100%;
    height: auto;
}

#quicklink_1 {
    background-color: #ababab;
}

#quicklink_2 {
    background-color: #333333;
}

#quicklink_3 {
    background-color: #999999;
}

/*----- event -----*/
.new_event_tag {
    position: absolute !important;
    top: 5%;
    right: 5%;
    border-radius: 15px;
    padding: 2px 9px;
    z-index: 2;
    color: #ffffff;
    background-color: #58839a;
}

.event_display_date {
    display: none;
}

/*----- biztrox card -----*/
.wrapper_card > .card {
    margin-bottom: 15px;
    margin-top: 15px;
    width: 100%;
}

.event_card .card-img-wrapper {
    margin-bottom: 5px;
}

.card-title {
    margin: auto;
}

.card .flex_wrapper {
    min-height: 64px;
}

.card .btn {
    width: fit-content;
    margin: 0 auto;
}

.card_date {
    background: #fff;
    position: relative;
    width: fit-content;
    margin: -1.5em auto 5px;
}

/* VG-069467 */
.card_date_event {
    width: fit-content;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -78%);
}

/* VG-069467 */
.card.card_date_event * {
    font-size: 12px;
}

.card_date h5,
.card_date_event h5 {
    margin: 0;
}

.card_fa_icon i {
    font-size: 1.25em;
    padding: 3px 5px;
}

.card h3 .btn {
    /*margin-left:auto !important;
                margin-right:auto !important;*/
    padding: 15px 25px !important;
    width: 100%;
    text-decoration: none;
    text-transform: uppercase;
}

.card-header {
    padding: 0 !important;
}

/*----- titre -----*/

/*section h2::after, section h1::after {

                position: absolute;
                content: "";
                height: 2px;
                width: 50px;
                left: 15px;
                bottom: -10px;
                background: #e84444;

}
section h2::before, section h1::before {
                position: absolute;
                content: "";
                height: 10px;
                width: 10px;
                border-radius: 50%;
                background: transparent;
                border: 2px solid #e84444;
                bottom: -14px;
                left: 0;
}
h2 {
                position: relative;
}
h2 {
                margin-bottom: 25px;
}*/

/*----- entete page interne -----*/

#entete_image_interne {
    position: relative;
}

#entete_image_interne img {
    width: 100%;
}

#entete_image_interne .container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    /*centrage*/
}

#slogant_page_interne {
    text-transform: uppercase;
    color: #fff;
    font-size: 2.5em;
    margin: 3% auto 0;
    font-weight: 200;
    background-color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 5px 15px;
}

.main_account_form_step4 {
    max-width: 700px;
    margin-top: 25px;
}

.jb-caption-title,
.jb-caption-desc {
    /*bizaremment quand on ajoute un album photo comme module , ça le met tout dans un h1 */
    font-size: 12px !important;
}

/*-------------- footer --------------*/
footer {
    z-index: 1;
}

#logo_footer_wrapper img {
    margin: 0 auto;
    width: 100%;
    max-width: 220px;
}

/*-------------- alertes --------------*/
#alertes-big-screen {
    display: initial;
}

.alertes-lien-container {
    position: relative;
    margin-left: 25px;
}

.alertes-lien-container > div {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    color: red;
    font-weight: bold;
    border: 1px solid red;
    top: -50%;
    border-radius: 50%;
    text-align: center;
    left: -10px;
}

#alertes_ui {
    overflow-y: scroll !important;
    height: 100%;
    transition: 1s;
}

#alertes_ui {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background: white;
    padding: 2.5% 5%;
}

/* ------------- pagination datatable -------------*/
.dataTables_wrapper {
    width: 100% !important;
}

.paginate_button {
    display: inline-block !important;
    border: 1px solid black;
    padding: 3px 10px !important;
    margin: 0 2px;
    text-decoration: none;
    background: #fff;
    color: #4c4c4c;
}

.paginate_button.current {
    background: #4c4c4c;
    color: #fcfcfc !important;
}

.dataTables_length {
    float: left;
    margin-bottom: 10px;
    margin-left: 40px;
    margin-top: 8px;
}

div.dataTables_wrapper div.dataTables_info {
    float: left;
    margin-top: 1em;
}

div.dataTables_wrapper div.dataTables_paginate {
    text-align: left !important;
    float: left;
    top: 8px;
    left: 15px;
    position: relative;
}

.dataTables_length {
    margin-bottom: 10px;
}

.dataTables_length select {
    min-width: auto !important;
    padding: 9px 5px 6px 5px !important;
    text-align: center;
    height: auto;
}

/*-------------- general --------------*/
p {
    margin: 10px 0 20px;
}

.pimp_img {
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.image_fullsize {
    cursor: pointer;
}

/*-------------- Partenaires --------------*/
.partenaire_slider {
    margin-bottom: 70px !important;
}

/*-------------- Utils --------------*/
.arrow_right:after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f30b";
    padding-left: 6px;
    vertical-align: middle;
}
/*** menu hover ***/

/* Ensure dropdown menus are hidden by default */
#navbarNavDropdown .dropdown-menu {
    display: none; /* Hide dropdown by default */
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    position: absolute; /* Absolute positioning for dropdown */
    top: 100%; /* Position below the parent item */
    left: 0; /* Align to the left edge of the parent */

}
@media (max-width: 991px) {
    #navbarNavDropdown .dropdown-menu {
        position: static !important;
    }

}

/* Show dropdown on hover over parent */
 #navbarNavDropdown .nav-item:hover > .dropdown-menu {
    display: block; /* Show on hover */
    visibility: visible;
    opacity: 1;
    transform: scaleY(1); /* Smooth scale effect */
}

/* Ensure nested dropdown menus are hidden by default */
#navbarNavDropdown .dropdown-submenu {
    position: relative; /* Position relative to parent */
}

/* Submenu dropdown menu styling */
 #navbarNavDropdown .dropdown-submenu .dropdown-menu {
    display: none; /* Hide submenu by default */
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    position: absolute; /* Absolute positioning relative to the parent */
 /* top: 0; /* Align with the top of the parent */
    /*left: 100%; /* Position to the right of the parent */
    margin-top: -1px; /* Align with the parent item */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Show submenu on hover over parent */
 #navbarNavDropdown .dropdown-submenu:hover > .dropdown-menu {
    display: block; /* Show on hover */
    visibility: visible;
    opacity: 1;
    transform: scaleY(1); /* Smooth scale effect */
}