@import url('./base.css');

/* 按钮样式 */
.btn-secondary {
    background: #fff;
    border-color: #ebedf2;
}
.btn-secondary:hover {
    color: #007bff!important;
    border-color: #ebedf2;
    background-color: #f4f5f8;
}
.btn-info {
    color: #fff!important;
    background-color: #36a3f7;
    border-color: #36a3f7;
}
.btn-info:hover {
    color: #fff!important;
    background-color: #1192f6;
    border-color: #0a8cf0;
}

/* 主体 */
.main-body{
    margin-left: 1.5em;
    border: 1px solid #e8e8e8;  
}
.main-body > .card{
    border:none;
    border-radius: 0;
}
.main-body > .card > .card-header{
    border-radius: 0;
    border-bottom-color: #e8e8e8;
    padding-left:0;
}
.main-body > .card > .card-header .card-header-title{
    padding-left: 1.8em;
    position: relative;
    color: #000;
}
.main-body > .card > .card-header .card-header-title::before{
    position: absolute;
    top:15%;
    left:1em;
    bottom: 15%;
    width:3px;
    height: auto;
    content: '';
    background-color: #dc3545;
}
.main-body > .card > .card-header ul{
    font-size: 12px;
    color: #999;
}
.main-body > .card > .card-header ul li{
    padding-right: 1em;
    margin-right: 1em;
    position: relative;
}
.main-body > .card > .card-header ul li::after{
    position: absolute;
    top:10%;
    right:0;
    bottom:10%;
    width:1px;
    height: auto;
    content: '';
    transform: rotate(30deg);
    background-color: #d5d5d5;
}
.main-body > .card > .card-header ul > :last-child{
    padding-right: 0;
    margin-right: 0;
}
.main-body > .card > .card-header ul > :last-child::after{
    display: none;
}
.main-body > .card > .card-header ul li a{
    color:#007bff;
}
.main-body > .card > .card-header ul li a:hover,
.main-body > .card > .card-header ul li a:active{
    color: #e83e8c;
}
.main-body > .card > .card-body{
    padding:0;
    min-height: 38em;
}

/* 侧边栏 */
.main-sidebar{
    width:300px;
}
.main-sidebar .card{
    border-radius: 0;
}
.main-sidebar .card-header{
    border-radius: 0;
}
.main-sidebar .card-body{
    padding: 1em;
}

/* 侧边栏的文章列表 */
.main-sidebar .news{
    margin:0;
}
.main-sidebar .news li{    
    font-size: 14px;
    line-height: 20px;
    padding:.6em 0;
    border-bottom: 1px dashed #e8e8e8;
}
.main-sidebar .news li.active a{
    color:#e83e8c;
}
.main-sidebar .news li.active a::before{
    background-color: #e83e8c;
}
.main-sidebar .card .news li > .date{
    font-size: 14px;
    color: #999;
    margin-left: 1em;
    font-family: Arial, Helvetica, sans-serif;
}

/* 单页 */
.onepage{
    padding:40px;
    color:#555;    
}
.onepage p{
    line-height:2em;
    margin-bottom:2em;
}
.onepage p:last-child{
    margin-bottom: 0;
}
.onepage img{
    max-width: 100%!important;
}

/* 文章列表 */
.news-text{
    padding: 4em;
}
.news-text ul{
    overflow: hidden;
}
.news-text li{
    padding:.6em;
    /* border-bottom: 1px dashed #e8e8e8; */
}
.news-text li > p{
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    margin-bottom: 0;
    width: 0;
}
.news-text li a{
    color: #007bff;
}
.news-text li a:hover{
    color: #e83e8c;
}
.news-text li > span{
    font-size: 13px;
    color: #999;
    margin-left: 1em;
}
.news-text hr{
    border-top: 1px dashed #e8e8e8;
    margin: 2em 0;
}
.news-text hr:last-child{
    display: none;
}

