/*
Theme Name: 	Peace-Lutheran
Theme URI: 		http://peacelutheran-clehts.com
Description: 	Custom theme developed for Peace Lutheran
Version: 		2.0
Author: 		Paul Stork
Author URI: 	http://dontpapanic.com
Tags: 			hope 
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

* { margin: 0; }

body, html {
	background-color: #FFF;
	margin: 0px auto;
	padding: 0px;
	height: 100%;
}

#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */
}

#container {
	margin: 0px auto;
	width: 960px;
	text-align: left;
}

#header-center {
	text-align: center;
	width: 714px; 
}

div.menu-main-navigation-container {
	height: 40px;
	background-image: url(images/menu-main-nav-bkgd.jpg);
	background-repeat: repeat-x;
}

#content-sidebar {
	width: 30%; /* 353px; */
	float: right;
}

#content {
	 width: 66%; /*  567px; */
 	margin: 0px 0px 0px 0px; /* 0px 40px 0px 0px; */
	float: left;
}

#page { margin-bottom: 40px; min-height: 500px; }

.push {
	height: 60px; /* .push must be the same height as .footer */
	clear: both;
}

.podcast-box {
	width: 460px;
	min-height: 200px;
	float: left;
	margin: 5px 20px 5px 0px;
	border-bottom: 1px solid #a62b2b;
}

#footer {
	padding: 5px;
	margin: 0 auto;

	clear: both;
}
body.page-id-5611 #footer,
body.page-id-5613 #footer,
body.page-id-5619 #footer
{ /* background-color: #3c9338; */ }

.flt-left, .alignleft { float: left;  }
.flt-right, .alignright { float: right; }

.alignleft { margin: 0px 20px 20px 0px; }
.alignright { margin: 0px 0px 20px 20px; }

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
 
.clear { clear: both; }

/*HEADER SLIDER*/
#green-header { 
	background-color: #3c9338;
}
div.green-rule { height: 5px; background: #f4f4bf; clear: both; }

.slider {
	width: 216px;
	
}

.slider-wrapper {
	width: 100%;
	height: 159px;
	position: relative;
}

.slide {
	float: left;
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 2s linear;
}

.slider-wrapper > .slide:first-child {
	opacity: 1;
}


/* ---------------------------------------------------------------------------------------------------------- 
02 Navigation -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */


#sidebar li.widget {
	list-style-type:none;
	margin-bottom: 20px;
}

li.widget_media_image img {
margin-top: 20px;
clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Main navigation menu

 
/* Top level Unordered list */

#main-menu {
	background-image: url(images/menu-main-nav-bkgd.jpg);
	background-repeat: repeat-x;
	margin-bottom: 15px;
}
 
#main-menu ul li {
	text-decoration: none;
	color: #415541;
	font-weight: bold;
	height: 30px;
	list-style-type: none;
	display: inline-block;
	position: relative;
	margin-top: 4px;
}

#main-menu ul li a:link {
	padding: 8px 15px 10px 15px; /*space the items, occupy entire height too.*/
	text-decoration: none;
	text-transform: lowercase;
}
 
/* Style the link hover */
#main-menu ul li a:active, #main-menu ul li a:hover, #main-menu ul li a:focus {
	color: #ba433f;
	text-decoration: none;
	background-image: url(images/menu-main-nav-bkgd-hover.jpg);
	background-repeat: repeat-x;
}
 
/* sub menus!!  */
#main-menu ul ul {
    position:absolute;
    top:-99999px;
    left:0;
    opacity: 0; /* Hide sub level */
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    z-index:497;
   background-color: #f5f6f0;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, 0.6);
	-moz-box-shadow:    0px 5px 10px 0px rgba(50, 50, 50, 0.6);
	box-shadow:         0px 5px 10px 0px rgba(50, 50, 50, 0.6);
	margin: 0 !important; padding: 0 !important;
	padding-bottom: 10px !important;
}

#main-menu ul li:hover>ul { opacity: 1; position:absolute; top: 30px; left: 0px; }

#main-menu ul ul li { padding: 0px !important; margin: 0px !important; text-align: left; }

#main-menu ul ul li a:link {  display: block !important;  padding: 10px !important; min-width: 200px; }

#main-menu ul ul li a, #main-menu ul ul li a:link, #main-menu ul ul li a:visited { color: #415541; }
#main-menu ul ul li a:hover { color: #ba433f; background-image: none; }


/*End main menu top navigation, start top navigation*/

ul#menu-top-navigation, ul#menu-peace-top-navigation {
	list-style-type:none;
	margin:0;
	padding: 14px 0px;
	font: 14px/14px 'Arial', sans-serif;
	text-transform: lowercase;
	font-weight: bold;
}
ul#menu-top-navigation li, ul#menu-peace-top-navigation li {
	margin: 0px 0px 20px 20px;
}

