/*/ Contenant /*/

.fwk-chart {
    margin: 10px 0;
    border-radius: var(--round1);
    border: 5px solid var(--gray1);
    overflow: auto;
    text-align: center;
    padding: 10px 0 15px;
}

/*/ Bloc /*/

.fwk-chart-item {
    position: relative;
    display: inline-block;
    margin: 15px;
    min-width: 300px;
    width: 300px;
    border-radius: var(--round1);
}

.fwk-chart-content {
    padding: 15px;
    border-radius: var(--round1);
    background: var(--gray1);
    text-align: left;
}

.fwk-chart-content .fwk-tag.tag-photo.tag-piled {
    margin-top: 3px !important;
    margin-bottom: 3px !important;
}

.fwk-chart-item-title {
    display: block;
    margin-bottom: 5px;
    border-radius: var(--round1);
    padding: 15px;
    font-weight: 600;
    line-height: 12px;
    background: var(--main-light);
    color: var(--dark1);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fwk-chart-item-title i {
    width: 15px;
    float: left;
    line-height: 30px;
    font-size: 8px;
}

.fwk-chart-item-title-label {
    height: 30px;
    padding: 3px 0;
}

.fwk-chart-item-title span {
    display: block;
    font-size: 7px;
}

.fwk-chart-item-count {
    float: left;
    min-width: 30px;
    height: 26px;
    border-radius: var(--round1);
    margin: 2px 15px 2px 0;
    line-height: 24px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    padding: 0 12px;
    border: 1px solid transparent;
}

.fwk-chart-item-count i {
    width: 15px;
    float: none;
    display: inline-block;
    line-height: inherit;
    text-align: left;
    font-size: 8px;
}

/*/ Structure hiérarchique /*/

.fwk-chart-frame {
    border-collapse: collapse !important;
}

.fwk-chart-frame td {
    vertical-align: top;
}

.fwk-chart-frame td.first {
    padding-left: 15px;
}

.fwk-chart-frame td.last {
    padding-right: 15px;
}

/*/ Lignes entre blocs /*/

.fwk-chart-vline {
    height: 50px;
    width: 5px;
    background: var(--gray1);
    margin: -5px auto;
    border-radius: var(--round1);
}

.fwk-chart-hline {
    height: 5px;
    background-color: var(--gray1);
    border-radius: var(--round1);
}

.fwk-chart-frame > tbody > tr > td.first > .fwk-chart-hline {
    width: calc(50% + 5px);
    margin: auto -5px auto auto;
}

.fwk-chart-frame > tbody > tr > td.last > .fwk-chart-hline {
    width: calc(50% + 5px);
    margin: auto auto auto -5px;
}

.fwk-chart-frame > tbody > tr > td.full > .fwk-chart-hline {
    width: calc(100% + 10px);
    margin: auto -5px;
}

/*/ Affichage compressé /*/

.chart-viewsmall .fwk-chart-item {
    margin: 15px 5px 10px;
    min-width: 250px;
    width: 250px;
}

.chart-viewsmall .fwk-chart-item-title {
    padding: 5px 15px 5px;
    font-size: 10px;
}

.chart-viewsmall .fwk-chart-item-count {
    margin: 2px 7px 2px -8px;
}

.chart-viewsmall .fwk-chart-content {
    padding: 5px 8px 4px;
}

.chart-viewsmall td.first {
    padding-left: 5px;
}

.chart-viewsmall td.last {
    padding-right: 5px;
}

.chart-viewsmall .fwk-chart-vline {
    height: 30px;
    width: 3px;
    margin: -3px auto;
}

.chart-viewsmall .fwk-chart-hline {
    height: 3px;
    background-color: var(--gray1);
    border-radius: var(--round1);
}
