/* cssreset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{background:transparent;border:0;font-size:100%;margin:0;outline:0;padding:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}

a{color:#A64F3E;
  text-decoration:none;}
a:hover{
  color:#A3807C;}

#page{
  color:#333;
  width:960px;
  margin:0 auto 20px;
  overflow:hidden;
  font-size:15px;
  font-family:Tahoma, Geneva, sans-serif;}
.pagebody{
  float:left;
  width:770px;}
.sidebar{
  margin-top:32px;
  float:right;
  width:160px;
  height:600px;}
#header{
  background:#333;
  padding:0 20px;
  color:#fff;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  height:36px;
  line-height:36px;
  margin-bottom:20px;}
#header .logo{
  font-size:12px;}
#header .logo a{
  color:#fff;}
#header .new-post{
  float:right;
  font-weight:bold;
  color:#ccc;}
h2{
  font-size:20px;
  margin:10px 0;} 
.return{
  font-size:13px;
  float:right;} 

/* POST */
.toggle-post{
  cursor:pointer;
  font-size:18px;
  font-weight:bold;
  display:block;
  margin-bottom:5px;}
.toggle-post span{
  color:#A64F3E;}
.post-form{
  border-radius: 10px;
  background:#ddd;
  overflow:auto;
  margin:10px 0;}
.post-form p{
  line-height:1.7em;
  font-size:11px;
  color:#999;
  margin-bottom:5px;}
.post-form .field-name,
.post-form .field-code,
.post-form .field-comment{
  padding:4px 3px;
  border:1px solid #999;}
.post-form .col1{
  margin:20px 0 0 20px ;
  float:left;
  width:220px;}
.post-form .col1 img{
  vertical-align:bottom;}
.post-form .field-name{
  width:190px;}
.post-form .field-code{
  width:40px;}
.post-form .col2{
  margin:20px 0 ;
  float:left;}
.post-form .field-comment{
  height:100px;
  width:500px;}
.post-form .char-count{
  float:right;}
.post-form .char-count input{
  border-radius: 3px;
  color:#999;
  padding:3px 5px;
  text-align:right;
  font-size:11px;
  border:0;
  width:21px;}
.post-form .submit{
  width:80px;
  height:30px;}


/* ALERTS */
.alert_error,
.alert_msg{
  display:block;
  font-weight:bold;
  border-radius: 5px;
  margin:10px;
  padding:10px 20px;
  color:#fff;
  background:#70A770;}
.alert_error{
  background:#AF0202;}

/* PAGINATION*/
.pagination{
  border-radius: 10px;
  height:35px;
  line-height:35px;
  overflow:auto;
  background:#eee;}
.pagination small{
  font-size:.8em;
  line-height:.3em;}
.pagination .prev{
  margin:0 3px;
  float:left;}
.pagination .next{
  margin:0 3px;
  float:right;}
.pagination .prev a,
.pagination .next a{
  border-radius: 10px;
  background:#A64F3E;
  padding:5px 10px;
  color:#fff;}
.pagination a:hover{
  background:#000;
  color:#fff;}
.pagination .page{
  color:#333;
  margin-left:240px;
  float:left;}
.pagination .page input{
  border-radius: 3px;
  border:0;
  text-align:center;
  width:26px;}

/* POSTS */
.post{
  overflow:auto;
  border-bottom:1px solid #ccc;
  clear:both;}
.post-main{
  border-radius: 10px;
  margin:32px 0 20px;
  border:1px solid #ccc;}
.post .col1{
  font-size:11px;
  color:#999;
  line-height:1.5em;
  margin:15px 0 10px 20px;
  float:left;
  width:220px;}
.post .col2{
  margin:15px 0 10px;
  width:510px;
  float:left;}
.post .name{
  font-size:15px;
  color:#333;}
.post .msg{
  line-height:1.3em;
  min-height:30px;
  color:#000;
  margin-bottom:10px;}
.post .meta{
  font-size:11px;}
.post .meta small{
  font-size:.8em;
  color:#999;}
.post .meta .comment-count,
.post .meta .like,
.post .meta .dislike{
  float:left;
  margin-right:10px;}
.post .meta .like,
.post .meta .dislike{
  background:url('/images/sprite.png') no-repeat;
  height:15px;
  width:15px;
  display:block;
  padding-left:18px;
  float:left;}
.post .meta .dislike{
  background-position:0 -97px;}





