﻿
@import url('font-awesome.min.css');

*{margin:0;padding:0;}

body{
    font-family:Microsoft Yahei,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size:16px;
    color:#333;
    line-height:22px;  
    /*//background:#f0f0f0;*/
    background:linear-gradient(to bottom,#dcdcdc,#f0f0f0);
   
}

img{border:0px;}
ul,li{list-style:none;}
em,i{font-style:normal;}
h1,h2,h3,h4,h5,h6 {font-size: 12px; font-weight: normal; }

input{padding:5px 10px;outline:none;}
input.btn,input.delete,input.confirm { cursor:pointer; }
input.file { padding: 5px 0px; cursor: pointer; }
textarea,select{padding:5px;outline:none;}

a{ 
    text-decoration:none;     
    cursor:pointer;
    color:#333;
}
a:hover{color:#ff2800;}


.clear{clear:both;}
.left{float:left;}
.right { float: right; }

.clearfix { *zoom: 1 }
.clearfix:after { visibility: hidden; clear: both; display: block; content: "."; height: 0 }


/*登录页面*/
.login{width:400px;margin:0 auto; background:#f5f5f5;box-shadow:0 0 5px #999;border-radius:5px; padding:20px;left:50%;top:50%; margin-left:-200px; margin-top:-300px; position:absolute;}
.login .tit{text-align:center;border-bottom:1px #dcdcdc solid;padding-bottom:20px;}
.login .csstabe{width:360px; padding-top:20px;margin-left:20px;}
.login .csstabe li{ height:40px; line-height:40px; margin-bottom:8px;}
.login .cssname{ float:left; width:80px;height:40px; line-height:40px; text-align:right;}
.login .cssright{ float:left; width:280px;height:40px; line-height:40px;}
.login .cssright input{ border:1px solid #ddd; border-radius: 5px;background:#fff;}
.login .csspic img{ margin-top:10px;}

.csslogin{ padding-left:80px; margin-top:3px;font-size:16px;}
.csslogin #btnLogin{ float:left; display:block; background:#428bca; border:0; width:220px; height:40px; color:#fff; text-align:center; line-height:40px;border-radius:5px;padding:0px;font-size:16px;}
.csslogin #btnLogin:hover{background:#ff2800;}
.csslogin #lblError{ font-size:16px; }

.login p{text-align:center;}
.login p a{color:#357ebd;text-decoration:underline;}



/*头部*/

.usertop{height:80px;/* background:#E33333;color:#fff;*/}
.usertop a{color:#333;}
.usertop a:hover{color:#E33333;}

.usertop .logo{float:left;padding-left:20px;}
.usertop .logo img{float:left;height:60px;border-radius:10px;margin:10px;}
.usertop .logo p{float:left;line-height:80px;font-weight:bold;font-size:20px;}

.usertop .user{float:right;line-height:80px;padding-right:30px;}

.usertop .user .ip{margin-right:100px;}
.usertop .user .bell{margin-right:20px;}
.usertop .user .bell i{}
.usertop .user .bell span{padding:0 5px;background:#ff0000;border-radius:15px;text-align:center;color:#fff;font-size:12px;position:relative;top:-5px;}

.userbody { position:relative;}

.userleft { width:200px; position:absolute; padding:20px 30px;/*background:#f0f0f0;*/height:100%;}

/*.usernav{background:#f5f5f5;margin-bottom:20px;}
.usernav i{margin-right:5px;}

.usernav .tit{background:#dcdcdc;padding:10px;border-top-left-radius:5px;border-top-right-radius:5px;}
.usernav .list{border-bottom-left-radius:5px;border-bottom-right-radius:5px;padding:10px 0px;border:1px #dcdcdc solid;}
.usernav .list li{padding:10px;margin-left:20px;}*/

.userleft .userlist { text-align: center; }
.userleft .userlist .photo { width: 100px; height: 100px; margin: 0 auto; }
.userleft .userlist .photo img { width: 100px; height: 100px; margin: 0 auto; border-radius: 50px; }
.userleft .userlist .power { background:#333; height: 30px; line-height: 30px; padding: 0 9px; border-radius: 5px; font-size: 15px; color:#fff; display: inline-block; font-weight: 500;margin-top:15px; }
.userleft .userlist .name { font-size: 16px; font-weight: bold; color: #000; padding: 10px; }

.userleft .add {width:150px;margin:0 auto; }
.userleft .add a { display: block; background:#d9534f; color: #ffffff; border-radius: 5px; line-height: 35px; width: 100%; text-align: center; font-size: 16px; }
.userleft .add a:hover { background:#428bca; }

.userleft .nav { padding-top: 20px; font-size: 15px; line-height: 35px; width:150px;margin:0 auto; }
.userleft .nav i { font-size: 18px; margin-right: 10px; }

.userleft .nav .home{font-size:16px;}
.userleft .nav .system { margin-top: 15px; }
.userleft .nav ul { margin-left: 30px; }
.userleft .nav ul li{}
.userleft .nav p { color: #003366; font-size:16px;}
.userleft .nav li i { font-size: 15px; margin-right: 5px; }

.userleft .nav .books .new span{padding:0 5px;background:#ff0000;border-radius:15px;text-align:center;color:#fff;font-size:12px;}
.userleft .nav .books .new a:hover, .userleft .nav .books .new a.hover { color: #ff0000 !important; font-weight:bold;}
.userleft .nav a:hover, .userleft .nav a.hover { color: #E33333 !important; font-weight:bold;}


.userright {padding:20px 50px 20px 30px;margin-left:260px;min-height:1000px;background:#fff;border-radius:10px;margin-right:20px;}
.userright i{margin-right:5px;}

.userright .nav{border-radius:5px;padding:10px;width:100%;margin-bottom:10px;}
.userright .nav a{margin-right:8px;}

.projectcount { background: #fff; padding: 20px; border-radius: 10px; border: 1px #dcdcdc solid; margin-bottom:20px;}
.projectcount li{float:left;width:13%;text-align:center;}
.projectcount li strong{font-size:30px;line-height:60px;color:#ff2800;}
.projectcount li strong span{font-size:16px;}


.userright .content{padding:10px;width:100%;}

.userright .content .add{margin-bottom:20px;}
.userright .content .add a{background:#d9534f;color:#fff;border-radius:5px;padding:5px 10px;}
.userright .content .add a:hover{background:#428bca;}

.userright .content .query{margin-bottom:20px;}
.userright .content .pdelete{margin:15px 0;}

.userright .content .returntop { float: right; margin: 20px; }
.userright .content .returntop i { font-size: 18px; }


.userright input.btnquery { background:#d9534f; color: #fff; border-radius: 5px; padding:7px 20px; border: none; cursor: pointer; }
.userright input.btnquery:hover { background:#428bca; }

.userright input.btn{background:#d9534f;color:#fff;border-radius:5px;padding:10px 20px;font-size:16px;border:none;}
.userright input.btn:hover{background:#333;}

.userright input.delete { background: #333; color: #fff; border-radius: 5px; padding: 10px 20px; font-size: 16px; border: none; }
.userright input.delete:hover { background: #d9534f; }

.userright input.confirm { background: #428bca; color: #fff; border-radius: 5px; padding: 10px 20px; font-size: 16px; border: none; }
.userright input.confirm:hover{background:#333;}

.userright input.draft { background: #9d9d9d; color: #fff; border-radius: 5px; padding: 10px 20px; border: none; font-size: 16px; margin-left: 50px; cursor: pointer; }
.userright input.draft:hover { background: #333; }

.userright a.view {background: #428bca; color: #fff; border-radius: 5px; padding: 5px 10px; }
.userright a.view:hover { background: #333; }

.userright a.edit {background: #d9534f; color: #fff; border-radius: 5px; padding: 5px 10px; }
.userright a.edit:hover { background: #428bca; }

.userright a.delete {background:#333; color: #fff; border-radius: 5px; padding: 5px 10px; }
.userright a.delete:hover { background:#d9534f; }

.userright a.confirm { background:#ff0000; color: #fff; border-radius: 5px; padding: 5px 10px; }
.userright a.confirm:hover { background: #000; }



.cssSelect{float:left;}
.cssSelect li{float:left;height:35px;line-height:35px;margin-right:10px;}
.cssSelect li a{display:block;padding:0px 10px; }
.cssSelect li a.hover { background:#E33333; color: #ffffff; border-radius: 5px; }
.cssSelect li a:hover {background:#E33333; color: #ffffff; border-radius: 5px; }

.cssQuery{float:right}

.articlelist { margin-top:30px;}
.articlelist .items { padding: 20px;border-radius:5px; }
.articlelist .items:nth-child(2n+1){ background: #f5f5f5; }

.articlelist .items .photo { width: 120px; height: 90px; float: left; overflow: hidden; }
.articlelist .items .photo img { width: 120px; height: 90px; object-fit: cover; border-radius:5px;}
.articlelist .items .text { float: left; margin-left: 20px; height:90px; overflow:hidden;}
.articlelist .items .text .title { font-size: 18px; line-height: 30px; height: 30px;  overflow: hidden;font-weight:bold; }
.articlelist .items .text .date { color: #9d9d9d; margin: 10px 0; line-height: 20px; height: 20px; font-size:14px;}
.articlelist .items .text .date span { margin-right: 20px; }
.articlelist .items .text .date span.ok {  margin-right: 20px !important; padding:5px 8px; background:#dcdcdc; border-radius: 5px; font-size:12px;}
.articlelist .items .text .date span.good {  margin-right: 20px !important; padding:5px 8px; background:#dcdcdc; border-radius: 5px; color:#009b4c;font-size:12px;}
.articlelist .items .text .date span.original {  margin-right: 20px !important; padding:5px 8px; background:#dcdcdc; border-radius: 5px; color:#357ebd;font-size:12px;}
.articlelist .items .text .date span.not {background:#dcdcdc; color: #ff2800; border-radius: 5px; padding: 5px 8px;margin-right:20px !important;font-size:12px;}
.articlelist .items .text .date span.draft { background: #9d9d9d; color: #fff; border-radius: 5px; padding: 5px 8px; margin-right: 20px !important; font-size: 12px; }

.articlelist .items .text .look { color: #9d9d9d; line-height: 20px; height: 20px; font-size:14px;margin-top:10px;color:#576b95;}
.articlelist .items .text .look span{margin-right:20px;}

.articlelist .items .comment { height: 40px; line-height: 30px; text-align: right; overflow:hidden;}
.articlelist .items .comment span{float:left;color:#333;font-size:14px;width:120px;text-align:center;}

.articlelist .items .comment a.view{margin:0px 10px;font-size:15px;}
.articlelist .items .comment a.edit { margin: 0px 10px; font-size: 15px; }
.articlelist .items .comment a.confirm { margin: 0px 10px; font-size: 15px; }
.articlelist .items .comment a.delete { margin: 0px 10px; font-size: 15px; }


/*.articlelist .items .comment a.view{margin-right:15px;background:#4e6ef2;color:#fff;border-radius:5px;padding:5px 10px;}
.articlelist .items .comment a.view:hover{background:#E33333;}*/


/*.articlelist .items .text .look span { margin-right: 20px; }*/

/*.articlelist .items .comment { height: 30px; line-height: 30px; text-align: right; }
.articlelist .items .comment a { margin-right: 20px; color: #009b4c; }
.articlelist .items .comment a:hover { color: #ff2800; }*/

.booklist{margin-bottom:20px;}
.booklist li{height:30px;line-height:30px;border-bottom:1px #dcdcdc solid;padding:10px;}
.booklist li span{float:right;color:#dcdcdc;}

.bookshow{line-height:30px;}
.bookshow .title{font-weight:bold;}
.bookshow .show{margin-top:20px;}
.bookshow .date{margin-top:15px;}




.userbottom{background:#f0f0f0;height:50px;line-height:50px;text-align:center;height:100%;}

/*表格*/
table.uctable { width:100%; border-collapse: collapse;}
table.uctable tr:nth-child(2n+1) {}
table.uctable tr:nth-child(2n+1) td { background-color: #f5f5f5; }
table.uctable tr:nth-child(2n+1) td:first-child { border-top-left-radius: 5px; border-bottom-left-radius: 5px; }
table.uctable tr:nth-child(2n+1) td:last-child { border-top-right-radius: 5px; border-bottom-right-radius: 5px; }

table.uctable tr:last-child td{background:none;}

table.uctable tr td { padding: 10px; color: #333;  }
table.uctable span{font-size:14px;color:#E33333;}
table.uctable img{max-width:600px;}
table.uctable .state p{margin-top:10px;}
table.uctable p.message{font-size:15px;color:#9d9d9d;}
table.uctable p.message b{color:#cc0000;font-weight:normal;}


/*有边框的表格*/
table.listtable { width: 100%; border:1px #dcdcdc solid;border-collapse: collapse;}

table.listtable tr th a{color:blue;text-decoration:underline;}

table.listtable tr th { background: #dcdcdc; padding: 5px;   border: 1px solid #aaa;font-weight:normal;}
table.listtable tr td { padding: 8px; color: #333; text-align:center;  border: 1px solid #aaa;}
table.listtable tr td a{ color:#428bca;}


table.listtable tr:nth-child(2n+1) {background-color: #F5F5F5;}

table.listtable a.view { margin:0px 10px; font-size: 12px; padding: 5px 10px; }
table.listtable a.edit{margin:0px 10px;font-size:12px;padding:5px 10px;}
table.listtable a.delete{margin:0px 10px;font-size:12px;padding:5px 10px;}







/*分页*/
.pagelist { clear: both; text-align: left; font-size:14px;margin:30px 0px;}
.pagelist ul { list-style-type: none; }
.pagelist li { display: inline;  }
.pagelist li a { padding: 8px 15px; border: 1px #ececec solid; margin-right: 10px; border-radius:5px;}
.pagelist li a:hover { background: #E33333; color: White; text-decoration: none; }
.pagelist li span { padding: 0px 10px; border: 1px #ececec solid; border-radius:5px;}
.pagelist li .thisclass { background: #E33333; color: White; }
.pagelist li a thisclass { color: White; }


/*出错页面*/
.error{width:500px;margin:0 auto;}
.error p{margin-top:20px;}
.error p.tit{color:red;font-size:22px;font-weight:bold;}
.error p a{color:blue;text-decoration:underline;}


/*文章浏览*/
.ViewContent{text-align:justify;}
.ViewContent p,.ViewContent section{margin-top:25px;}
.ViewContent img{max-width:300px !important;}
.ViewPhoto img{width:120px !important; height:90px !important;margin-right:10px;object-fit:cover;}
.ViewSpan span{font-size:16px!important;margin-left:20px;}
