body,div,dl,dt,dd,ul,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}

table {
border-collapse:collapse;
border-spacing:0;
}

address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:400;
}

ul {
list-style:none;
}
ul li{
  margin-bottom: 0.4em;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:700;
}

q:before,q:after {
content:'';
}

.clearfix:after {
content:".";
display:block;
clear:both;
visibility:hidden;
line-height:0;
height:0;
}

.clearfix {
display:inline-block;
}

html[xmlns] .clearfix {
display:block;
}

body {
  font: 1em Verdana, Arial, Helvetica, sans-serif;
  line-height: 1.2em;
  background: #ccc;
  color: #000;
  text-align: center;
  margin: 0;
  padding: 0;
}

#wrapper {
  width: 780px;
  margin: 0 auto;
  background: #fff;
  text-align: left;
  border: 1px solid #999;
}

#header, #sidebar, #navigation, #footer, #content {
  padding: 10px;
}

#header {
  background: #999;
  margin: 0;
  padding: 0;
}

#sidebar {
  float: left;
  background: #ccc;
  width: 160px;
}

#navigation {
  float: right;
  background: #ccc;
  width: 160px;
}

#content {
  margin: 0 190px;
}

#footer {
  background: #999;
  clear: both;
}
h1{
  font-size: 1.6em;
  margin: 1em 0;
}
h1 a{
  margin: 0 0 0 20px;
  color: black;
}
h5{
  font-size: 0.8em;
}
h2{
  font-size: 1.4em;
  margin: .2em 0;
}
.bimg img{
  margin: 1.2em auto;
  display:block;
}
.b{
  font-weight:bold;
}
p{
  margin-bottom: 0.6em;
}
#sidebar ul{
  font-size:0.8em;
  list-style: square inside none;
}
#sidebar ul li{
  margin-bottom: 0.2em;
}
ul li label{
  display:block;
  margin: 0.2em 0;
}
ul li input, ul li select{
  width:100%;
}
ul li textarea{
  width:100%;
  height:100px;
}
em{
  color:red;
}
div#msg{
  font-size:0.8em;
  text-align:justify;
  margin: 0 0 1em 0;
}
div#cats{
  font-size:0.8em;
  line-height:1.4em;
  text-align:justify;
}
div#cats a{
  background-color:#CCCCCC;
  line-height:2em;
  padding:2px 4px;
  text-decoration:none;
}
.error{
  color:red;
}
