BODY {
	margin: 5px;
	margin-top: 0px;
	padding: 0px;
	font: normal 11px Verdana;
	color:#000033;
	background-color: #ebebeb;
}

.wrapper {
	width:1044px;
	margin: 0 auto;
}

.wrapperbg {
/*	background-image: url(../images/bg_shadow-main.gif);
	background-repeat: repeat-y;  */
	background-color:#ffffff;
	border:#CCCCCC 1px solid;
	text-align: left;
	padding: 10px 0px 0 0px;
	overflow: hidden;
	clear: both;
	position: relative;
	z-index:3;
}

/***************************
Layout
****************************/

.header {
	width:1042px;
	margin-top: 5px;
	clear: both;
	overflow: hidden;
	position: relative;
}

/* logo */
H1.logo {
	margin:0;
	padding:0;
	font-size:10px;
	float:left;
}

H1.logo A {
	display:block;
	background: url(../images/logo.gif) bottom left no-repeat;
	height:92px;
	margin-top:-20px;
	margin-left: 22px;
	margin-right: 5px;
	width:163px;
}

/* navigation */
.navigation {
	padding: 5px 5px 0 5px;
	text-transform: uppercase;
	width: 1028px;
	background-color:#3d5e7d;
	margin:0 5px 2px 4px;
}

.navigation UL {
	margin:0;
	padding:0;
	list-style:none;
	float:left;
	padding:5px;
}

.navigation LI {
	float:left;
	padding: 0 7px;
	margin:0;
	border-right: solid 1px #eeeeee;
}

.navigation LI.last-child {
	border-right: none;
}

.navigation LI A{
	float:left;
	text-decoration: none;
	font-size: 12px;
	font-family: Verdana;
	font-weight:bold;	
	color:#FFFFFF;
}

.navigation LI A:hover {
	color: #CCCCCC;
}

/*Top Ads*/
.topads {
	background-color: #ebebeb;
	padding: 10px;
	overflow: hidden;
	position: relative;
}

/* quick search bar */
.quicksearch {
	float:left;
	margin-bottom: 10px;
	width: 145px;
}

.quicksearchInput {
	font: 12px arial;
	width:115px;
	border: 1px solid #082846;
	color: #082846;
	margin-right:3px;
	margin-left: 1px;
	margin-top: 1px;
	float: left;
	padding: 1px;
	height: 15px;
}

.quicksearch BUTTON, .quicksearchSubmit {
	margin:0;
	padding:0;
	cursor:pointer;
	float: right;
	margin-top: 1px;
}

.navitems {
	width: 872px;
}

.navitems li a {

}

/*Left*/
.contentcontainer {
	float: left;
	width: 100%;
}

.container a {
	color: #082846;
}

.leftnav {
	background-color: #e5e5e5;
	margin: 0 838px 0 5px;
	width: 149px;
	margin-bottom: -4000px;
	padding-bottom: 4000px;
}

/* left navigation */

.leftnav UL {
	margin: 0;
	padding:0;
	list-style:none;
	font: normal 11px verdana;
	padding-left:3px;
	color: #082846;
	padding-top: 15px;
	padding-bottom: 15px;
}

.topul {
	border-bottom: 1px solid #082846;
}

.leftnav UL LI {
	padding: 0px;
	padding-left: 5px;
	padding-right: 5px;
}

.leftnav UL LI A {
	color: #082846;
	text-decoration:none;
}

.leftnav UL LI A:hover {
	text-decoration:none;
	color: #758795;
}

ul.dropdown{
	position:relative;
}

/* 
	LEVEL TWO
*/

ul.dropdown ul { 
	width: 165px; 
	position: absolute;
	visibility:hidden;
	background-color: #3d5e7d;
	top: 20px;
	text-align:center;
	z-index: 99;
	left:60px;
	padding:0px;
	float:none;
}

ul.dropdown ul li {
	float:none;
	padding:0px;
	border-right:none;
}

ul.dropdown ul li a {
	width:100%;
	border-bottom: 1px solid #53677e;
	font-size:11px;
	padding: 12px 0 12px 0;
}

ul.dropdown ul li a:hover{
	color: #758795;
}


ul.dropdown li:hover ul {
  visibility: visible;
}

 /* IE 6 & 7 Needs Inline Block */

#topwrapper #nav ul.dropdown ul li a	{ 
	display: inline-block; 
} 
/*Center*/
#inner {
	clear: both;
	overflow: hidden;
	position: relative;
	width: 1042px;
}

