:root {
    --ds-legend-img-rotate: 0deg;
    --esg_portfolio_coverage: url("images/light/esg/portfolio-coverage.png");
    --esg_carbon_intensity_0: url("images/light/esg/smoke/carbon_intensity_0.png");
    --esg_carbon_intensity_1: url("images/light/esg/smoke/carbon_intensity_1.png");
    --esg_carbon_intensity_2: url("images/light/esg/smoke/carbon_intensity_2.png");
    --esg_carbon_intensity_3: url("images/light/esg/smoke/carbon_intensity_3.png");
    --esg_carbon_intensity_4: url("images/light/esg/smoke/carbon_intensity_4.png");
    --esg_climate_1: url("images/light/esg/climate_1.png");
    --esg_climate_2: url("images/light/esg/climate_2.png");
    --esg_climate_3: url("images/light/esg/climate_3.png");
    --esg_climate_4: url("images/light/esg/climate_4.png");
    --esg_climate_5: url("images/light/esg/climate_5.png");
    --esg_wellness_1: url("images/light/esg/wellness_1.png");
    --esg_wellness_2: url("images/light/esg/wellness_2.png");
    --esg_wellness_3: url("images/light/esg/wellness_3.png");
    --esg_wellness_4: url("images/light/esg/wellness_4.png");
    --esg_wellness_5: url("images/light/esg/wellness_5.png");
    --esg_conservation_1: url("images/light/esg/conservation_1.png");
    --esg_conservation_2: url("images/light/esg/conservation_2.png");
    --esg_conservation_3: url("images/light/esg/conservation_3.png");
    --esg_conservation_4: url("images/light/esg/conservation_4.png");
    --esg_conservation_5: url("images/light/esg/conservation_5.png");
    --esg_diversity_1: url("images/light/esg/diversity_1.png");
    --esg_diversity_2: url("images/light/esg/diversity_2.png");
    --esg_diversity_3: url("images/light/esg/diversity_3.png");
    --esg_diversity_4: url("images/light/esg/diversity_4.png");
    --esg_diversity_5: url("images/light/esg/diversity_5.png");
    --esg_community_1: url("images/light/esg/community_1.png");
    --esg_community_2: url("images/light/esg/community_2.png");
    --esg_community_3: url("images/light/esg/community_3.png");
    --esg_community_4: url("images/light/esg/community_4.png");
    --esg_community_5: url("images/light/esg/community_5.png");
}

html[data-theme='dark-mode'] {
    --ds-legend-img-rotate: 180deg;
    --esg_portfolio_coverage: url("images/dark/esg/portfolio-coverage.png");
    --esg_carbon_intensity_0: url("images/dark/esg/smoke/carbon_intensity_0.png");
    --esg_carbon_intensity_1: url("images/dark/esg/smoke/carbon_intensity_1.png");
    --esg_carbon_intensity_2: url("images/dark/esg/smoke/carbon_intensity_2.png");
    --esg_carbon_intensity_3: url("images/dark/esg/smoke/carbon_intensity_3.png");
    --esg_carbon_intensity_4: url("images/dark/esg/smoke/carbon_intensity_4.png");
    --esg_climate_1: url("images/dark/esg/climate_1.png");
    --esg_climate_2: url("images/dark/esg/climate_2.png");
    --esg_climate_3: url("images/dark/esg/climate_3.png");
    --esg_climate_4: url("images/dark/esg/climate_4.png");
    --esg_climate_5: url("images/dark/esg/climate_5.png");
    --esg_wellness_1: url("images/dark/esg/wellness_1.png");
    --esg_wellness_2: url("images/dark/esg/wellness_2.png");
    --esg_wellness_3: url("images/dark/esg/wellness_3.png");
    --esg_wellness_4: url("images/dark/esg/wellness_4.png");
    --esg_wellness_5: url("images/dark/esg/wellness_5.png");
    --esg_conservation_1: url("images/dark/esg/conservation_1.png");
    --esg_conservation_2: url("images/dark/esg/conservation_2.png");
    --esg_conservation_3: url("images/dark/esg/conservation_3.png");
    --esg_conservation_4: url("images/dark/esg/conservation_4.png");
    --esg_conservation_5: url("images/dark/esg/conservation_5.png");
    --esg_diversity_1: url("images/dark/esg/diversity_1.png");
    --esg_diversity_2: url("images/dark/esg/diversity_2.png");
    --esg_diversity_3: url("images/dark/esg/diversity_3.png");
    --esg_diversity_4: url("images/dark/esg/diversity_4.png");
    --esg_diversity_5: url("images/dark/esg/diversity_5.png");
    --esg_community_1: url("images/dark/esg/community_1.png");
    --esg_community_2: url("images/dark/esg/community_2.png");
    --esg_community_3: url("images/dark/esg/community_3.png");
    --esg_community_4: url("images/dark/esg/community_4.png");
    --esg_community_5: url("images/dark/esg/community_5.png");
}

