/* 面包屑 */
.breadcrumb {
    padding: 20px 15px;
}

/* main */
.main {
    margin-bottom: 40px;
}
/* 目录 */
.menu-list {
    /* width: 84%; */
    padding-bottom: 10px;
    box-sizing: border-box;
    background-color: #fff;
}

.menu-list > .menu-title {
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #fff;

}

.menu-list > .item {
    position: relative;
    padding: 0 10px;
    font-size: 16px;
    color: #959595;
    text-align: center;
    cursor: pointer;
}

.menu-list > li:nth-child(2) {
    margin-top: 10px;
}

/* .menu-list > .item:hover .text{
    color: #000;
    font-weight: bold;
} */


.menu-list > .item .text {
    padding: 12px;
}

.menu-list > .item-active .text{
    font-weight: bold;
    color: #fff;
    background-color: rgb(158, 167, 178);
    /* color: #FF5722; */
}

/* main-content */
.main-content {
    min-height: 400px;
    padding: 20px;
    box-sizing: border-box;
}

.main-content > .title {
    text-align: center;
    color: #2F4056;

    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.main-content > .content {
    padding: 20px 0;
}

/* science/activity */

.article-list > .item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: .2s;
}

.article-list > .item:hover {
    background-color: rgb(247,248,250);
    transition: .2s;
}


.article-list > .item > .img-box{
    width: 180px;
    height: 120px;
    margin-right: 10px;
}


.article-list > .item > .article-info {
    width: calc(100% - 190px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-info > .title {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: .2s;
    text-align: center;
}

.article-info > .title:hover {
    transition: .2s;
    color: #c4574d;
}


.article-info > .content {
    margin-top: 10px;
    height: 48px;
    line-height: 24px;
    overflow: hidden;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-info > .content img {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.article-info > .content.rich-text  p,
.article-info > .content.rich-text  span,
.article-info > .content.rich-text  h1,
.article-info > .content.rich-text  h2,
.article-info > .content.rich-text  h3,
.article-info > .content.rich-text  strong {
    font-size: 14px !important;
    background-color: transparent !important;
    color: #666 !important;
    text-align: left !important;
    font-weight: normal !important;
}

.article-info > .foot {
    margin-top: 10px;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-info > .foot > .tag {
    color: #959595;
}

.article-content > .load-more {
    margin-top: 40px;
    text-align: center;
}

.article-content >.load-more > .load-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 38px;
}

.article-content >.load-more > .load-icon > .layui-icon {
    color: #000;
    font-size: 18px;
}

/* science / pdfBooks */

.books-wrapper {
    display: flex;
    padding: 30px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: .2s;
}

.books-wrapper:hover {
    background-color: rgb(247,248,250);
    transition: .2s;
}

.books-wrapper > .img-box {
    width: 200px;
    height: 280px;
    margin-right: 20px;
    background-color: #eee;
} 


.books-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.books-info > .title {
    height: 48px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: .2s;
}

.books-info > .title:hover {
    color: #c4574d;
    transition: .2s;
}

.books-info > .content {
    margin-top: 10px;
    height: 168px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    color: #666;
}

.books-info > .content img {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.books-info > .content p,
.books-info > .content span,
.books-info > .content h1,
.books-info > .content h2,
.books-info > .content h3 {
    font-size: 14px !important;
    line-height: 24px !important;
    color: #666 !important;
    background-color: transparent !important;
    text-align: left !important;
    font-weight: normal !important;
}

.books-info > .foot {
    margin-top: 10px;
    /* text-align: center; */
}

/* science/sciencefoot */
.footprint-content {
    min-height: 500px;
}

.map-bar {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
}

.select-box {
    width: 100%;
}

.select-input {
    display: block;
    width: 100%;
    height: 38px;
    padding-left: 10px;
    padding-right: 30px;
    cursor: pointer;
    line-height: 1.3;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    border-radius: 2px;
    border-color: #e6e6e6;
    outline: 0;
    transition: all .3s;
    box-sizing: border-box;
    color: #555;
    text-align: left;
}


.select-input:focus {
    border-color: #c9c9c9;
}

.select-box > .layui-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    transition: all .3s;
    color: #d2d2d2;
}

.select-box.select-active > .layui-icon {
    transform: rotate(180deg);
    transition: all .3s;
}

.select-list {
    position: absolute;
    left: 0;
    top: 42px;
    padding: 5px 0;
    z-index: 899;
    min-width: 100%;
    border: 1px solid #d2d2d2;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
    box-sizing: border-box;
}

.select-item-unselect {
    color: #959595;
}

.select-item {
    padding: 0 10px;
    line-height: 36px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.select-item:hover{
    background-color: #f2f2f2;
    transition: .5s all;
}


.select-item-active {
    background-color: #c4574d!important;
    color: #fff;
}

.map-box {
    position: relative;
    width: 100%;
    height: 480px;
    border: 1px solid #eee;
    box-sizing: border-box;
}

.map-box-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.map-box-bg {
    position: fixed;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    z-index: 902;
}

.map-box > .layui-icon-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% -50%);
    font-size: 36px;
    color: #6b6b6b;
}

.map-box .amap-marker-label {
  height: 24px;
  padding: 0 6px;
  line-height: 24px;
  font-size: 12px;
  color: #656565;
  border-color: #c4574d;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  cursor: pointer;
}

#map-container {
  width: 100%;
  height: 100%;
  background-color: #eee;
}
#map-container .amap-marker-label {
  height: 24px;
  padding: 0 6px;
  line-height: 24px;
  font-size: 14px;
  color: #656565;
  border-color: #009688;
  border-radius: 2px;
  cursor: pointer;
}


.scale-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 900;
    cursor: pointer;
    transition: ease .2s;
}

.scale-box:hover {
    background-color:rgba(0, 0, 0, 0.5);
    transition: ease .2s;
}

.scale-box > .layui-icon {
    font-size: 24px;
    color: #fff;
}

.map-info {
    position: relative;
    width: 320px;
    padding: 10px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: info .3s ease  1  both;
}

@keyframes info {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}

.map-info::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top: 6px solid #fff;
}

.map-info > .info-top {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.map-info > .info-top > .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-info > .info-top > .layui-icon {
    cursor: pointer;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 16px;
    text-align: center;
    transition: .2s;
} 

.map-info > .info-top > .layui-icon:hover {
    background-color: #eee;
    transition: .2s;
}

.map-info > .info-middle {
    margin-top: 10px;
    display: flex;
}

.map-info > .info-middle > .img-box {
    width: 100px;
    height: 72px;
    margin-right: 10px;
    border-radius: 2px;
}

.map-info > .info-middle > .content {
    width: 190px;
    height: 72px;
    line-height: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #6f6f6f;
    word-wrap: break-word;
}

.map-info > .info-foot {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
.map-info > .info-foot > .layui-btn {
    display: flex;
    align-items: center;
}
.map-info > .info-foot .img {
    margin-right: 2px;
    width: 14px;
    height: 14px;
}

/* 音频播放 */
.audio-box {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    z-index: 1000;
}

.audio-box .wrapper {
  width: 870px;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
}

.audio-box .wrapper .audio-btns{
  position: absolute;
  top: -32px;
  left: 0;
  height: 32px;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
}

.audio-box  .audio-close,
.audio-box  .audio-btn-zh,
.audio-box  .audio-btn-en {
  padding: 0 12px;
}

.audio-box  .audio-close:hover,
.audio-box  .audio-btn-zh:hover,
.audio-box  .audio-btn-en:hover {
  color: #c4574d;
}

.audio-box .audio-btn-active {
  color: #c4574d;
}


.audio-box  .audio {
  width: 100%;
  height: 48px;
}

/* science/activity_detail */

.main-content-detail {
    padding: 20px;
    box-sizing: border-box;
    border-top: 2px solid #2F4056;
    /* border-top: 2px solid #FF5722; */
    background-color: #fff;
}

.detail-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detail-header > .title {
    text-align: left;
    color: #2F4056;
    /* color: #FF5722; */
}

.detail-header > .address {
    display: inline-block;
    margin-top: 10px;
    color: #959595;
}

.detail-header > .address:hover {
    color: #009688;
}

.detail-header > .looks {
    margin-top: 10px;
    color: #959595;
}

.detail-header > .looks > .num {
    color: #666;
}

.detail-header > .tag {
    margin-top: 10px;
    color: #959595;
}

.detail-header > .tag > .note {
    margin-right: 12px;
}

.detail-header > .tag .layui-icon {
    margin-right: 4px;
}

.detail-header > .looks > .num {
    color: #666;
}

.detail-content {
    padding: 20px 0;
    min-height: 200px;
    color: #666;
    line-height: 24px;
    border-bottom: 1px solid #eee;
}

.detail-content > .banner-img {
    width: 100%;
    height: 427px;
    margin: 0 auto 20px;
}

.detail-content > .banner-img > .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content > .rich-text img {
    width: 80%;
    margin: 10px auto 0;
    display: block;
}



/* 媒体查询  media */

@media screen and (max-width:1200px) {
    .books-wrapper > .img-box {
        height: 276px;
    } 
    .detail-content > .banner-img {
        height: 348px;
    }
}

@media screen and (max-width: 992px) {
    .books-wrapper > .img-box {
        height: 286px;
    } 
    .detail-content > .banner-img {
        height: 360px;
    }
}

@media screen and (max-width: 768px) {
    .books-wrapper > .img-box {
        height: 286px;
    } 
    .article-list > .item {
        padding: 20px 0;
        flex-direction: column;
    }

    .article-list > .item > .img-box {
        width: 100%;
        height: 200px;
    }

    .article-list > .item > .article-info {
        width: 100%;
    }

    .article-info > .title {
        margin-top: 10px;
    }

    .article-info > .content {
        margin-top: 10px;
    }

    .article-info > .foot {
        margin-top: 10px;
    }

    .detail-content > .banner-img {
        height: 50vw;
    }
}

@media screen and (max-width: 520px) {
    .books-wrapper {
        flex-direction: column;
    }

    .books-wrapper > .img-box {
        margin: 0 auto;
    } 
    .books-info > .title{
        margin-top: 10px;
    }
    .books-info > .foot {
        text-align: center;
    }
}


/* iframe 地图 */

.draw-map-container {
  width: 100%;
  height: 760px;
  /* margin-top: 30px; */
}

.draw-map-box {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
  /* display: flex;
  flex-direction: column; */
  box-sizing: border-box;
  background-color: #fff;
}

.draw-map-top > .title {
  padding-bottom: 10px;
  color: #333;
}

.draw-map-top > .title-right {
  position: absolute;
  top: 15px;
  right: 20px;
  padding-bottom: 10px
}

.title-right > .layui-btn {
  display: inline-block;
  line-height: 30px;
  vertical-align: middle;
}

.title-right > .layui-btn:hover {
  color: #333;
  border-color: #959595;
  opacity: 1;
}

.qrcode-bar {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}


.select-input {
  display: block;
  height: 30px;
  width: 144px;
  padding-left: 10px;
  padding-right: 30px;
  cursor: pointer;
  line-height: 1.3;
  border-width: 1px;
  border-style: solid;
  background-color: #fff;
  border-radius: 2px;
  border-color: #e6e6e6;
  color: #555;
  outline: 0;
  transition: all .3s;
  box-sizing: border-box;
}


.select-input:focus {
  border-color: #c9c9c9;
}

.select-box {
  position: relative;
}

.select-box > .layui-icon {
  position: absolute;
  right: 10px;
  top: 6px;
  cursor: pointer;
  transition: all .3s;
  color: #d2d2d2;
}

.select-box.select-active > .layui-icon {
  transform: rotate(180deg);
  transition: all .3s;
}

.select-value {
  position: absolute;
  left: 0;
  top: 36px;
  padding: 5px 0;
  z-index: 899;
  min-width: 100%;
  border: 1px solid #d2d2d2;
  max-height: 300px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
  box-sizing: border-box;
}

.select-value > .img-box {
  width: 100%;
  text-align: center;
}

.select-value > .img-box > .text {
  font-size: 12px;
  color: #959595;
}

/* iframe 手绘地图 */

.draw-map {
  /* flex: 1; */
  width: 100%;
  /* box-sizing: border-box; */
  border: 1px solid #eee;
}

/*************************************************************************
  科考路线
*************************************************************************/
.root-box {
  height: 556px;
}

.root-box .root-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 2px #c9c9c9;
  overflow: hidden;
}

.map-box {
  width: 100%;
  height: 100%;
}

.root-box .root-list {
  position: absolute;
  top: 0;
  right: 0;
  width: 190px;
  height: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0 0 2px #eee;
  overflow-y: auto;
  z-index: 1;
}

.root-box .root-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.root-box .root-item .img-box {
  width: 160px;
  height: 106px;
}

.root-box .root-item .root-item-title {
  margin-top: 15px;
  max-height: 48px;
  line-height: 24px;
  overflow: hidden;
}

.root-box .root-item .root-item-label {
  line-height: 24px;
  font-size: 13px;
  color: #666;
  overflow: hidden;
}

.root-box .root-item .root-item-btns {
  padding: 6px 0;
  white-space: nowrap;
}


/* 路线信息 */
.label-box {
  margin-top: 30px;
}

.label-box .label-img {
  width: 100%;
}

.label-box .label-img .img {
  max-width: 100%;
}

.label-box .label-content {
  margin-top: 20px;
}

.label-box .label-content img{
  max-width: 100%;
}

