/* @@@ Plugin touchFastCss @@@ cssId: 56, cssName: css sub nav, cssModified: 2008-11-27 14:46:53 */
/* 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 */
/* Sample FormBuilder CSS 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;
	}
	fieldset div div {
		margin-top:0.5em;
		margin-left:1em
	}
	fieldset {
		margin-bottom:1em;
		border:1px solid #F60;
		padding:0.5em
	}
	fieldset label {
		width:auto;
	}
	legend {
		color:#FFF;
		background:#F60;
		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:180px;
		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
	}
	.graphic_captcha {border:1px solid #000; margin-bottom:0.5em}
	.input_captcha {width:196px; margin-top:0.5em}

	/* Just a bit more room for the Submit button */
	.submit {margin-top:0.5em}

input#fbsubmit
{
}

.error, .error_message
{color:red;}

.formbuilderform
{width:174px;}

table#sendfriend
{width:60%;}

input.email, input.toname, input.name
{width:100%;}

.leftFriend
{width:45%;}

.formMessage
{font-weight:bold;
color:#de120d;}

.formError
{font-weight:bold;
color:#de120d;}

.center
{text-align:center;}/*****************
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;
outline: none;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana,Arial,Helvetica,sans-serif;
   font-size: 75.01%;
   line-height: 1.5em;
}

/*
set font size for all divs,
this overrides some body rules
*/

div {
   font-size: 1em;
font-size:11px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

#sidebarsidebar02 p a,
#sidebarsidebar02 p a:link,
#sidebarsidebar02 p a:active
{color:blue;}
#sidebarsidebar02 p a:visited
{color:#551A8B}
#sidebarsidebar02 p a:hover
{color:blue}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   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 */
   background-color: inherit; 
   color: #000; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #000;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color:#FF9966;
}

/*****************
basic layout 
*****************/
body {
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
}

.intro
{color:#000;
text-align:center;
font-size:0.8em;}

/* center wrapper, min max width */
div#pagewrapper {
   border: 5px solid #1f3241;
   margin: 0 auto;       /* this centers wrapper */

   color: black;
background-color:#1f3241;
width:751px;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 120px;    /* adjust according your image size */
   background: #1f3241;
}

div#header h1 a {
/* you can set your own image here */
   background: #F0EEE1 url(../uploads/images/toplogo.png) center 6px no-repeat; 
   display: block;
   height: 116px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   font-size:0px;
   line-height:0px;
}

div#header.sub h1 a {
/* you can set your own image here */
   background: #F0EEE1 url(../uploads/images/toplogo.png) center 0px no-repeat; 
   display: block;
   height: 107px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   font-size:0px;
   line-height:0px;
}
div#header.sub 
{height:117px;}


div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

div#content {
   margin: 1px auto 1px 0;   /* some air above and under menu and content */

background-color:#1f3241;
}


div#main {
   margin-right: 205px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-left: 1px; /* and some air on the right */

background-color: #f1efe2;
padding: 3px;
}

div#sidebar {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 183px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 1px;
}


div#mainmain {

background-color: #1f3241;
padding: 0px;
color: #fff;
position:relative;
}

div#sidebarsidebar {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 180px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */

background-color: #f1efe2;
}


div#sidebarsidebar02 {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 160px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
margin-top:10px;



color: #000000;
border: 0px solid green;
text-align: center;
}

div#footer {
clear:both;
color:#6c6c6c;
}
div#footer {
font-size:0.8em;
margin:0pt;
padding:0em;
text-align:center;
padding-top:0px;
}
div#footer a {
color:#fff;
text-transform:lowercase;
}
.footertable
{vertical-align:bottom;}

div#footer a, div#footer a:visited 
{text-decoration:none;
background-color:transparent;
color:#fff;}

div#footer a:hover
{text-decoration:underline;
background-color:transparent;
color:#fff;}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;


   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
  font-size:0.7em;
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
  font-size:0.7em;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, h6 {
font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;

   font-family: "Arial Narrow",Helvetica,sans-serif;
}

/* HEADINGS */
div#content h1 {
margin-top:-3px;
	color: #1D3344; 
	font-size: 32px; 
	text-align: left; 
	padding-bottom: 1px;
        line-height: 1em;
text-transform:uppercase;
   font-family: "Arial Narrow",Helvetica,sans-serif;
margin-left:-2px;
margin-bottom:5px;
}
div#content h2 {
	color: #1D3344; 
	font-size: 21px; 
	text-align: left; 
	padding-bottom: 1px;
        line-height: 1.3em;
        margin: 0 0 0.3em 0;
text-align:center;
}
div#content h3 {
   color: #1D3344; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #1D3344; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #1D3344; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}



