/*背景*/
.header {
    position: relative;
}
@media (max-width: 784px) {

		
}
.lunbo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* 或者根据实际需要调整高度 */
	z-index: 1; /* 使轮播图在导航栏的下方 */
}
.navbar {
    position: fixed;
    width: 100%;
    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);
}

.slideshow-container {
    /* 设置轮播图容器的样式 */
}

/* 默认样式 */
.top_ul_link {
    text-decoration: none;
    color: black; /* 默认文字颜色 */
}

/* 新闻部分 */
.body1 {
    margin-top: 45%;
    width: 100%;
    padding: 20px;
    text-align: center; /* 使内联块水平居中 */
}

.body1 a {
    text-decoration: none;
}

.body1-1 {
    display: inline-block; /* 使#news成为内联块元素 */
	
}

.read-more {
    display: flex;
    justify-content: space-between; /* 在同一行内左右对齐 */
    margin-bottom: 20px; /* 调整以下内容之间的间距 */
    position: relative; /* 确保 z-index 生效 */
    z-index: 2;
}

.read-more a {
    pointer-events: auto; /* 确保链接是可点击的 */
    margin-top: 0.45rem;
}

.read-more .more-text {
    color: #666666;
    background-color: #f8e9e9;
    padding: 0.1875rem 0.625rem;
    border-radius: 0.3125rem;
}

.more-text:hover {
    background-color: #b51b21; /* 鼠标移入时的背景色 */
    color: #fff;
}

#news {
    display: flex; /* 使news左侧和右侧在同一行 */
    margin-top: 3rem;
}

#news a {
    padding-right: 6.25rem;
    white-space: nowrap; /* 防止换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分用省略号表示 */
}

.news-left,
.news-right {
    flex: 1; /* 等宽分配 */
}

.news-left {
    margin-left: 0px;
    margin-right: 12.5rem;
}

.news-right {
    margin-right: 0px;
}

.news-left ul,
.news-right ul {
    list-style-type: none; /* 去掉默认列表样式 */
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex; /* 使times1、链接和times2在同一行 */
    align-items: center; /* 垂直居中对齐 */
    margin-bottom: 20px; /* 列表项之间的间距 */
}

.news-item a {
    color: #666;
}

.news-item:hover .times1 {
    background-color: #b51b22; /* 鼠标移入时的背景色 */
    color: #fff;
}

.news-item:hover a {
    color: #000; /* 鼠标移入时的a标签文字颜色 */
}

.news-item:hover .times2 {
    color: #444444; /* 鼠标移入时的times2文字颜色 */
}

.times1 {
    font-size: 0.9em; /* 根据需要调整字体大小 */
    color: #666666; /* 根据需要调整颜色 */
    margin-right: 10px; /* 控制时间和链接之间的间距 */
    margin-top: 0.1rem;
    background-color: #f8e9e9;
    padding: 0.1875rem 0.625rem;
    border-radius: 0.3125rem;
    white-space: nowrap; /* 防止换行 */ 
    text-overflow: ellipsis; /* 超出部分用省略号表示 */
    max-width: 100px; /* 设置最大宽度，避免布局变形 */
}

.times2 {
    margin-top: 0.1rem;
    font-size: 0.9em; /* 根据需要调整字体大小 */
    color: #666666; /* 根据需要调整颜色 */
    margin-left: auto; /* 将times2推到右边 */
}

.read-more-more {
    margin-top: 20px; /* 与上方内容保持一定的间距 */
    display: none;
}

.read-more-more a {
    text-decoration: none; /* 去掉链接下划线 */
}

.news-item:hover .times1,
.news-item.selected .times1 {
    background-color: #b51b22; /* 鼠标移入时的背景色 */
    color: #fff;
}

.news-item:hover a,
.news-item.selected a {
    color: #444444; /* 鼠标移入或选中时的a标签文字颜色 */
}

.news-item:hover .times2,
.news-item.selected .times2 {
    color: #444444; /* 鼠标移入或选中时的times2文字颜色 */
}
@media (max-width: 1600px) { 
	.news-left {
	    margin-left: 0px;
	    margin-right: 0px;
	}
	.body1{
		font-size: 12pt;
	}
	
}
@media (max-width: 1450px) { 
	.body1 {
	    margin-top: 42.5%;
	   
	}
	.body1{
		font-size: 12pt;
	}
	
}
@media (max-width: 1100px) { 
	.body1{
		font-size: 8pt;
	}
	#news a {
	    padding-right: 0;
	    
	}
	
}