ul#menu-top-navigation li, ul#menu-top-navigation li a:link,
ul#menu-peace-top-navigation li, ul#menu-peace-top-navigation li a:link
{
	float: left;
	color: #415541;
	text-decoration: none;
}

ul#menu-top-navigation li a:visited,
ul#menu-peace-top-navigation li a:visited {
	text-decoration: none;
	color: #415541;
}

ul#menu-top-navigation li a:active, ul#menu-top-navigation li a:hover, ul#menu-top-navigation li a:focus,
ul#menu-peace-top-navigation li a:active, ul#menu-peace-top-navigation li a:hover, ul#menu-peace-top-navigation li a:focus {
	text-decoration: underline;
	color: #a3b784;
}


div.top-nav-rule { margin-top: 5px; height: 5px; background: #ba433f; clear: both; }


/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

html, body {
	font: 14px/24px 'Arial', sans-serif;
	color: #5e5e5e;
}

p {
	font: 14px/24px 'Arial', sans-serif;
	color: #5e5e5e;
	margin: 10px 0px;
}

h1 {
	font: 28px/28px 'Times New Roman', serif;
	color: #008000;
	text-shadow: 1px 1px #000;
	filter:DropShadow(Color=#000000, OffX=1, OffY=1);
	font-style: italic;
	margin: 0px;
	padding: 0px;
}

#header-center h1 { padding: 30px 0px 20px 0px; font-size: 34px; }

h2 {
	font: 24px/28px Arial, Helvetica, sans-serif;
	color: #003333;
	margin-bottom: 24px;
}

h3 {
	font: 18px/20px Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform:lowercase;
	color: #cc3333;
	border-bottom: 1px solid #cc3333;
	letter-spacing: .1em;
	padding-bottom: 2px;
}

body.new-home h3 {
	text-transform: capitalize;
	color: #3c9338; 
	letter-spacing: normal;
	border-bottom: 1px solid #e4e470;
}

h4 {
	font: 14px/18px Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform:uppercase;
	color: #415541;
	margin: 0px;
	padding: 0px;
}

h5 {
	font: 14px/18px Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #415541;
	margin: 0px;
	padding: 0px;
}

#page p { margin-bottom: 24px; }

#page ul, #page ol { list-style-position: inside; }

ol.content-list { list-style-type: none; margin: 0px; padding: 0px; }
ol.content-list li { margin: 40px 0px; padding: 0px; }

.code { font: 10px/10px "Courier New", Courier, monospace; line-height: 10px !important; }

#footer {
	font-size: 12px;
	line-height: 12px;
}

.small { font-size: 12px; line-height: 12px !important; }

.black { color: #000; }
.green { color: #008000; }

a:link { color: #008000; }
a:visited { color: #008000; }
a:active, a:hover, a:focus { color: #ba433f; }

#footer a:link, #footer a:visited { color: #000; }
#footer a:active, #footer a:hover, #footer a:focus { color: #CCC; }

/* ---------------------------------------------------------------------------------------------------------- 
03 Misc Styles ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

img { border: none; }

hr {
	height:1px;
	border-width:0;
	color:#a62b2b;
	background-color:#a62b2b;
	clear: both;
}

body.new-home hr {
	color: #3c9338;
	background-color: #e4e470;
}

.alignleft { float: left; margin-right: 10px; }
.alignright { float: right; margin-left: 10px; }

p.wp-caption-text { text-align: center; }

.photo-sub-nav {
	border-top: 1px solid #a62b2b;
	margin: 40px 0px;
	padding-top: 20px;
	width: 960px;
}

div.wpcf7 p {
	font-size: 16px;
	font-weight: bold;
	margin-top: 20px;
}

div.wpcf7 .label {
	font-size: 12px;
	font-weight: normal;
}

div.wpcf7 input { margin-top: 10px; height: 20px; }
div.wpcf7 textarea { margin-top: 10px; }

div.wpcf7 .reqd { color: #F00; font-weight: bold; }

/* ---------------------------------------------------------------------------------------------------------- 
03 Calendar Styles ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

li#ai1ec_agenda_widget-3 {
	height: 250px;
	overflow:scroll;
}

ul.gce-list {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

ul.gce-list li li.last-child { padding-top: 10px; }
ul.gce-list li li.first-child { padding-top: 0px; }
	
	
	
div.gce-list-title { padding-top: 10px; }

body.single-ai1ec_event time { display: none; }

.ai1ec-event { overflow: visible !important; white-space: normal !important; display: block !important; height: auto !important; padding: 0px 1px !important; }

/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries --------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

table { border-color: #000000 !important; }

 @media print {
	 @page { size: landscape; }
	 
    body.events #footer, body.events #header, body.events footer, body.events header, div.ai1ec-calendar-toolbar, div.ai1ec-title-buttons, div.ai1ec-subscribe-container, div.printer-btn { width: 0px; height: 0px; overflow: hidden; visibility: hidden; }
	
	table.ai1ec-month-view, .ai1ec-week-view table, .ai1ec-oneday-view table, .ai1ec-month-view td, .ai1ec-week-view td, .ai1ec-oneday-view td { border: 1px solid #000 !important; }
	
	div.timely, .ai1ec-event-title, ai1ec-event-time, .ai1ec-date, .ai1ec-event-title, span.ai1ec-event-title, span.ai1ec-event-time { color: #000 !important; }
	
	table { border-color: #000000 !important; }
	
	a.ai1ec-multiday { border: 1px solid #000 !important; }
	
	div.ai1ec-multiday-arrow2 { border-right-color: #FFF !important; border-top-color: #FFF !important; border-bottom-color: #FFF !important; }
	
	div.ai1ec-event { background-color: none !important; }
	
   
#ai1ec-container a:link:after, #ai1ec-container a:visited:after { content:"" !important; content: none !important; }
}

/* Computer Layout */
@media screen and (min-width: 1024px) {
	#container, #header-center {
		width: 1024px; 
		margin: 0px auto;
	  }
/*	#page { padding: 0px 20px; } */
  #footer {height:60px;}
	#elcalogo {float: left;text-align: center; padding-top: 15px; margin-left: 10px; vertical-align: middle; min-width: 278px;}
	#copyrt {float: left; text-align: center; margin-left: 20px;}
	#copyrt > p {padding-top: 10px; min-height: 36px;}
	#disabilitylogo { padding-top: 15px; margin-right: 10px; vertical-align: middle; min-height: 36px;}
}

/* Tablet Prtrait Layout */
@media screen and (min-width: 751px) and (max-width: 1023px) and (orientation : portrait) {
	#container, #header-center {
		width: 100%; 
		margin: 0px auto;
		}
		#main-menu, #peace-top-nav {display: none;}
		#content {margin-left: 10px;}
		#content-sidebar {margin-right: 5px;}
		#logo {text-align: center;  margin-left: auto; margin-right: auto; float: unset;}
		#main-menu {display: none;}
   #page { padding: 0px 20px; }
   #main-slider { display: none; }
   #elcalogo 	{text-align: center;}
   #copyrt {text-align: center;}
   #disabilitylogo {text-align: center;}
}

/* Tablet Landscape Layout */
@media screen and (min-width: 751px) and (max-width: 1023px) and (orientation : landscape) {
	#container, #header-center {
		width: 100%; 
		margin: 0px auto;
		}
		#main-menu, #peace-top-nav {display: none;}
		#content {margin-left: 10px;}
		#content-sidebar {margin-right: 5px;}
		#logo {text-align: center;  margin-left: auto; margin-right: auto; float: unset;}
   #page { padding: 0px 20px; }
	 #main-slider { display: none; }
	 #main-menu {display: none;}
   #elcalogo {float: left;text-align: center; padding-top: 15px; margin-left: 5px; vertical-align: middle; min-width: 278px;}
   #copyrt {float: left; text-align: center; margin-left: 20px;}
   #copyrt > p {padding-top: 10px; min-height: 36px;}
   #disabilitylogo {float: right; padding-top: 15px; margin-right: 10px; vertical-align: middle; min-height: 36px;}
}

/* Smartphones (portrait) ----------- */
	@media only screen and (min-device-width : 320px) and (max-device-width : 750px) and (orientation : portrait) {
	#container, #header-center {
		width: 100%; 
		margin: 0px auto;
		}
		#main-menu, #peace-top-nav {display: none;}
		#content {width: 95%; margin-left: 5px; margin-right:5px;}
		#content-sidebar {width: 95%; margin-left: 5px; margin-right:5px;}
		#logo {text-align: center;  margin-left: auto; margin-right: auto; float: unset;}
		#logo img {max-width: 90%; max-height: 100%}
    #page { padding: 0px 20px; }
	#main-slider { display: none; }
	#elcalogo 	{text-align: center;}
	#copyrt {text-align: center;}
	#disabilitylogo {text-align: center;}
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 750px) and (orientation : landscape) {
	#container, #header-center {
		width: 100%; 
		margin: 0px auto;
		}
		#main-menu, #peace-top-nav {display: none;}
		#content {width: 95%; margin-left: 5px; margin-right:5px;}
		#content-sidebar {width: 95%; margin-left: 5px; margin-right:5px;}
		#logo {text-align: center;  margin-left: auto; margin-right: auto; float: unset; }
		#logo img {max-width: 90%; max-height: 100%}
    #page { padding: 0px 20px; }
	#main-slider { display: none; }
	#elcalogo 	{text-align: center;}
	#copyrt {text-align: center;}
	#disabilitylogo {text-align: center;}
}

/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {

	/* Place your styles here for all 'Retina' screens */ 

}
/* ---------------------------------------------------------------------------------------------------------- 
06 Peace Lutheran Custom CSS                     ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */


