/*调整全局字体大小*/
body,html{font-size:14px;}

/*左导航悬浮sidebar-menu-inner宽度调整为90px*/
.sidebar-popup.sidebar-menu-inner > div > ul > li.sidebar-item>ul{position:absolute;top:0px;left:10px;width:90px;z-index:99}
.sidebar-popup.sidebar-menu-inner ul{width:90px}
.sidebar-popup.sidebar-menu-inner ul li{width:90px}

/*隐藏左导航scrollbar*/
.sidebar-menu.flex-fill::-webkit-scrollbar{display:none}

/*搜索框搜索图标颜色*/
#search button i{color:#6C757D;font-size:18px}

/*顶部导航栏字体+图标颜色*/
.big-header-banner .page-header{color:#ffffff;background:rgba(255,255,255,0);box-shadow:none;transition:color .3s,background-color .3s}
.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item){color:#ffffff;}
.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a:hover,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item):hover{color:#dc3545;}
.big-header-banner:not(.header-bg) .header-mini-btn path{stroke:#ffffff;}
.big-header-banner:not(.header-bg) .header-mini-btn label:hover path{stroke:#ffffff;}

/*搜索栏字体+背景*/
.header-big #search-text{color:#070707;}
.io-black-mode .header-big #search-text{color:#fff;}

/*搜索activate图标颜色*/
.header-big .search-type input:checked+label:before{content:'';border-width:8px 8px 0px 8px;border-style:solid;border-color:#ffffff transparent transparent;position:absolute;left:50%;top:0;margin-left:-8px}

/*主页搜索搜索框(头+底部)字体颜色*/
.header-big:not(.no-bg) .s-type-list{color:#0be3aa}
.header-big:not(.no-bg) .text-muted,.header-big:not(.no-bg) .search-type .menu-item a,.header-big:not(.no-bg) .big-title .h1{color:#ffffff!important}

/*主页header-banner底部宽度*/
.post-top{padding-bottom:50px}

/*左导航二级导航标题左侧距离*/
.sidebar-menu-inner ul li ul li a{margin-left:30px;}

/*头部导航二级导航iconfont图标*/
.navbar-collapse ul li.menu-item-has-children:after{content:'\e612';}

/*搜索部分背景样式*/
/*.header-big.css-color{background-size:unset;background-position:unset;animation:unset;}*/

/*搜索热词样式调整*/
.search-hot-text{
    position: absolute;
    z-index: 100;
    width: 100%;
    border-radius: 0 0 10px 10px;
    background: #FFF;
    box-shadow: 0px 4px 5px 0px #cccccc94;
    overflow: hidden;
}
.search-hot-text ul{
    margin: 0;
    padding: 5px 0;
}
.search-hot-text ul li{
    line-height: 30px;
    font-size: 14px;
    padding: 0px 25px;
    color: #777;
    cursor: pointer;
}
.io-black-mode .search-hot-text ul li{
    color: #fff;
}    
.search-hot-text ul li.current{
    background: #f1f1f1;
    color: #2196f3;
}
.search-hot-text ul li:hover{
    background: #f1f1f1;
    color: #2196f3;
    cursor: pointer;
}
.search-hot-text ul li span{
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    background: #e5e5e5;
    margin-right: 10px;
    border-radius: 10px;
    color: #999;
}

footer.main-footer .footer-text {
    text-align: center;
}
footer.main-footer .footer-text a {
    color: #007bff;
}
footer.main-footer .footer-text a:hover {
    color: red;
}

/*About页面*/
.panel .panel-body a {color: #007bff;}
.panel .panel-body a:hover {color: #979898;}


/*网格背景*/
/*.io-grey-mode .page-container .grid-bg {
    background-image: linear-gradient(rgba(50, 0, 0, 0.05) 1px, transparent 0), linear-gradient(90deg, rgba(50, 0, 0, 0.05) 1px, transparent 0); 
    background-size: 15px 15px;
    background-color: #d8d8d8;
}*/
.io-grey-mode .page-container .grid-bg {
  background-color: #f1eded !important;
  background-image: none !important;
}
/*导航 Logo 图标裁剪边角*/
.url-card .url-img > img {
    border-radius: 20%;
}


/* === SVG Symbol 通用样式 === */
.icon {
  width: 1em;               /* 和文字一样大，利于用 font-size 控制尺寸 */
  height: 1em;
  vertical-align: -0.15em;  /* 行内对齐更接近字体图标 */
  fill: currentColor;       /* 跟随文本颜色 */
  overflow: hidden;
}
/* 兼容你现有选择器里对 i 的间距/样式 —— 把 svg 也一起覆盖 */
.navbar .navbar-nav i,
.navbar .navbar-nav svg.icon { margin-right: 2px !important; }
#search button i,
#search button svg.icon {
  font-size: 18px;          /* 让 1em = 18px */
}
/* 颜色继续沿用你现有规则 */
#search button { color: #6C757D; }

/* 链接占满整行 + 图标文字对齐 */
.navbar-nav.site-menu > li > ul.sub-menu > li > a {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  box-sizing: border-box;
  padding: 8px 16px;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
}
/* 图标与文字间距 */
.navbar-nav.site-menu > li > ul.sub-menu > li > a i {
  margin-right: 8px;
  flex-shrink: 0;
}


/* 顶部搜索区背景图：居中 + 等比铺满 2560 × 600~800（适配 2K/4K 宽屏，移动端仍然会居中裁切） */
#search-bg{
  background-repeat: no-repeat;
  background-position: center center !important;
  background-size: cover !important;   /* 核心：自适应铺满 */
}
/* 给这个区域一个响应式的最小高度，避免高度太小看不出背景 */
#search-bg{
  min-height: clamp(240px, 34vh, 420px);
}


/* 日间模式：黑 + 加粗（覆盖③里的白色） */
.io-grey-mode .header-big:not(.no-bg) .s-type-list,
.io-grey-mode .header-big:not(.no-bg) .text-muted,
.io-grey-mode .header-big:not(.no-bg) .search-type .menu-item a,
.io-grey-mode .header-big:not(.no-bg) .big-title .h1 {
  color: #111 !important;
  font-weight: 600;  /* 加粗 */
}
/* —— 将输入框独立出来做“弱化” —— */
.io-grey-mode .header-big .super-search-fm #search-text {
  color: #333 !important;        /* 比纯黑柔和 */
  font-weight: 400 !important;   /* 取消加粗 */
}
.io-grey-mode .header-big #search-text::placeholder {
  color: rgba(0,0,0,.45) !important;  /* 更淡的占位符 */
  font-weight: 400 !important;
  opacity: 1;
}
/* 悬停时给点颜色反馈 */
.io-grey-mode .header-big .s-type-list label:hover,
.io-grey-mode .header-big #search-list .search-type label:hover span {
  color: #f2f607 !important;
}
/* 选中项高亮（radio 选中后紧邻的 label） */
.io-grey-mode .header-big .search-type input:checked + label span {
  color: #f2f607 !important;
  font-weight: 700;             /* 选中更粗 */
}
/* 选中项上方小三角也换成同色 */
.io-grey-mode .header-big .search-type input:checked + label:before {
  border-color: #f2f607 transparent transparent !important;
}
/* “常用/搜索/工具…”这些分组小标题 */
.io-grey-mode .header-big #search-list .type-text {
  color: #666 !important;
  font-weight: 500;
}
/* 输入框按钮图标颜色（保持不变） */
.io-grey-mode #search-bg .super-search-fm .submit,
.io-grey-mode #search-bg .super-search-fm .submit svg {
  color:#111 !important;
}
.io-grey-mode #search-bg .super-search-fm .submit:hover,
.io-grey-mode #search-bg .super-search-fm .submit:hover svg {
  color:#0aa7ff !important;
}




