/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
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, lets 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' */

/* Start of CMSMS style sheet 'Fonts' */
p {
	font-size: 10pt;
	line-height: 12pt;
   margin: 0 0 1.5em 0;  /* some air around p elements */
}
.standard {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	line-height: 12pt;
	color: black;
	text-align: left;
}
.small {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 7pt;
	line-height: 8pt;
	color: black;
	text-align: left;
}

/* End of 'Fonts' */

/* Start of CMSMS style sheet 'General - Top Nav Only' */
/*
* {
margin:0;
padding:0;
}
*/

/* ------------- Form fields on contact form ---------------- */
.user {
	width: 300px;
	height: 100px;
}

/* ------------- Page font ----------------- */
body {
   background: #ffffff url(uploads/images/SiteDesign/background.jpg) repeat-y 70px 70px;
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

div {
   font-size: 1em;
}

img {
   border: 0;
}

/* ------------- Default link styles ----------------- */
a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit;
   color: #CC66CC; 
}

a:visited {
   text-decoration: underline;
   background-color: #inherit;
   color: inherit; 
}

a:hover {
   text-decoration: underline;
   background-color: #inherit;
   color: inherit; 
   color: #9900CC; 
}

/* ------------- Entire body area ----------------- */
body {
   background-color: #ffffff;
 margin:0;
padding:0;
}

/* ------------- Inner area for site ----------------- */
div#pagewrapper {
   margin: 0;
   width: 100%;
}

/* ------------- Top header ----------------- */
div#header {
   background: url(uploads/images/SiteDesign/top_background.jpg);
   height: 210px; /* adjust according your image size */
   width: 100%;
   max-width: 100%;
}

div#header_right {
        background: url(uploads/images/SiteDesign/top_picture.jpg) no-repeat;
	width: 216px;
   height: 159px; /* adjust according your image size */
float: right;
border: 3px solid #9900CC;
margin: 5px;
}

div#header_left {
        background: url(uploads/images/SiteDesign/logo2.jpg) no-repeat top right;
	width: 640px;
   height: 170px; /* adjust according your image size */
float: left;
/*
margin-left: 200px;
margin-top: 5px;
*/
}

/* ------------- The actual content part of the page ----------------- */
div#content {
   margin: 0px;
   padding: 0px;
}

div#main_left {
    float: left;
    width: 130px;
/*
    background-color: #9999CC;
*/
    padding: 10px;
}
div#main_right {
    float: right;
    width: 300px;
/*
    border-left: 3px solid #9900CC;
    border-bottom: 3px solid #9900CC;
*/
    padding: 10px;
}

div#breadcrumbs {
    float: right;
}

/* ------------- left is the sidebar, right is the content ----------------- */
div#main {
/*
   margin-top: 10px;
   margin-right: 340px;
   margin-left: 160px;
*/
   margin-left: 225px;
   margin-right: auto;
   padding: 10px 10px 0 0;
}

/* ------------- The footer ----------------- */
div#footer {
   clear:both;       /* keep footer below content and menu */
   padding-top: 5px;
   margin-top: 5px;
   height: 20px;
/*
   border-top: 3px solid #9900CC;
   background: url(uploads/images/SiteDesign/top_background.jpg);
*/
}

/*
div#footer p {
   text-align: center; /* centered text */
   clear:both;       /* keep footer below content and menu */
   background-color: #ffffff; /* same bg color as in header */
}
*/

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/* ------------- Styles for content ----------------- */
div#content {

}

/* ------------- Headings ----------------- */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #9900CC; 
   font-size: 1.5em; 
   text-align: left; 
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #9900CC; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #9900CC; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

/* ------------- Paragraphs and blocks of text ----------------- */
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
   font-weight: bold;
}
em, i {
   font-style:italic;
}

code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* ------------- Lists, bullets etc ----------------- */
div#main ul,
div#main ol,
div#main dl {
   margin: .4em 0 .25em .4em;
   padding: 0 0 0 .5em;
   list-style-type: disc;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0 .25em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0 .25em;
}
div#dl dd {
   margin: 0 0 0 .25em;
}

/* ------------- Single level menu going across ----------------- */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_horiz {
   margin-left: 0 0 0 10px;
   background-color: #9900CC; 
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   background-color: #9900CC;
   width: 100%;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0 0 0 10px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
   background-color: #9900CC;
filter:alpha(opacity=85);-moz-opacity:.85;opacity:.85;
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
   background-color: red;
filter:alpha(opacity=85);-moz-opacity:.85;opacity:.85;
}
	
#primary-nav li { 
/*
   margin-left: 10px;
*/
   float: left; 
}
#primary-nav li li { 
   margin-left: -10px;
   margin-top: -1px;
   float: none; 
   position: relative; 
border-bottom: 2px dashed #c0c0c0;
padding-left: 10px;
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   background-color: #9900CC; 
   color: #FFFFFF;
}
#primary-nav a:hover { 
/*
   background-color: #9900CC; 
*/
   text-decoration: underline; 
}

#primary-nav li a { 
/*
   border-right: 1px solid #C0C0C0;
   border-left: 1px solid #C0C0C0;
*/
}
#primary-nav li li a { 
/*
   border: 1px solid #C0C0C0;
*/
}	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #9900CC; 
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #9900CC; 
   text-decoration: none; 
   color: #FFFFFF;
}


/* 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-color: #9900CC; 
   text-decoration: none; 
   color: #FFFFFF;
}


/* 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: #9900CC; 
   text-decoration: underline; 
   color: #FFFFFF;
}


/* 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 'General - Top Nav Only' */

