
/* ***************************
  Site - Template
  ---------------------------
  StyleSheet Index
  $1 - Global Styles
  $2 - Website Structure Styles
  $3 - Header Styles
  $4 - Content Styles
  $5 - Sidebar Styles
  $6 - Footer Styles
   ***************************/

/* ***************************
   $1 GLOBAL Styles
   ***************************/
* {
	margin: 0;
	padding: 0;
}
a {
	color:#333333;
	text-decoration:underline;
}
a:hover {
	color:#333333;
	text-decoration:none;
}
img {
	border:0;
}
fieldset {
	border:none;
}
li {
	list-style:none;
}
.clear {
	clear:both;
	height:0;
	font-size:0;
}

/* ***************************
   $2 Website Structure Styles
   ***************************/
body {
	text-align:center;
    font-size:12px;
    font-family:Arial, Helvetica, sans-serif;
	background:#b0d9e7 url(../images/bodyBg.png) repeat-x;
}
#container {
	margin:0 auto;
	background:url(../images/containerBg.png) center 41px no-repeat;
}

/* ***************************
   $3 Header Styles
   ***************************/
#header {
	width:1000px;
	margin:0 auto;
	text-align:left;
	height: 161px;
	position:relative;
	color:white;
}
#header a { color:white; }
#logo{
	position:absolute;
	left: 36px;
	top: 55px;
	}
#header h1{
	display:none;
	}
#header h3{
	line-height:39px;
	color:#fff;
	font-size:12px;
	font-weight:normal;
	float:left;
	padding-left:28px;
	width:250px;
	}
#header_top form{
	text-align:right;
	padding-right:1px;
	padding-top:0px;
	overflow:hidden;
	}
#header_top form label{
	float:right;
	margin-right:13px;
	line-height:21px;
	}
#header_top form label a{
	color:#fff;
	}
#header_top #header_top_login_area{
    margin-top:-7px;
}
#header_top .start_logged_in{
    margin-top:-7px;
}

#header_top form .submit_button{
	background:url(../images/arrow.png) bottom no-repeat;
	height:13px;
	width:12px;
	border:0;
	margin-top:3px;
	cursor:pointer;
	padding:0;
	}
#header_top form .submit_button:hover{
	background:url(../images/arrow.png) top no-repeat;
	}
#header_top form input{
	margin-right:4px;
	border-left:#6f6f6f 1px solid;
	border-top:#666 1px solid;
	border-right:#787878 1px solid;
	border-bottom:#646766 1px solid;
	background:#fff url(../images/inputBg.png) bottom repeat-x;
	padding-left:10px;
	width:99px;
	width/**/:/**/87px;
	height:21px;
	padding-top:1px;
	height/**/:/**/18px;
	vertical-align:middle;
	color:#333;
	font-family:Arial, Helvetica, sans-serif;
	}


#header_top #admin_frm_head{
    padding-left:250px;
}
.search { background:transparent; }

#header .search label{
	color:#ccc;
	font-size:18px;
	line-height:21px;
	margin-right:6px;
	float:right;
	padding-right:6px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	}

.search .go  {
	background:transparent url(../images/rightArrow.png) no-repeat scroll center top;
	width:12px;
	height:13px;
	border:0;
	cursor:pointer;
	margin-top:0px;
	}
.search .go:hover{
	background:transparent url(../images/rightArrow.png) no-repeat scroll center bottom;
	}
#header h4{
	color:#2e1806;
	font-size:12px;
	font-weight:normal;
	position:absolute;
	padding-left:17px;
	width:226px;
	background:url(../images/h4Bg.png) no-repeat;
	height:25px;
	bottom:96px!important;
	bottom:95px;
	right:0px;
	line-height:24px;
	}
#header h4 a{
	color:#2e1806;
	text-decoration:none;
	}
#topnav {
	height: 34px;
	width: 998px;
	position:absolute;
	left:0;
	top:-121px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
