/*顶部大横幅*/
/*.imgBox{ display:block; width:100%; margin:2px 0px}*/
/*.imgBox img{ width: 100%;max-width: 100%;max-height:180px;min-height: 180px;}*/

/*文字*/
.txtguanggao{width: 100%;overflow: hidden;display: block;box-shadow: 0 1px 1px 0 rgba(0,0,0,.05);}
.txtguanggao a{width: 24.8%;float: left;border-radius: 3px;line-height: 35px;height: 35px;text-align: center;font-size: 16px;color: #fff;display: inline-block;background-color: rgb(255, 153, 159);margin: 1px;transition-duration: .3s;text-decoration:none;}
.txtguanggao a:nth-child(1) {background-color: #e28651;}
.txtguanggao a:nth-child(2) {background-color: #ef79dd;}
.txtguanggao a:nth-child(3) {background-color: #b75f5f;}
.txtguanggao a:nth-child(4) {background-color: #ce9400;}
.txtguanggao a:nth-child(5) {background-color: #ef79dd;}
.txtguanggao a:nth-child(6) {background-color: #e28651;}
.txtguanggao a:nth-child(7) {background-color: #ce9400;}
.txtguanggao a:nth-child(8) {background-color: #b75f5f;}
.txtguanggao a:nth-child(9) {background-color: #988282;}
.txtguanggao a:nth-child(10) {background-color: #ce9400;}
.txtguanggao a:nth-child(11) {background-color: #e28651;}
.txtguanggao a:nth-child(12) {background-color: #996699;}
.txtguanggao a:nth-child(13) {background-color: #ce9400;}
.txtguanggao a:nth-child(14) {background-color: #988282;}
.txtguanggao a:nth-child(15) {background-color: #996699;}
.txtguanggao a:nth-child(16) {background-color: #e28651;}
.txtguanggao a:nth-child(17) {background-color: #ff785d;}
.txtguanggao a:nth-child(18) {background-color: #239bb3;}
.txtguanggao a:nth-child(19) {background-color: #ff785d;}
.txtguanggao a:nth-child(20) {background-color: #5e94bf;}
.txtguanggao a:nth-child(21) {background-color: #663366;}
.txtguanggao a:nth-child(22) {background-color: #003300;}
.txtguanggao a:nth-child(23) {background-color: #003366;}
.txtguanggao a:nth-child(24) {background-color: #996699;}
.txtguanggao a:nth-child(25) {background-color: #666666;}
.txtguanggao a:nth-child(26) {background-color: #006699;}
.txtguanggao a:nth-child(27) {background-color: #993333;}
.txtguanggao a:nth-child(28) {background-color: #6593b7;}
.txtguanggao a:hover{background:#DC3545;}

/*横幅*/
.hf-small{ display:block; width:100%; margin:2px 0px}
.hf-small img{ width: 100%;max-width: 100%;height:60px;}

/*小图标*/
.icon {overflow:hidden;}
.icon ul {padding:0;margin:0}
.icon ul li {float:left;width:25%;list-style:none;text-align:center}
.icon ul li a{font-size:14px;color:#ff0000;text-decoration:none;}
.icon ul li a:hover{color:#FF9800;}
.icon ul li img{margin:0 auto;padding:4px;width:56px;height:56px;border-radius:15px;}
.icon ul li img:hover{background-color:#FF9800;}
@media screen and (max-width: 960px) {
.txtguanggao a{width: 24.3%;float: left;border-radius: 3px;line-height: 33px;height: 33px;text-align: center;font-size: 14px;color: #fff;display: inline-block;background-color: rgb(255, 153, 159);margin: 1px;transition-duration: .3s;}
}
.nimad {
    width: 100%; /* 宽度默认占满容器 */
    display: flex;
    justify-content: center; /* 内容居中 */
    margin: 1px 0; /* 上下间距 */
}

.nimad a {
    display: block; /* 链接块 */
}

.hfsllam img{
    width: 100%;
    height: 50px; /* 保持图片比例 */
}

.abcdHF1 {
    width: 1200px; /* 最大宽度，与视频列表对齐 */
    height: 120px; /* 保持图片比例 */
}
/* 移动端样式：固定高度为80px，图片完整显示 */
@media (max-width: 768px) {
    .hfsllam img{
        height: 40px; /* 固定高度为80px */
        width: 100vw; /* 宽度自适应 */
    }
    .abcdHF1 {
        height: 80px; /* 固定高度为80px */
        width: 100vw; /* 宽度自适应 */
    }
}

/* 容器 */
.bba-container {
    /*max-width: 1200px;*/
    margin: auto;
    display: block;
    box-sizing: border-box;
}

@media screen and (max-width: 750px) {
    .menu {
        margin: 0px 0 0;
        border-radius: 0;
        padding: 0;
        width: 100%;
    }
}
.menu-wrap dl {
    margin: auto;
    display: block;
    float: left;
    width: 100%;
    padding: 15px 0;
    background-color: rgb(255 255 255 / 90%)
}
.menu-wrap dt {
    width: 8%;
    font-size: 20px;
    color: #000;
    font-weight: 700;
}
.menu-wrap dt, .menu-wrap dd {
    float: left;
    line-height: 40px;
    text-align: center;
}

@media screen and (max-width: 750px) {
    .menu dt {
        width: 14%;
        line-height: 70px;
        font-size: 14px;
    }
}
.menu-wrap dd {
    width: 11.5%;
    font-size: 16px;
}

@media screen and (max-width: 750px) {
    .menu-wrap dl {
        padding: 10px 0;
    }
}

.menu dl:first-child {
    border-top: 0;
}

.menu-wrap dt a {
    background: #e7cdaa;
    padding: 5px;
    border-radius: 10px;
    color: black;
    font-size: 16px;
}



.menu-wrap::after {
    content: "";
    display: table;
    clear: both;
}


@-webkit-keyframes hue {
	from {
		-webkit-filter: hue-rotate(0deg);
		-moz-filter: hue-rotate(0deg)
	}

	to {
		-webkit-filter: hue-rotate(-360deg);
		-moz-filter: hue-rotate(-360deg)
	}
}

/* 容器样式 */
.bba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(66px, 1fr)); /* 每个最小66px，剩余空间均分 */
    gap: 4px; /* 广告之间的间距 */
    /*max-width: 1200px; 宽度与页面一致*/
    margin: 2px auto; /* 居中显示 */
    padding: 5px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 750px) {
    .menu-wrap dd {
        width: 21%;
        line-height: 30px;
        font-size: 14px;
    }
    /* 容器样式 */
    .bba-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(55px, 1fr)); /* 每个最小66px，剩余空间均分 */
        gap: 4px; /* 广告之间的间距 */
        max-width: 84%; /* 宽度与页面一致 */
        margin: 2px 0; /* 居中显示 */
        padding: 5px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
    }
}

/* 样式 */
.bba-item {
    margin: 2px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 图片样式 */
.bba-item img {
    width: 80%; /* 图片宽度80% */
    object-fit: contain; /* 保持图片比例 */
    border-radius: 10px;
    max-width: 80px;
}

/* 文字样式 */
.bba-item div {
    font-size: 10px ;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    color: #f35626;
    background-image: -webkit-linear-gradient(92deg, #f35626, #7100ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: hue 10s infinite linear;
}

/* 鼠标悬停时的效果 */
.bba-item:hover {
    transform: translateY(-5px); /* 向上浮动 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 响应式设计：移动端 */
@media (max-width: 768px) {
    .bba-item img {
        width: 100%; /* 图片宽度为100% */
    }
}



#xofal {
    position: relative;
    z-index: 9999;
}

.xofal {
    position: fixed;
    /*width: 100px; !* 固定宽度 *!*/
    /*height: 100px; !* 固定高度 *!*/
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dxofal {
    position: fixed;
    /*width: 100px; !* 固定宽度 *!*/
    /*height: 100px; !* 固定高度 *!*/
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.xofal:hover {
    transform: scale(1.1);
}

.dxofal:hover {
    transform: scale(1.1);
}

/* 图片样式，防止过大 */
.xofal img {
    width: 60px; /* 自适应父容器 */
    height: 60px; /* 自适应父容器 */
    border-radius: 10px; /* 图片圆角 */
}

.dxofal img {
    width: 1200px; /* 自适应父容器 */
    height: 80px; /* 自适应父容器 */
    border-radius: 10px; /* 图片圆角 */
}

/*右悬浮*/
.xofal.zuo1 {
    top: 22%;
    right: 1%;
}

.xofal.zuo2 {
    top: 33%;
    right: 1%;
}

.xofal.zuo3 {
    top: 44%;
    right: 1%;
}

.xofal.zuo4 {
    top: 55%;
    right: 1%;
}
/*下悬浮*/
.xofal.xia1 {
    bottom: 4%;
    left: 8%;
}

.xofal.xia2 {
    bottom: 4%;
    left: 30%;
}

.xofal.xia3 {
    bottom: 4%;
    right: 30%;
}

.xofal.xia4 {
    bottom: 4%;
    right: 8%;
}
