body {
    font: 16px/1.6em "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    color: #333;
    background-color: #fff;
}

a {
    color: #4e4e4e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.cf:after {
    content: "";
    display: table;
    clear: both;
}

.cf {
    *zoom: 1;
}

p,
h1,
h2 {
    margin: 0;
}

ul,
li {
    list-style: none;
}

.show {
    display: block !important;
}

.hide {
    display: none !important;
}

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

#loading {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background: #dc917d url(paper-logo.svg) no-repeat center 90%;
    -webkit-background-size: auto 30px;
    background-size: auto 30px;
}

#loading span {
    position: absolute;
    width: 40px;
    height: 40px;
    margin-left: -15px;
    left: 50%;
    top: 40%;
    background: transparent url(loading.png) no-repeat 0 0;
    -webkit-background-size: 40px;
    background-size: 40px;
    -webkit-animation: loadwhirl 1s infinite linear;
    animation: loadwhirl 1s infinite linear;
}

/* main content */
.btn-toplogo {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 499;
    width: 50px;
    height: 30px;
    background: transparent url(paper-logo.svg) center no-repeat;
    background-size: 50px 30px;
}

.headercover {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 100;
    background-position: 0 0;
    -webkit-background-size: 100% 3000%;
    background-size: 100% 3000%;
    animation: frame30 steps(29) 3s 0s both paused;
}
.headercover.running{
    animation-play-state: running;
}

.blackmask {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.0));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.0));
}

.covertitle {
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 20% 0 0;
    opacity: 0;
}

.covertitle h1 {
    font-size: 42px;
    line-height: 1.2em;
    margin-bottom: 10px;
    color: #000;
    letter-spacing: -2px;
}

.covertitle h2 {
    font-size: 18px;
    color: #000;
}

.headercover p {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 20px;
    font-family: 'lato-regular', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4em;
    color: #000;
    text-align: center;
}

.section-wrap {
    position: relative;
    z-index: 100;
    background-color: #fff;
}

.section-wrap .inner-row {
    position: relative;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    font-family: 'lato-regular', sans-serif;
}

.inner-row>p {
    padding: 0 15px;
}

.content-box {
    margin: 15px 0;
}

.content-box h2 {
    line-height: 1.5;
    margin: 15px 15px 10px;
    font-size: 20px;
}

