/* Start of CMSMS style sheet 'Main' */
/* ========================================================================== */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* { margin: 0; padding: 0; }
/*Set initial font styles*/
body {
	margin: 1em; /* gives some air for the pagewrapper */
	color: #000000;
	background: url(uploads/images/bg_tile.jpg) #FFFFFF;
	font: 75.01%/1em Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: left;
}
/*set font size for all divs,this overrides some body rules*/
div { font-size: 1em; }
/*if img is inside "a" it would have borders, we don't want that*/
/*****************
basic layout 
*****************/
/* center wrapper, min max width */
div#pagewrapper {
	border: 1px solid #caa878; 
	margin: 0 auto; 
	color: #000000;
	background: #FFFEEE;
	max-width: 80em; /* IE wont understand these, so we will use javascript magick */
	min-width: 60em;
}
/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/
div#header { height: 128px; /* adjust according your image size */ }
div#header h1 a {
	display: block;
	background: transparent url(images/strip.jpg) repeat-x 0 0; /* you can set your own image here */
	text-indent: -999em; /* this hides the text */
	text-decoration: none; /* old firefox would have shown underline for the link, this explicitly hides it */
	height: 128px; /* adjust according your image size */
}
div#search {
	float: right;
	width: 23em; /* enough width for the search input box */
	padding: 0.6em 0 0.2em 0;
	margin: 0 1em;
	text-align: right;
}
div.breadcrumbs {
	padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
	margin: 0 1em; /* css shorthand rule will be opened to be "0 1em 0 1em" */
	border-bottom: 1px dotted #000000;
	font-size: 90%; /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
}
div#content { margin: 1.5em auto 2em 0; /* some air above and under menu and content */ }
div#main {
	border-left: 266px solid #fffeee; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
	margin-right: 2%; /* and some air on the right */
	padding-left: 0.5em;
		background: #ffffff;
}
div#sidebar {
	float: left; /* set sidebar on the left side. Change to right to float it right instead. */
	width: 256px; /* sidebar width, if you change this please also change #main margins */
	margin-left: 0;
	display: inline; /* FIX ie doublemargin bug */
	background: #FFFEEE;
	padding: 5px;
}

