/*
Theme Name: 天兴工作室WordPress娱乐资源主题
Theme URI: https://www.txcstx.com/post/1383.html
Author: 天兴工作室
Author URI: https://www.txcstx.com
Description：天兴工作室WordPress娱乐资源主题
Requires at least: WordPress 4.9.6
Tags: 娱乐,资源,下载,http://www.txcstx.cn/
Version: 2022-04-08
*/

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}


/* 分页条 */

.pagebar {
    width: 100%;
    padding: 15px 0 12px 0;
}

.pagebar>* {
    padding: 0 12px;
    line-height: 30px;
    display: inline-block;
    background-color: #eee;
    margin: 0 3px 3px 0;
    border-radius: 2px;
}

.pagebar a:hover,
.pagebar>span {
    color: #FFF;
}


/* 评论 */

.commentlist>li {
    padding: 15px;
    border-bottom: 1px solid var(--tx-border);
}

.commentlist>li ul {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
    margin-top: 15px;
    padding: 15px;
}

.comment-body>img {
    margin-right: 1em;
    border-radius: 4px;
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    -webkit-transition: .8s;
    -webkit-transition: -webkit-transform .8s ease-out;
    transition: transform .8s ease-out;
    -moz-transition: -moz-transform .5s ease-out;
}

.comment-body:hover>img {
    transform: rotateZ(60deg);
    -webkit-transform: rotateZ(60deg);
    -moz-transform: rotateZ(60deg)
}

.comment-body:hover .reply {
    display: inline-block;
    opacity: 0.8;
}

.tx-comment-textarea textarea {
    border: 0;
    height: 120px;
    width: 100%;
    font-size: 14px;
    font-family: "Microsoft YaHei", Verdana, sans-serif;
    display: block;
    padding: 12px;
    background-color: transparent
}

.tx-comment-textarea input.tx-btn {
    border: 0;
    border-radius: 0 0 2px 0;
    line-height: 40px;
    height: 40px;
    width: 100px;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
}

.tx-red {
    color: #c00;
}

.reply-frm {
    position: relative;
    margin-top: 15px;
}

.reply-frm #cancel-reply {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: var(--tx-color1);
    color: #fff;
    border-radius: 50%;
    opacity: 0.5;
}

.main {
    padding: 0 15px;
    background-color: rgba(255, 255, 255, 0.98);
}

.top {
    line-height: 32px;
    border-bottom: 1px solid var(--tx-border);
}

.header {
    padding: 10px 0;
}

.logo img,
.logo a,
.logo h1,
.logo h2 {
    height: 60px;
    width: auto;
    display: block;
    line-height: 1;
}

.logo img.nightlogo,
.tx-nightlogo img.daylogo {
    display: none;
}

.tx-nightlogo img.nightlogo {
    display: block;
}

.logogg {
    width: 800px;
    height: 60px;
    overflow: hidden;
}

.logogg img {
    display: block;
    width: 100%;
    height: 60px;
}

.ggbox img {
    display: block;
    width: 100%;
}

@keyframes fade-in {
    0% {
        top: -50px;
    }
    100% {
        top: 0;
    }
}

@-webkit-keyframes fade-in {
    0% {
        top: -50px;
    }
    100% {
        top: 0;
    }
}

.nav-box {
    position: relative;
    z-index: 99;
    border-radius: 2px;
}

.nav {
    padding-right: 50px;
}

.nav li {
    float: left;
    position: relative;
}

.nav li a {
    display: block;
    padding: 0 22px;
    color: #fff;
    line-height: 45px;
}

.nav li:active {
    background-color: #c00;
}

.nav li>a:hover,
.nav li.on>a,
.nav li.hover>a {
    color: #fff;
}

.nav li ul {
    position: absolute;
    top: 45px;
    display: none;
}

.nav li ul li {
    width: 100%;
}

.nav li ul li a {
    line-height: 36px;
    white-space: nowrap;
}

.fixednav {
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: fade-in;
    animation-duration: 0.5s;
    -webkit-animation: fade-in 0.5s;
}

.search-box {
    position: absolute;
    right: 5px;
    top: 0;
    width: 45px;
    height: 45px;
}

.search-box>a {
    display: block;
    width: 30px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
}

.search-box .search-con {
    position: absolute;
    right: 0;
    top: 5px;
    width: 0;
    height: 35px;
    background-color: #fff;
    border-radius: 3px;
    padding: 3px 30px 3px 3px;
    z-index: 11;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease 0s;
}

.search-box:hover .search-con {
    opacity: 1;
    visibility: visible;
    width: 200px;
}

.search-con input {
    width: 100%;
    padding: 0 10px;
    line-height: 29px;
    height: 29px;
    border: 0;
    border-radius: 3px 0 0 3px;
    font-size: 12px;
    background-color: #fff;
}

