body { font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif; word-wrap: break-word;}
body { background-color: #F4F4F4;}

/* common */

img { height: auto; max-width: 100%; }

.img-circle {transition: 0.4s ease-in-out;-moz-transition: 0.4s ease-in-out;-webkit-transition: 0.4s ease-in-out;transform: rotate(0deg);-moz-transform: rotate(0deg);/* -webkit-transform: rotate(0deg); */}
.img-circle:hover{transform:rotate(45deg); -moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);}

a { color: #000; text-decoration: none; }
a:hover, a:focus, a:active { text-decoration: none; }
ul,li,h1,h2,h3,p,ol { padding: 0; margin: 0; list-style: none; }
.m10 { margin: 10px; }
.mt20 { margin-top: 20px;}
.mb6 { margin-bottom: 6px;}
.mb10 { margin-bottom: 10px;}
.mt40 { margin-top: 40px;}

.pdl10 {padding-left: 10px;}
.pd20{padding:20px;}
.pd50{padding:50px;}

.fl { float: left; }
.fr { float: right; }
.clear { clear: both; }
.noborder  {border: 0 !important; }

.praise_icon { display: inline-block; background: url(../images/praise.png) no-repeat; width: 16px; height: 16px; margin: 0 5px -3px 0; }
.comment_icon { display: inline-block; background: url(../images/comment.png) no-repeat; width: 16px; height: 16px; margin: 0 5px -3px 0; }

/* bootstrap extend */
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
	background-color: #6fbef7; border-color: #6fbef7;
}
.pagination>li>a, .pagination>li>span {
	color: #999; background-color: #fafafa; border-color: #e6e6e6;
}
.pagination>li:first-child>a, .pagination>li:first-child>span {
	border-top-left-radius: 2px; border-bottom-left-radius: 2px;
}
.pagination>li:last-child>a, .pagination>li:last-child>span {
	border-top-right-radius: 2px; border-bottom-right-radius: 2px;
}