#home {
	clear: both;
	overflow: hidden;
	position: relative;
	width: 1042px;
}
/*
#home #SimchaFeed {
	padding:10px 0;
	margin:10px 0;
	min-height:150px;
}
*/
#inner .content {
	float: left;
	font: normal 11px Tahoma;
	width: 750px;
	margin-left: -888px;
}

#home .content {
	float: left;
	font: normal 11px Tahoma;
	width: 575px;
	margin-left: -888px;
}

#inner .container {
	border: 1px solid #babcc8;
	padding: 5px;
	margin: 0 5px 0 5px;
	clear: both;
	overflow: hidden;
	position: relative;
	background-color: #FFFFFF;
}

#home .container {
	border: 1px solid #babcc8;
	margin: 0 0 0 5px;
	clear: both;
	overflow: hidden;
	position: relative;
}

#home .container .betweenArticles {
	padding:10px 0;
	background:#cccccc;
	text-align:center;
	width:100%;
}

/*Right*/
#inner .rightnav {
	float: left;
	width: 131px;
	margin-left: -136px;
	border-top: 2px solid #13273B;
	border-left: 2px solid #13273B;
	padding: 5px 3px 3px 0;
	margin-bottom: -4000px;
	padding-bottom: 4000px;
}

#home .rightnav {
	float: left;
	width: 306px;
	margin-left: -308px;
	border-top: 2px solid #13273B;
	border-left: 2px solid #13273B;
	padding: 0 0 0 0;
	margin-bottom: -2000px;
	padding-bottom: 2000px;
}

/*******************************
 subpages 
*********************************/

H1, H3 {
	font: bold 16px Verdana;
	margin:0;
	padding:5px 0;
}

H3 {
	color: #082846;

}

.clear {
	clear: both;
}

/*************************************
 Homepage
**************************************/

/* lead news story aka the big one*/
.alert {
	padding: 5px;
	color: #C00000;
	border: 1px solid #C00;
	margin: 0 1px 8px 5px;
	clear: both;
	position: relative;
	overflow: hidden;
}

.leadnewsstory {
	background-color: #EBEBEB;
	padding: 4px;
	font-size: 14px;
	clear: both;
	overflow: hidden;
	position: relative;
}

#detail {}

#detail .leadnewsstory {
	background-color: #FFFFFF;
	font-size: 16px;
}

.leadnewsstory H2 {
	margin:0;
	padding:0;
	font-size: 18px;
	font-weight: bold;
	padding-bottom: 5px;
	color:#102E4A;
	text-decoration:none;
}

.leadnewsstory H2 a {
	color:#102E4A;
	text-decoration:none;
}

.leadnewsstory IMG {
	margin: 0 10px 0 0; 
	max-width:250px;
	width: expression(this.width > 250 ? 250: true); 
	max-height:200px;
	padding: 0px;
	float:left;
}

.leadnewsstory .description {
	font-size: 1.15em;
}

#storyicons {
	min-height:80px;
}

/* additional news stories */

.newsstory {
	padding: 4px;
	clear: both;
	overflow: hidden;
	position: relative;
}

#detail .newsstory {
	font-size: 16px;
}

.newsstory .description  {
	display: block;
	margin-top:10px;
	margin-bottom:10px;
	font-size: 1.35em;
	<!--[if IE 6]>
	height:110px;
	<![endif]-->
}

/*
.newsstory .description a {
	max-height: 275px;
	overflow: hidden;
	display: inline-block; 
	
}
*/
.newsstory .description IMG.large {
/*    position: absolute;
	top:-100%; left:0; right: 0; bottom:-100%;
*/
	margin-bottom:10px;
} 

.newsstory IMG, IMG.featuredphoto {
	margin-right: 10px; 
	max-width:65px;
	width: expression(this.width > 55 ? 55: true); 
	max-height:55px;
	float:left;
}

.icons {}

.icons a {
	color:#000033;
	text-decoration: underline;
}

.newsstorymain {
	border-bottom: 1px solid #BBBDCA;
  	min-height:125px;
  	height:auto !important;
  	height:45px;
}

.newsstory H2 {
	color:#102E4A;
	text-decoration:none;
	font-weight: bold;
	font-size: 18px;
	margin:0;
	padding:0;
	padding-bottom: 3px;
}

.newsstory H2 a {
	color:#102E4A;
	text-decoration:none;
}	

.newsstory H3 {
	margin:0;
	padding:0;
	font-weight: bold;
	color:#102E4A;
	font-size: 11px;
	text-align: justify;
}

.newsstory H3 a {
	color:#102E4A;
	text-decoration:none;
}

