body {
	background: #fff url('../images/bg.jpg') no-repeat center 230px;
	font-family: Arial, Helvetica, Tahoma, Sans-serif;
	font-size: 12px;
}

.clr { clear: both; height: auto; }
div.clr { height: 0px; }

.cntrbx {
	width: 960px;
	margin: 0 auto;
}

a {	text-decoration: none; color: #1483b9; }
a:hover { text-decoration: underline; }

/* first for IE 4Ð8 */
@font-face {
  font-family: DINWeb-Bold;
  src: url("DINWeb-Bold.eot");
}

/* then for WOFF-capable browsers */
@font-face {
  font-family: DINWeb-Bold;
  src: url("DINWeb-Bold.woff") format("woff");
}


/* HEADER - - - - - - - - - - - - - - - - - - - - - - - - - */

header {
	background: url('../images/topbar.png') no-repeat center top;
}

#logo {
	float: right;
	margin-top: 20px;
	clear: both
}

#topnav ul { padding-top: 10px; width: 530px; float: left; }

#topnav li {
	float: left;
	width: 80px;
}

#topnav a {
	background: url('../images/nav-links.png') no-repeat;
	display: block;
	text-indent: -3000px;
	height: 28px;
}

#topnav #donate a:hover { background-position: 0 -28px; }
#topnav #contact { width: 108px; }
#topnav #contact a { background-position: -80px 0; }
#topnav #contact a:hover { background-position: -80px -28px; }
#topnav #join { width: 98px; }
#topnav #join a { background-position: -188px 0; }
#topnav #join a:hover { background-position: -188px -28px; }
#topnav #emails { width: 130px; }
#topnav #emails a { background-position: -288px 0; }
#topnav #emails a:hover { background-position: -288px -28px; }

#topnav #email_signup {
	background: #E98300;
	width: 244px;
	height: 51px;
	position: absolute;
	z-index: 10;
	padding: 10px 10px 10px 20px;
	color: #fff;
}

#topnav #email_signup p { margin-bottom: 10px; }

#topnav #email_signup form {
	background: url('../images/sign-up.png') no-repeat;
	height: 27px;
}
#topnav #email_signup form #email {
	width: 142px;
	background: none;
	border: none;
	padding: 5px;
	color: #666;
}
#topnav #email_signup form #submit {
	width: 65px;
	height: 25px;
	background: none;
	border: none;
	text-indent: -3000px;
}

#topnav #social {
	width: 115px;
	float: left;
	padding-top: 11px;
}
#topnav #social a {
	height: 21px;
	width: 25px;
}
#topnav #social li {
	width: 25px;
	margin-left: 10px;
}
#topnav #social #facebook a { background-position: -417px -7px; }
#topnav #social #facebook a:hover { background-position: -417px -35px; }
#topnav #social #twitter a { background-position: -445px -7px; }
#topnav #social #twitter a:hover  { background-position: -445px -35px; }
#topnav #social #youtube a { background-position: -475px -7px; }
#topnav #social #youtube a:hover  { background-position: -475px -35px; }


#global_message {
	height: 35px;
	width: 650px;
	padding-left: 5px;
	margin-top: 50px;
	overflow: hidden; 
}

#global_message div {
	border: 1px solid #E6DB56; 
	background: #FFFBBC;
	padding: 6px 8px 9px 8px;
	color: #918931;
	font-weight: bold;
	width: 620px;
	-moz-box-shadow: 0px 1px 6px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.2);
	line-height: 18px;
	height: 12px;
	overflow: hidden;
}

#global_message div a, #global_message div .gc-cs-link {
	color: #918931;
}

#utils { padding-top: 12px; }
#utils .iwantto { float: left;}
#utils .iwantto, #utils .iwantto fieldset { display: inline; }

#utils .search {
	background: url('../images/search.png') no-repeat;
	display: inline;
	float: left;
	margin-left: 15px;
}

#utils .search #s {
	border: none;
	background: none;
	padding: 6px 0 12px 24px;
	color: #888;
	width: 115px;
}

#utils .search #searchsubmit { 
	width: 28px; 
	height: 20px; 
	border: none; 
	background: none;
	text-indent: -3000px; }

#mainnav {
	margin-top: 5px;
	border-top: 1px solid #ebebeb;
	padding-top: 0;
}


#mainnav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#mainnav a {
	display: block;
	padding: 27px 30px 37px 30px;
	border-top: 5px solid transparent;
	border-bottom: 1px solid transparent;
	color: #057ab4;
	text-decoration: none;
	font-size: 1.4em;
	text-indent: -3000px;
	background: url('../images/main-nav-v9.png') no-repeat;
}

#mainnav a:hover, #mainnav .current_page_item > a, #mainnav .current-page-ancestor > a {
	border-bottom: 1px solid #c6c6c6;
	border-top: 5px solid #7c90c3;
	background-color: #f9f9f9;
	color: #1a5192;
}

#mainnav li { /* all list items */
	float: left;
}

