/*首页样式*/
.index-row{
    height: calc(100% - 22px);
}
.index-up-height{
    height: 60%;
    min-height: 370px;
}
.index-down-height{
    height: 35%;
}
.index-up .layui-col-lg8,
.index-down .layui-col-lg8,
.index-up .layui-col-lg4,
.index-down .layui-col-lg2{
    height: 100%;
}
/*新闻card样式*/
.index-card{
    border: 1px solid #d7d7d7;
    height: 100%;
    position: relative;
    margin: 0 5px;
    overflow: hidden;
}
.card-header{
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    color: #4D4D4D;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #d7d7d7;
    background: #e5eff9;
}
.card-body{
    height: calc(100% - 31px);
    padding: 0 10px;
    font-size: 16px;
    position: relative;
}
.news_carousel{
    float: left;
    margin: 20px 10px;
}
.news-content{
    margin-top: 10px;
}
.news-top{
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.news-title{
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    margin-top: 20px;
    color: #3A3A3A;
    font-size: 18px;
}
.news-key{
    font-size: 14px;
    color: #A7A7A7;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    margin-bottom: 15px;
}
.news-top-title:hover .news-title,
.news-top-title:hover .news-key{
    color: #0075eb;
    cursor: pointer;
}
.news-details a{
    color: #646766;
    max-height: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.news-details:hover{
    color: #6565fe;
}
.news-list{
    margin-top: 5px;
    overflow: auto;
}
.news-list li{
    height: 40px;
    overflow: hidden;
}
.news-list li a:hover{
    border-bottom: 1px solid #009bff;
}
.news-item-date{
    float:right;
    line-height: 40px;
    width: 120px;
    text-align: right;
}
.news-item-title{
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    line-height: 40px;
    padding-left: 20px;
    position: relative;
}
.news-item-title:before{
    content: "·";
    font-size: 20px;
    font-weight: 900;
    color: #ff3300;
    padding-right: 10px;
    position: absolute;
    left: 0;
}
.index-more{
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #009afd;
}
.index-more:hover{
    color: #0078E7;
}
.down-col{
    margin-top: 10px;
    min-height: 220px;
}
/*常用功能*/
.layui-carousel{
    background: transparent;
}
.erp-btn-list-left, .erp-btn-list-right{
    width: 60px;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 9;
    cursor: pointer;
    text-align: center;
}
.erp-btn-list-left{
    left: 0;
}
.erp-btn-list-right{
    right: 0px;
}
.erp-btn-list-left img, .erp-btn-list-right img{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -7px;
}
.erp-btn-list-left:hover{
    box-shadow: -5px 0px 10px -5px #CECECE inset;
}
.erp-btn-list-right:hover{
    box-shadow: 5px 0px 10px -5px #CECECE inset;
}
.erp-btn-list{
    text-align: center;
    margin: 0 40px;
    height: 100%;
    position: relative;
}
.erp-btn-list ul{
    width: 100%;
    position: absolute;
    top: 50%;
    margin-top: -45px;
}
.erp-btn-list li{
    display: inline-block;
    margin: 0 50px;
}
.list-item-nav{
    width: 90px;
    height: 90px;
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.list-item-nav img{
    width: 100%;
    height: 100%;
}
.list-item-nav span{
    position: absolute;
    width: 90px;
    display: inline-block;
    text-align: center;
    left: 0;
    bottom: 10px;
    color: #fff;
}
/*天气部分*/
.city{
    margin: 10px;
    font-size: 16px;
    color: #8f8988;
}
.update{
    font-size: 12px;
    margin-left: 10px;
    color: #a39a9a;
}
.weather-centent{
    text-align: center;
    line-height: 50px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    white-space:nowrap;
}
.weather-img{
    width: 38px;
    height: 38px;
    vertical-align: baseline;
}
.temperature{
    font-size: 3rem;
    font-weight: 600;
}
.aqi-quality{
    color: #ffffff;
    background: #3eb88a;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    font-weight: 600;
    padding: 0 10px;
}
.weather-detail{
    text-align: center;
}
.weather-detail li{
    display: inline-block;
    font-size: 16px;
    color: #8f8988;
    width: 30%;
}
.weather-detail-label{
    font-size: 12px;
    line-height: 35px;
    color: #a39a9a;
}
.aqi-num{
    color: #0077e9;
    font-size: 50px;
    font-weight: 600;
}
.aqi-info{
    width: 134px;
    font-size: 12px;
    margin-top: 10px;
    color: #8f8988;
    display: inline-block;
}
/*公告card样式*/
.index-notice{
    background-color: transparent;
    margin-top: 10px;
    font-weight: 600;
    border-bottom: 1px solid #009bff;
    height: 40px;
    overflow: hidden;
    position: relative;
    font-size: 0;
    transition:height 0.4s;
    -moz-transition:height 0.4s; /* Firefox 4 */
    -webkit-transition:height 0.4s; /* Safari and Chrome */
    -o-transition:height 0.4s; /* Opera */
}
.index-notice-active{
    height: 80px;
}
.notice-nav-bar{
    position: absolute;
    right: 5px;
    top: 0px;
    color: #393d3f;
    border: 1px solid #e6e6e6;
    padding: 10px 8px;
    font-weight: 500;
    display: none;
}
.index-notice-active .notice-nav-bar{
    transform: rotate(180deg);
}
.notice-nav-bar i{
    font-size: 18px;
}
.index-notice .layui-nav-item{
    margin-right: 10px;
}
.index-notice .layui-nav-item a{
    color: #000;
    line-height: 40px;
    padding: 0 5px;
    font-weight: 500;
    font-size: 16px;
}
.index-notice .layui-nav-item a:hover,
.index-notice .layui-this a{
    color: #1086fc;
}
.notice-content{
    margin-left: 20px;
}
.index-notice a:hover{
    background-color: transparent;
}

.nav-carousel{
    font-size: 0;
}
.nav-carousel ul{
    margin: 0 25px;
}
.nav-carousel li{
    display: inline-block;
    width: 20%;
    height: 190px;
    text-align: center;
}
.carousel-detail{
    width: 75px;
    height: 75px;
    margin: 50px auto;
    position: relative;
    display: inline-block;
}
.carousel-detail img{
    width: 100%;
    height: 100%;
}
.img-title{
    color: #ffffff;
    font-size: 16px;
    position: absolute;
    bottom: 5px;
    width: 75px;
    text-align: center;
}
.carousel-icon-postion .layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add]{
    right: 0;
}
.carousel-icon-postion .layui-carousel[lay-arrow=always] .layui-carousel-arrow{
    left: 0;
}
/*弹框样式*/
.dayer-wrap{
    margin: 0 20px;
    color: #333;
}
.layer-title{
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 50px;
}
.layer-user{
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.layer-content{
    height: calc(85vh - 240px);
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 10px;
    overflow: auto;
}
.layer-detaile{
    font-size: 16px;
    font-weight: 400;
}
.layer-img{
    text-align: center;
    width: 100%;
    overflow: hidden;
}
.layer-img{
    width: inherit;
}
.layer-file a{
    margin-right: 10px;
    color: #0099FF;
}
.layer-file a:hover{
    border-bottom: 1px solid #0099FF;
}
