@charset "utf-8";
@import "reset.css";
@import "slide.css";
@import "gun.css";
@import "daohang.css";
@import "lrtk.css";
@import "djgundong.css";
/* CSS Document */
body {
    font-size: 14px;
    font-family: "Microsoft YaHei" ! important;
    color: #333;
}

.l {
    float: left;
}

.r {
    float: right;
}

a {
    color: #333;
}

div {
    margin: 0;
    padding: 0;
    border: 0;
}

.clr {
    clear: both;
    height: 0;
}

body {
    background: #FFFFFF;
}

.w {
    width: 1200px;
    background: #fff;
    margin: 0 auto;
    padding: 5px;
}

.height5 {
    height: 5px;
    clear: both;
}

.height10 {
    height: 10px;
}

.height30 {
    height: 30px;
}

.bf {
    background: #ffffff;
}

.w1200 {
    width: 1210px;
    margin: 0 auto;
    padding: 0 5px;
}

.w1100 {
    width: 1100px;
    margin: 0 auto;
}

#header .logo {
    height: 145px;
    font-size: 32px;
    line-height: 145px;
    color: #1f87e8;
    font-weight: bold;
}

#header .r {
    margin-top: -130px;
    font-size: 16px;
}

#header .r1 {
    background: #f8ecc6;
    height: 30px;
}

#header .r4 {
    background: #f8ecc6;
    height: 30px;
}

#header img {
    width: 100%;
    height: auto;
}

#header .r2 {
    background: #cf0006;
    width: 100%;
}

.nav {
    height: 50px;
    background: rgb(0, 159, 233);
    color: #fff;
}

.r1l1 {
    width: 687px;
    height: 417px;
    float: left;
    background: #000000;
}

.r1l2 {
    width: 500px;
    height: 417px;
    margin: 5px 0;
    float: right;
}

.r3l1 {
    width: 858px;
}

.r3l2 {
    width: 330px;
}

.ad {
    height: 79px;
    background: #000000;
}

.tab_2 {
    cursor: pointer;
    background: #18aeff;
    color: #ffffff;
    font-weight: bold;
}

.tab_2 a {
    color: #ffffff;
}

.tab_1 a {
    background: #eee;
}

.tab_1 {
    cursor: pointer;
    background: #eee;
}

.casetab_2 {
    cursor: pointer;
    background: #FF0000;
    color: #ffffff;
    font-weight: bold;
}

.casetab_1 {
    cursor: pointer;
    color: #FF0000;
    background: #FFFFFF;
}

.casetab_2 a {

    color: #ffffff;

}

.casetab_1 a {

    color: #FF0000;

}

.r1 .r_title {
    font-size: 26px;
    line-height: 40px;
    padding: 20px 0;
    text-align: center;
}

.r1 .photo {
    background: #fff;
    height: 540px;
    padding: 1px;
}

.r1 .photo .title {
    font-size: 26px;
    line-height: 40px;
    padding: 20px 0;
    text-align: center;
}

.r1 .photo .title li {
    width: 300px;
    height: 160px;
    text-align: center;
    line-height: 160px;
    font-size: 24px;
}

.r1 .photo .list {
    float: left;
    margin-left: 5px;
    width: 900px;
}

.r1 .photo .list li {
    display: block;
    float: left;
    width: 270px;
    height: 248px;
    padding: 0 5px;
    text-align: center;
    margin: 10px;
}

.r1 .photo .list img {
    width: 270px;
    height: 218px;
    border-radius: 10px;
}

.r1 .list {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 使子元素均匀分布 */
}

.r1 .list .advantage {
    font-size: 20px;
    flex: 1; /* 每个子元素占据相等的空间 */
    margin: 0 20px;
}

.r1 .title {
    position: relative; /* 确保伪元素可以相对于父元素定位 */
    text-align: left; /* 确保标题居中 */
    margin-bottom: 20px;
    color: #000000;
}

