/* This stylesheet is divided into sections in the following order:

0. Cascading Menu
1. Global Resets
2. Universal Elements
3. Header
4. Main Content Area
5. eNews
6. Home Page Bulletin Board
7. Marketplace
8. Early Childhood Education
9. 2007 Biennial Convention eNews
10. Footer
11. Attribute
12. Forms


/*----- 0. Cascading Menu -----*/

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu li { /* all list items */
	float: left;
	position: relative;
	width: 170px;
	font-family: arial;
	font-size: 12px;
}

#menu li ul {/* second-level lists */
	position: absolute;
	display: block; 
	width: 170px;
	top: 51px;
	left: 0;
	background-color: #ffffff;
	border-top: 1px solid #5c7987;
	border-left: 1px solid #5c7987;
	border-right: 1px solid #5c7987;
}

#menu li>ul {/* to override top and left in browsers other than IE */
	top: auto;
	left: auto;
}

#menu li ul li ul  {/* third-level lists */
	position: absolute;
	display: block; 
	top: 0;
	left: 170px;
}

/* Fix IE. Hide from IE Mac \*/
/* End */

#menu li:hover ul { display: block; }

#menu li:hover>ul { visibility:visible; }

#menu ul ul { visibility:hidden; }		

/* Make-up styles */
#menu ul, li {
    margin: 0 0 0 0; 
}

/* Styles for Menu Items */
#menu ul a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	color: #ffffff;
	line-height: 50px;
	padding-left:12px;
	padding-right:12px;
}
/* Hover Styles */
#menu ul a:hover { 
	background-image:url(/images/navbar1_hover.gif);
	background-repeat:repeat-x;
	padding-right:12px;
	padding-left:12px;
	display:block;
} 

/* Sub Menu Styles */
#menu li ul a {
	text-decoration: none;
	text-align: left;
	background: #ffffff;
	font-family: arial;
	font-size: 11px;
	font-weight: normal;
	color: #000000;
	line-height: 22px;
	width: 146px;
	border-bottom: 1px solid #5c7987;
	border-left: 0px;
} 

/* Sub Menu Hover Styles */
#menu li ul a:hover { 
	background: #edf3f3;
}


/*----- 1. Global Resets -----*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption { margin:0; padding:0; border:0; outline:0; vertical-align:baseline; }

tbody, tfoot, thead, table, tr, th, td { margin:0; padding:0; border:0; outline:0; }

/*----- 2. Universal Elements -----*/

