/*-- Stylesheet for Salem Congregation --*/

/*-- Common --*/
body {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, li, form, fieldset, label, img {
	margin: 0;
	padding: 0;
	border: none;
}
h1 {
	font-size: 30px;
	font-weight: normal;
	padding: 0 0 1em 0;
}
h2 {
	font: normal 22px "Times New Roman", Times, serif;
	padding: 0 0 0.5em 0;
}
h3 {
	font: normal 22px "Times New Roman", Times, serif;
	padding: 0.5em 0 0.25em 0;
}
h4 {

}
h5 {
	font: normal 16px "Times New Roman", Times, serif;
	padding: 0 0 0.5em 0;
}
h6 {

}
p {
	font-size: 16px;
	line-height: 1.4em;
	padding: 0 0 1em 0;
}
ul, ol {
	font-size: 16px;
	padding: 0 0 1em 20px;
}
li {
	padding: 0 0 0.5em 0;
}

/*-- Header --*/
#wrapper {
	margin:auto;
	width:1000px;
}
#head {
	height: 200px;
	float:left;
}
#logo {
	float:left;
}
#head-image {
	float:left;
}
#wrap {
	float: left;
	width: 1000px;
	background: #672346;
}

/*-- Navigation --*/
#nav {
	float: left;
	display: inline;
	width: 300px;
	padding: 40px 0 40px 0;
	font: normal 19px "Times New Roman", Times, serif;
	letter-spacing: 0.1em;
	list-style-type:none;
}
#nav a {
	display: block;
	padding: 10px 0 10px 35px;
	color: #81b0c5;
	text-decoration: none;
}
#nav a:hover, #nav li.current_page_item a {
	color: #fff;
}

/*-- Content --*/
#content {
	float: left;
	display: inline;
	width: 600px;
	padding: 50px;
	font-family: Arial, Helvetica, sans-serif;
	background:#81B0C5;
}
#content {
	color:#ffffff;
	min-height:678px;
}
#content img {
	float: right;
	display: inline;
	margin: 0 0 10px 10px;
}
.page-id-8 #content {
	background: #555E29;
}
.page-id-9 #content {
	background: #B689AA;
}
.page-id-9 #content a {
	color: #593515;
}
.page-id-10 #content,
.post-type-archive-records #content, .single-records #content, .page-id-131 #content {
	background: #EBBB4A;
	color:#000000;
}
.post-type-archive-records #content a, .single-records #content a, .page-id-131 #content a {
	color: #593515;
}

.page-id-12 #content {
	background: #000000;
}
.page-id-13 #content {
	background: #FFCFA3;
	color:#672346;
}
.page-id-15 #content {
	background: #9280AC;
}
.page-id-16 #content {
	background: #CF6FB0;
}
.page-id-16 #content a {
	color: #593515;
}
.page-id-17 #content {
	background: #C9BEB4;
	color:#204409;
}
.page-id-17 #content a {
	color:#204409;
}

/*--- Calendar ---*/
.responsiveCal { 
	position: relative; 
	padding-bottom: 75%; 
	height: 0; 
	overflow: hidden;
	margin-bottom:15px;
}
 
.responsiveCal iframe { 
	position: absolute;
	top:0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}


/*-- Footer --*/
#footer {
	clear: both;
	padding: 10px;
	color: #000;
	font: normal 12px Arial, Helvetica, sans-serif;
}
#footer a {
	color: #593515;
}

/*-- Calendar --*/
.page-template-page-templatescalendar-php #content img {
	max-width:420px;
}

/*-- Slideshow --*/
#slider
{
width: 500px !important;
height: 375px !important;
}
#slider img {
	display:block;
	float:none;
	margin:0;
}
#banner {
	position:relative;
	width:500px;
	margin:auto;
}
.wpajc-controls a#next {
    background: url("../images/fleche2.png") no-repeat scroll right center transparent;
    right: 0;
    top: 0;
}
.wpajc-controls a#prev {
    background: url("../images/fleche1.png") no-repeat scroll left center transparent;
    left: 0;
    top: 0;
}
.wpajc-controls a#next, .wpajc-controls a#prev {
    cursor: pointer;
    height: 99%;
    opacity: 0.2;
    position: absolute;
    width: 25%;
    z-index: 9999;
	text-indent: -9999px;
}
.wpajc-controls a#next:hover, .wpajc-controls a#prev:hover {
    opacity: 0.8;
}
.wpajc-controls a {
    font-size: 100%;
    text-decoration: none;
}
.wpajc-desc {
	background:#000000;
	height:40px;
	position:absolute;
	width:100%;
	color:#ffffff;
	bottom:0;
	opacity: 0.7;
	visibility:visible;
}
.wpajc-desc h3 {
	font-size:80%;
	font-weight:bold;
	padding:0;
	margin: 2px 5px;
}

/*-- Forms --*/
fieldset {
	padding: 0 0 40px 0;
}
fieldset br {
	clear: both;
}
label {
	float: left;
	display: inline;
	width: 250px;
	padding: 0 20px 20px 0;
}
input {
	float: left;
	display: inline;
	width: 250px;
}
label.long {
	width: 520px;
	padding: 0 0 20px 0;
}
label.long input {
	float: left;
	display: inline;
	width: 520px;
}
.button {
	width: auto;
	background: #672346;
	color: #fff;
	border: 1px solid #fff;
}
#search .button {
	clear: both;
}