/* chart home */

#chart-home .tabs {
    display: flex;
    background: transparent;
    border: 0;
}

#chart-home .tabs-title {
    margin: 0 1px 0 0;
}

#chart-home .tabs-title > a {
    display: block;
    padding: 0.68em 1em;
    line-height: 1;
    font-size: 0.9rem;
    background: #3c515e;
    color: #fff;
}

#chart-home .tabs-title > a:focus, 
#chart-home .tabs-title > a[aria-selected='true'] {
    background: #7c8084;
}

html[lang="zh-hans"] #tabs-chart .tabs-title:nth-child(1),
html[lang="zh-hant"] #tabs-chart .tabs-title:nth-child(1) {
 order: 2;
}

html[lang="zh-hans"] #tabs-chart .tabs-title:nth-child(2),
html[lang="zh-hant"] #tabs-chart .tabs-title:nth-child(2) {
 order: 1;
}

#chart-home .tabs-content {
    background: transparent;
    border: 0;
    padding: 0;
}

#chart-home .tabs-panel {
    padding: 0;
}

.user-logged-in #chart-home .tabs-panel {

}

#chart-home .block-nir-attribution-block p {
    background: transparent !important;
}

/* / chart home */

#ndq-content .panel-display .tabs {
    display: flex;
    background: #fff;
    border: 0;
}

#ndq-content .panel-display .tabs-title {
    margin: 0 1px 0 0;
}

#ndq-content .panel-display .tabs-title > a {
    display: block;
    padding: 0.68em 1em;
    line-height: 1;
    font-size: 0.9rem;
    background: #888;
    color: #fff;
}

#ndq-content .panel-display .tabs-title > a:focus, 
#ndq-content .panel-display .tabs-title > a[aria-selected='true'] {
    background: #23ac38;
}

html[lang="zh-hans"] #tabs-stock .tabs-title:nth-child(1),
html[lang="zh-hant"] #tabs-stock .tabs-title:nth-child(1) {
 order: 2;
}

html[lang="zh-hans"] #tabs-stock .tabs-title:nth-child(2),
html[lang="zh-hant"] #tabs-stock .tabs-title:nth-child(2) {
 order: 1;
}

#ndq-content .panel-display .tabs-content {
    background: #fff;
    border: 0;
    padding: 40px 0 0;
}

#ndq-content .panel-display .tabs-panel {
    padding: 0;
}

.user-logged-in #ndq-content #panels-ipe-content .panel-display .tabs-panel {
    display: block;
}