body { font:13px/22px Arial, Helvetica, sans-serif; color:#000000; text-align:left; background:#aabde6 url('/images/body_bg.gif') repeat-x center top; }

p { margin-top:15px; font:13px/22px Arial, Helvetica, sans-serif; color:#000000; text-align:left;  }

.byline { font-style:italic; }
.center { text-align:center; }
.floatLeft { float:left; margin:5px 15px 10px 0; }
.floatRight { float:right; margin:5px 0 10px 15px; }
.top { margin-top:0; }

blockquote { margin:15px 0 15px 40px; }

strong { font-weight:bold; }
em { font-style:italic; }

ul { margin:15px 0 0 3em; list-style:disc; }
ol { margin:15px 0 0 3em; list-style:decimal; }
ul li,
ol li { font:13px/22px Arial, Helvetica, sans-serif; color:#000000; margin-top:5px; padding-left:5px; }

h1 { font:bold 24px Arial, Helvetica, sans-serif; color:#800000; margin:15px 0 0 0; }
h2 { font:bold 20px Arial, Helvetica, sans-serif; color:#1a3a83; margin:15px 0 0 0; }
h3 { font:bold 16px Arial, Helvetica, sans-serif; margin:15px 0; color:#000000; }

hr { width:300px; margin:20px auto; }

a { color:#0000ff; text-decoration:underline; }
a:hover { text-decoration:none; }
a.pdf { background:url('/images/pdf.gif') no-repeat left; padding-left:25px; }

table { width:100%; border-collapse:collapse; margin-top:20px; }
td { padding:5px; border:1px solid #000000; }
td.maroon { background-color:#800000; color:#ffffff; font-weight:bold; }

input,
select,
textarea { padding:4px; font:12px Arial, Helvetica, sans-serif; border:1px solid #c8c8c8; }

input:focus,
select:focus,
textarea:focus { border:1px solid #000000; background-color:#eeeeee; }

form { margin:15px 0 0 0; padding:0; width:100%; }

fieldset { clear:both; border-top:1px solid #1a3a83; padding:0 10px 10px 10px; margin:20px 0 0 0; }
fieldset legend { font:bold 16px Arial, Helvetica, sans-serif; color:#1a3a83; padding:0 10px; margin-left:10px; }
fieldset ol { margin:15px 0 0 0; padding:0; }
fieldset ol li { display:block; border-bottom:1px solid #c8c8c8; list-style:none; padding-bottom:10px; margin-bottom:10px; }
fieldset ol li.last { border-bottom:none; padding-bottom:0; }

label { display: block; float:left; padding:0; margin:5px 10px 10px 0; text-align:right; width:auto; min-width:250px; font-weight:bold; }
label.choices { text-align:left; width:auto; }

input.submit { height:30px; padding:0 10px; color:#ffffff; border:1px solid #000000; background:url('/images/submit.gif'); font:bold 11px Arial, Helvetica, sans-serif; margin:15px auto 0 auto; }

input.submit:hover { background:url('/images/submit_hover.gif'); }

form table td {
	text-align:center;
}



#attribute { width:90%; border-top:1px solid black; padding:10px; margin:3em 0 0 0; }
#attribute p { font:italic 11px/18px Arial, Helvetica, sans-serif; margin:0 0 0 10px; }

/*----- 3. Header -----*/

#header { width:960px; margin:0 auto; height:125px; background:url('/images/top_area.gif') no-repeat center top; }
#header #logo { width:340px; height:125px; float:left; }

#header #top_links { width:480px; float:right; padding:3px 0 0 0; text-align:center; color:#c8c8c8; }
#header #top_links a { color:#0000ff; font:11px/18px Arial, Helvetica, sans-serif; margin:0 15px 0 0; width:200px; text-align:right; padding-left:28px; }

#header #top_links a.home-link { background:url('/images/icon_home.png') no-repeat top left; }
#header #top_links a.news-link { background:url('/images/icon_news.png') no-repeat top left; }
#header #top_links a.publications-link { background:url('/images/icon_publications.png') no-repeat top left; }
#header #top_links a.av-link { background:url('/images/icon_av.png') no-repeat top left; }

/*----- 4. Main Content Area -----*/

#main { width:930px; margin:0 auto; padding:15px; background-color:#ffffff; height:1%; overflow:hidden; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; }

.bluetabs {
	width:920px;
	margin:0 auto;
	height:38px;
	text-align:center;
	padding:0 0 12px 10px;
	background-image:url('/images/navbar1.gif');
	background-repeat:repeat-x;
}

	padding-bottom:0;
}

.bluetabs #nav ul {
	float:left;
	list-style:none;
	background: white;
	font-weight: bold;
	padding:0;
	margin-left:12px;
	margin-top:1px;
	margin-bottom:0;
}

.bluetabs #nav a.main_section {
	color:#ffffff;
	display:block;
}

.bluetabs #nav a.main_section:hover {
	background-image:url('/images/navbar1_hover.gif');
	background-repeat:repeat-x;
	border-right:1px solid #5c79b7;
	border-left:1px solid #5c79b7;
	padding-right:12px;
	padding-left:12px;
	display:block;
}

.bluetabs #nav a.daddy {
	background-image:url('/images/right_arrow.gif');
	background-position:14em 8px;
	background-repeat:no-repeat;

}

.bluetabs #nav a.daddy:hover {
	background-image:url('/images/right_arrow_hover.gif');
	background-position:14em 8px;
	background-repeat:no-repeat;
}

.bluetabs #nav a.daddy_last {
	background-image:url('/images/right_arrow.gif');
	background-position:14em 8px;
	background-repeat:no-repeat;
	border-bottom:none;
}

.bluetabs #nav a.daddy_last:hover {
	background-image:url('/images/right_arrow_hover.gif');
	background-position:14em 8px;
	background-repeat:no-repeat;
}

.bluetabs #nav li {
	float: left;
	padding: 0;
}

.bluetabs #nav a {
	display: block;
	text-decoration: none;
	padding:15px 13px 16px 13px;
}

.bluetabs #nav li ul {
	background-color:white;
	position:absolute;
	z-index:100;
	left:-999em;
	height:auto;
	width:14em;
	w\idth:14em;
	font-weight: normal;
	border:1px solid #5c79b7;
	margin:0;
}

.bluetabs #nav li ul a {
	font:11px Arial, Helvetica, sans-serif;
	display:block;
	border-bottom:1px solid #5c79b7;
	padding:5px 10px 5px 8px;
	text-decoration:none;
	color:#000000;
	width:13.6em;
}

.bluetabs #nav li li {
	width:14em
}

	width:14em
}

	height:50px;
}

	display: block;
	text-decoration: none;
	padding:14px 13px 16px 13px;
}

	background-image:url(/images/right_arrow.gif);
	background-position:14em 8px;
	background-repeat:no-repeat;
	display:block;
}

	background-image:url(/images/right_arrow_hover.gif);
	background-position:14em 8px;
	background-repeat:no-repeat;
	display:block;
}

	background-image:url(/images/right_arrow_hover.gif);
	background-position:14em 8px;
	background-repeat:no-repeat;
	border-bottom:none;
}

	font:11px Arial, Helvetica, sans-serif;
	display:block;
	border-bottom:1px solid #5c79b7;
	padding:5px 10px 5px 8px;
	text-decoration:none;
	color:#000000;
	width:13.6em;
}

	width:14em;
	w\idth:14em;
}

