/** 
 * Styles and Layout for JCC
 */
 
* {
	margin: 0;
	padding: 0;	
	}
	
body {
	font-size: 62.5%;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	text-align: center; /* IE centering hack */
	}
	
a {
	color: #069;
	text-decoration: none;
	}

a:hover {
	text-decoration: underline;
	}
	
p, td {
	margin: 0 0 1em 0;
	
	}
	
#page {
	display: block;
	width: 740px;
	margin-left: auto;
	margin-right: auto;
	text-align: left; /* IE centering hack pt. 2 */
	font-size: 1.1em;
	line-height: 1.4em;
	}
	
#header {
	display: block;
	width: 740px;
	height: 125px;
	margin-bottom: 16px;
	}
	
#header h1#logo a {
	display: block;
	float: left;
	width: 112px;
	height: 107px;
	background: #fff url(../images/head-JCClogo.gif) no-repeat 0 0;
	}
	
#header h2#welcome a {
	display: block;
	float: left;
	width: 381px;
	height: 82px;
	background: #fff url(../images/head-welcome-toJCC.gif) no-repeat 0 0;
	}
	
#header h1#logo a,
#header h2#welcome a {
	text-decoration: none;
	}
	
#header p#header-right {
	display: block;
	float: right;
	width:  225px;
	color: #666;
	text-align: right;
	padding: 12px 20px 20px 0; /*changed 3rd entry to 20px from 0 to fix phone number hiding when larger text selected, RLF, 10/12/2010*/
	}

#header p#header-right a {
	color: #069;
	text-decoration: none;
	font-size:14px;
	font-weight:bold;
	
	}

#header p#header-right a:hover {
	text-decoration: underline;
	}
	
#tabs {
	display: block;
	float: left;
	width: 628px;
	margin-top: -25px;
	margin-left: 112px;
	}
	
#tabs li,
#navbar li {
	display: inline;
	float:  left;
	list-style: none;
	}
	
#navbar {
	display: block;
	float: left;
	width: 680px;
	padding-left: 100px;
	background: #c06;
	}
	
/*
 * Tabs on top of the page
 */
#tabs li a {
	display: block;
	width: 100px;
	height: 25px;
	border-bottom: 2px solid #fff;
	margin-right: 5px;
	line-height: 25px;
	color: #fff;
	font-size: 1em;
	text-align: center;
	text-decoration: none;
	overflow: hidden;
	}

#tabs li a:hover {
	text-decoration: none;
	text-transform: uppercase;
	}
	
#tabs a#fitness {
	margin-left: 3px;
	background: #c06 url(../images/healthfitness.gif) no-repeat 0 0;
	}
	
#tabs a#development {
	background: #9c0 url(../images/childcare.gif) no-repeat 0 0;
	}
	
#tabs a#adults {
	background: #069 url(../images/adults.gif) no-repeat 0 0;
	}
	
#tabs a#learning {
	background: #609 url(../images/jewisharts.gif) no-repeat 0 0;
	line-height: 11px;
	}
	
#tabs a#children {
	background: #066 url(../images/childrenteens.gif) no-repeat 0 0;
	}
	
#tabs a#about {
	margin-right: 0;
	background: #c33 url(../images/membership.gif) no-repeat 0 0;
	}
	
#tabs a#fitness:hover,
#tabs a#development:hover,
#tabs a#adults:hover,
#tabs a#learning:hover,
#tabs a#children:hover,
#tabs a#about:hover {
	background-position: 0 -35px;
	}
	
#tabs li a span {
	visibility: hidden;
	}
	
/* add border to bottom of active tab so it connects to the nav bar */
body.fitness #tabs a#fitness { border-bottom: 2px solid #c06; }	
body.development #tabs a#development { border-bottom: 2px solid #9c0;	}
body.adults #tabs a#adults { border-bottom: 2px solid #069;}
body.learning #tabs a#learning { border-bottom: 2px solid #609; }
body.children #tabs a#children { border-bottom: 2px solid #066; }
body.about #tabs a#about { border-bottom: 2px solid #c33; }
	
/*
 * Secondary Nav on top of page
 */
 
#navbar li a {
	line-height: 18px; /* center text in bar */
	color: #fff;
	text-decoration: none;
	padding: 0 12px;
	border-right: 1px solid #fff;
	}

#navbar li.last a {
	border: none;
	}

#navbar li a:hover {
	text-decoration: underline;
	}
	
#navbar li a.active {
	background: #fff;
	color: #c06;
	font-weight: bold;
	border-bottom: 3px solid #fff;
	border-top: 1px solid #fff;
	}
	
/* set background color of #navbar depending on section */
body.fitness #navbar { background: #c06; }
body.development #navbar { background: #9c0; }
body.adults #navbar { background: #069; }
body.learning #navbar { background: #609; }
body.children #navbar { background: #066; }
body.about #navbar { background: #c33; }

body.fitness #navbar li a.active { color: #c06; }
body.development #navbar li a.active { color: #9c0; }
body.adults #navbar li a.active { color: #069; }
body.learning #navbar li a.active { color: #609; }
body.children #navbar li a.active { color: #066; }
body.about #navbar li a.active { color: #c33; }
	
/*
 * Column layout
 */

/* 2 */
#left {
	display: block;
	float: left;
	width: 112px;
	}
	
/* 1 */
#center {
	display: block;
	float: left;
	padding: 6px 24px 0 36px;
	}
	
body.threecol #center {
	width: 414px;
	}
	
body.twocol #center {
	width: 566px;
	margin-left: 0px;
	}
	
/* 3 */
#right {
	display: block;
	float: left;
	width: 154px;
	/* this should help in case people put images that are too large into this column */
	overflow: hidden;
	}
	
body.twocol #right {
	display: none;
	}
	
/*
 * Main content styles
 */
 
#center h2.title {
	font-size: 1.2em;
	font-weight: normal;
	text-transform: uppercase;
	color: #666;
	margin: 4px 0;
	padding: 0;
	}
 
#center h3.breadcrumb {
	text-transform: uppercase;
	font-size: 1em;
	color: #666;
	margin: 0 0 1.2em 0;
	}
 
#center ul,
#center ol,
#center blockquote,
#center dl {
	margin: 0 0 1em 14px;
	}
	

/*
 * Left column styles
 */
#search {
	display: block;
	float: left;
	width: 112px;
	margin-bottom: 18px;
	}
#search input.form-text {
	width: 84px;
	float: left;
	margin: 0;
	padding: 2px;
	border: 1px solid #999;
	color: #069;
	text-align: center;
	}
	
#search input.form-image {
	display: block;
	width: 18px;
	height: 18px;
	float: left;
	margin-top: 2px;
	}
	
#left ul {
	margin: 4px 0;
	}
	
#left ul li {
	display: inline;
	list-style: none;
	}

#left ul li a {
	display: block;
	padding: 2px 0;
	color: #c06;
	text-decoration: none;
	}

#left ul li a:hover {
	text-decoration: underline;
	}
	
#left img {
	margin-bottom: 5px;
	}
	
#typeSwitcher a {
	padding: 3px;
	}
	
#typeSwitcher a.one {
	font-size: 11px;
	}
	
#typeSwitcher a.two {
	font-size: 16px;
	}
	
#typeSwitcher a.three {
	font-size: 20px;
	}
	
/*
 * Advertisement styles for right column
 */
 
#right {
	font-size: 1.2em;
	text-align: center;
	}

#right small {
	font-size: .8em;
	}
	
#right .ad {
	display: block;
	width: 150px;
	margin: 0 0 4px 0;
	border: 2px solid #666;
	}
	
#right .ad p {
	margin: 0;
	padding: 6px 2px;
	}
	
#right .ad a {
	text-decoration: underline;
	}
	
#right #adblue {
	background: #fff;
	color: #069;
	border-color: #069;
	}

#right #adpurple {
	background: #609;
	color: #fff;
	border-color: #609;
	}

#right #adpurple a {
	color: #fff;
	}
	
/*
 * Footer
 */
#footer {
	display: block;
	width: 740px;
	clear: both;
	/* hack to push the footer down a little */
	border-top: 24px solid #fff;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 1.1em;
	}
	
#footer a {
	color: #069;
	padding: 0 8px;
	text-decoration: none;
	}

#footer a:hover {
	text-decoration: underline;
	}
	
/*
 * Stuff for the home page
 */
body.home #header {
	margin: 0;
	}
 
body.home #navbar {
	display: none;
	}
 
body.home #center {
	width: 640px;
	padding: 0 0 0 0;
	margin-left: -12px;
	}
 
body.home #left ul li a {
	color: #069;
	}

body.home #left ul li a:hover {
	color: #666;
	}
	
h3.breadcrumb {
	text-transform: uppercase;
	font-size: 1em;
	color: #666;
	margin: 0 0 1.2em 0;
	}	
	
#fpimages {
	margin: 0;
	padding: 0;
	}
 
#fpimages li {
	display: block;
	float: left;
	width: 100px;
	height: 100px;
	margin: 0 5px 0 0;
	list-style: none;
	}

#fpimages li.last {
	margin: 0;
	}	

#fpimages li a img {
	border: none;
	}

#fpgrid {
	float: left;
	margin: 10px 0 0 4px;
	}	


.fpblockl {
	display: block;
	float: left;
	width: 395px;
	height: 235px;
	padding: 5px 10px;
	background: #fff;
	color: #fff;
	line-height: 1.5em;
	}
	
.fpblockr {
	display: block;
	float: left;
	width: 185px;
	height: 235px;
	padding: 3px 8px;
	background: #9c3;
	color: #000;
	line-height: 1.5em;
	}	
	
.fpblock h3 {
	text-transform: uppercase;
	margin: 6px 0;
	}
	
#fpright {
	background: #fff;
	margin-left: 6px;
	border-style:solid;
	border-width: 2px;
	border-color: #c33;
	}
	
#fpbottom {
	display: block;
	float: left;
	margin-top: 10px;
	}
	
.fpbtblock {
	display: block;
	float: left;
	width: 186px;
	padding: 5px 10px;
	background: #066;
	color: #fff;
	}

.fpblock a,
.fpbtblock a {
	color: #fff;
	text-decoration: underline;
	}
	
#fpbtleft {
	background: #fff;
	height: 75px;
	}
	
#fpbtcenter {
	background: #fff;
	margin: 0 4px;
	height: 75px;
	}
	
#fpbtright {
	background: #fff;
	height: 75px;
	}
	
.floatimgright {
float:right;
margin-top:10px;
margin-left:10px;
margin-bottom:10px;
}

.floatimgleft {
float:left;
margin-top:10px;
margin-right:10px;
margin-bottom:10px;
}
	
/*
 * Hide these things from CSS enabled browsers
 */
#header h1#logo a span,
#header h2#welcome a span {
	visibility: hidden;
	}
	
div.clear {
	clear: both;
	height: -1px;
	}

