body {
    background-color: #F3F7FD;
    font-family: 'Baloo 2', cursive;
}

.btn-primary {
    background-color: #1F528A;
}

.bg-primary {
    background-color: #1F528A !important;
}

.border-primary {
    border-color: #1F528A !important;
}

.text-primary {
    color: #1F528A !important;
}

.btn-success {
    background-color: #239E7F;
}

.text-success {
    color: #239E7F;
}

.btn-secondary {
    background-color: #58585A;
}

.text-secondary {
    color: #58585A;
}

.alert-danger {
    color: #fff;
    background-color: #F38685;
    border-color: #F38685;
}

strong {
    font-weight: bold;
}

.main_container {
    padding: 14px;
}

/* Tablet */
@media (min-width:600px) {
    .main_container {
        padding: 20px;
    }
}

/* Desktop */
@media (min-width:900px) {
    .main_container {
        padding: 50px;
    }
}

#ToTop {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    font-size: 18px;
    /* Increase font size */
}

#myBtn:hover {
    background-color: #555;
    /* Add a dark-grey background on hover */
}

@media (min-width: 768px) {
    nav.navbar div.container div.collapse ul li a.h1 {
        margin: 0;
    }
}

nav.navbar div.container div.collapse ul li a.active {
    color: #1F528A;
}

.profile-link {
    font-weight: 500;
    color: #464A53 !important;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #57636d;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #83C5AA;
}

.featuredBtn.active {
    background-color: #0095FF;
    color: white;
}

.featuredBtn {
    /* width: 110px;
    height: 38px; */
    color: #687C97;
    background-color: #F5F6F8;
    border: none;
    letter-spacing: 2px;
    outline: none;
}

.uploads {
    padding: 5px;
    border-radius: 5px;
    border: 2px dashed #B5E0FF;
    color: #c8c9dd;
    font-size: 0.9rem;
    font-weight: 500;
    background: #F9FBFD;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
}

.uploads:hover {
    opacity: 0.8;
}

.image-preview-container {
    display: flex;
    max-width: 100%;
    margin-top: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 150px;
}

.image-preview-wrapper {
    width: calc(50% - 19px);
    margin-right: 15px;
    height: 75px;
    position: relative;
    margin-bottom: 8px;
}

.image-preview-wrapper img {
    width: 100%;
    height: 100%;
}


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

.tooltipp .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: #0095ff;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 99999;
    bottom: 125%;
    left: -10%;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltipp .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltipp:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 576px) {
    .tooltipp .tooltiptext {
        left: -10%;
        margin-left: -130px;
    }

    .tooltipp .tooltiptext::after {
        left: 78%;
    }
}

.logo-image {
    width: 142px;
    height: 50px;
}

.home-logo {
    width: 146px;
}

/* Ajouter une ligne sous chaque li */
.line {
    border: 0;
    border-top: 1px solid #ccc;
    width: 100%;
    margin-top: 0.2rem; /* Ajuster l'espace entre la ligne et le texte */
    margin-bottom: 0.2rem; /* Ajuster l'espace entre la ligne et le texte */
}

/* Media query for smaller screens */
@media only screen and (max-width: 768px) {
    .logo-image {
        width: 100px; /* Adjust the width for smaller screens */
        height: 35px; /* Adjust the height for smaller screens */
    }
}

@media (max-width: 575px) {
    .home-logo {
        width: 100px; /* Adjust the width for smaller screens */
        height: 35px; /* Adjust the height for smaller screens */
    }
    .nav-link {
        font-size: 1rem !important;
    }
}

@media (min-width: 992px) {
    .line {
        display: none;
    }
}

.account-link {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    margin-top: 10px;
}

.account-link:hover {
    color: #83C5AA;
    background-color: transparent !important; /* Définit le fond comme transparent */
}

.navbar-toggler:focus,
.navbar-toggler:active {
    /* box-shadow: none; */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Ajoute une ombre subtile */
}

.notification-icon-container {
    position: relative;
    color: #57636D;
}

.notification-icon-container .badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 4px 5px;
    font-size: 0.8rem;
    line-height: 1;
    text-align: center;
}

.notification-icon-container .fa-regular.fa-bell {
    border: 2px solid #57636D; /* Couleur de la bordure et épaisseur */
    border-radius: 50%; /* Pour créer un cercle */
    padding: 8px 10px; /* Espace à l'intérieur du cercle */
}

.dropdown-header.text-primary {
    text-decoration: none; /* Supprime le soulignement */
    color: #0E71B4;
    font-size: 16px;
}

.notification-body {
    width: 450px;
}

.notification-text {
    display: inline-block; /* Permet au texte de se comporter comme un bloc en ligne */
    white-space: nowrap; /* Empêche le texte de passer à la ligne automatiquement */
    overflow: hidden; /* Cache tout texte qui dépasse la taille définie */
    text-overflow: ellipsis; /* Affiche des points de suspension (...) pour indiquer qu'une partie du texte est cachée */
    max-width: 350px;
    color: #767676;
}

.notification-view {
    display: inline-block; /* Permet au texte de se comporter comme un bloc en ligne */
    overflow: hidden; /* Cache tout texte qui dépasse la taille définie */
    margin-left: 30px;
    color: #0E71B4;
    text-decoration: none;
    cursor: pointer;
}

.notification-date {
    font-size: 14px;
    color: #777;
}

.notification-body .dropdown-item:active {
    background-color: transparent !important;
    color: #767676;
}