.newsstory .reglink {
	color:#102E4A;
	font-size: 11px;
}

.newsstory .reglink a {
	color:#102E4A;
	text-decoration:none;
}

.newsstory .reglink a img {
	text-decoration:none;
	border: 0px;
}

.storytitle {
	font-family: Verdana;
	font-weight: bold;
	font-size: 16px;
	line-height: 24px;
	color: #082846;
}

.newsstory .description  {
	display: block;
}

#home .newsstory IMG, IMG.featuredphoto {
	margin-right: 10px; 
	max-width:250px;
	width: expression(this.width > 250 ? 250: true); 
	max-height:none; /* 150px */
	border: 1px solid #7991A7;
}

#home .newsstory .description .DescImg {
 height: 150px;
 width: 200px;
 overflow: hidden;
}

#home .newsstory .description .DescImg img {
 height: auto;
 width: 200px;
}


UL.morenewsstories {
	margin:0;
	padding:0;
	list-style:none;
}


UL.morenewsstories LI{
	background: url(../images/arrow_right_red.gif) center left no-repeat;
	padding-left:12px;
	padding-top:3px;
	padding-bottom:3px;
}

IMG.large, #home .newsstory .description IMG.large, .gallery-icon IMG {
	margin: 0 10px 0 0; 
	width: 100%;
	max-width:100% !important;;
	width: expression(this.width > 665 ? 665: true)  !important;
	max-height:625px !important;
	height:auto;
	padding: 0px;
	float:none;
}

#detail .size-full {
 	margin: 0 10px 10px 0; 
	max-width:675px !important;
/*	width: expression(this.width > 665 ? 665: true)  !important; */
	max-height:675px;
	height:auto;
	float:none;
	display: block; 
	padding:5px;
	border: 1px solid #808080;
	background: #EAEAEA;
}

/* gallery Not yet in use */
.gallery {
	display: block;
	padding:5px;
	border: 1px solid #808080;
	background: #EAEAEA;
	margin-bottom:10px;
}
 








/*Center News*/
.center {
	width: 564px;
	clear: both;
	overflow: hidden;
	position: relative;
	padding: 0 0 0 4px;
}

.centerleft {
	width:279px;
	padding: 0 0 0 0;
	float: left;
}

.centerright {
	width:279px;
	padding: 0 0 0 0;
	float: right;
}

.centertitle {
	font-weight: bold;
	padding: 18px 0 0 24px;
	clear: both;
	position: relative;
	overflow: hidden;
}

.center a {
	color: #000033;
	text-decoration: none;
}

.centercontainer {
	border: 1px solid #babcc8;
	border-top: 0px;
}

/*Right*/
.rightnav .righttitle {
	background-image: url(../images/home_header_bg.gif);
	background-repeat: repeat-x;
	color: #FFFFFF;
	height: 18px;
	font-size:13px;
	font-weight:bold;
	text-transform:uppercase;
}

.rightnav .righttitlepad {
	padding: 1px 0 0 5px;
}

.rightnav .feeds  {
	margin-top:5px;	
	border-right: 2px solid #13273B;
}

.rightnav .feeds ul  {
	padding-left:15px;
	list-style-image:url('/images/arrow_right_blue.gif');
	margin-bottom:0px;
	margin-left:3px;
}

.rightnav .rightphoto {
	padding: 2px 2px 2px 0;
}

.rightnav .rightphoto img {
	border: 1px solid #80858C;
	margin: 0 0 0 2px;
}

.rightnav .listingouter {
	clear: both;
	overflow: hidden;
	position: relative;
	padding: 0 5px 0 0;
}

.rightnav .listing {
	width: 173px;
	float: left;
}

.rightnav .listing a {
	color: #000033;
	text-decoration: none;
}


.rightnav .listing ul {
	padding: 0px;
	margin: 0px;
}

.rightnav .listing li, .rightnav .listing li a {
	padding: 0px;
	margin: 0px;
}

.rightnav .coffee {
	padding: 0 0 0 5px;
}	

.rightnav .coffee a, .rightnav .feeds a  {
	color: #000033;
	text-decoration: none;
}

.rightnav .adcontainer {
	width: 125px;
	float: right;
}

.rightnav .adcontainerpad {
	border-left: 1px solid #B9BBC6;
	text-align: left;
}

.morelink {
	padding: 1px 5px 1px 1px;
	font-size: 10px;
	text-align: right;
	margin: 0 0 2px 0;
	color: #0024FF;
}

.morelink a {
	color: #0024FF;
	text-decoration: none;
}

/*******************************
 ads
*********************************/
.ads {
	background-color: #CCCCCC;
	height: 60px;
	padding: 15px 0 15px 5px;
	margin: 10px 0 0 0;
}

.rndm {
	/*background-color: #CCC;
	border: solid 1px #999;*/
	float:left;
	text-align:center;
	margin-top: 10px;
	font: normal 11px verdana;
}

.rndmtemp {
	background-color: #CCC;
	border: solid 1px #999;
	text-align:center;
	margin-top: 5px;
	font: normal 11px verdana;
}

.rndm:hover {
	background-color: #EEE;
}

.header .rndm {
	height:60px;
	width: 120px;
}

.rndm2 {
	height:60px;
	width: 120px;
	float:none;
}

.rightnav .rndm {
	margin: 3px 0 3px 3px;
}

.rndm1 {
	border:0px;
	margin: 5px 10px 0 0;
}

.rndm3 {
	height:60px;
	width: 425px;
	float:none;
	text-align: center;
	border:0px;
	overflow: hidden;
	position: relative;
	margin: 0 0 0 60px;
}

.rndm7 {
	height:250px;
	width: 300px;
	float:none;
	margin: 8px 3px;
	border:0px;
	clear: both;
	overflow: hidden;
	position: relative;
}

.rndm8 {
	height:60px;
	width: 270px;
	float:left;
	text-align: left;
	border:0px;
	overflow: hidden;
	position: relative;
	margin: 0 0 0 2px;
}

.header .rndm8 {
	height:60px;
	width: 270px;
}

.rndm10 {
	height: 60px;
	width: 1030px;
	float:none;
	text-align: center;
	border:1px solid #666666;
	overflow: hidden;
	position: relative;
	margin: 0 5px 5px 5px;
}

.rndm12 {
	height: 60px;
	width: 360px;
	float:none;
	text-align: center;
	border:0px solid #eeeeee;
	overflow: hidden;
	position: relative;
	margin: 1px;
}

.rndm15 .rndm17{
	height: 80px;
	width: 550px;
	float:none;
	text-align: center;
	border:0px solid #eeeeee;
	overflow: hidden;
	position: relative;
	margin: -10px 0 5px 0;
	background-color: #EEE;
}

.rndm18, .rndm29 img{
	width: 675px;
	height: 250px;
	max-height: 250px !important;
	max-width: 675px !important;
	float:none;
	display: block;
	border:0px solid #eeeeee;
	overflow: hidden;
	background-color:none;
}

.topbigad .rndm {
	float: right;
}

.leftnav .rndm {
	margin: 5px 0 5px 13px;
}

.rndm9 {
	height:400px;
	width: 120px;
	float:none;
	clear: both;
	overflow: hidden;
	position: relative;
}

.rndm6, .rndm14 {
	height:600px;
	width: 120px;
	float:none;
	clear: both;
	overflow: hidden;
	position: relative;
}

#inArticle {
	float: right;
	padding:3px;
	border:solid 1px #dddddd;
	width: 300px;
}
#inArticle a, #aboveComment a {
	display:block;
	text-align: left;
	text-decoration:none;
	font-size: 12px;
	font-weight:bold;
} 

.inComment {
	padding:0 30px;
}

#inArticle img, .inComment img {
	max-width: 300px;
	max-height: 250px;
}

#aboveComment img {
	max-width: 675px;
	max-height: 250px;	
	padding:0 0 30px 0;
}


#topArticle {
	clear:both;
	margin: 3px 0 0 3px;
	float: right;
	padding:0px;
/*	background: #e5e5e5; 
	border: 1px solid #082846; */
	width: 468px;
	height:90px; 
}

#topArticle img {
	max-width: 360px;
	max-height: 50px;
}

#overlayDiv, #overlaySecondDiv {
	position:fixed;
	z-index: 9001;
	display:none;
	visibility:hidden;
    background: #000;
    text-align: center;
	color:#FFFFFF;
/*	opacity: 0.95; */
/*	background:none; */
    border: 1px solid #999;
}
#overlayDiv {
	top:100px;
    width: 930px;
    height: 525px;
	left:50%;
	margin-left:-460px; 
}
/* */
#overlaySecondDiv {
	bottom:0px;
	left:0px;
    width: 99%;
    height: 140px; /* 85 */
	opacity: 1;
}
#overlayDiv .closeX, #overlaySecondDiv .closeX { display:block;float:right;margin-top:-10px;margin-right:-10px; }
#overlayDiv .closeText, #overlaySecondDiv .closeText { color:#FFFFFF;padding-top:10px;text-decoration:underline; }


