/*公告*/
#Bulletin{
    padding: 5px 15px;
    border-top: 1px solid #a3a3a3;
}
.notice {
    height: 19px;
    overflow: hidden;
    position: relative;
}
.notice b {
    line-height: 19px;
    font-size: 17px;
    font-weight: 700;
    display: inline-block;
}
.notice .notice-item {
    list-style: none;
    line-height: 19px;
    display: inline-block;
    font-size: 16px;
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease;
}
.notice .notice-item span{
    color: red;
    font-weight: bold;
}

/*播放器下方*/
.ad_1{
    margin: 0 auto;
    width: 400px;;
}

#fby{
    width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 15px 5px;
}
#fby a{
    color: #ffda00;
    text-decoration: underline;
}
#fby #menu_app{
    width: 100%;
}
#fby #menu_app ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}
#fby #menu_app li{
    position: relative;
    width: calc(100% / 3 - 6px);
    height: 26px;
    line-height: 26px;
    background-color: #004be8;
    color: #fff;
    text-align: left;
    display: inline-block;
    margin: 2.5px;
    padding: 0 3px;
    overflow: hidden;
    border-radius: 2.5px;
}
#fby #menu_app li img{
    position: absolute;
    top: 3px;
    height: 20px;
    width: 20px;
    border-radius: 2.5px;
}
#fby #menu_app li a{
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    margin-left: 25px;
}

@media (max-width: 400px) {

    .ad_1{
        width: 100% !important;
        z-index: 1 !important;
        position: relative;
    }

    #fby{
        width: 100% !important;
    }
}

/*弹窗样式*/
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#popup_1 {
    background-color: #fff;
    color: #000;
    font-size: 18px;
    padding: 20px 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

#popup_1 button{
    color: #fff;
    background-color: #004be8;
    width: 100%;
    font-size: 17px;
    letter-spacing: 1.5px;
    font-weight: bold;
    border-radius: 5px;
    padding: 8px 0;
    margin: 0 0 8px;
    border: none;
}

.close_btn {
    position: absolute;
    top: 6px;
    right: 8px;
    cursor: pointer;
    font-size: 15px;
}
/*弹窗样式*/

.live-cams,.menu-login-acct,.thumb-ad,.thumb-nat-ad,#ad-footer,.remove-ads,.page-link,#subs-home-toggle-cont,#video-ad,#video-sponsor-links,.has-banner,#ad-header-mobile-contener,.video-ad,.mobile-portrait-show,#ad_3954650,.videoad-base,.videoad-title,#x-home-messages,#content-ad-top-zone-contener,.no-rotate,#multi-footer-link,.gold-plate,.header-icons,.mobile-show-inline-block,#results-free-or-premium,.premium-results-line,#ad-footer2,#disclaimer-over18,#disclaimer_message .disclaimer-manage_cookies, #disclaimer-save-preferences,#disclaimer-reject_cookies-btn,#disclaimer-parents-p,#ad_3959997,.video-metadata,.thumb-ad,.help-wizard-cover,#video-right,#html5video #hlsplayer .video-title{
    display: none !important;
}

#home-search div.cont, #xv-search-form div.cont{
    padding: 0 !important;
}

.zanzhu{
    display: none !important;
}


#content .clear-infobar, #content .infobar{
    margin: 10px 20px !important;
}

.gonggao{
    background: #004be8;
    color: yellow;
    font-size: 17px;
    margin: 0;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
}

#content-thumbs{
    box-shadow: none !important;
}

.mozaique {
    padding-top: 0px !important;
    /*padding-left: 7px !important;*/
    padding-right: 7px !important;
}
.thumb-block{
    padding-left: 7px !important;
}
#link,#links{
    padding: 0 14px 0 14px;
}


#banner_ad{
    width: 100%;
    display: none;
}
#banner_ad .wap-banner{
    width: 100%;
}
#banner_ad img{
    width: 100%;
    height: 60px;
}

@media (max-width: 479px){
    #related-videos .mozaique {
        padding-left: 0 !important;
    }

    #content .clear-infobar .infobar-list, #content .clear-infobar .infobar-title {
        font-size: 20px !important;
    }

    #content .clear-infobar, #content .infobar{
        margin: 5px 10px !important;
    }
}

.ad_2{
    display: none;
}

@media (max-width: 767px){
    /*公告*/
    #Bulletin{
        padding: 4px 8px 3px 8px;
    }
    .notice {
        height: 16px;
    }
    .notice b {
        line-height: 16px;
        font-size: 10px;
        font-weight: 700;
    }
    .notice .notice-item {
        line-height: 16px;
        font-size: 10px;
        /*top: 2px;*/
    }

    .gonggao{
        font-size: 15px;
    }

    .zanzhu{
        display: block !important;
    }

    .ad_2{
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
        background-color: #4463d5;
    }

    .ad_2 a{
        color: #fff !important;
        font-weight: bold;
        font-size: 18px;
        text-decoration: none !important;
        display: inline-block;
        width: 70%;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        background: #4463d5;
        box-shadow:  5px 5px 5px #3a54b5,
        -5px -5px 5px #4e72f5;
    }
    .ad_2 a:hover{
        color: #fff;
        text-decoration: none;
        border-radius: 10px;
        background: #4463d5;
        box-shadow: inset 5px 5px 5px #3a54b5,
        inset -5px -5px 5px #4e72f5;
    }


    .header-icons,#main-cat-switcher-mobile,.mobile-show-inline-block,#header-mobile-gold{
        display: none !important;
    }

    #link, #links {
        border-bottom: none !important;
    }
    #link,#links{
        padding: 4px 7px 7px 7px!important
    }
    #link a,#links a{
        margin: 3px 3px 0 0 !important;
        font-size: 12px !important;
    }

    #banner_ad{
        display: inline-block;
    }
    #banner_ad .wap-banner img{
        height: 26px;
    }


}

