/*  
Theme Name: Ohel Ayalah's Theme
Theme URI: http://ohelayalah.org/
Description: Customized design for Ohel Ayalah's redesign in 2008
Author: April Hodge Silver
Version: 1.0
Author URI: http://springthistle.com/
*/

body {
	margin: 0;
	padding: 0;
	background-image: url(images/header-bg.gif);
	background-repeat: repeat-x;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 20px;
}

a, a:visited {
	color: #53bb25;
}

h2 {
	font-weight: normal;
	color: #a09ffd;
	font-size: 28px;
}

h3 {
	font-weight: normal;
	color: #a09ffd;
	margin: 20px 0 10px 0;
	font-size: 22px;
}

h4 {
	font-weight: normal;
	margin: 5px 0;
	color: #a09ffd;
	font-size: 16px;
}

/* #content h1, #content h3 { font-size: 16px; } */


img {
	border: none;
}

.clear, .clr {
	clear: both;
	height: 20px;
}

.link {
	background-repeat: no-repeat;
	padding: 2px 0 2px 20px;
}
.mp3 { background-image: url('images/icon-mp3.gif'); }


/* hidden */

#header h1, #header h2, #footer h3 {
	display: none;
}


/*** HEADER * * * * * * * * * * * * * * * * * * * * * * * */
#header {
	background-image: url(images/header.gif);
	background-repeat: no-repeat;
	background-position: 0 20px;
	margin: 0px auto;
	padding: 8px 0 15px 0;
	width: 800px;
	height: 138px;
}

/* language menu, hebrew and russian */
#header #language {
	float: right;
}

#header #language ul {
	margin: 0;
	padding: 0
}

#header #language li {
	display: inline;
	list-style-type: none;
	margin-left: 5px;
}

#header #language a {
	color: #8a8aed;
}

/* main menu, tabs with green border */
#mainmenu {
	padding-top: 89px;
	margin-left: 275px;
}

#mainnav li a:hover, 
#mainnav .current-menu-item > a,
#mainnav .current-menu-ancestor > a {
	background-color: #fff;
	border-top: 3px solid #53bb25;
}

#mainnav, #mainnav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}
 
#mainnav a {
	display: block;
	font-size: 18px;
	color: #725ddc;
	padding: 5px 6px 19px 6px;
	text-decoration: none;
	border-top: 3px solid #dcdbfb;
}
 
#mainnav li { /* all list items */
	float: left;
	margin-right: 10px;
}
 
#mainnav li ul { /* second-level lists */
	position: absolute;
	background: #fff;
	width: 160px;
	border: 1px solid #d9d9d9;
	border-top: none;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
 
#mainnav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 10em;
}

#mainnav li ul li a {
	font-size: 14px;
	border: none;
	width: 145px;
}

#mainnav li ul li a:hover, #mainnav li ul li.current-menu-item a {
	border: none;
	text-decoration: underline;
}
 
#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;
}


/*** CONTENT * * * * * * * * * * * * * * * * * * * * * * * */

#container {
	margin: 0px auto;
	width: 810px;
}

#content {
	width: 560px;
	float: left;
}


/*** SIDEBAR * * * * * * * * * * * * * * * * * * * * * * * */

#sidebar {
	float: right;
	width: 250px;
}

#sidebar .box, #sidebar .widget {
	background-color: #f8f8f8;
	border: solid 1px #dcdbfb;
	margin: 0 0 20px 15px;
	padding: 5px;
	font-size: 12px;
	line-height: 16px;
	color: #636363;
}

#sidebar .box h3, #sidebar .widget h3 { /* box title */
	margin: 0 0 5px 0;
	color: #8f7fdd;
	font-size: 15px;
}

#sidebar .box h4, #sidebar .widget h4, #homecols h4 { /* sub heading */
	margin: 8px 0 5px 0;
	color: #aeaeae;
	font-size: 14px;
	border-bottom: 1px solid #aeaeae;
}

#sidebar .box blockquote, #sidebar .widget blockquote, #homecols blockquote {
	margin: 0 0 0 10px;
}

#sidebar .box form, #sidebar .widget form {
	margin: 5px 0;
}

/*** FOOTER * * * * * * * * * * * * * * * * * * * * * * * */

#footer {
	background-color: #f5f5f5;
	border-top: 5px solid #dcdbfb;
	padding: 20px 0;
	color: #999;
}

#footer a, #footer a:visited {
	color: #afafaf;
}

#footercontainer {
	margin: 0px auto;
	width: 800px;
}

#footercontainer ul {
	margin: 0;
	padding: 0;
}

#footercontainer li {
	display: inline;
	list-style-type: none;
	margin-right: 12px;
	font-size: 16px;
}

#footer #left {
	width: 500px;
	float: left;
}

#footer #right {
	width: 230px;
	float: right;
	font-size: 12px;
	line-height: 14px;
}

#footercontainer li a, #footercontainer li a:visited {
	color: #725ddc;
}

/*** HOMEPAGE * * * * * * * * * * * * * * * * * * * * * * * */

.home h2 {
	font-size: 24px;
}

#homecols, #homerows {
	width: 545px;
	font-size: 12px;
	line-height: 16px;
	text-align: justify;
}

#homecols h3, #homerows  h3 {
	font-weight: normal;
	color: #725ddc;
	font-size: 16px;
	margin: 10px 0 6px 0;
}

#homecols blockquote {
	margin: 0 0 0 10px;
}

#homecols #left {
	width: 240px;
	padding-right: 10px;
}

#homecols #right {
	width: 240px;
	padding-left: 10px;
}

#homecols #left img,
#homecols #right img {
	width: 240px;
	padding: 8px;
	border: 1px solid #ccc;
	display: block;
	float: none;
	margin: 0;
}



/*** HEBREW PAGE * * * * * * * * * * * * * * * * * * * * * * * */

.heb1 {
	font-size: 100%;
	font-family: Narkisim, Arial Unicode MS,Arial,san-serif;
	font-weight: bold;
}

.heb2 {
	font-size: 120%;
	font-family: Narkisim, Arial Unicode MS,Arial,san-serif;
	text-align: center;
}
	
.heb3 {
	font-size: 140%;
	font-family: Narkisim, Arial Unicode MS,Arial,san-serif;
	font-weight: bold;
}
	
.heb4 {
	font-size: 200%;
	font-family: Narkisim, Arial Unicode MS,Arial,san-serif;
	font-weight: bold;
	text-align: center;
}



/* other */

form br {display: none;}

/* =Images
-------------------------------------------------------------- */

#content img {
	margin: 0;
	height: auto;
	max-width: 640px;
	width: auto;
}
#content .attachment img {
	max-width: 900px;
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
	padding: 5px;
	border: 1px solid #ccc;
}
#content .alignright,
#content img.alignright {
	padding: 5px;
	border: 1px solid #ccc;
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}
#content .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
}
#content .wp-caption img {
	margin: 5px 5px 0;
}
#content .wp-caption p.wp-caption-text {
	color: #888;
	font-size: 10px;
	margin: 5px;
	line-height: 14px;
}
#content .wp-smiley {
	margin: 0;
}
#content .gallery {
	margin: 0 auto 18px;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;
}
#content .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


