@charset "UTF-8";
.nyBanner p img{
  display: block;
  width: 100%;
  height: auto;
  min-height: 130px;
  object-fit: cover;
}
.nyBanner{
  position: relative;
}
main{
  /* background: url(../img/mainBg.png) no-repeat center bottom; */
  background-size: 100% auto;
}
/* 左侧导航 */
.leftNav {
  position: relative;
  z-index: 3;
  width: 2.68rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
  animation: 0.8s ease .3s 1 normal backwards running fadeInLeft;
}
.leftNav::before{
  display: block;
  content: "";
  width: calc(100% + 6px);
  height: 100%;
  border-radius: 0.3rem 0 0 0;
  border-left: 3px solid #297BCD;
  border-top: 3px solid #297BCD;
  background: transparent;
  position: absolute;
  left: -6px;
  top: -6px;
  box-sizing: border-box;
}
.leftNav h3 {
  font-size: 0.36rem;
  line-height: 0.5rem;
  font-weight: bold;
  letter-spacing: 0em;
  color: #FFFFFF;
  background: #297BCD;
  border-radius: 0.3rem 0 0;
  text-align: center;
  padding: 0.25rem 0;
  box-sizing: border-box;
}
.leftNav .sub-nav {
  position: relative;
  z-index: 2;
  padding: 0 0.25rem;
}
.leftNav .sub-nav::before{
  display: block;
  content: "";
  width: 100%;
  height: calc(100% + 0.7rem);
  background: url(../img/leftNavBg.png) no-repeat center bottom;
  background-size: 100% auto;
  position: absolute;
  left: 0;
  top: 0;
}
.leftNav .sub-nav li {
  position: relative;
  z-index: 1;
  border-bottom: 1px dashed rgba(72, 116, 203, 0.2);
  padding-left: 0.24rem;
  width: 100%;
  box-sizing: border-box;
}
.leftNav .sub-nav li:last-of-type {
  border: none;
}
.leftNav .sub-nav li.cur {
  border-bottom: 1px solid transparent;
  background: url(../img/leftNavBorder.png) no-repeat left bottom;
  background-size: 100% auto;
}
.leftNav .sub-nav li.cur::before{
  display: block;
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: #297BCD;
  position: absolute;
  right: 0;
  bottom: -1px;
}
.leftNav .sub-nav li.cur > a {
  color: #297BCD !important;
  font-weight: 700;
}
.leftNav .sub-nav li.cur .lv3 {
  display: block;
}
.leftNav .sub-nav li.cur .down {
  opacity: 1;
}
.leftNav .sub-nav a {
  position: relative;
  z-index: 2;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  padding: 0.15rem 0;
  font-size: 0.24rem;
  line-height: 0.34rem;
  color: #414141;
  -moz-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.leftNav .sub-nav a span {
  position: relative;
  z-index: 2;
}
.leftNav .sub-nav .down {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 1;
  width: .3rem;
  height: .66rem;
  background-image: url("../img/arrowIcon.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: transparent;
  background-size: 0.09rem auto;
  cursor: pointer;
  opacity: .6;
  -moz-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.leftNav .sub-nav .down.has {
  z-index: 3;
}
.leftNav .sub-nav .down.close {
  -moz-transform: rotate(90deg);
  transform: rotate(90deg);
}
.leftNav .sub-nav .lv3 {
  display: none;
  margin: -.1rem 0 0;
  padding: 0 0 .15rem;
}
.leftNav .sub-nav .lv3 a {
  height: auto;
  padding: .08rem 0 .08rem .2rem;
  font-size: 0.18rem;
  line-height: .22rem;
}
.leftNav .sub-nav .lv3 a.cur {
  color: #297BCD;
  font-weight: 700;
}
/* 内容区 */
.rightCon{
  width: calc(100% - 2.68rem);
  padding-left: 0.58rem;
  box-sizing: border-box;
  margin-top: 0.35rem;
  animation: 0.8s ease .3s 1 normal backwards running fadeInRight;
  min-height: 8rem;
}
.dqwz{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}
.dqwz h2{
  font-size: 0.3rem;
  font-weight: bold;
  line-height: 0.4rem;
  letter-spacing: 0em;
  color: #333333;
  position: relative;
  padding-left: 0.2rem;
}
.dqwz h2::before{
  display: block;
  content: "";
  width: 0.05rem;
  height: 0.3rem;
  background: #297BCD;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 1px;
}
.dqwz p,.dqwz p a{
  font-size: 0.16rem;
  font-weight: normal;
  line-height: 0.3rem;
  text-align: left;
  letter-spacing: 0em;
  color: #8c8c8c;
}
.dqwz p{
  padding-left:0.26rem;
  background:url(../img/dqwzIcon.png) no-repeat left center;
  background-size: 0.14rem auto;
  margin: 0.05rem 0;
}
/* txtList */
.txtList{
  margin-top: 0.15rem;
}
.txtList li{
  position: relative;
}
.txtList li a{
  display: block;
  width: 100%;
  border-bottom: 1px dashed #D8D8D8;
  font-family: Microsoft YaHei;
  font-size: 0.18rem;
  font-weight: normal;
  line-height: 0.72rem;
  letter-spacing: 0em;
  color: #333333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  max-height: 0.72rem;
  position: relative;
}
.txtList li a span.fr{
  font-size: 0.16rem;
  font-weight: normal;
  line-height: 0.72rem;
  text-align: right;
  letter-spacing: 0em;
  color: #666666;
  font-weight: normal;
  text-indent: 0;
  margin-left: 5px;
}
.txtList li::before{
  display: block;
  content: "";
  width: 0px;
  height: 1px;
  background: #297BCD;
  position: absolute;
  left: 0;
  bottom: 0px;
  z-index: 9;
}
/* 新书推荐 */
.bookList li{
  float: left;
  margin-top: 0.35rem;
  width: calc(25% - 0.34rem);
  margin-right: 0.45rem;
}
.bookList li:nth-of-type(4n){
  margin-right: 0;
}
.bookList li a{
  display: block;
  width: 100%;
  height: auto;
}
.bookList li a .img{
  padding: 135.32% 0 0;
}
.bookList li a .tit{
  font-size: 0.18rem;
  font-weight: normal;
  line-height: 0.28rem;
  text-align: center;
  letter-spacing: 0em;
  color: #333333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 0.56rem;
  margin-top: 0.2rem;
}
/* 内容页 */
.content{
  padding-bottom: 0.4rem;
}
.content.about{
  margin-top: 0.45rem;
}
.content.about .bt{
  margin-bottom: 0.2rem;
}
.conTop{
  padding: 0.4rem;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #D8D8D8;
  margin-top: 0.45rem;
  margin-bottom: 0.3rem;
}
.content .bt{
  font-size: 0.24rem;
  color: #333333;
  text-align: center;
  font-weight: bold;
  line-height: 0.32rem;
}
.content .conSub p{
  margin: 0.1rem 0;
  text-indent: 2em;
}
.content .conSub p,.content .conSub p span{
  font-size: 0.18rem!important;
  font-weight: normal;
  line-height: 0.38rem!important;
  letter-spacing: 0em;
  color: #333333;
  text-align: justify;
}
.content .conSub img{
  display: block;
  height: auto!important;
  max-width: 100%;
  margin: 0 auto;
}
.content .conSub video{
  display: block;
  max-width: 100%;
  height: auto!important;
  margin: 0 auto;
}
.content .prevNext{
  padding-top: 0.3rem;
  margin-top: 0.3rem;
  border-top: 1px solid rgba(41,123,205,0.2);
}
.content .prevNext a{
  display: block;
  font-size: 0.18rem;
  font-weight: normal;
  line-height: 0.36rem;
  letter-spacing: 0em;
  color: #333333;
  margin-bottom: 0.1rem;
}
.content .prevNext a span{
  font-weight: 700;
  color: #297bcd;
}
.content .prevNext a:hover{
  color: #297BCD;
  font-weight:700;
}
.content .xq{
  font-size: 0.16rem;
  font-weight: normal;
  line-height: 0.28rem;
  text-align: center;
  letter-spacing: 0em;
  color: #999999;
  margin-top: 0.2rem;
}

/* 翻页 */
#list-page {
  margin: .4rem 0 .8rem !important;
  font-family: Arial;
  text-align: center;
}
#list-page .p_pages a, #list-page span, #list-page .p_goto a {
  font-size: 14px;
  line-height: 16px;
  width: auto;
  height: auto;
  margin-top: 5px;
}
#list-page .p_pages a, #list-page .p_no_d, #list-page .p_fun_d, #list-page .p_goto a {
  padding: 9px 11px;
  color: #297BCD;
  border: 1px solid #aaa;
  border-radius: 4px;
}
#list-page .p_pages .p_no_d, #list-page a:hover, #list-page .p_goto a {
  background: #297BCD;
  font-weight: bold;
  color: #fff;
  border-color: #297BCD;
}
#list-page .p_t {
  padding: 0 2px 0 0;
  color: #777;
}
#list-page .p_first, #list-page .p_first_d, #list-page .p_last, #list-page .p_last_d {
  display: inline-block;
}
#list-page .p_pages span {
  color: #aaa;
}
#list-page .p_goto input {
  font-family: 'Arial';
  color: #333;
  border-radius: 4px;
  width: 40px;
  height: 32px;
  line-height: 32px;
  vertical-align: bottom;
}
@media only screen and (min-width: 1041px){ 
  .leftNav .sub-nav .lv3 a:hover {
    color: #297BCD;
  }
  .leftNav .sub-nav li:hover > a {
    color: #297BCD;
    font-weight: 700;
  }
  .leftNav .sub-nav li:hover .down {
    opacity: 1;
  }
  .dqwz p a:hover{
    color: #297BCD;
    font-weight: bold;
  }
  .txtList li a:hover{
    text-indent: 10px;
    color: #297BCD;
    font-weight: bold;
  }
  .txtList li a:hover span.fr{
    color: #297BCD;
  }
  .txtList li:hover::before{
    width: 100%;
  }
  .bookList li a:hover .tit{
    color: #297BCD;
    font-weight: 700;
  }  
  .leftNav ul{
    display: block!important;
  }
}
@media only screen and (max-width: 1040px){
  .leftNav{
    width: 100%;
    margin-top: 0.3rem;
    margin-bottom: 0;
  }
  .rightCon{
    width: 100%;
    padding-left: 0;
    margin-top: 0.25rem;
  }
  .leftNav ul{
    padding: 0 20px;
    display: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-radius: 0;
    background: #fff;
  }
  .leftNav h3{
    font-size: 22px;
    line-height: 50px;
    text-align: left;
    box-sizing: border-box;
    color: #fff;
    margin-left: 0;
    padding: 0 20px;
    border-radius: 0;
    position: relative;
  }
  .leftNav h3 i {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: url(../img/subNav.png) no-repeat right center;
    cursor: pointer;
    transition: all .3s;
    background-size: 100% auto;
  }
  .leftNav::before{
    display: none;
  }
  .leftNav h3 i.on{
    transform: translateY(-50%) rotate(-90deg);
  }
  .leftNav .sub-nav li.cur::before{
    display: none;
  }
  .leftNav .sub-nav li.cur{
    border-bottom: 1px dashed rgba(72, 116, 203, 0.5);
    background: none;
  }
  .leftNav .sub-nav li{
    padding-left: 0;
  }
  .leftNav .sub-nav{
    padding: 0 20px;
    border-bottom: 1px solid #eee;
  }
  #list-page{
      margin: .4rem 0!important;
  }
  .leftNav .sub-nav::before{
    display: none;
  }
  .conTop{
    padding: 0.2rem;
    margin-top: 0.25rem;
    margin-bottom: 0.15rem;
  }
  .content .prevNext{
    padding-top: 0.2rem;
  }
  .content.about{
    margin-top: 0.2rem;
  }
  .content.about .bt{
    margin-bottom: 0.15rem;
  }
}
@media only screen and (max-width: 768px){
  .bookList li{
    margin-top: 0.3rem;
    width: calc(33.333% - 0.2rem);
    margin-right: 0.3rem;
  }
  .bookList li:nth-of-type(4n){
    margin-right: 0.3rem;
  }
  .bookList li:nth-of-type(3n){
    margin-right: 0;
  }
  .content .conSub p{
    margin: 5px 0;
  }
  .content .prevNext a{
    line-height: 0.26rem;
  }
  .content .xq{
    margin-top: 0.1rem;
  }
}
@media only screen and (max-width: 560px){
  #list-page{
    margin: 0.3rem 0!important;
  }
  .leftNav h3{
    font-size: 20px;
    line-height: 42px;
    padding: 0 12px;
  }
  .leftNav h3 i{
    right: 12px;
  }
  .leftNav .sub-nav{
    padding: 0 12px;
  }
  .leftNav .sub-nav .lv3 a {
    font-size: 0.16rem;
    line-height: .22rem;
  }
  .leftNav .sub-nav a {
    padding: 0.1rem 0;
    font-size: 0.2rem;
    line-height: 0.3rem;
  }
  .leftNav .sub-nav .down{
    height: 0.5rem;
  }
  .dqwz h2{
    font-size: 0.24rem;
    font-weight: bold;
    line-height: 0.4rem;
  }
  .rightCon{
    margin-top: 0.15rem;
  }
  .leftNav{
    margin-top: 0.2rem;
  }
  .txtList li a{
    display: flex;
    flex-direction: column-reverse;
    -webkit-line-clamp: 10;
    max-height: none;
    line-height: 0.28rem;
    padding: 0.1rem 0;
  }
  .txtList li a span.fr{
    line-height: 1;
    text-align: left;
    margin-top: 5px;
    margin-left: 0;
  }
  .txtList li:first-of-type{
    padding-top: 0;
  }
  .bookList li a .tit{
    margin-top: 0.1rem;
  }
  .conTop{
    padding: 0.1rem;
    margin-top: 0.15rem;
    margin-bottom: 0.1rem;
  }
  .content .bt{
    font-size: 0.22rem;
    line-height: 0.28rem;
  }
  .content .xq{
    font-size: 0.14rem;
    line-height: 0.2rem;
  }
  .content .conSub p,.content .conSub p span{
    line-height: 0.3rem!important;
  }
  .content.about{
    margin-top: 0.15rem;
  }
  .content.about .bt{
    margin-bottom: 0.1rem;
  }
}
@media only screen and (max-width: 460px){
  .bookList li{
    margin-top: 0.2rem;
    width: calc(50% - 0.15rem);
    margin-right: 0.3rem;
  }
  .bookList li:nth-of-type(4n){
    margin-right: 0.3rem;
  }
  .bookList li:nth-of-type(3n){
    margin-right: 0.3rem;
  }
  .bookList li:nth-of-type(2n){
    margin-right: 0;
  }
}