﻿
*{margin:0px; padding:0px;}
li{ list-style-type:none;}
body{margin:0 auto; width:1220px; font-size:12px; font-family:"宋体";}
.banner_div {width:1220px;height:80px;background-color:#fff; display:flex;margin:0 auto;background-image:url(../Images/bg_nav.png); background-repeat:repeat;background-position:center; }
.bannersub_div {width: 1260px;height: 80px;margin: auto;}
.logo_div{width:198px;height:80px; background-image:url(../Images/Logo.jpg); background-repeat:no-repeat;background-position-y:center; float:left;}
.menu_div{width:750px;height:80px; line-height:80px;margin-left:100px;float:right;}
.menuli{ list-style-type:none; float:left;width:100px; font-size:16px; font-family:微软雅黑; text-align:center;}
.menuli a:link,.menuli a:visited,.menuli a:active{color:#ffffff; text-decoration:none;}
.menuli a:hover{color:#ffffff; text-decoration:underline;}
.guanggao_div{width:100%;height:auto;min-height:295px;background-color:#cbcbcb;position:relative;text-align:center;}
.guanggaoitem_div{width:800px;height:295px;margin:auto;position:absolute;top:0;left:0;right:0;bottom:0;}
.friend_div{width:1220px;height:60px;line-height:60px;background-color:#fff;color:white;font-size:12px;margin:20px auto 0px auto;background-image:url(../Images/bg_nav.png); background-repeat:repeat; background-position:center;}
.friend_div a:link,.friend_div a:visited,.friend_div a:active{color:#ffffff; text-decoration:none;}
.friend_div a:hover{color:#ffffff; text-decoration:underline;}
.bottom_div{text-align:center;padding-top:10px;color:#333333;padding-bottom:10px;font-size:12px;}


.banner {
    position: relative;
    width: 1220px;
    height: 270px;
    overflow: hidden;
    margin: 0 auto;
}

.banner-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 1220px; /* Adjust based on the number of images */
    height: 100%;
}

.banner img {
    width: 1220px;
    height: 270px;
    flex-shrink: 0;
}

.banner-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner:hover .banner-buttons {
    opacity: 1;
}

.banner-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    pointer-events: auto;
}

.banner-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

    .banner-indicators span {
        width: 10px;
        height: 10px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        cursor: pointer;
    }

    .banner-indicators .active {
        background-color: white;
    }