/* @to:topic */

/* 侧边栏专题模块标题样式 */
.ui-side-section-dark > .header {
  justify-content: space-between !important;
}
.ui-side-section-dark > .header .more {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF !important;
  line-height: 20px;
  transition: color 0.3s ease;
  margin-left: auto;
}
.ui-side-section-dark > .header .more:hover {
  color: #3EDD8D !important;
}

/* 相关专题列表样式 */
.ui-sideTopicList {
  box-sizing: border-box;
}
.ui-sideTopicList * {
  box-sizing: border-box;
}
.ui-sideTopicList .item {
  margin-bottom: 24px;
}
.ui-sideTopicList .item:last-child {
  margin-bottom: 0;
}
.ui-sideTopicList .item:hover .title {
  color: #3EDD8D;
}
.ui-sideTopicList .link {
  width: 100%;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.ui-sideTopicList .index {
  flex: 0 0 28px;
  font-family: DINAlternate, DINAlternate;
  font-weight: bold;
  font-size: 18px;
  color: #3EDD8D;
  line-height: 20px;
}
.ui-sideTopicList .title {
  flex: 1 0 auto;
  width: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 20px;
}

/* 专题容器样式 */
.ui-topic-banner {
  position: relative;
  height: 320px;
  margin-bottom: 40px;
}
.ui-topic-banner .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background-size: 1440px 320px;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #0f0f0f;
}
.ui-topic-banner .mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.ui-topic-banner .container {
  padding-top: 40px;
}
.ui-topic-banner .topicName {
  text-align: center;
  font-weight: normal;
  font-size: 52px;
  color: #FFFFFF;
  line-height: 56px;
  margin-bottom: 20px;
}
.topicContainer {
  display: flex;
  flex-direction: row;
  gap: 44px;
  overflow: hidden;
  box-sizing: border-box;
}
.topicContainer * {
  box-sizing: border-box;
}
.topicContainer .topicLeft {
  flex: 1 0 0;
}
.topicContainer .topicRight {
  flex: 0 0 295px;
}
@media (max-width: 800px) {
  .topicContainer {
    display: block;
  }
  .topicContainer .topicLeft {
    width: 100%;
  }
}

/* 空状态样式 */
.topicContainer .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
}

/*问答主题wrap*/
.theme-list {
    padding-top: 15px;
}

/*.theme-list li {
    display: inline-block;
    vertical-align: top;
}*/

.theme-list li .theme-container{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 5px #eee;
}

.theme-list li .theme-container:hover {
    box-shadow: 0 0 10px #ccc;
}

.theme-list li .theme-container .img-wrapper {
    padding-bottom: 60%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-color: #efefef;
    position: relative;
}

.theme-list li .theme-container .img-wrapper .title{
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #fff;
}
.theme-list li .theme-container .info {
    text-align: center;
    /*padding: 6px;*/
}

.theme-list li .theme-container .info .like-info {
    color: #00ab6b;
    font-size: 1em;
    display: block;
}

.theme-list li .theme-container .info .iconfont {
    margin-right: 6px;
    font-size: 1em;
    vertical-align: middle;
}

@media (min-width: 800px) {
   /* .theme-list li {
        width: 33%;
    }
*/
    .theme-list li:nth-child(4n) {
        margin-right: 0;
    }
     .like-info a:hover span{
        color: #00ab6b;
    }
    .like-info a:hover span{
        color: #00ab6b;
    }
}

@media (max-width: 800px) {
    .theme-list li {
        width: 100%;
    }

    /*.theme-list li:nth-child(2n+1) {
        margin-right: 4%;
    }*/
    .theme-list li .theme-container{
        margin: 0 auto;
    }

}

.load-more-block {
    margin-top: 5px;
}
.like-info{
    /*border-top: 1px solid #eee;*/
}
.like-info .f-l{
        width: 49%;
        text-align: center;
        border-right: 1px solid #eee;
        line-height: 45px;
    }
    .like-info .f-r{
        width: 49%;
        text-align: center;
        line-height: 45px;
    }
    .info .name{
        line-height: 45px;
    }
    @media(min-width:800px){
        .theme-container>a{
            display: block;
            width: 34%;
            float: left;
        }
        .theme-container .title-container{
            width: 45%;
            height: 166px;
            overflow: hidden;
        }
        .theme-container .info{
            width: 20%;
        }
      .theme-container .info .like-info a{
        display: block;
        line-height: 50px;
        height: 50px;
        border:1px solid #eee;
        width: 70%;
        margin-top: 20px;
        margin-left: 10px;
      }
      .title-container .title,.title-container .intro{
        padding:13px 22px;
        line-height: 25px;
      }
     .title-container .intro:after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25%;
    height: 1.4em;
    background: -webkit-linear-gradient(0deg, rgba(255,255,255,0), rgba(255,255,255,0) 60%, white 90%);
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0) 60%, white 90%);
      }
      .title-container .title a{
        font-size: 16px;
        font-weight: bold;
        color: #222;
      }
      
    }
    .theme-container .img-wrapper .label{
        position: absolute;
        left: 0;
        top: 0;
        padding:2px 8px;
        background: #ff5b00;
        color: #fff;
      }
