body,
button,
dd,
div,
dl,
dt,
form,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
input,
ol,
p,
pre,
table,
td,
textarea,
th,
tr,
img,
nav,
figure,
header,
footer,
article,
section,
aside,
menu {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    outline: 0;
    border: 0;
}

html,
body {
    width: 100%;
    font-family: "microsoft yahei", 'Helvetica Neue', Helvetica, sans-serif;
}

button {
    background-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

#homepage {
    position: relative;
}

#homepage .main {
    position: absolute;
    bottom: 0;
    top: 21.78947368vh;
    width: 100%;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 15.78947368vh;
}

header .wrap {
    width: 62.5vw;
    height: 100%;
    margin: 0 auto;
}

header .wrap img {
    position: relative;
    top: 50%;
    transform: translate(0, -35%);
    -ms-transform: translate(0, -35%);
    width: 50%;
}

header .inputdiv {
    float: right;
    position: relative;
    top: 50%;
    transform: translate(0, -30%);
    -ms-transform: translate(0, -30%);
    width: 25.67708333vw;
    height: 45px;
    padding: 3px 1px 2px 3px;
    background-image: url(../image/searchbar.png);
    background-size: 100% 100%;
}

header .inputdiv input {
    width: 75%;
    height: 40px;
    padding-left: 43px;
    font-size: 16px;
    color: #998d75;
    border: 1px solid #696057;
    border-right: 0;
    background-color: #e9e6df;
}

header .inputdiv span {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 38px;
    height: 38px;
    background-image: url(../image/search.png);
    background-position: center;
    background-repeat: no-repeat;
}

header .inputdiv button {
    position: relative;
    top: -1px;
    width: 25%;
    height: 40px;
    font-size: 16px;
    vertical-align: middle;
    background-color: #696057;
    color: #fff;
    cursor: pointer;
}


/* 清除浮动 */

.clear:after {
    content: '';
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

nav#firstnav {
    position: absolute;
    top: 15.78947368vh;
    width: 100%;
    height: 6vh;
    background-image: url(../image/navshade.jpg);
    background-size: contain;
}

nav#firstnav ul {
    margin: 0 auto;
    width: 62.5vw;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

nav#firstnav li {
    position: relative;
    float: left;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

nav#firstnav li:hover {
    background-image: url(../image/lihover.png);
    cursor: pointer;
}

nav#firstnav li:not(:first-child) {
    width: 10.10416667vw;
    margin-left: 2px;
}

nav#firstnav li:not(:first-child):before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    height: 2.10526316vh;
    border-left: 1px solid #6f5d49;
    border-right: 1px solid #483622;
}

nav#firstnav li button {
    width: 4.94791667vw;
    height: 1.89473684vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

nav#firstnav li:first-child {
    width: 7.5vw;
    background-image: url(../image/lihover.png);
}

nav#firstnav li:first-child button {
    width: 2.39583333vw;
    background-image: url(../image/homepage1.png);
}

nav#firstnav li:first-child:hover button {
    background-image: url(../image/homepage1.png);
}

nav#firstnav li:nth-child(2) button {
    background-image: url(../image/booktown.png);
}

nav#firstnav li:nth-child(2):hover button {
    background-image: url(../image/booktown1.png);
}

nav#firstnav li:nth-child(3) button {
    width: 4.79166667vw;
    background-image: url(../image/study.png);
}

nav#firstnav li:nth-child(3):hover button {
    background-image: url(../image/study1.png);
}

nav#firstnav li:nth-child(4) {
    width: 13.33333333vw;
}

nav#firstnav li:nth-child(4) button {
    width: 9.47916667vw;
    background-image: url(../image/medicine.png);
}

nav#firstnav li:nth-child(4):hover {
    background-image: url(../image/lihover1.png);
}

nav#firstnav li:nth-child(4):hover button {
    background-image: url(../image/medicine1.png);
}

nav#firstnav li:nth-child(5) button {
    width: 3.4375vw;
   /* background-image: url(../image/ebook.png);*/
}

nav#firstnav li:nth-child(5){
	width:0px;
}
nav#firstnav li:nth-child(5):before {
  display: none;
}
nav#firstnav li:nth-child(5):hover button {
  /*  background-image: url(../image/ebook1.png);*/
}

