/* # General styles */

.bg-secondary-light {
    background-color: var(--gray);
}


/* # Dashboard styles*/

.action-card-background,
.graphs-card-background,
.kpi-card-background {
    background-color: var(--gray);
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.actions-card {
    padding: 1.25rem;
}

.kpi-card-background {
    padding: 0 0.94rem 0.94rem 0.94rem;
    border: 0.38rem solid var(--gray);
}

.kpi-card {
    height: 9.75rem;
}

/* buttons in kpis to navigate between kpi sectors */

.btn-sectors {
    color: var(--primary);
    background-color: var(--white);
}

.btn-sectors:hover, 
.btn-sectors:focus,
.btn-sectors:active {
    color: var(--white)!important;
}

/* # Graph styles */

/* for grey container bottom right */
.bottom-right-graphs {
    height: 49%;
}


div > div > svg > g.infolayer > g.g-xtitle > text,
div > div > svg > g.infolayer > g.g-ytitle > text {
    font-weight: bold !important;
}

/* kpi graphs on kpi monitoring */

.graph-overlay {
    background-color: var(--dark);
    opacity:0.8 !important;
    z-index: 0;
    margin-top: 0.44rem;
    margin-left: 0.69rem;
    height: 95.6%;
    width: 96.6%;
}

.graph-overlay-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-clip: padding-box;
    outline: 0;
}

.graph-source-link {
    text-decoration: underline;
}

.graph-source-link:hover {
    font-weight: bold;
    text-decoration: none;
}


/* #Cities Action table styles */

.action-progress-bar {
    max-width: 8.25rem !important;
    height: 0.5rem;
}

.action-status {
    margin-top: -0.81rem;
    margin-left: 8.75rem;
    font-weight: bold;
}

.truncate-description {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* this keeps progress bar quite wide */

.action-completion {
    min-width: 13.25rem;
}

/* this prevents actions shrinking when the screen is small
and keeps action buttons seperate from each other */
.action-visible {
    min-width: 9.13rem;
}

.action-tools {
    min-width: 7.25rem;
}

.action-tools-container {
    width: 7.19rem;
}

/* play icon to expand action description */
.show-read-more .more-text{
    display: none;
}

.action-play-icon {
    position: absolute;
    color: var(--primary);
    margin-left: 0.31rem;

}

/* Dashboard plotly graphs sizes and media queries */
#top-right, #bottom-right {
    height:9.38rem;
    margin-top: 1.25rem;
}

#left {
    height:26.88rem;
}
/* kpi monitoring plotly graphs */
.plotly-graph-kpi {
    height:13.44rem;
}

.plotly-overlay-kpi {
    height:12.5rem;
}

/* device width lesss or equal to "max-width" */

@media screen and (max-width: 47.94rem){
    #left {
        height:9.38rem;
    }
}