/* performance report chart styles */

table.databox.legend_table_spacing tr.subheader1 td.number_cell {
    padding-bottom: 0;
}

table.databox.legend_table_spacing tr.subheader1+tr.subheader td.number_cell {
    padding-top: 0;
}

/* Adjust whitespace in left*/

td.chart>.env_chart_svg>svg {
    transform: translateX(-12px);
}

.env_chart_svg .svg_group {
    fill: transparent;
    stroke: none;
    stroke-width: 0;
}

.env_chart_svg .svg_text, .env_chart_svg .svg_path {
    fill: var(--ds-text-color-default);
}

.env_chart_svg .svg_text {
    font-family: 'Lato', sans-serif;
}

.env_chart_svg .svg_line:not(.svg_line_has_stroke), .env_chart_svg .svg_rect_border {
    stroke: var(--ds-text-color-default);
}

.env_chart_svg .svg_rect_no_fill {
    fill: none;
}

.chartbox td.no_top_padding {
    padding-top: 0;
}

div#alignment_score .env_chart_svg .svg_path {
    stroke: var(--ds-text-color-default) !important;
}

div.sustainability_esg_font_color {
    color: var(--ds-text-color-default);
}

.sustainability_esg_font_color {
    color: var(--ds-text-color-default);
}

.legend_right.databox:not(.table_full_width), .env_full_page.chartbox_container .tablebox_container~.tablebox_container table.reportbox.legend_table_spacing {
    width: auto;
}

table.chartbox.databox table.legend_right.databox:not(.table_full_width) {
    width: 100%;
}

.legend_table_spacing tr.subheader.has_only_empty_cells td:first-child+td[width] {
    width: 16%;
}

table.legend_right.table_full_width tr:first-child.has_only_empty_cells:not(.subheader) td:first-child.percent_cell[width] {
    width: 20%;
}

table.legend_right.table_full_width tr:first-child:not(.subheader, .has_only_empty_cells) td:first-child.text_cell[width] {
    width: 62%;
}

table.legend_right.table_full_width tr:first-child:not(.subheader, .has_only_empty_cells) td:not(:first-child).percent_cell[width] {
    width: 25%;
}

td.spacer_cell {
    padding-left: 22px;
}

.chartbox td.chart.text_align_left {
    text-align: left;
}

table.chartbox td.legend_right table tr:not(.width, :last-child) {
    border-bottom: 0.5px solid var(--ds-divider-color);
}

tr.row_text_bottom td {
    padding-top: 0;
    border: none;
}

table.axis_top_table tr.axis_row td:first-child {
    width: 570px;
}

table.infobox table.chartbox td.legend_right table td {
    padding-top: 7px;
    padding-bottom: 7px;
}

table.axis_top_table td.chart_label_right {
    width: 9%;
}

table.infobox table.chartbox td.legend_right table td:first-child>span {
    display: flex;
    align-items: center;
}

table.infobox table.chartbox td.legend_right table .symbol_colorcircle {
    font-size: 18px;
    width: auto;
    margin-left: 0;
    margin-right: 4px;
    height: 22px;
    padding-bottom: 2px;
}

table.infobox table.chartbox .legend_right table td {
    vertical-align: middle;
}