.bluetabs #nav li ul a.last {
	border-bottom:none;
}

.bluetabs #nav li ul a:hover {
	background-color:#edf3f3;
}

.bluetabs #nav li ul ul {
	margin:-2.1em 0 0 14.1em;
}

	margin-left:14.2em;
}

.bluetabs #nav li:hover ul ul, .bluetabs #nav li:hover ul ul ul, .bluetabs #nav li.sfhover ul ul, .bluetabs #nav li.sfhover ul ul ul {
	left: -999em;
}

.bluetabs #nav li:hover ul, .bluetabs #nav li li:hover ul, .bluetabs #nav li li li:hover ul, .bluetabs #nav li.sfhover ul, .bluetabs #nav li li.sfhover ul, .bluetabs #nav li li li.sfhover ul {
	left: auto;
}

.bluetabs #nav li:hover, .bluetabs #nav li.sfhover {

}

.bluetabs ul {
	padding:0;
	margin-left:12px;
	margin-top:1px;
	margin-bottom:0;
	list-style-type:none;
	text-align:left;
}

.bluetabs li {
	display:inline;
	margin:0;
	padding:0;
}

.bluetabs li a {
	color:#ffffff;
	text-decoration:none;
	font:bold 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding-right:12px;
	padding-left:12px;
	margin-right:0;
}

.bluetabs li a.last {
	margin-right:0;
}

.bluetabs li a.last:hover {
	padding-right:11px;
}

#main #navbar2 { width:900px; margin:0 auto; height:35px; text-align:left; padding:8px 0 12px 30px; background:url('/images/navbar2.gif') repeat-x;
border-top:2px solid #ffffff; }

#main #navbar2 a { color:#ffffff; text-decoration:none; font:11px Arial, Helvetica, sans-serif; margin-right:2em; width:200px; text-align:right; padding-left:25px; }
#main #navbar2 a:hover { text-decoration:underline; }
#main #navbar2 a.synagogue-link { background:url('/images/icon_find.gif') no-repeat top left; }
#main #navbar2 a.sitemap-link { background:url('/images/icon_sitemap.gif') no-repeat top left; }
#main #navbar2 a.about-link { background:url('/images/icon_about.gif') no-repeat top left; }
#main #navbar2 a.inclusion-link { background:url('/images/icon_wheelchair.gif') no-repeat top left; }
#main #navbar2 a.donate-link { background:url('/images/icon_money.gif') no-repeat top left; }
#main #navbar2 a.contact-link { background:url('/images/icon_contact.gif') no-repeat top left; }

#main #navbar2 img { margin-right:5px; }

#main #navbar2 #search { width:230px; float:right; margin-top:-37px; text-align:right; padding-right:20px; }

#colLeft { float:left; background-color:#ffffff; margin-bottom:30px; }
#colRight { width:745px; float:right; background-color:#ffffff; margin-bottom:30px; padding:0 10px 0 0; }

#colRight #print_link { float:right; width:125px; text-align:right; background-color:#ffffff; margin-bottom:10px; height:20px; padding-top:10px; }
#colRight #print_link a { font:12px Arial, Helvetica, sans-serif; background:url('/images/icon_print.gif') no-repeat; padding-left:25px; }

#colLeft #redblock { color:#333; padding:5px 0; background:url('/images/left_menu.gif') repeat-y; text-align:left; width:155px; }
#colLeft #redblock_shadow { width:155px; height:5px; background:url('/images/redblock_shadow.gif') repeat-x; }

* html #colLeft #redblock_shadow { width:158px; } /*IE 6 only */
* html #colLeft #redblock { margin-right:20px; } /*IE 6 only */ /*Box model bug: 180px minus all left and right paddings for #redblock */

#colLeft #redblock ul { list-style:none; margin:0; padding:0; border:none; }
#colLeft #redblock li { margin:0; padding:0; }
#colLeft #redblock li a { font:11px/18px Arial, Helvetica, sans-serif; display:block; padding:3px 5px 3px 18px; color:#ffffff; text-decoration:none; }

* html #colLeft #redblock li a { padding:3px 20px 3px 18px; width:120px; } /*IE 6 only*/

#colLeft #redblock li a:hover { background:#d43030 url('/images/left_hover.gif') no-repeat left center; text-decoration:none; }

#imageCol { width:155px; text-align:center; }
* html #imageCol { width:158px; } /*IE 6 only*/

#imageCol img { margin-bottom:5px; }
#imageCol p { font:italic 12px/18px Arial, Helvetica, sans-serif; }

/*----- 5. eNews -----*/

#eNews { padding:15px; }
#eNews_month { font:bold 16px Arial, Helvetica, sans-serif; float:right; color:#000000; text-align:left; margin:15px 0 20px 0; }

#eNews_section_links { width:auto; margin-top:20px; padding:0 10px 10px 0; text-align:left; }
#eNews_section_links p {margin-top:0; }

#eNews_section_links table { width:auto; margin-top:0; }
#eNews_section_links table td { border:none; }
#eNews_section_name { font:20px Arial, Helvetica, sans-serif; color:#1a3a83; margin-top:20px; padding:0 0 5px 15px; border-bottom:2px solid #1a3a83; text-align:left; }

#eNews p.first { margin:0; }

#eNews_toplink { float:right; width:100%; text-align:right; margin:10px 0 15px 0; }
#eNews_toplink a { font:11px Arial, Helvetica, sans-serif; }

/*----- 6. Home Page Bulletin Board -----*/

#right_boxes { width:250px; float:right; margin:0 0 15px 20px; clear:both; }

#right_boxes #torah_portion { width:224px; border:3px solid #a5b6ae; padding:10px; background:#c9ded5; text-align:center; margin:0 0 15px 0; }
#right_boxes #video { margin:15px 0; border:3px solid #999999; }
#right_boxes #ticker { width:244px; background:url('/images/ticker_top.gif') no-repeat center top; height:100px; padding-top:50px; border:3px solid #999999; }

#left_boxes { width:475px; float:left; height:1%; overflow:hidden; }

#home_page { margin:15px 0; border:3px solid #999999; background:#edf3f3 url('/images/bulletin_board.gif') no-repeat center 10px; padding:50px 15px 15px 15px; clear:both; }

#home_page p,
#home_page li { font:11px/18px Arial, Helvetica, sans-serif; margin-top:5px; }
#home_page h3 { font:bold 14px/24px Arial, Helvetica, sans-serif; margin:15px 0 0 0; }

/*----- 7. Marketplace -----*/

table.marketplace-header { width:auto; margin:15px auto 0 auto; }
table.marketplace-header td { border:none; padding:0; }

table.marketplace-ads { width:auto; margin:15px auto 0 auto; }
table.marketplace-ads td { border:none; padding:0 10px; }

/*----- 8. Early Childhood Education -----*/

#ECE_header { width:auto; background-color:#39497c; text-align:center; }

#header_links { width:100%; background-color:#b5c6f2; height:20px; padding:10px 0; text-align:center; }
#header_links ul { list-style:none; margin:0 0 0 0; }
#header_links ul li { display:inline; padding:5px 20px 5px 0; margin:0 10px; border-right:1px solid #000000; font:14px Arial, Helvetica, sans-serif; } 
#header_links ul li.last { border-right:none; padding-right:0; margin-right:0; }
#header_links a { color:#000000; text-decoration:none; }
#header_links a:hover { text-decoration:underline; }