/*问答主题end*/

/*提问wrap*/
.question-list .question-wrap .question-container{
    border-top: 1px solid #ccc;

    margin:15px 0;
    width: 100%;
}
@media(min-width: 800px){
/*.question-wrap .like-wrap{
    float: left;
    width: 2%;
    margin-left:-35px;
    border:1px solid #ccc;
    padding:2px 6px;
    border-radius: 3px;
    cursor: pointer;
}
.question-wrap .like-wrap:hover{
    background-color: #eee;
}*/
.question-wrap{
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 20px 0;
}
.question-wrap .question-title{
    padding:10px;
    font-size: 16px;
}
.question-wrap .question-title a:hover{
    color: #00ab6b;
}
.question-wrap .question-status{
    padding:10px;
}
.question-wrap .question-status span{
    margin-right: 10px;
}
}
.question-container .question-poster{
    padding-top: 10px;
}
.question-container .poster-container .label{
    padding: 2px 8px;
    background: #ff5b00;
    color: #fff;
    margin-right: 10px;
}
.question-container .poster-container img{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    vertical-align: middle;
}
.question-container .poster-container span{
    margin-left: 5px;
}
.question-container .question-title{
    padding-left: 10px;
    padding-top:5px;
}
.question-container .question-title a{
    color: #666;
    font-weight: bold;
}
.question-container .ans-poster,
.question-container .ans-content{
    line-height: 30px;
    padding-left: 10px;
}
.question-container .ans-content p{
    line-height: 24px !important;
    font-size: 16px !important;
}
.question-container .relative-status{
    line-height: 45px;
    padding: 0 3px;
}
@media(min-width: 800px){
.question-container .relative-status .ans-container{
    margin-left: 20px;
}
}

@media(max-width: 800px){
    .question-list .question-wrap .question-container{
        border:1px solid #ddd;
        width: 95%;
        margin: 15px auto;
    }
    .question-container .question-poster{
        padding:10px 10px 0;
    }
    .question-container .relative-status .time-wrap{
        display: inline-block;
        width: 49%;
        text-align: left;
    }

    .question-container .relative-status .time-wrap span{
        margin-left: 5px;
    }
    .question-container .relative-status .ans-container{
       display: inline-block;
       width: 50%;
       text-align: right;
    }
    .question-container .ans-container a{
        color: #999;
    }
    
}
/*提问end*/

/*product-list start*/

.product-list li {
    display: inline-block;
    /*float: left;*/
    vertical-align: top;
}

.product-list li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 5px #eee;
}

.product-list li a:hover {
    box-shadow: 0 0 10px #ccc;
}

.product-list li a .img-wrapper {
    padding-bottom: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-color: #efefef;
}

.product-list li a .info {
    text-align: center;
    padding: 6px;
}

.product-list li a .info .title {
    font-size: 1em;
    line-height: 2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-list li a .info .like-info {
    color: #00ab6b;
    font-size: 1em;
    display: block;
}

.product-list li a .info .iconfont {
    margin-right: 6px;
    font-size: 1em;
    vertical-align: middle;
}
@media (min-width: 800px) {
    .product-list li {
        /*width: 23.5%;*/
        /*margin-right: 2%;*/
        width: 30.7%;
        margin-right: 2.7%;
    }
    .product-list {
    white-space: nowrap;
    overflow:hidden;
    width: 76.5%;
}
.hotProduct-head{
    margin-top: 10px;
}

#hotProductWrap{
    margin-top: 10px;
}
  #hotProductWrap .more-container{
        width: 23.5%;
    }
    #hotProductWrap .more-container a{
        display: block;
        width: 100%;
        line-height: 230px;
        color: #00ab6b;
        font-size: 18px;
        text-align: center;
        box-sizing: border-box;
        border: 1px solid #eee;
        border-radius: 3px;
        overflow: hidden;
        box-shadow: 0 0 5px #eee;
    }
    #hotProductWrap .more-container a:hover{
        background: #eee;
    }
    /*.product-list li:nth-child(4n) {
        margin-right: 0;
    }*/
}
.hotProduct-head .sec-header{
    border-bottom: none;
}
@media (max-width: 800px) {
    .product-list li {
        width: 30%;
        margin-left: 2%;
        /*height: 115px;*/
    }
    .product-list {
    white-space: nowrap;
    overflow-x:scroll;
    width: 96%;
    margin:0 auto;
}
    .info .name{
        line-height: 22px;
    }
    .product-list li a .img-wrapper{
        /*padding-bottom: 64%;*/
        height: 90px;
        padding-bottom: 0;
    }
    .product-list li a .info .title{
        height: 30px;
    }
    .product-list li a .info .like-info{
        height: 15px;
    }
    .card .more-block{
        text-align: center;
        line-height: 148px;
        color: #00ab6b;
    }
    .mobile-hidden{
        display: none;
    }
}
/*product-list end*/

