#labo_tabs {
    display: flex;
    flex-wrap: wrap;
}

#labo_tabs>.ui-tabs-nav {
    flex-shrink: 1;
    min-width: 230px;
    width: 25%;
    list-style: none;
    padding: 0;
}

#labo_tabs>.ui-tabs-nav .directeur {
    background-color: #fff;
    border: 3px solid #004A82;
    padding: 15px 10px;
    margin-right: 20px;
    flex-direction: column;
    position: relative;
    margin-bottom: 5px;
}

#labo_tabs>.ui-tabs-nav li.ui-state-active a,
#labo_tabs>.ui-tabs-nav li.ui-state-active a:hover {
    color: white;
    background-color: var(--red);
}

#labo_tabs>.ui-tabs-nav li a {
    color: #004A82;
    display: block;
    margin-right: 20px;
    padding-left: 10px;
    font-weight: bold;
}

#labo_tabs>.ui-tabs-nav li a:hover {
    background-color: rgba(0, 76, 130, 0.17);
}

#labo_tabs>.tabs_container {
    width: 75%;
    flex: 1;
    border: 2px solid #eee;
    padding: 1em;
    background-color: #fff;
    margin: 0 1em;
    position: relative;
}

#labo_tabs>.tabs_container:before {
    content: '';
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    z-index: -1;
    position: absolute;
    left: 10px;
    top: 10px;
    border: 1px solid #aaa;
}

#labo_tabs>.tabs_container>.tab-content>h2 {
    border-bottom: 3px solid #004A82;
    display: table-cell;
    padding: 0 15px 0 5px;
}

#labo_tabs>.tabs_container>.tab-content p {
    padding: 0 15px;
    text-align: justify;
}

#labo_tabs>.tabs_container>.tab-content ul {
    list-style: inside;
    padding-left: 30px;
}

#labo_tabs>.tabs_container>.tab-content ul li {
    padding-left: 5px;
}

#labo_tabs>.tabs_container>.tab-content ul li:nth-child(odd) {
    background-color: #e7e7e7;
}

#labo_tabs>.tabs_container>.tab-content :not('.ui-tabs-tab') a {
    color: #DC5F27;
}

#labo_tabs>.tabs_container>.tab-content :not('.ui-tabs-tab') a:hover {
    background-color: rgb(255, 230, 183);
}


/* Inner tabs style */

#labo_tabs .default_tabs_container>ul.ui-tabs-nav.ui-widget-header {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    border-bottom: 1px solid #ddd;
    background-color: #f5f5f5;
    z-index: 1;
    position: relative;
    margin-bottom: 0;
}

#labo_tabs .default_tabs_container>ul.ui-tabs-nav.ui-widget-header li.ui-tabs-tab {
    background-color: #f5f5f5;
    margin-bottom: -1px;
    border-bottom: 1px solid #ddd;
    border-radius: 5px 5px 0 0;
    max-width: max-content;
    flex: 1;
}

#labo_tabs .default_tabs_container>ul.ui-tabs-nav.ui-widget-header li.ui-tabs-tab.ui-state-active {
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-width: 0;
}

#labo_tabs .default_tabs_container>ul.ui-tabs-nav.ui-widget-header li.ui-tabs-tab:hover {
    background-color: #d6ebf7;
}

#labo_tabs .default_tabs_container>ul.ui-tabs-nav.ui-widget-header li.ui-tabs-tab.ui-state-active:hover {
    background-color: #fff;
}

#labo_tabs .default_tabs_container>ul.ui-tabs-nav.ui-widget-header li.ui-tabs-tab a {
    color: black;
    display: block;
    height: 100%;
    width: 100%;
    padding: 5px 15px;
    font-weight: normal;
    white-space: nowrap;
}

#labo_tabs .default_tabs_container>ul.ui-tabs-nav.ui-widget-header li.ui-tabs-tab a:hover {
    background-color: transparent;
}

#labo_tabs>.tabs_container>.tab-content .tab-content ul li:nth-child(odd) {
    background-color: #f9f9f9;
}

#labo_tabs .default_tabs_container>.tabs_container {
    border: 1px solid #ddd;
    border-top: 0;
    margin-top: -20px;
    padding-top: 10px;
    background-color: #fff;
}

.membres li,
.doctorants li {
    background-color: #f5f5f5 !important;
}

.membres>li,
.doctorants>li {
    list-style: none;
}

.director-name {
    padding: 30px 0 0 10px;
    margin-bottom: 0;
}

.director-name span {
    color: var(--red);
}

span.inner-text {
    white-space: normal;
    max-width: 95%;
}


/* ACCORDIONS */

.accordion .card {
    margin: 10px 0;
}

.accordion .card-header h5 {
    margin: 0;
}

.accordion .card-header h5 button.collapsed {
    border-radius: 30px;
}

.accordion .card-header h5 button {
    border-radius: 20px 20px 0 0;
    font-size: 1.5em;
    display: block;
    padding: 5px 25px;
    background-color: white;
    margin: 0;
    width: 100%;
    text-align: left;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion .card-header h5 button:hover {
    text-decoration: none;
    background-color: var(--red);
    color: white;
}

.accordion .card-header button .caret {
    transition: .3s;
}

.accordion .card-header button.collapsed .caret {
    transform: rotate(-90deg);
}

.accordion .card .card-body {
    background-color: white;
    margin-top: 0;
    padding: 10px 0;
}


/* / ACCORDIONS */


/*Adaptation mobile*/

@media (max-width: 650px) {
    #labo_tabs .tabs_container {
        width: 100%;
        margin: 0;
    }
}


/* / Adaptation mobile*/