.header {
    position: relative;
}

.lunbo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* 或者根据实际需要调整高度 */
	z-index: 1; /* 使轮播图在导航栏的下方 */
}
.navbar {
    position: fixed;
    width: 100%;
	background-color: #fff; /* 背景色为白色 */
    /*background-color: transparent;  默认背景色为透明 */
    top: 0;
    z-index: 100; /* 确保导航栏在轮播图之上 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

/* 滚动后背景颜色变为白色 */
.navbar.scrolled {
    background-color: #fff; /* 背景色为白色 */
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
	z-index: 3;
}

.slideshow-container {
    /* 设置轮播图容器的样式 */
}

/* 默认样式 */
.top_ul_link {
    text-decoration: none;
    color: black; /* 默认文字颜色 */
}
/*菜单栏默认选中样式*/
.top_ul_link.active {
    color: #b51b21; /* 被选中时的文字颜色 */
	font-weight: bold;
    /*pointer-events: none; /* 不可选中 */
}
@media screen and (max-width: 768px) {
	.lunbo{
		margin-top: 100px;
		height: 20vh;
	}
}

/* 默认样式 */
.top_ul_link {
    text-decoration: none;
    color: black; /* 默认文字颜色 */
}

button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 10;
}

/*地址文字*/
.map-word {
    position: relative;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    background-color: #eee; /* 背景色 */
	width: 100%;
	margin-top:40%;
}
@media (max-width: 1450px){
	.map-word {	    
		margin-top:37.5%;
	}
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px; /* 可选的间隔 */
    width: 85%;
	margin-left: 8%;
    background-color: #eee; /* 容器背景色 */
	padding-top: 3.125rem;
	padding-bottom: 3.125rem;
}

.item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* 内容水平居中 */
    padding: 10px;
    box-sizing: border-box;
}

.item p {
	font-size: 11pt;
    margin: 0;
	margin-top: 0.2rem;
    text-align: center;
	color: #838383;
}
.item p:first-of-type{
	font-size: 16pt;
} 
@media (max-width: 784px){
	
	.item {
		padding: 0.5;
	}
	.item p:first-of-type{
		font-size: 10pt;
	} 
	.item p {
		font-size: 7pt;
	    margin: 0;
		
	    text-align: left;
		color: #838383;
	}
	.container {
	    display: grid;
	    grid-template-columns: repeat(3, 1fr);
	    grid-template-rows: repeat(3, 1fr);
	    gap: 0px; /* 可选的间隔 */
	    width: 100%;
		margin-left: 5%;
		margin-right: 5%;
	    background-color: #eee; /* 容器背景色 */
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		
	}

}


/*二维码放置处*/
.QRcode {
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
    display: flex;
    justify-content: center; /* 整体居中 */
	/*background: linear-gradient(to bottom, transparent 12.5%, #eef3fa 12.5%);*/
}
.QRcode a{
	text-decoration: none;
	color: #666666;
}
.QR-whole {
    display: flex;
    flex-direction: row; /* 横向布局 */
    align-items: center; /* 子元素在纵向上居中对齐 */
}

.QR-whole a {
    display: flex;
    flex-direction: column; /* 竖向布局 */
    align-items: center; /* 子元素在横向上居中对齐 */
    text-align: center; /* 文字居中对齐 */
    margin: 0 70px; /* 左右间距为 70px，每对相邻的子元素间距为 140px */
	
}

.QR-whole img {
    width: 60px;
    height: 62px;
    display: block;
    margin-bottom: 12px; /* 图片和文字之间的间距 */
}

/* 鼠标移入时文字颜色变为红色 */
.QR-whole > div:hover p {
    color: #b51b21 ;
}

.QR-whole a img:hover {
    transform: scale(2.5); /* 放大 10% */
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}
@media (max-width: 1050px) {
	
    .QR-whole {
        flex-direction: row; /* 横向布局 */
        justify-content: space-between; /* 元素之间的间距均匀分布 */
		margin-left: 10%;
    }

    .QR-whole a {
        flex: 1 1 calc(50% - 20px); 
        margin: 10px; 
    }

    .QR-whole img {
        width: 60px; /* 根据需求调整缩放后的宽度 */
        height: auto; /* 保持图片的纵横比 */
    }
}
@media (max-width: 784px) {
    .QR-whole {
        flex-direction: row; /* 横向布局 */
        justify-content: space-between; /* 元素之间的间距均匀分布 */
		margin-left: 5%;
    }

    .QR-whole a {
        flex: 1 1 calc(50% - 20px); 
        margin: 10px; 
    }

    .QR-whole img {
        width: 50px; /* 根据需求调整缩放后的宽度 */
        height: auto; /* 保持图片的纵横比 */
    }
}
/*菜单栏默认选中样式*/
.top_ul_link.active {
    color: #b51b21; /* 被选中时的文字颜色 */
	font-weight: bold;
    /*pointer-events: none; /* 不可选中 */
}
