﻿/* 在谷歌浏览器内核中，使滚动条不占用容器的宽度 */
.sidebar-nav-inner .flex-fill {
    overflow-y: overlay;
}
.io-grey-mode .sidebar-nav,.io-grey-mode .sidebar-popup.sidebar-menu-inner ul {
    background: var(--sidebarBgColorGrey,#f0f2f4);
    box-shadow: 0 0 2rem 0 var(--sidebarShadowGrey,transparent) !important;
}
.io-grey-mode .sidebar-nav-inner {
    background: var(--sidebarBgColorGrey,#f9f9f9);
}
.io-grey-mode .sidebar-logo {
    background: var(--sidebarBgColorGrey,#FFF);
}
/* 调整行高 */
.sidebar-menu ul li.sidebar-item > a {
    height: var(--sidebarLineHeight,45px);
}
.sidebar-menu ul li.sidebar-item > i {
    line-height: var(--sidebarLineHeight,45px) !important;
}

/* 顶部菜单从 74 -> 60 */
.header-mini-btn {
    height: var(--headerMenuHeight);
    width: 28px;
}
.header-mini-btn svg {
    margin: 0 -20px;
    height: var(--headerMenuHeight);
}
#sidebar .sidebar-logo{
    height: var(--headerMenuHeight);
}
.sidebar-nav .logo {
    line-height: var(--headerMenuHeight);
}
@media (min-width: 768px) {
    .page-header+.placeholder {
        height: var(--headerMenuHeight);
    }
}
 /* 顶部菜单 使用 毛玻璃效果 */
.big-header-banner.header-bg .page-header {
    color: initial;
    background: var(--greyPageHeaderFilter,rgba(255,255,255,1));
    backdrop-filter: blur(var(--backdropFilter,0px));
}
.io-black-mode .big-header-banner.header-bg .page-header {
    color: #fff;
    background:  var(--blackPageHeaderFilter,rgba(255,255,255,1));
    backdrop-filter: blur(var(--backdropFilter,0px));
    box-shadow: 0 0 25px 5px rgba(17, 12, 12, 0.25);
}
/* 首页部分 */
.slider-menu-father{
    border-radius: var(--ajaxTabRadius);
}
/* 20211129 新版改成这样了 */
.slider_menu[sliderTab]{
    border-radius: var(--ajaxTabRadius);
}
.slider_menu[sliderTab] .anchor {
    border-radius: var(--ajaxTabRadius);
}
.slider_menu[sliderTab] >.menu {
    border-radius: var(--ajaxTabRadius);
}

/* 黑暗模式和日间模式下得背景颜色 */
body.io-grey-mode{
    background-color: var(--bodyBgColor);
}

body{
    overflow-y: overlay;
}
@media only screen and (min-device-width:768px){
    ::-webkit-scrollbar-thumb{background-color:rgba(130,130,130,.5);-webkit-border-radius:4px;border-radius:4px}
    ::-webkit-scrollbar-thumb:hover{background-color:var(--hy-scrollbar-color);-webkit-border-radius:4px;border-radius:4px}
    ::-webkit-scrollbar{width:5px;height:5px} 
    ::-webkit-scrollbar-thumb:active{background-color:var(--hy-scrollbar-color);-webkit-border-radius:4px;border-radius:4px}
    ::-webkit-scrollbar-corner{background:rgba(0,0,0,0);border-radius:0 0 8px 0}
    ::-webkit-scrollbar-button{background-color:rgba(0,0,0,0);height:2px;width:2px}
    ::-webkit-scrollbar {width:var(--hy-scrollbar-width);}
}


/*首页自定义导航5个颜色*/
.user-custome .url-card:nth-child(5n+1) .url-body a {
	background: var(--homeCustomeColor1);
}

.user-custome .url-card:nth-child(5n+2) .url-body a {
	background: var(--homeCustomeColor2);
}

.user-custome .url-card:nth-child(5n+3) .url-body a {
	background: var(--homeCustomeColor3);
}

.user-custome .url-card:nth-child(5n+4) .url-body a {
	background: var(--homeCustomeColor4);
}

.user-custome .url-card:nth-child(5n+5) .url-body a {
	background: var(--homeCustomeColor5);
}

/*顶部菜单右侧小菜单*/
/*顶部弹出矩阵*/
.topgj_r .menu-item:hover>ul {
	opacity: 1;
	top: 28px;
	visibility: visible;
	padding: 5px 0px;
}

.topgj_r .sub-menu-z {
	opacity: 0;
	visibility: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
	text-align: center;
	border-radius: 2px;
	position: absolute;
	z-index: 9999;
	max-width: 90px;
	transition: opacity 0.25s, top 0.25s, visibility 0.25s;
}

.io-black-mode .topgj_r .sub-menu-z {
	background: #2c2e2f;
}

.sub-menu-z .menu-item-z {
	list-style: none;
	border-radius: 2px;
	padding: 6px 10px;
	white-space: nowrap;
}

.topgj_r .menu-item a {
	font-size: 13px;
	padding: 10px 8px;
	color: #282a2d;
	display: flex;
	align-items: center;
}

.io-black-mode .topgj_r .menu-item a {
	color: #c6c9cf;
}

.navbar-menu .menu-item i {
    margin-right: 5px;
}

.sub-menu-z .menu-item-z a {
	font-size: 13px;
	padding: 0px;
	color: #666666!important;
	display: flex;
    align-items: center;
}

.io-black-mode .sub-menu-z .menu-item-z a {
	color: #c6c9cf!important;
}

li.menu-item-z:hover {
	background: rgba(0,0,0,.1);
}

ul.nav.navbar-menu.text-xs.order-1.order-md-2.position-relative.topgj_r {
	margin-right: 15px;
}

@media (max-width: 992px) {
	.topgj_r {
		display: none;
	}
}

/*详情页弹窗*/
.sites-template-default .modal-lg, .sites-template-default .modal-xl {
  max-width: var(--hyPopupSize);
}

/*tab栏自定义颜色弹窗*/
.custome_popup {
    display: none;
}
.custome_popup .point{
    width: 10px;
    height: 10px;
    border: 3px solid var(--mainColor);
    border-radius: 50%;
    position: absolute;
}
.custome_popup .main{
    position: absolute;
    left: 15px;
    top: 10px;
    width: 260px;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    box-shadow:0 0 2rem 0 var(--sidebarShadowGrey,transparent) !important
}
.io-black-mode .custome_popup .main {
    background: #2c2e2f;
}
.custome_popup p{
    font-size: 14px;
}
.custome_popup .colorList{
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}
.custome_popup .colorList div,.custome_popup .colorList input{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 6px;
}
.io-grey-mode .custome_popup .colorList div{
    border: 1px solid #e5e7eb;
}
.io-grey-mode .custome_popup .colorList input{
    border: 1px dashed #cfcfcf;
}
.custome_popup .colorList div:hover,.custome_popup .colorList input:hover{
    border: 3px solid #e5e7eb;
}
.custome_popup .options{
    display: flex;
    margin-top: 10px;
}
.custome_popup .options a{
    cursor: default;
    padding: 5px;
    border-radius: 6px;
    color: #fff!important;
    font-size: 14px;
    margin-right: 10px;
}
.custome_popup .options a:hover{
    opacity: .8;
}

/*更多网址块*/
.more-link strong{
    color: var(--mainColor)!important;
}

/*移动端首页金刚区域*/
.golden-area {
    border-radius: 6px;
    display: flex;
    flex-flow: wrap;
    margin-bottom: 5px;
    margin-right: -10px;
}
.golden-area a {
    display: flex;
    padding: 8px;
    text-align: center;
    box-sizing: border-box;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    flex: 1 0 21%;
    margin: 0 10px 10px 0;
    box-shadow: 0px 0px 20px -5px rgb(158 158 158 / 10%);
    align-items: center;
}
.io-black-mode .golden-area a{
    background: #2c2e2f;
    color: #c6c9cf;
}
.golden-area i {
    font-size: 20px;
    transition: .3s;
}
.golden-area a img{
    width: 20px;
    height: 20px;
    transition: .3s;
}
.golden-area a:hover i,.golden-area a:hover img{
    transform: scale(1.2);
    transition: .3s;
}
.golden-area span {
    font-size: 12px;
    margin-top: 7px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/*def-a型网址块*/
.def-A .remarks{
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 10px;
}
.url-card .def-A a.togo {
    position: absolute;
    top: 15px;
    right: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    opacity: .2;
    transition: opacity .3s;
}
.remarks span {
    margin: 0 3px;
    color: var(--mainColor);
}
.io-black-mode .remarks span{
    color: #fff;
}
.remarks span::before {
    content: "#";
}

/*max-A网址卡片样式*/
.max-A .card-body{
    padding-left: 0.3rem!important;
    padding-right: 0!important;
    padding-bottom: 0!important;
}
.max-A .url-content{
    margin-top: 22px;
}
.max-A .url-img{
    width: 35px;
    position: relative;
    top: -8px;
    height: 35px;
}
.max-A .url-info .text-sm{
    max-width: 100px;
}
.max-A  .url-like{
    opacity: 1;
}
.max-A  .card-body .url-goto-after{
    border-top: none;
    height: 26px;
}
.max-A .tga.text-xs.py-1{
    overflow: hidden;
    width: 60%;
    right: -38px;
    position: absolute;
    top: 24px;
}
@media(max-width: 992px){
.max-A .tga.text-xs.py-1{
    overflow: hidden;
    width: 53%;
    right: 7px;
    position: absolute;
    top: 24px;
}
}
.max-A .tga span{
    margin-right: 0!important;
}
.max-A .tga a{
    font-size: 12px;
    padding: 2px;
    max-width: 52px;
    overflow: hidden;
    transform: scale(0.85);
    border-radius: 5px;
    display: inline-block;
    color: #9c9c9c;
    background-color: #f1f1f1;
    border: 0 solid #d9d9d9;
    margin-left: 3px;
}
.io-black-mode .max-A .tga a{
    background: rgba(134,134,134,.1);
}
.max-A .url-goto{
    position: absolute;
    bottom: 4px;
    left: 0px;
    right: 0px;
}
.max-A .url-goto a{
    margin-left: auto;
}
.url-card.wechat .max-A a.card::before {
    font-size: 53px;
    left: -4px;
    top: 9px;
}

/*用户自定义侧边栏*/
.user-setting{
    position: fixed;
    top: 30vh;
    right: -30vw;
    z-index: 1111;
    transition: .3s;
    box-shadow: 0 0 2rem 0 var(--sidebarShadowGrey,transparent) !important;
}
.user-setting .close-btn{
    display: inline-block;
    position: absolute;
    right: 4px;
    top: 4px;
}
.user-setting .close-btn i:hover{
    color: var(--mainColor);
}
.user-setting-container{
    position: relative;
    top: -30vh;
    width: 30vw;
    height: 100vh;
    background: #fff;
    border-radius: 0 0 0 6px;
    padding: 15px;
    border-left: 1px solid rgba(0, 0, 0, .1);
    overflow: auto;
     scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
@media(max-width: 992px){
  .user-setting{
      right: -100vw;
  }        
  .user-setting-container{
      width: 100vw;
  }
}
.user-setting-container::-webkit-scrollbar{
    display: none;
}
.io-black-mode .user-setting-container{
    background: #2c2e2f;
}
.user-setting-container h2{
    font-size: 1.3em;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.user-setting-container h2::after {
    content: '';
    width: 50%;
    height: 3px;
    position: absolute;
    bottom: -10px;
    left: 0;
    background: var(--mainColor);
}
.user-setting-container h3 {
    font-size: 16px;
    margin: 10px 0;
}
.user-setting-container h3::before {
    content: '#';
    color: var(--mainColor);
}
.user-setting-btn{
    position: absolute;
    background: var(--mainColor);
    color: #fff;
    top: 0;
    left: -34px;
    border-radius: 6px 0 0 6px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    cursor: pointer;
    width: 34px;
}
.user-setting-btn span{
    margin-top: 8px;
}
/*不显示直达*/
.no-togo a.togo{
    display: none;
}
/*简洁网址块*/
.simple .url-card .url-img{
    width: 20px!important;
    height: 20px!important;
}
.simple p.overflowClip_1.m-0.text-muted.text-xs{
    display: none;
}
.simple .def-A .remarks{
    display: none;
}
.simple .card-body.url-content.d-flex.align-items-center{
    height: unset;
    padding: .4rem .5rem;
}
.simple .url-card  a.togo{
    top: 3px!important;
}
.simple .content-wrap .url-card a.card{
    margin-bottom: 1rem!important;
}
.simple .url-card .default .url-img{
    margin-left: 0px;
}
/*用户自定义设置 搜索框背景列表样式*/
.search-bg-options ul{
    display: flex;
    flex-wrap: wrap;
    padding-inline-start: 0px;
    margin-block-start: 0em;
}
.search-bg-options h4{
    text-align: left;
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 10px;
}
.search-bg-options h4::before {
    content: "";
    position: absolute;
    left: -9px;
    width: 5px;
    height: 75%;
    background: var(--mainColor);
}
.search-bg-options li {
    list-style: none;
    width: calc(50% - 10px);
    margin: 5px;
    text-align: center;
}
.search-bg-options li img{
    height: 100px;
    object-fit: cover;
    width: 100%;
    background: #000;
    border-radius: 8px 8px 0px 0px;
}
.search-bg-options li p{
    background: #f5f5f5;
    border-radius: 0px 0px 8px 8px;
    height: 24px;
    font-size: 15px;
}
.search-bg-options li div:hover p {
    background: var(--mainColor);
    color: #fff;
}
.search-bg-options .current-search-bg p{
    background: var(--mainColor);
    color: #fff;
}
.search-height-container ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding-inline-start: 0px;
    margin-block-start: 0em;
}
.search-height-container li{
    background: #f5f5f5;
    border-radius: 6px;
    padding: 6px 0;
    list-style: none;
    width: calc(33.3% - 10px);
    margin: 5px;
    text-align: center;
}
.io-black-mode .search-height-container li{
    background: #363738!important;
}
.search-height-container li:hover{
    background: var(--mainColor)!important;
    color: #fff;
}
.search-height-container .current-search-height{
    background: var(--mainColor)!important;
    color: #fff;
}
.search-bg-options button:hover{
   opacity: .8; 
}
.custome-bg{
    position: relative;
    width: 100%;
    margin: 5px;
}
.custome-bg input{
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: rgba(126,126,126,.1);
    background-clip: padding-box;
    border-radius: .25rem;
}
.io-black-mode .custome-bg input {
    background: #363738!important;
}
.custome-bg .options{
    position: absolute;
    top: 0;
    right: 4px;
    display: flex;
    align-items: center;
    height: 100%;
}
.custome-bg .options button{
    background: var(--mainColor);
    border: 0;
    height: 30px;
    color: #fff;
    border-radius: 3px;
    margin: 0 4px;
}
.custome-bg .options button:nth-child(2){
    background: #f1404b;
}

/*搜索框高度*/
.header-big.focus{
    padding-top: 35vh;
    padding-bottom: 50vh;
}
.header-big.info{
    padding-top: 52px;
    padding-bottom: 26px;
}