.list-group-item {border-color: #ebebeb;}
.list-group-item:last-child {
	margin-bottom: 0;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
}
.list-group-item:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.panel {border-radius: 2px;}
.panel-default {
	border-color: #ebebeb;
}

label {font-weight: normal;}
.label-violet {background-color: #A576F7;}
.label-danger {background-color: #F56864;}

.form-control {border-radius: 2px; box-shadow: none!important; -webkit-box-shadow: none!important;}
.btn {padding: 6px 18px; border-radius: 2px;}
.btn-success { color: #fff; background-color: #1cba11; border-color: #5cb85c; }
.btn-primary { color: #fff; background-color: #00aed1; border-color: #428bca; }
.btn-xs {padding: 1px 5px;}

/* nav 导航 */
.navbar-inverse { background-color: #39424e; border-color: #39424e; border-radius: 0; margin-bottom: 0;}

.navbar-inverse .navbar-nav > li > a { color: #DADFE8; padding-left: 20px; padding-right: 20px;}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus { color: #fff; background-color: #232931; }

/* bootstrap extend end */

.search-box { position: relative;}
.search-box input {margin: 0; background-color: #f2f2f2; border-radius: 15px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease; -ms-transition: all 0.3s ease; transition: all 0.3s ease;}
.search-box .search-btn {position: absolute; right: 18px; top: 12px; font-size: 18px; color: #999; background-color: transparent;
	border: none; outline: none;}
.search-box .search-btn:hover {color: #5F8FDC; }
.search-box input:hover {background-color: #fff;}


/* 登录弹出层 */
/* login */
.login{position:relative;height:32px;line-height:32px;margin:8px 20px 0 0;display:inline;}
.login li{float:left;display:block;}
.login li a{text-align:center;font-size:14px;float:left;display:block;width:70px;height:32px;line-height:32px;background:#505050;color:#acacac;}
.login .reg a{background:#6BC30D;color:#fff;}
.loginmask{width:100%;height:100%;z-index:8;background:#000;position:fixed;top:0;left:0;display:none;}
/* loginalert */
#loginalert{width:440px;background:#fff;position:fixed;top:-600px;left:50%;margin-left:-220px;_margin-left:500px;z-index:1051;display:none;}
.closealert{width:20px;height:20px;cursor:pointer;background:url('../images/icons.png') no-repeat -220px -315px;-webkit-transition:all 0.4s ease-out;-moz-transition:all 0.4s ease-out;-o-transition:all 0.4s ease-out;transition:all 0.4s ease-out;}
.closealert:hover{transform:rotate(-180deg);-moz-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);-o-transform:rotate(-180deg);}
.loginwrap{width:340px;margin:0 auto;}
.loginh{height:40px;margin-top:20px;}
.loginh .fl{font-size:30px;line-height:40px;color:#292929;}
.loginh .fr{font-size:18px;line-height:50px;color:#707070;}
.loginh .fr a{font-size:18px;line-height:50px;color:#FF4200;margin-left:5px;}
.loginwrap h3{font-size:14px;font-weight:500;height:22px;margin-top:15px;color:#292929;}
.loginbtn{color:#6B6A6A;height:70px;overflow:hidden;}
.logininput input{display:block;height:34px;width:100%;border:#DAE2E5 1px solid;text-indent:10px;overflow:hidden;color:#979696;padding-top:13px;padding-bottom:13px;}
.logininput .loginusername{margin-top:15px;margin-bottom:10px;}
.loginsubmit{width:130px;height:40px;margin:15px 20px 0 0;display:inline;}
.loginsubmit .btn{width:130px;height:40px; padding: 0; line-height:40px;overflow:hidden;color:#fff;background:#70CA10;display:block;text-align:center;font-size:20px;border:none;font-family:'微软雅黑';cursor:pointer;}
.loginpd{border-bottom:1px solid #ecf2f5;}
.thirdlogin .pd50{padding-top:30px;padding-bottom:30px;}
.thirdlogin h4{color:#6B6A6A;font-weight:500;margin-bottom:20px;}
.thirdlogin ul li{display:inline;float:left;margin:0 20px 10px 0;}
.thirdlogin ul li a{display:block;float:left;height:40px;line-height:40px;width:160px;color:#fff;text-indent:60px;}
#sinal a{background:#d63b22 url('../images/weibo.png') no-repeat 0px -5px;}
#qql a{background:#3eb0d8 url('../images/qq.png') no-repeat 0px -5px;}
.loginwrap .login_warning{height:20px;line-height:20px;overflow:hidden;background:#ff7200;color:#fff;padding:0 4px;float:left;text-align:center;font-size:12px; display:inline-block;}

/* main 首页主列表 */
.shadow-box {
	/* background-color: #fff; */
	margin-bottom: 15px;
	/* border: 1px solid #ebebeb;
	box-shadow: 0px 1px 1px rgba(209, 212, 221, 0.15); */
	border-radius: 0;
}
.no-bg {background-color: transparent;}

.filter {border-bottom: 1px solid #ebebeb;}
.filter ul { display: block; }
.filter ul li {  display: inline-block; }
.filter ul li a {padding: 0 15px; font-size: 14px; color: #8c97b2; text-decoration: none; display: block; line-height: 40px; border-bottom: 2px solid transparent; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; -ms-transition: all 0.3s ease; transition: all 0.3s ease; }
.filter ul li a.active, .filter ul li a:hover { border-bottom: 2px solid #1cba11; }

.stream-head { background-color: #fff; border: 1px solid #ebebeb; margin-bottom: 15px;}
.stream-head .user-info { float: left; margin-top: 10px; padding-left: 30px; padding-right: 30px;}
.stream-head .user-info span.avatar-80 { float: left; width: 80px; height: 80px; }
.stream-head .user-post { float: left; width: 100%;}
.stream-head .user-post > li { float: left; border-right: 1px solid #ebebeb; width: 25%;}
.stream-head .user-post > li:last-child { border-right:0; }
.stream-head .user-post > li a {border-bottom: 2px solid #FFF; text-align: center}
.stream-head .user-post > li a:hover {border-bottom: 2px solid #3fa7cb; background-color: #f2f2f2;}
.stream-head .user-post .act-icon { display: block; padding: 16px 35px; overflow: hidden; background-size: 100% 100%; background-position: center center; background-repeat: no-repeat; }
.stream-head .user-post .act-icon i { display: block; text-align: center; font-size: 35px; }
.stream-head .user-post .act-icon .tip { margin-top: 10px;}
.stream-head .user-post .act-img { color: #A576F7; }
.stream-head .user-post .act-text { color: #5EBCF2; }

.stream-list { background-color: #fff;}
.stream-blank {height: 15px; border-bottom: 1px solid #eee; background-color: #f6f6f6;}

.stream-item { margin: 0; border: 1px solid #ebebeb; padding: 25px 15px; margin-bottom:13px; box-shadow: 0px 1px 1px rgba(209, 212, 221, 0.15); position: relative;}
.stream-item:hover { background-color: #fff;}
.stream-item .summary { overflow: hidden; padding: 0; /*border-left: 1px solid #f3f3f3;*/ }
.stream-item .title { display: block; margin: 0 0 10px 0; color: #333; font-size: 18px;}
.stream-item .title  h2 {display: inline; font-weight: bold; font-size: 16px; vertical-align: -2px;}
.stream-item .title .label {font-weight: normal;}
.stream-item .author { color: #999; font-size: 13px; margin-right: 20px; float: left; line-height: 22px; vertical-align: middle;}
.stream-item .author span { margin-right: 15px;}
.stream-item .excerpt { margin: 8px 0 4px; color: #181818; font-size: 14px; line-height: 1.6; overflow: hidden; }
.stream-item .thumbs {}
.stream-item .thumbs .media { padding: 5px 5px 5px 0; margin: 0; max-height: 140px; overflow: hidden;}
.stream-item .thumbs .media a {display: block; overflow: hidden; }
.stream-item .thumbs img {max-width: 100%; display: block; transform: scale(1); transition: all 1s ease 0s; -webkit-transform: scale(1); -webkit-transform: all 1s ease 0s; }
.stream-item .thumbs a:hover img { transform: scale(1.2); transition: all 1s ease 0s; -webkit-transform: scale(1.2); -webkit-transform: all 1s ease 0s; }

.blog-rank { float: left; padding-right: 12px; font-size: 16px; text-align: center; line-height: 1.2; color: #666; }
.blog-rank .votes, .blog-rank .views, .blog-rank .user { display: block; padding-top: 0px; width: auto; height: auto; -moz-border-radius: 1px; -webkit-border-radius: 1px; border-radius: 1px; }
.blog-rank .votes { background: #f0f0f0; border: 1px solid #d9dfe9;}
.blog-rank .user { margin-bottom: 8px; }
.blog-rank .plus, .qus-rank .plus { background: #5EBCF2; color: #fff; }
.blog-rank small , .qus-rank small { display: block; font-size: 12px; }
.blog-rank span , .qus-rank span { display: block; width:90%; white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden; }

.qus-stream {}
.qus-stream .stream-item {}
.qus-stream .stream-item .summary {border-left: 0;}
.qus-rank { float: left; margin-right: 15px; font-size: 16px; text-align: center; line-height: 1.2; color: #666;}
.qus-rank .answers, .qus-rank .views { display: inline-block; padding-top: 3px; width: 45px; height: 45px; -moz-border-radius: 1px; -webkit-border-radius: 1px; border-radius: 1px;}
.qus-rank .answers { background-color: #5EBCF2; color: #fff; }
.qus-rank .answers, .qus-rank .views { border: 1px solid #d9dfe9;}
.qus-rank .foot-block {margin-top: 10px!important;}

.p-stream .stream-item  { padding: 20px 25px; }
.p-rank { margin-top: 0px; }
.counts a img{width: 20px; height: 20px;}
.p-rank  .users{}
.p-rank  .users .ava { width: 40px; height: 40px; float: left;}
.p-rank  .users .info { float: left; padding-left: 12px;}
.p-rank  .users .info strong { display: block; margin-bottom: 2px;}
.p-rank  .users .info time { color: #888; }
.p-rank  .counts {float: right; font-size: 14px; color: #888;}
.p-rank  .counts .act {margin-left: 5px;}

.comment-item > .arrow, .comment-item > .arrow:after {
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.comment-item > .arrow {
	bottom: -11px;
	left: 67px;
	margin-left: -11px;
	border-top-color: rgba(0, 0, 0, .15);
	border-width: 11px;
	border-bottom-width: 0;
	z-index: 99;
}
.comment-item > .arrow:after {
	bottom: 1px;
	margin-left: -10px;
	content: " ";
	border-top-color: #fff;
	border-width: 10px;
	border-bottom-width: 0;
}

.tags { overflow: hidden; float: left;}
.tags > li { display: inline-block; margin-right: 6px; }
.tags .tag { display: inline-block; padding: 2px 10px; color: #666; border: 1px solid #ebebeb; border-radius: 2px; line-height: 20px; font-weight: normal; font-size: 12px; text-align: center; }
/*
.tags .tag-sm { padding: 0 8px; line-height: 22px; font-size: 12px; background-color: #6ADBE8; color: #fff; border: 0; border-radius: 2px;}
*/
.tags .tag-sm { padding: 0 8px; line-height: 22px; font-size: 12px; border-radius: 2px;}
.tag[href]:hover,.tag[href]:focus{background-color:#32a5e7;color:#fff;text-decoration:none}
.tag-sm[href]:hover,.tag-sm[href]:focus{background-color:#32a5e7;color:#fff;text-decoration:none}

.foot-block {margin-top: 15px; display: block; font-size: 12px; line-height: 25px;}
.foot-block a {font-size: 12px; line-height:18px;}
.foot-block, .foot-block a {color: #6f7d95}
.foot-block .tags {white-space: nowrap;}
.foot-block .act { font-size: 12px; line-height: 22px; margin-right: 5px; padding: 2px 6px; border: 1px solid #D4DBE2; border-radius: 2px;}
.foot-block a.act {background-color: #1cba11; border-color:#5cb85c; color: #fff;}

.foot-block .act_edit { font-size: 12px; line-height: 22px; margin-right: 5px; padding: 2px 6px; border: 1px solid #D4DBE2; border-radius: 2px;}
.foot-block a.act_edit {background-color: #1cba11; border-color:#5cb85c; color: #fff;}
.foot-block .act_delete { font-size: 12px; line-height: 22px; margin-right: 5px; padding: 2px 6px; border: 1px solid #D4DBE2; border-radius: 2px;}
.foot-block a.act_delete {background-color: #FF5F5F; border-color:#e82828; color: #fff;}

/*back to top scroll button*/
.site-scroll-top { z-index: 999; position: fixed; display: none; background: url(../images/btn/icon_top.png) center center no-repeat; background-color: rgba(0,0,0,.6); border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter: alpha(opacity=80); -moz-opacity: 0.8; -khtml-opacity: 0.8; opacity: 0.8; height: 45px; line-height: 45px; width: 45px; text-align: center; bottom: 30px; right: 20px; color: #fff; font-size: 18px;}

/* -------------------------------------------------------------------
[ profile] 用户主页
*/
.profile { background:#fff; color: #333; text-align: center; padding: 45px 0 35px; margin-top: -20px; }
.profile h1 { font-size: 28px; margin: 10px 0 15px; }
.profile h2 { font-size: 16px; margin: 5px 0 15px; }

.avatar { background: #3c3c3c; -webkit-border-radius: 100px; -moz-border-radius: 200px; -ms-border-radius: 200px;
	-o-border-radius: 200px; border-radius: 200px; -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.04);
	-moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.04); box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.04);
	display: inline-block;
	transition: ease all .6s; -webkit-transition: ease all .6s; -moz-transition: ease all .6s; -o-transition: ease all .6s;
}

.avatar img { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.avatar:hover { background: #dcdcdc; box-shadow: 0 0 10px rgba(255,255,255,0.75); }

.btn-white { border: 2px solid #3c3c3c; color: #3c3c3c; text-transform: uppercase; font-weight: 700; font-size: 13px;
	padding: 6px 20px; background: transparent;
	-moz-border-radius: 30px; -webkit-border-radius: 30px; -o-border-radius: 30px; -ms-border-radius: 30px;
	transition-duration: 0.3s; -moz-transition-duration: 0.3s; -webkit-transition-duration: 0.3s; -o-transition-duration: 0.3s; -ms-transition-duration: 0.3s;
}
.btn-white:hover { background:#3c3c3c!important; color: #ffffff!important; }
.profile-navbar { background: #3c3c3c; }
.profile-navbar .content { border-top: 0px solid rgba(255,255,255,.4); }
.profile-navbar .nav { margin: 0; padding: 0; }
.profile-navbar .nav>li { float: left; margin-top: -1px; border-top: 0px solid transparent; }
.profile-navbar .nav>li  a{padding-bottom: 20px;}
.profile-navbar a { padding: 15px 20px; color: rgba(255,255,255,1.0); text-transform: uppercase; border: none; }
.profile-navbar a:hover, .profile-navbar a:active, .profile-navbar a:focus { color: #fff; background-color: transparent!important;}

.profile-navbar .nav>li.active { border-top-color: #fff; }
.profile-navbar .nav>li.active:after {
	position: absolute; bottom: 0; left: 50%;
	content: '';
	margin-left: -10px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #F4F4F4;
}
.profile-navbar .nav>li.active a { color: #fff; }
.profile-navbar .nav>li.active a:hover { color: #fff; background-color: transparent;}