

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

body {
  font-family: 'Lato', Calibri, Arial, sans-serif;
  color: #777;
  background: #f6f6f6;
}

a {
  color: #555;
  text-decoration: none;
  outline: none;
}

a:hover,
a:active {
  color: #777;
}

a img {
  border: none;
}

/* Header Style */
.main,
.ym-container>header {
  margin: 0 auto;
  padding: 2em;
}

.ym-container {
  height: 100%;
}

.ym-container>header {
  text-align: center;
  background: rgba(0, 0, 0, 0.01);
}

.ym-container>header h1 {
  font-size: 2.625em;
  line-height: 1.3;
  margin: 0;
  font-weight: 300;
}

.ym-container>header span {
  display: block;
  font-size: 60%;
  opacity: 0.3;
  padding: 0 0 0.6em 0.1em;
}

/* Main Content */
.main {
  max-width: 69em;
}

.column {
  float: left;
  width: 50%;
  padding: 0 2em;
  min-height: 3rem;
  position: relative;
}

.column:nth-child(2) {
  box-shadow: -.01rem 0 0 rgba(0, 0, 0, 0.1);
}

.column p {
  font-weight: 300;
  font-size: 2em;
  padding: 0;
  margin: 0;
  text-align: right;
  line-height: 1.5;
}

/* To Navigation Style */
.codrops-top {
  background: #fff;
  background: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  width: 100%;
  font-size: 0.69em;
  line-height: 2.2;
}

.codrops-top a {
  padding: 0 1em;
  letter-spacing: 0.1em;
  color: #888;
  display: inline-block;
}

.codrops-top a:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
}

.codrops-top span.right {
  float: right;
}

.codrops-top span.right a {
  float: left;
  display: block;
}

.codrops-icon:before {
  /* font-family: 'codropsicons'; */
  margin: 0 .04rem;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.codrops-icon-drop:before {
  content: "\e001";
}

.codrops-icon-prev:before {
  content: "\e004";
}

.codrops-icon-archive:before {
  content: "\e002";
}

.codrops-icon-next:before {
  content: "\e000";
}

.codrops-icon-about:before {
  content: "\e003";
}

/* Demo Buttons Style */
.codrops-demos {
  padding-top: 1em;
  font-size: 0.9em;
}

.codrops-demos a {
  display: inline-block;
  margin: 0.2em;
  padding: 0.45em 1em;
  background: #999;
  color: #fff;
  font-weight: 700;
  border-radius: .02rem;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
  opacity: 0.6;
}

.codrops-nav {
  text-align: center;
}

.codrops-nav a {
  display: inline-block;
  margin: .2rem auto;
  padding: 0.3em;
}

/* Demo Styles */

.demo-1 body {
  color: #87968e;
  background: #fff2e3;
}

.demo-1 a {
  color: #72b890;
}

.demo-1 .codrops-demos a {
  background: #72b890;
  color: #fff;
}

.demo-2 body {
  color: #fff;
  background: #c05d8e;
}

.demo-2 a {
  color: #d38daf;
}

.demo-2 a:hover,
.demo-2 a:active {
  color: #fff;
}

.demo-2 .codrops-demos a {
  background: #883b61;
  color: #fff;
}

.demo-2 .codrops-top a:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #333;
}

.demo-3 body {
  color: #87968e;
  background: #fff2e3;
}

.demo-3 a {
  color: #ea5381;
}

.demo-3 .codrops-demos a {
  background: #ea5381;
  color: #fff;
}

.demo-4 body {
  color: #999;
  background: #fff2e3;
  overflow: hidden;
}

.demo-4 a {
  color: #1baede;
}

.demo-4 a:hover,
.demo-4 a:active {
  opacity: 0.6;
}

.demo-4 .codrops-demos a {
  background: #1baede;
  color: #fff;
}

.demo-5 body {
  background: #fffbd6;
}


@media screen and (max-width: 46.0625em) {
  .column {
    width: 100%;
    min-width: auto;
    min-height: auto;
    padding: 1em;
  }

  .column p {
    text-align: left;
    font-size: 1.5em;
  }

  .column:nth-child(2) {
    box-shadow: 0 -.01rem 0 rgba(0, 0, 0, 0.1);
  }
}

@media screen and (max-width: 25em) {

  .codrops-icon span {
    display: none;
  }

}