.content-box p {
    margin: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.content-box h3 {
    text-align: left;
    margin: 25px 15px 15px;
    line-height: 1.5;
    font-size: 18px;
}
.content-box h4 {
    text-align: left;
    margin: 25px 15px 15px;
    line-height: 1.5;
    font-size: 15px;
    color: #333;
}

.content-box .author-name {
    font-size: 14px;
}

.preface {
    width: 100%;
    /* height: 100vh; */
    /* overflow: hidden; */
    position: relative;
    z-index: 100;
    text-align: center;
}

.preface h2 {
    font-family: 'robotocondensed-bold-webfont';
    font-size: 24px;
    line-height: 1.4em;
    margin-bottom: 10px;
    color: #fff;
}

.preface .contentbox {
    padding: 40px 15px;
    background: url('../img/bg-preface.jpg') center;
    background-size: cover;
    color: #333;
}

.preface p {
    font-family: 'robotocondensed-bold-webfont';
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: 0px;
    color: #333;
    text-align: left;
    margin-bottom: 10px;
    text-align: justify;
}

.fixbg {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    clip: rect(0, auto, auto, 0);
}

.fiximg {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: fixed;
    -moz-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

.preface .fiximg {
    background: transparent url(../img/bg-preface.jpg) 0 0 no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}


.chapter-cover {
    height: 100vh;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.t1 {
    background: url(../img/l1.jpg) 0 100%;
    -webkit-background-size: 1200% auto;
    background-size: 1200% auto;
    /* animation: frame35 steps(35) 7s infinite both; */
}

.t2 {
    background: url(../img/l2.jpg) 0 0;
    -webkit-background-size: 1200% auto;
    background-size: 1200% auto;
    margin-top: 30px;
    /* animation: frame35 steps(35) 7s infinite both; */
}

.chapter-cover h2 {
    position: absolute;
    left: 0;
    top: 10%;
    z-index: 4;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 36px;
    line-height: 1.2em;
    font-family: 'lato-regular', sans-serif;
    letter-spacing: -1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.chapter-cover h2 img {
    width: 100%;
    vertical-align: top;
}

.textlayer {
    position: absolute;
    left: 0;
    bottom: 30px;
    z-index: 5;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    opacity: 0;
}

.textlayer p {
    color: #fff;
    font-size: 16px;
    margin: 0;
}

.textlayer p em {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.showtext .textlayer {
    -webkit-transition: opacity 2s ease 0.5s;
    transition: opacity 2s ease 0.5s;
    opacity: 1;
}

.textmask {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    height: 30%;
    opacity: 0;
    /* background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.0),rgba(0,0,0,1)); */
    /* background-image: linear-gradient(to bottom,  rgba(0,0,0,0.0),rgba(0,0,0,1)); */
}

.showtext .textmask {
    -webkit-transition: opacity 2s linear;
    transition: opacity 2s linear;
    opacity: 1;
}

.expmedia,
.expimg {
    margin-top: 20px;
    margin-bottom: 20px;
}

.expmedia img,
.expimg img {
    width: 100%;
    vertical-align: top;
}

.expimg p,
.expmedia p {
    margin-top: 10px;
    padding: 0 0;
    text-align: left;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.mediawrap {
    margin: 20px 0 30px;
}

/* gallery */
.gwrap {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    margin-top: 30px;
}

.contentwrap .gwrap {
    margin-left: -20px;
}

.gimgbox {
    position: absolute;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 0;
}

.slide {
    float: left;
}

.slide img {
    width: 100%;
    vertical-align: top;
}

.slide p {
    font-size: 14px;
    color: #999;
    line-height: 1.5em;
    padding: 0;
    margin-bottom: 0;
}

.endgallery .slide p {
    color: rgba(255, 255, 255, 0.8);
}

.slide p span {
    font-size: 10px;
    margin-right: 5px;
}

.iScrollLoneScrollbar {
    background-color: rgba(0, 0, 0, 0.2);
}

.iScrollIndicator {
    background: #ff5300;
}

.swipetips {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 15px;
    z-index: 5;
    background: transparent url(icon-tips.png) 0 0 no-repeat;
    -webkit-background-size: 50px;
    background-size: 50px;
    -webkit-animation: tipsArrow infinite 4s ease forwards;
    animation: tipsArrow infinite 4s ease forwards;
}

/* gallery */
.avatar {
    padding: 10px 15px 30px;
    position: relative;
    margin-top: 20px;
}

.gmain,
.gthumbs {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gimgs {
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.gimgs div,
.gthumbs div {
    float: left;
}

.gimgs div img,
.gthumbs div img {
    width: 100%;
    vertical-align: top;
}

.gimgs div p {
    font-size: 14px;
    color: #999;
    line-height: 1.5em;
    margin: 5px 0;
}

.gimgs div p span {
    color: #666;
    font-weight: 700;
}

.gthumbs div {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.gthumbs div:last-child {
    margin-right: 0;
}

.gthumbs .active {
    border-color: #ff5300;
}

.gthumbs {
    margin-top: 10px;
}

.gbtn-next,
.gbtn-prev {
    position: absolute;
    top: 32%;
    z-index: 10;
    width: 15px;
    height: 38px;
}

.gbtn-prev {
    background-image: url(icon-left.png);
    -webkit-background-size: 15px 38px;
    background-size: 15px 38px;
    left: 15px;
}

.gbtn-next {
    background-image: url(icon-right.png);
    -webkit-background-size: 15px 38px;
    background-size: 15px 38px;
    right: 15px;
}

.footer {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    background-position: 0 -2900%;
    -webkit-background-size: 100% 3000%;
    background-size: 100% 3000%;
}

.footer.playback {
    animation: frame30-reverse steps(29) 3s both;
}

.footer .innerwrap {
    position: absolute;
    z-index: 5;
    width: 100%;
    bottom: 3%;
    box-sizing: border-box;
    padding: 0 15px;
}

.footer .darkmask {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 60%;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.0));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.0));
}

.footer h2 {
    padding-bottom: 5px;
    font-size: 16px;
    color: #fff;
}

.maker {
    font-size: 14px;
    color: #000;
    line-height: 1.4em;
}

.footer .fiximg {
    background: url(../img/l4.jpg) 0 0;
    -webkit-background-size: 1200% auto;
    background-size: 1200% auto;
}

.bottom_word_relation {
    padding: 0 15px;
}

.bottom_word_relation p {
    margin-bottom: 10px;
}

.bottom_word_relation p img {
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.paper {
    text-align: center;
}

.paper img {
    width: 50%;
}

.post-list {
    margin: 15px 10px;
}

.post {
    margin-bottom: 30px;
    padding: 5px;
    background-color: #eaeaea;
}

.post-link {
    display: block;
}

.post-thumb {
    padding: 5px;
}

.post-thumb img {
    display: block;
    width: 100%;
}

.post-title {
    margin: 7px 10px;
    font-size: 18px;
}

.post-desc {
    padding: 0 5px;
    font-weight: bold;
    font-style: italic;
    color: #666;
    font-size: 14px;
}

.post-desc p {}

.btn-comment {
    position: fixed;
    right: 0;
    bottom: 10%;
    z-index: 200;
    width: 45px;
    transform: translateX(100%);
    transition: all 1s;
}

.btn-comment.show {
    transform: translateX(0);
}

.commentwrap {
    position: fixed;
}

.audio-box {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 32%;
}

.audio-controller {
    position: relative;
    /* background-color: #c6c6c6; */
}

.audio-progress-box {
    position: absolute;
    height: 80%;
    left: 16%;
    top: 10%;
    right: 5%;
    background: #c6c6c6;
}

#audio-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background-color: #924b44;
}

.audio-panel {
    position: relative;
    height: 30px;
}

.audio-panel img {
    width: 100%;
    height: 100%;
}

.audio-btn {
    display: block;
    position: absolute;
    top: 5px;
    left: 8px;
    width: 20px;
    height: 20px;
    background: url(audio-btn.png) no-repeat center 54%;
    background-size: 100%;
}

.audio-btn.pause {
    background-position: center bottom;
}

.audio-dot-box {
    position: absolute;
    top: 6px;
    left: 16%;
    right: 5%;
    height: 18px;
}

#audio-dot {
    display: block;
    position: absolute;
    left: 0;
    width: 18px;
    height: 100%;
    transform: translateX(-50%);
    background: url(audio-btn.png) center top;
    background-size: 100%;
    pointer-events: none;
}

.subtitle-box {
    /* display: inline-block; */
    margin-left: 0;
    margin-top: 5px;
    height: 30px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
    text-align: center;
    letter-spacing: 1px;
}
#subtitle{
    height:100%;
}

@-webkit-keyframes iconZoom {
    0% {
        opacity: 0.5;
    }

    30% {
        opacity: 0.8;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@keyframes iconZoom {
    0% {
        opacity: 0.5;
    }

    30% {
        opacity: 0.8;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@-webkit-keyframes loadwhirl {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes loadwhirl {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes tipsArrow {
    0% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }

    50% {
        -webkit-transform: translateX(-100px);
    }

    51% {
        -webkit-transform: translateX(0);
    }

    99% {
        -webkit-transform: translateX(-100px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(-100px);
        opacity: 0;
    }
}

@keyframes tipsArrow {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-100px);
    }

    51% {
        transform: translateX(0);
    }

    99% {
        transform: translateX(-100px);
        opacity: 1;
    }

    100% {
        transform: translateX(-100px);
        opacity: 0;
    }
}


@-webkit-keyframes frame30 {
    to {
        background-position: 0 -2900%;
    }
}

@keyframes frame30 {
    to {
        background-position: 0 -2900%;
    }
}


@-webkit-keyframes frame30-reverse {
    to {
        background-position: 0 0;
    }
}

@keyframes frame30-reverse {
    to {
        background-position: 0 0;
    }
}