/*
Theme Name: IPPI-DB
Theme URI: https://ippidb.pasteur.fr/
Author: Rachel Torchet
Description: IPPI-DB Theme
*/


/* COMPOUND SESSION */


/* Compounds list */

.compounds_page_list {
    width: 1000px !important;
    margin: 0 auto !important;
}

.compounds_list_number {
    font-family: "BrandonGrotesqueBlk";
    text-transform: uppercase;
    font-size: 30px;
}

.compound_list_title {
    font-family: "PlayfairDisplayReg";
}

.compounds_sort_btn {
    font-family: "BrandonGrotesqueReg" !important;
    background-color: #FFFFFF !important;
    color: #414144 !important;
}

.compounds_display_btn {
    font-family: "BrandonGrotesqueReg" !important;
    background-color: #FFFFFF !important;
    color: #8D8889 !important;
    border: none;
}

.compounds_display_btn:active,
.compounds_display_btn.active {
    font-family: "BrandonGrotesqueReg" !important;
    background-color: #FFFFFF !important;
    color: #414144 !important;
}

.compounds_display_btn:hover {
    font-family: "BrandonGrotesqueReg" !important;
    background-color: #FFFFFF !important;
    color: #414144 !important;
}

.filter_row {
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
}

.filter_btn {
    width: 15%;
    height: 100px;
}

.filter_box {
    width: 100%;
    height: 100px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #F9F9F9;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    border-right: 1px solid #AEB7C0;
}

.sidenav a {
    padding: 8px 8px 0px 18px;
    text-decoration: none;
    font-size: 16px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-family: "BrandonGrotesqueReg";
    font-size: 15px;
    margin-left: 50px;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}

.side_menu_title {
    font-size: 20px;
    font-family: "BrandonGrotesqueBlk";
    margin-left: 10px;
}

.filters_subtitles {
    margin-left: 15px;
    cursor: pointer;
}

.open_filters_btn {
    padding: 0px;
}

.open_filters_btn span {
    font-family: "BrandonGrotesqueReg";
    font-size: 18px !important;
    padding: 6px;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0px 1px 6px #aaaaaa;
    background-color: #2D96FA;
    border-radius: .25rem;
}

.open_filters_btn span:hover {
    background-color: rgb(11, 133, 247) !important;
}

.open_filters_btn span a {
    color: #FFFFFF !important;
    padding: 10px;
}

.filter_item {
    margin-left: 10px;
}

.selected-filters {
    color: #495057 !important;
    background-color: #e9ecef !important;
}

.border_card {
    border-color: #E8E0E0 !important;
    box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.2);
}

.border_card:hover {
    border-color: #E8E0E0 !important;
    box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.3);
}

.desc_card {
    padding: 10px !important;
    border-top: 1px solid #E8E0E0;
    background: #F1F4F5;
    font-family: "BrandonGrotesqueReg";
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.desc_card p {
    margin-block-end: 0px;
}

.badge-light {
    font-family: "BrandonGrotesqueBld";
    background-color: transparent !important;
}

.close_modal {
    background-color: #FFF !important;
    color: #414144 !important;
}

.update_modal_title {
    font-family: "BrandonGrotesqueBld";
    font-size: 23px;
}

.modal_range {
    font-size: 14px;
}

.table_title {
    font-family: "BrandonGrotesqueBld";
    font-size: 16px;
}

.table th, td {
    border-right: 1px solid #dee2e6;
}

.col_width {
    width: 20%;
}

.card_title {
    font-family: "BrandonGrotesqueBld";
}

.card_border {
    border: 1px solid #E3E3E3;
}

.compound_header_title {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    margin-bottom: 18px;
    border-radius: 3px;
    box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.bg_warning {
    background-color: #fbbf839e;
    border-radius: 3px;
}

.info_point {
    color: #b6bfc7;
    font-size: 17px;
    cursor: pointer;
}

.info_point:hover {
    color: #8e969c;
}

.legend_table {
    border: 1px solid #dee2e6;
}

.legend_table td, .legend_table th {
    padding: .0px;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.legend_table tr, th {
    font-family: "BrandonGrotesqueBld";
}