:root{
    --default-color: #0565ca;
    --default-light-color: #87C6F4;
    --default-auxiliary-color: #fcfadf;
    --default-dark-color: #184c9c;
}

html,
body {
    background-color: var(--default-color);
    font-size: medium;
    margin: 0;
    padding: 0;
}

a {
    color: #333333;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--default-color);
}

a:active, a:visited {
    text-decoration: none;
}

.btn-default{
    background-color: var(--default-color);
    color: white;
}
.btn-default:hover{
    background-color: var(--default-dark-color);
    color: white;
    opacity: .8;
}
.btn-default-active{
    background-color: transparent;
    border: 1px solid var(--default-color) !important;
    color: var(--default-color);
    text-decoration: none;
}
.btn-default-active:hover{
    background-color: var(--default-dark-color);
    color: white;
    opacity: .8;
}

.navbar {
    position: relative;
    z-index: 1000;
    padding: 0 0 5px 0;
    background-position: center bottom !important;
    background-repeat: repeat-x !important;
    background-size: contain !important;
}
.navbar .container{
    position: relative;
}
.navbar-brand {
    position: absolute;
    top: 0;
    left: 0;
}
.navbar-brand .logo{
    height: 140px;
}
.navbar-collapse{
    /*background-color: #0dcaf0;*/
    flex: 1;
    justify-content: flex-end;

}
.navbar-collapse .menu-content{
    /*background-color: yellow;*/
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1000;
}
.navbar-collapse .menu-content .top-main{
    /*background-color: red;*/
    display: flex;
    justify-content: flex-end;
}
.navbar-collapse .menu-content .top-main .weather{
    text-align: right;
    padding-right: 2rem;
    margin-top: 1rem;
    height: 45px;
    flex: 1;
}
.navbar-collapse .menu-content .top-main .top-tel{
    display: flex;
    /*background-color: red;*/
    align-items: center;
}
.navbar-collapse .menu-content .top-main .top-tel .tel{
    height: max-content;
}
.navbar-nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.navbar-nav .nav-link.active{
    color: white;
    font-weight: bold;
    background-color: var(--default-light-color);
    border-radius: 2rem;
}
.navbar-expand-lg .navbar-nav .nav-link{
    padding: .5rem 1.5rem;
}


.swiper {
    width: 100%;
    height: 100%;
    --swiper-navigation-color: var(--default-color);
    --swiper-navigation-size: 30px;
    --swiper-pagination-color: var(--default-color);
}