/* 文章列表 缩略图列表 */
.news-pic{
    padding:3em;
}
.news-pic li:nth-child(n + 4){
    margin-top: 20px;
}
.news-pic li a,
.news-pic li a span{
    display: block;
}
.news-pic li a .img{    
    position: relative;
    transition: all .15s ease-in-out;
}
.news-pic li a .img::after{
    content: '';
    padding-bottom: 75%;
}
.news-pic li a .img img{
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    padding:4px;
}
.news-pic li a .title{
    text-align: center;
    line-height:1.8em;
    font-size:14px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.news-pic li a:hover .img{
    border-color:#FF4000!important;
}
.news-pic li a:hover .title{
    color:#FF4000;
}


/* 文章列表 缩略图+标题+简介 */
.news-detail{
    padding:2em;
}
.news-detail .item{
    padding:1em;
    border-bottom: 1px dashed #e8e8e8;
    margin-bottom: 1em;
}
.news-detail .item:last-child{
    margin-bottom: 0;
}
.news-detail .item:hover{
    background-color: #f5f5f5;
}
.news-detail .item .thumb{
    width:180px;
    height:135px;
    margin-right: 1em;
}
.news-detail .item-title{
    line-height: 1em;
    padding:.5em 0;
    margin-bottom: .5em;
    font-size: 20px;
}
.news-detail .item-detail{
    font-size: 14px;
    line-height:2em;
    max-height:6em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #999;
}

/* 文章展示页 */
.news-show{
    padding:2em;
}
.news-show .item-title{
    color: #000;
    margin-bottom: 32px;
    text-align: center;
    font-weight: bold;
}
.news-show .item-header{
    color: #5470a8;
    font-size: 20px;
    padding:.8em 0;
    margin-top:32px;
    border-top: 1px dashed #e8e8e8;
}
.news-show .item-body p{
    line-height:2em;
    margin-bottom:2em;
}
.news-show .item-body p:last-child{
    margin-bottom: 0;
}
.news-show .item-body img{
    max-width: 100%!important;
}
.news-show hr{
    margin-top: 2em;
    margin-bottom: 2em;
    border-top: 1px dashed #e8e8e8;
}


/* 表单列表页 */
.form-list{
    padding:2em;
}
.form-list .nav-tabs{
    margin-bottom: 1.5em;
}
.form-list .nav-tabs .nav-item{
    margin-left: 1em;
}
.form-list .nav-tabs .nav-link.active{
    color:#007bff;
}
.form-list .nav-tabs .nav-btn{
    border: 1px solid transparent;
    display: block;
    padding: .5rem 1rem;
    color: #e83e8c;
}
.form-list .nav-tabs .nav-btn:hover{
    text-decoration: underline;
}
.form-list .form-news-list ul{
    overflow: hidden;
}
.form-list .form-news-list li{
    padding:.6em;
}
.form-list .form-news-list li > p{
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    margin-bottom: 0;
    width: 0;
}
.form-list .form-news-list li a{
    color: #007bff;
}
.form-list .form-news-list li a:hover{
    color: #e83e8c;
}
.form-list .form-news-list li > span{
    font-size: 13px;
    color: #999;
    margin-left: 1em;
}
.form-list .form-news-list hr{
    border-top: 1px dashed #e8e8e8;
    margin: 2em 0;
}
.form-list .form-news-list hr:last-child{
    display: none;
}

/* 表单信息 */
.submitForm{
    padding:2em;
    font-size: 14px;   
}
.submitForm-title{
    font-size: 28px;
    color:#fd7e14;
    position: relative;
    padding-left:.7em;
    margin-bottom: 1em;
}
.submitForm-title::before{
    position: absolute;
    top:15%;
    left:0;
    bottom: 10%;
    width:5px;
    height: auto;
    background-color: #dc3545;
    content: '';
}
/* photo */
.pics > [class*=col-]{
    /* padding-left: .5em;
    padding-right: .5em; */
    margin-top: 1em;
}

.pics > [class*=col-] .img{
    width:100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}
.pics > [class*=col-] img{
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom: 0;
    margin:auto;
    max-width: 100%;
    max-height: 100%;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;    
}
.pics > [class*=col-] .img:hover img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.pics > [class*=col-] .title{
    font-size: 14px;
    text-align: center;
}
.cpfl {
    text-align: center;
    margin-top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #e70012;
}
/* 地图 */
.qqMap {
    margin: 10px auto;
    width: 700px;
    height: 350px;
}