.sidenav {
    height: 100%;
    width: 200px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background: #7386d5;
    overflow-x: hidden;
    padding-top: 20px;
    border-right: 1px solid black;
}

/* Style the sidenav links and the dropdown button */
.sidenav a,
.dropdown-btn {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 20px;
    color: #ffffff;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.div_all {
    background-color: rgba(133, 133, 133, 0.562);
    border: 1px solid rgba(0, 0, 0, 0.493);
    border-radius: 5px 5px 5px 5px;
}

.div_all_check {
    background-color: rgba(133, 133, 133, 0.178);
    border: 1px solid rgba(0, 0, 0, 0.493);
    border-radius: 5px 5px 5px 5px;
}

.header {
    position: sticky;
    top: 0;
}

th {
    position: sticky;
    top: 0;
    /* box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4); */
}

.header2 {
    position: sticky !important;
    top: 100px;
    overflow: hidden !important;
}

/* On mouse-over */
.sidenav a:hover,
.dropdown-btn:hover {
    color: #f1f1f1;
}

.photo-opacity img {
    filter: opacity(50%);
    -webkit-filter: opacity(50%);
}
.photo-opacity img:hover {
    filter: opacity(100%);
    -webkit-filter: opacity(100%);
}

/* Main content */
.main {
    margin-left: 200px; /* Same as the width of the sidenav */
    font-size: 20px; /* Increased text to enable scrolling */
    padding: 0px 10px;
}

/* Add an active class to the active dropdown button */
.active {
    background-color: rgba(133, 133, 133, 0.096) !important;
    color: #963634 !important;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}
.fa-caret-up {
    float: right;
    padding-right: 8px;
}

.logout_sidebar_button {
    position: absolute;
    display: inline-block;
    bottom: 0;
    left: 15px;
}
hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.line {
    border-top: 0.5px dashed #686868;
}

.line2 {
    border-top: 2px solid black;
}

.title-part {
    padding: 6px 8px 6px 16px;
    color: rgba(255, 255, 255, 0.486);
}

.container {
    margin-left: 240px;
    width: 100%;
    margin-right: 100px;
}

.uper {
    margin-top: 40px;
}

label {
    display: none;
}

label,
#toggle {
    display: none;
}

.alert {
    text-align: center;
}

@media all and (min-width: 991px) {
    .container {
        margin-left: 100px !important;
    }
}

@media all and (max-width: 991px) {
    nav {
        height: 60px;
    }

    .main_pages {
        display: none;
        flex-direction: column;
        background: #48435c;
        height: 220px;
    }

    .main_pages a {
        width: 50%;
    }

    label {
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        font-size: 40px;
        color: white;
        cursor: pointer;
    }

    #toggle:checked + .main_pages {
        display: flex;
    }

    #div_alphabet_convent_2 {
        position: fixed;
        top: 10%;
        left: 0px !important;
        z-index: 9500;
        width: 25px;
        /* transform: rotate(-90deg);  */
        text-align: center;
    }

    #div_alphabet_congres_2 {
        position: fixed;
        top: 10%;
        left: 0px !important;
        z-index: 9500;
        width: 25px;
        /* transform: rotate(-90deg);  */
        text-align: center;
    }

    #div_alphabet_2 {
        position: fixed;
        top: 20%;
        left: 0px !important;
        z-index: 9500;
        width: 25px;
        /* transform: rotate(-90deg);  */
        text-align: center;
    }
}

@media (max-width: 700px) {
    .table thead {
        display: none;
    }
    .table tr {
        display: block;
        margin-bottom: 40px;
    }
    .table td {
        display: block;
        text-align: right;
    }
    .table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }
}

#div_alphabet_convent_1 {
    position: fixed;
    top: 5%;
    right: 15px;
    z-index: 9500;
    width: 25px;
    /* transform: rotate(-90deg);  */
    text-align: center;
}

#div_alphabet_convent_2 {
    position: fixed;
    top: 5%;
    left: 75px;
    width: 25px;
    /* transform: rotate(-90deg);  */
    text-align: center;
}

#div_alphabet_congres_1 {
    position: fixed;
    top: 5%;
    right: 15px;
    width: 25px;
    /* transform: rotate(-90deg);  */
    text-align: center;
}

#div_alphabet_congres_2 {
    position: fixed;
    top: 5%;
    left: 75px;
    width: 25px;
    /* transform: rotate(-90deg);  */
    text-align: center;
}

.letter {
    padding: 2px !important;
}

#div_alphabet {
    position: fixed;
    top: 5%;
    right: 15px;
    width: 25px;
    /* transform: rotate(-90deg);  */
    text-align: center;
}

#div_alphabet_2 {
    position: fixed;
    top: 5%;
    left: 75px;
    width: 25px;
    /* transform: rotate(-90deg);  */
    text-align: center;
}

.superawesome {
    background-color: #97e2f7;
    width: 100px;
}
.awesome {
    background-color: #027ef2;
    width: 100px;
}

.waiting {
    opacity: 0.8;
    background-color: #ccc;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1000;
}

.div_text {
    margin-top: 15%;
    line-height: 100px;
    text-align: center;
}

.div_wait {
    line-height: 100px;
    text-align: center;
}

@keyframes nomAnim {
    from {
        background: rgb(255, 205, 42);
        height: 36px;
        margin-top: -8px;
    }

    70% {
        background: red;
        height: 20px;
        margin-top: 0px;
    }

    to {
        background: white;
        height: 20px;
        margin-top: 0px;
    }
}

.chargement div {
    display: inline-block;
    width: 6px;
    height: 20px;
    background: white;
    animation: nomAnim 0.7s infinite linear;
}

.chargement div:first-child {
    animation-delay: 0s;
}

.chargement div:nth-child(2) {
    animation-delay: 0.1s;
}

.chargement div:last-child {
    animation-delay: 0.2s;
}

.arrayStyle {
    border: 1px solid black;
    border-radius: 5px 5px 5px 5px;
    background-color: rgba(133, 133, 133, 0.63);
}

.tdAlliance {
    color: #963634;
    font-weight: bold;
}