/* 小于784px的屏幕样式 */
@media (max-width: 784px) {
    .body1 {
        margin-top: 45%; /* 在小屏幕上去掉顶部间距 */
        padding: 10px; /* 减少内边距 */
		
    }

    .body1-1 {
        display: block; /* 让整个内容区块在小屏幕上显示为块级元素 */
		
    }

    .read-more {
        justify-content: flex-start; /* 使内容靠左对齐 */
		margin-left: 10%;
		z-index: -1;
    }
	
    .read-more .more-text {
        display: none; /* 隐藏MORE文字 */
    }

    #news {
        flex-direction: column; /* 使news部分纵向排列 */
        margin-top: 2.5rem; /* 调整间距 */
		justify-content: flex-start; /* 使内容靠左对齐 */
		font-size: 10pt;
		
    }

    .news-left,
    .news-right {
        flex: none; /* 去掉等宽分配 */
        margin: 0; /* 去掉侧边间距 */
		width: 90%;
		display: flex;
		justify-content: center; /* 水平居中 */
		align-items: left;     /* 垂直居中（如果需要） */
		flex-direction: column;  /* 如果需要垂直排列子元素 */
		margin-left: 10%;
		
    }

	.times2{
		display: none;
	}
    .read-more-more {
		font-size: 14px;
        display: block; /* 确保.read-more-more显示 */
        text-align: center; /* 居中对齐 */
		margin-bottom: 10%;
		margin-top: 10%;
		position: relative; /* 确保 z-index 生效 */
		z-index: 1; /* 调整为更高的值 */
    }
	.read-more-more a{
		color: #b52b21;
	}
	.read-more-more span{
		padding: 15px 80px;
		border-radius: 0.3125rem;
		border: 1px solid #b52b21;
	}
}


/*视频*/
.video-play {
    position: relative;
    display: inline-block;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 100%;
    height: auto;
}

.video-wrapper {
    position: relative;
    background-color: #ccc;
}

#myVideo {
    display: block;
    width: 100%;
    height: auto;
}

#playPauseBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0);
    border: none;
    padding: 0;
    width: 100px; /* 按钮的宽度 */
    height: 100px; /* 按钮的高度 */
    cursor: pointer;
    border-radius: 50%; /* 圆形按钮 */
    background-size: cover; /* 背景图像适应按钮 */
    transition: opacity 0.5s, visibility 0.5s; /* 过渡效果 */
    opacity: 1;
    visibility: visible;
}

#playPauseBtn::before {
    content: ""; /* 默认播放图标为空，改用背景图 */
    display: block;
}

#playPauseBtn.playing {
    background-image: url("../../img/play.png"); /* 暂停图标的图片路径 */
}

#playPauseBtn:not(.playing) {
    background-image: url("../../img/play.png"); /* 播放图标的图片路径 */
}

#playPauseBtn.hidden {
    opacity: 0;
    visibility: hidden;
}

#progressBar {
    width: 100%;
    margin-top: 0.3125rem;
}
button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 2;
}
input[type=range] {
    -webkit-appearance: none; /* 清除系统默认样式 */
    width: 100%;
    background: linear-gradient(to right, #b52b21, #b52b21) no-repeat, #ddd;
    height: 8px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    background-size: 0% 100%, 100% 100%;
    transition: background-size 0.2s ease-in-out; /* 平滑过渡效果 */
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; /* 清除系统默认样式 */
    height: 16px; /* 拖动块高度 */
    width: 16px; /* 拖动块宽度 */
    background: #b52b21; /* 拖动块背景 */
    border-radius: 50%;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    background: #b52b21;
    border-radius: 50%;
    cursor: pointer;
}

/*文字*/
.video-world {
    text-align: center; /* 使文本内容水平居中 */
    margin-top: 20px; /* 添加上边距以与视频播放器分开 */
	margin-left: 5%;
	margin-right: 5%;
}

.video-world h2{
	margin: 0; /* 去除段落的默认外边距 */
	margin-top: 3%;
	padding: 10px 0; /* 添加内边距以增加文本的上下间距 */ 
	color: #787475  ;
	font-size: 30px; /* 根据需要调整字体大小 */
	margin-bottom: 3%;
}

.video-world p {
	margin: 0; /* 去除段落的默认外边距 */
	padding: 10px 0; /* 添加内边距以增加文本的上下间距 */ 
    line-height: 1; /* 设置行高以增加可读性 */
	color: #666;
	font-size: 16px; /* 根据需要调整字体大小 */
}
@media (max-width: 600px) {
	.video-world{
		transform: scale(0.8);
	}
    .video-world h2{
		font-size: 1.5em; /* 在小屏幕上调整字体大小 */
	} .video-world p {
        font-size: 1em; /* 在小屏幕上调整字体大小 */
		
    }
	#playPauseBtn{
		z-index: 1;
	}
}