table.chartbox td.legend_right table td .symbol_colorcircle {
    margin-left: 0;
    margin-right: 12px;
    text-align: center;
    font-size: 12px;
}

table.chartbox tr.has_only_empty_cells td, table.databox tr.has_only_empty_cells td, table.chartbox tr.has_only_empty_cells:not(.subheader) td {
    padding: 0;
    height: 0;
    border: none;
}

td.chart_nopadding {
    padding: 0;
}

td.chart_vertical_middle table td:first-child {
    padding-left: 0;
    padding-bottom: 0;
    vertical-align: bottom;
}

table.chartbox tr.legend_top td, table.chartbox table.legend_right tr.separator_top.has_only_empty_cells {
    border: none;
}

tr.has_only_empty_cells.subheader td {
    border: none;
    padding: 0;
    height: 12px;
}

table.chartbox tr.chart_label td {
    padding-left: 0;
    padding-right: 0;
    vertical-align: top;
    border: none;
}

table.legend_right tbody>tr>td, table.chartbox tr.chart_label table td {
    padding-top: 0;
    padding-bottom: 0;
    height: auto;
}

/* Add gap between adjacent labels*/

table.chartbox tr.chart_label table tr td~td:not(:empty) {
    padding-left: 8px;
}

table.chartbox table.legend_right.databox tr td.percent_cell img[src*="right_triangle"], table.chartbox>tbody>tr.legend_top>td>img[src*="right_triangle"] {
    rotate: var(--ds-legend-img-rotate);
}

.chartbox tr.level2 .chart_legend_table td:first-child {
    padding-left: 10px;
}

div#annualchart table.chartbox table.reportbox tr.width td:first-child {
    width: 17.6%;
}

.chartbox_container {
    background: var(--ds-background-color-bg-2);
    box-shadow: var(--ds-edit-panel-box-shadow);
    border-radius: 6px;
    padding: 24px;
    box-sizing: border-box;
}

table.chartbox .level1, table.infobox .level1 {
    background-color: var(--ds-level1-row-background-color);
}

.chartbox td {
    border-bottom: 1px solid var(--ds-border-box-color);
}

table.chartbox tr:first-child:not(.subheader):not(.width)~tr.level1 td {
    color: var(--ds-text-color-subtle-hint);
}

.chartbox .level1 {
    background-color: inherit;
}

.chartbox .legend_right tr.separator_top {
    border-color: var(--ds-divider-color);
}

.chartbox tr.level2 td.legend_parent_cell {
    padding-left: 0
}

.tablebox_container>table.chartbox td.tablebox_container, .chartbox_container .tablebox_container, .chartbox_container .chartbox_container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.env_full_page .chartbox_container .tablebox_container:not(:first-child):last-child>table.reportbox {
    width: 79%;
}

.env_full_page .chartbox_container .tablebox_container:not(:first-child):last-child>table.reportbox tr td {
    padding: 9px 4px 10px 4px;
}

.chartbox_container .tablebox_container .chartbox .chart_nopadding td[width="11.5%"] {
    width: 19.5%;
}

.tablebox_container.inner_table_spacing table.chartbox:first-child {
    margin-top: 0;
}

.chartbox td.chart_vertical_middle {
    padding-left: 0;
}

table.chartbox tr.chart_label table {
    margin-left: 10px;
}

table.chartbox tbody>tr>td {
    border: none;
}

table.chartbox>tbody>tr.subheader>td:first-child, table.chartbox>tbody>tr.subheader+tr.legend_top>td:first-child {
    padding-left: 12px;
}

.chart_legend_table>tbody>tr>td:first-child {
    text-align: right;
    padding-right: 4px;
}

table.databox.chart_legend_table td:first-child, .legend_right table.chart_legend_table tr td:first-child {
    text-align: left;
}

.chartbox .legend_right .databox td span.has_color_symbol {
    display: flex;
}

.inner_table_spacing .chartbox tr.subheader td {
    padding-top: 0;
    padding-bottom: 0;
}