nav#firstnav li:nth-child(6) button {
    background-image: url(../image/therapy.png);
}

nav#firstnav li:nth-child(6):hover button {
    background-image: url(../image/therapy1.png);
}

nav#firstnav li:nth-child(7) button {
    background-image: url(../image/audioAndVideo.png);
}

nav#firstnav li:nth-child(7):hover button {
    background-image: url(../image/audioAndVideo1.png);
}

#fp-nav {
    top: 43%;
}

#fp-nav.left {
    left: 3vw;
    height: 262px;
    padding-top: 12px;
    background-image: url(../image/anchor.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#fp-nav ul li {
    width: 26px;
    height: 26px;
    margin: 0;
    margin-bottom: 13px;
}

#fp-nav ul li .fp-tooltip.left {
    left: 30px;
}

#fp-nav ul li .fp-tooltip {
    top: 0;
    width: auto;
    opacity: 1;
    font-size: 18px;
    color: #564632;
}

#fp-nav ul li .fp-tooltip:hover {
    font-weight: bold;
}

#fp-nav ul li a.active~.fp-tooltip {
    font-weight: bold;
}

#fp-nav ul li a span {
    border-radius: initial;
    background-color: transparent;
}

#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span {
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    background-image: url(../image/anchordot.png);
    background-position: center;
    background-size: cover;
}


/* 文本溢出隐藏，变省略号 */

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news {
    position: relative;
    width: 46.875vw;
    height: 100%;
    margin-left: 30.10416667vw;
}

.news figure.newsimg {
    position: absolute;
    width: 46.875vw;
    height: 50vh;
    margin-top: 2.5vh;
    border: 9px solid #f7f8f2;
    border-width: 1vh;
    outline: 1px solid #e9e6df;
    overflow: hidden;
    cursor: pointer;
}

.news figure.newsimg:hover .headline h1,
.news figure.newsimg:hover .headline p {
    text-decoration: underline;
}

.news figure.newsimg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.news>img {
    position: absolute;
    width: 6.82291667vw;
    left: -8.38541667vw;
    top: 3.15789474vh;
}

.headline {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding-left: 2vw;
    padding-right: 2vw;
}

