/*****************
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: 75.01%;
	line-height: 1em;
	background-color: #77C6ED;
	background-image: url(/images/bg/redirect.jpg);
	padding: 0px;
	background-position: center top;
	background-attachment: fixed;
	margin-bottom: 1em;
	color: #003366;
}

/*
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
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
	text-decoration: none;
	color: #FF0000;
}

a:visited {
	text-decoration: none;
	background-color: inherit;
	color: #FF0000;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
	text-decoration: underline;
	color: #0099FF;
}


/*****************
basic layout 
*****************/


/* center wrapper, min max width */
div#pagewrapper {
	max-width: 80em;   /* IE wont understand these, so we will use javascript magick */
	min-width: 60em;
	background-color: #fff;
	color: #003366;
	border: 1px solid #000066;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}


/*** 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: 122px;
	background-color: #466ABE;
	background-image: url(../images/logo_5_bg.jpg);
	background-repeat: repeat-x;
	background-position: right top;
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   display: block;
   height: 80px;             /* 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 */
}

/* position for the search box */
div#search {
	float: right;
	width: 27em;    /* enough width for the search input box */
	text-align: right;
	margin-top: 0;
	margin-right: 1em;
	margin-bottom: 0;
	margin-left: 0em;
	padding-top: 0.6em;
	padding-right: 0;
	padding-bottom: 0.2em;
	padding-left: 0;
	clear: left;
}

div.breadcrumbs {
	font-size: 90%;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
	border-bottom: 1px dotted #000;
	margin-top: 0;
	margin-right: 1px;
	margin-bottom: 0;
	margin-left: 1px;
	padding-top: 1em;
	padding-right: 0;
	padding-bottom: 1.2em;
	padding-left: 0;
	text-indent: 1em;

}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
	margin-top: 1em;
	margin-right: auto;
	margin-bottom: 1em;
	margin-left: 0;
}


div#main {
	margin-left: 27.5%; /* 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 */
}

div#sidebar {
	float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
	width: 26%;     /* sidebar width, if you change this please also change #main margins */
	display: inline;  /* FIX IE double margin bug */
	margin-left: 0;
}
div#homepic {
	clear: both;       /* keep footer below content and menu */
	width: 100%;
	margin-bottom: 1em;
}

div#footer {
	clear: both;       /* keep footer below content and menu */
	color: #fff;
	background-color: #3082B2; /* same bg color as in header */
	background-image: url(../images/bg/footer_bg.jpg);
	background-repeat: repeat-x;
	background-position: left bottom;
	height: 80px;
}

div#footer p {
	font-size: 0.8em;
	padding: 1.5em;       /* some air for footer */
	text-align: center;  /* centered text */
	margin: 0;
	color: #FFFFFF;
}

.boatstyle {
	left: 0px;
	top: 0px;
	visibility: visible;
	z-index: 100;
	position: relative;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 110%;
	padding-left: 100px;
	line-height: 20px;
	font-weight: bold;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #006699;
}

.boatstyle a:link, .boatstyle a:active, .boatstyle a:visited {
	color: #003D74;
	text-decoration: none;
	}
.boatstyle a:hover {
	color: #FF0000;
	text-decoration: underline;
}
.boatable {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	background-color: #4B81AF;
	line-height: 20px;
	font-weight: bold;
	margin: 0px;
	padding: 4px;
	border-right: 1px solid #003366;
	border-bottom: 1px solid #003366;
	border-left: 1px solid #003366;
}
.boatinside {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	background-color: #4B81AF;
	line-height: 20px;
	font-weight: bold;
	margin: 0px;
	padding: 4px;
	border: 1px solid #FFFFFF;
}


.boatinside A:link, .boatinside A:visited, .boatinside A:active {
text-decoration: none;
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bolder;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-align: center;
}

.boatinside A:hover {
text-decoration: none;
color: #FF0000;
font-family: Verdana, Arial, Helvetica, sans-serif;
}

	
.footer a:link, .footer a:active, .footer a:visited {
	

	color: #FFFFFF;
	text-decoration: underline;
	}
.footer a:hover {
	color: #FF0000;
	text-decoration: underline;
}
  





/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
	height: 1px;
	padding: 1px;
	margin: 2px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #003399;
}

/* relational links under content */
div.left49 {
	width: 79%; /* 50% for both left and right might lead to rounding error on some browser */
}

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

.albumbox {
	
	
}





/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #000066;
	font-size: 1.5em;
	text-align: left;
	padding-bottom: 1px;
	line-height: 1.5em;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
}
div#content h3 {
	color: #FF0000;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	color: #000066;
	font-size: 1.1em;
	line-height: 1.5em;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: .5em;
	margin-left: 0;
}
div#content h5 {
	color: #003399;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

h3 {
	color: #000066;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */



/* TEXT */
p {
	font-size: 1em;
	margin: 0 0 1.5em 0; /* some air around p elements */
	line-height: 1.4em;
	padding: 0;
	color: #000099;
}

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;
}
div.captionborder, div.captionborderleft,div.captionborderright {
	border: 1px dotted #0099CC;
	padding: 5px;
	background-color: #ffffff;
}

div.captionborderright {
float: right;
margin-left: 1em;
}

div.captionborderleft {
float: left;
margin-right: 1em;
}

p.captiontext {
	margin: 0;
	padding: 0;
	font-size: 100%;
	background-color: #3082B2;
	color: white;
	text-align: center;
	font-weight: bold;
}

div.captionborderright p.captiontext  {
text-align: right;
padding-right: 5px;
}

div.captionborderleft p.captiontext  {
text-align: left;
padding-left: 5px;
}


/* 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%;


}

/* 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 {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 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;
}


/* END LISTS */
#myframe {
	min-height:2000px;
	width: 800px;
	margin-right: auto;
	margin-left: auto;
}

