/*
Royal Navy Admirals of the Dreadnought Era Web Page Stylesheet
Design by F.W. Allen & P.A. Bevand
Date originally created Aug 2007
This stylesheet also incorporates a drop down menu based upon the work of Stu Nicholls of the excellent www.cssplay.co.uk/ website
*/


/* Style Elements */

body {
	margin-top: 35px;
	text-align: justify;
	font-family: Arial, Helvetica, sans-serif;
	color: #fff;
	background-color: #000033;
	background-image: url(../images/page_bg.gif);
	background-repeat: repeat
}
/* body controls the overall appearance of the background and generic page items */

#content-wrapper{
	height:auto;
	width:auto;
}
/* content-wrapper contains all site layers and divs */


/* Header */

#header {
	width: 806px;
	margin: 0 auto;
	height: 312px;
	background-image: url(../images/adm-header.jpg);
}

/* Content - Page Center */

#content {
	width: 806px;
	margin: auto;
	background-image: url(../images/adm-centre.jpg);
	background-repeat: repeat-y;
	font-size:12px;
}

#colR {
	float: right;
	width: 360px;
	padding: 15px 15px 0 0;
}
#colR a:link, #colR a:visited {
	color: #ffff00;
	font-weight: bold;
	text-decoration:none
}
#colR a:hover {
	color: #ff0000;
	text-decoration: underline;
}

#colL {
	float: left;
	width: 395px;
	padding: 0 20px 0 15px;
}
#colL a:link, #colL a:visited {
	color: #ffff00;
	font-weight: bold;
	text-decoration:none
}
#colL a:hover {
	color: #ff0000;
	text-decoration: underline;
}

.welcome {
	margin: 10px 0 0 0;
	font-size: 16px;
	font-weight: bold;
}

.paratitle {
	margin: 10px 0 0 0;
	font-size: 14px;
	font-weight: bold;
}

/* Footer */

#footer {
	width: 806px;
	height: 48px;
	padding: 18px 0 0 0;
	background: url(../images/adm-footer.jpg) no-repeat;
    margin: auto;
	text-align: center;
	font-size: 12px;
	vertical-align: top;
}

#footer a:link, #footer a:visited {
	color: #ffff00;
	font-weight: bold;
	text-decoration:none
}
#footer a:hover {
	color: #ff0000;
	text-decoration: underline;
}


/* THE FOLLOWING PORTION WAS DERIVED FROM http://www.cssplay.co.uk & MODIFIED WITHIN SAID WEBSITE'S TERMS, TO SUIT OUR REQUIREMENTS */

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any way to fit your requirements.
=================================================================== */

/* Drop-Down Menu */
.menu {
	width:750px;
	height: 20px;
	font-size: 75%;
	position:relative;
	z-index:100;
	margin-left: auto;
	margin-right: auto;
	border-width:1px 0px 0px 1px;
	text-align: center;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

.menu ul ul {
	width:150px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	width:150px;
	position:relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none;
	font-weight: bold;
	color:#fff;
	width:139px;
	height:15px;
	border:1px solid #000;
	border-width:1px 1px 0 0;
	background:#000;
	padding-left:10px;
	line-height:14px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width:150px;
	w\idth:139px;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	position:absolute;
	height:0;
	top:16px;
	left:0;
	width:150px;
	visibility: hidden;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top:15px;
	t\op:16px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	position:absolute; top:0; left:0;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#6699cc; 
	color:#000; 
	font-weight: normal;
	height:auto; 
	line-height:1em; 
	padding:5px 10px; 
	width:129px
}

/* yet another hack for IE5.5 */
* html .menu ul ul a{
	width:150px;
	w\idth:129px;
}

/* style the top level hover */
.menu a:hover, .menu ul a:hover{
	color:#fae46b;
	background:#000000;
	font-weight: bold;
}

.menu :hover > a, .menu ul :hover > a {
	color:#fae46b;
	background:#000000;
}

/* style the second level hover */
.menu a:hover, .menu ul ul a:hover{
	color:#fff;
	background:#336699;
	font-weight: bold;
}

.menu :hover > a, .menu ul ul :hover > a {
	color:#fff;
	background:#336699;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{
	visibility:visible; 
}