#topnav h3 {
background:transparent url(../images/h4Bg.png) no-repeat scroll 0 0;
color:#2E1806;
font-size:12px;
font-weight:normal;
height:25px;
line-height:24px;
padding-left:17px;
position:static;
float:right;
width:217px;
text-align:center;
}
#topnav h3 a { text-decoration:none; }

#topnav li {
	float: left;
	text-transform: uppercase;
	font-size: 19px;
	line-height:34px;
	height:34px;
}
#topnav  li a {
	background:url(../images/btnBgL.png) left bottom no-repeat;
	display: block;
	color:#fff;
	text-decoration:none;
}
#topnav li a b {
	background:url(../images/btnBgR.png) right bottom no-repeat;
	line-height: 34px;
	padding-right: 18px;
	padding-left: 18px;
	display: block;
	font-weight:normal;
}
#topnav  li a:hover, #topnav li a.selected {
	background:url(../images/btnBgL.png) left top no-repeat;
}
#topnav  li a:hover  b,  #topnav li a.selected b {
	background:url(../images/btnBgR.png) right top no-repeat;
	color:#369;
}


/* ***************************
   $4 Content Styles
   ***************************/
#content {
	width:1000px;
	margin:0 auto;
	overflow:visible;
	text-align:left;
	background-color:#fff;
	position: relative;
}
#maincontent{
	width:481px;
	float:left;
	padding-top:0px;
	padding-bottom:35px;
	margin-top:14px;
	margin-left:0px;
	display:inline;
	min-height:530px;
}
#maincontent.full_width{
    width:766px;

    
}
#maincontent .firstPic{
	margin-bottom:15px;
	vertical-align: middle;
	}
#maincontent h2{
	color:#2b89ce;
	font-size:27px;
	padding-bottom:5px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif
	}
#maincontent p{
	color:#515151;
	line-height:20px;
	color: #515151;
	}
#maincontent p .floatLeft{
	float:left;
	margin-right:20px;
	margin-top: 10px;
	}
#maincontent p a{
	color:#0683b2;
	}
#maincontent p a.redLink{
	color:#ff0066;
	font-size:9px;
	text-decoration: none;
	}
#maincontent p a.redLink:hover{
	color:#000;
	}
 #maincontent .people{
	margin-top:7px;
	margin-bottom:15px;
	vertical-align: middle;
	 }

#maincontent .featured_article {
background:transparent;
margin-bottom:2px;
padding-bottom:0;
}



/* CALENDAR */
#maincontent.cal { width:745px; margin-top:30px; }
table.calendar { margin-left:0px; }


table.calendar{
	border-collapse: collapse;
	font-family: Arial, Sans-Serif;
	font-size: 12px;
	margin-left: 0;
	margin-bottom: 0;
	background:#E7F7FE;
}
table.calendar td{
	border: 1px dotted #ccc;
	width: 112px;
	height: 100px;
	text-align: left;
	vertical-align: top;
}
table.calendar td.unmonth{
}
table.calendar th{
	text-align: left;
	padding: 2px;
	height: 20px;
	background-color:#CBEDFE;
	color:black;
}
table.calendar th a{
	color:black;
}
table.calendar th.next{
	text-align: right;
	font-size:40px;
}
table.calendar th.previous{
	text-align: left;
	font-size:40px;
}
table.calendar td.today{
}
table.calendar th.month_header{
	font-size: 24px;
	text-align: center;
	padding-top: 7px;
}
table.calendar td span.day{
	display: block;
	width: 18px;
	height: 12px;
	position: absolute;
	font-size: 10px;
	padding: 2px;
}
table.calendar td span.jewishDay{
	float: right;
	height: 12px;
	font-size: 10px;
	font-style: italic;
	margin-right: 2px;
	padding: 2px;
}
table.calendar td div.sedra{
	clear:both;
	display: block;
	width: 100%;
	font-size: 10px;
	fong-weight: bold;
	text-align: center;
	padding-top: 5px;
	color:#2B89CE;
}
table.calendar td span.day a{
	text-decoration: none;
}
table.calendar td span.day a:hover{
}
table.calendar td ul{
	margin-left: 18px;
	padding: 0px;
	list-style-type: circle;
	font-size: 11px;
}
table.calendar td ul li{
	font-size: 10px;
	padding: 0px;
	margin: 0px;
}
table.calendar tr:hover{
}
table.calendar td:hover{
}

