@charset "utf-8";
/* 是一个CSS声明，用于定义文档的字符编码。这里指定的是UTF-8字符编码。 */
/* 设置body */
body{font-size: 12px;font-family:"PingFang SC", "Microsoft YaHei","Helvetica Neue",Helvetica,"Hiragino Sans GB",Arial,sans-serif;background-color: #fff;}
/* 版心 */
.w {width: 1400px;margin: 0 auto;padding: 0;}
/* 显示一行超出省略号 */
.ellipsis {overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
/* 可以对选中文本进行自定义样式设计，例如改变选中文本的背景色、文字颜色等 */
::selection{background:#06f;color:#fff;}
/* 是一个用于 Firefox 浏览器的 CSS 伪元素选择器，与 ::selection 类似，但它专为 Firefox 设计 */
::-moz-selection{background:#06f;color:#fff;}
/* 可以为输入框的占位符文本设置特定的样式，例如颜色、字体、大小 */
::-webkit-input-placeholder{text-overflow:ellipsis}

/*设置分页*/
.pagination{ width:auto; height:auto; overflow:hidden; clear:both; text-align:center;  margin:20px auto 20px auto;}
.pagination li{ min-width:32px; height:32px;text-align:center; display:inline-block; line-height:32px; margin-right:4px;border:solid 1px #d9d9d9; border-radius:4px;}
.pagination li:first-child a,.pagination li:last-child a{box-sizing: border-box;padding: 0 10px;}
.pagination li a{ width:100%; height:32px; text-align:center; line-height:32px; display:block; font-size:14px; color:#666; box-sizing: border-box; }
.pagination li:hover,.pagination li.active{ background:#C20A0A; color:#fff; border:solid 1px #C20A0A; }
.pagination li:hover a{ color: #fff;}

/* 文章详情 */
.ui-article {padding: 50px 0;width: 100%;height: auto;overflow: hidden;box-sizing: border-box;}
.ui-article h2 {line-height: 40px;font-size: 30px;text-align: center; font-weight: bold;}
.ui-art-tags {text-align: center;line-height: 35px;font-size: 16px;color: #999;border-top: solid 1px #efefef;border-bottom: solid 1px #efefef;margin: 15px auto;}
.ui-hot {width: 20px;height: 20px;line-height: 20px;font-size: 12px;background-color: #f00;color: #fff;display: inline-block;margin-left: 5px;position: relative;top: -3px;border-radius: 4px;text-align: center;}
.ui-top {width: 20px;height: 20px;line-height: 20px;font-size: 12px;background-color: #52c41a;color: #fff;display: inline-block; margin-left: 5px;position: relative;top: -3px;border-radius: 4px;text-align: center;}

/* 设置文章上一页下一页 */
.article-pager{ width:100%; height:38px; margin:15px auto 15px auto; clear:both; text-align:center;}
.article-pager li{ width:128px; height:38px; border:solid 1px #efefef; text-align:center; display:inline-block; line-height:38px; box-sizing:border-box; border-radius:4px; background:#fff; margin-right:7px;}
.article-pager li a{ width:100%; height:38px; display:block; color:#333; font-size: 13px;}
.article-pager li a span{ font-size: 13px;}
.article-pager li:hover{  border:solid 1px #C20A0A;}
.article-pager li:hover a{ color:#C20A0A;}

/* 文章详情 */
.ui-cont{line-height: 280%; font-size: 16px; font-family:"PingFang SC", "Microsoft YaHei","Helvetica Neue",Helvetica,"Hiragino Sans GB",Arial,sans-serif !important;}
.ui-cont p,.ui-cont div{font-family:"PingFang SC", "Microsoft YaHei","Helvetica Neue",Helvetica,"Hiragino Sans GB",Arial,sans-serif !important;line-height: 280%; font-size: 16px;}
.ui-cont img,.ui-cont input{ max-width: 100% !important; height: auto !important; border-radius: 4px; display: block; margin: 0 auto;}

/* 导航栏 */
.header {width: 100%;height: 90px;}
.header .w {display: flex;justify-content: space-between; align-items: center; height: 100%;}
.header .logo {font-size: 0;width: 111px;height: 59px;overflow: hidden;}
.header .logo img {width: 100%;height: 100%;object-fit: contain;}
.header .nav {flex: 1; display: block;}
.header .nav ul {display: flex;justify-content: flex-end;align-items: center;height: 100%;}
.header .nav li {height: 100%;margin-left: 100px;line-height: 90px;position: relative;}
.header .nav li a {font-size: 18px;color: #1A1A1A;}
.header .nav li a span {font-size: 18px;color: #454545;}
.header .nav li a:hover,.header .nav li a:hover span,.header .nav li.active a,.header .nav li.active a span{color: #C20A0A;}
.header .nav li .submenu {width: 250px;background-color: #fff;height: auto;position: absolute;top: 90px;left: 0;z-index: 99;display: none; max-height: 300px;overflow-y: auto;}
.header .nav li .submenu .childmenu {width: 100%;height: auto;display: flex;flex-direction: column;}
.header .nav li .submenu .childmenu a {color: #1A1A1A;font-size: 16px;padding: 0 15px;height: 45px;line-height: 45px;}
.header .nav li .submenu .childmenu .menu3 {display: flex;flex-direction: column;padding: 0 15px;}
.header .nav li .submenu .childmenu .menu3 a {font-size: 14px; color: #666;height: 30px;line-height: 30px;}
.header .nav li .submenu a:hover {background-color: #C20A0A; color: #fff;}
.header .nav li .submenu .childmenu .menu3 a:hover {background-color: #fff;color: #C20A0A;}

/* 分类 */
.classify {position: absolute;width: 44px;height: 44px;-webkit-transition: background 0.5s;-moz-transition: background 0.5s;-o-transition: background 0.5s;transition: background 0.5s;right: 15px; z-index: 99;}
.classify:hover {cursor: pointer;background-color: rgba(255, 255, 255, 0.2);}
.classify span {position: absolute;left: calc((100% - 25px) / 2);top: calc((100% - 2px) / 2);width: 25px;height: 2px;background-color: #555;}
.classify span:nth-child(1) {transform: translateY(8px) rotate(0deg);}
.classify span:nth-child(2) {opacity: 0;}
.classify span:nth-child(3) {transform: translateY(-8px) rotate(0deg);}
.classify-active span:nth-child(1) {animation-duration: 0.5s;animation-fill-mode: both;animation-name: clickfirst;}
.classify-active span:nth-child(2) {animation-duration: 0.5s;animation-fill-mode: both;animation-name: clicksecond;}
.classify-active span:nth-child(3) {animation-duration: 0.5s;animation-fill-mode: both;animation-name: clickthird;}
/*第一条线旋转动画*/
@keyframes clickfirst {
    0% {
        transform: translateY(8px) rotate(0deg);
    }
    100% {
        transform: translateY(0) rotate(45deg);
    }
}
/*第二条线淡入淡出动画动画*/
@keyframes clicksecond {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/*第三条线旋转动画*/
@keyframes clickthird {
    0% {
        transform: translateY(-8px) rotate(0deg);
    }

    100% {
        transform: translateY(0) rotate(-45deg);
    }
}
.classify-out span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outfirst;
}

.classify-out span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outsecond;
}

.classify-out span:nth-child(3) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outthird;
}

@keyframes outfirst {
    0% {
        transform: translateY(0) rotate(-45deg);
    }

    100% {
        transform: translateY(-8px) rotate(0deg);
    }
}

@keyframes outsecond {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes outthird {
    0% {
        transform: translateY(0) rotate(45deg);
    }

    100% {
        transform: translateY(8px) rotate(0deg);
    }
}
/* 分类容器 */
.asidewrap {position: fixed;top: 0px; left: 0;  right: 0;  bottom: 0; z-index: 2;display: none;background-color: #f5f5f5;padding: 0 3%; padding-top: 90px;}
.asidewrap ul {width: 100%;overflow-y: auto;height: calc(100vh - 110px);}
.asidewrap li {border-bottom: 1px solid #dcdcdc;font-size: 16px;}
.asidewrap li .asideheader {display: flex;justify-content: space-between;align-items: center;height: 60px;}
.asidewrap li .asideheader .tit {flex: 1;font-size: 16px;color: #333;line-height: 60px;}
.asidewrap li .asideheader .kz {width: 60px;font-size: 35px;font-style: normal;font-weight: normal;text-align: right;color: #666;}
.asidewrap li .asideheader .tit:hover {color: #C20A0A;}
.asidewrap li .asidecontent {padding: 0 15px;display: none;}
.asidewrap li .asidecontent a {display: block;position: relative;line-height: 44px;color: #666;font-size: 14px;padding-left: 15px;}
.asidewrap li .asidecontent a:hover {
    color: #C20A0A;
}
/* 底部栏 */
.footer {width: 100%;background-color: #262626;}
.footertop {padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2);display: flex;justify-content: space-between;}
.footertop .footerlogo {font-size: 0;width: 111px; height: 58px;overflow: hidden;}
.footertop .footerlogo img {width: 100%;height: 100%;object-fit: contain;}
.footertop .footernav {flex: 1; display: flex;justify-content: center; align-items: center;}
.footertop .footernav a {color: #fff;font-size: 18px;padding: 0 34px;border-right: 1px solid #6A6A6A;}
.footertop .footernav a:last-child{border-right: 0;}
.footertop .followme{display: flex;align-items: center;position: relative;cursor: pointer;}
.footertop .followme i {font-size: 16px;color: #B3B3B3; font-style: normal;margin-right: 12px;}
.footertop .followme span {font-size: 43px;color: #D4D4D4;}
.footerbottom {padding: 30px 0;}
.footerbottom p {text-align: center;font-size: 16px;line-height: 30px;color: #fff;}
.footerbottom  .bqwrap {display: flex;justify-content: center;font-size: 16px;line-height: 30px; color: #B3B3B3;flex-wrap: wrap;}
.upwxwrap {position: absolute;top: -120px;width: 120px;height: 120px;background-color: #fff;z-index: 99; display: none;justify-content: center; align-items: center;}
.upwxwrap::after {content: ''; position: absolute; width: 0;height: 0; border-left: 10px solid transparent;  border-right: 10px solid transparent;border-top: 10px solid #fff; bottom: -10px;left: calc(50% - 10px);}
.upwxwrap img {width: 100%;height: 100%; object-fit: contain;}

/* 暂无数据 */
.ui-nodata{ text-align: center; padding: 30px; box-sizing: border-box; overflow: hidden;}
.ui-nodata img{ display:block; margin: 0 auto;}
.ui-nodata p{ font-size: 13px; color: #666; line-height: 38px;}


/* 小型设备（电话，768px 及以下） */
@media only screen and (max-width: 768px) {
    /* 版心设置 */
    .w {width: 100%; margin: 0; padding: 0 15px;}

    /* 设置分页样式*/
    .pagination{margin:10px auto;}
    .pagination li{ min-width:22px; height:22px;line-height:22px; margin-right:4px;border:solid 1px #d9d9d9; border-radius:4px;}
    .pagination li a{ width:100%; height:22px; text-align:center; line-height:22px; display:block; font-size:14px; color:#666; box-sizing: border-box; }
    .pagination li:hover,.pagination li.active{ background:#38a0f4; color:#fff; border:solid 1px #38a0f4; }
    .pagination li:hover a{ color: #fff;}

    /* 设置文章上一页下一页 */
    .article-pager li{ height:38px; border:solid 1px #efefef; text-align:center; line-height:38px; box-sizing:border-box; border-radius:4px; background:#fff;  clear: both; width:calc((100% - 30px)/3);}
    .article-pager li:nth-child(3n){ margin: 0;}

    /* 导航 */
    .header .nav {display: none;}
    .header .classify {display: block;}
    /* 底部 */
    .footertop .footernav {display: none;}

    .ui-article {padding: 20px 0;}
    .ui-article h2 {font-size: 20px;}
    .ui-art-tags {font-size: 14px;}

}
@media only screen and (min-width: 768px) {
    /* 版心设置 */
    .w {width: 100%; margin: 0; padding: 0 15px;}
    /* 导航 */
    .header .nav {display: none;}
    .header .classify {display: block;}
    /* 底部 */
    .footertop .footernav {display: none;}
  

}

/* 大型设备（笔记本电脑/台式机，1200px 及以上） */
@media only screen and (min-width: 1200px) {
    .w {width: 1200px;margin: 0 auto;padding: 0;}
     /* 导航 */
     .header .nav {display: block;}
     .header .classify {display: none;}
    /* 底部 */
    .footertop .footernav {display: flex;}
    .banner {height: 616px;}

}

/* 超大型设备（大型笔记本电脑和台式机，1400px 及以上） */
@media only screen and (min-width: 1400px) {
    /* 版心 */
   .w {width: 1400px; margin: 0 auto; padding: 0;}
}
