/* Start of CMSMS style sheet 'common_styles' */
/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/*1. Layout*/

/* CSS for the box starts here
================================================*/
/* Insert the custom corners and borders for browsers with JavaScript on */
.cb {
	margin:0.5em auto;
	min-width: 60em;
	max-width:82em;
        padding: 0;
        background: #fff;
	text-align: left;
	/*_width: expression(((document.body.clientWidth)) < 750? "750px": ((document.body.clientWidth)) > 975? "975px": "auto" );*/

}
/* Rules for the top corners and border */
.bt {
	background:url(images/css/box.png) no-repeat 100% 0;
	margin:0 0 0 28px;
	height:27px;
}
.bt div {
	height:27px;
	width:28px;
	position:relative;
	left:-28px;
	background:url(images/css/box.png) no-repeat 0 0;
}

/* Rules for the bottom corners and border */
.bb {
	background:url(images/css/box.png) no-repeat 100% 100%;
	margin:-1px 0 0 28px;
	height:27px;
}
.bb div {

	height:27px;
	width:28px;
	position:relative;
	left:-28px;
	background:url(images/css/box.png) no-repeat 0 100%;
}

/* Insert the left border */
.i1 {
	padding:0 0 0 25px;
	background:url(images/css/borders.png) repeat-y 0 0;
}
/* Insert the right border */
.i2 {
	padding:0 25px 0 0;
	background:url(images/css/borders.png) repeat-y 100% 0;
}
/* Wrapper for the content. Use it to set the background colour and insert some padding between the borders and the content. */
.i3 {
	background:#fff;
	border:1px solid #fff;
	border-width:1px 0;
	padding:0px 5px 0px 5px;
}
/* CSS for the box ends here */	

/* SITE SPECIFIC LAYOUT */
    body {
        margin: 0;
        padding: 1em;
        text-align: center;
    }
    div#pagewrapper {
        margin: 0 auto;
        max-width: 80em;
        min-width: 826px;
/*min-width:60em; original value*/
        padding: 0;
        text-align: left;
    }
    #container {
	position: relative;
	margin: 0;

    }
    
    /* HEADER */
        div#header {
            margin: 0;
            padding: 0;
            height: 60px;
            background: #9ACD32;           
            text-align: left;
        }
        div#header h1 a {
            display: block;
            height: 60px;
            text-indent: -700em;
            width: 198px;
            margin: 0;
            padding: 0;
            text-decoration:none;
        }
    /* END HEADER */
    
    
    /* CONTENT */
        div#content {
        }
        
        /* MAIN */
            div#main {
background:#fff;
            }
        /* END MAIN */
        
        /* SUB */
            div#sub {

            }
        /* END SUB */
        
    /* END CONTENT */
    
    
    /* FOOTER */
        div#footer {

        }

        div#footer p {
            font-size: 0.8em;
            margin: 0;
            padding: 15px;
            text-align: center;
        }
    /* END FOOTER */

/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* NAV BAR ON THE LEFT AND TWO COLUMNS OF CONTENT*/
    div#content {
        position: relative;
        width: 100%;
        margin: 1.5em 0 2em 0;
        padding: 0;
        text-align: left;
    }
    div#menu_vert {
        float: left;
        width: 25%;
        display: inline;
    }

/*END CONTENT */

/* END LAYOUT */



div.breadcrumbs {
   padding-bottom: 5px;
   text-align: left;
   font-size: 90%;
   margin: 0;
   border-bottom: 1px dotted #000;
}

div.flags {
  float: right;
  width: 18px;
  padding: 1em 0;
  text-align: right;
  margin: 0 1em 0 0;
}

div.left49 {
  float: left;
  width: 49%;
  }

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
  }

/*2. Colours*/

/* Layout sections */
	body {
                background: #2D4429;
		color: #333;
		}
		
	div#pagewrapper {
		background: #fff;
	    }
		
	div#header {
		color: #fff;
		background-color: #446948;
		}
		
	div#footer {
		color: #fff;
		background-color: #446948;
		}
		
/* Links */		
	a,
	a:link 
	a:active, a:visited {
		color: #2D4429;
	}

/* Headings */	
	h1, h2, h3, h4, h5, h6 {
		color: #000;
	}

/*3. Tools*/

/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* clearing */
	.stretch,
	.clear {
		clear:both; 
		height:1px; 
		margin:0; 
		padding:0; 
		font-size: 15px;
		line-height: 1px;
	}
	.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 */


