html {
font-size: 12px;
}

body {
background-color: #fafafa;
}
a{color:#333333;text-decoration:none;}
.cont-plvlist a{ color:#333333;text-decoration:underline;}
.cont-plvlist a:hover{ color:#000000; text-decoration:none;}
.box {
display: flex;
flex-direction: column;
min-height: 100vh;
}

.text-down_color {
color: rgba(16, 124, 16, 1.0);
}

.sticky-header {
position: sticky;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: #fff;
}

.main-container {
display: flex;
position: relative;
margin-top: 10px;
}

.sidebar {
position: sticky;
top: 150px;
/* 头部导航的高度 */
height: calc(100vh - 150px);
width: 20%;
overflow-y: auto;
background: #FFFFFF;
box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
border: 1px solid #EFEFEF;
padding:0px;
margin-right: 0px;
/* 添加滚动条样式 */
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
}


/* 自定义滚动条样式 */
.sidebar::-webkit-scrollbar,.tile--custom-scrollbar::-webkit-scrollbar {
width: 6px;
}

.sidebar::-webkit-scrollbar-track,.tile--custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb,.tile--custom-scrollbar::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover,.tile--custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #555;
}


.main-content {
flex: 1;
min-width: 0;
padding-right: 15px;
}

.navbar-brand {
font-size: 1.5rem;
font-weight: bold;
}

.nav-link {
color: #6c757d;
display: flex;
align-items: center;
justify-content: space-between;
}

.nav-link:hover {
background-color: #F5F5F5;
border-color:rgb(33, 105, 235) !important;
border-left: 5px solid ;
}

.nav-levels {
display: grid;
margin-bottom: 0;
padding-right: 0;
grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
justify-items: center;
gap: 2px;
}

.nav-levels a {
width: 70px;
}

.nav-list {
display: grid;
margin-bottom: 0;
padding-right: 0;
grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
justify-items: center;
row-gap: 2px;
}

.nav-list li {
list-style: none;
cursor: pointer;
}

.nav-list li a {
text-decoration: none;
color: #938585;
border-bottom: 2px solid transparent;
}

.nav-list li a:hover {
border-bottom-color: #e5e5e5
}

.nav-tabs button {
display: flex;
align-items: center;
justify-content: space-between;
}

.nav-tabs .nav-link {
border-radius: 0;
border-top: 1px solid #D1D1D1;
}
.nav-link .navLink_right{ text-align:right; padding:1px 5px;}
.nav-link a div{ text-align:left; padding:0px;}
.nav-tabs .nav-link:hover {
color: #000;
}
.slider-track {
    width: 100%;
    position: relative;
    border: 1.2px dashed #777f94;
    height: 0;
}

.slider-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #f54345;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1px #f54345;
}

.nav-tabs .nav-link_active {
color: #000;
background-color: #F5F5F5 !important;
border-left: 5px solid rgb(33, 105, 235) !important;
}

.card,.pancar {
/*padding: 0px 16px;*/
border-radius: 6px;
transition: transform 0.3s;
border: 1px solid #EFEFEF;
background: #FFFFFF;
box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
}

.sidebar {
background: #FFFFFF;
box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
border: 1px solid #EFEFEF;
}

.px-15 {
padding: 0 3rem;
}

.breadcrumb-box {
height: 40px;
background-color: #FFFFFF;
display: flex;
align-items: center;
justify-content: space-between;
}

.search-bar {
border-radius: 20px;
border: 1px solid #dee2e6;
padding: 5px 15px;
background-color: #F5F5F5;
}

.search-bar:focus {
border-color: #007bff;
box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}

.info-list li {
display: flex;
justify-content: space-between;
border-bottom:dashed 1px #f0f0f0;
padding: 3px 0px;
}
.postop{top:0px; left:10px; right:10px; bottom:0px;}
.info-list li span{ flex:1;}
.stock-change {
color: rgba(16, 124, 16, 1.0);
background-color: rgba(16, 124, 16, 0.1);
border-radius: 5px;
padding: 2px 5px;
}

.stock-change_up {
color: rgba(209, 52, 56, 1.0);
background-color: rgba(209, 52, 56, 0.1);
border-radius: 5px;
padding: 2px 5px;
}

.boList {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}

.boList-item {
background: #F5F5F5;
color: #242424;
font-weight: 400;
height: 24px;
line-height: 16px;
font-size: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 24px;
box-sizing: border-box;
margin: 2px;
padding: 0px 8px;
text-align: center;
align-items: center;
cursor: pointer;
display: flex;
}

.boList-item_active {
background: #2169EB;
color: #FFFFFF;
}

.card-btn-control {
padding: 3px 2px;
height: 70%;
z-index: 100;
box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
display: flex;
align-items: center;
cursor: pointer;
}

#cardControl {
transition: transform 0.8s ease-in-out;
will-change: transform;
}

