/* General
-------------------------------------------------------*/

body {
  /*background: url("../images/back.gif") 0 0 fixed;*/
  background-color: #3a5883; /* Dark blue */
  font-family: Verdana, Arial, Sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 11px;
}

p {
  line-height: 1.7em;
  text-align: justify;
  margin-bottom: 16px;
}

a:link,
a:visited {
  text-decoration: none;
  color: #570bc0;
}

a:active,
a:hover {
  border-bottom: 1px solid #3b866b;
}

a img {
  border: none;
}

h1,
h2,
h3 {
  padding: 4px 0;
  margin: 4px 0;
}

h1 {
  color: #3d055a;
  font-family: Tahoma, Verdana, Sans-serif;
  border-bottom: solid 1px #B8E600;
  font-weight: normal;
  font-size: 1.7em;
  letter-spacing: 0.08em;
  clear: both;
  font-style:italic;
}

h2 {
  color: #045439;
  font-weight: normal;
  font-size: 1.5em;
  border-bottom: 1px dotted #d6f1e8;
}

h3 {
  color: #147794;
  font-weight: normal;
  font-size: 1.4em;
}

.print_only {
  display: none;
}

/* Layout
-------------------------------------------------------*/

#wrapper {
  /*background: url("../images/back_top.gif") 0 0 repeat-x fixed;*/
  background-color: #3a5883; /* Dark blue */
  text-align: center;
  width: 100%;
}

#main {
  width: 740px;
  padding: 20px 0;
  margin: 0 auto;
}

#footer 
{
    margin-bottom: 1px;
    text-align: center;
    padding: 4px 16px;
    color: #790; /* Dark Green */

}

#sub_nav,
#top_nav {
  margin-bottom: 1px;
  text-align: left;
  padding: 4px 16px;
  color: #790; /* Dark Green */
}

#top_nav {
  background: #CF0; /* Bright Green */
  font-size: 1.4em;
}

#footer,
#sub_nav {
  background: #E2FF70; /* Light Green */
  font-size: 1.2em;
  padding: 5px 16px;
}

#top_nav a:link,
#top_nav a:visited {
  color: #360;
}

#top_nav a:hover,
#top_nav a:active {
  color: #000;
}

#sub_nav a:link,
#sub_nav a:visited {
  color: #360;
}

#top_nav a:hover,
#top_nav a:active,
#sub_nav a:hover,
#sub_nav a:active {
  color: #000;
  background: #f3f8f4 /* light blue */
  /*border-bottom: 5px solid #3b866b*/
  
}
.download_link {
  color: #147794;
  font-weight: normal;
  font-size: 1.4em;
}
.download_text {
 line-height: 1.7em;
 text-align: justify;
 margin-bottom: 16px;
}
.price_sheet {
  font-weight: normal;
  font-size:1.6em;
}

.hidden 
{
	display: none;
}

#header {
  background: white url("../images/header1a.jpg") no-repeat right top;
  height: 69px;
  text-align: left;
  padding: 0 12px; 
  margin-bottom: 3px;
}


/*#fixed {
	float:right;
	height:12px;
	background:#666;
	display:block;
}

#floating {
    height:100%;
	background:#EAEAEA;
	position:relative;
}
*/
#header h1 {
  margin: 0;
  padding: 35px 0 0 0;
  /*overflow: hidden;*/
  /*background: no-repeat url("../images/logo.gif") 0 20px;*/
  /*background: no-repeat url("../images/DigiwebStudiosLogo.1.gif") 0 2px;*/
  border: none;
  /*height: 0;*/
  
}

#page {
  background: white top repeat-x url("../images/content_bg.gif");
  padding-top: 10px;
  text-align: left;
}

#content {
  padding-left: 16px;
  float: left;
  padding-top: 12px;
}

#content a:active,
#content a:hover {
  color: #7009fd;
}

#side {
  float: right;
  background: #f3f8f4 url("../images/side_back.gif") top repeat-x; /* light blue */
  padding: 16px;
  color: #4d6b6c;
  border-top: white solid 1px;
}

#footer {
  font-size: 0.8em;
  border-top: 1px solid #164579;
  padding: 4px 16px;
  clear: both;
}

#footer a:link,
#footer a:visited {
  color: #389015;
}

/* One Column
-------------------------------------------------------*/

.one_column #content {
  width: 708px;
  float: none;
}

.one_column #side {
  display: none;
}

/* Two Columns
-------------------------------------------------------*/

.two_column #content {
  width: 460px;
}

.two_column #side {
  width: 216px;
}

/* Side Menu
-------------------------------------------------------*/

.menu  {
  margin: 0 -16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid white;
  display: block;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.menu li {
  margin: 0;
  padding: 0;
  border: none;
  display: block;
}

.menu li a:link,
.menu li a:visited {
  display: block;
  padding : 8px 16px;
  margin: 0;
  color: #080;
  font-weight: bold;
  background: #D5ECF1; /* Darker light blue */
  border-bottom: 1px white solid ! important;
  letter-spacing: 0.12em;
  font-size: 1.2em;
}

* html .menu a,
* html .menu li {
  height: 1px; /* Holly Hack stops random padding. Seems to be OK in IE7 as well */
}

.menu li li a:link,
.menu li li a:visited {
  background: #EFF5F6; /* Light blue */
  color: #040;
  font-weight: normal;
  letter-spacing: 0.04em;
  font-size: 1em;
}

.menu a:link, 
.menu a:visited, 
.menu a:hover {
  text-decoration:none ! important;
}

.menu li li a:hover {
  background-color: #E2FF70 !important;  /* Light Green */
}

/* Extras
-------------------------------------------------------*/

.side_decor {
  margin: 12px 16px 12px 0;
  float: left;
}

IMG.framed 
{
    border-style: solid; 
    border-width: 1px;
    border-color: #B8E600;
    padding: 5px 5px 5px 5px;
    margin: 5px 5px 5px 5px;
}

IMG.centered 
{   display: block;
    margin-left: auto;
    margin-right: auto 
}
DIV.centered
{
    display: table-cell;
    vertical-align: middle;
    text-align:center;
}

/* Datagrids
-------------------------------------------------------*/
.datagrid th
{	
	background-color:#D5ECF1;
}
.datagrid .footer
{	
	background-color:#E2FF70;
}

.datagrid .totalscore
{	
	background-color:#E2FF70;
    text-align:center;
}

.datagrid .score
{
    text-align:center;
}

/* Messages 
-------------------------------------------------------*/
.MessageHeader
{
    background-color:#D5ECF1;
    font-size: 12px;
    font-weight:bold;    
}

.Message
{
    font-size: 12px;
    
}

/* Column clearing
-------------------------------------------------------*/
#page:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#page {
  display: table; /* Was inline-table in original tutorial, changed due validation error */
}

/* Hides from IE-mac \*/
html #page {
  height: 1%;
}

#page {
  display: block;
}
/* End hide from IE-mac */