/* custom stuff */

html {
  height: 100%;
  margin-bottom: 1px;
}


body {
	margin: 0;
	padding: 0;
}

p {
  margin-top: 0;
  margin-bottom: 8px;
}

fieldset {
	border: 0;
	padding: 5px 0;
}

span.pathway {
	display: block;
	height: 16px;
	line-height: 16px;
	vertical-align: middle;
	color: #afaca5;
	margin-top: 2px;
	margin-bottom: 7px;
}

span.pathway img {
	padding: 0 4px 0 4px;
}

span.pathway a {
	color: #9fb2be;
}

span.pathway a:hover {
	color: #afaca5;
}

div#pathway {
	text-align: right;
	margin-bottom: 10px;
	padding-right: 8px;
}

a.readon {
	display: block;
	float: left;
	padding-left: 13px;
	margin-top: 10px;
	line-height: 14px;
	height: 16px;
	background: url(play.png) no-repeat;
}

/*** fonts ***/
body {
		line-height: 125%;
		font-family: "Lucida Grande", Tahoma, Helvetica, sans-serif;
		color: #818181;
}

/* size attributes */

body.f-smaller {
	font-size: 10px;
}

body.f-default {
	font-size: 11px;
}

body.f-larger {
	font-size: 13px;
}

a {
	color: #668293;
	font-weight: bold;
}

a:hover {
	color: #999;
}

td.left a.mainlevel#active_menu {
	color: #818181;
	background: url(menu-on-bg.png) no-repeat;
}

.small,
.modifydate,
.createdate,
div.mosimage_caption {
	font-size: 100%;
}

#inset a {
	font-size: 110%;
}

div.moduletable h3,
.contentheading,
.componentheading {
	font-size: 130%;
	color: #818181;
}

.componentheading {
  margin-bottom: 15px;
}

td.componentheading {
	padding-bottom: 15px;
}


/* font family */
h3,
.contentheading,
.componentheading,
.sectiontableheader,
span.pathway,
.small,
.createdate,
.modifydate,
#inset {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
} 

/* module settings */

div.moduletable h3 {
	margin-top: 5px;
	margin-bottom: 10px;
	padding-bottom: 0;
}

div.moduletable {
	margin-bottom: 10px;
}

td.left div.moduletable,
td.right div.moduletable  {
	margin-bottom: 15px;
}

div.moduletable ul {
	margin: 5px 0;
	padding: 0 2em;
}

div.moduletable ul li {
	padding-bottom: 3px;
}

/* default menu link styles */
a.mainlevel {
	display: block;
	color: #818181;
	font-weight: bold;
	text-transform: uppercase;
	font-family: Trebuchet, Arial, Helvetica, sans-serif;
	background: url(menu-off-bg.png) no-repeat;
}

a.sublevel {

}

a.mainlevel:hover {
	text-decoration: none;
	background: url(menu-on-bg.png) no-repeat;
}

a.sublevel:hover {
	text-decoration: none;
}

#inset a.mainlevel {
	display: inline;
	background: none;
	padding: 0 15px;
}

/** regular joomla menu **/

a.mainlevel {
	display: block;
	height: 20px;
	line-height: 20px;
	padding: 0;
	padding-left: 10px;
	margin-bottom: 4px;
	color: #818181;
}

a#active_menu:link,
a#active_menu:visited {
	color: #818181;
}


li.active_menu a:link,
li.active_menu a:visited {
  color: #818181;
}

a.sublevel:link,
a.sublevel:visited {
	font-weight: bold;
}

/* headings */

h1 {
	padding-bottom: 5px;
}

h2 {
   padding-bottom: 5px;
}

h3 { 
   padding-bottom: 5px;
}

h4 {
	 padding-bottom: 5px;
}

.small {
	font-weight: bold;
	color: #8C876B;
}

.modifydate {
	height: 20px;
	vertical-align: bottom;
	font-weight: bold;
	color: #818181;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-weight: bold;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
	color: #818181;
}

/** some joomla class stuff */

