/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* end reset */

body {
	background: #323232;
	margin:0;
	padding:0;
	font-family: "Lucida Grande", "Helvetica", "sans-serif";
	font-size: 1.0em;
	font-weight: 200;
	color: #ffffff;
}

/** element defaults **/
table {
	width: 100%;
}

table th, table td {
	padding:3px 8px 3px 8px; /* Only right padding*/
}

table.dataTable {
	border: 2px solid #555;
	border-collapse:collapse;
}

table.dataTable th, table.dataTable td {
	padding: 8px;
	text-align: left;
	vertical-align:top;
}

table.dataTable th {
	color: #fff;
	background: #60798a none repeat-x scroll left top;
}

tr.normalHeader {
	height: 30px;
}
tr.normalHeader th {
	font-weight: bold;
	text-align: left;
	padding-top: 7px;
	color: #000;
	background: #60798a none repeat-x scroll left top;
}

table.dataTable td {
	border: 1px solid #666;
	border-collapse:collapse;
}

code, blockquote {
	display: block;
	border-left: 5px solid #ccc;
	padding: 10px;
	margin-bottom: 20px;
	color: #ccc;
}
code {
	background-color: #222;
}

blockquote p {
	font-style: italic;
	margin: 0;
	color: #ccc;
	height: 1%;
}

p {
	line-height: 1.9em;
	margin-bottom: 20px;
}

a, 
.sidebar li ul li a.readmore {
	color: #aaaaaa;
}

a:hover,
.sidebar li ul li a.readmore:hover {
	color: #ffffff;
}

a:focus {
	outline: none;
}


a.button { 
    background-color: #55aaCC;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

a.button:hover {
	background-color: #5000f0;
}


fieldset {
	display: block;
	border: 1px solid #444;
	padding: 15px;
	margin-top: 15px;
	margin-left:auto;
	margin-right:auto;
}

fieldset legend {
	font-weight: bold;
	font-size: 13px;
	padding-right: 10px;
	color: #777;
}

fieldset form {
	padding-top: 15px;
}

fieldset p label {
	float: left;
	width: 25%;
}

form input, form select, form textarea {
	width:65%;
	margin-left:auto;
	margin-right:0px;
	background-color: #eeeeee;
	padding: 2px;
	color: #222222;
	border: 1px solid #333;
	border-right:1px solid #444;
	border-bottom:1px solid #444;
	font-size: 13px;
}

form input.formbutton {
	border: none;
    background-color: #60798a;
    box-shadow: -1px 1px 0px #dddddd;
	color: #ffffff;
	font-weight: bold;
	padding: 6px 10px;
	font-size: 12px;
	letter-spacing: 1px;
	width: auto;
	overflow: visible;
}

form input.submitbutton {
    border-width: 1px;
    border-color: #1e1e1e;
    
    border-radius: 6px;
    background: linear-gradient(to bottom, #565656 , #525252 10%, #4e4e4e 50%,  #4a4a4a 90%, #464646);
	color: rgba(224,224,224,1.00);
	
	padding: 6px 10px;
	font-size: 12px;
	letter-spacing: 1px;
	width: auto;
	overflow: visible;
	float:right;
}
form input.submitbutton:hover
{
border-width: 1px;
border-color: #acacac;
}
form input.submitbutton:active
{
border-width: 2px;
border-color: #acacac;
background: #191919;
}

form.searchform input {
  font-size: 15px;
    padding: 6px;
}

form.searchform p {
	margin: 5px 0;
}

span.required {
	color: #ff00ff;
}

h1 {
	color: #aaa;
	font-size: 1.8em;
}

h2 {
	color: #aaa;
	font-size: 1.6em;
	letter-spacing: 0px;
	font-weight: normal;
	padding: 0 0 5px;
	margin: 0;
}

h3 {
	color: #7777dd;
	font-size: 1.4em;
	font-weight: normal;
	margin-bottom: 10px;
	letter-spacing: -1px;
}

h4 {
    color: #dddddd;
    font-size: 1.4em;
    font-weight: normal;
    padding-bottom: 10px;
}

h5 {
	padding-bottom: 10px;
	font-size: 1.1em;
	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;
}



/* page sequential */


.width {
	width: 1180px;
	margin: 0 auto;
	vertical-align: top;
}

#page {
	width: fit;
	min-height: calc(100vh - 104px);
	margin: 0 auto;
}

header {
	padding: 10px 10px 10px 10px;
	margin: 0 auto;
	text-align: left;
	background-color: #1a1a1a;
	border: 3px;
	border-bottom: solid;
	border-bottom-color: #d4d4d4;
}

header a {
    color: #aaaaaa;
    font-size: 1.1em;
    font-weight: normal;
    letter-spacing: -2px;
    line-height:1.0em;
    text-decoration: none;
    margin-right:20px; 
    padding:6px; 
    box-shadow: -1px 1px 0 #555555;
}

header a:hover {
	box-shadow:  -1px 1px 0 #ffffff;
}

span.username {
	background-color:#555555;
	color:#000000;
	padding:10px;
}


nav {
	border-bottom: 1px solid #ffffff;
	height: 45px;
	background-color: #1a1a1a;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

nav ul li {
	float: left;
	display: block;
	padding: 0;
}


nav ul li a {
    color: #aaa;
    display: block;
    font-size: 0.85em;
    letter-spacing: 0;
	margin: 5px 3px 0;
	font-weight: normal;
    padding: 8px 10px 8px;
    text-decoration: none;
    box-shadow: -1px 1px 0 #555555;
}

nav ul li.selected a,
nav ul li.selected a:hover { 
	color: #fff;
	background-color: #60798a;
	font-weight:bold;
	box-shadow:  -1px 1px 0 #ffffff;
}


nav ul li a:hover {
	color: #fff;
	text-decoration: none;
	box-shadow:  -1px 1px 0 #ffffff;
}

img.header-image { 
	padding-top: 10px;
	margin-bottom: -3px; 
}

#body {
	background: none;
	margin-top: 20px;
	margin-left:auto;
	margin-right:auto;
 	padding: 0;
	clear: both;
}

#contentWithAside {
    float: right;
    width: 83%;
}

