/* General
-------------------------------------------------------*/

body {
  background: url("../images/back.gif") 0 0 fixed;
  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: #0328e5;
  font-family: Tahoma, Verdana, Sans-serif;
  border-bottom: solid 1px #f6ba00;
  font-weight: normal;
  font-size: 1.7em;
  letter-spacing: 0.08em;
  clear: both;
}

h2 {
  color: #0328e5;
  font-weight: normal;
  font-size: 1.5em;
  border-bottom: 1px dotted #f6ba00;
}

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;
  text-align: center;
  width: 100%;
}

#main {
  width: 740px;
  padding: 20px 0;
  margin: 0 auto;
}

#myfooter,
#sub_nav,
#top_nav {
  margin-bottom: 1px;
  padding: 4px 16px;
  color: #712f31;
}

#top_nav {
  text-align: right;
  background: #2f1718;
  font-size: 1.4em;
}

#myfooter,
#sub_nav {
  text-align: left;
  background: #2f3540;
  font-size: 1.2em;
  padding: 5px 16px;
}

#top_nav a:link,
#top_nav a:visited {
  color: #bc1300;
}

#top_nav a:hover,
#top_nav a:active {
  color: #bc1300;
}

#sub_nav a:link,
#sub_nav a:visited {
  color: #bc1300;
}

#top_nav a:hover,
#top_nav a:active,
#sub_nav a:hover,
#sub_nav a:active {
  color: #712f31;
  border-bottom: 3px solid #b55557
}

#myheader {
  background: black url("../images/header1.jpg") no-repeat right top;
  height: 69px;
  text-align: left;
  padding: 0 12px; 
  margin-bottom: 3px;
}

#myheader h1 {
  margin: 0;
  padding: 51px 0 0 0;
  overflow: hidden;
  background: no-repeat 0 20px;
  border: none;
  height: 0;
}

#mypage {
  background: white;
  padding-top: 10px;
  text-align: left;
}

#mycontent {
  background: white;
  padding-left: 16px;
  padding-right: 16px;
  float: left;
  padding-top: 12px;
}

#mycontent a:active,
#mycontent a:hover {
  color: #7009fd;
}

#side {
  float: right;
  background: #f3f8f4 url("../images/side_back.gif") top repeat-x;
  padding: 16px;
  color: #4d6b6c;
  border-top: white solid 1px;
}

#myfooter {
  font-size: 0.8em;
  border-top: 1px solid #164579;
  padding: 4px 16px;
  clear: both;
}

#myfooter a:link,
#myfooter a:visited {
  color: #389015;
}

/* One COlumn
-------------------------------------------------------*/

.one_column #mycontent {
  background: white;
  width: 708px;
  float: none;
}

.one_column #side {
  display: none;
}

/* Two Colums
-------------------------------------------------------*/

.two_column #mycontent {
  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;
  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;
  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;
}

/* Extras
-------------------------------------------------------*/

.left_decor {
  margin: 12px 16px 12px 0;
  float: left;
}

.right_decor {
  margin: 12px 0 12px 16px;
  float: right;
}

/* Column clearing
-------------------------------------------------------*/

#mypage:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#mypage {
  display: table; /* Was inline-table in original tutorial, changed due validation error */
}

/* Hides from IE-mac \*/
html #mypage {
  height: 1%;
}

#mypage {
  display: block;
}
/* End hide from IE-mac */