table.contenttoc {
  margin: 5px;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


td.buttonheading {
 	vertical-align: middle;
}

td.buttonheading img {
	margin-right: 5px;
}

table.mainbody td.mainbody td.sectiontableheader {
  font-weight: bold;
  padding: 8px;
  line-height: 20px;
  background: #edece9;
  border-bottom: 1px solid #dfdedc;
}

table.mainbody td.mainbody tr.sectiontableentry1 td, 
table.mainbody td.mainbody tr.sectiontableentry2 td {
  padding: 0;
  margin: 0;
}

table.mainbody td.mainbody td.sectiontableentry1, 
table.mainbody td.mainbody td.sectiontableentry2 {
  padding: 0;
  margin: 0;
}

table.mainbody td.mainbody tr.sectiontableentry1 td a,
table.mainbody td.mainbody td.sectiontableentry1 a {
  color: #808080;
  display: block;
  background-color: #e5e5e5;
  padding: 7px 0px 7px 12px;
}

table.mainbody td.mainbody tr.sectiontableentry2 td a,
table.mainbody td.mainbody td.sectiontableentry2 a {
  color: #808080;
  display: block;
  background-color: #cccccc;
  padding: 7px 0px 7px 12px;
}

table.mainbody td.mainbody tr.sectiontableentry1 td a:hover,
table.mainbody td.mainbody td.sectiontableentry1 a:hover {
  background-color: #ededed;
}

table.mainbody td.mainbody tr.sectiontableentry2 td a:hover,
table.mainbody td.mainbody td.sectiontableentry2 a:hover {
  background-color: #d5d5d5;
}


table.contentpaneopen, table.contentpane {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  width: 100%;
}

div.contentpane, div.contentpaneopen {
  width: 100%;
}


.clr {
	clear: both;
}

div.mosimage {
  margin: 5px;
}


table.adminform textarea {
  width: auto;
  color: #666;
}

/** width stuff **/

.w-wide div.wrapper {
	width: 900px;
}

.w-thin div.wrapper {
	width: 740px;
}

.w-fluid div.wrapper {
	margin: 0 20px;
}

/** template layout stuff **/

#page_bg {
	height: 100%; 
	padding: 0;
	margin-bottom: 1px;
	background: #fff;
}

#mainbg {
}

div.wrapper {
	margin: auto;
	position: relative;
}

#showcase ul,
td.left ul,
td.right ul,
#footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#showcase li,
td.left li,
td.right li,
#footer li {
		border-bottom: 1px dotted #8e8a6e;
		padding-bottom: 0;
		margin-bottom: 2px;
}

#showcase .padding {
	padding-bottom: 25px;
}

#footer .padding {
	padding: 5px 0px;
}

#mainbody-padding {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  
}

#inset {
	color: #ccc;
	text-align: center;
	margin: 15px 0;
}

#inset table {
	width: auto;
	margin: 0 auto;
}

#footer {
	padding-top: 10px;
}

#the-footer {
	text-align: center;
	background: #fff;
	color: #999;
	font-size: 9px;
}

#the-footer .padding {
	padding: 10px 0;
	width: 100%;
}

#the-footer .footernav a {
	font-size: 11px;
	font-weight: bold;
	
	text-transform: uppercase;
	padding: 0 5px 0 5px;
}

#the-footer .footernav {
	color:#3c617b;
	font-family: Trebuchet, Arial, Helvetica, sans-serif;
}

table.showcase,
table.mainbody,
table.headlines,
table.footer {
	width: 100%;
	padding: 0;
}

table.headlines {
	margin-top: 0;
}

table.showcase tr,
table.mainbody tr,
table.headlines tr,
table.footer tr {
	vertical-align: top;
}

table.showcase td.showcase,
table.footer td.footer,
table.headlines td.headlines {
	width: 33%;
}

table.showcase td.showcase {
	padding: 0;
}

table.footer td.footer,
table.mainbody td.left,
table.mainbody td.right,
table.headlines td.headlines {
	padding: 0 10px;
}

td.mainbody .padding {
	padding: 0;
}

/* column width and padding */

table.mainbody td.mainbody {
	padding: 0;
	padding-left: 20px;
	padding-right: 20px;
}

table.mainbody td.left {
	width: 185px;
}
table.mainbody td.right {
	width: 100px;
	padding: 0;
}



table.headlines td.headlines {
	background: #f4f1ea;
}

/* toolbar */

#toolbar {
	height: 31px;
	background: url(toolbar-bg.png) repeat-x;
	position: relative;
}

#nav {
	margin: 0 0 0 20px;
	padding: 10px 0 0 0;
	overflow: hidden;
}

#nav a {
	color: #ddd9c1;
	font-family: Trebuchet, Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
}

#nav a:hover {
	color: #fff;
}

/* some page content things */
div.cmcthumb {
  float: left;
  width: 110px;
  height: 110px;
  margin: 0 3px 6px 3px;
  padding: 4px 4px 15px 4px;
  text-align: center;
  font-size: 10px;
  color: #606060;
  background-color: #e5e5e5;
  border: 2px solid #819bad;
}

.required {
	color: #FF0000;
}

/*div.cmcthumb:hover {
  background-color: #efefef;
  border: 2px solid #5c829e;
}*/

.hide {
	display: none;
}

form {
	border: 0;
	margin: 0;
	padding: 0;
}

table.blog span.article_seperator {
	display: block;
	height: 20px;
}

table.pollstableborder td {
	text-align: left;
	padding: 2px 0;
}

select { color: #818181; }

input#mod_search_searchword {
	width: 120px;
	padding: 1px;
	border: 1px solid #a0a0a0;
	color: #a0a0a0;
	font-size: 11px;
	margin-top: 6px;
	margin-bottom: 6px;
}

.highlight {
  background-color: #ffc;
}

table#adminform #toolbar {
	background: none;
}