/*
作者：天兴工作室
网址：https://www.txcstx.cn
邮箱：admin@txcstx.cn
*/

:root {
    --tx-color: #f45a31;
    --tx-border: #eee;
}

.tx-c1 {
    color: var(--tx-color);
}

.tx-bg {
    background-color: var(--tx-color);
}

.header {
    padding: 1.2em 0;
    box-shadow: 0 1px 3px rgba(26, 26, 26, .1);
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: #7b2c6d;
}

.header-dot {
    height: calc(36px + 2.4em);
}

.logo * {
    line-height: 1;
    height: 36px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    padding: 0 5em;
    overflow: visible;
}

.nav a {
    padding: 0 1.5em;
    position: relative;
    display: block;
}

.drop::after {
    content: ">";
    position: absolute;
    right: 1em;
    top: 0;
    height: 100%;
    display: inline-flex;
    align-items: center;
    font-size: 0.6em;
    transform: rotate(90deg) scale(1, 1.8);
    transition: all .35s ease 0s;
    opacity: 0.6;
    overflow: hidden;
}

.nav li.on,
.nav>li:hover>a {
    color: var(--tx-color);
}

.nav>li:hover>a.drop::after {
    transform: rotate(-90deg) scale(1, 1.8);
}

.nav>li {
    position: relative;
    white-space: nowrap;
    line-height: 2.2;
}

.nav>li ul {
    position: absolute;
    font-size: 0.9em;
    top: 150%;
    left: 0;
    min-width: 100%;
    padding: 1em 0;
    background-color: #fff;
    line-height: 2;
    visibility: hidden;
    opacity: 0;
    transition: all .35s ease 0s;
}

.nav>li ul a.drop::after {
    transform: rotate(0deg) scale(1, 1.8);
}

.nav>li:hover>ul {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

.nav>li>ul ul {
    left: 150%;
    top: 0;
}

.nav>li>ul>li:hover>ul {
    visibility: visible;
    opacity: 1;
    left: 100%;
}
.search{
    width: 300px;
    border: 1px solid rgba(0,0,0,.08);
    background-color: rgba(0,0,0,.05);
    padding: 0 1em;
    border-radius: 3px;
    overflow: hidden;
}
.search input,.search button{
    line-height: 2.6;
    height: 2.6em;
}

.home-flash .swiper-slide img {
    width: 100%;
    height: auto;
}

.tx-title1 {
    display: flex;
    align-items: center;
    border-top: 2px solid var(--tx-border);
    line-height: 2.2;
}

.tx-title1>*:first-child {
    flex: none;
    color: var(--tx-color);
    border-top: 2px solid var(--tx-color);
    margin-top: -2px;
    padding: 0 2px;
}

.ul-dot>* {
    border-bottom: 1px dashed #ddd;
    padding: 0 0.3em;
}

.ico-ask {
    width: 1.2em;
    height: 1.2em;
    background-color: var(--tx-color);
    color: #fff;
    margin-right: 0.3em;
    position: relative;
    border-radius: 2px;
}

.ico-ask::after {
    content: '问';
    font-size: 0.8em;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hot-ico>* {
    position: relative;
    padding-right: 30px;
}

.hot-ico>*::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 25px;
    height: 100%;
    background: url(img/hot.png) no-repeat 0 center;
}

.ul-ask-s1>* {
    padding: 1em 0;
    border-bottom: 1px dashed #ddd;
}

.bottom-gg-box>*:not(:last-child) {
    margin-bottom: 10px;
}

.img-bottom {
    display: block;
    position: relative;
}

.img-bottom img {
    width: 100%;
    height: auto;
}

.img-bottom>p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 2.4;
    height: 2.4em;
    padding: 0 1em;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
}

.side-title {
    line-height: 2.2;
    border-top: 2px solid var(--tx-border);
    margin-bottom: 0.4em;
}

.tag-box {
    display: flex;
    flex-wrap: wrap;
}

.tag-box>a {
    display: inline-flex;
    align-items: center;
    line-height: 2;
    padding: 0 1em;
    color: #fff;
    margin: 0 6px 6px 0;
    border-radius: 3px;
}

.tag-box>a:hover {
    opacity: 0.8;
    color: #fff;
}

.tag-1 {
    background-color: #036564;
}

.tag-2 {
    background-color: #eb6841;
}

.tag-3 {
    background-color: #3fb8af;
}

.tag-4 {
    background-color: #fe4365;
}

.tag-5 {
    background-color: #edc951;
}

.tag-6 {
    background-color: #3299bb;
}

.side-user-item {
    padding: 1em 0;
}

.side-user-item>div {
    display: flex;
    align-items: center;
    margin-bottom: 0.6em;
}

.side-user-item>div>*:first-child {
    flex: none;
}

.side-user-item>div>*:first-child img {
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    margin-right: 0.6em;
}

.side-user-item>div>section {
    flex: auto;
    padding: 0 0.6em;
    overflow: hidden;
}

.side-user-item>div>*:last-child {
    line-height: 2;
    height: 2em;
    padding: 0 1em;
    background-color: transparent;
    border: 1px solid #72c01e;
    color: #72c01e;
    flex: none;
}

.side-user-item>p {
    opacity: 0.7;
    line-height: 1.5;
    max-height: 3em;
    overflow: hidden;
    font-size: 0.94em;
}

.side-hot>*>i {
    display: inline-flex;
    width: 1.5em;
    height: 1.5em;
    align-items: center;
    justify-content: center;
    background-color: #666;
    color: #fff;
    font-style: normal;
    font-size: 0.9em;
    margin-right: 0.5em;
    border-radius: 2px;
}

.footer {
    background-color: #333;
    color: #666;
    line-height: 1.8;
    padding: 2em 0;
}

.footer a {
    color: #999;
}

.zan-box>* {
    display: inline-flex;
    padding: 0 1em;
    line-height: 2.2;
    height: 2.2em;
    background-color: rgba(0, 0, 0, .08);
    margin: 0 5px 0 0;
    align-items: center;
    color: var(--tx-color);
}

.zan-box>a:hover {
    background-color: var(--tx-color);
    color: #fff;
}

.tx-box {
    border: 1px solid #ba6b98;
}

.answer-img {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.answer-img img {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    margin-bottom: 5px;
}

.answer-jx {
    display: inline-flex;
    background-color: var(--tx-color);
    padding: 0 0.8em 0 0.6em;
    align-items: center;
    color: #fff;
    line-height: 2.2;
    position: relative;
    font-size: 0.95em;
}

.answer-jx i.fa {
    border: 1px solid #fff;
    margin-right: 5px;
    border-radius: 50%;
    font-size: 0.8em;
    width: 1.5em;
    height: 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.answer-jx::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1em;
    border: 0.6em solid var(--tx-color);
    border-right-color: transparent;
    border-bottom-color: transparent;
    z-index: -1;
}

.answer-jx::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -1em;
    border: 0.6em solid var(--tx-color);
    border-right-color: transparent;
    border-top-color: transparent;
}

.info-bottom-txt {
    position: relative;
    padding-left: 275px;
}

.info-bottom-txt>a {
    position: absolute;
    left: 15px;
    top: 0;
    width: 239px;
    height: 100%;
    display: flex;
    align-items: center;
}

.w239 {
    width: 239px;
    height: 156px;
    object-fit: cover;
}

.info-weixin {
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 2;
}

.info-weixin img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    line-height: 1;
}

.info-left-ico {
    display: flex;
}

.info-left-ico>* {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding: 1em;
}

.info-left-ico>*:last-child {
    border-left: 1px solid var(--tx-border);
}

.info-left-ico>* img {
    height: 1.5em;
    width: auto;
    margin-right: 0.3em;
}

.info-left-ico>*:hover,
.info-left-ico>*.on {
    background-color: #fafafa;
    color: var(--tx-color);
}


/* 分页条 */

.pagebar {
    display: flex;
    flex-wrap: wrap;
}

