html, body{
    padding: 0;
    margin: 0;
    font-family: '微软雅黑', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

p{
    padding: 0;
    margin: .9375rem 0;
}

a{
    text-decoration: none;
    color: rgb(131, 76, 4);
}
a:link, a:active{
    color: rgb(131, 76, 4);
}
a:hover{
    color: rgb(247, 143, 8);
    text-decoration: none;
}

#header-nav{
    padding: .9375rem 0;
    height: 3.625rem;
    background-image: linear-gradient(45deg,  #bd9206, #70590e);
}
.header-wrap{
    position: relative;
}

#site-title{
    font-size: 1.125rem;
    color: white;
}

#header-nav li{
    color: white;
}

#header-nav li a{
    color: rgb(250, 234, 205);
}

#header-nav li .dropdown-menu{
    background-color: #bd9206 !important;
    border-style: none !important;
    border-radius: 0 !important;
    margin-top: -0.0625rem;
}

#header-nav li .dropdown-menu a:hover{
    color: #bd9206;
}

.flex-right{
    justify-content: end;
}

.nav > li:hover .dropdown-menu {display: block;}

#carouselExampleCaptions{
    border-top: .125rem solid #fff;
    height: 31.25rem;
    overflow: hidden;
}

#carouselExampleCaptions .carousel-inner{
    height: 100%;
}

#carouselExampleCaptions .carousel-item{
    position: relative;
    height: 100%;
}

#carouselExampleCaptions .carousel-item img{
    position: absolute;
    top: -50%;
}

.bg0{
    background-color: #ffffff;
}

.bg1{
    background-color: #f5f5f5;
}
.bg2{
    background-color: #70590e;
}
.bg3{
    background-color: #080808;
}
.block-bg1{
    background-color: rgb(245, 240, 215);
    border-radius: .625rem;
}



.index-block{
    padding: 2.5rem 0;
}
.index-block h2{
    display: block;
    text-align: center;
    padding-bottom: .9375rem;
    margin-bottom: .9375rem;
    font-weight: bold;
    position: relative;
}
.index-block h2::before{
    position: absolute;
    content: '';
    height: .625rem;
    width: 3.125rem;
    bottom: .3125rem;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 3.125rem;
    background-color:  rgb(131, 76, 4);
}

.book-cover-wrap{
    padding: 2.5rem .9375rem!important;
    justify-content: flex-start;
    justify-items: stretch;
}

.book-item-col{
    text-align: center;
    margin-bottom: 1.875rem;
}

.book-item-wrap{
    width: 10rem;
    background-color: white;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 0 10px  #cccccc;
}

.book-item-wrap .cover{
    position: relative;
    width: 100%;
    height: 10rem;
    background-image: url('/themes/theme-nianfo/assets/img/img3.jpg');
    background-position: center;
    background-size: contain;
    background-color: #f8f8f8;
    box-sizing: border-box;
    overflow: hidden;

    text-align: center;
}
.book-item-wrap .stitle{
    padding: .625rem;
}


.index-block > div.row{
    padding: .9375rem 0;
}

.block1{
    box-sizing: border-box;
    height: 31.25rem;
    overflow: hidden;
}

.pic-wrap{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.pic-wrap img{
    border-radius: .625rem;
	height: 100%;
	width: 100%;
}

.media + .media{
    position: relative;
    padding-top: 15px;
    margin-top: .9375rem;
}
.media + .media::before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: '';
    height: .0625rem;
    margin: auto;
    background-color: rgb(201, 201, 197);
}

.block-nav{
  display: flex;
  margin: 0 -15px;
  height: 2.5rem;
  justify-content: space-between;
  align-items: stretch;
  border: 1px solid #f1f1f1;;
}
.block-nav a{
    display: block;
    width: 100%;
    text-align: center;
    align-self: center;
    position: relative;
    text-decoration: none;
}
.block-nav a + a::before{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: .0625rem;
    content: '';
    background-color: #f1f1f1;
    margin: auto;
}

.block-nav + .block-bg1{
    border-radius: 0 0 .625rem .625rem;
}

.card-body + .card-body{
    position: relative;
    border-top: .0625rem solid #ccc;
}


.index-block .card{
    margin-bottom: .9375rem;
}
.card-header.bg1{
   background-color: rgb(245, 240, 215);
}

.index-block .card p{
    font-size: .875rem;
}

.index-block .card p a{
    text-decoration: none;
    color: #666;
}


.flex-wrap{
    display: flex;
    justify-content: space-between;
}

.flex-wrap .stitle{
    font-size: 1rem;
    font-weight: bold;
}

.footer-copyright{
    text-align: center;
    color: white;
    padding: .9375rem 0;
}

.footer-category{
    padding: .9375rem 0;
}
.footer-category ul{
    padding: 0 0 0 .25rem;
    margin: 0;
    font-size: 14px;
    min-width: 5rem;
}

.footer-category .stitle{
    padding: 5px 0;
}

.footer-category .stitle a{
    color: rgb(255, 251, 7);
    text-decoration: none;
}


.footer-category ul > li > a{
    color: #ccc !important;
    text-decoration: none;
}