#mainnav li ul { /* second-level lists */
	position: absolute;
	z-index: 50;
	background: #f9f9f9;
	padding: 0 15px;
	width: 165px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	-moz-box-shadow:    0px 4px 5px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.2);
	box-shadow:         0px 4px 5px 1px rgba(0,0,0,0.2);
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#mainnav li.js_on ul { width: 285px; padding: 15px; }
#mainnav ul.sub-menu li.menu-item-has-children { background: url('../images/menu-subarrow.png') no-repeat 155px; }
#mainnav ul.sub-menu li.menu-item-has-children > a:hover { background: url('../images/menu-subarrow-hover.png') no-repeat 155px; }

#mainnav li ul a {
	display: block;
	padding: 12px 12px 12px 10px;
	width: 145px;
	background-color: #f9f9f9;
	border: none;
	font-size: 12px;
	color: #666666;
	background: none;
	text-indent: 0;
}

#mainnav li ul a:hover, #mainnav li ul .current_page_item > a, #mainnav li ul .current-page-ancestor > a  {
	background-color: none;
	border: none;
	color: #7c90c3;
}

#mainnav li ul li {
	border-bottom: 1px solid #d7d7d7;
	border-top: 1px solid #fff;
}
#mainnav.js_on li ul li { border-right: 1px solid #fff; }

#mainnav li ul li:nth-child(1) {
	border-top: none;
}
#mainnav li.js_on ul li:nth-child(2) { border-top: none; }


#mainnav li ul li:last-child {
	border-bottom: none;
}

#mainnav li ul ul { /* third-and-above-level lists */
	margin: -2em 0 0 167px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-left-radius: 0px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

#mainnav li.js_on ul ul {
	width: 175px;
	margin: -37px 0 0 137px;
	border-left: 1px solid #ddd;
	padding: 6px 0 4px 0;
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-bottomright: 2px;
	-moz-border-radius-topright: 2px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 2px;
	border-top-right-radius: 2px;
	-moz-box-shadow:    2px 1px 2px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 2px 1px 2px 1px rgba(0,0,0,0.2);
	box-shadow:         2px 1px 2px 1px rgba(0,0,0,0.2);
}

#mainnav li.js_on ul ul li {
	border-top: 0;
}

#mainnav li.js_on ul ul li a {
	padding: 6px 5px 6px 10px;
	width: 140px;
}

#mainnav li:hover ul ul, #mainnav li.sfhover ul ul {
	left: -999em;
}

#mainnav li:hover ul, #mainnav li li:hover ul, #mainnav li.sfhover ul, #mainnav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#mainnav li.js_on .secinfo {
	float: right;
	border: none;
	width: 132px;
	padding: 15px;
	padding-right: 0;
	border-left: 1px solid #d7d7d7;
	color: #888;
	font-size: 16px;
	line-height: 22px;
	font-family: Georgia;
}

/* for when hovering over third level navs */
#mainnav li.js_on.subhover ul { width: 130px; padding-right: 7px; }
#mainnav li.js_on.subhover ul ul { width: 150px; }
#mainnav li.js_on.subhover .secinfo { display: none; }

#li-40-6 label span { width: 365px; font-size: 12px; line-height: 20px; color: #4b5156; }

/* Breadcrumbs & font resizer */

.infotools {
	width: 950px;
	margin: 0 auto;
	clear: both;
	border-bottom: 1px solid #ebebeb;
	color: #7c90c3;
	padding: 0 30px;
}
.infotools a { color: #7c90c3; }

.breadcrumbs {
	padding: 10px 0;
	font-size: 10px;
	float: left;
	width: 870px;
}

.fontresizer {
	width: 60px;
	float: right;	
}

.fontresizer

.resizer li { display: inline; padding: 0 2px; }

.resizer .medium { font-size: 11px; line-height: 18px; }
.resizer .large, .large .hentry { font-size: 16px; line-height: 22px; }
.resizer .xlarge { font-size: 19px; line-height: 30px; }
.xlarge .hentry { font-size: 18px; line-height: 30px; }

/* main content area */

#central {
	clear: both;
}

#content {
	width: 680px;
	float: right;
}

#sidebar {
	width: 260px;
	float: left;
}

body.page-template-tmpl_nosidebar-php #content { width: 960px; }
body.page-template-tmpl_nosidebar-php #sidebar { display: none; }

/* footer */
footer#footer {
	margin-top: 20px;
	border-top: 5px solid #517eaf;
	background: #057ab4 url('../images/footer-bg.png') repeat-x;
	color: #fff;
	padding-bottom: 100px;
	font-size: 1em;
}

footer#footer a, footer#footer .gc-cs-link { color: #fff; text-decoration: none; }

footer#footer ul.footmenu {
	border-top: 1px solid #3082b5;
	border-bottom: 1px solid #3082b5;
	padding: 20px;
	margin: 20px 0;
	clear: both;
}

footer#footer ul.footmenu li {
	display: inline;
	padding: 10px 25px;	
}

#ppl {
	margin-bottom: 10px;
	font-size: 120%;
}
#ppl b {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 95%;
}
#ppl i {
	font-style: italic;
}

#colophon b { font-weight: bold; }
#colophon { font-size: 120%; line-height: 140%; margin-top: 20px; }

#credits { font-size: 85%; margin-top: 20px; }


p:lang(he) { 
	direction: rtl; 
	font-family: "SBL Hebrew"; 
	font-size: 18px;
}

p.lang-he { 
	direction: rtl; 
	font-family: "SBL Hebrew"; 
	font-size: 18px;
}