/* ============================================================
   tpl002 样式 - 完全复刻 rrs.935283.com 的 main.css
   ============================================================ */
@media (max-width: 500px) {
    body{
        max-width:500px;
        padding: 5px 5px 0;
    }
}
@media (min-width: 501px) {
    body{
        max-width:950px;
        padding: 10px 0 0;
    }
}

body{
    margin:0px auto;
    word-break:break-all;
    background-color: #fafafa;
    color: #181818;
}

body,button, input, select, textarea,h1 ,h2, h3, h4, h5, h6 { font-family: Microsoft YaHei,'宋体' , Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;}


a{
    text-decoration:none;
}

.site_top{
    text-align: center;
    background-color: #de7382;;
    font-weight: bold;
    padding: 5px 0;
    margin-bottom: 5px;

    font-size: 25px;
    padding: 5px 0;

}

.site_top a, .site_top a:hover, .site_top a:active{
    color: white;
}

.movie_list a, .movie_list a:hover, .movie_list a:active{
    color: #181818;
}


.movie_list ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.movie_list li{
    padding: 12px 0;
    border-top: dotted 1px #c7cfcf;
}

.date {
    color: #7a7a7a;
}


.page_nav{
    margin: 10px 0;
}
a.page-link,a.page-link:hover,a.page-link:active{
    color: #515151;
}

.movie_preview {
    margin-bottom: 20px;
}

.movie_info p {
    line-height:12px;
}

.movie_info h3 {
    margin: 10px 0 20px;
}

.img_item {
    float: left;
}


@media (max-width: 500px) {
    .img_item{
        width: 50%;
    }
}
@media (min-width: 501px) {
    .img_item{
        width: 25%;
    }
}

.img_item{
    padding: 2px;
}

.clearfix{
    clear: both;
}

.footer, .footer a{
    line-height: 30px;
    text-align: center;
    background: #333;
    padding: 10px 0;
    color: #aaa;
    margin-top: 40px;
}

/* ---- tpl002 适配补充（目标站由 JS/其他样式实现的部分） ---- */
/* 分页居中（目标站使用 justify-content-center） */
.page_nav .pagination{
    justify-content: center;
    flex-wrap: wrap;
}
/* PC/移动端差异化显示 */
@media (max-width: 500px) {
    .only_pc{
        display: none !important;
    }
}
@media (min-width: 501px) {
    .only_mobile{
        display: none !important;
    }
}
/* 复制磁力的隐藏辅助元素 */
.wrapper {position: relative;}
#input {position: absolute;top: 0;left: 0;opacity: 0;z-index: -10;}