/* ***************************
   $5 Sidebar Styles
   ***************************/
#sidebar_left {
	width:226px;
	/* was float:left; */
	overflow:visible;
	margin-top:-63px;

}

#mainnav .menuheader div { background-color:white !important; }

#sidebar_left .bb { height:14px; }

#sidebar_left #img_div { margin-left:15px; }

/* Main List */
#mainnav { 
    width:auto;
	margin:0;
    margin-left:15px; 
	padding:0;
	background-color:transparent;
}

#nav_section{
}
#nav_section li{
    background:transparent url(../images/bg_mainnav_li.png) repeat-y scroll 0 0;
}
#nav_section a{
    display:block;
    width:160px; 
    vertical-align:middle;
    color:#999999;
    font-size:20px;
    font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
    font-weight: normal;
    text-decoration:none;
    background:transparent url(../images/menuheaderbg.png) no-repeat scroll 8px -26px;
    line-height:37px;
    padding: 0 0 0 20px;
}
#nav_section a:hover{
    text-decoration:none; 
    color:#F7066C;
    background:transparent url(../images/menuheaderbg.png) no-repeat scroll 8px 5px; 
}
#nav_section ul{
}
#nav_section ul li{
}
#nav_section ul a{/* Stop text wrapping and creating multi-line dropdown items */
    width:160px;
    color:#336699;
    font-family:Arial,Helvetica,sans-serif;
    font-size:14px;
    background:none;
    border-bottom:1px solid #EEF7FA;
    padding-left: 19px;
    line-height: 25px;
    
}
#nav_section li:hover ul, #nav_section li.persist_open ul{ /* Display the dropdown on hover */
}
#nav_section li:hover a, #nav_section li.persist_open a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    background:transparent url(../images/menuheaderbg.png) no-repeat scroll 8px 5px; 
    
}
#nav_section li:hover ul a, #nav_section li.persist_open ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    background:none;
}
#nav_section li:hover ul li a:hover, #nav_section li.persist_open ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    background:none;
    font-weight:bold;
    color: #000;
}


#sidebar_right { width:223px; margin-right:10px; }
#sidebar_right .right_box1 {
	color:#4d9ed7;
	font-size:18px;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:20px;
	padding-bottom:10px;
	background:none;
	}

#sidebar_right .right_bm {
	background:white;
	border-top:1px solid #C6C7C8;
}

#sidebar_right .right_bm .right_content { padding-bottom:0; overflow:visible; }

#sidebar_right .readmore a:hover {
color:white;
background-position:center top;
}
#sidebar_right .readmore a {
padding:3px 0 0 0;
font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
font-style:normal;
display:block;
background:url(../images/rightLink.png) no-repeat center bottom;
width:219px;
line-height:31px;
text-align:center;
}
#sidebar_right .readmore:hover {

}
#sidebar_right .readmore {
width:auto;
padding:0;
}
#sidebar_right .right_bm .right_content h2, 
#sidebar_right .right_bm .right_content h4{
    color: #F7066C;
    font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
    font-style:normal;
    font-weight: normal;
    font-size:24px;
    padding-left:0;
    margin-bottom:4px;
    padding: 0;
    
}
#sidebar_right .right_bm .right_content h4{
    font-family:Georgia,"Times New Roman",Times,serif;
    font-style:italic;
    font-size:14px;
    color:black;
}
#sidebar_right .right_bm .right_content_inner{

}
#sidebar_right .right_bm table td, #sidebar_right .right_bm table a{
    padding:3px 0;
}
#sidebar_right input.go_button{
	background:transparent url(../images/rightArrow.png) no-repeat scroll center top;
    border:0 none;
    cursor:pointer;
    height:13px;
    margin-top:0;
    width:12px
}
#sidebar_right input.go_button:hover {
    background:transparent url(../images/rightArrow.png) no-repeat scroll center bottom;
}