.card-control_item {
padding: 3px 5px;
cursor: pointer;
border-radius: 3px;
text-decoration: none;
color: black;
}

.card-control_item:hover {
background-color: #f5f5f5 !important;
}

@media (max-width: 1200px) {
.card {}
}

@media (max-width: 768px) {
.box {
    padding: 0;
}

.sticky-header {
    position: sticky;
    top: 0;
}

/* 导航栏适配 */
.navbar {
    padding: 0.5rem;
}

.navbar-brand {
    font-size: 1.2rem;
}

/* 主容器适配 */
.main-container {
    flex-direction: column;
    margin-top: 10px;
    padding: 0 10px;
}

/* 侧边栏适配 */
.sidebar {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 10px;
    max-height: 400px;
}

/* 主内容区适配 */
.main-content {
    padding: 0;
}

/* 卡片适配 */
.card {
    padding: 10px;
}

/* 搜索框适配 */
.search-bar {
    width: 100%;
    margin: 10px 0;
}

/* 表格适配 */
.table-responsive {
    overflow-x: auto;
}

/* 波线图适配 */
.boList {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
}

.boList-item {
    /*font-size: 11px;*/
    padding: 0 10px;
    height: 25px;
}

.px-15 {
    padding: 0 0.5rem;
}
}

/* 针对更小屏幕的优化 */
@media (max-width: 480px) {


.boList-item {
    font-size: 10px;
    padding: 0 4px;
    height: 18px;
}
}
.table-down th,
.table-down td,
.table-up th,
.table-up td {
white-space: nowrap;
}
.table-down tbody tr:not(:first-child) td,
.table-down tbody tr:not(:first-child) th {
color: rgba(16, 124, 16, 1.0);
}
.table-up tbody tr:not(:first-child) td,
.table-up tbody tr:not(:first-child) th {
color: rgba(209, 52, 56, 1.0);
}
.btn-classify_active{
background-color: #dc3545;
border-color: #dc3545;
--bs-btn-hover-bg:#dc3545;
--bs-btn-active-bg:#dc3545;
--bs-btn-hover-border-color:#dc3545
}
.container-list {
  display: grid;
  grid-template-columns: repeat(10, auto); /* 创建10个等分的列 */
  grid-template-rows: auto auto auto;          /* 创建2行，每行的高度根据内容自动调整 */
  gap: 5px; 
  font-size:1rem;
}
.list-item {
                  /* 设置每个网格项的背景颜色 */
  text-align:left;
}
.flex{ display:flex;display:-webkit-flex;}
.bion {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: -2px;
    background-repeat: no-repeat;
    background-position: center center;
}
.conter-jianj{ font-size: 1rem; width:80%; line-height:20px;overflow: hidden; /* 确保超出容器的内容被裁剪 */
white-space: nowrap; /* 确保文本在一行内显示 */
text-overflow: ellipsis; /* 超出部分显示省略号 */  }
.cont-plvlist{ width: 100%; height:220px; overflow: auto;scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1; }
.cont-plvlist ul{display: grid;border-bottom: solid 1px #f0f3f8; margin: 0px; padding:0.5rem 1rem;list-style-type: none;
  grid-template-columns: 34px 1fr; /* 定义两列，每列占据相等的空间 */
  grid-template-rows: auto auto;  /* 定义两行，高度根据内容自动调整 */
  gap:0.5rem;}
 .pllist-item-1{
  grid-row: 1 / -1;            /* 让第一个项目从第一列开始并延伸到最后一列 */
}
.cont-plvlist ul li{list-style-type: none; margin:0px;}
.pllist-item-1 img{ width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.cont-plvlist ul:last-child{border-bottom: none;}
.plv-title{ justify-content: space-between; align-items: center;gap:0.5rem; }
.plv-title h3{ color: #333333; font-size: 1rem;padding:0rem; margin:0px; font-weight:bold;}
.pllist-item-2{padding: 0.3rem 0rem;}
.pllist-item-3{ font-size: 1rem; text-align: left; color: #6b748b; }
.plv-title p{ font-size: 1rem; color: #adb6c7; cursor: pointer; margin:0px; }
.plv-hot{ display: none; background-image: url(/img/hot.svg); background-repeat: no-repeat; background-position:center; background-size: 14px;}
.hot-show{ display: inline-block; }
.plv-good{ background-image: url(/img/good-one.svg); background-repeat: no-repeat; background-position:center; background-size: 14px;}
.plv-title p.active i,.plv-title p:hover i{background-image: url(/img/good-two.svg); color: #6b748b;}
.plv-title p.active,.plv-title p:hover{color: #6b748b;}

.cont-plvlist table tr td{ padding: 0.4rem 0.5rem; font-size: 12px; color: #333333; border-top: solid 1px #f0f3f8; text-align:center; vertical-align:middle;}
.cont-plvlist table thead{ position: sticky;background-color: #ffffff; top: 0; z-index: 1; }
.cont-plvlist table tr th{ padding: 0.4rem 0.5rem; font-size: 12px; font-weight: bold; color: #afb8c7; text-align:center;vertical-align: middle;}
.nav-suban a{color:#6c757d;}
.nav-suban a:hover{ color#000000;}
.form-range{ height:1px;border-top:dashed 1px #a9aeb3; display:black;}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; 
            appearance: none;
  width: 6px;height: 6px;
  background-color: #f54345;
  margin-top: -2px;
  position: relative;
}
input[type="range"]::-moz-range-thumb {
   width:6px;height: 6px;
  background-color: #f54345;
  margin-top: -2px;
  position: relative;
}
input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none; 
            appearance: none;
  height: 1px; 
  background-color: #a9aeb3;
}
input[type="range"]::-moz-range-track {
  height: 1px; 
  background-color: #a9aeb3;
}
.cont-plvlist input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; 
            appearance: none;
  width: 4px;height: 4px;
  background-color: #f54345;
  margin-top: -2px;
  position: relative;
}
.cont-plvlist input[type="range"]::-moz-range-thumb {
   width: 4px;height: 4px;
  background-color: #f54345;
  margin-top:-2px;
  position: relative;
}
.cont-plvlist input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none; 
            appearance: none;
  height: 1px; 
  background-color: rgba(0,0,0,0);
}
 
.cont-plvlist input[type="range"]::-moz-range-track {
  height: 1px; 
  background-color: rgba(0,0,0,0);
}
.liclass span,.liclass a{cursor:pointer;color:rgba(220,53,69, 1.0);}

.hot-dian{ height:18px; line-height:18px; overflow: hidden; position: relative;}
.ipo-dian{ height:18px; line-height:18px; overflow: hidden; position: relative;}
.bi-setws{ font-size: 14px; color:#dddddd; cursor: pointer; top: 0px; }
.bi-setws:hover{color: #666666;}
.hot-active{height: auto; overflow: none;}
.search-results {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 20px;
        background: white;
        border-radius: 4px;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
        max-height: 300px;
        overflow-y: auto;
        z-index: 1000;
        display: none;
    }

    .search-results.show {
        display: block;
    }

    .search-item {
        padding: 10px 15px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.2s;
        text-decoration: none;
    }

    .search-item:hover {
        background-color: #f5f7fa;
    }

    .search-item-name {
        color: #303133;
        font-weight: 500;
    }

    .search-item-code {
        color: #909399;
        font-size: 12px;
    }
    .gp-yqlink dt,.gp-yqlink dd{margin-bottom: 0px;}
.gp-yqlink dd a{color: #495057; text-decoration: none;}
.gp-yqlink dd a:hover{ color: #052c65;text-decoration: underline; }
.li-hover:hover{ background-color:#ced4da; cursor:pointer;transition: all 0.3s ease-in-out; box-shadow:0px 0px 0px #ffffff;}
.li-hover a:hover{ color:#000000; text-decoration:underline;}

.fl-green span{width: 16px; height: 16px; color: #ffffff; text-align: center;line-height: 16px; font-size: 12px;}
.fl-green dt{ color: #016c62;  margin: 0px;}
.fl-green dd{  color: #333333;text-align: right; margin: 0px; }
.fl-green1 span{ background-color: #016c62;}
.fl-green1 dt{ color: #016c62;}
.fl-green2 span{ background-color: #048459;}
.fl-green2 dt{ color: #048459;}
.fl-green3 span{ background-color: #11984c;}
.fl-green3 dt{ color: #11984c;}
.fl-green4 span{ background-color: #22ad38;}
.fl-green4 dt{ color: #22ad38;}

.fl-read1 span{ background-color: #bf0206;}
.fl-read1 dt{ color: #bf0206; text-align: right;}
.fl-read2 span{ background-color: #e10205;}
.fl-read2 dt{ color: #e10205;text-align: right;}
.fl-read3 span{ background-color: #fd1418;}
.fl-read3 dt{ color: #fd1418;text-align: right;}
.fl-read4 span{ background-color: #ff484c;}
.fl-read4 dt{ color: #ff484c;text-align: right;}
.pie-chart {
            width: 120px; /* 根据需要调整尺寸 */
            height: 120px; /* 根据需要调整尺寸 */
            border-radius: 50%;
            position: relative;
        }
        .pie-chart::before {
            content: '';
            width: 50%; /* 内部空白圆的尺寸 */
            height: 50%; /* 内部空白圆的尺寸 */
            border-radius: 50%;
            background: white;
            position: absolute;
            top: 50%; /* 居中定位 */
            left: 50%; /* 居中定位 */
            transform: translate(-50%, -50%); /* 精确居中 */
        }

.dlx-gread{ height: 45%; }
.dlx-gread span{ width: 50%; }
.ail-ieabs a{color:#6c757d; padding:5px 10px;border-radius:5px;}
.ail-ieabs a:hover,.ail-ieabs a.active{background-color:#ff0000; color:#ffffff;}
.prog-height{ height:16px; overflow:visible;border-radius:0px;}
.prog-height .progress-bar{overflow: visible;text-shadow: 1px 1px 1px #ffffff;color:#000000; border-radius:0px; text-align:left;align-items: flex-start;}
.prog-height .progress-bar span{transform: scale(0.9); padding:0px 2px; line-height:16px;}
.tcfx-card{box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);transition: transform 0.2s, box-shadow 0.2s;}
.tcfx-card:hover{transform: translateY(-2px);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);}
.tcfx-card_name{font-weight: 800;color: #333;text-decoration: none;font-size: 16px;}
.tcfx-card_price{font-size: 16px;font-weight: 500;margin-left: auto;}
.tcfx-card_price small{font-size: 11px;padding: 2px 7px;border-radius: 15px;}
/*.tcfx-card_tags_list{display}*/
.tcfx-card_tags{padding: 2px 14px;background-color: #f5f5f5;border-radius: 5px;transition: all .3s ease;font-size: 10px;color: #333;}
.tcfx-table_tags_list{display: flex;flex-wrap: wrap;justify-content: space-between;}
.tcfx-table_tags_list span{width: calc((100% - 10px) / 2);min-height:37px}
.tcfx-table_gainian{color: #666;font-size: 0.9rem;line-height: 1.5;}
.text-bg_danger{background-color:rgba(209, 52, 56, 0.1)}
.text-bg_success{background-color: rgba(16, 124, 16, 0.1)}
.tcfx-card_up_tag{font-size:11px;white-space: nowrap;text-overflow: ellipsis; overflow: hidden; text-align: left;/*width: calc((100% - 20px) / 4);*/padding: 2px 4px;border-radius: 5px;color:#969eb1;/*color:rgba(220,53,69,0.7);background-color:rgba(209, 52, 56, 0.06)*/ background-color:#f3f4f6;}
.tcfx-card_up_tag b{color:rgba(220,53,69,0.9); margin-left:3px;font-weight: normal;}
.tcfx-card_down_tag{font-size:11px;white-space: nowrap;text-overflow: ellipsis; overflow: hidden;text-align: left;/*width: calc((100% - 20px) / 4);*/padding: 2px 4px;border-radius: 5px;color:#969eb1;/*color:rgba(25,135,84,0.7);background-color: rgba(16, 124, 16, 0.06)*/background-color:#f3f4f6;}
.tcfx-card_down_tag b{color:rgba(25,135,84,0.9);margin-left:3px;font-weight: normal;}

.compareBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem;
}
.compareBox>div:first-child {
    color: #14ba71;
    margin-right: 4px;
}
.compareBox>div:first-child,.compareBox>div:last-child {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-family: DIN-bold;
}
.compareBox>div:first-child img,.compareBox>div:last-child img {
    font-size: 12px;
    width: 12px;
    height: 12px;
}
.compareBox_iList {
    /*width: calc(100% - 150px);*/
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}
.compareBox_iList>i:first-child {
    display: block;
    width: 100px;
    height: 4px;
    background: #14BA71;
    clip-path: polygon(0 0,100% 0,calc(100% - 5px) 100%,0 100%);
}
.compareBox_iList>i:nth-child(2) {
    display: block;
    width: 100px;
    height: 4px;
    background: #646D80;
    clip-path: polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%);
}
.compareBox_iList>i:last-child {
    display: block;
    width: 100px;
    height: 4px;
    background: #F54346;
    clip-path: polygon(5px 0,100% 0,100% 100%,0 100%);
}
.compareBox>div:last-child {
    color: #ff3f51;
    margin-left: 4px;
}

.Pagination{ display:flex; display:-webkit-flex; justify-content:center; align-items:center; gap:5px; margin:12px auto;}
.Pagination a{ min-width:32px; text-align:center; background-color:#f0f2f5; height:32px; border-radius:4px; color:#303133; text-decoration:none; line-height:32px; padding:0px 6px;}

.Pagination a:hover,.Pagination a.current{ background-color:#0d6efd; color:#ffffff;}
.Pagination a.tips{ background-color:#f5f7fa; color:#999999; font-size:12px;}
.Pagination a:hover.tips{background-color:#e2eef8; color:#0d6efd;}

.cursor-pointer{cursor:pointer}
.li-span span{ width:40px; display:block;height:40px; overflow:hidden; line-height:20px;font-size:15px; overflow:hidden;}
.cls-list{ height:50px;}
.cls-list span{ width:48%; overflow:hidden; text-align:left;white-space: nowrap;text-overflow: ellipsis;flex: auto;}
.cls-list span:hover{ background-color:#dadde2;}.cls-list span:hover a{ color:#000000;}
.tcfx-card_down_tag a,.tcfx-card_up_tag a{ color:rgba(47,53,58);text-decoration:none;}
/* Webkit浏览器（Chrome, Safari） */
.cls-sidebar::-webkit-scrollbar {
  width: 2px; /* 滚动条宽度 */
  height: 2px; /* 滚动条高度 */
}
 
.cls-sidebar::-webkit-scrollbar-track {
  background: #ffffff; /* 滚动条轨道颜色 */
}
 
.cls-sidebar::-webkit-scrollbar-thumb {
  background: #f0f0f0; /* 滚动条滑块颜色 */
  border-radius: 10px; /* 滑块圆角 */
}
 
.cls-sidebar::-webkit-scrollbar-thumb:hover {
  background: #cccccc; /* 鼠标悬停在滑块上时的颜色 */
}
.gp-tbfx{ color:#333333; background-color:#f0f0f0;opacity:.5; position:relative; }
.gp-tbfx:hover{ opacity:1;}
.gp-tbfx i{ width: 0;top: -10px; left: 10px; position: absolute;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 16px solid #f0f0f0;}
.gp-dxfname{ width:100%; text-align:left; display:flex; justify-content:flex-start; flex-wrap:wrap; gap:2px;}
.gp-dxfname span{height:20px; line-height:20px; max-width:50px; overflow: hidden;}
.gp-huilv a{ color:#495057; text-decoration: none; }
.gp-huilv a:hover{ color: #000000; text-decoration: underline; }
.gp-huilv a i{ color: #999999;margin: 0rem 2px; }
.huilv-card-conversion .card div{font-size:14px;line-height:35px}
.huilv-card-footer {text-align: right;color: #888;font-size: 13px;margin-right: 10px;}
.card-pairings-query ul{grid-auto-columns: auto; gap: 10px 25px;grid-template-areas: "a a";justify-items: center;}
.card-pairings-query ul li{list-style:none}
.tableDataTable table td,tr{text-align:center}