


/* dropdown iModulon, dataset, gene, analysis */

.dropdown-container-header { /* this is for the dropdowns*/
    width: 100%;
    margin: 0 auto;
    display : flex;
}
/* .dropdown-content {
width: 100%;
overflow: hidden;
} */

.dropdown-content-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.figure-container {
    position: relative;
    flex: 1 1 auto; /* Allow figures to shrink and grow */
    min-width: 200px; /* Minimum width for figures */
    margin: 5px;
    overflow: hidden;
}

.figure-container img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: auto; /* Maintain aspect ratio */
}



.description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height:100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    display: none;
    box-sizing: border-box;
    overflow-y:auto;
}

.figure-container:hover .description {
display: block;
}

.dropdown-btn {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    position: relative;
    text-align: left;
    font-weight: normal;
}

.dropdown-btn.active {
    background-color: #A8D0E6;
    font-weight: bold;

}

.dropdown-btn .triangle {
    position: absolute;
    right: 10px;
    transition: transform 0.3s;
    color: black;

}

.dropdown-btn.active .triangle {
    transform: rotate(180deg);
    color: white;
}

.dropdown-content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #f9f9f9;
}

.dropdown-content.show {
    display: block;
    width : 100%;

}

.desc-container {
    /* position: relative; */
    width: 100%;
    display: flex;
}

.desc-image {
    display: block;
    
}

.desc-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    height: 100%;
    /*width: 100%;*/
    opacity: 0;
    text-align: center;
    transition: .3s ease;
    background-color: #5D5C61;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    line-height: 1.2;
    max-height: 100%;
    overflow: hidden;
}

.desc-overlay h6{
    font-size: 18px;
}

@media only screen and (max-width: 1200px) {
    .desc-overlay{
        font-size: 14px;
    }
    .desc-overlay h6{
        font-size: 16px;
    }
}
@media only screen and (max-width: 992px) {
    .desc-overlay{
        font-size: 11px;
        line-height: 1.1;
    }
    .desc-overlay h6{
        font-size: 12px;
    }
    .base-image{
        height: 110%;
    }
}
@media only screen and (max-width: 768px) {
    .desc-overlay {
        font-size: 13px;
        line-height: 1.1;
    }
    .desc-overlay h6 {
        font-size: 16px;
    }
    .base-image {
        height: 100%;
    }
}

@media only screen and (max-width: 576px) {
    .desc-overlay{
        font-size: 10px;
        line-height: 1.1;
    }
    .desc-overlay h6{
        font-size: 11px;
    }
    .base-image{
        height: 100%;
    }
}

.desc-container:hover .desc-overlay {
    opacity: 0.9;
}


.subheader{
    background-color: #A8D0E6;
    color: black;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    padding-top: 8px;
}

.base-image{
    width: 100%;
}

a{
    color: #007bff;
}



h2{
    font-size: 36px;
    padding: 1rem;
}

h3{
    color: #4F5451;
    font-size: 24px;
}

.dashboard-container{
    border: #5D5C61 0.3rem solid;
    border-radius: 8px;
    padding: 6px;
}

.list-group{
    border: #5D5C61 0.3rem solid;
    border-radius: 8px;
    padding: 6px;
}

.list-group-item{
    border: none;
    padding: 6px;
    padding-left: 16px;
}

.list-group-item:hover {
    background-color: #A8D0E6;
}

.title-container {
    width: 100%;
}


.sub{
    vertical-align: sub;
}
.small-text{
    font-size: 3px;
    color: #15C70C;
}

