body {
	font:16px Tahoma, Geneva, sans-serif;
	color: #555}
body, h3, .sidebar ul li, .footer-content {background: #DDD}
img {max-width: 100%;height:auto}

* {margin:0;padding:0}

/** element defaults **/
table {width: 100%;text-align: left}

th, td {padding: 10px}

th {color: #fff;background: #009 none repeat-x scroll left top}

td {border-bottom: 1px solid #ccc}

code, blockquote {
	display: block;
	border-left: 5px solid #222;
	padding: 10px;
	margin-bottom: 20px}
code {
	background: #222;
	color:#ccc;
	border: none}
blockquote {border-left: 5px solid #222}

blockquote p {
	font-style: italic;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0;
	color: #333;
	height: 1%}

p {
	line-height: 1.9em;
	margin-bottom: 20px}

a {color: #009}

a:hover {color: #006}

a:focus {outline: none}

a.button { 
    background: #009;
    border-radius: 5px;
    color: #FFF;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 15px;
    text-decoration: none;
    text-transform: uppercase}

a.button:hover {background: #006}


fieldset {display: block;border: none;border-top: 1px solid #ccc}

fieldset p {margin-bottom: 5px}

fieldset legend {
	font-weight: bold;
	font-size: 13px;
	padding-right: 10px;
	color: #333}

fieldset form {padding-top: 15px}

fieldset p label {float: left;width: 150px}

form input, form select, form textarea {
	padding: 5px;
	color: #333;
	border: 1px solid #ddd;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	background:#fff;
	font:13px Arial, Helvetica, sans-serif;width:90%}

form input.formbutton {
	border: none;
	background: #009;
	color: #fff;
	font-weight: bold;
	padding: 6px 10px;
	font:12px Tahoma, Geneva, sans-serif;
	letter-spacing: 1px;
	width: auto;
	overflow: visible}

form.searchform input {font-size: 15px;padding: 6px;width:92%}

form.searchform p {margin: 5px 0}


span.required {
	color: #f00}

h1 {
	color: #000;
	font-size: 35px}

h2 {
	color: #FFF;
	font-size: 30px;
	letter-spacing: 0px;
	font-weight: normal;
	padding: 0 0 5px}

h3 {
	color: #009;
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 10px;
	letter-spacing: -1px;padding:5px}

h4 {
    color: #009;
    font-size: 18px;
    font-weight: normal;
    padding-bottom: 10px;
    text-transform: uppercase}

h5 {
	padding-bottom: 10px;
	font-size: 16px;
	color: #999}

ul, ol {
	margin: 0 0 35px 35px}

li {
	padding-bottom: 5px}

li ol, li ul {
	font-size: 1.0em;
	margin-bottom: 0;
	padding-top: 5px}

#container {
	max-width: 960px;
	padding: 10px;
	background: #fff}

header {
	padding: 0 0 10px;
	margin: 0 auto;
	text-align:center;
	float:left;
	width:40%}

header h1 {font-size: 20px;
    font-weight: normal;
    letter-spacing: -1px;
    line-height:30px}
header h1 a, header h1 a:hover {text-decoration: none;color: #009}
header h1 a span { color: #666}

header h2 {
	color: #999;
	font-size: 13px;
	position: relative;
	top: -5px}

nav {
	background: #009;
	float:right;
	width:60%}

nav ul {
	list-style: none;
	margin: 0}

nav ul li {
	float: left;
	display: block;
	padding: 0}

nav ul li a {
    color: #eee;
    display: block;
    font-size: 13px;
    margin: 0;
    padding: 20px 10px;
    text-decoration: none;
    text-transform: uppercase}
nav ul li.selected a,
nav ul li.selected a:hover { 
	background: #006;
	color: #fff; 
	font-weight:bold;
	font-size:14px}

nav ul li a:hover {
	color: #fff;
	background: #006}

@media only screen and (min-width: 741px) {
header h1 {font-size: 31px} #container {margin: 20px auto}
nav ul li a {padding: 55px 25px 47px}
nav ul li.selected a {padding: 56px 25px 50px}
form input, form select, form textarea {width:70%}}

@media screen and (min-width: 550px) {
header {width:28%} nav {width:72%} header h1 a, header h1 {line-height:45px}}
 
@media screen and (max-width: 741px) and (min-width: 550px) {
header h1 {font-size: 25px}
nav ul li a {padding: 55px 10px 47px}
nav ul li.selected a {padding: 56px 10px 50px}}

#body {
	margin:0 auto;
 	clear: both}

#content {
    float: right;
    width: 72%}

article {
    border-bottom: 2px solid #ddd;
    padding: 10px 10px 20px 10px}

article h2 { 
    padding:3px 5px; background: #68C;margin-bottom: 10px}

article .article-info {
    color: #999;
    font-size: 12px;
    font-style: italic;
    padding: 0 0 10px 0}

article .article-info a { 
	color: #666}

.sidebar {
    float: left;
    width: 28%;
	margin-top: 10px}

.sidebar h4 {
	padding-bottom: 0;
        font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #333;
	text-transform: none;
	font-weight: bold;
	padding: 7px 7px;
	border-bottom: 1px solid #eee;
  	background: #ccc}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none}

.sidebar ul li {
	margin-bottom: 20px;
	line-height: 1.9em}

.sidebar li ul {
    list-style: none outside none;
    margin: 0px}

.sidebar li ul li {
	display: block;
	border-top: none;
	padding: 7px;
	margin: 0;
	line-height: 1.5em;
	border-bottom: 1px solid #ddd;
	font-size: 13.5px}

.sidebar li ul li.text { 
	border-bottom: none}

.sidebar li ul li a {
	font-weight: normal}

.sidebar li ul li a:hover {
}


.sidebar li ul li a.readmore {
   color: #009;
   font-weight: bold}

.clear {
	clear: both}

footer {
	margin:20px auto 0;
	width: 100%}

footer p {
	text-align: left;
	color: #ccc;
	font-size: 12px;
	margin: 0}

footer p a {
	color: #ccc;
	font-weight: bold}

.footer-content {
	padding: 20px 25px 30px;
	border-top: 10px solid #006}

footer .footer-content ul {
	width: 27%;
	list-style: none;
	margin: 0 65px 0 0;
	float: left}

footer .footer-content li {
	border-bottom: 1px dashed #ccc;
	padding: 2px 5px}

footer .footer-content li a, footer .footer-content h4 {
}

footer .footer-content li a {
 color: #666;
    font-size: 13px;
    text-decoration: underline}

footer .footer-content li a:hover { 
	color: #222}

footer .footer-content h4 {
   color: #666;
    font-size: 20px;
    font-weight: normal;
    padding-bottom: 0}

footer .footer-content ul.endfooter {
	margin-right: 0}

footer .footer-content span.sitename {
	font-size: 40px;
	font-weight: normal;
	letter-spacing: -2px;
	color: #aaa;
	float: left}

footer .footer-bottom {
	padding: 10px;
	text-align: center;
	background: #006}

footer .footer-bottom p {
	text-align: center}

footer .footer-bottom p, footer .footer-bottom p a {
	color: #eee}