/*****
NEW FROM
.schedule ul{

*/
#sidebar_right hr{
    height:5px;
    margin-bottom: 15px;
    color: transparent;
}



/*
#sidebar_right .right_bm .schedule p,
.zamanim p
{ color: #F7066C;
font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
font-style:normal;
font-size:24px;
padding-left:0;
margin-bottom:4px;
}

.schedule { padding-top:0; }
.schedule ul { padding-left:0; width:auto; }

.upcoming { padding-left:0; width:auto; }
.upcoming h4 a { color:#F7066C; font-family:"Trebuchet MS",Arial,Helvetica,sans-serif; font-size:14px; font-style:normal; text-decoration:none; }
.upcoming h4 a:hover { color:#58BEE1;  }

.upcoming .upcoming_events { color:#F7066C; font-size:13px; }


.zamanim { padding:0; width: 100% !important; margin:0; border-bottom:1px solid #C6C7C8; }
.zamanim li a { text-decoration:none; }
.zamanim li a:hover { text-decoration:underline; }

#sidebar_right .zamanim {
    width:206px !important;
}

.mailing_list { background:transparent; padding:0; }
#mailingListForm { padding:0; width:auto; height:auto; }
#mailingListForm p { font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
color: #F7066C;
font-style:normal;
font-size:18px;
padding-left:0;
margin-bottom:4px; }

.mailing_list .go:hover {
background:transparent url(../images/rightArrow.png) no-repeat scroll center bottom;
}
.mailing_list .go {
background:transparent url(../images/rightArrow.png) no-repeat scroll center top;
border:0 none;
cursor:pointer;
height:13px;
margin-top:0;
width:12px
}
*/

/* ***************************
   $6 Footer Styles
   ***************************/
#footer {
	width:1000px;
	margin:0 auto;
	background:#fff;
}
#footer  ul{
	width:928px;
	padding-left:50px;
	margin:0 auto;
	background:url(../images/footerBg.png) top repeat-x;
	padding-top:7px;
	height:22px;
	overflow:hidden;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	}
#footer ul li{
	font-size:14px;
	float:left;
	color:#2b89ce;
	}
#footer ul li a{
	color:#2b89ce;
	padding-left:9px;
	padding-right:8px;
	text-decoration:none;
	}
#footer ul li a:hover,#footer ul .selected a{
	color:#f06;
	}
#footer  p{
	font-size:11px;
	color:#999;
	clear:both;
	padding-bottom:42px;
	}

/* CALENDAR OVERRIDES */
#maincontent.cal { margin-top:0px; }
#maincontent table.calendar ul { margin-left:2px; }

/* PHOTO GALLERY */
#gia_head { background:#B1DAE7; }

#tree li { color:black; }
#tree ul { border-color:black; }

#filterFrm p { padding:3px 0; }

#myPopup { background-color:white; }
#myPopup .hd { background-color:#B1DAE7; }

#maincontent.photo { width:730px; }

tr.listing {
	background-color:#CBEDFE;
}

.action-button { background-color:#2B89CE; color:white; }


.filter_box {
	border:1px dotted black;
}
#show_hide {
	
} 

#show_hide a {
	background-image:url("/images/list_arrow.gif");
}

table .header td { background-color:#D7E6ED; }

table.calendar td div.daywrap{
    position: relative;
    width:105px;
}

@media screen and (min-width: 480px) {
	
	#content.ads_enabled{
		position:relative;
	}

	div.rbad[data-id=desktop_leaderboard_header]{
		padding-top:20px;
	}

	div.rbad[data-id=desktop_leaderboard_footer]{
		margin-left:230px;
	}
}