/* -------- globals -------- */
body {
margin: 40px;
background: #e4e4dd;
font-family: verdana, arial, sans-serif;
font-size: 11px;
color: #222;
line-height: 14px;
}

.error {
	color: red
}
/* -------- structural elements -------- */
#container {
width: 754px;
margin: auto;
}
#row1 {
white-space: nowrap;
}
#row1 .left {
float: left;
width: 251px;
height: 251px;
background: #ddd url('/secure/cjo/img/home_logo.jpg') no-repeat;
}
#row1 .right {
width: 502px;
float: right;
height: 251px;
}
#row2 .left {
width: 252px;
height: 172px;
float: left;
}
#row2 .right {
width: 502px;
float: right;
background: #ddd url('/secure/cjo/img/home_events.gif') no-repeat;
height: 172px;
}
#row2 .right #event-img {
float: left;
margin: 0 10px 10px 0;
}
#row2 .right #allevents {
float: right;
padding: 15px;
}
#row2 .right #event1 {
float: left;
width: 251px;
}
#row2 .right #event2 {
float: right;
width: 251px;
}
#row3 .left {
width: 252px;
height: 79px;
float: left;
background: #ddd url('/secure/cjo/img/home_news.gif') no-repeat;
}
#row3 .left .padded {
padding: 27px 10px 10px 10px;
}
#row3 .right {
width: 502px;
float: right;
height: 79px;
}
#main.sub {
background: white;
}
#main.sub #sidebar {
float: left;
width: 179px;
background: white;
}
#main.sub #content {
float: right;
width: 575px;
background: white;
}
#footer {
width: 754px;
background: white;
}
/* -------- cell padding -------- */
.padded {
padding: 10px;
}
#row1 .left .padded {
padding: 165px 15px 15px 15px;
}
#maincontent {
padding: 0 20px 20px 0;
}
/* -------- link colors -------- */
a {
color: #ce2b31;
text-decoration: none;
}
a:hover {
color: #fff;
background: #054a6b;
}
#row3 .left a {
color: white;
text-decoration: underline;
}
#row3 .left a:hover {
text-decoration: none;
}
/* -------- headings -------- */
h2.tiny {
font-size: 11px;
font-weight: normal;
margin: 0;
padding: 0;
}
h3 {
font-size: 16px;
}
/* -------- misc -------- */
ul {
list-style: none;
padding: 0;
margin: 0;
}
#subnav ul {
padding: 0 10px 10px 10px;
font-size:10.5px;
}
#subnav ul li {
margin-bottom: 6px;
}
#subnav ul li.active {
font-weight: bold;
color: #666666;
}

p.big {
padding-top: 10px;
font-size: 11px;
font-weight: bold;
color: #054a6b;
}
.clr {
clear: both;
}
img.framed {
padding: 1px;
border: 1px solid #cccccc;
}
.pic-r {
float: right;
margin: 20px 0 20px 20px;
}
#event1, #event2 {
font-size: 10px;
line-height: 13px;
}
#event1 #event-name, #event2 #event-name {
font-weight: bold;
}
.bottom {
background: #e4e4dd;
text-align: center;
padding-top: 20px;
border-top: 2px solid #ccc;
}
p {
padding: 0 0 15px 0;
margin: 0;
}

/* -------- Nav -------- */
#nav {
	width: 754px;
	height: 41px;
	background: url('/secure/cjo/img/nav.gif') no-repeat;
}
#nav ul {
	list-style:none;
	margin: 0;
	padding: 0;
}
#nav li {
	float: left;
	display: inline;
}
#nav a {
	display: block;
	height: 41px;
	border: 0;
	margin-right: 4px;
}
#nav a span {
	display: none;
}
#nav a:hover {
	background: none;
}
#nav a#nav-jag {
	width: 158px;
}
#nav a#nav-cjo {
	width: 185px;
}
#nav a#nav-sgj {
	width: 135px;
}
#nav a#nav-edu {
	width: 97px;
}
#nav a#nav-slj {
	width: 158px;
}

/* --------- Calendar ---------*/

.calendar_date {
	background: #054A6B; 
	color: #FFFFFF; 
	font-size: 10px; 
	font-family: Arial, Helvetica, Sans Serif; 
	width: 70px; 
	border-bottom: 1px solid white;
}

.calendar_cell {
	background: #E4E4DD; 
	color: #000000; 
	font-size: 9px; 
	text-align: center;
	font-faily: Arial, Helvetica, Sans Serif; 
	width: 70px; 
	height: 50px;
}

.calendar_cell_blank {
	background: #fffff;
	width: 70px; 
}

li#sub{
 padding-left:10px;
}


.menu {
	width:752px;
	height:41px;
	font-size:10px;
	position:relative;
	z-index:100;
	background-image: url(../img/nav/nav_new.gif);
	border: thin solid #CCCCCC;
}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:752px; w\idth:752px;}
/* 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:187px;}
/* 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:187px;position:relative;}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none;
	color:#fff;
	width:187px;
	height:41px;
	line-height:41px;
	text-align: center;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #f4f4f4;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #f4f4f4;

}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:187px; w\idth:187px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#ffffff url(http://www.cssplay.co.uk/graphics/drop.gif) bottom right no-repeat;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:rgb(193,215,47) url(http://www.cssplay.co.uk/graphics/drop.gif) bottom right no-repeat;}
.menu ul ul :hover > a.drop {background:rgb(193,215,47) url(http://www.cssplay.co.uk/graphics/drop.gif) bottom right no-repeat;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#fff;}
/* style the third level hover */
.menu ul ul ul a:hover {background:rgb(193,215,47);}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:31px;
	left:0;
	width:149px;
	border-top:1px solid #f4f4f4;
	margin-top: 10px;
	text-align: left;
}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{
	left:149px;
	top:-5px;
	width:149px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#fff;
	color:#000;
	height:auto;
	line-height:1em;
	width:128px;
	border-width:0 1px 1px 1px;
	text-align: left;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;w\idth:128px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:#333333; background:#f4f4f4;}
.menu :hover > a, .menu ul ul :hover > a {
	color:#333333;
	background:#f4f4f4;
}

/* 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; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}