/*第二板块*/
.body2{
	width: 100%;
	background-color: #f4f4f2;
}
.product{
	
}
.product-title{
	text-align: center;
	color: #666666  ;
	
	padding-top: 5%;
}
.product-title h2{
	font-size: 20pt;
}
.product-all{
	margin-left: 13%;
	margin-right: 10%;
	margin-top: 5%;
}
.product-word {
	text-align: left;
}
.product-all {
    display: flex; /* 使用 Flexbox 布局 */
    flex-wrap: wrap; /* 如果子元素超出容器宽度则换行 */
    gap: 0 20px; /* 第一个值为上下间距（设置为0），第二个值为左右间距（设置为20px） */
	justify-content:center;
}
.product-all a{
	text-decoration: none;
	
}
.product-all h3{
	color: #444444;
	padding-top: 3.125rem;
	padding-bottom: 1.875rem;
	font-size: 14pt;	
}
.product-all p{
	color: #888888;
	line-height: 20pt;
	font-size: 12pt;
}



.product-word img {
    width: 100%; /* 图片宽度响应容器宽度 */
    height: auto; /* 维持图片比例 */
    display: block; /* 去除图片下方的空隙 */
}

.product-word h3, .product-word p {
    margin: 5px 0; /* 调整标题和段落的上下外边距 */
}

.product-word h3 {
    margin-top: 10px; /* 调整标题的上外边距 */
}
.product-word {
    display: flex; /* 使用 Flexbox 布局 */
    flex-direction: column; /* 垂直排列子元素 */
    flex: 1 1 calc(33.333% - 20px); /* 设置子元素宽度为容器宽度的三分之一，减去间距 */
    box-sizing: border-box; /* 包括内边距和边框在宽度和高度计算中 */
    text-align: left; /* 内容左对齐 */
    max-width: 400px; /* 最大宽度，防止在大屏幕上过宽 */
    /* 默认状态 */
    transition: all 0.3s ease; /* 添加过渡效果 */
	padding-bottom: 6.25rem;
}


.product-word:hover img {
    transform: scale(1.1);
}

/* 鼠标悬停时文字颜色变化 */
.product-word:hover h3 {
    color: #b51b21;
}

.product-word:hover p {
    color: #333;
}
.product-word:hover .image-container {
    transform: scale(1.1);
}
/* 默认选中效果保持不变 */

.product-word.selected .image-container {
    transform: scale(1.1);
}
.product-word.selected h3 {
    color: #b51b21;
}

.product-word.selected p {
    color: #333;
}
.product-word.selected .overlay {
    opacity: 0; /* 悬停时隐藏遮罩 */
}
/*遮罩效果*/
.product-word {
    position: relative; /* 设置相对定位，以便子元素绝对定位 */
}

.image-container {
    position: relative; /* 设置相对定位 */
    display: block; /* 使容器块级显示 */
    overflow: hidden; /* 隐藏超出容器的部分 */
	width: 340px;
}

.image-container img {
    width: 100%; /* 图片宽度响应容器宽度 */
    height: auto; /* 维持图片比例 */
    display: block; /* 去除图片下方的空隙 */
}

.overlay {
    position: absolute; /* 绝对定位遮罩层 */
    top: 0; /* 顶部对齐 */
    left: 0; /* 左侧对齐 */
    right: 0; /* 右侧对齐 */
    bottom: 0; /* 底部对齐 */
    background-color: rgba(0, 0, 0, 0.5); /* 黑色半透明背景 */
    opacity: 1; /* 默认可见 */
    transition: opacity 0.3s ease; /* 添加过渡效果 */
}

.product-word:hover .overlay {
    opacity: 0; /* 悬停时隐藏遮罩 */
}
@media (max-width: 1450px) {
     .product-all{
     	margin-left:5%;
     	margin-right: 5%;
     	margin-top: 5%;
     }
	 .product-word {
	     
	 	padding-bottom: 3.125rem;
	 }
}
/* 媒体查询：屏幕宽度小于 784px */
@media (max-width: 784px) {
	
     .product-all {
            flex-direction: column; /* 改为竖向排列 */
            
			margin-left: 10%;
			
			justify-content: center;
        }
    
        .product-word {
            flex: 1 1 100%; /* 使子元素宽度占满容器 */
			padding-bottom: 3.125rem;
        }
    
        .product-word img {
            width: 100%; /* 图片宽度响应容器宽度 */
            height: auto; /* 维持图片比例 */
        }
		.map h3{		
			padding-top: 2%;
			margin-bottom: 2%;
		}
}

/*腰线*/

.yaoxian img{
	width: 100%;
	height: auto;
}

/*地图*/
.map h3{
	text-align: center;
	color: #666666  ;
	font-size: 20pt; /* 根据需要调整字体大小 */
	padding-top: 5%;
	margin-bottom: 5%;
}
.where {
    width: 100%;
    height: 37.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
    position: relative; /* 设置相对定位，子元素可以使用绝对定位 */
}



/*二维码放置处*/
.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; /* 保持图片的纵横比 */
    }
}
/*悬浮按钮*/
.fixed-btn {
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: none; /* 初始时隐藏按钮 */
	flex-direction: column;
	gap: 10px;
	z-index: 999;
}
.fixed-btn img{
	border-radius: 50%;
}
.fixed-btn> div:hover img {
    transition: transform 0.3s;
	 transform: scale(1.1); 
	 
}


/*横向图片切换列表*/
.pic-list {
    position: absolute; /* 使 `.pic-list` 相对于视口固定定位 */
    top: 50%; /* 垂直方向居中 */
    left: 50%; /* 水平方向居中 */
    transform: translate(-50%, -50%); /* 使用 transform 将其中心对齐于视口的中心 */
    z-index: 1000; /* 确保 `.pic-list` 在最高层级 */
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s; /* 添加渐变效果 */
}

.pic-list.hidden {
    opacity: 0; /* 隐藏时设置透明度为 0 */
    pointer-events: none; /* 防止点击穿透 */
    display: none; /* 隐藏元素 */
}

.pic-list.show {
    opacity: 1; /* 显示时设置透明度为 1 */
    pointer-events: auto; /* 允许点击事件 */
    display: flex; /* 显示元素 */
}

.slider1 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container1 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper1 {
	display: flex;
	transition: transform 0.5s ease;
	align-items: flex-end; /* 确保所有 slide2 底部对齐 */
	margin-left: 0; /* 使第一张图片靠左 */
}

.slider-wrapper1 .slide2 {
    position: relative;
    margin: 0 25px;
}

.slider-wrapper1 img {
    width: 580px;
    height: auto;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.slider-wrapper1 .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
    z-index: 3; /* 确保遮罩在图片上层 */
}

.slider-wrapper1 img.selected {
    width: 600px;
    height: auto;
}

.slider-wrapper1 img.inactive + .mask {
    opacity: 1;
}

.slider-wrapper1 img.selected + .mask {
    opacity: 0;
}

.sld-word {
    display: flex; /* 使用 flexbox 布局 */
    justify-content: center; /* 水平居中 */
    color: white; /* 文字颜色为白色 */
    text-align: center; /* 文本水平对齐方式 */
	justify-content: center;
    position: absolute;
    bottom: 0.7%; /* 置于底部 */
    left: 0;
    width: 100%; /* 背景宽度占满图片 */
    height: 25%; /* 高度为图片的 25% */
    background: rgba(0, 0, 0, 0.7); /* 黑色半透明背景 */
    box-sizing: border-box; /* 包含边框和内边距 */
    font-size: 14pt;
    z-index: 4; /* 确保文字在遮罩上层 */
}

.sld-word p {
    margin-top: 3%;
}

.selected .sld-word {
    display: block; /* 被选中时显示 */
}



.prev1 {
	left: 20%;
}

.next1 {
	right: 20%;
}

.prev1 img, .next1 img {
	width: 30px; /* 根据需要调整图片宽度 */
	height: auto;
}

.close-btn1 {
    position: absolute; /* 确保按钮位于绝对定位的右上角 */
    top: 10px; /* 距离顶部的距离 */
    right: 20px; /* 距离右边的距离 */
    font-size: 30px; /* 按钮字号 */
    cursor: pointer; /* 光标指针效果 */
    color: #fff; /* 按钮文字颜色 */
    border: none; /* 无边框 */
    background-color: transparent; /* 透明背景 */
    opacity: 0.8; /* 透明度 */
}
.close-btn1:hover{
	transform: scale(1.1 );
}
@media (max-width: 784px) {
	.where{
		width: 100%;
		height: 400px;
	}
	.where-icon1 img{
		transform: scale(0.8);
	}
	.slider1{
		transform: scale(0.8);
	}
}



/*地址文字*/
.map-word {
    position: relative;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    background-color: #eee; /* 背景色 */
	width: 100%;
	margin-top:0px;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px; /* 可选的间隔 */
    width: 80%;
	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){
	.map-word {
	    
		
		
	}
	.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;
		
	}

}