.footer-category ul li{
    list-style: none;
    padding: 5px 0;
    font-size: .75rem;
}

.banner-wrap{
    height: 21.875rem;
    min-height: 6.25rem;
    overflow: hidden;
    background-color: #bd9206;
    background-position: top;
    background-repeat: no-repeat;
    background-size:100%;
}

.banner-wrap .jumbotron{
    background-color: transparent !important;
    color: white;
}

.min-menu{
    display: none;
}
.mark{
    display: none;
}

@media (max-width: 576px) {
    .col-sm-hidden {
        display: none;
    }
    #header-nav{
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        margin: auto;
        z-index: 10;
    }
    .section1{
        padding-top: 1.875rem;
    }
    section{
        padding: 0 .9375rem;
    }

    .banner-wrap{
        height: 6.25rem;
        margin-top: 3.5rem;
        background-size: 100% auto;
    }
    .banner-wrap .jumbotron h1{
        font-size: 1.25rem;
    }
    .banner-wrap .jumbotron p{
        font-size: .75rem;
    }
    .min-menu{
        display: inline-block;
        color: white !important;
        text-align: right;
    }
    .min-menu > span{
      color: white !important;
    }

    .min-menu .dropdown-menu{
        padding: .625rem;
        border-radius: 0;
        margin-right: -0.9375rem;
        height: 34.375rem;
        overflow-y: auto;
    }
    .min-menu ul{
        margin: 0;
        padding: 0;
    }
    .min-menu ul > li{
        padding-left: .9375rem;
    }
    .min-menu ul > li > a{
        color: #70590e !important;
    }
    .min-menu  .dropdown-menu > div + div{
        padding-top: .625rem;
        margin-top: .625rem;
        position: relative;
    }
    .min-menu  .dropdown-menu > div + div ::before{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        content: '';
        height: .0625rem;
        background-color: #ccc;
        margin: auto;
    }

}

.post-list > .card{
    position: relative;
}

.post-list > div.card > p{
    font-size: .875rem;
}

.post-list > .card + .card{
    margin-top: .625rem;
}

.post-list .card-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
} 

.post-list .card-title *{
    align-self: center;
}

.post-list .card-title span{
    font-size: .75rem;
    color: #666;
}

.category-tree{
    position: relative;
    height: 100%;
    background-color: #E9ECEF;
    border-radius: .3125rem .3125rem 0 0;
    padding: 1px;
}
.category-tree > .title{
    padding: .6875rem;
    font-size: 1rem;
    font-weight: bold;
}
.category-tree >ul, .category-tree>div.post-list{
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    padding: .3125rem;
    background-color: white;
}
.category-tree > ul > li{
    list-style: square;
    padding: .625rem .25rem;
    margin-left: 1.875rem;
    color: #70590e;
    display: flex;
    justify-content: space-between;
}

.category-tree > ul > li > a{
    text-decoration: none;
}

.category-tree > ul > li + li{
    position: relative;
}

.category-tree > ul > li + li ::before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: '';
    height: .0625rem;
    margin: auto;
    background-color: #E9ECEF;
}



.category-tree > ul > li > span{
    display: inline-block;
    padding: .125rem;
    border-radius: .625rem;
    background-color: #E9ECEF;
    font-size: .75rem;
    color: #999;
}


.category-list .card + .card{
    margin-top: .9375rem;
}

.category-tree>div.post-list > ul {
    margin: 0;
    padding: 0;
}

.category-tree>div.post-list > ul > li{
    padding: .625rem 0;
    font-size: .875rem;
    list-style: none;
    position: relative;

}

.category-tree>div.post-list > ul > li > span{
    display: inline-block;
    padding: .125rem;
    border-radius: .625rem;
    background-color: #E9ECEF;
    font-size: .75rem;
    color: #999;
}

.category-tree > div.post-list > ul > li + li::before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: '';
    height: .0625rem;
    margin: auto;
    background-color: #E9ECEF;
}

.pageInfo{
    margin-top: .9375rem;
}

.flex-auto{
    flex-grow: 1;
}

.post-list .card-text a:link{
    color: #666 !important;
}

article{
    margin-top: .625rem;
    padding: .9375rem;
    background-color: #f8f8f8;
    border-radius: .3125rem .3125rem 0 0;
}
article h1{
    font-size: 1.5625rem;
    text-align: center;
}

article > div.content{
    font-size: .875rem;
    padding: 15px;
    background-color: white;
    border-radius: .3125rem .3125rem 0 0;
}

article > div.content p{
    text-indent: 2.1875rem;
}

.post_info{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: .9375rem 0;
    margin: .9375rem 0;
}

.post_info > div{
    font-size: .875rem;
    color: #666;
}

.post_info > div > span{
    color: black;
    display: inline-block;
}

.post_info ::before{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f1f1f1;
    content: '';
    height: .0625rem;
    margin: auto;
}
.post_footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: .9375rem 0;
    margin: .9375rem 0;
}
.post_footer ::before{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-color: #f1f1f1;
    content: '';
    height: .0625rem;
    margin: auto; 
}