div#footer {
	clear: both; /* keep footer below content and menu */
	color: #000000;
	background: #eed9a8;
}
div#footer p {
	padding: 1.5em; /* some air for footer */
	margin: 0;
	font-size: 0.8em;
	text-align: center; /* centered text */
}
div#footer p a {
	color: #000000; /* needed becouse footer link would be same color as background otherwise */
}
/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr { margin: 1em; border-bottom: 1px dotted #000000; clear: both; height: 1px; }
/* relational links under content */
/* 50% for both left and right might lead to rounding error on some browser */
div.left49 { float: left; width: 74%; }
div.right49 { float: right; width: 24%; text-align: right; }
/********************
CONTENT STYLING
*********************/
div#content { }
/* HEADINGS */
div#content h1 { margin: 0; font-size: 2em; /* font size for h1 */ line-height: 1em; }
div#content h2 {
	padding-left: 0;
	padding-bottom: 1px; /* set borders around header */
	border-bottom: 1px solid #CAA878;
	border-left: 0;
	margin: 0 0 0.5em 0;
	color: #221713;
	font-size: 1.5em;
	text-align: left; /* some air around the text */
	line-height: 1.5em; /* and some air under the border */
}
div#content h3 { margin: 0 0 0.5em 0; color: #294B5F; font-size: 1.3em; line-height: 1.3em; }
div#content h4 { margin: 0 0 0.25em 0; color: #294B5F; font-size: 1.2em; line-height: 1.3em; }
div#content h5 { margin: 0 0 0.25em 0; font-size: 1.1em; line-height: 1.3em; clear:both;}
h6 { margin: 0 0 0.25em 0; font-size: 1em; line-height: 1.3em; }
/* END HEADINGS */
/* TEXT */
p {
	margin: 0 0 1.5em 0; /* some air around p elements */
	padding: 0;
	font-size: 1em;
	line-height: 1.4em;
   
}
blockquote { border: 0; margin-left: 20px; }
pre { font: 1.0em monospace; }
strong, b { font-weight: bold; /* explicit setting for these */ }
em, i { font-style: italic; /* explicit setting for these */ }
/* END TEXT */
/* LISTS */
div#main ul,
div#main ol,
div#main dl { margin: 0 0 1.5em 0; font-size: 1.0em; line-height: 1.4em; }
div#main ul li,
div#main ol li { margin: 0 0 0.25em 3em; }
div#dl dt { margin: 0 0 0.25em 3em; font-weight: bold; }
div#dl dd { margin: 0 0 0 3em; }
/* END LISTS */
/* ========================================================================== */
/*default link styles - define before the menus*/
a,
a:link 
a:active {
	color: #221713;
	background: inherit;
	text-decoration: underline; /* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
}
a:visited {
	color: #221713; /* a different color can be used for visited links */
	background: inherit;
	text-decoration: underline;
}
/* remove underline on hover and change color */
a:hover { color: #caa878; background: #fffeee; text-decoration: none; }
/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span { width: 4000px; position: absolute; left: -5000px; }
/* make some room for the image */
a.external {
	padding: 0 12px 0 0; /* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
}
/* colors for external links */
a.external:link { color: #221713; background: url(images/cms/external.gif) no-repeat 100% 0; }
/* 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.*/
a.external:visited { color: #caa878; background: url(images/cms/external.gif) no-repeat 100% 0; }
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
a.external:hover {
	color: #221713;
	background: url(images/cms/external.gif) no-repeat 100% 0;
	background: #caa878;
}
/* end wiki style external links */
/* ========================================================================== */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */
#menu_vert { margin-left: 1px; margin-right: 1px; }
/* The wrapper clears the floating elements of the menu */
/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { border-bottom: 1px solid #caa878; width: 100%; background: #eed9a8; }
/* 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 { margin: 0px; padding: 0px; list-style: none; }
#primary-nav ul { display: none; position: absolute; top: auto; }
#primary-nav ul ul { margin-top: 1px; margin-left: -1px; left: 100%; top: 0px; }
#primary-nav li { margin-left: -1px; float: left; }
#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 {
	margin: 0px;
	padding: 5px 10px;
	display: block;
	color: #221713;
	text-decoration: none;
}
#primary-nav li a { border-right: 1px solid #caa878; border-left: 1px solid #caa878; }
#primary-nav li li a { border: 1px solid #caa878; }
#primary-nav li, #primary-nav li.menuparent { background: #eed9a8; }
/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive { background: #caa878 }
/* 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 { background: #eed9a8 url(images/cms/arrow.gif) no-repeat center right; }
/* 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: #fffeee; }
/* 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%; }
/* ========================================================================== */
/* ========================================================================== */
/* 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 {
	width: 0;
	display: inline;
	position: absolute;
	left: -1000px;
	top: -1000px;
	height: 0;
	overflow: hidden;
}
/* end accessibility */
/* ========================================================================== */
/*DM Styling */
img { border: 0; }
div#main img, div#sidebar img {
	border: 1px solid #221713;
	float: left;
	margin: 0 1em 1em 0;
	display: block;
}
div#sidebar img.nude { border: 0; }
div#main img.imgright { float: right; margin: 0 0 1em 1em; }
div#main img.imgcenter { float: none; margin: 0 auto 1em auto; }
div#main a.noprint img { border: 0; }
p.pclear {clear: both}

/* ========================================================================== */

/* End of 'Main' */

/* Start of CMSMS style sheet 'News Module' */
/* ========================================================================== */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  background: #FFE9AF; 
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
    padding: 0.5em 0.5em 1em; /* padding for the news article summary */
    margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #ccc; 
}

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */


#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}

#NewsPostDetailPrintLink {clear: both;}
#NewsPostDetailReturnLink {clear: both; padding-top; 0.5em}
/* ========================================================================== */
/* End of 'News Module' */

