/* All Tag */

* {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 14px;
}

body {
    background: #f4f4f4;
}

img {
    border: none;
}

a {
    text-decoration: none;
    color: #444;
}

a:hover {
    color: #999;
}

/*字体*/
@font-face {
    font-family: SiYuanHei;
    src: url("../font/SourceHanSansCN-Light.otf");
}
@font-face {
    font-family: SiYuanHei2;
    src: url("../font/SourceHanSansCN-Normal.otf");
}

/*导航*/
#topNav {
    width: 100%;
    overflow: hidden;
    font: 1.071rem SiYuanHei;
    margin-top: 1rem;
    margin-bottom: 1rem;
    height: 10vw;
}

#topNav .swiper-slide {
    padding: 1px;
    margin-left: 0.5rem;
    letter-spacing: 2px;
    width: 5.5rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 25px;
    background-image: -webkit-linear-gradient(left, #00c867, #0089a2);
    background-image: -moz-linear-gradient(right, #00c867, #0089a2);
    background-image: linear-gradient(to right, #00c867, #0089a2);
}

#topNav .swiper-slide + .swiper-slide {
    margin-left: 1rem;
}

#topNav .swiper-slide span {
    transition: all .3s ease;
    display: block;
    border-radius: 25px;
    background: #fff;
}

#topNav .active span {
    transform: scale(1.1);
    color: #fff;
    background-image: linear-gradient(90deg, #00c867 0%, #0089a2 100%), linear-gradient(#ffffff, #ffffff);
    background-blend-mode: normal, normal;
    border-radius: 1rem;
}
/*收藏*/
.item .collect{
    display: block;
    width: 1.143rem;
    height: 1.071rem;
    background: url("/res/mobile/inside/images/xing.png");
    background-size: cover;
    position: absolute;
    top:1rem;
    right: 1rem;
    z-index: 2;
}
.item .collect.on{
    background: url("/res/mobile/inside/images/xing_on.png");
    background-size: cover;
}
/*点赞*/
.item{
    display: block;
    position: relative;
}

.item .browse{
    display: flex;
    position: absolute;
    bottom:1rem;
    right: 1rem;
    color: #fff;
    align-items: center;
}
.item .browse i{
    display: block;
    width: 4.2vw;
    height: 2.8vw;
    background: url("/res/mobile/inside/images/icon-tscanwhite.png");
    background-size: cover;
    margin-right: 1.067vw;
}

/*详情页面*/
.bgtop{
    background-image: -webkit-linear-gradient(left, #00c867, #0089a2);
    background-image: -moz-linear-gradient(right, #00c867, #0089a2);
    background-image: linear-gradient(to right, #00c867, #0089a2);
    background-size: cover;
    width: 100vw;
    height: 48vw;
    color: #fff;
    font-size: 3.2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: SiYuanHei;
}
.bgtop img{
    display: block;width: 100%;height: 100%;
    position: absolute;

}
.bgtop .title{
    font-size: 5.333vw;
    line-height: 10vw;
    font-family: SiYuanHei2;
}
.detail{
    display: block;
    width: 92vw;
    min-height: 165.467vw;
    border-radius: 2.133vw;
    background: #fff;
    position: absolute;
    left: 4vw;
    top: 40vw;
    overflow: hidden;
}
.detail .title{
    font-family: SiYuanHei2;
    font-size: 4.267vw;;
    line-height: 12vw;
    height: 12vw;
    padding-left: 5.6vw;
}
.detail .des{
    font-family: SiYuanHei;
    font-size: 3.467vw;
    color: #666666;
    padding: 3.7333vw;
}
.detail .des p{
    font-size: 3.467vw!important;
    color: #666666!important;
    font-family: SiYuanHei!important;
}
.detail .des img{
    max-width: 100%!important;
    height: auto!important;
}
/*详情页轮播图*/
#detailNav{
    width: 100%;
    overflow: hidden;
    font: 1.071rem SiYuanHei;
    background: url("/res/mobile/inside/images/line.jpg") no-repeat center center;
    background-size:   100% 0.267vw;
}
#detailNav .swiper-slide {
    padding: 1px;
    margin-left:3.733vw;
    letter-spacing: 2px;
    width: 18vw;
    height: 16vw;
    line-height: 2rem;
    text-align: center;
    border-radius: 2vw;
    background-image: -webkit-linear-gradient(left, #00c867, #0089a2);
    background-image: -moz-linear-gradient(right, #00c867, #0089a2);
    background-image: linear-gradient(to right, #00c867, #0089a2);
}
#detailNav .swiper-slide span {
    transition: all .3s ease;
    display: block;
    line-height:16vw ;
    text-align: center;
    color: #fff;
    font-size: 3.467vw;
    font-family: SiYuanHei2;
}

/*瀑布流*/

/** General page styling **/
html {
    background-color: #f4f4f4;
    font-family: "Helvetica Neue Light", "Helvetica Neue", Arial, sans-serif;
}

#main {
    margin: 30px 0;
    position: relative;
}

header h1 {
    text-align: center;
    font-size: 30px;
    font-weight: 200;
    margin: 30px 0 10px 0;
}

header p {
    text-align: center;
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-weight: 200;
}

/**
 * Grid container
 */
#tiles {
    list-style-type: none;
    position: relative; /** Needed to ensure items are laid out relative to this container **/
    margin: 0;
    padding: 0;
}

/**
 * Grid items
 */
#tiles li {
    width: 48vw;
    display: none; /** Hide items initially to avoid a flicker effect **/
    cursor: pointer;

}

#tiles li.inactive {
    visibility: hidden;
    opacity: 0;
}

#tiles li img {
    display: block;
    width: 100%;
    border-radius:2.67vw;
    -moz-border-radius: 2.67vw;
    -webkit-border-radius: 2.67vw;
}

/**
 * Grid item text
 */
#tiles li p {
    font: 4vw SiYuanHei bold;
    text-align: left;
    margin: 3.067vw 0.8vw 4.4vw 0.8vw;
    line-height: 5.6vw;
    letter-spacing: 0.16vw;
    color: #333333;


}

footer {
    text-align: center;

}

footer a {
    color: #435DC5;
    text-decoration: none;
}

/**
 * Progress bar for imagesLoaded
 */
.progress-bar {
    background-color: #0BC20B;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 0;
    box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
    -webkit-transition: width 0.3s ease-out;
    -moz-transition: width 0.3s ease-out;
    -o-transition: width 0.3s ease-out;
    transition: width 0.3s ease-out;
}

/**
 * Placerholder css
 */
.wookmark-placeholder {
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    background-color: #eee;
    border: 1px solid #dedede;
    z-index: -1;
}

.example-tiles {
    position: relative; /** Needed to ensure items are laid out relative to this container **/
    margin: 0;
    padding: 0;
}

.example-tiles li {
    display: block;
    opacity: 1;
    list-style-type: none;
    float: left;
    margin: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.example-tiles a,
.example-tiles a:hover {
    color: #555;
    background-color: #eee;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 200px;
    height: 200px;
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    padding: 5px 8px;
    border-radius: 3px;
}

.example-tiles a:hover {
    background-color: #ddd;
}
/*瀑布流自定义*/
#tiles li {
    opacity: 0;
    -webkit-transition: all 0.8s ease-out;
    -moz-transition: all 0.8s ease-out;
    -o-transition: all 0.8s ease-out;
    transition: all 0.8s ease-out;
}

