/* 初始化CSS */
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img {
    margin: 0;
    padding: 0;
}
fieldset, img {
    border: none;
}
address, caption, cite, code, dfn, th, var {
    font-style: normal;
    font-weight: normal;
}
ul, ol {
    list-style: none;
}
select, input {
    vertical-align: middle;
}
select, input, textarea {
    font-size: 12px;
    margin: 0;
}
table {
    border-collapse: collapse;
}
body {
    color: #333;
    font: 12px/22px 'Microsoft Yahei', '微软雅黑', 'Simsun', '宋体', 'Arial';
}
/* 页面通用部分 */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}
.clearfix {
    zoom: 1;
}
.clearit {
    clear: both;
    height: 0;
    font-size: 0;
    overflow: hidden;
}
a {
    color: #1f3b7b;
    text-decoration: none;
}
a:visited {
    color: #6079b2;
}
a:hover, a:active, a:focus {
    color: #004a82;
    text-decoration: none;
}

/* 模版部分 */
html {
    background-color: #f6f6f6;
}

.main {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.part {
    width: 100%;
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.part-left {
    width: 700px;
}

.part-right {
    width: 280px;
}

.part .blk {
    margin-bottom: 20px;
}

:root {
    --theme-color-1: #008af5;
    --theme-color-2: #e74c3c;
    --theme-color-3: #ededed;
}

.part-right .blk {
    background-color: #fff;
    border: 1px solid #ededed;
}

.xc-blk-title {
    /* margin: -10px 10px 0; */
    margin: 0 10px;
    height: 50px;
    line-height: 50px;
    color: #333;
    font-size: 18px;
    border-bottom: 2px solid var(--theme-color-1);
}

.xc-blk-title h2.title-text {
    color: #333;
    font-size: 18px;
    font-weight: normal;
}

.stock-cn-list {
    padding: 10px 15px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    line-height: 30px;
    color: #333;
}

.stock-name {
    flex-basis: 80px;
}

.stock-price {
    flex-basis: 80px;
}

.stock-change {
    text-align: right;
}

body .red {
    color: #f00;
}

body .green {
    color: #080;
}

.xc-loading::before {
    display: block;
    content: '';
    min-height: 200px;
    background: url(https://n.sinaimg.cn/finance/c30320b4/20231103/loading.png) no-repeat center;
}

.xc-tabs-wrap {
    height: 40px;
    border-bottom: 1px solid var(--theme-color-3);
    display: flex;
    /* align-items: stretch; */
    margin-bottom: 12px;
}

.xc-tab {
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.xc-tab:hover {
    opacity: 0.8;
}

.xc-tab.xc-tab-active {
    position: relative;
    z-index: 1;
    color: var(--theme-color-1);
    border-bottom: 3px solid var(--theme-color-1);
}

.xc-tab.xc-tab-active::after {
    border: medium solid transparent;
    top: 100%;
    content: " ";
    height: 0;
    pointer-events: none;
    position: absolute;
    width: 0;
    border-top-color: var(--theme-color-1);
    border-width: 10px;
    left: 50%;
    margin-left: -10px;
}