/* replace */
	.replace {
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	/* tidy these up */
	.replace * {
		text-indent: -10000px;
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	.replace a {
		text-indent:0;
	}
	.replace a span {
		text-indent:-10000px;
	}
/* end replace */


/* accessibility */
     span.accesskey {
     	text-decoration:none;
     }
     .accessibility {
     	position: absolute;
     	top: -999em;
     	left: -999em;
     }
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: none;
}
/* end accessibility */

/*4. Typography*/

/* A CSS Framework by Mike Stenhouse of Content with Style */

/* TYPOGRAPHY */
	body {
		text-align: left;
		font-family:sans-serif;
		font-size: 1em;
                line-height: 1em;
	}
	div {
		font-size: 1em;
	}
	img {
		border: 0;
	}
	
/* LINKS */
	a,
	a:link 
	a:active, a:visited {
		text-decoration: underline;
	}

        div#footer a, 	
        div#footer a:link 
	div#footer a:active, div#footer a:visited {
               color: #fff;
        }

	a:hover {
	text-decoration: none;
	}


/* END LINKS */
	
/* HEADINGS */
	h1 {
		font-size: 2em; line-height:1.5em;
	}
	h2 {
		font-size: 1.5em;line-height:1.5em;
	}
	h3 {
		font-size: 1.3em;line-height:1.3em;
	}
	h4 {
		font-size: 1.2em;line-height:1.2em;
	}
	h5 {
		font-size: 1.1em;line-height:1.1em;
	}
	h6 {
		font-size: 1em;
	}
/* END HEADINGS */

/* TEXT */
	p {
		font-size: 1em;
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height:1.4em;
	}
	blockquote {
		border-left: 10px solid #ddd;
		margin-left: 10px;
	}
	pre {
		font-family: monospace;
		font-size: 1.0em;
	}

    code {
        font-family: "Courier New", Courier, monospace;
        font-size: 1em;
        white-space: pre;
    }
/* END TEXT */
	
/* LISTS */
	#main ul {
        line-height:1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	#main ul li {
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	ol {
		font-size: 1.0em;
		line-height: 1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	ol li {
		font-size: 1.0em;
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	dl {
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height: 1.4em;
	}
	dl dt {
		font-weight: bold;
		margin: 0.25em 0 0.25em 0;
		padding: 0;
	}
	dl dd {
		margin: 0 0 0 30px;
		padding: 0;
	}
/* END LISTS */
	
	
/* TABLE */
	table {
        font-size: 1em;
		margin: 0 0 1.5em 0;
        padding: 0;
	}
	table caption {
		font-weight: bold;
		margin: 0 0 0 0;
		padding: 0 0 1.5em 0;
	}
	th {
		font-weight: bold;
		text-align: left;
	}
	td {
		font-size: 1em;
	}
/* END TABLE */	
	
	hr {
		display: none;
	}

	div.hr {
		height: 1px;
		margin: 1em 10px;
		border-bottom: 1px dotted black;
	}

	
/* END TYPOGRAPHY */	

/* Start of CMSMS style sheet 'Default CSSMenu Vertical' */
/* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper determines the width of the menu elements */

#menuwrapper { 
	width: 100%; 
	}


/* Unless you know what you do, do not touch this */ 

#primary-nav, #primary-nav ul { 
	list-style: none; 
	margin: 0px; 
	padding: 0px; 
	width: 100%; 
        background: #2D4429;
	}
#primary-nav ul { 
	position: absolute; 
	top: 0; 
	left: 100%; 
	display: none; 
	}
#primary-nav li { 
	position: relative; 
        /*background: #204529;*/
        display: block;
        width: 100%;
        list-style: none;
        margin-bottom: -1px; 
	}


/* Styling the basic appearance of the menu elements */

#primary-nav a { 
	border: 1px solid #000000; 
	display: block; 
	margin: 0px; 
	text-decoration: none; 
        color: #fff;
        padding: 5px 5px 5px 10px;
	}

#primary-nav span { 
	border: 1px solid #000000; 
	display: block; 
	margin: 0px; 
	text-decoration: none; 
        color: #fff;
        padding: 5px 5px 5px 10px;
        cursor:default;
	}

#primary-nav a:hover { 
	border: 1px solid #000000; 
	display: block; 
	margin: 0px; 
	text-decoration: none; 
        padding: 5px 5px 5px 10px;
        background-color:#eee;
        color:#2D4429;
	}

/*Current page */

