/*  reset
*************************************************/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, 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 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

:focus {
  outline: 0;
}

ol, ul {
  list-style: none;
}

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

blockquote, q {
  quotes: none;
}
/*
hr {
  display: none;
}
*/
/*  typography
*************************************************/

body {
  background-color: #fff;
  color: #707070;
  font-size: 75%;
  font-family: Arial,Helvetica,Verdana,sans-serif;
  line-height: 1,5;
}

h1,h2,h3,h4,h5,h6 {
  color: #666;
  font-family: Arial,Helvetica,Verdana,sans-serif;
}

h1 {
  background: #e5e5e5;
  font-size: 1.6667em;
  font-weight: lighter;
  line-height: 1.8;
  margin: 0 -.6em .9em -.6em;
  padding: 2em .6em .9em .6em;
  width:523px;
}

h2 {
  font-size: 1.6667em;
  line-height: 1.8;
  margin-bottom: .9em;
}

h3 {
  font-size: 1.5em;
  line-height: 1;
  margin-bottom: 1em;
}

h4 {
  font-size: 1.3333em;
  line-height: 1.125;
  margin-bottom: 1.125em;
}

h5 {
  font-size: 1.1667em;
  line-height: 1.2857;
  margin-bottom: 1.2857em;
}

h6 {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 1.5em;
}

p {
  color:#707070;
  margin: 0 0 1.5em;
}

p.last {
  margin-bottom: 0;
}

p img {
  float: left;
  margin: 1.5em 1.5em 1.5em 0;
}

img {
  margin: 0 0 1.5em;
}

a {
  color: #878787;
  text-decoration: none;
}

a:focus,a:hover {
  color: #000000;
  text-decoration: underline;
}

/*  lists
*************************************************/
/*
ul,ol {
  margin: 0 1.5em 1.5em 1.5em;
}

ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal;
}

li ul,li ol {
  margin: 0 1.5em;
}

dl {
  margin-bottom: 1.5em;
}

dl dt {
  font-weight: bold;
}

dd {
  margin-left: 1.5em;
}
*/
/*  forms
*************************************************/
label {
  float: left;
  width: 7em;
  padding: 0 1em;
  text-align:right;
}

/*
input, textarea {
  width: 150px;
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 1px;
  color: #333;
}
*/
/*  layout
*************************************************/
#container {
  background: #FFF;
  margin: 2em auto;
  border:1px solid #FFF;
  width: 930px;
}

#head {
  margin-bottom: 1px;
}

#banner {
  margin: 0 1px;
}

#box, #banner, #pic1 {
  float: left;
}

#box img, #banner img, #pic1 img {
  float: left;
  margin-bottom: 0;
}

#main {
  background: url(../img/main_bg.png) repeat-y;
  clear: both;
  position: relative;
  width: 930px;
}

#left {
 /* border-top: 20px solid #ffed00;*/
  float: left;
  padding-bottom: 1px;
  width: 190px;
}

#center {
  /*border-top: 20px solid #ffed00;*/
  float: left;
  margin: 0 1px;
  width: 548px;
}

#right {
  float: left;
  width: 190px;
}

#pic2 img, #pic3 img {
  border-bottom: 1px solid #fff;
  float: left;
  margin-bottom: 0;
}

#content {
  height: auto;
  min-height: 500px;
  padding: 0 1em 2em;
}

*html #content {
  height: 500px;
}

#footer {
  background: #E5E5E5;
  border-top: 5px solid #ffed00;
  bottom: 0;
  color: #707070;
  position: absolute;
  padding: 2px 0;
  text-align: center;
  width: 548px;
  font-size: 11px;
}

#footer p a {
  color: #000;
}

#footer p a:focus, #footer p a:hover {
  color: #000;
}

#menu {
  border-top: 1px solid #fff;
  line-height: 2;
}

#menu ul li {
  display: inline;
}

#menu ul li a {
  color: #707070;
  display: block;
  padding-left: 10px;
  text-decoration: none;
  width: 180px;
  border-bottom: 1px solid #fff;
}

#menu ul li a:hover {
  color: #000;
  background-color:#ffed00;
}

#menu ul ul li a {
  color: #000;
  display: block;
  padding-left: 20px;
  text-decoration: none;
  width: 170px;
  border-bottom: 1px solid #fff;
}

#menu ul ul li a:hover {
  color: #000;
  background-color:#ffed00;
}

#menu ul li a.active {
  color: #000;
  background-color:#ffed00;
}

/*  clearing without extra markup 
*************************************************/
.clear,#main,#head {
  display: inline-block;
}

.clear:after,#main:after,#head:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

* html .clear,* html #main,*html #head {
  height: 1%;
}

.clear,#main,#head {
  display: block;
}
