/* Taken from http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
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,
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-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

body {
  background: #fff;
}
#all {
  width: 968px;
  background: white;
  position: relative;
  margin: 5px 5px;
  padding: 5px;
}
body.debugx #all {
  background: white url(/st/grid60-10.png) repeat top left;
}
#all #head {
  height: 96px;
  position: relative;
}
#all #menu {
	width: 123px;
	float: left;
  padding: 5px 0px;
}
#all #content {
  margin: 5px 0 5px 5px;
  min-height: 470px;
  padding-left: 5px;
  padding-top: 5px;
  float: left;
  width: 615px;
}
#all #foot {
	clear: both;
}

#related {
  width: 200px;
  min-height: 600px;
  position: relative;
  padding: 5px;
  background: white;
  border: 0px solid #777;
  float: right;
}

#all #head #logo {
  position: absolute;
	top: 5px;
  left: 5px;
  width: 260px;
}
#all #head #news {
  position: absolute;
	top: 5px;
  left: 280px;
  width: 370px;
}
#all #head #search {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 300px;
}
body.debug #content {
  background: white url(/st/7px.png) repeat top left;
}

body, h1,h2,h3,p,ul li {
  font-family: sans-serif;
  line-height: 21px;
  font-size: 14px;
}
h1,h2,h3,p,ul {
  margin-bottom: 14px;
}
#content ul ul {
  margin-bottom: 0;
}
#content ul {
  margin-left: 3ex;
}
#content table,
#content p {
  margin-left: 1ex;
}
h1 { line-height: 28px; font-size: 21px; color: #000; font-weight: bold; margin-bottom: 14px; margin-left: 0ex;}
h2 { line-height: 28px; font-size: 18px; color: #444; font-weight: bold; margin-bottom:  7px; margin-left: 0ex;}
h3 { line-height: 21px; font-size: 14px; color: #111; font-weight: bold; margin-bottom:  0px; margin-left: 1ex; }
h4 { line-height: 21px; font-size: 14px; color: #222; font-weight: bold; margin-bottom:  0px; margin-left: 2ex; }
h5 { line-height: 21px; font-size: 14px; color: #222; font-weight: bold; margin-bottom:  0px; margin-left: 3ex; }
h6 { line-height: 21px; font-size: 14px; color: #222; font-weight: bold; margin-bottom:  0px; margin-left: 4ex; }

#all { background-color: white; }
#head { background-color: #bde; }
#foot { background-color: #4284D3; }
#menu { background-color: white; }
#content { background-color: white; color: #222; }

#head,
#foot {
  color: #04346C;
  overflow: auto;
}
#head .name {
  font-size: 1.5em;
  margin-bottom: 0;
}
#head .name a {
  color: #04346C;
  text-decoration: none;
  display: block;
  padding: 1em;
}
#head .name a:focus,
#head .name a:hover {
  color: #5FD3B3;
}
#news {
  color: black;
}
#news h3 {
  font-weight: bold;
  margin-left: 0;
}
#head p {
  margin-bottom: 0px;
}
#news a {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
}
#menu ul li {
  line-height: 2em;
  color: black;
  text-align: right;
}
#menu ul li a:focus,
#menu ul li a:hover {
  background: #5FD3B3;
}
#menu ul li.selected strong,
#menu ul li.selected a {
  color: black;
  background-color: white;
  font-weight: bold;
}
#menu ul li strong,
#menu ul li a {
  display: block;
  text-indent: 1ex;
  background: #bde;
  color: black;
  text-decoration: none;
  border: 0px solid #274E7D;
  border-left-width: 5px;
  margin-bottom: 3px;
  padding-right: 5px;
}

#foot p {
  font-size: 0.8em;
  text-align: right;
  margin: 0;
  padding: 0 5px;
}

#content h2 a ,
#content h3 a {
  color: black;
}
#content a {
  color: #258; 
}
#content em {
  text-decoration: underline;
}
#content strong {
  font-weight: bold;
}
#content ul {
  list-style: outside;
}

#content blockquote {
  padding: 7px;
  margin: 0 2ex 0px;
}

#content blockquote p {
  width: 400px;
}
#content blockquote p.comment {
  clear: right;
  float: right;
  width: 180px;
  font-style: italic;
}

#content p.share {
  float: right;
}

#tools {
  overflow: auto;
  width: 100%;
}

#tools .widget {
   float: right;
}

#related h2 {
  border: 1px solid #274E7D;
  border-right-width: 5px;
  color: #04346C;
  background-color: #6899D3;
  padding: 5px; 
}

#content .post .postdate {
  color: #555;
}
#content table td,
#content table th {
  padding: 0 1ex;
}

#content ol {
  list-style-type: decimal;
  list-style-position: inside;
}