/* 详情页 */
.detail {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    top: 0;
    left: 0;
    z-index: 99999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .detail .content {
        width: calc(.85 * 38.42rem);
        height: calc(.75 * 21.6rem);
        position: relative;
    }

        .detail .content .img {
            width: 100%;
            height: 100%;
            background-image: url(../images/details_big.png);
            background-size: 100% 100%;
            background-repeat: no-repeat;
        }

        .detail .content .close-img {
            position: absolute;
            width: 1.6rem;
            height: 1.6rem;
            right: -1.4%;
            top: -3%;
            background: url(../images/painted_close.png) no-repeat;
            background-size: 100% 100%;
        }

        .detail .content .contain,
        .detail .content .onther-detail {
            width: 92%;
            height: 82%;
            position: absolute;
            left: 5%;
            top: 50%;
            transform: translateY(-50%);
        }

        .detail .content .contain {
            display: flex;
        }

        .detail .content .lf {
            width: 5rem;
            height: 100%;
        }

        .detail .content .lr {
            width: calc(100% - 5rem);
            height: calc(100% - 2rem);
            overflow: auto;
            background: rgba(255, 255, 255, .6);
            height: 100%;
            border-radius: .5rem;
            position: relative;
        }

            .detail .content .lr::-webkit-scrollbar {
                display: none;
            }

        /* 左半部分 */
        .detail .content .kw {
            width: 4.42rem;
            height: 1.8rem;
            background-color: #bd3823;
            border-radius: .3rem;
            font-size: .75rem;
            font-family: siyuan;
            color: #fff4e6;
            display: flex;
            align-items: center;
        }

            .detail .content .kw .kw-content {
                display: flex;
                align-items: center;
                padding-left: .8rem;
            }

            .detail .content .kw .icon {
                width: .8rem;
                height: .8rem;
                background: url(../images/kewen.png) no-repeat;
                background-size: 100% 100%;
                display: inline-block;
            }

        .detail .content .lf .title {
            padding-left: .24rem;
        }

        .detail .content .ul {
            margin-top: .6rem;
            background: rgba(255, 255, 255, .3);
            width: 5rem;
            border-radius: .1rem 0 0 .1rem;
            font-size: .75rem;
            font-family: siyuan;
            color: #603100;
            height: 70%;
            cursor: pointer;
        }

            .detail .content .ul li {
                display: flex;
                align-items: center;
                height: 25%;
                border-bottom: .02rem solid #e7cfb2;
                padding: 0 .8rem;
                position: relative;
            }

                .detail .content .ul li.li-active {
                    width: 4rem;
                    color: #b16000;
                    padding: 0;
                    margin-left: -.5rem;
                    padding-left: 1.5rem;
                    border-radius: .8rem 0 0 .8rem;
                    overflow: hidden;
                    background-color: rgba(255, 255, 255, .5);
                }

                    .detail .content .ul li.li-active .bgi {
                        width: 1rem;
                        height: 1rem;
                        background: url(../images/sortFont.png) no-repeat;
                        background-size: 100% 100%;
                        position: absolute;
                        left: 12%;
                        top: 8%;
                    }

                    .detail .content .ul li.li-active span,
                    .detail .content .ul li.li-active i {
                        transform: scale(1.4);
                    }

                .detail .content .ul li i {
                    display: inline-block;
                    vertical-align: middle;
                    width: 1rem;
                    height: .7rem;
                    margin-right: .6rem;
                    background-size: contain;
                    background-repeat: no-repeat;
                }

                .detail .content .ul li span {
                    white-space: nowrap;
                }

            .detail .content .ul .js .icon {
                background-image: url(../images/js.png);
            }

            .detail .content .ul .tc .icon {
                background-image: url(../images/tc.png);
            }

            .detail .content .ul .sp .icon {
                background-image: url(../images/video.png);
            }

            .detail .content .ul .wd .icon {
                background-image: url(../images/wd.png);
            }

            .detail .content .ul .js.li-active i {
                background-image: url(../images/js-active.png);
            }

            .detail .content .ul .tc.li-active i {
                background-image: url(../images/js-active.png);
            }

            .detail .content .ul .image.li-active i {
                background-image: url(../images/js-active.png);
            }

            .detail .content .ul .wd.li-active i {
                background-image: url(../images/js-active.png);
            }

        /* 右半部分 */
        .detail .content .lr .lr-title {
            height: 2rem;
            line-height: 2rem;
            padding: 0 1rem;
            font-size: .95rem;
            color: #b16000;
            font-family: pingfangBold;
            display: flex;
            align-items: center;
        }

            .detail .content .lr .lr-title i {
                width: 1.5rem;
                height: 1.5rem;
                display: block;
                background-size: 100% 100%;
                margin-left: .5rem;
            }

.lr .lr-title .lr-play {
    background: url(../images/intro_play.png) no-repeat;
}

.lr .lr-title .lr-pause {
    background: url(../images/pause.png) no-repeat;
}

/* onther-detail */
.detail .content .onther-detail {
    background-color: rgb(242, 235, 225);
}

.detail .onther-detail .painted_back {
    width: 5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    /* background: url(../images/painted_back.png) no-repeat; */
    background: url(../images/painted_back.png) no-repeat;
    color: #fff4e6;
    font-size: .8rem;
    font-family: pingfangBold;
    padding-left: 1.3rem;
    background-size: 100% 100%;
    position: absolute;
    left: -1rem;
    top: -.75rem;
    z-index: 10;
}

/* swiper css */
.swiperOption {
    position: relative;
    width: 100%;
    height: 2rem;
}

.swiper-container .swiper {
    overflow: hidden;
    text-align: center;
    height: 100%;
    width: auto;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100% !important;
    height: 100% !important;
}

.swiper-container .img {
    height: 100%;
    width: auto !important;
    margin: 0 auto;
    display: block;
}

.contain-detail {
    width: 100%;
    height: 100%;
}

/* 详情-原貌 */
.detail-books {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* 详情-介绍 */
.detail-introduce {
    width: 94%;
    height: calc(100% - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 auto;
}

    .detail-introduce .content {
        width: 100%;
        height: 100%;
    }

        .detail-introduce .content .head {
            /* height: 3rem; */
            display: flex;
            flex-wrap: nowrap;
            white-space: nowrap;
            overflow: auto;
            background-color: rgb(242, 235, 224);
        }

            .detail-introduce .content .head::-webkit-scrollbar,
            .detail-introduce .detail-introduce::-webkit-scrollbar,
            .detail-introduce .content .center::-webkit-scrollbar {
                height: .3rem;
                width: 100%;
                /* display: none; */
            }

            .detail-introduce .content .head::-webkit-scrollbar-thumb,
            .detail-introduce .detail-introduce::-webkit-scrollbar-thumb,
            .detail-introduce .content .center::-webkit-scrollbar-thumb {
                border-radius: .2rem;
                box-shadow: inset 0 0 .02rem rgba(0, 0, 0, .2);
                background: #535353;
            }

            .detail-introduce .content .head::-webkit-scrollbar-track,
            .detail-introduce .detail-introduce::-webkit-scrollbar-track,
            .detail-introduce .content .center::-webkit-scrollbar-track {
                border-radius: .2rem;
                box-shadow: inset 0 0 .02rem rgba(0, 0, 0, .2);
                background: #EDEDED;
            }

            .detail-introduce .content .head .text {
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: .8rem;
                margin-bottom: .3rem;
            }

                .detail-introduce .content .head .text.active .title {
                    border: 1px solid #f3a344;
                    border-radius: 2rem;
                }

                    .detail-introduce .content .head .text.active .title a {
                        background-color: #f3a344;
                        color: #fff;
                    }

            .detail-introduce .content .head .title {
                display: block;
                padding: .2rem .1rem;
            }

                .detail-introduce .content .head .title a {
                    font-size: .7rem;
                    color: #b16000;
                    font-family: pingfangBold;
                    padding: .15rem .42rem;
                    background: #f5e0c6;
                    border-radius: 2rem;
                    letter-spacing: .05rem;
                }

            .detail-introduce .content .head .line {
                width: 2rem;
                height: .1rem;
                background: #b16000;
                margin: .3rem .5rem;
                display: block;
            }

            .detail-introduce .content .head :last-child .line {
                display: none;
            }

        /* 内容区域 */
        .detail-introduce .content .center {
            height: calc(100% - 3rem);
            overflow: auto;
        }

    .detail-introduce .center .lr-introduce-contain {
        margin: 0 0;
    }

        .detail-introduce .center .lr-introduce-contain .name {
            height: 2rem;
            line-height: 2rem;
            font-size: .9rem;
            color: #b16000;
            font-family: pingfangBold;
        }

        .detail-introduce .center .lr-introduce-contain p,
        .detail-introduce .center .lr-introduce-contain p a {
            font-size: .6rem;
            color: #5e3300 !important;
            cursor: default;
        }

/* 图册 */
.detail-picture {
    width: 94%;
    height: calc(100% - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 auto;
    display: none;
}

    .detail-picture .content,
    .detail-video .content,
    .detail-answer .content {
        width: 100%;
        height: 100%;
    }

    .detail-picture::-webkit-scrollbar {
        width: .42rem;
    }

    .detail-picture::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2rem;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fbf7f2);
        right: 0;
        bottom: 0;
        border-radius: 0 0 .5rem .5rem;
    }

    .detail-picture::-webkit-scrollbar-thumb {
        box-shadow: inset 0 0 .06rem rgba(0, 0, 0, 0.3);
        border-radius: 25%;
        background-color: rgb(180, 176, 171);
    }

    .detail-picture .no-content {
        width: 100%;
        height: 100%;
    }

    .detail-picture ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row;
    }

        .detail-picture ul .detail-picture-lf,
        .detail-picture ul .detail-picture-lr {
            display: flex;
            flex-direction: column;
            width: 47%;
            height: 100%;
        }

        .detail-picture ul .detail-picture-lr {
            margin-right: .5rem;
        }

        .detail-picture ul li {
            width: auto;
            height: 100%;
            box-shadow: .42rem .42rem 0 rgb(177 96 0 / 20%);
            border-radius: .42rem;
            background: #fff;
            margin-bottom: 1rem;
        }

            .detail-picture ul li .shadow {
                box-shadow: .1rem .1rem 0 rgb(177 96 0 / 40%);
                overflow: hidden;
                border-radius: .42rem;
            }

                .detail-picture ul li .shadow .title {
                    font-size: .8rem;
                    padding: .3rem .5rem;
                    color: #603100;
                    font-family: pingfangBold;
                    text-align: center;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

            .detail-picture ul li img {
                width: 100%;
                height: auto;
            }

/* 视频 */
.detail-video {
    width: 94%;
    height: calc(100% - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 auto;
}

    .detail-video .no-content {
        width: 100%;
        height: 100%;
    }

    .detail-video::-webkit-scrollbar {
        width: .42rem;
    }

    .detail-video::-webkit-scrollbar-thumb {
        box-shadow: inset 0 0 .06rem rgba(0, 0, 0, 0.3);
        border-radius: 25%;
        background-color: rgb(180, 176, 171);
    }

    .detail-video ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row;
    }

        .detail-video ul .detail-video-lf,
        .detail-video ul .detail-video-lr {
            display: flex;
            flex-direction: column;
            width: 47%;
            height: 100%;
        }

        .detail-video ul .detail-video-lr {
            margin-right: .5rem;
        }

        .detail-video ul li {
            width: auto;
            height: 100%;
            box-shadow: .42rem .42rem 0 rgb(177 96 0 / 20%);
            border-radius: .42rem;
            background: #fff;
            margin-bottom: 1rem;
            position: relative;
        }

    .detail-video .detail-video-contain {
        overflow: hidden;
        position: relative !important;
    }

    .detail-video ul li .cover {
        width: 100%;
        height: 100%;
    }

    .detail-video .cover .cover-img {
        width: 100%;
        height: auto;
    }

    .detail-video .cover .play {
        width: 2rem;
        height: 2rem;
        background: url(../images/detail_play.png) no-repeat;
        background-size: 100% 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: block;
    }

    .detail-video ul li .shadow {
        box-shadow: .1rem .1rem 0 rgb(177 96 0 / 40%);
        overflow: hidden;
        border-radius: .42rem;
    }

        .detail-video ul li .shadow .title {
            font-size: .8rem;
            padding: .3rem .5rem;
            color: #603100;
            font-family: pingfangBold;
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .detail-video ul li video {
        width: 100%;
        height: auto;
        position: absolute;
        left: 0;
        top: 0;
    }

/* 问答 */
.detail-answer {
    width: 94%;
    height: calc(100% - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 auto;
}

    .detail-answer .detail-answer-title {
        display: flex;
    }

        .detail-answer .detail-answer-title .classify {
            display: inline-block;
            width: 3rem;
            height: 1.42rem;
            text-align: center;
            line-height: 1.42rem;
            background: #bd3823;
            font-size: .8rem;
            color: #fff;
            margin-right: .42rem;
            white-space: nowrap;
            min-width: 3rem;
        }

        .detail-answer .detail-answer-title .theQuestion {
            font-size: .8rem;
            color: #603100;
            font-family: piingfangBold;
            text-overflow: -o-ellipsis-lastline;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 5;
            line-clamp: 5;
            -webkit-box-orient: vertical;
            text-indent: 3rem;
            margin-left: -3rem;
            line-height: 1.42rem;
        }

    .detail-answer .options ul {
        display: flex;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

        .detail-answer .options ul li {
            width: 48%;
        }

            .detail-answer .options ul li:nth-last-child(-n+2) {
                margin-top: .5rem;
            }

            .detail-answer .options ul li .label {
                display: flex;
                align-items: center;
            }

    .detail-answer .label .option-text {
        font-size: .8rem;
        line-height: .8rem;
        color: #603100;
        font-family: pingfangBold;
    }

    .detail-answer .options ul li .input {
        width: .8rem;
        min-width: .8rem;
        height: .8rem;
        border-radius: 50%;
        display: block;
        border: solid #603100 .05rem;
        margin-right: .5rem;
    }

        .detail-answer .options ul li .input.active {
            background-image: url(../images/choosed.png);
            background-repeat: no-repeat;
            background-size: cover;
        }

    /* 正确答案 */
    .detail-answer .right-answer {
        font-size: .8rem;
        color: #bd3823;
        font-weight: bold;
        padding-top: .5rem;
        display: none;
    }

    .detail-answer .answer-tip {
        position: absolute;
        width: 5rem;
        height: 5rem;
        top: 10%;
        right: 5%;
        display: none;
    }

        .detail-answer .answer-tip.wrong {
            background: url(../images/wrong.png) no-repeat;
            background-size: cover;
            display: block;
        }

        .detail-answer .answer-tip.correct {
            background: url(../images/correct.png) no-repeat;
            background-size: cover;
            display: block;
        }

    /* 底部按钮 */
    .detail-answer .btns {
        width: 85%;
        height: 2rem;
        text-align: center;
        line-height: 2rem;
        z-index: 10;
        position: absolute;
        left: 50%;
        bottom: 2%;
        transform: translateX(-50%);
        display: flex;
        justify-content: space-between;
    }

        .detail-answer .btns .prev-btn {
            background: url(../images/btnPrev.png) no-repeat left center;
            color: #603100;
            font-size: .8rem;
            padding-left: .8rem;
            background-size: .42rem auto;
        }

        .detail-answer .btns .answer-btn,
        .detail-answer .btns .confirm-btn {
            display: inline-block;
            width: 5.5rem;
            height: 2rem;
            background: rgba(243, 163, 68, .2);
            line-height: 2rem;
            text-align: center;
            border-radius: 1rem;
            font-size: 1rem;
            color: #b16000;
        }

        .detail-answer .btns .confirm-btn {
            background: #f3a344;
            color: #fff;
        }

        .detail-answer .btns .next-btn {
            background: url(../images/btnNext.png) no-repeat right center;
            color: #603100;
            font-size: .8rem;
            padding-right: .8rem;
            background-size: .42rem auto;
        }

    /* 灰色按钮 */
    .detail-answer .grayBtn {
        opacity: 0.4;
    }

/* other-detail   picture */
.onther-detail-picture,
.recommendPage {
    height: 100%;
}

    .onther-detail-picture .recommendPage .swiper-container {
        position: relative;
        width: auto;
        height: 100%;
    }

        .onther-detail-picture .recommendPage .swiper-container .swiper-slide {
            width: auto;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .onther-detail-picture .swiper-container .swiper-slide img {
        width: auto;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .onther-detail-picture .swiper-button-next,
    .onther-detail-picture .swiper-button-prev {
        background: url(../images/btnNext.png) no-repeat;
        background-size: 100% 100%;
        width: .54rem;
        height: 1rem;
    }

.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
    content: '' !important;
}

.onther-detail-picture .swiper-button-prev {
    transform: rotate(180deg);
}

/* onther-video */
.detail-onther-video {
    width: 100%;
    height: 100%;
    zoom: 2;
}

    .detail-onther-video video {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
        /* 缩放状态下，video的底部状态栏太小 */
        zoom: 2;
    }

.no-content {
    font-size: 1rem;
    font-weight: bold;
    position: relative;
    width: 100%;
    height: calc(100% - 2rem);
}

    .no-content .text {
        position: absolute;
        left: 50%;
        top: calc(50% - 1rem);
        transform: translate(-50%, -50%);
    }

/* 原貌 */
.bb-custom-side img {
    width: 8rem;
    height: auto;
    max-height: 100%;
}

/* loading */
.loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    left: 0;
    top: 0;
    z-index: 999;
}

    .loading h2 {
        font-size: 1.5rem;
        color: #ffff;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }