/* Overall layout: */

html {font-size: 100%;
}


body {
	padding: 2em 0em 2em 0em;
	background-color: #003399;
	background-image: url(../images/bg-water.gif);
	background-repeat: repeat;
	font-family: "Comic Sans MS", cursive;
	font-size: 12px;
}

a {
	text-decoration:none;
	position: static;
}

a:hover {
text-decoration:none;
border-bottom:1px solid #505050;
}

a:visited {
	text-decoration:none;
	border-bottom-width: 1px;
	border-bottom-style: none;
	border-bottom-color: #505050;
}

a:active {
text-decoration:none;
border-bottom:1px solid #505050;
}

h1 {
font-weight:normal;
}
.center {
text-decoration: none;
text-align: center;
}

.block {
background: #ffffff;
padding-top: .2em;
padding-left: .4em;
padding-bottom: .2em;
padding-right: .4em;
}

.block em {
text-decoration: underline;
}

h2 {
	margin: 0em 0em 0.3em 0em;
	font-size:12px;
	font-weight:normal;
	text-decoration: underline;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-bottom: 0px;
	margin-top: 0px;
}

h3 {
	font-weight:normal;
	margin-top: 0em;
	margin-left: 0em;
	margin-bottom: 0.1em;
	margin-right: 0em;
	font-size: 10px;
}

em {
font-weight: bold;
font-style: normal;
}

p {
	text-align:left;
	font-size: 14px;
	margin-top: 3px;
	margin-bottom: 3px;
}


/* Main page */

#page {
	padding: 0px;
	background-color: #c2dbf7;
	width: 1000px;
	color: #000099;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}

/* Top menu */

#exttabs {
margin: 1em auto -1.5em auto;
font-size:0.8em;
width: 800px;
}

#exttabs p {
text-align:right;
color: #ffffff
}

.exttab {
padding:4px 5px 3px 5px;
margin:0 0 0 4px;
text-decoration:none;
background:#f0f0f0 url(images/corner2.gif) top right no-repeat;
color: #1737ba;
border-bottom:1px solid #e0e0e0;
}

.exttab:hover {
background:#c3e3ff url(images/corner2.gif) top right no-repeat;
border-bottom:1px solid #eaeaea;
color: #003399;
text-decoration: none;
}

.activeexttab {
padding:4px 5px 3px 5px;
margin:0 0 0 4px;
color: #003399;
text-decoration:none;
background: #c3e3ff url(images/corner2.gif) no-repeat top right;
border-bottom:1px solid #ffffff;
}

.activeexttab:hover {
text-decoration:none;
border-bottom:1px solid #ffffff;
}

/* Navitab menu */

#navitabs {
	clear:both;
	text-align: center;
	font-size: 14px;
}

.navitab {
padding: 4px 8px 4px 8px;
text-decoration:none;
font-size:1.1em;
background: #003399 url(images/corner.gif) no-repeat top;
border-left:1px solid #ffffff;
color: #ffffff;
font-weight: bold;
}

.navitab:hover {
text-decoration:none;
background: #0099ff url(images/corner.gif) no-repeat top;
color: #ffffff;
}

.activenavitab {
padding:4px 8px 4px 8px;
color:#ffffff;
margin:0 0 5px 0;
font-size:1.1em;
text-decoration:none;
background:#0099ff url(images/corner.gif) top right no-repeat;
font-weight: bold;
}

.activenavitab:hover {
text-decoration:none;
color:#ffffff;
}

/* Header */

#header {
	height:150px;
	color:#ffffff;
	background: #c1e1f8 url(../images/jmheader-b.png) no-repeat left;
	clear:both;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
}
.photoheader {
	position: relative;
	top: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 550px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	height: auto;
}

/* Main content */

#main {
	width: 700px;
	float: left;
	border-right: 2px #0505bb solid;
	margin-top: 2em;
	margin-bottom: 2em;
	padding-left: 2em;
	padding-top: 0em;
	padding-bottom: 0em;
	padding-right: 2em;
}
/* Main Content on Secondary Pages */

