/* Start of CMSMS style sheet 'main' */
@charset "UTF-8";
/* CSS Document */

/*****************
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 {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 11px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a:link {
   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: #233A46; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	color: #FFFFFF;
}

/*****************
basic layout 
*****************/
/* Hack that removes 3px jog in IE */
* html #floated-table {
margin: 0 0 0 -4px; ma\rgin: 0 0 0 -4;
}

.imgportfolio {
border: 1px solid #000000;
}

body {
   background-color: #415860;
   color: #333;
   margin:0; /* gives some air for the pagewrapper */
}

div#horizon{
	background-color: transparent;
	position: absolute;
	top: 40%;
	left: 0px;
	width: 100%;
	margin-top: -178px;
	text-align: center;
	min-width: 830px; 
}

div#homewrapper {
   margin: 0 auto;     /* this centers wrapper */
   position: relative;
   max-width: 830px; /* IE wont understand these, so we will use javascript magick */
   min-width: 830px;
   background-color: #415860;
   height: 497px;
   text-align:left;
   color: black;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   max-width: 830px; /* IE wont understand these, so we will use javascript magick */
   min-width: 830px;
   background-color: #415860;
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 100px; /* adjust according your image size */
   background: #415860;        
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/header.gif) no-repeat 0 0; 
   display: block; 
   height: 100px;             /* 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 */
}

div#search {
   float: right;
   width: 23em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0;
}

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;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   border: 1px solid black;
   margin: 0; /* some air above and under menu and content */
   padding: 0;
   background: #a3aeb2 url(images/bk-content.gif) repeat-y 0 0; 
}

 div#contenthome {
   border: 1px solid black;
   margin: 0; /* some air above and under menu and content */
   padding: 0;
}

div#mainhome {

}

div#main {
   margin: 0 0 0 183px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
}


div#sidebar {
	float:left;/* set sidebar on the left side. Change to right to float it right instead. */
	display:inline;
	width: 170px;    /* sidebar width, if you change this please also change #main margins */ /* FIX ie doublemargin bug */
	margin: 0;
	padding: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
      float:left;/* set sidebar on the left side. Change to right to float it right instead. */
   display:inline;
   width: 160px;    /* sidebar width, if you change this please also change #main margins */ /* FIX ie doublemargin bug */
   margin: 0;
   padding: 0;
}

div#logohome {
	

}


div#footer {
	margin: 3px 0 3px 0;
	border: 1px solid black;
   clear:both;       /* keep footer below content and menu */
   color: #54737A;
   background-color: #314953; /* same bg color as in header */
}

div#footer p {
   font-size: 12px;
   margin:0;
}

div#homefooter p {
   padding: 5px 10px 10px 10px;      /* some air for footer */
   text-align: right; /* centered text */
   }

div#backfooter p {
   padding: 50px 10px 10px 10px;      /* some air for footer */
   text-align: right; /* centered text */
   }

div#copyright {
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	text-align:right;
	color:#2b404d;
	margin: 0 0 3px 0;
}

div#footer p a {
	text-decoration:none;
   color: #54737A; /* needed becouse footer link would be same color as background otherwise */
}

div#footer p a:hover {
   color: #FFFFFF; /* 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 {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}



/********************
CONTENT STYLING
*********************/
div#content {
padding:0;
margin:0;

}

/* HEADINGS */
div#content h1 {
   color:#FFFFFF;
   font-size: 20px;  /* font size for h1 */
   line-height: 1em;
   margin: .5em 0 0.5em 0;
   font-weight:lighter;
   padding-left: 10px;
}
div#content h2 {
	color: #FFFFFF;
	font-size: 20px;
	text-align: left;
	font-weight:lighter;
	/* some air around the text */
   padding-bottom: 1px;
	/* set borders around header */
   line-height: 1.5em;
	padding-left: 10px;
	margin-top: 0em;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
}
div#content h3 {
	color: #FFFFFF;
	font-size: 15px;
	line-height: 1.3em;
	margin: 15px 0 10px 0;
	font-weight:lighter;
	padding-left: 0px;
}
div#content h4 {
   color: #294B5F; 
   font-size: 15px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   padding-left: 10px;
}
div#content h5 {
   font-size: 15px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   padding-left: 10px;
}
h6 {
   font-size: 15px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   padding-left: 10px;
}

table {
	
}
tr {
	
}
td {
}
tbody {
	
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 11px;
   margin:  11px 10px 0 10px;  /* some air around p elements */
   line-height: 18px;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 11px;
}
strong, b {
	/* explicit setting for these */
   font-weight: bold;
	color: #233A46;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
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 */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
	font-size: 11px;
	line-height:18px;
	padding-left: 15px;
	list-style-image: url(images/bullet.gif);
	margin-top: 15px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0 30px;
	padding-left: 0px;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */



/********************
MENU
*********************/

div#topnav{
margin: 0 0 3px 0;
}

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
	background: url(images/bk-nav.gif) no-repeat top left;
	background-color: #132938;  /* background color for the entire menu row */
	width: 830px;
	height: 44px;
	margin: 0 0 3px 0;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0;
}


/* menu list items */
div#menu_horiz li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0;
   padding: 14px 0 18px 0;
   
}


/* the links, that is each list item */
div#menu_horiz a {
   padding: 0 10px 0 18px; /* padding inside the list item box */
   border-right: 1px dotted #C0C0C0;
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #a3aeb2;
   display: block; /* IE has problems with this, fixed above */
}


/* hover state for links */
div#menu_horiz li a:hover {
	color: #FFFFFF;
	background-color: transparent;
}
div#menu_horiz a.activeparent:hover {
	color: #FFFFFF;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a { 
   color: #FFFFFF;
}

div#menu_horiz h3 {
   padding: 0 10px 0 18px; /* padding inside the list item box */
   border-right: 1px dotted #C0C0C0;
   font-weight:lighter;
   font-size:12px;
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #fff;
   display: block; /* IE has problems with this, fixed above */
}






/********************
MENU
*********************/
#menu_vert {
   padding: 0;
   margin-left: 17px;
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 10px;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;
   line-height:
}

#menu_vert ul li ul {
   border: none;
   margin: 0;
   padding: 0;
}

#menu_vert ul {
   border: none;
   margin: 0;
   padding: 0;
}


/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 3px 5px 3px 0; /* some air for it */
   color: #a3aeb2; /* this will be link color for all levels */
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   padding: 3px 5px 3px 0; /* some air for it */
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 7px;
}

/* hover state for all links */
div#menu_vert a:hover {
   color: #FFFFFF;
}
div#menu_vert a.activeparent:hover {
   background-color: #C3D4DF;
   color: #18507C;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
	background-color: #385C72;
	color: #fff;
}

div#menu_vert ul ul li a.activeparent {
	background-position: 1.5em center;
	background-color: transparent;
	color: #FFFFFF;
	font-weight: bold;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   font-weight:bold;
   font-size:11px;
   background-color: #385C72;
   display: block; 
   padding: 3px 5px 3px 0;  /* some air for it */
   color: #FFFFFF;                                 /* this will be link color for all levels */
   text-decoration: none;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size:11px;
   font-weight:bold;
   padding: 3px 5px 3px 0;
   background-color: transparent;
   border-bottom: none;
   color: #FFFFFF;
    text-decoration: none;   
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
	padding: 3px 5px 3px 7px;
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 10px;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}

/* End of 'main' */

