/*
Theme Name: AJR Custom Theme
Theme URI: http://ajrsem.org/
Description: Built based on a ThistleCMS theme from 2004.
Version: 1.0
Author: April Hodge Silver
Author URI: http://springthistle.com/
*/



/* Defaults * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
body {
	background-color: #FFFBEB;
	margin: 0px;
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

div,td,span,li {
	font-family:  Verdana,Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

a {
	color: #B98812;
}

a:hover {
	text-decoration: none;
}

textarea,input,submit {
	background-color: #f8f8f8;
	color: #666;
	padding: 2px;
	border: 1px solid #999;
	font-size: 11px;
}

h1 {
	color: #D09007;
}

.edit {
	font-weight: normal;
	padding: 2px 10px;
	background: #ffff99;
}

.clr {
	clear: both;
}

/* ID Elements * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#container {
	background-color: #fff;
	border: 1px solid #DADADA;
	width: 700px;
	background-image: url(/templates/ajrsem/ajr-name-hebrew.jpg);
	background-position: bottom center;
	background-repeat: no-repeat;
	padding-bottom: 50px;
	text-align: left;
}

#toplinks {
	text-align: right;
	font-size: 10px;
	font-family: verdana,arial,sans-serif;
	width: 700px;
	margin: 7px 0px;
}
#toplinks a, #toplinks a:visited {
	color: #81458D;
	text-decoration: none;
}
#toplinks a:hover {
	text-decoration: underline;
}

#header {
	margin: 2px 2px;
}

#sidebar {
	width: 175px;
}


/* main navigation */

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

#mainnav ul a {
	display: block;
	width: 170px;
	padding: 3px 0 3px 8px;
	color: #81458D;
	font-size: 14px;
	text-decoration: none;
	font-weight: bold;
}

#mainnav ul li a:hover {
	background-color: #eee;
	text-decoration: none;
}

#mainnav ul li { /* all list items */
	float: left;
	width: 170px; /* width needed or else Opera goes nuts */
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#mainnav ul li ul { /* second-level lists */
	position: absolute;
	background: #eee;
	margin: -25px 0 0 170px;
	border: 1px solid #ccc;
	width: 200px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	z-index: 20;
}

#mainnav ul li ul a {
	padding: 5px 0 5px 8px;
	text-decoration: none;
	background: none;
	font-size: 12px;
	width: 192px;
	font-weight: normal;
}

#mainnav li ul li {
	margin: 0;
	padding: 0;
	border: none;
	width: 170px;
}

#mainnav ul li ul a:hover {
	background: #ddd;
}

#mainnav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 10em;
}

#mainnav li ul ul a {
	padding: 1px 3px;
	font-size: 10px;
	line-height: 14px;
}

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

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

#mainnav li:hover, #mainnav li.hover {  
    position: static;  
}


/* show sub-pages of current item */

#mainnav .current_page_ancestor ul,
#mainnav .current_page_item ul {
	left: auto;
	position: relative;
	margin: 0;
	width: 170px;
	z-index: 10;
	border: none;
} /* show second level current list */

#mainnav .current_page_ancestor ul ul,
#mainnav .current_page_item ul ul {
	left: -999em;
	position: absolute;
} /* hide third level current list */

#mainnav .current_page_ancestor ul a,
#mainnav .current_page_ancestor ul a:visited,
#mainnav .current_page_item ul a,
#mainnav .current_page_item ul a:visited {
	padding-left: 20px;
	width: 150px;
}

#mainnav .current_page_ancestor .current_page_item a {
	color: #000;
	text-decoration: underline;
}

#mainnav .current_page_ancestor ul ul,
#mainnav .current_page_item ul ul  {
	margin: -18px 0 0 160px;
	border: 1px solid #ccc;
}

#mainnav .current_page_ancestor .current_page_item ul a {
	color: #81458D;
	text-decoration: none;
	width: 152px;
}

#mainnav .current_page_ancestor ul ul a,
#mainnav .current_page_ancestor ul ul a:visited,
#mainnav .current_page_item ul ul a,
#mainnav .current_page_item ul ul a:visited {
	width: 152px;
}



#sidebar img {
	border: 0px;
	margin: 10px 0px 0px 10px;
}
#search {
	margin: 10px 0px 0px 10px;
}

#content {
	line-height: 18px;
	padding: 0px 10px;
	width: 500px;
}

#content h1 {
	color: #D09007;
	font-size: 16px;
}

#content h2 {
	font-size: 14px;
	margin-bottom: 0px;
}

#content li {
	list-style-type: disc;
	line-height: 18px;
	margin-bottom: 6px;
}

#content img {
	margin: 3px;
}

#breadcrumbs {
	font-size: 11px;
	color: #999;
}

#hp_mission {
	position: relative;
	float: right;
	border: 1px solid #E7E7E7;
	background-color: #FAF6FA;
	font-size: 11px;
	padding: 4px;
	width: 155px;
	text-align: justify;
	margin-left: 10px;
	margin-right: 4px;
}

#hp_announcements {
	width: 310px;
	font-weight: normal;
}

#hp_announcements h2 {
	font-size: 12px;
}

#footer {
	font-size: 10px;
	color: #B2AD9A;
	font-family: verdana,arial,sans-serif;
	margin: 10px 0px;
	line-height: 14px;
}

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

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

#footer ul li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline;
	padding: 0 6px 0 2px;
	border-right: 1px solid #c2cDbA;
}

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

#printme {
	position: relative;
	float: right;
	width: 91px;
}

#announce {
	padding: 5px;
	border: 2px solid #BE8812;
	background-color: #EBEBEB;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 10px;
}

.capImg {
	font-size: 10px;
	color: #999;
	position: relative;
	float: right;
	text-align: center;
	line-height: 12px;
	padding: 5px;
	margin-left: 10px;
}


.post {
	margin: 10px 0;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}

.post .postdate {
	color: #666;
	font-size: 12px;
}

.post h1 {
	margin-top: 0;
}

.single .post {
	border: none;
}

.widget {
	padding-left: 10px;
	margin-top: 20px;
}

.widget h3 {
	font-weight: normal;
	color: #D09007;
	margin: 0 0 5px 0;
}

.widget_search #s {
	width: 90px;
}

.search-results .page, .search-results .post {
	margin: 10px 0;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}

.search-results h2, .tag h2 {
	margin: 0;
	font-weight: normal;
}

.search-results p, .tag p {
	display: inline;
}

.search-results .page .postdate {
	display: none;
}

.tag #breadcrumbs {
	display: none;
}

/* wide page */
.page-template-tmplwide-php #sidebar {
	display: none;
}

.page-template-tmplwide-php #content {
	width: 675px;
}

/* wordpress */

.screen-reader-text {
	display: none;
}

p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	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: 12px;
	color: #666;
	padding: 0 4px 5px;
	margin: 0;
}