/* END HEADINGS */

/* TEXT */
p {
   font-size: 11px;
   margin: 0 0 1em 0; /* some air around p elements */
   line-height: 1.25em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}



/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {

   line-height: 1.25em;
   margin: 0 0 1em 0;

list-style-type:disc;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0em 3em;

}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

.hidden
{display:none;}

.image
{padding:5px;}

.home .NewsSummary a
{color:#F0EEE1;}

.NewsSummary
{margin-bottom:10px;
border-bottom:1px dotted #ccc;
padding-bottom:5px;}


/* END LISTS *//* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper determines the width of the menu elements */
#menuwrappersub { 

text-transform:uppercase;
width: 93%;
padding-top: 12px; 
border: 0px solid red;
margin-bottom:52px;
font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
   width: 100%; 
   margin-right: -5px;

}
#primary-nav ul { 
   position: absolute; 
   top: 5px; 
   right: 100%;  /* change this from left to right */
   display: none; 
}

#primary-nav li { 
   margin-bottom: -1px; 
   position: relative; 
margin-bottom:6px;
}

#primary-nav li li { 
   margin-bottom: -1px; 
   position: relative; 
z-index:4000; position:relative; display:block;
margin-bottom:0px;
border-bottom: 1px solid black;
width: 195px;
}

#primary-nav li li a:link, 
#primary-nav li li.menuh a:link, 
#primary-nav li li.menuparenth a:link, 
#primary-nav li li.menuactiveh a:link { 

color: #ffffff;
background-color: #1d3344; 
}


#primary-nav li li a:visited, 
#primary-nav li li.menuh a:visited, 
#primary-nav li li.menuparenth a:visited, 
#primary-nav li li.menuactiveh a:visited { 


background-color: #1d3344; 
color: #ffffff;
}


#primary-nav li li a:hover, 
#primary-nav li li.menuh a:hover, 
#primary-nav li li.menuparenth a:hover, 
#primary-nav li li.menuactiveh a:hover { 

background-color:blue; 
color: #ffffff;
}


/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block;
   margin: 0px; 
   text-decoration: none; 
   background-color: #f1efe2;
text-align: right; 
color: #172d3b;
font-size: 14px;
font-weight: bold;
padding:3px;
padding-left:0px;
margin-bottom:-1px;
}


#primary-nav  li li a {
text-align:left; 
font-size:11px;
font-weight:normal;
padding:0px;
padding-left:5px;

}


#primary-nav li, #primary-nav li.menuparent { 
   background-color: #ececec; 
}


/* 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 li.menuparent, 
#primary-nav li.menuparent:hover, 
#primary-nav li.menuparenth { 
   /* background-image: url(../uploads/images/template/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 { 
}


#primary-nav li a:hover, 
#primary-nav li.menuh a:hover, 
#primary-nav li.menuparenth a:hover, 
#primary-nav li.menuactiveh a:hover { 

background-color: #f1efe2; 
color: #ff9966;
}



/* 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.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}
#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 Hack, will cause the css to not validate */

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


/* section header */
#primary-nav li.sectionheader {
   border-left: 1px solid #006699; 
   border-top: 1px solid #006699; 
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0.5em;
   background-color: #fff;
   margin: 0;
   width: 100%;
}


/* separator */
#primary-nav li hr.separator {
   display:block;
   height: 0.5em;
   color: #abb0b6;
   background-color: #abb0b6;
   width: 100%;
   border:0;
   margin:0;
   padding:0;   
   border-top: 1px solid #006699;
   border-right: 1px solid #006699;
}


ul#primary-nav li.menuparenth,
ul#primary-nav li.menuparent a.menuparent
{z-index:1;
}

ul#primary-nav li.menuparenth li a
{z-index:500;}