.env_chart g.highcharts-axis-labels text {
    fill: var(--ds-text-color-default) !important;
}

.env_chart g.highcharts-series.highcharts-gauge-series.highcharts-tracker path.highcharts-dial {
    fill: transparent;
}

.env_chart rect.highcharts-background {
    fill: transparent;
}

div#errormessage.env_section.chartbox_container {
    display: inline-block;
    margin: 4px 0 24px 24px;
}

div#correlation div#errormessage.env_section:not(.env_half_page, .env_wide_page, .env_full_page, .env_tab_page) {
    margin: 4px 24px 24px;
}

#chart .tablebox_container.inner_table_spacing {
    margin-top: 24px;
}

div#variance_chart table.chartbox tr td.chart {
    text-align: left;
}

div#variance_chart .env_full_page.chartbox_container {
    margin-left: 0;
}

.reportbox.legend_table_spacing tr.pdf_hint_asset_allocation .symbol_colorcircle {
    margin-right: 12px;
}

.databox.legend_table_spacing .separator_top td {
    border-bottom: 1px solid var(--ds-border-box-color);
    border-top: none;
}

.databox.legend_table_spacing .separator_top~tr:last-child td {
    border-bottom: none;
}

.chartbox tr.level2 td.legend_parent_cell {
    padding-left: 0
}

.databox.legend_table_spacing .separator_top td {
    border-bottom: 1px solid var(--ds-border-box-color);
    border-top: none;
}

.databox.legend_table_spacing .separator_top~tr:last-child td {
    border-bottom: none;
}

.chartbox_container .reportbox tr.separator_top td {
    border-bottom: 1px solid var(--ds-border-box-color);
}

span.symbol_colorblock[style="background-color: #FFFFFF"] {
    background-color: transparent !important;
}

table.chartbox.databox:not(.chart_legend) {
    width: auto;
}

table.chartbox.databox table.legend_right.databox tr.empty_row td {
    display: table-cell;
}

table.chartbox.inner_table_space tr.subheader td {
    vertical-align: middle;
}

table.chartbox.chart_xaxis_table {
    margin-left: 11px;
    width: 89%;
}

table.chartbox.chart_xaxis_table td {
    padding: 0;
}

table.chartbox.databox tr td.number_cell~td.text_cell.legend_header {
    text-align: center;
}

table.chartbox.inner_table_space tr.subheader td {
    vertical-align: middle;
}

/* charts gets in the popup style started */

.popup.inputform.has_hide_show .infobox tr.level2 table.chartbox td.chart, .popup.inputform.has_hide_show .infobox td.legend_right, .popup.inputform.has_hide_show .infobox td.legend_right table.databox tr:not(.width) td:first-child {
    padding-left: 0;
}

.popup.inputform.has_hide_show .infobox tr.level2 table.chartbox td.legend_right {
    padding-left: 5px;
    padding-right: 0;
}

.popup.inputform.has_hide_show .infobox tr.level2 table.chartbox td:not(.legend_right) tr.width td:first-child {
    width: 32%;
}

.popup.inputform.has_hide_show .infobox tr.level2 table.chartbox td:not(.legend_right) tr.width td:last-child {
    width: 68%;
}

.popup.inputform.has_hide_show table.infobox table.chartbox tr.subheader td {
    background-color: transparent;
    border-bottom: 0.5px solid var(--ds-divider-color);
}

.popup .env_section.env_half_page .env_section table.chartbox~table.chartbox {
    margin-top: 0;
}

/* charts gets in the popup style end */

/* report ratings icons style started */

.esg_portfolio_coverage {
    vertical-align: inherit;
    height: 18px;
    width: 14px;
    display: inline-block;
    background-repeat: no-repeat;
    background-image: var(--esg_portfolio_coverage);
}

span.esg_carbon_intensity_0, span.esg_carbon_intensity_1, span.esg_carbon_intensity_2, span.esg_carbon_intensity_3, span.esg_carbon_intensity_4 {
    height: 94px;
    width: 63px;
    display: inline-block;
    background-repeat: no-repeat;
}