#contentNoAside {
    width: 100%;
}

.center {
	width: 70%;
	display: block;
  	margin-left: auto;
  	margin-right: auto;
}

#errorText {
	width: 60%;
	display: block;
  	margin-left: auto;
  	margin-right: auto;
	border: 2px solid #C00;
	color: #AA0000;
    font-size: 1.2em;
    font-weight: normal;
    padding: 10px;
}

.expired {
	color: #444444;
}


article {
    padding: 10px 5px 20px 10px;
 }

article h2 { 
    padding-bottom: 0;
    font-size: 2.2em;
}

article p, article ul, article ol { 
    font-size: 0.9em;
}

article .article-info {
    color: #666;
    font-size: 12px;
    font-style: italic;
    padding: 0 0 10px 0;
}

article .article-info a { 
	color: #666;
}

#sidebar {
    float: left;
    width: 15%;
	margin-top: 10px;
}

#sidebar h4 {
	font-weight: 100;
	color: #333;
	font-size: 1.1em;
	padding: 3px 5px;
	background-color: #666666;
}

#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: 5px 7px;
	margin: 0;
	line-height: 1.5em;
	font-size: 1.0em;
	font-weight: normal;
}

#sidebar li ul li.selected {
	font-weight: bold;
	color: #eeeeee;
	background-color: #60798a;
	box-shadow:-1px 1px 0px #dddddd;
}

#sidebar li ul li:hover {
	color: #ffffff;
	box-shadow:-1px 1px 0px #ffffff;
}

#sidebar li ul li.text { 
	border-bottom: none;
}

#sidebar li ul li {
	margin-left:20px;	
}

#sidebar li ul li a {
	font-weight: normal;
	color: #aaaaaa;
	text-decoration: none;
}

#sidebar li ul li.selected a {
	font-weight: bold;
	color: #dddddd;
}

#sidebar li ul li:hover a {
	color: #ffffff;
}

#sidebar li ul li a.readmore {
   font-weight: bold;
}


.clear {
	clear: both;
}


footer {
	margin:20px auto 0;
	border-top: 3px solid #ffffff;
	height: 80px;
	background-color: #1a1a1a;
}

footer p {
	text-align: left;
	color: #ffffff;
	font-size: 12px;
	margin: 0;
	padding: 0;
}

footer p a {
	color: #fff;
	font-weight: bold;
}

#footer-content {
	padding: 20px 25px 10px;
}

footer #footer-content ul {
	width: 260px;
	list-style: none;
	margin: 0 65px 0 0;
	padding: 0;
	float: left;
}

footer #footer-content li {
	padding: 5px 5px;
}

footer #footer-content li a, footer #footer-content h4 {
}

footer #footer-content li a {
 color: #ffffff;
    font-size: 0.8em;
    text-decoration: underline;
}

footer #footer-content li a:hover { 
	color: #bbbbbb;
}

footer #footer-content h4 {
   color: #ffffff;
    font-size: 1.3em;
    font-weight: bold;
    padding-bottom: 0;
}

footer #footer-content ul.endfooter {
	margin-right: 0;
}
footer #footer-bottom {
	padding: 2px;
	text-align: center;
}

footer #footer-bottom p {
	text-align: center;
}

footer #footer-bottom p, footer #footer-bottom p a {
	color: #ffffff;
}


/* different screen sizes */


@media screen and (max-width: 740px) {

	body { font-size: 0.8em; }	

	header { padding: 10px; }
	
	header h1 { text-align: center; }

	div #page { width: auto; }

	footer .footer-content ul { margin-bottom: 15px; }

	footer .footer-content ul.endfooter { margin-bottom: 0px; }

	.width { width:auto; padding-left: 10px; padding-right: 10px; }
	
	#content, aside.sidebar { float: none; width: auto; }

	footer .footer-content ul { width: auto; float: none; }
}


@media screen and (max-width: 540px) {

	body { font-size: 0.8em; }

	nav ul li { float: none; text-align:center;  }

	nav ul li a { margin-top: 0; }

	nav { height: auto; position: relative; }

}