/*
Theme Name: Cong. Rodeph Sholom Custom Theme
Theme URI: http://rodephsholom.org/
Description: Custom-designed theme for Cong. Rodeph Sholom by April Hodge Silver
Version: 1.0
Author: April Hodge Silver
Author URI: http://springthistle.com/
*/

.backtotop {
text-align: right;
font-size: 10px;
margin-top: -10px;
}

body {
	background-color: #fff;
	font-family: Tahoma, Arial, Helvetica, Sans-serif;
	font-size: 13px;
	line-height: 16px;
	color: #000;
	margin: 0;
	padding: 0;
}

a, a:visited {
	color: #9b2759;
}

a:hover {
	text-decoration: none;
}

h1, h2, h3, h3 a, h3 a:visited {
	color: #1c5ba2;
	font-weight: normal;
	margin: 5px 0 5px 0;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 18px;
}

img {
	border: none;
}

hr {
	border: none;
	border-top: 2px solid #ddd;
	height: 1px;
	margin: 5px 0;
}

.clr {
	clear: both;
}

#header {
	background: url('images/rodeph-sholom.jpg') no-repeat 0px 26px;
}

#header h1, #header h2, #header h3 {
	display: none;
}

#middle {
	clear: both;
	width: 820px;
	margin-left: 45px;
	padding-top: 20px;
}

#sidebar {
	float: left;
	width: 263px;
}

#content {
	float: right;
	width: 534px;
}

#content-wide {
	width: 850px;
	margin-left: -20px;
}

#footer {
	clear: both;
	height: 200px;
}

/* stylin' --------------------------------------------------------------- */

/* header */


#header {
	height: 250px;
}

#fixedwidth {
	width: 870px;
}

#header #searchform, #header #searchform div {
	display: inline;
}

#header #searchform #searchsubmit, .screen-reader-text {
	display: none;
}

#header #searchform input {
	width: 120px;
	border: 1px solid #1c5ba2;
	color: black;
}

#header #homelink {
	float: left;
	display: block;
	width: 300px;
	height: 170px;
	color: #fff;
}

#header #headerimg {
	background: url('images/header1.jpg') no-repeat;
	border: 1px solid #9c9c9c;
	height: 157px;
	width: 536px;
	margin: 5px 0 0 328px;
}

#header #topnav {
	width: 866px;
	text-align: right;
	font-size: 12px;
	color: #1c5ba2;
}

#header #topnav ul {
	margin: 0;
	padding: 0;
}

#header #topnav ul li {
	margin: 0;
	padding: 0 0 0 10px;
	list-style: none;
	display: inline;
}

#header #topnav a, #header #topnav a:visited {
	color: #1c5ba2;
	text-decoration: none;
}

#header #topnav a:hover, #header #topnav li.current_page_ancestor a, #header #topnav li.current_page_ancestor a:visited  {
	text-decoration: underline;
}

#nav {
	margin-top: 20px;
	background-color: #9D2C5D;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	height: 47px;
	padding-left: 10px;
}

/* sidebar */
#sidebar {
	padding: 10px 0 30px 0;
	background-color: #fafafa;
}

#sidebar h3 {
	display: none;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	line-height: 28px;
}

#sidebar ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #ededed;
}

#sidebar a, #sidebar a:visited {
	display: block;
	padding: 0 0 0 10px;
	text-decoration: none;
	font-size: 16px;
}

#sidebar ul ul li {
	border: none;
	line-height: 22px;
}

#sidebar ul ul li a, #sidebar ul ul li a:visited {
	padding-left: 30px;
	font-size: 14px;
}

#sidebar a:hover, #sidebar li.current_page_item a, #sidebar li.current_page_item a:visited {
	background-color: #fff;
}

#sidebar li.current_page_item li a, #sidebar li.current_page_item li a:visited {
	background: none;
}

/* mail */

#middle img {
	padding: 4px;
	background: #f9f9f9;
	border: 1px solid #bfbfbf;
}

/* footer */
#footer {
	color: #1c5ba2;
	font-size: 12px;
	padding: 15px 0 15px 20px;
	border-top: 3px solid #9D2C5D;
	background: url('images/footer_bg.jpg') repeat-x;
}

#footer p {
	margin: 5px;
}

#footer a, #footer a:visited {
	color: #1c5ba2;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#footer #leftcol {
	float: left;
	width: 200px;
	margin-left: 45px;
	width: 263px;
}

#footer #rightcol {
	float: left;
	line-height: 25px;
}

#footer #rightcol ul {
	margin: 0;
	padding: 0;
}

#footer #rightcol li {
	display: inline;
	list-style: none;
	padding: 0 15px 0 0;
}


/* homepage */

#home {
	margin: 0 0 0 -30px;
	padding: 0;
}

#home li {
	float: left;
	width: 255px;
	margin-left: 15px;
	list-style: none;
}

.homepost {
	margin-left: -30px;
	clear: both;
	padding: 10px 0 0 0;
}

.homepost h3 {
	margin: 0 0 5px 0;
}

/* drop down nav --------------------------------------------------------- */

#menu {
	width: 870px;
}

#nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	display: block;
	font-size: 18px;
}

#nav ul li a {
	color: #fff;
	width: 80px;
	text-align: center;
/*	padding: 15px 5px 14px 5px; */
	margin-right: 12px;
	text-decoration: none;
	padding: 15px 5px 12px 5px;	
}

#nav ul li a:hover, 
#nav ul li.current_page_item a, 
#nav ul li.current_page_item a:visited,
#nav ul li.current_page_ancestor a, 
#nav ul li.current_page_ancestor a:visited {
	background-color: #6D2444;
}

#nav li { /* all list items */
	float: left;
	height: 1%;
	line-height: 20px;
}

#menu li:hover, #menu li.hover {  
    position: static;  
}

#nav li ul { /* second-level lists */
	position: absolute;
	background: #6D2444;
	width: 235px;
	margin-top: -4px;
	left: -999em;
}

#nav ul li ul li {
	width: 235px;
}

#nav ul li ul li a {
	text-align: left;
	width: 220px;
	height: auto;
	font-size: 16px;
	padding: 5px 5px 5px 10px;
	text-decoration: none;
}

#nav ul li ul li a:hover, #nav ul li.current_page_ancestor ul li a:hover {
	text-decoration: underline;
	background-color: #89355A;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -18px 0 0 190px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}


/* wordpress-generated styles */

p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
	
.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}	


/* other special stuff */

.twocol {
	margin: 0;
	padding: 0;
	width: 535px;
}

.twocol li {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 265px;
	float: left;
}

#middle .donation-page img {
	background: none;
	border: none;
}
