a:link,
a:visited,
a:active,
a:hover {
  color: #FFF;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

a:hover {
  color: #f39c36;
}

a.email_link:link,
a.email_link:visited {
	font-size: 12px;
	color: #f39c36;
	text-transform: none;
	text-decoration: none;
}
a.email_link:hover {
	color:#f39c36; 
	text-decoration: underline;
}

a.main_link:link {
	color: rgb(98,83,35);
}
a.main_link:visited,
a.main_link:active,
a.main_link:hover {
	color: rgb(98,83,35);
}

a.main_link:hover {
  color: white;
}

a.main:link,
a.main:visited,
a.main:active,
a.main:hover {
  font-size: 12px;
  text-transform: none;
  color: black;
}

a.main:hover {
  font-size: 12px;
  text-transform: none;
  color: #f39c36;
}

a.backtotop:link,
a.backtotop:visited,
a.backtotop:hover, 
a.backtotop:active{
  color: #f39c36;
  font-size: 10px;
  text-transform: none;
  font-weight: bold;
}

a.backtotop:hover {
  text-decoration: underline;
}

a.note:link,
a.note:visited,
a.note:active,
a.note:hover {
  font-size: 8px;
  vertical-align: super;
  text-decoration: underline;
  text-transform: none;
  color: black;
}

a.note:hover {
  font-size: 8px;
  vertical-align: super;
  text-decoration: underline;
  text-transform: none;
  color: #f39c36;
}

a.web:link,
a.web:visited,
a.web:active,
a.web:hover {
  font-size: 12px;
  font-weight:bold;
  text-transform: none;
  color: #999000;
}
a.web:hover {
  color: #f39c36;
}

body {
  background-color: #f39c36;
  font-family: arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  border: 0;
}

img {
  border: 0;
  padding: 0;
  margin: 0;
}

#mainpage,
#homepage{
  width: 948px;
  text-align: left;
  margin:  30px auto 0px auto;
  padding: 0;
  border: 1px solid white;
  background-color: rgb(98,83,35);
}

/* For the home page only */
#topbox {
  height: 108px;
  margin: 0 0 0 0;
  padding: 0;
  border-bottom: 1px solid white;
  background-image: url('../../images/up_left_corner.jpg');
  background-repeat: no-repeat;
}
#topbox ul {
  list-style-type: none;
  margin: 0;
  padding: 40px 0 0 240px;
  text-align: left;
  border: 0;
}
#topbox ul li {
  margin-left: 20px;
  float: left;
}

#homenavcontainer {
  /*padding: 0 0 20px 50px;*/
}
#homenav {
  list-style-type: none;
  margin: 0;
  padding: 0 0 0px 50px;
  /*height: 277px;*/
  height: 297px;
  background-image: url(../../images/home-background.jpg);
  background-repeat: no-repeat;
}
#homenav li {
  padding-bottom: 20px;
}
li h2 {
  color: white;
  margin: 0 0 0 -20px;
  padding: 20px 0 0 0;
  font-family: Arial, sans-serif;
}

#homemain table.homelayout {
  height: 133px;
  width: 100%;
}

#homemain div.buttonlayout {
  background-color: #fbe3bf;
}
#homemain table.buttonlayout {
  height: 133px;
  background-color: #fbe3bf;
  /*width: 100%;*/
  width: 433px;
}
#homemain table.buttonlayout td {
  vertical-align: bottom;
  text-align: center;
  background-color: #fbe3bf;
}

#homemain table.buttonlayout td.bottomhomecell {
  vertical-align: top;
}


#homeleft, #homeright {
  vertical-align: top;
  padding: 0;
  margin: 0;
}
#homeleft {
  width: 277px;
}
#homeright {
  width: 238px;
}
#homeleft img, #homeright img {
  border: 0;
  display: block;
}
#homebottom {
  width: 948px;
  margin: 0 auto 30px auto;
  padding: 0;
  border-bottom: 1px solid white;
  border-right: 1px solid white;
  border-left: 1px solid white;
}
#homebottom img {
  display: block;
}




/* MAIN PAGE */

#mainpage {
  background-color: white;
}
#maintopbox {
  background-image: url(../../images/topgrad.png);
  padding: 0;
  margin: 0;
  height: 108px;
  background-repeat: repeat-x;
}
#maintopbox ul {
  list-style-type: none;
  border: 0;
  padding: 46px 0 0 240px;
  margin: 0;
}
#maintopbox ul li {
  float: left;
  margin-left: 20px;
}
#logoback {
  height: 108px;
  /*
  background-image: url(../../images/logo-top.png);
  background-repeat: no-repeat;
  background-position: 65px 0;
  */
}
#logocont {
  margin-left: 65px;
  float: left;
  display: inline;
}
#logocont img {
  vertical-align: middle;
}
#logobot {
  margin-left: 65px;
  position: relative;
}

#maincontent {
  font-size: 12px;
  min-height: 800px;
  margin-left: 290px;
  margin-right: 50px;
  text-align: justify;
  position: relative;
}

#brace {
  position: absolute;
  top: 0;
  left: -80px;
}

#maincontent h2 {
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 18px;
  margin-top: 30px;
  color: rgb(98,83,35);
}

#maincontent h3 {
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #f39c36;
  text-transform: uppercase;
}
#maincontent h4 {
  font-size: 14px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}
#maincontent p {
  font-family: Arial, sans-serif;
}
#maincontent div.submenu {
  margin-top: 30px;
  font-size: 14px;
  /*word-spacing: 4px;*/
}
#maincontent span.link {
  padding: 0 6px 0 6px;
}
#maincontent ol {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

#maincontent img.portrait {
  float: left;
  margin: 0 5px 5px 0;
}


#maincontent table.crit {
  /*border: 1px solid black;*/
  text-align: left;
  vertical-align: top;
  border-top: 1px solid black;
  border-left: 1px solid black;
}
#maincontent table.crit {

}
#maincontent table.crit th {
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}
#maincontent table.crit td {
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}


#mainsidebar {
  float: left;
}

#mainnavbar {
  background-color: rgb(98, 83, 35);
  width: 220px;
  height: 352px;
  background-image: url(../../images/diagonal.png);
  background-position: center right;
  background-repeat: no-repeat;
  margin-top: 28px;
}
#mainnavbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#mainnavbar ul li {
  padding-top: 25px;
  padding-left: 60px;
}


#name {
  padding-left: 30px;
  /*
  padding-top: 60px;
  background-color: transparent;
  background-image: url(../../images/logo-bottom.png);
  background-repeat: no-repeat;
  background-position: 65px 0;
  */
}

div.coolsideimg {
  margin-top: 15px;
  position: relative;
  bottom: 80px;
  left: 30px;
}

ul {font-family; arial, sans-serif;}

.inline {display: inline;}


em {color: #fff; font-style: normal;}

.white {color:#fff;}
.orange {color:#f39c36}

#copyright  {font-size: 10px; text-align: right; color: #888; padding:5px;} 
#copyright2  {font-size: 10px; text-align: center; color: #FFF; padding:5px;} 