span.esg_climate_1, span.esg_climate_2, span.esg_climate_3, span.esg_climate_4, span.esg_climate_5 {
    height: 29px;
    width: 150px;
    display: inline-block;
    background-repeat: no-repeat;
}

span.esg_wellness_1, span.esg_wellness_2, span.esg_wellness_3, span.esg_wellness_4, span.esg_wellness_5 {
    height: 29px;
    width: 185px;
    display: inline-block;
    background-repeat: no-repeat;
}

span.esg_conservation_1, span.esg_conservation_2, span.esg_conservation_3, span.esg_conservation_4, span.esg_conservation_5 {
    height: 29px;
    width: 141px;
    display: inline-block;
    background-repeat: no-repeat;
}

span.esg_diversity_1, span.esg_diversity_2, span.esg_diversity_3, span.esg_diversity_4, span.esg_diversity_5 {
    height: 29px;
    width: 168px;
    display: inline-block;
    background-repeat: no-repeat;
}

span.esg_community_1, span.esg_community_2, span.esg_community_3, span.esg_community_4, span.esg_community_5 {
    height: 29px;
    width: 168px;
    display: inline-block;
    background-repeat: no-repeat;
}

span.esg_carbon_intensity_0 {
    background-image: var(--esg_carbon_intensity_0);
}

span.esg_carbon_intensity_1 {
    background-image: var(--esg_carbon_intensity_1);
}

span.esg_carbon_intensity_2 {
    background-image: var(--esg_carbon_intensity_2);
}

span.esg_carbon_intensity_3 {
    background-image: var(--esg_carbon_intensity_3);
}

span.esg_carbon_intensity_4 {
    background-image: var(--esg_carbon_intensity_4);
}

span.esg_climate_1 {
    background-image: var(--esg_climate_1);
}

span.esg_climate_2 {
    background-image: var(--esg_climate_2);
}

span.esg_climate_3 {
    background-image: var(--esg_climate_3);
}

span.esg_climate_4 {
    background-image: var(--esg_climate_4);
}

span.esg_climate_5 {
    background-image: var(--esg_climate_5);
}

span.esg_wellness_1 {
    background-image: var(--esg_wellness_1);
}

span.esg_wellness_2 {
    background-image: var(--esg_wellness_2);
}

span.esg_wellness_3 {
    background-image: var(--esg_wellness_3);
}

span.esg_wellness_4 {
    background-image: var(--esg_wellness_4);
}

span.esg_wellness_5 {
    background-image: var(--esg_wellness_5);
}

span.esg_conservation_1 {
    background-image: var(--esg_conservation_1);
}

span.esg_conservation_2 {
    background-image: var(--esg_conservation_2);
}

span.esg_conservation_3 {
    background-image: var(--esg_conservation_3);
}

span.esg_conservation_4 {
    background-image: var(--esg_conservation_4);
}

span.esg_conservation_5 {
    background-image: var(--esg_conservation_5);
}

span.esg_diversity_1 {
    background-image: var(--esg_diversity_1);
}

span.esg_diversity_2 {
    background-image: var(--esg_diversity_2);
}

span.esg_diversity_3 {
    background-image: var(--esg_diversity_3);
}

span.esg_diversity_4 {
    background-image: var(--esg_diversity_4);
}

span.esg_diversity_5 {
    background-image: var(--esg_diversity_5);
}

span.esg_community_1 {
    background-image: var(--esg_community_1);
}

span.esg_community_2 {
    background-image: var(--esg_community_2);
}

span.esg_community_3 {
    background-image: var(--esg_community_3);
}

span.esg_community_4 {
    background-image: var(--esg_community_4);
}

span.esg_community_5 {
    background-image: var(--esg_community_5);
}

.chartbox .legend_right tr td {
    padding-top: 4px;
    padding-bottom: 4px;
}

.chartbox .legend_right tr td.text_cell.bold, .chartbox .legend_right tr td.text_cell.bold~td {
    padding-top: 3px;
    padding-bottom: 3px;
}

.chartbox .legend_right tr:first-child td {
    padding-bottom: 10px;
}

/* report ratings icons style end */