#onecolumn {
	width: 900px;
	margin-top: 2px;
	margin-bottom: 2em;
	position: relative;
	margin-right: 50px;
	margin-left: 50px;
}


/* Table for schedule */
.titlebar {
	color: #003399;
	font-size: 18px;
	font-weight:normal;
	text-align: center;
}

table{
	border-collapse: collapse;
	width: 100%;
	border: 2px #000099 solid;
	background-color: #ffffff;
	position: static;
	max-width: 100%;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: auto;
	margin-right: auto;
}

th {
border-collapse: collapse;
border: 2px #003399 solid;
background-color: #c2dbf7;
padding: 1%;
text-align: center;
}

tr{
	font-size: 10px;
	line-height: normal;
}

td {
	text-align: center;
	font-size: 12px;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-right: 4px;
	padding-left: 4px;
	line-height: 25px;
	border-color: #000000;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-width: thin;
	border-bottom-width: thin;
}

table.small{
border-collapse: collapse;
width: 100%;
border: 2px #000099 solid;
background-color: #ffffff;
position: static;
max-width: 100%;
margin-top: 0em;
margin-bottom: 1em;
margin-left: auto;
margin-right: auto;
}


/* format for schedule table */

.bbb {
color: #ff3300;
}

.event {
	font-weight: bold;
	width: 25%;
}


.eventlink {
padding: 2px 2px 2px 2px;
text-align: center;
background: #c2dbf7;
color: #003399;
font-weight: bold;
text-decoration: none;}

.eventlink:hover {
padding: 2px 2px 2px 2px;
text-align: center;
text-decoration:none;
background: #0099ff;
color: #ffffff;
font-weight: bold;
}

.loclink {
	padding: 2px 2px 2px 2px;
	text-align: center;
	text-decoration:none;
	background: #c2dbf7;
	color: #003399;
}

.loclink:hover {
	padding: 2px 2px 2px 2px;
	text-align: center;
	text-decoration:none;
	background: #0099ff;
	color: #ffffff;
	margin-top: 5px;
	margin-bottom: 5px;
}

.maplink {
	padding: 2px 2px 2px 2px;
	text-align: center;
	text-decoration:none;
	background: #ccffcc;
	color: #003399;
	margin-top: 5px;
	margin-bottom: 5px;
}

.maplink:hover {
	padding: 2px 2px 2px 2px;
	text-align: center;
	text-decoration:none;
	background: #66ffcc;
	color: #003399;
}

/* Sidebar */

#sidebar {
width:200px;
float: right;
margin-top: 2em;
margin-bottom: 2em;
}
#sidebar h3 {
text-align: center;}

#sidebar p {
font-size:0.9em;
line-height:1.3em;
margin:0 0 15px 0;
}

.sideblock {
text-align:left;
display:block;
width:140px;
background: #ffffff;
padding:3px 4px 3px 8px;
margin:5px 10px 5px 0;
border:none;
}

.sidelink {
text-align:left;
display:block;
width:140px;
background: #ffffff url(images/corner.gif) no-repeat top right;
padding:3px 4px 3px 8px;
margin:5px 10px 5px 0;
border:none;
}

.sidelink:hover {
background:#ffffff url(images/corner.gif) top right no-repeat;
text-decoration:none;
border:none;
}

#sidebar img {

}


/* Footer */

#footer {
clear:both;
background:#fafafa;
padding:0;
margin:0;
border-top:1px solid #d8d8d8;
}

#footer a {
color:#808080;
}

#footer a:hover {
color:#303030;
}

#footer p {
color:#808080;
font-size:1.1em;
line-height:1.3em;
margin:15px 0 0 0;
padding:0;
}

/* Various classes */

.photo {
padding:2px;
margin: 0em 0em 0px 0em;
border:1px solid #d8d8d8;
}


.photoheader {
	padding: 0px;
	position: relative;
	top: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 550px;
}

.right {
	margin-top:2px;
	text-align:right;
	margin-bottom: 2px;
}




.hide {
display:none;
}

.centerimg {
border: none;
display: block;
margin-left: auto;
margin-right: auto;
}

.center {
text-align: center;
}
