:root {
	--bg-color:#d7d7d7;
}

.xrgroup-names {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px!important;
    justify-content: center; /* 水平居中对齐 */
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */
    list-style-type: none; /* 清除默认列表样式 */
}

.xrgroup-name {
    margin-right: 10px!important;
    margin-top: 10px!important;
    cursor: pointer;
    background-color: #0073aa; /* 按钮背景色 */
    color: white; /* 字体颜色 */
    border: none; /* 无边框 */
    padding: 8px 8px; /* 上下内边距10px，左右内边距15px */
    border-radius: 5px!important; /* 圆角 */
    transition: background-color 0.3s, transform 0.2s!important; /* 动画效果 */
    font-size: 18px!important; /* 字体大小 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 阴影效果 */
}

.xrgroup-name:hover {
    background-color: #005177; /* 鼠标悬停时背景色 */
    transform: scale(1.05); /* 鼠标悬停时放大效果 */
}

.xrgroup-name:active {
    transform: scale(0.95); /* 鼠标点击时缩小效果 */
}

.group-content {
    margin-top: 0px;
}


section.nav-xr ul,li,h2,span{
	box-sizing: border-box;
}

section.nav-xr h2{
	font-size:20px !important;
    font-weight: bold !important;
	color: #666;
	border-bottom: 1px solid var(--bg-color);
	padding: 30px 0px 10px;
}

section.nav-xr h2:before{
	margin-right: 4px;
}

section.nav-xr ul{
    margin-right: 0px !important;
    margin-left: 0px !important;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px !important;
	gap:10px;
}

section.nav-xr ul li{
	z-index: 1;
	display: flex;
	gap:10px;
	padding:6px 6px;
	width:calc(16.4% - 6px);
	list-style: none;
	border-radius: 5px;
	cursor: pointer;
	height: 44px;
	line-height: 30px;
	border: 1px solid var(--bg-color);
}

section.nav-xr ul li:hover{
	background: var(--bg-color);
}

section.nav-xr ul li img{
	width: 30px;
	height: 30px;
	display: block;
}

section.nav-xr ul li span{
	font-size: 15px;
	font-weight: normal;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

@media only screen and (max-width:1200px){
    .nav-xr div.container{
        width: 1000px;
    }
}

@media only screen and (max-width:1000px){
    .nav-xr div.container, main{
        width: 100% ;
    }

    section.nav-xr ul li{
        width: calc(25% - 7.5px);   
    }
}

@media only screen and (max-width:820px){
    section.nav-xr ul li{
        width: calc(33.33% - 7px);  
    }
}

@media only screen and (max-width:600px){
    section.nav-xr ul li{
        width: calc(50% - 5px);
    }
}
