/* Start of CMSMS style sheet 'Navigation: CSSMenu - Horizontal' */
#menu_vert {
	clear:both;
	float:left;
	width:100%;
	background:#333;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper {
   margin:0;
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   width: 680px;
   margin-left:100px;
   background-color: #333;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 160px;
}

/* Colourise link text */
#primary-nav li a:link, 
#primary-nav li a:visited {
   color:#000
}
#primary-nav li a:hover, 
#primary-nav li a:active {
   color:#00F
}

/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px;
}
#primary-nav ul { 
   position: absolute; 
   top: auto;
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left;
   margin-bottom: 0
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 4px 8px; 
   text-decoration: none; 
   color: #00C;
}
#primary-nav li a { 
   border-right: 1px solid #CCC;
   border-left: 1px solid #333;
}
#primary-nav li li a { 
   border-top:1px solid #CCC;
   border-bottom: 1px solid #333
}	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #999; 
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #FFF; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-color: #FFF
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
/* End of 'Navigation: CSSMenu - Horizontal' */

/* Start of CMSMS style sheet 'Base' */
/*****************************
Base.css - HTML tag declarations
*****************************/
	html, body {
		margin: 0;
		padding: 0;
		border: none
	}
	body {
		color:#333;
		background-color:#FFF;
		font: 85%/1.3 Arial, Helvetica, sans-serif
	}
	h1, h2, h3, h4, h5, h6 {margin: 0px;}
	h2, h3 {font-weight:normal}
	h3, h4, h5, h6 {margin-top: 1em}
	h1 {
		font-size: 2.2em;
		padding: 0px;
	}
	h2 {
		margin-bottom:0.8em;
		font-size: 1.4em;
		}
	h3 {
		margin-bottom:0.8em;
		font-size: 1.4em;
		}
	h4 {
		font-size: 1.2em;
	}
	h5 {font-size: 1.1em}
	h6 {font-size: 0.9em}
	p {margin: 0.5em 0 1em}
	blockquote {
		text-indent:0;
		margin: 0.5em 0;
		padding: 0.5em;
		background-color:#003;
		}
	a:link, a:visited { color:#00C }
	a:hover, a:active { color:#00F}
	a img {border: 1px solid #00C}
	code {
		color:#CCC;
		font-family:"Courier New", Courier, monospace;
		font-size:110%
	}
	abbr, acronym, dfn, .help {
		text-decoration: none;
		border-bottom: 1px dashed #CCC;
		cursor: help;
		font-style: normal;
		font-weight: normal;
		}
	caption {
		font-weight: bold;
		text-align: left;
		white-space: nowrap;
		padding: 0.2em;
		}
	table {
		margin: 1em 0;
		border-collapse:collapse;
		border-top: 1px solid #000;
		border-bottom: 1px solid #000;
		}
	th {
		text-align:left;
		vertical-align:text-top;
		color:#fff;
		background:#FF5110
	}
	td, th {
		border: 1px solid #333;
		padding: 2px;
		margin: 0;
		vertical-align: text-top
	}

	/* FormBuilder base */
	form {margin-top:0}
	form, td, th, li { font-size: 100%}
	form div {margin-bottom:0}
	fieldset div {
		margin-bottom:0.5em;
		margin-left:1em;
		clear:left
	}
	fieldset div div {
		margin-top:0.5em;
		margin-left:1em;
	}
	fieldset {
		margin-bottom:1em;
		border:1px solid #FF5110;
		padding:0.5em
	}
	fieldset label {
		width:auto;
		padding-right:0.5em
	}
	legend {
		color:#FFF;
		background:#FF5110;
		font-style:italic;
		font-size:1.2em;
		margin-bottom:0.5em;
		padding:0.2em;
		width:auto;
		border:1px solid #CCC
	}
	textarea {
		margin: 0.5em 0;
		width:98%;
		height: 6em
	}
	/* Apply this class to text/select input fields with shorter labels
		to help alignment */
	.short-label label {float:left; width:10em}
	.short-label fieldset div input, 
	.short-label fieldset div select {width:16em}
	/* Pretty up your Captcha image output */
	.captcha {
		margin:0.5em 0;
		width:200px;
		text-align:center
	}
	.captcha img {border:1px solid #F60; margin-bottom:0.5em}
	.captcha input {width:196px; margin-top:0.5em}
	/* Just a bit more room for the Submit button */
	.submit {margin-top:1em}

	li {margin-bottom: 0.5em;}
	dl {
		margin:0;
		padding: 0.5em 0
	}
	dt {
		font-weight:bold;
		padding-left:0.5em
	}
	dd {
		margin-left:0px;
		padding: 0.2em 0 0.5em 0.5em;}
/* End of 'Base' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, let's hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'Layout: Top menu + 1 column' */
/*****************
Layout.css
******************/

/* center wrapper fixed width */
div#pagewrapper {}
div#header {
	min-width:780px;
	height: 100px;
	color:#fff;
	background:#000;
}
div#headwrap {
   width:280px;
   margin-left:100px;
   padding: 20px 0;
}
/*
	We will hide text and replace it with an image.
	We need to assign a height for it.
*/
div#header h1 a {
	background:url(images/logo.gif) no-repeat 0px 0px;
	float:left;
	height:45px;             /* adjust according your image size */
	width:260px;
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#search {
	float: right;
	width: 240px;
	margin:0 5px;
	text-align:right;
}
div#search label {
   display:none
}
div#search .submit {
	background:#003;
	border:1px solid #fff;
	color: #fff
}
#utils {
	clear:both;
	float:left;
	width:680px;
	min-width:680px;
	margin-left:100px;
	padding: 10px 0;
	border-bottom: 1px dotted #CCC;
}
div.breadcrumbs {
	float:left;
	font-size: 90%;
}
div.breadcrumbs span.lastitem { 
	font-weight:bold; 
}
div#print {
	float:right;
}
div#print a img {border:none}

div#content {
	clear:both;
	float:left;
	width:680px;
	min-width:680px;
	margin-left:100px;
	padding: 10px 0;
}
/* relational links under content */
#rel-links {
	clear:both;
	float:left;
	width:680px;
	margin-left:100px;
	padding: 10px 0;
	border-top: 1px dotted #CCC;
}

div.left49 {
	float: left;
	width: 320px;
	height:20px;
}
div.right49 {
	float: right;
	width: 320px;
	height:20px;
	text-align: right;
}
#gotop {
	float:right;
	width:22px
}
#gotop a img {border: none}
div#footer {
	clear:both;       /* keep footer below content and menu */
	font-size:85%;
	padding: 10px 0 10px 100px;
	background:url(images/top-inner.gif) top left repeat-x;
}
div#footer p {margin:0}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
	height: 1px;
	margin: 1em 0;
	border-bottom: 1px dotted #CCC;
}
/* End of 'Layout: Top menu + 1 column' */

