.container-buttons-home {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 165px);
}

@media (max-width: 768px) {
    .container-buttons-home {
        height: inherit;
    }
}

.cards-container {
    margin-top: auto;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 3px;
    flex-wrap: wrap;
}
.nav-link {
    font-size: 1.1rem;
}

.navbar-toggler {
    border: none;
}

.navbar-nav .nav-item {
    margin-right: 15px;
}

.login-btn {
    background-color: #000;
    color: #fff;
    border-radius: 2px;
    padding: 6px 20px;
}

a {
    text-decoration: none;
    color: #373737;
}

.column-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.column-item {
    flex: 1 1 200px;
}

@media (max-width: 900px) {

    .custom-text-column h2 {
        font-size: 24px !important;
    }

    .entreprise-form {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .btn.d-flex.align-items-center.text-white {
        width: 90%;
        justify-content: center;
        margin-top: 20px;
    }

}
@media (max-width: 768px) {
    .custom-large-letter {
        font-size: 60px !important;
    }

    .background-container {
    }

    .column-layout {
        flex-direction: column;
        align-items: center;
    }

    .column-item {
        width: 100%;
    }

    .m-3.p-4.bg-white.rounded-2.d-flex.align-items-start {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn.d-flex.align-items-center.text-white {
        width: 90%;
        justify-content: center;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .column-layout {
        flex-direction: column;
        align-items: center;
    }

    .column-item {
        width: 100%;
    }


    .m-3.p-4.bg-white.rounded-2.d-flex.align-items-start {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }



    .container-fluid .row .col-md-5.px-0 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .container-fluid .row .col-md-5.px-0 img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .d-flex.justify-content-center.gap-1.list-unstyled.border.rounded-pill.fw-light {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: .5rem;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 20px);
        box-sizing: border-box;
    }

    .your-ul-container-class {
        padding: 0 10px;
        background-color: #fff;
    }

    .d-flex.justify-content-center.gap-1.list-unstyled.border.rounded-pill.fw-light {
        padding-left: 15px;
        padding-right: 15px;
    }

}


@media (max-width: 425px) {
    .entreprise-form p, input{
        font-size: 0.8rem !important;
    }
}
.nav-item a {
    font-size: 12px;
}

.no-border-focus:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.custom-flex-display {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-large-letter {
    font-size: 120px;
}

.custom-text-column h2 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bolder;
}

.custom-text-column .custom-heading:first-child {
    margin-bottom: 0.25rem;
}

.custom-heading {
    font-size: 4em;
}

.baseline {
    font-size: 2em;
}

.card-title, .card-text {
    font-size: 14px;
}

.card-text {
    color: #aaa;
}

.nav-link {
    font-size: 1.1rem;
}

.navbar-toggler {
    border: none;
}

.navbar-nav .nav-item {
    margin-right: 15px;
}

.login-btn {
    background-color: #000;
    color: #fff;
    border-radius: 20px;
    padding: 6px 20px;
}

.column-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.column-item {
    flex: 1 1 200px;
}

.nav-item a {
    font-size: 12px;
}

.no-border-focus:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


/*new*/

.entreprise-input {
    color: #858796;
    border: none;
    background-color: transparent;
}
.entreprise-input::placeholder {
    color: rgb(0, 0, 0, 0.5);
    font-style: italic;
}

.flex-1 {
    flex: 1
}

.login-btn {
    font-size: 12px
}

.background-container {
    background-size: cover !important;
}

.bg-primary {
    background-color: #54bdec !important;
}

.navbar-container {
    margin: 0 2%;
}

.annuaire-entreprise-container {
    width: 80%;
    margin: 0 auto;
}

.home-page-container .navbar{
    background-color: transparent !important;
}

/* Navbar */
.dropdown-menu {
    background: white;
    border: none;
  }

.dropdown-menu .dropdown-item {
    border-bottom: 1px solid var(--bs-navbar-color);
    text-align: center;
    text-transform: uppercase;
    color: var(--bs-navbar-color);
}

.dropdown-menu li:first-child .dropdown-item{
    border-top: 1px solid var(--bs-navbar-color);
  }

  .dropdown-item:focus, .dropdown-item:hover {
    color: black!important;
    background-color: transparent;
    font-weight: 600;
}

.background-gradient {
    background-image: linear-gradient(to bottom right, #068FCF, #7DCDEE);
}

.navbar-nav .profileDropdown > .dropdown-menu {
    right: 0;
    left: auto;
    background-color: white;
}

@media (max-width: 768px) {
    .navbar-nav .profileDropdown > .dropdown-menu {
        right: 0;
        left: auto;
    }
}

tr.separator td {
    height: 20px;
    background-color: #f8f9fa;
}

.level2 > .text {
  font-weight: bold !important;
}
li > .level2 {
  font-weight: bold !important;
  background:#EFEFEF !important;
}
li > .level2:hover {
  font-weight: bold !important;
  background:#35628E !important;
  color:#FFF !important;;
}

@media (min-width: 992px) {
    .div-home {
        height: calc(100vh - 100px);
    }
}


.form-set {
    background-color: rgba(33, 37, 41, 0.03);
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px rgba(0, 0, 0, 0.175) solid;
    margin-bottom: 20px;
}

.clickable-row {
}
tr.clickable-row:hover td {
    background-color: #a6d2fb !important; /* Couleur rouge vif */
    cursor: pointer;
}

.custom-card {
    /*height: 150px; !* Hauteur constante pour chaque carte *!*/
}

.marque-card .row.g-0 {
    display: flex;
    align-items: center;
}

.custom-card img {
    background-color: #f0f0f0; /* Fond gris pour l'image */
    object-fit: contain; /* S'assure que l'image garde ses proportions */
    width: 100px; /* Largeur de l'image */
    height: 100px; /* Hauteur de l'image */
    padding: 10px; /* Espace à l'intérieur du conteneur gris (entre l'image et le fond gris) */
}

.image-container {
    margin: 10px; /* Marge autour du fond gris */
    background-color: #f0f0f0; /* Fond gris pour l'image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-card-text {
    margin-bottom: 0; /* Retire l'espace en bas de la carte */
}

.bg-card {
    background-color: #1a6298;
    color: white;
}

.ts-control {
    border: none !important;
}

.ts-dropdown.single.plugin-clear_button {
    border: none;
}

.ts-wrapper.single .ts-control {
    background-image: none !important;
    background-color: transparent !important;
}

.roles-list {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    flex-wrap: wrap;
}

.roles-list>* {
    flex: 1 0 40%;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.25rem;
    background-color: white;
    transition: background-color 0.2s;
}

.roles-list div:hover {
    background-color: #e9ecef;
}

/* Cette partie assure que le label et la checkbox sont sur la même ligne */
.roles-list label {
    display: inline-flex; /* Change de flex à inline-flex */
    align-items: center;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    color: #495057;
}

.roles-list input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.75rem;
    cursor: pointer;
}

.leaflet-popup-content {
    width: inherit !important;
}

.no-transition .carousel-item {
    transition: none; /* Désactive toutes les transitions */
}

/* Style Modern Inputs */
.modern-input {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 10px 14px;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.modern-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Style du formulaire */
.entreprise-form {
    max-width: 100%;
}

/* Style pour le bouton custom */
.home-submit-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.home-submit-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Champs avec border-bottom uniquement */
.border-bottom-only {
    border: none;
    border-bottom: 2px solid #ced4da;
    border-radius: 0;
    padding: 10px 14px;
    background-color: transparent;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.border-bottom-only:focus {
    border-bottom: 2px solid #007bff;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
}

.grey-disabled-option > option:first-of-type {
  color: #9e9e9e;
}
li {
    list-style-type: circle;
}

li.nav-item {
    list-style-type: unset;
}

.home-mainline {
    margin-top: 10%;
}
@media (max-width: 768px) {
    .home-mainline {
        margin-top: 20%;
    }

    .sticky-md {
        position: inherit;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
    }
}

@media (min-width: 992px) {
    .left-m-dropdown {
        margin-left: -150px;
    }
}

.dropdown-menu > li {
    list-style-type: unset;
}

.home-background-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: -1;
    opacity: 0.5;
    background: url("../images/bg3-2e440b4fd2521164f23aa101c2e81750.jpg");
    background-size: cover !important;
}

@media (min-width: 992px) {
    .home-background-image::before {
        opacity: 1;
    }
}

#map { height: 100vh; }
@media (max-width: 768px) {
    #map {
        height: 50vh;
    }
    .map-container {
        /*height: 50vh !important;*/
    }
}
.map-container {
    height: 100%;
}

/* .sticky-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1020;  /* Augmenté pour être au-dessus des autres éléments */
/* } */

.sticky-header th {
    background-color: #fff; /* Couleur de fond pour empêcher l'arrière-plan de devenir transparent */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre pour donner un effet visuel */
    position: sticky; /* Position collante */
    top: 0; /* Coller en haut du conteneur */
    z-index: 2; /* Éviter que le contenu ne recouvre les en-têtes */
}