/*  
Sticky Footer Solution
by Steve Hatcher 
http://stever.ca
http://www.cssstickyfooter.com
*/

/* * {margin:0;padding:0;}  */

/* must declare 0 margins on everything, also for notfooter layout components use padding, not 
vertical margins (top and bottom) to add spacing, else those margins get added to total height 
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */

html, body, #wholepage {height: 100%; }

body > #wholepage {height: auto; min-height: 100%;}

#notfooter {padding-bottom: 40px;}  /* must be same height as the footer */

#footer {position: relative;
    margin-top: -40px; /* negative value of footer height */
    height: 40px;
    clear:both;} 

/* CLEAR FIX*/
.clearfix:after {content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

body {
  margin: 0;
  padding: 0; 
  background-color: #630080;
  font-family: Arial, Helvetica, sans-serif;
}

#header {
  background-color: #49006e;
  padding: 0.5em;
  border-bottom: 1px solid #29004e;
  background: url(../img/blend.gif);
  margin-bottom: 1em;
}

#header img {
  margin-right: 0.5em;
}

a, a:visited {
  text-decoration: none;
  font-weight: bold;
  color: green;
}

#dialog a,
#content a {
  border-bottom: 1px solid green;
}

a:hover {
  color: #990000;
}


.footer {
  clear: left;
  border-top: 1px solid black;
  padding: 5px;
  margin-top: 10px;
  background-color: #49006e;
  color: white;
  background: url(../img/blend-down.gif);
}

.footer a {
  margin-right: 2em;
}

.footer p,
.footer form {
  margin: 0;
  padding: 0;
}


/* Put the sidebar on the left */

div#sidebar {
  float: left;
  clear: left;
  width: 170px;
  border-right: 1px solid black;
  font-size: 75%;
  position: relative;
  color: white;
  overflow: hidden;
  background-color: #730090;
  background-color: #390054;
  margin-left: 10px;
  margin-right: 0.2em;
  border: 1px solid #290044;
  padding-left: 5px;
  padding-bottom: 0.5em;
}
div#sidebar img {
  border: 0;
  /* border: 1px solid #390054; */
}


#sidebar ul {
  padding: 0;
  margin: 0;
}

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



div.footer a,
div.footer a:visited,
div#sidebar a,
div#sidebar a:visited {
  color: lightgreen;

}

div.footer a:hover,
div#sidebar a:hover {
  color: lightblue;
}

/* These are all the things that make up the body of the current page */
#dialog,
#content {

  /* No margins in general, but offset from the left of the screen
     to make room for the sidebar */
  margin: 0 10px 0 200px;

  /* Top and bottom borders are to fix a firefox browser bug */
  border-top: 1px solid #000;
  border-bottom: 1px solid #fff;
  border-left: 1px solid black;
  border-right: 1px solid #fff;

  padding: 1em;
  background-color: #fff;

  line-height: 1.3em; /* Be friendly lookin! */
}
#dialog-holder {
  text-align: center;
}
#dialog {
  width: 20em;
  margin: 5em auto;
  text-align: left;
}

div#sidebar h2 {
  border-bottom: 1px solid #eee;
  margin-right: 1em;
  margin-bottom: 4px;
  padding-bottom: 2px;
  font-size: 1.2em;
}

div#sidebar p {
  margin: 0;
  padding: 0;
}


a.logo {
  float: left;
  clear: both;
  border: 0;
  background-color: #8292b1;
  border-right: 1px solid black;
  text-align: center;
  display: none;
}

img.logo {
  border: 0;
}

pre {
  padding: 0.5em;
  border: 1px solid #999;
  background-color: #ddd;
  line-height: 1em; /* None of that friendly lookin stuff here! */
}


#content h2 {
  padding-bottom: 5px;
  border-bottom: 1px solid black;
}

table.data {
  border-top: 1px solid black;
  border-left: 1px solid black;
}


.data td, .data th {
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}

table.data .header th {
  background-color: #ccc;
}
table.data .odd td {
  background-color: #ddddff;
}

input.readonly {
  background-color: #ccc;
}

input.number {
  text-align: right;
}

.contenthead {
	font-family: verdana, arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	padding: 1px;
	border-bottom: 1px solid black;
	}