@media (max-width: 1350px){
    #header #site-nav {
        min-height: 0 !important;
    }
}
@media(max-width: 991px){
    #content #content-thumbs #results-top{
        margin: 18px 14px 0 14px !important;
    }
}
#footers{
    background: #000048;
    box-shadow: inset 0 50px 50px rgb(0 0 0 / 70%);
    overflow: hidden;
    padding: 15px 7px;
    text-align: center;
}

#link,#links{
    border-top: 1px solid #a3a3a3;;
    border-bottom: 1px solid #a3a3a3;
    padding-bottom: 5px;
}


#link a,#links a{
    text-decoration: none;
    font-size: 14px;
    background-color: #004be8;
    color: #fff;
    font-weight: bold;
    padding: 2px 6px;
    margin: 5px 5px 0 0;
    display: inline-block;
    border-radius: 3px;
}

#link a:hover,#links a:hover{
    text-decoration: none;
    background-color: #475e95;
}
#link span,#links span{
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}

#footers #links{
    border-top: none !important;
}
#language-and-version{
    display: none !important;
}

#footers h1{
    font-size: 16px;
    margin: 0;
}
#footers h2{
    margin: 60px 0 100px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

#footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0; /* 给上方和下方留出一些内边距 */
    margin-top: 30px; /* 给 footer 上方留一些外边距，避免和内容紧挨着 */
}

@media (min-width: 1024px) {
    .toggle-button {
        flex: 0 0 calc(25% - 10px);
    }
    .icon-ad {
        width: calc(10% - 10px); /* 在PC端时一行10个图标 */
        height: 60px;
    }
}



@media (max-width: 768px) {
    .footer-links {
        padding-top: 2px !important;
        /*border-top:none !important;
    	*/
    }

    .footer-links a {
        margin: 3px 3px 0 0 !important;
        font-size: 12px !important;
    }
}
.footer-links {
    border-top: 1px solid #a3a3a3;
    padding-bottom: 5px;
    margin-left: 10px;

}


.footer-links a {
    text-decoration: none;
    font-size: 14px;
    background-color: #0d8aee;
    color: #fff;
    font-weight: bold;
    padding: 1px 5px;
    margin: 5px 2.5px 0 2.5px;
    display: inline-block;
    border-radius: 3px;
}

.footer-links a:hover {
    text-decoration: none;
    background-color: #717171;
}


.googlelink{
    position: absolute;
    opacity: 0;
}

/* 图标广告容器 */
.adhidden {
    display: none !important;
}

.icon-ads,
.remaining-ads {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 水平居中 */
    gap: 10px; /* 子元素之间的间距 */
    padding: 5px;
    max-width: 1320px;
    margin: 0 auto;
}
.icon-ad {
    width: calc(20% - 10px); /* 每行显示 5 个广告 */
    text-align: center;
    display: flex;
    flex-direction: column; /* 子元素纵向排列 */
    align-items: center; /* 子元素水平居中 */
    overflow: visible; /* 确保子元素不会被裁剪 */
}

.icon-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* 保证正方形比例 */
    overflow: hidden; /* 保持图片裁剪 */
    border-radius: 10px;
    background-color: #000; /* 确保图片容器背景色 */
    flex-shrink: 0; /* 确保图片容器不会被压缩 */
}


.icon-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片按比例裁剪填充 */
}

.icon-title {
    font-size: 14px; /* 字体大小 */
    line-height: 1; /* 设置行高 */
    margin-top: 8px; /* 图片与标题之间的间距 */
    max-width: calc(5em); /* 1 个字宽度约等于 1em */
    overflow: hidden; /* 超出部分隐藏 */
    /*text-overflow: ellipsis; !* 显示省略号 *!*/
    white-space: nowrap; /* 禁止换行 */
    text-align: center; /* 标题居中 */
    color: #fff; /* 设置文字颜色 */
}


/* 按钮容器样式，用于居中整个页面 */
.toggle-button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.toggle-button {
    flex: 0 0 calc(100%);
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.toggle-button:hover {
    background-color: #0056b3;
}

/* PC端调整按钮宽度 */
@media (min-width: 1024px) {
    .toggle-button {
        flex: 0 0 calc(25% - 10px);
    }
    .icon-ad {
        width: calc(10% - 10px); /* 在PC端时一行10个图标 */
        height: 60px;
    }
}

/* 默认隐藏广告 */
.mobile-only {
    display: none;
}

/* 移动设备显示广告 */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}
#banner_foot{
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 水平居中 */
    gap: 10px; /* 子元素之间的间距 */
    padding: 5px;
    max-width: 1320px;
    margin: 0 auto;
}