html,body,.pop-photos{
    height: 100%;
}
.photo {
    width:100%;
    height:100%;
    background: #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.photo a{text-decoration:none;color:#fff;}
.swiper-container{
    height:100%;
    width: 100%;
    margin:0 auto;
    position:relative;
    overflow:hidden;
    -webkit-backface-visibility:hidden;
    -moz-backface-visibility:hidden;
    -ms-backface-visibility:hidden;
    -o-backface-visibility:hidden;
    backface-visibility:hidden; /* fix of webkit flickering */
    z-index:1;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.swiper-wrapper{position:relative;width:100%;height:100%;-webkit-transition-property:-webkit-transform,left,top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0px,0,0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform,left,top;-moz-transition-duration:0s;-moz-transform:translate3d(0px,0,0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform,left,top;-o-transition-duration:0s;-o-transform:translate3d(0px,0,0);-o-transition-timing-function:ease;-o-transform:translate(0px,0px);-ms-transition-property:-ms-transform,left,top;-ms-transition-duration:0s;-ms-transform:translate3d(0px,0,0);-ms-transition-timing-function:ease;transition-property:transform,left,top;transition-duration:0s;transform:translate3d(0px,0,0);transition-timing-function:ease;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
.swiper-free-mode > .swiper-wrapper{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto;}
.swiper-slide{height:100%;float:left;position:relative;}
/* ie10 windows phone 8 fixes */
.swiper-wp8-horizontal{-ms-touch-action:pan-y;}
.swiper-wp8-vertical{-ms-touch-action:pan-x;}
/*.photos{position:absolute;top:42%;left:50%;z-index:10;width:100%;height:100%; margin-top: -42%;margin-left:-50%;}*/

.photos {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.photos img{
    display:block;
    height:auto;
    width:auto;
    max-width:100%;
    max-height:100%;
    background: url(/uploads/image/fim/loading.png) center center no-repeat;
}
.news-link{position:fixed;top:16px;left:10px;z-index:9999;width:30px;height:30px;background:url(/uploads/image/fim/news-s.png) -112px -30px no-repeat;background-size:200px 140px;}
.original{position:fixed;top:20px;right:18px;z-index:9999;width:50px;height:22px;line-height:22px;background:rgba(255,255,255,0.5);font-size:14px;color:#fff;text-align:center;border-radius:11px;}
.headline{
    position:absolute;
    bottom:0;
    left:0;
    z-index:200;
    width:100%;
    padding:11px 20px 10px;
    background: rgba(0,0,0,0.60);
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    /*margin-bottom: constant(safe-area-inset-bottom);*/
    /*margin-bottom: env(safe-area-inset-bottom);*/
}
/*.headline>* {*/
/*    padding: 0 4%;*/
/*}*/

.title{line-height:24px;font-size:18px;font-weight:normal;margin-bottom:6px;}
.num{position:absolute;top:15px;right:4%;z-index:100;line-height:24px;text-align:center;}
.photolist{position:absolute;top:9%;left:0;z-index:100;width:100%;}
.photolist li{width:145px;margin:10px auto;overflow: hidden}
.photolist li p { height:54px;}
.photolist a{display:block;}
.photoli{position:relative;}
.photoli em{position:absolute;bottom:10px;right:10px;width:16px;height:16px;line-height:16px;border:1px solid #fff;border-radius:50%;background:rgba(0,0,0,0.5);font-style:normal;text-align:center;color:#fff;font-family:arial;font-size:12px;}
.recommend{line-height:24px;font-size:18px;text-align:center;margin-top:20px;}
.tobrowse{position:absolute;bottom:5%;left:50%;z-index:100;margin-left:-61px;width:122px;height:40px;line-height:40px;background:#404040;border-radius:20px;text-align:center;}
.tobrowse em{display:inline-block;width:20px;height:40px;background:url(/uploads/image/fim/news-s.png) -124px -54px no-repeat;background-size:200px 140px;margin-right:5px;}
.tobrowse span{display:inline-block;}
.cx-redpacket-news-slog{
    text-align: center;
    margin-bottom: 30px;
}
.cx-redpacket-news-recommend {
    margin: 30px 5%;
}

.cx-redpacket-news-recommend-title {
    height: 1px;
    background: #3686ff;
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.cx-redpacket-news-recommend-title span {
    position: absolute;
    left: 50%;
    margin-top: -10px;
    background: #f8f8f8;
    margin-left: -110px;
    width: 220px;
    text-align: center;
    height: 20px;
    color: #3686ff;
    font-weight: 700;
}

.cx-redpacket-news-recommend-list li {
    margin-bottom: 15px
}

.cx-redpacket-news-recommend-list li a {
    font-weight: 300;
    font-size: 16px;
    color: #48484d;
}

.news-photo-link {
    position: relative;
    display: block;
}

.news-photo em {
    position: absolute;
    bottom: 6px;
    right: 6px;
    z-index: 100;
    width: 40px;
    height: 40px;
    background: url(/uploads/image/fim/news-s.png) -63px 0 no-repeat;
    background-size: 200px 140px;
}

/* 图组底部评论条 */
#topboxcomment{
    display: block !important;
}
#topboxcomment .onphoto{
    height: auto;
    z-index: 1000;
    background: #222222;
    border-top: none;
    margin-bottom: constant(safe-area-inset-bottom);
    margin-bottom: env(safe-area-inset-bottom);
}
.onphoto .tb-bar-l{
    background: #2f2f2f;
    border-radius: 6px;
    border:none;
}
.onphoto .tb-bar-m{
    background: transparent;
    width: auto;
    margin: 0 2%;
}
.onphoto .tb-bar-m *,
.onphoto .tb-bar-r *{
    color: #999;
}
.onphoto .tb-bar-m .tb-bar-m-bg{
    background-image: url(/uploads/image/ffcimages/comment.svg);
    margin: 0 auto;
}
.onphoto .tb-bar-m span{
    display: none;
}
.onphoto .cx-pl-num{
    position: absolute;
    top: -5px;
    right: -7px;
    background: #c02222;
    font-size: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    line-height: 14px;
    text-align: center;
    color: #fff;
}
.onphoto .tb-bar-r-bg{
    background: url(/uploads/image/ffcimages/share.svg) no-repeat;
    background-size: 100% 100%;
}
.readartc {
    display: none;
    /*width: 24px;*/
    /*margin: 0 2%;*/
    /*flex-shrink:0;*/
}
.readartc .func-read a{
    font-size: 12px;
    line-height: 18px;
    color: #999;
    -webkit-text-size-adjust: none !important;
}
.pci_author{
    margin: 20px auto;
    font-size: 10px;
    color: #bebebe;
}

.onphoto .tb-bar-r .wd{
    display: none;
}
.onphoto .tb-bar-r-bg.red{
    background-image: url(/uploads/image/ffcimages/share_red.svg);
}
.pop-photos .description a{
    color: #2c9eff;
}
.onphoto>*,.onphoto #collection-star-img,.onphoto .tb-bar-m{
    margin: 0 3%;
}
.tb-bar-l, .tb-bar-m, .tb-bar-r{
    height: auto;
    top: 0;
}

.headline .news-date{
    display: block;
    float: none;
}

.pop-photos .tb-bar {
    position: static;
    top: 0px;
    left: 0px;
    /*height: 30px;*/
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    border: none;
}

.pop-photos .tb-bar-r {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    border: none;
}

.pop-photos .tb-share {
    z-index: 99999;
}

.pop-photos .tb-share span {
    color: #464646;
}

.pop-photos .func {
    height: 25px;
    line-height: 25px;
    padding-top: 15px;
    overflow: hidden;
    zoom: 1;
}

.pop-photos .func-com {
    float: left;
}

.pop-photos .func-com a {
    display: block;
    width: 40px;
    background: #4a4a4a url(/uploads/image/ffcimages/news-s.png) no-repeat 20px 4px;
    background-size: 14px 16px;
    padding: 0 0 0 40px;
    border-radius: 5px;
}

.pop-photos .func-read {
    float: right;
}

.pop-photos .func-read a {
    color: #b4b4b4;
}

.pop-photos .description {
    overflow: auto;
    width: 100%;
    height: 50px;
    overflow-y: auto;
}
.cnrp-pic .pop-photos .description {
    width: 100%;
}

.pop-photos .num {
    width: 50px;
    height: 30px;
    line-height: 30px;
    top: 10px;
    left: 50%;
    margin-left: -25px;
    color: #ffffff;
}

.pop-photos .news-link {
    top: 10px;
}

.photos-add-video {
    width: 300px;
    height: 265px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    margin: -132px 0 0 -150px;
}


#topboxcomment .onphoto{
    right: 20px;
    bottom: 62px;
    left: auto;
    flex-direction: column;
    width: auto;
    background: none;
}
#topboxcomment .onphoto>*{
    margin-top: 20px;
}
#topboxcomment .onphoto .tb-bar-l{
    display: none;
    align-items: flex-end;
}

.recom-link{
    box-sizing: border-box;
    margin: 0 20px;
    background: #252622;
    border-radius: 4px;
    padding: 10px;
    color: #f08200;
    margin-bottom:  calc(10px   constant(safe-area-inset-bottom));
    margin-bottom: calc(10px   env(safe-area-inset-bottom));
}
.recom-link span{
    color: #fff;
    font-size: 16px;
    display: block;
}
.recom-con{

}
.recom-appopen{
    display: inline-block;
    padding: 0 2px;
    margin-right: 6px;
    vertical-align: middle;
    height: 16px;
    line-height: 16px;
    border: 0.5px solid rgba(40,134,223,1);
    border-radius: 3px;
    font-size: 8px;
    color: #2886df;
    font-style: normal;

}
.recom-con .recom-a{
    margin-top: 8px;
    color: #eaaf44;
    font-size: 16px;
    font-weight: 500;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tb-bar-m .photo-m-cit {
    position: absolute;
    right: 162%;
    bottom: -2px;
    /* width: 100px; */
    width: 120px;
    height: 26px;
    background: #9d9d9d;
    border-radius: 4px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    line-height: 26px;
}
.tb-bar-m .photo-m-cit:after{
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-style: solid;
    border-width: 6px 6px 6px 10px;
    border-color: transparent transparent transparent #9d9d9d;
    bottom: 7px;
    right: -14px;
}

.headtitle{
    bottom: auto;
    top: 0;
    padding-top: 20px;
    padding-bottom: 13px;
    margin-bottom: 0;
    background: rgba(0,0,0,0.60);
}