h2.ECE { background-color:#39497c; font:20px bold Arial, Helvetica, sans-serif; padding:8px 8px 8px 25px; color:#b5c6f2; width:auto; margin-bottom:20px; }

#shiur { border:2px solid #39497c; background-color:#b5c6f2; padding:20px; width:500px; margin:20px auto; }
#default_shiur { border:4px solid #39497c; background-color:#ffffff; padding:20px; width:auto; margin-top:0; }

/*------- 9. 2007 Biennial Convention eNews -------*/

#biennial_eNews {
	padding:10px;
	background-color:#dee7ee;
	border: 2px solid #00457c;
}

#biennial_eNews_white_bkg {
	padding:10px;
	border: 2px solid #9a0002;
	background-color:#ffffff;
}

#biennial_eNews_section_links {
	width:auto;
	padding:10px;
}

#biennial_eNews_section_links p {
	font:12px Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
}

#biennial_eNews_section_links a {
	font:11px/1.5em Verdana, Arial, Helvetica, sans-serif;
}

#biennial_eNews_section_links li, #biennial_eNews_section_links td {
	font:11px/1.5em Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
}

#biennial_eNews_section_name {
	font:18px Arial, Helvetica, sans-serif;
	color:#00457c;
	margin:20px 0 3px 0;
	padding-left:1.5em;
	border-bottom:1px solid #00457c;
}

#biennial_eNews_toplink {
	width:auto;
	text-align:right;
}

#biennial_eNews p, #biennial_eNews a, #biennial_eNews li, #biennial_eNews td {
	font:11px/1.5em Verdana, Arial, Helvetica, sans-serif;
}

#biennial_eNews p.first {
	margin:0;
}

#biennial_eNews_bottom {
	width:auto;
	margin:20px 0 0 0;
	border-top:1px solid #000000;
	text-align:center;
}

#biennial_eNews_bottom p, #biennial_eNews_bottom a {
	font:11px/1.5em Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
}

/*----- 10. Footer -----*/

#footer { border-top:1px dotted #a8a8a8; margin:15px auto 0 auto; text-align:center; padding:15px 0 0 0; clear:both; width:800px; }
#footer p { font:11px/18px Arial, Helvetica, sans-serif; margin:0; text-align:center; }

#footer p.small { font:11px/18px Arial, Helvetica, sans-serif; margin-top:10px; }
#footer a { margin:0 5px; }

/*----- 11. Attribute -----*/

#designer { width:940px; height:16px; padding-right:20px; text-align:right; margin:10px auto 15px auto; }

/*----- 12. Jquery Slider for Homepage -----*/

#slider { height:1%; overflow:hidden; }

#slider ul,
#slider li,
#slider2 ul,
#slider2 li { margin:0; padding:0; list-style:none; background:#000000; }

/*  define width and height of list item (slide); entire slider area will adjust according to the parameters provided here */ 

#slider li,
#slider2 li { width:475px; margin:0; padding:0;}	

#slider li img { border:3px solid #999999; }
#slider li div.text { width:455px; background:#000000; padding:5px 10px 10px 10px; height:1%; overflow:hidden; margin:0; }
#slider li div.text p { color:#ffffff; margin-top:0; }

#prevBtn,
#nextBtn,
#slider1next,
#slider1prev { display:block; width:30px; height:77px; position:absolute; left:-30px; top:71px; z-index:1000; }	

#nextBtn,
#slider1next{ left:696px; }														

#prevBtn a,
#nextBtn a,
#slider1next a,
#slider1prev a { display:block; position:relative; width:30px; height:77px; background:url(images/btn_prev.gif) no-repeat 0 0; }	

#nextBtn a,
#slider1next a { background:url(images/btn_next.gif) no-repeat 0 0;	}	
		
/* numeric controls */	

ol#controls { margin:15px 0 15px 175px; padding:0; clear:both; height:1%; overflow:hidden; }
ol#controls li { margin:0 10px 0 0; padding:0; float:left; list-style:none; font:11px Arial, Helvetica, sans-serif; }
ol#controls li a { float:left; background:#031e5e; color:#ffffff; padding:5px 10px; text-decoration:none; }
ol#controls li a:hover,
ol#controls li.current a { background:#990000; color:#ffffff; }
ol#controls li a:focus,
#prevBtn a:focus,
#nextBtn a:focus { outline:none; }