.search-con button {
    position: absolute;
    right: 3px;
    top: 3px;
    line-height: 29px;
    height: 29px;
    border: 0;
    text-align: center;
    background-color: #fff;
    width: 30px;
    border-radius: 3px;
    cursor: pointer;
}

.fixednav .search-box {
    right: 0;
}

.tx-box {
    border-radius: 2px;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

.tx-title {
    line-height: 40px;
    font-weight: bold;
    font-size: 15px;
    padding: 0 10px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.tx-title .more {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    line-height: 20px;
    padding: 0 10px;
    margin-top: 10px;
    font-weight: normal;
}

.index-flash .swiper-button-next,
.index-flash .swiper-button-prev {
    background-image: none;
    background-color: rgba(0, 0, 0, 0.5);
    line-height: 44px;
    color: #ffff;
    text-align: center;
    opacity: 0;
    transition: all 0.45s ease 0s;
}

.index-flash:hover .swiper-button-next,
.index-flash:hover .swiper-button-prev {
    opacity: 1;
}

.index-flash .swiper-slide img {
    width: 100%;
    height: 291px;
    -o-object-fit: cover;
    object-fit: cover;
}

.index-search input,
.index-search button {
    display: inline-block;
    line-height: 30px;
    border: 0;
    height: 30px;
    vertical-align: top;
}

.index-search input[type="text"] {
    width: 260px;
    border: 1px solid var(--tx-border);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .075);
    padding: 0 10px;
}

.index-search button {
    width: 60px;
    color: #fff;
    text-align: center;
    font-size: 12px;
}

.list-img-left {
    height: auto!important;
}

.list-img-left>a {
    display: block;
    width: 108px;
    margin-right: 10px;
    float: left;
}

.list-img-left>section {
    overflow: hidden;
}

.list-img-left>section p {
    white-space: normal;
}

.index-new .tab-bd ul {
    height: 335px;
    overflow: hidden;
}

.index-new .step a {
    display: inline-block;
    line-height: 28px;
    padding: 0 12px;
    background-color: #eee;
    border-radius: 2px;
}

.index-new .step a:hover {
    color: #fff;
}

.index-new .step a.prevStop,
.index-new .step a.nextStop {
    background-color: #efefef;
    color: #999;
    pointer-events: none;
    cursor: default;
}

.index-new .step>span {
    display: inline-block;
    margin: 0 6px;
}

.img-roll {
    overflow: hidden;
}

.img-roll li {
    float: left;
    margin: 0 5px;
    width: 148px;
}

.img-roll li img {
    width: 100%;
    height: 148px;
    -o-object-fit: cover;
    object-fit: cover;
}

.post-img-box {
    display: block;
    position: relative;
}

.post-img-box p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    line-height: 2;
    text-align: center;
    padding: 0 1em;
    color: #fff;
    z-index: 20;
}

.ranking {
    padding: 9px 0;
}

.ranking li {
    line-height: 27.5px;
    height: 27.5px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking li>i {
    display: inline-block;
    width: 18px;
    height: 16px;
    background-color: #eee;
    line-height: 16px;
    text-align: center;
    border-radius: 2px;
    margin-right: 10px;
    font-size: 0.8em;
    font-style: normal;
}

.ranking li:nth-child(1)>i {
    color: #fff;
}

.ranking li:nth-child(2)>i {
    color: #fff;
    opacity: 0.7;
}

.ranking li:nth-child(3)>i {
    color: #fff;
    opacity: 0.4;
}

.ranking li span {
    margin-left: 15px;
}

.left-li li {
    float: left;
    margin: 0 10px 10px 0;
}

.footer {
    text-align: center;
    padding: 15px 0;
    background-color: #fff;
}

.list-one li {
    line-height: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 15px;
    font-size: 15px;
}

.list-one li:nth-child(5n) {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--tx-border);
}

.list-one li:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.list-two li {
    padding: 15px;
    border-bottom: 1px solid var(--tx-border);
    position: relative;
}

.list-two li:after {
    display: block;
    content: " ";
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    transition: all 0.55s ease 0s;
    width: 0;
}

.list-two li:hover:after {
    width: 100%;
}

.list-three li {
    position: relative;
    padding: 15px 15px 15px 170px;
    border-bottom: 1px solid var(--tx-border);
}

.list-three li>a>img {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 140px;
    height: 95px;
    -o-object-fit: cover;
    object-fit: cover;
}

.list-four li a {
    display: block;
    position: relative;
}

.list-four li h2 {
    position: absolute;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0 10px;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
    line-height: 26px;
}


/* 侧栏 */

.tx-side-box {
    margin-bottom: 15px;
    border-radius: 2px;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

.tx-side-box-title,
.tx-side-box form label {
    display: block;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 2.5;
    padding-left: 10px;
    border-bottom: 1px solid var(--tx-color1);
}

.tx-side-box>ul,
.tx-side-box>div,
.tx-side-box>form>div,
.tx-side-box>pre {
    padding: 8px 12px;
}

.tx-side-box li {
    padding: 0.3em 0;
}

.tx-side-box form>div {
    display: flex;
    align-items: center;
}

.tx-side-box form>div input {
    display: inline-flex;
    align-items: center;
    flex: auto;
    height: 2.6em;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px 0 0 5px;
    padding: 0 1em;
    border: 0;
}

.tx-side-box form>div button {
    background-color: var(--tx-color1);
    color: #fff;
    border-radius: 0 5px 5px 0;
    flex: none;
    display: inline-flex;
    height: 2.6em;
    align-items: center;
    padding: 0 1em;
    border: 0;
}

.tx-side-box .wp-block-latest-comments__comment {
    display: flex;
    align-items: flex-start;
    padding: 0.7em 0;
}

.tx-side-box .wp-block-latest-comments__comment img {
    border-radius: 50%;
    flex: none;
    margin: 0 1em 0 0;
}

.tx-side-box .wp-block-latest-comments__comment article {
    flex: auto;
}

.tx-side-box .wp-block-latest-comments__comment article footer {
    font-size: 0.85em;
    opacity: 0.8;
    line-height: 1.2;
    margin-bottom: 0.3em;
}

.tx-side-box .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
}

.tx-side-box .wp-block-tag-cloud>* {
    margin: 0.2em 0;
    font-size: 1em!important;
    width: 49%;
    background-color: rgba(0, 0, 0, 0.03);
    border-left: 3px solid rgba(0, 0, 0, 0.035);
    display: inline-flex;
    height: 2.4em;
    align-items: center;
    padding: 0 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-side-box .wp-block-tag-cloud>*:nth-child(2n) {
    margin-left: 2%;
}

.tx-side-box .wp-block-tag-cloud>*:hover {
    opacity: 0.7;
    padding-left: 1.2em;
    border-left-color: var(--tx-color1);
}

.tx-side-box .wp-calendar-table {
    width: 100%;
    table-layout: fixed
}

.tx-side-box .wp-calendar-table caption {
    text-align: center;
    line-height: 2.4;
    margin: 0;
    padding: 0;
    font-size: 1em;
}

.tx-side-box .wp-calendar-table caption a {
    padding: 0
}

.tx-side-box .wp-calendar-table th {
    color: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    height: 26px;
    background-color: rgba(0, 0, 0, 0.05);
}

.tx-side-box .wp-calendar-table td {
    text-align: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, .05);
    height: 30px
}

.tx-side-box .wp-calendar-table td.pad {
    background: 0 0
}

.tx-side-box .wp-calendar-table td a {
    display: block;
    line-height: 30px;
    color: #fff;
    background-color: var(--tx-color1);
}

.tx-side-box .wp-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding: 0 0.5em;
}

