/* Start of CMSMS style sheet 'oceanlifeGraphicMenu' */
body {background-color: #000033; height: 100%;
   text-align: left;
   font-family: Verdana,Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}
/*
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: #18507C; 
}

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: #385C72;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

html { height: 100%;}

#wrapper1 {
	position:relative;
	text-align:left;
	width:100%;
	background:#FFF url("images/panel_right.jpg") repeat-y top right;
	}
#wrapper2 {
	position:relative;
	text-align:left;
	width:100%;
	background:url("images/panel_left.jpg") repeat-y top left;
	}

#container {
  width: 1032px;
  margin: 10px auto;
  background-color: #000033;
  color: #333;
  height: 100%;
  line-height: 130%;
}

#header {
  padding: 0;
  margin: 0;
  margin-bottom: 0;
  margin-top: 0;
}

#header h1 {padding: 0; margin: 0; margin-bottom: 0; margin-top: 0;}

#header img {display: block;}

#maincol {
	position:relative;
	margin:0;
	padding:10px;
	}

#leftcol {
	position:relative;
	top:-10px;
	left:-10px;
	float:left;
	width:220px;  /* for IE5/WIN */
	voice-family: "\"}\"";
	voice-family:inherit;
	width:200px; /* actual value */
	margin:0 0 -10px 0;
	padding:0px;
	z-index:100;
	}

#rightcol {
	position:relative;
	top:-10px;
	right:-10px;
	float:right;
	width:220px;  /* for IE5/WIN */
	voice-family: "\"}\"";
	voice-family:inherit;
	width:138px; /* actual value */
	margin: 0 0 -10px 0;
	padding:0px;
	z-index:99;
	}

/* 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 */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}



#centercol {
	position:relative;
	padding:0 160px 0 210px;
	}
#centercol a {
	color:#666;
	}
#centercol a:hover {
	/* border-bottom:1px solid; */
	color:#9343B9;
	}

#centercol table {
display: block;
float: left;
width: 630px;
}


#footer {
  clear: both;
  margin: 0 0 0 0 ;
  padding: 0 0 0 0 ;
  border-top: 1px solid gray;
  color: #000000;
  background-color: #E5E5E5;
  border-left: 1px solid gray;
  border-bottom: 1px solid gray;
  border-right: 1px solid gray;
  text-align: center ; 

}

#footer p { margin: 0 0 0 0 ;
 font-family: Arial, Helvetica, sans-serif;
  font-size: x-small  
}


div#centercol h2 {
	color: #294B5F; 
	font-size: 1.5em; 
	text-align: left; 
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #006699; 
	border-left: 1.1em solid #006699; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;

}



#nav_container {
       clear: both;
}


ul#nav_styled {
  width: 209px;
  height: 480px;
  margin: 0;
  padding: 0;
  background: url('images/buttons.jpg');
  position: relative;
}

ul#nav_styled li {
  display: block;
  height: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
}


ul#nav_styled li a {display: block; height: 40px; text-indent: -9000px; background-color: transparent;}

li#home {left: 0px; top: 0px; width: 209px; height: 40px;}

li#diveschool {top: 40px; left: 0px; height: 80px; width: 209px;}

li#sailingschool {left: 0px; width: 209px; top: 80px; height: 120px;}

li#oceanlifeclub {left: 0px; width: 209px; top: 120px; height: 160px;}

li#divesites {left: 0px; top: 160px; width: 209px; height: 200px;}

li#divetravel {left: 0px; top: 200px; width: 209px; height: 240px;}

li#divecharters {left: 0px; top: 240px; width: 209px; height: 280px;}

li#shoponline {left: 0px; top: 280px; width: 209px; height: 320px;}

li#surfshop {left: 0px; top: 320px; width: 209px; height: 360px;}

li#gallery{left: 0px; top: 360px; width: 209px; height: 400px;}

li#newsletter {left: 0px; top: 400px; width: 209px; height: 440px;}

li#eventscalendar {left: 0px; top: 440px; width: 209px; height: 480px;}


#home a:hover { background: transparent url(images/buttons.jpg);
  background-position: 0 -480px;
  background-repeat: no-repeat;
}

#diveschool a:hover { background: transparent url(images/buttons.jpg) 0px -520px no-repeat;
}

#sailingschool a:hover { background: transparent url(images/buttons.jpg) 0px -560px no-repeat;
}

#oceanlifeclub a:hover { background: transparent url(images/buttons.jpg) 0px -600px no-repeat;
}

#divesites a:hover { background: transparent url(images/buttons.jpg) 0px -640px no-repeat;
}

#divetravel a:hover { background: transparent url(images/buttons.jpg);
  background-position: 0 -680px;
  background-repeat: no-repeat;
}

#divecharters a:hover { background: transparent url(images/buttons.jpg) 0px -720px no-repeat;
}

#shoponline a:hover { background: transparent url(images/buttons.jpg) 0px -760px no-repeat;
}

#surfshop a:hover { background: transparent url(images/buttons.jpg) 0px -800px no-repeat;
}

#gallery a:hover { background: transparent url(images/buttons.jpg) 0px -840px no-repeat;
}


#newsletter a:hover { background: transparent url(images/buttons.jpg) 0px -880px no-repeat;
}

#eventscalendar a:hover { background: transparent url(images/buttons.jpg) 0px -920px no-repeat;
}



/* End of 'oceanlifeGraphicMenu' */