.headline h1 {
    padding-top: 1.68421053vh;
    padding-bottom: 1.05263158vh;
    font-size: 2.31578947vh;
    line-height: 1;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.headline p {
    position: relative;
    padding-bottom: 0.63157895vh;
    font-size: 1.47368421vh;
    line-height: 2.73684211vh;
}

.headline p .details,
.headline p .time {
    position: relative;
    text-indent: 0;
}

ul.newslist {
    position: absolute;
    bottom: 0;
    padding-bottom: 3vh;
    padding-left: 1vh;
    padding-right: 1vh;
    width: 100%;
}

ul.newslist li {
    position: relative;
    padding-top: 1.57894737vh;
    padding-bottom: 1.57894737vh;
    margin-left: 2vw;
    margin-right: 2vw;
    color: #564632;
    overflow: hidden;
}

ul.newslist li:not(:last-child) {
    background-image: url(../image/split.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

ul.newslist li:not(:last-child):hover p,
ul.newslist li:not(:last-child):hover label {
    color: #9f100a;
}

ul.newslist li p {
    float: left;
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

ul.newslist li:last-child p {
    float: right;
    display: inline-block;
    cursor: pointer;
}

ul.newslist li:last-child p:hover {
    color: #9f100a;
}

span.details {
    float: right;
    font-size: 12px;
    line-height: 12px;
    padding: 2px 6px;
    color: #fff;
    background-color: #9f100a;
    border-radius: 2px;
    text-align: center;
}

label.time {
    float: right;
    position: relative;
    top: 1px;
    padding-right: 0.78125vw;
    font-size: 14px;
    line-height: 14px;
    cursor: pointer;
}

.section {
    background-position: center;
    background-size: cover;
}

.section .content {
    position: relative;
    width: 62.5vw;
    height: 100%;
    margin: 0 auto;
}

.section .content>* {
    position: absolute;
}

.section .content .button {
    left: 50%;
    bottom: 10vh;
    width: 24.73684211vh;
    height: 6vh;
    transform: translate(-50%, 50%);
    -ms-transform: translate(-50%, 50%);
    background-image: url(../image/dark.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.section .content .button:hover {
    background-image: url(../image/light.png);
}

.section .content .btnimg {
    position: relative;
    top: 50%;
    left: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.section .content .title {
    transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
}

.section .content .introduce {
    transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    color: #564632;
}

.section .content a {
    color: inherit;
    text-decoration: none;
}

.section .content h1 {
    line-height: 1;
    font-weight: normal;
    font-size: 3.57894737vh;
    cursor: pointer;
}

.section .content h1:hover {
    text-decoration: underline;
}

.section .content h2 {
    line-height: 1;
    font-weight: normal;
    margin-top: 2.10526316vh;
    font-size: 18px;
}

.section .content p {
    line-height: 3.36842105vh;
    font-size: 16px;
    text-indent: 32px;
}

.section .content p:first-of-type {
    margin-top: 3vh;
}

.section .content label {
    font-size: 14px;
    color: #fff;
    padding: 0 6px;
    border-radius: 2px;
    line-height: 1;
    background-color: #9F100A;
}

.section:nth-child(1) {
    background-image: url(../image/bgimg1.jpg);
}

.section:nth-child(2) {
    background-image: url(../image/bgimg2.jpg);
}

.section:nth-child(2) .title {
    top: 18%;
    height: 25.36842105vh;
}

.section:nth-child(2) .introduce {
    top: 60%;
    width: 28vw;
}

.section:nth-child(2) .introduce h1 {
    margin-left: 1.35416667vw;
}

.section:nth-child(3) {
    background-image: url(../image/bgimg3.jpg);
}

.section:nth-child(3) .title {
    top: 18%;
    left: 27.55208333vw;
    height: 13.26315789vh;
}

.section:nth-child(3) .introduce {
    top: 54%;
    right: 0;
    width: 34.94791667vw;
}

.section:nth-child(4) {
    background-image: url(../image/bgimg4.jpg);
    background-size: 100% 100%;
}

.section:nth-child(4) .introduce {
    top: 41.05263158vh;
    width: 52.29166667vw;
}

.section:nth-child(4) .introduce h1 {
    text-align: center;
}

.section:nth-child(4) .introduce h1,
.section:nth-child(4) .introduce p {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
}

.section:nth-child(4) .button {
    width: 48.94736842vh;
}

.section:nth-child(4) .store {
    position: absolute;
    right: 0;
    top: 41.05263158vh;
    transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    width: 10.20833333vw;
    height: 51.36842105vh;
}

.section:nth-child(4) .store a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 6.09375vw;
    height: 6.30208333vw;
    overflow: hidden;
    background-image: url(../image/storebg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.section:nth-child(4) .store a:first-child {
    top: 0;
}

.section:nth-child(4) .store a:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.section:nth-child(4) .store a:nth-child(3) {
    bottom: 0;
}

.section:nth-child(4) .store a:hover {
    background-image: url(../image/storebg1.png);
}

.section:nth-child(4) .store img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 80%;
}

/*.section:nth-child(5) {
    background-image: url(../image/bgimg5.jpg);
	height: 0px !important;
}
.section:nth-child(5) .introduce {
    top: 70.52631579vh;
    width: 62.5vw;
}

.section:nth-child(5) .introduce h1,
.section:nth-child(5) .introduce h2 {
    text-align: center;
}
*/
.section:nth-child(5) .content {
    width: 100%;
    height: 80vh;
    background-image: url(../image/bgimg6.jpg);
    background-position: center;
    background-size: cover;
}

.section:nth-child(5) .last {
    position: relative;
    width: 62.5vw;
    height: 100%;
    margin: 0 auto;
}

.section:nth-child(5) .last>* {
    position: absolute;
}

.section:nth-child(5) .title {
    top: 16.10526316vh;
    height: 12.21052632vh;
}

.section:nth-child(5) .introduce {
    top: 53%;
    width: 41.875vw;
    margin-left: 5.15625vw;
}

.section:nth-child(5) .introduce p {
    text-indent: initial;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 20vh;
    padding-top: 4vh;
    background-image: url(../image/footer.jpg);
    background-size: contain;
    overflow: hidden;
}

footer div {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(0, -46%);
    -ms-transform: translate(0, -46%);
}

footer div p {
    padding: 1vh;
    font-size: 14px;
    line-height: 1;
    color: #e1d3a4;
    text-align: center;
}