.pagebar a,
.pagebar .now-page {
    padding: 0 1em;
    line-height: 2.4;
    background-color: rgba(0, 0, 0, 0.05);
    margin: 0 0.3em 0.3em 0;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.4);
}

.pagebar a:hover,
.pagebar .now-page {
    color: #fff;
    background-color: var(--tx-color);
}


/* 评论 */

.msg img.avatar {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    margin-right: 1em;
}

.msgname {
    align-items: flex-start;
}

.msgusername {
    display: inline-flex;
    align-items: center;
}

.msg .msg {
    padding: 1em 1.2em;
    margin: 0.8em 0 0 4em;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

.msg .tx-btn-mini {
    line-height: 1.3;
    padding: 0 5px;
}

.tx-comment-textarea {
    position: relative;
    width: 100%;
}

.tx-comment-textarea .tx-btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

.reply-frm {
    padding: 1em;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, .04);
    margin: 1em 0 0 0;
    position: relative;
}

.reply-frm #cancel-reply {
    position: absolute;
    right: 0;
    top: -2em;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    opacity: 0.5;
}



@media screen and (max-width: 480px) {
    .tx-wide {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .waphide {
        display: none;
    }
    .msg img.avatar {
        width: 10vw;
        height: 10vw;
    }
    .msg .msg {
        margin: 1.5vw 0 0 0;
        padding: 2vw;
    }
    .tx-side dl {
        margin-bottom: 2.4vw;
    }
    .header {
        padding: 3vw 0;
    }
    .header-dot {
        height: 13vw;
    }
    .logo * {
        height: 7vw;
    }
    .search{
        position: fixed;
        top: 13vw;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 99;
        border-radius: 0;
        display: none;
    }
    .nav-on,.search-on{
        line-height: 7vw;
        height: 7vw;
        width: 7vw;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .nav {
        position: fixed;
        top: 13vw;
        left: 0;
        width: 100%;
        max-height: 100%;
        background-color: #fff;
        padding: 0;
        border-top: 1px solid var(--tx-border);
        display: none;
        overflow: scroll;
    }
    .nav li {
        width: 100%;
        overflow: hidden;
    }
    .nav li ul {
        position: static;
        visibility: visible;
        opacity: 1;
        padding: 0.5em;
    }
    .nav li ul a {
        padding-left: 2.2em;
    }
    .drop::after {
        display: none;
    }
    .tx-pop-txt {
        width: 80%;
    }
    .item-list p.f-light1 {
        line-height: 1.5;
        max-height: 4.5em;
        overflow: hidden;
    }
    .btn-group {
        display: flex;
        justify-content: center;
    }
    .info-bottom-txt {
        padding-left: 0;
    }
    .info-bottom-txt>a {
        top: 10px;
        left: 10px;
    }
    .info-bottom-txt>a,
    .info-bottom-txt>a img {
        width: 90px;
        height: 59px;
    }
    .info-bottom-txt h2,
    .info-bottom-txt p.rows-2 {
        padding-left: 110px;
    }
    .tx-btn-wap {
        width: 100%;
    }
    .info-video video{
        height: auto
    }

    .wap-bottom{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 1px 3px rgba(26, 26, 26, .1);
        background-color: #fff;
        border-top: 1px solid var(--tx-border);
    }
    .wap-bottom>ul{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .wap-bottom>ul>li{
        flex:1;
        line-height: 3;
        position: relative;
    }
    .wap-bottom>ul>li>a{
        display: block;
        text-align: center;
    }
    .wap-bottom>ul>li:not(:last-child)>a{
        border-right: 1px solid var(--tx-border);
    }
    .wap-bottom>ul>li>ul{
        position: absolute;
        bottom: 100%;
        left: 0;
        min-width: 100%;
        background-color: #fff;
        display: none;
        border-radius: 3px 3px 0 0;
    }
    .wap-bottom>ul>li>ul li{
        white-space: wrap;
        line-height: 2.8;
        
    }
    .wap-bottom>ul>li>ul li a{
        display: block;
        padding: 0 1em;
        height: 2.8em;
        overflow: hidden;
        border-bottom:1px solid var(--tx-border);
        text-align: center;
    }
}