.swiper-slide {
    text-align: center;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.list-top-ad{
    height: 600px;
}
.list-top-ad .swiper-slide{
    display: flex;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
.list-top-ad .swiper-slide .s-info{
    background-color: rgba(0,0,0,.1);
    color: white;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.list-top-ad .swiper-slide .s-info img{
    width: 80%;
    max-width: 100%;
}
.list-top-ad .swiper-slide .s-info span{
    font-size: large;
}

.list-top-ad.detail-ad{
    height: 300px !important;
}
.list-top-ad.detail-ad .swiper-slide .font-info img{
    width: 80%;
}

.title-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #eee;
}
.title-block h2{
    font-size: x-large;
    font-weight: bold;
}
.title-block .more{
    font-size: large;
}

.sidebar{
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sidebar .s-links{
    display: flex;
    flex-direction: column;
}
.sidebar .s-links .link{
    background-image: linear-gradient(#ef8532,#ec662b);
    margin-bottom: 1px;
    padding: 1rem;
    box-sizing: border-box;
    color: white;
}
.sidebar .s-links .link:hover{
    opacity: .8;
}
.sidebar .s-links .link.active{
    font-weight: bold;
    background-image: linear-gradient(#fadf4b, #fadf4b);
    color: #ef8532;
}

.article-list{
    display: flex;
    flex-direction: column;
}
.article-list .a-line{
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}
.article-list .a-line:last-child{
    border-bottom: none;
}
.article-list .a-line .l-item{
    display: flex;
}
.article-list .a-line .l-item i{
    margin-right: .5rem;
    color: var(--default-color);
}
.article-list .a-line .l-item .tit{
    font-weight: bold;
}
.article-list .a-line .l-item .time{
    margin-left: auto;
    font-size: medium;
}
.article-list .a-line .abstract{
    font-size: medium;
    padding-left: 1.5rem;
}


.article{
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}
.article h1{
    text-align: center;
    font-weight: bold;
    color: var(--default-color);
}
.article .other{
    border-bottom: 3px solid #eee;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}
.article .other span{
    margin: auto .5rem;
    font-size: medium;
    color: grey;
}
.article .description{
    padding: 1rem 2rem 1rem 0;
    line-height: 220%;
}
.article .description img{
    max-width: 100%;
    height: auto !important;
}


.product-list{
    background-color: #f8f8f8;
    padding: 1rem;
    box-sizing: border-box;
}
.product-list .p-item{
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 1rem;
    overflow: hidden;
}
.product-list .p-item .pic{
    background-color: white;
    height: 300px;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
.product-list .p-item .name{
    text-align: center;
    background-color: var(--default-color);
    color: white;
    padding: .5rem 0;
    box-sizing: border-box;
    font-weight: bold;
}

.list-page{
    background-color: var(--default-color);
}
.list-body{
    background-color: white;
    border: 1px solid #eee;
    position: relative;
    top: -4.5rem;
    z-index: 100;
    border-radius: .8rem;
    overflow: hidden;
    padding: 0;
}
.foot-links{
    /*background-color: red;*/
    position: relative;
    top: -3rem;
    display: flex;
    justify-content: space-between;
}
.foot-links .link img{
    max-width: 100%;
}



.message-block{
    background-color: #f9f9f9;
    padding: 3rem 0;
}
.message-block .m-info{
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    box-sizing: border-box;
}
.message-block .m-info h3{
    font-size: x-large;
    font-weight: bold;
}
.message-block .m-info p{
    font-size: medium;
}
.message-block .m-info h4{
    border-top: 1px dashed;
    padding: 1rem 0;
    font-size: large;
    font-weight: bold;
}
.message-block .m-info span{
    padding-bottom: .3rem;
}
.message-block .m-form{
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    box-sizing: border-box;
}
.message-block .m-form textarea{
    resize: none;
}


footer{
    background-color: var(--default-dark-color);
    padding: 1rem 0;
    color: white;
    box-sizing: border-box;
    font-size: medium;
}
footer .copyright{
    display: flex;
    justify-content: space-between;
}
footer .copyright .f-info{
    flex: 1;
    display: flex;
    flex-direction: column;
}
footer .copyright .f-info .tel{
    font-size: x-large;
}
footer .copyright .f-info span{
    margin: auto .5rem;
}
footer .copyright .f-other{
    flex-basis: 15%;
    display: flex;
    align-items: center;
}
footer .copyright .f-other .pic{
    max-width: 100%;
}

/*无线*/
.loading_main {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(235,238,238,0.0) 20%, rgb(238, 238, 238) 80%);
    padding: 3rem 0;
    color: var(--default-color);
    text-align: center;
}
.infinite-container{
    overflow: hidden;
}
.infinite-more-link{display: block;text-align: center;padding: 2rem;}
.loading_done{
    display: none;
    text-align: center;
    font-size: medium;
    color: #cccccc;
    padding: 3rem 0;
}


/*黑色*/
.modalSys .messageInfo{
    background-color: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--default-color);
    box-shadow: 0 3px 5px rgba(var(--default-color-rgb),0.1);
    border: 3px solid var(--default-color);
}
.modalSys .messageInfo .modal-body{
    display: flex;
    align-items: center;
    justify-content: center;
}
.success_html {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.success_html, .success_html .time {
    text-align: center;
}
.success_html, .success_html .time, .success_html #msg {
    display: block;
}
.success_html .time {
    font-size: 7rem;
}

/*面包屑*/
.breadcrumb{
    padding: 1rem 0;
    --bs-breadcrumb-divider-color: #ccc;
    --bs-breadcrumb-item-padding-x: .8rem
}
.breadcrumb .breadcrumb-item{
    font-weight: bold;
    display: flex;
    align-items: center;
}
.breadcrumb .breadcrumb-item i{
    margin-right: .5rem;
    color: var(--default-color);
}
.breadcrumb .breadcrumb-item a{
    color: var(--default-color);
    display: flex;
    align-items: center;
}
.breadcrumb .breadcrumb-item.active{
    font-weight: normal;
}

/*分页*/
.paginator-main{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}
.pagination{
    margin-bottom: 0;
    border: 2px solid #ffffff;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}
.pagination > .page-item > .page-link{
    color: var(--default-color);
    border-color: white;
}
.pagination > .active > .page-link{
    background-color: var(--default-color);
    border-color: var(--default-color);
}
.pagination > .page-link.ellipsis{
    color: gray;
    border-color: white;
}
.pagination > .page-link.ellipsis:hover{
    background: transparent;
}

/*上一页下一页*/
.paging-page{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
.paging-page .obj{
    flex-grow: 1;
    margin: auto .5rem;
    padding: .3rem 1.5rem;
    box-sizing: border-box;
    border-radius: 2rem;
    border: 1px solid var(--default-light-color);
    color: var(--default-color);
    -webkit-line-clamp: 1;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 200%;
}

/*当页面大于1200px 时，大屏幕，主要是PC 端-----------------------------------------------------------------------------*/
@media (min-width: 1200px) {
    html, body {
        background-color: #FFFFFF;
    }
}

/*PAD在768 和991 像素之间的屏幕里，小屏幕，主要是PAD------------------------------------------------------------------*/
@media (min-width: 768px) and (max-width: 1199px) {
    /* html,body {background-color: #ffaaff;} */
}

/*XS在小于767 像素的屏幕，主要是手机--------------------------------------------------------------------*/
@media (max-width: 767px) {
    .navbar {
        height: 90px;
        background-size: cover !important;
    }
    .navbar-brand {
        right: 0;
        display: flex;
        justify-content: center;
        margin: auto;
        top: -2rem;
    }
    .navbar-brand .logo{
        height: 105px;
    }
    .navbar-toggler{
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1005;
    }
    .navbar-collapse{
        position: absolute;
        top: 2rem;
        left: 0;
        right: 0;
        background-color: white;
    }
    .navbar-collapse .menu-content .top-main{
        display: none;
    }
    .navbar-nav .nav-link.active{
        background-color: transparent;
        color: var(--default-color);
    }

    .title-block{
        padding: 2rem .3rem 1rem .3rem;
    }

    .sidebar .s-links{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar .s-links .link{
        flex-grow: 1;
        margin-right: 1px;
        display: flex;
        justify-content: center;
    }
    .sidebar .s-links .link:last-child{
        margin-right: 0;
    }

    .product-list .p-item .name{
        text-align: center;
        margin-bottom: 0;
    }

    .list-page{
        padding: 1rem;
    }

    .message-block{
        padding: 1rem 0;
    }
    .message-block .m-info{
        padding: 1rem;
        text-align: center;
    }


    footer .copyright{
        flex-direction: column;
    }
    footer .copyright .f-info{
        align-items: center;
        font-size: small;
    }
    footer .copyright .f-other{
        flex-basis: 15%;
        display: flex;
        align-items: center;
    }
    footer .copyright .f-other .pic{
        display: none;
    }

    .list-top-ad{
        height: 250px;
    }
    .list-top-ad .font-info img{
        /*width: 90%;*/
        max-width: 100%;
    }

    .breadcrumb{
        padding: 1rem .3rem 0 .3rem;
        font-size: medium;
    }

    .article {
        padding: 2rem 1rem;
    }
    .article h1{
        font-size: x-large;
    }
    .article .other{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 0 .5rem 0;
        margin-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }
    .article .other span{
        font-size: small;
    }
    .article .description{
        padding: 0;
        font-size: medium;
        line-height: 200%;
    }

    .breadcrumb .breadcrumb-item.active{
        display: none;
    }

    .paging-page .obj {
        flex-grow: initial;
    }
    .paging-page .obj span{
        display: none;
    }

}