.info-title {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.info-tag a {
    display: inline-block;
    line-height: 30px;
    border-radius: 2px;
    margin: 0 6px 6px 0;
    padding: 0 10px;
    border-width: 1px;
    border-style: solid;
}

.info-tag a:hover {
    color: #fff;
}

.dnwu,
.hide {
    display: none;
}

.fixed-r {
    position: fixed;
    bottom: 40px;
    left: 50%;
    margin-left: 600px;
    z-index: 1999;
}

.gotop,
.style-on {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    display: none;
}

.style-on {
    display: block;
    margin-bottom: 5px;
    line-height: 16px;
    padding: 4px 0;
    font-size: 10px;
}

.style-on i {
    font-size: 16px;
}

.gotop:hover,
.style-on:hover {
    opacity: 0.9;
    color: #fff;
}

.gotop i {
    font-size: 20px;
}

a:hover,
.ys3,
#divCalendar td a,
.ul-28 li i.iconfont {
    color: var(--tx-color3);
}

.pagebar a:hover,
.pagebar>span,
.tx-comment-box input.button,
.nav-box,
.nav li ul li a:hover,
.index-search button,
.index-new .step a:hover,
.list-two li:after,
.side-box .widget_search input[type="submit"],
.info-tag a:hover,
.search-box .search-con,
.gotop,
.tx-bg {
    background-color: var(--tx-color1);
}

.search-con button,
.info-tag a {
    color: var(--tx-color1);
}

.tx-title,
.side-box>div>h3,
.side-box .widget_search form,
.info-tag a,
.info-con h2,
.info-con h3 {
    border-color: var(--tx-color1);
}

.nav li>a:hover,
.nav li.on>a,
.nav li.hover>a,
.nav li ul li a {
    background-color: var(--tx-color2);
}

.tx-title .more,
.ranking li:nth-child(1)>i,
.ranking li:nth-child(2)>i,
.ranking li:nth-child(3)>i {
    background-color: var(--tx-color3);
}

.tx-night {
    background-image: none;
    background-color: #111;
    color: #eee;
}

.tx-night a,
.tx-night .index-search input[type="text"],
.tx-night input,
.tx-night textarea {
    color: #f1f1f1;
}

.tx-night .list-two li,
.tx-night .top,
.tx-night #divCalendar td,
.tx-night .side-box li,
.tx-night .index-search input[type="text"],
.tx-night .list-three li,
.tx-night .list-one li:nth-child(5n),
.tx-night .info-title,
.tx-night .msg,
.tx-night .tx-comment-box {
    border-color: #292929;
}

.tx-night .main,
.tx-night .tx-comment-box {
    background-color: #293238;
}

.tx-night #divCalendar td,
.tx-night #divCalendar th,
.tx-night .pagebar a,
.tx-night .index-new .step a,
.tx-night .index-search input[type="text"],
.tx-night .ranking li>i,
.tx-night .footer {
    background-color: rgba(0, 0, 0, 0.15);
}

.tx-night .tx-side-box,
.tx-night .tx-box {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.tx-night .search-con input {
    color: #555;
}

@media screen and (max-width: 1198px) {
    .main {
        padding-left: 2vw;
        padding-right: 2vw;
    }
    .search-box>a {
        display: none;
    }
    .header {
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 2vw;
        z-index: 997;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    .header-seize {
        height: 16vw;
    }
    .logo img,
    .logo a,
    .logo h1,
    .logo h2 {
        height: 10vw;
        width: auto;
    }
    .nav-on {
        position: absolute;
        right: 0;
        top: 2vw;
        line-height: 10vw;
        font-size: 2em;
        width: 10vw;
        text-align: center;
        display: block;
    }
    .nav-box {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        border-radius: 0;
        z-index: 999;
        background-color: rgba(0, 0, 0, 0.5)!important;
        display: none;
    }
    .nav-box>* {
        width: 260px;
        position: fixed;
        right: -300px;
        top: 0;
        height: 100%;
        background-color: #fff;
        z-index: 999;
        overflow-x: hidden;
        overflow-y: scroll;
        padding: 2vw;
        display: flex;
        flex-direction: column;
    }
    .nav {
        padding: 0;
        order: 10;
    }
    .nav li {
        width: 100%;
        border-top: 1px solid var(--tx-border);
    }
    .nav li a {
        color: #333;
        line-height: 38px;
    }
    .nav li ul {
        position: relative;
        display: block;
        top: auto;
    }
    .nav li ul li a {
        background-color: #fff!important;
        padding: 0 22px 0 42px;
        color: #333!important;
    }
    .nav-seize {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    .search-box {
        width: 100%;
        position: static;
    }
    .search-box .search-con {
        position: relative;
        width: 100%;
        padding: 3px;
        right: 0;
        bottom: auto;
        top: 0;
        border-radius: 0;
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .index-flash .swiper-slide img {
        height: auto;
    }
    .step {
        width: 100%;
        text-align: center;
    }
    .pagebar {
        padding: 6px 0 3px 0;
    }
    .index-new .tab-bd>ul li:nth-child(13) {
        margin-top: 50px;
    }
    .info-con img,
    .info-con iframe {
        width: auto!important;
    }
    .index-new .tab-bd ul {
        height: auto;
        margin-bottom: 10px;
    }
    .index-new .tab-bd>ul li:nth-child(13) {
        margin-top: 0;
    }
    .tx-night .header,
    .tx-night .nav .wide {
        background-color: #111;
    }
    .tx-night .nav li a {
        color: #f1f1f1;
    }
    .tx-night .nav li {
        border-color: #292929;
    }
    .tx-night .nav li ul li a {
        background-color: rgba(0, 0, 0, 0.3)!important;
    }
    .tx-night .search-con input {
        background-color: transparent;
    }
    .fixed-r {
        left: auto;
        margin-left: 0;
        right: 0;
    }
}

@media screen and (max-width: 460px) {
    .list-three li {
        padding: 6px 6px 6px 100px;
        min-height: 62px;
    }
    .list-three li>a>img {
        width: 80px;
        height: 50px;
        top: 6px;
        left: 6px;
    }
    .list-three li p.i40,
    .list-three li p.f-12 span:nth-child(2),
    .list-three li p.f-12 span:nth-child(4) {
        display: none;
    }
    .list-three li h2 {
        margin-bottom: 10px;
    }
    .index-flash .swiper-slide img {
        height: 220px;
    }
    .share,
    .info-tag {
        width: 100%;
        float: left;
    }
}