.r1 .title::after {
    content: '';
    display: block;
    width: 40px; /* 设置线的长度 */
    height: 4px; /* 线的高度 */
    background-color: rgb(3, 157, 223); /* 线的颜色 */
    position: absolute;
    top: 35px;
    bottom: 0; /* 定位到底部 */
    left: 0; /* 居中显示 */
}

.r1 .list .center {
    position: relative; /* 确保伪元素可以相对于父元素定位 */
    height: 280px;
    color: #666;
}

.r1 .list .center img {
    position: absolute;
    width: 322px;
    height: 163px;
    left: 0; /* 图片定位到容器左侧 */
    bottom: 0;
}


.r2 {
}

.r3 {
    background-image: url(../images/5.png); /* 替换为你的背景图片路径 */
    background-repeat: no-repeat; /* 禁止背景图片平铺 */
    background-position: center; /* 背景图片居中 */
    background-size: cover; /* 背景图片覆盖整个容器 */
    height: 800px
}

.r3 .r_title {
    font-size: 26px;
    line-height: 40px;
    padding: 20px 0;
    text-align: center;
}

.r3 .photo .list {
    display: flex; /* 使用 Flexbox 布局 */
    flex-wrap: wrap; /* 允许换行 */
    justify-content: space-between; /* 使子元素均匀分布 */
    gap: 20px; /* 设置子元素之间的间隔 */
}

.r3 .photo .list li {
    background: #FFFFFF;
    box-shadow: 1px 1px 10px #eee;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    width: calc(25% - 15px); /* 每行显示 4 个，减去间隔 */
    height: 180px;
    text-align: center;
}

.r3 .photo .list img {
    width: 100%; /* 图片宽度占满容器 */
    height:177px;
    object-fit: cover; /* 保持图片比例并覆盖容器 */
}


.r4 {
    padding: 50px 0;
    background-image: url(../images/4.png); /* 替换为你的背景图片路径 */
    background-repeat: no-repeat; /* 禁止背景图片平铺 */
    background-position: center; /* 背景图片居中 */
    background-size: cover; /* 背景图片覆盖整个容器 */
    height: 459px
}

.r4 .title {
    font-size: 26px;
    line-height: 40px;
}

.r4 .center {
    padding: 20px;
    background: rgba(61, 149, 191, 0.9) ;
    float: right;
    width: 550px;
    line-height: 36px;
    color: #FFFFFF;
}

.r4 img {
    float: left;
    width: 576px;
    height: 381px;
}

.more {
    margin: 0 20px;
    cursor: pointer;
    width: 143px;
    display: block;
    height: 44px;
    color: #FFFFFF;
    background: rgb(255,135,76);
    text-align: center;
    line-height: 44px;
}

.r5 {
}

.r5 .r_title {
    font-size: 26px;
    line-height: 80px;
    padding: 50px 0;
}

.r5 .r_title li {
    text-align: center;
}

.r5 .news_list li {
    width: 550px;
    margin-right: 50px;
    float: left;
}

.r5 .news_list li .title {
    font-size: 20px;
    margin-top: 10px;
}

.r5 .news_list li .center {
    font-size: 16px;
    color: #cccccc
}
.date-box {
    float: left; /* 向左浮动 */
    width: 85px; /* 正方形宽度 */
    height: 85px; /* 正方形高度 */
    background-color:rgb(242,242,242); /* 灰色背景 */
    text-align: center; /* 文字居中 */
    margin-right: 10px; /* 与右侧内容的间隔 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.date-box .day {
    font-size: 20px; /* 日期的字体大小 */
    font-weight: bold; /* 加粗 */
}

.date-box .year-month {
    font-size: 16px; /* 年月的字体大小 */
    color: #666; /* 较浅的颜色 */
}

#footer {
    background: rgb(57,57,57);
    color: #ffffff;
    padding: 25px;
    height: 80px;
}
#footer .r span{display: block;font-size: 16px;}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 放大图片的容器 */
#image-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 放大图片 */
#enlarged-img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

/* 关闭按钮 */
#close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    background-color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
}