#primary-nav li.menuactive, #primary-nav li.menuactive:hover, #primary-nav li.menuactiveh { 
	background-color: #446948; 
	}

/* Styling the basic appearance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav li.menuparent { 
	background-image: url(images/css/arrow.gif); 
	background-position: center right; 
	background-repeat: no-repeat; 
	}

/*, #primary-nav li.menuparent:hover, #primary-nav li.menuparenth, #primary-nav a.menuparent --taken from above*/
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul, #primary-nav li.menuparenth ul ul ul
        { 
	display: none; 
	}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav ul ul ul li:hover ul, #primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul, #primary-nav ul ul ul li.menuparenth ul  
        { 
	display: block; 
	}

/* IE Hack, will cause the css to not validate */

#primary-nav li, #primary-nav li.menuparent #primary-nav li.menuparenth { _float: left; _height: 1%; }
#primary-nav li a { _height: 1%; }

/* Fix IE. Hide from IE Mac \*/
* html #primary-nav li { float: left; height: 1%; }
* html #primary-nav li a { height: 1%; }
/* End */

/* End of 'Default CSSMenu Vertical' */

/*simple horizontal menu*/

#navlist li
{
display: inline;
list-style-type: none;
padding-right: 10px;
line-height:1.5em;
}

/*6. News*/

.NewsSummary {
    margin-bottom: 10px;
 }

.NewsSummaryCategory {
  font-size:0.7em;
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryPostdate {
  font-size: 80%;
  font-weight: bold;
  margin-bottom: 5px;
 }

.NewsSummarySummary, .NewsSummaryContent {
  font-size:80%;
  line-height: 140%;
  margin-bottom: 10px;
 }

#NewsPostDetailDate {
  font-size: 80%;
  font-style: italic;
  margin-bottom: 5px;
  }

#NewsPostDetailSummary {
   margin-bottom: 10px;
  line-height: 150%;
  font-weight:bold;
   }

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

.NewsSummaryLink {
font-weight:bold;
font-size:80%;
  margin-bottom: 5px;
}

/* to add specific style to the below div, uncomment them. */
/* 

.NewsSummaryAuthor {}
.NewsSummaryMorelink {}
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailCategory {}
#NewsPostDetailAuthor {}
#NewsPostDetailAuthor {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/

/*7. Forms*/

/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* FORM ELEMENTS */
	form {
		margin:0;
		padding:0;
	}
	form div,
	form p {
		font-size: 1em;
		margin: 0 0 1em 0;
		padding: 0;
	}
	label {
		font-weight: bold;
	}
	fieldset {
		border: 1px solid #eee;
		padding: 5px 10px;
		margin: 0 0 1.5em 0;
	}
	fieldset legend {
		color: #666;
		font-size: 1.1em;
		font-weight: bold;
		margin: 0 0 0 0px;
		padding: 0;
		background-color: white;
	}
	* html fieldset legend {
		margin: 0 0 10px -10px;
	}
	fieldset ul {
		list-style: none;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	fieldset ul li {
		list-style: none;
		margin: 0 0 0.5em 0;
		padding: 0;
	}
     
	
	input, select, textarea {
		font-size:1em; 
		font-family: arial, helvetica, verdana, sans-serif;
        
        margin: 0;
		padding: 2px;
	}
	
	input, select {
		vertical-align:middle;
	}
	textarea {
		width: 200px;
		height: 8em;
	}
	
	input.check {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.radio {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.file {
		height: auto;
		width: 250px;
	}
	input.readonly {
		background-color: transparent;
		border: none;
	}
	input.button {
		width: 10em;
		border:1px solid black;
		background-color: #ddd;
	}
	input.image {
		border: none;
		width: auto;
		height: auto; 
	}
	
    form div.submit {
		margin: 1em 0;
	}
    form div.submit input {
		height: 2em;
        width: 15em;
	}
/* END FORM ELEMENTS */

.centre
{
margin:auto;
text-align:center;
}

 /*drop shadow effect*/

	.shadow1 {
		background: #ddd;
	        position: relative;
	        left: -2px;
	        top: -1px;
                border:none;
	}
 
	.shadow2 {
		background: #bbb;
	        position: relative;
	        left: -2px;
	        top: -1px;
                border:none;
	}
 
	.shadow3 {
		background: #aaa;
	        position: relative;
	        left: -2px;
	        top: -2px;
                border:none;
	}
/* End of 'common_styles' */