/* overrides for numbers and simchas*/
#numbers {}

#numbers UL.tabs {
	margin-right:10px;
	width:120px;
}

#numbers UL.tabs LI, #numbers UL.tabs LI A, UL.tabs LI.on A, UL.tabs LI.on{
	float:none;
	background-image:none;
	background-color: #FFF;
	margin:0;
	padding:2px;
	list-style-image: url(../images/arrow_right_blue.gif);
}

#numbers UL.tabs LI.on A{
	font-weight: bold;
}

#numbers UL.tabs LI A{
	color:#365875;
}

#numbers .numbercontainer {
	width: 100%;
	margin: 0;
	margin-right: 2%;
	/*float:left;*/
	padding: 0 5px 5px 5px;	
	border: solid 1px #FFF;
	background-color: #e5e5e5;
	margin-bottom:10px;
}

/****************
simchas
*****************/
#simcha UL.simcha {
	width: 100%;
	margin: 0;
	margin-right: 2%;
	/*float:left;*/
	list-style: none;
	padding: 0 5px 5px 5px;	
	border: solid 1px #FFF;
	background-color: #e5e5e5;
	margin-bottom:10px;
}

#simcha UL.simcha STRONG {
	font-size: 16px;
	font-family: arial;
	text-transform: uppercase;
}

#simcha UL.simcha UL {
	margin:0 10px;
	padding:0 10px;
}

#simcha UL.simcha UL LI {
	padding-bottom:6px;
}

#simcha UL.simcha UL A {
	color:#000033;
}

/****************
 community events
*****************/
.event {
	padding:5px;
}

.event H3 {	
	padding-right:10px;	
	font-size: 12px;
}

.event .date, .event .location {
	 border-left: solid 1px #000033;
	 padding: 0 5px;
	 font-weight: bold;
}

/****************
 contact page
*****************/
.contact {
	padding: 0 0 0 20px;
}

.contact h3 {
	padding: 10px 0 0 0;
}

.textfield {
	border: solid 1px #000033;
	width: 150px;
}

.textarea {
	border: solid 1px #000033;
	width: 250px;
}

.tefila {
	background: url(../images/bg_tefila.gif) no-repeat bottom right;
}

/****************
 subscribe page
*****************/
.subscribebox {
	border: 1px solid #AEB9C3;
	width: 523px;
	margin: 5px 0 20px 0;
	padding: 5px;
}

.subscribetextfield {
	width: 150px;
	border: 1px solid #AEB9C3;
}



/****************
 Login / Register page
*****************/
#login {
	margin:50px;
}

#login FORM{
	margin-left:25px;
	border: 1px solid #AEB9C3;
	width: 450px;
	margin: 5px 0 20px 0;
	padding: 5px;
}


/*******************************
 footer
*********************************/
.legal {
	background-image: url(../images/bg_shadow-bottom.gif);
	background-repeat: no-repeat;
	background-position:-23px 0;
	min-width:1044px;	
	height: 65px;
}

.legal a {
	color: #082846;
	text-decoration: none;
}

.legal a:hover {
	color: #758795;
	text-decoration: none;
}

.footerlinks {
	font: normal 11px verdana;
	padding-top: 10px;
	text-align: center;
}

.copyright {
	text-align: right;
	padding-right: 30px;
	padding-top: 25px;
	font: normal 10px verdana;
}

.printheader {
	display:none;
	visibility:hidden;
}

/****************
For Print
*****************/

@media print {
body { background:white; color:black; margin:0; }

.leftnav {
 /*	margin:0;
	display:none;
	width:0px; */
}
.rightnav {
	display:none;
	width:0px;
}

.logo, .navigation, .rndm, .ad, #commentform, #postcomment, .mediaonly, #storyicons, #topArticle, #inArticle {
	display:none;	
	width:0px;
}

postcomment {
	display:none;
}

.content, .contentcontainer, .container {
/*	margin-left:0; 
    float:none; */
    width:100%;
}


.header, .legal, *html .navigation, *html .contentcontainer, *html .legal {
    width:100%;
}

.header {
	height:120px;
	padding:0px;	
}
.printheader {
	display:block;	
	visibility:visible;
	text-align:left;
	margin-left: 22px;
/*		
	height:92px;
	margin-right: 5px; */
}

a:link, a:visited {
	color: #520;
	background: transparent;
	font-weight: bold;
	text-decoration: underline;
	}
	
.description a:link:after, .description a:visited:after {
   content: " (" attr(href) ") ";
   font-size: 90%;
   }
}

