/* 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:  linear-gradient(135deg, #3d14c5, #630020);
	background: #eeeeee;
	margin:0;
	padding:0;
	font-family: "Lucida Grande", "Helvetica", "sans-serif";
	font-size: 1.0em;
	font-weight: 200;
	color: #000000;
}

/** element defaults **/
table {
	width: 100%;
	border-spacing: 2px;
}

table.dataTable {
	border-collapse:separate;
}

table.dataTable th, table.dataTable td {
	padding: 8px;
	text-align: left;
	vertical-align:top;
	border: 1px solid #000000;
	border-radius: 5px;
}

table.dataTable th {
	color: #fff;
	background: linear-gradient(to bottom, #565656 , #525252 10%, #4e4e4e 50%,  #4a4a4a 90%, #464646);
}

table.dataTable td {
	border: 1px solid #666;
	collapse:collapse;
}

table.dataTable td.clickable {
  cursor:  pointer;
}




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 {
	color: #aaaaaa;
}
a:hover {
	color: #ffffff;
}
a:focus {
	outline: none;
}

a.button {
    border-width: 1px;
    border-color: #1e1e1e;
    border-radius: 6px;
    background: linear-gradient(to bottom, #565656 , #525252 10%, #4e4e4e 50%,  #4a4a4a 90%, #464646);
	
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 1px;
	width: auto;
	height:  12px;
	overflow: visible;

    color: #aaa;
    display: inline;
	margin: 5px 3px 0;
    padding: 8px 10px 8px;
    text-decoration: none;
}
a.button:hover {
	color: #fff;
	text-decoration: none;
	box-shadow:  -1px 1px 0 #ec625e;
}


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.submitbutton {
    border-width: 2px;
    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: 2px;
border-color: #ec625e;
color: #ffffff;
}
form input.submitbutton:active
{
border-width: 2px;
border-color: #acacac;
background: #191919;
}

form input.noformbutton {
    border-width: 1px;
    border-color: #1e1e1e;
    border-radius: 6px;
    background: linear-gradient(to bottom, #565656 , #525252 10%, #4e4e4e 50%,  #4a4a4a 90%, #464646);
	
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 1px;
	width: auto;
	height:  auto;
	overflow: visible;

    color: #aaa;
    display: block;
	margin: 5px 3px 0;
    padding: 8px 10px 8px;
    text-decoration: none;
}
form input.noformbutton:hover {
	color: #fff;
	text-decoration: none;
	box-shadow:  -1px 1px 0 #ffffff;
}
form input.noformbutton:active {
	color: #fff;
	text-decoration: none;
	box-shadow:  -1px 1px 0 #ffffff;
}


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

form.searchform p {
	margin: 5px 0;
}



h1 {
	color: #444;
	font-size: 1.8em;
}

h2 {
	color: #ec625e;
	font-size: 1.3em;
	letter-spacing: 0px;
	font-weight: normal;
	padding: 0 0 5px;
	margin: 0;
}

h3 {
	color: #444;
	font-size: 1.3em;
	font-weight: normal;
	margin-bottom: 10px;
	letter-spacing: -1px;
}

h4 {
    color: #777;
    font-size: 1.2em;
    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: 95%;
	margin: 0 auto;
	vertical-align: top;
}

#page {
	width: fit;
	min-height: calc(100vh - 50px);
	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;
}


span.username {
	background-color:#dddddd;
	border-radius: 6px;
	color:#000000;
	padding:10px;
}


nav {
	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.selected a,
nav ul li.selected a:hover { 
	color: #fff;
	background-color: #330066;
	font-weight:bold;
}


nav form input.navButton {
    border-width: 1px;
    border-color: #1e1e1e;
    border-radius: 6px;
    background: linear-gradient(to bottom, #565656 , #525252 10%, #4e4e4e 50%,  #4a4a4a 90%, #464646);
	
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 1px;
	width: auto;
	height: 30px;
	overflow: visible;
	float:right;

    color: #aaa;
    display: block;
	margin: 5px 3px 0;
    padding: 8px 10px 8px;
    text-decoration: none;
}
nav form input.navButton: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: 80%;
}

#contentNoAside {
    width: 100%;
}



.center {
	width: 70%;
	display: block;
  	margin-left: auto;
  	margin-right: auto;
}



#errorText {
	width: 70%;
	display: block;
  	margin-left: auto;
  	margin-right: auto;
	border-bottom: 2px solid #C00;
	color: #ec625e;
    font-size: 1.2em;
    font-weight: normal;
    padding: 10px;
}



article {
    padding: 10px 5px 20px 10px;
}

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: 20%;
	margin-top: 10px;
}

#sidebar h4 {
	font-weight: 100;
	color: #333;
	font-size: 1.1em;
	padding: 5px 8px 5px 8px;
	background-color: #dddddd;
	border-radius:  6px;
}

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

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

#sidebar ul li ul {
    list-style: none outside none;
    margin-left: 20px;

}

#sidebar ul li ul li {
	border-width: 1px;
    border-color: #1e1e1e;
    border-radius: 6px;
    background: linear-gradient(to bottom, #565656 , #525252 10%, #4e4e4e 50%,  #4a4a4a 90%, #464646);
	
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 1px;
	width: auto;
	height: auto;
	overflow: visible;

    color: #aaa;
    display: block;
	margin: 5px 3px 0;
    padding: 8px 10px 8px;
    text-decoration: none;
}


#sidebar ul li ul li.selected
{
	color: #ffffff;
	box-shadow:-3px 3px 0px #ec625e;
}

#sidebar ul li ul li a {
	text-decoration: none;
	width: 90%;
	display: inline-block;
}
#sidebar ul li ul li.selected a,
#sidebar ul li ul li:hover a { 
	color: #ffffff;
	font-weight:bold;
	text-decoration: none;
}




.clear {
	clear: both;
}


footer {
	border-top: 3px solid #ffffff;
	height: 50px;
	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: 10px 50px 10px 50px;
}


footer #footer-content p, footer #footer-content p a {
	text-align: center;
	color: #ffffff;
}





/* different screen sizes */


@media screen and (max-width: 900px) {

	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; }

}