/* Theme Name: presby2014
Description: Custom Wordpress theme developed for Presby Memorial Iris Gardens
Author: Kristine Contento-Angell of The Contento Interactive Group LLC
Author URI: http://contentointeractive.com
*/

html, 
body {
	padding:0px;
	margin:0px;
	background-color:#fff;
	font-family: 'Open Sans', sans-serif;
	color:#333;
	background-image:url(img/topgradient-body.png);
	background-repeat:repeat-x;
	background-position:top left;
	font-size:14px;
}
p {
	font-size:14px;
	font-family: 'Open Sans', sans-serif;
	line-height:19px;
	color: #333333;
	font-weight:400;
	margin:0 0 .8em 0;
}
h2, h3, h4, h5, h6 {
	font-family: 'Cardo', serif;
	font-weight:400;
	margin:.5em 0;	
	line-height:1;
}
h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight:300;	
	color:#250493;
	font-size:30px;
	margin:.5em 0;	
}
img {
	border:1px solid #999;
	margin:15px;
	width:auto;
	height:auto;
}
a {
	color:#250493;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}

div#header, div#header a {
	width:100%;
	max-width:710px;
	padding:0px;
	margin:0px auto;
	border:0px;
}
div#header a img {
	width:100%;
	border:0px;
	margin:0px;
}
div#wrapper {
	width:100%;
	max-width:1008px;
	margin:auto;
	min-height:400px;
}
img.alignright, 
div.alignright,
.alignright {
	float:right;
}
img.alignleft, 
div.alignleft,
.alignleft {
	float:left;
}
.wp-caption {
	box-shadow:0px 0px 5px #ccc;
	background-color:#fff;
	margin:10px;
	padding:10px;
	text-align:center;
}
.wp-caption-text {
	font-size:12px;text-align:center;
}
.gallery-item {
	float:left;
}
.gallery-caption {
	
	margin-left:0px;
	}


/* HOMEPAGE 
--------------------------------------- */

div.home-slider {
	width:100%;
	max-width:1008px;
	margin:auto;
	border:1px solid #fff;
	box-shadow:0px 0px 5px #ccc;
	margin-top:20px;
}
div.left-column, div.right-columns {
	float:left;
	margin-top:40px;
	margin-bottom:30px;
}
div.left-column h2, div.right-columns h2 {
	margin-bottom:.2em;
}
	
div.left-column {
	width:47%;
	max-width:485px;
	min-width:320px;
	padding-right:20px;
}
div.left-column div.blurb-img {
	margin-right:1%;
}
div.right-columns {
	width:50%;
	max-width:485px;
	min-width:320px;
}

div.left-column h1, 
div.right-columns h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight:300;	
	color:#250493;
	font-size:30px;
	line-height:36px;
	margin-top:0px;
	margin-bottom:10px;
}
div.left-column h1 span, 
div.right-columns h1 span,
div.page-content h1 span {
	background-color:#fff;
	padding-right:20px;
}

div.left-column h2 a, 
div.right-columns h2 a {
	font-family: 'Cardo', serif;
	font-weight:300;	
	color:#404040;
	font-size:20px;
	line-height:26px;
	margin-top:0px;
	margin-bottom:0px;
	text-decoration:none;
}
div.left-column h1,
div.right-columns h1,
div.page-content h1 {
	margin-right:20px;
	background-image:url(img/horizontal-rule-gray.png);
	background-repeat:repeat-x;
	background-position:center 10px;
}
div.homepg-blurb {
	min-height:210px;
}
div.left-column  div.homepg-blurb {
	max-width:480px;
	margin-bottom:20px;
	padding-bottom:20px;
}
div.right-columns div.homepg-blurb {
	width:45%;
	margin-right:4%;
	float:left
}
div.blurb-img {
	float:left;
	width:50%;
	overflow:hidden;
}
div.blurb-img img {
	margin:0px;
}

div.blurb-excerpt {
	float:left;
	width:44%;
	height:140px;
	margin-right:4%;
}
div.left-column div.blurb-excerpt {
		/* margin-left:4%; */
}
div.right-columns div.blurb-excerpt,
div.right-columns div.blurb-img  {
	float:none;
	width:100%;
}
div.right-columns div.blurb-excerpt {
	height:110px;
}
div.blurb-excerpt p {
	font-size:12px;
}
div.blurb4, div.blurb2 {
	clear:left;
}

a.readmore {
	border:1px solid #999;
	border-radius:5px;
	background: #e5eaff; /* Old browsers */
background: -moz-linear-gradient(top,  #e5eaff 0%, #c3c0e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5eaff), color-stop(100%,#c3c0e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #e5eaff 0%,#c3c0e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #e5eaff 0%,#c3c0e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #e5eaff 0%,#c3c0e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #e5eaff 0%,#c3c0e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5eaff', endColorstr='#c3c0e8',GradientType=0 ); /* IE6-9 */

	
	background: #eeeeee; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 47%, #dddddd 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#dddddd)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#dddddd 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#dddddd 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#dddddd 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 47%,#dddddd 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
	


	
	font-size:12px;
	padding:3px 15px;
	color:#250493;
	text-decoration:none;
	float:right;
	margin-top:4px;
	
}


/* Homepage Slideshow */

.rsUni .rsBullets {
	margin-top:-25px !important;
}
.rsContent img {
	margin:0px !important;
	border:0px;
}

.abWhiteBox {
	padding-left:34px !important;
	padding-right:30px !important;
	padding-top:30px !important;
	max-width: 944px;
}
.abWhiteBox h3 {
	font-family: 'Open Sans', sans-serif;
	font-weight:300;	
	color:#250493;
	font-size:30px;
	line-height:36px;
	margin-top:-10px;
	margin-bottom:0px;
}
.abWhiteBox p {
	color:#151515;
	font-size:14px;
	font-family: 'Open Sans', sans-serif;
	line-height:20px;
	font-weight:400;
}
.abWhiteBox p a {
		color:#250493;
	
}


/* =Menu
-------------------------------------------------------------- */

#menubar {
	width:100%;
	box-shadow:0px 0px 20px #ccc;
	text-align:center;
	background: #fff;
	height:34px;
	display:block;
	margin-top:40px;
}

.menu-main-nav-container {
	display: block;
	margin: 0 auto;
	max-width: 1008px;
	position:relative;
}
.menu-main-nav-container li {
	float:left;
	margin:auto 1%;
	padding:6px 1% 4px 1%;
	list-style-type:none;
}
.menu-main-nav-container li a {
	color:#404040;
	font-size:14px;
	font-family: 'Georgia', serif;
	text-decoration:none;
}
.menu-main-nav-container li a:hover {
	color:#250493;
}
ul.sub-menu li {
	padding:6px 10% 8px 10%;
	border-bottom:1px solid #ccc;
	margin:0px;
	width:80%;
}
ul.sub-menu li a {
	font-size:13px;
}
ul.sub-menu li:last-child {
	border-bottom:0px;}
ul.sub-menu li:hover {
	background-color:#efefef;
}
ul.sub-menu {
	display:none;
	z-index:9999;
}
.menu-main-nav-container .menu-item-has-children:hover ul.sub-menu {
	display:block;
	width:220px;
	padding:0px;
	background:#fff;
	position:absolute;	
	text-align:left;
	margin-left:-20px;
	margin-top:4px;
	box-shadow:0px 0px 5px #ccc;
}
ul.sub-menu:hover {
	display:block;
}
li.current_page_item a, li.current-menu-ancestor a {
	color:#250493;
}

/* PAGE LAYOUT 
------------------------------------ */
.hentry {
	padding-bottom:30px;
}
div.page-content h1 {
	margin-top:5%;
}
div#main {
	clear:both;
	padding-left:20px;
	padding-right:20px;
	padding-bottom:20px;
}
body.page h2 {
	font-family: 'Open Sans', sans-serif;
	font-weight:300;	
	color:#250493;
	font-size:25px;
	margin:.5em 0;	
	line-height:35px;

}
body.page p {
	color:#333;
	line-height:19px;
}

div.feat-img {
	float:left;
	width:27%;
	max-width:285px;
	overflow:hidden;
	margin-right:0%;
	padding-right:3%;
	padding-top:2%;
}
div.feat-img img {
	margin:0px;
	padding:0px;
	width:100%;
	max-width:285px;
	height:auto;
	border:1px solid #999;
}
.xoxo ul,
ul, menu, dir {
	list-style-type:none;
}
.left-column .hentry {
	width:100%;
}


/* FOOTER WIDGETS 
----------------------------*/

div#footer {
	box-shadow:0px 0px 20px #ccc;
	width:100%;
	clear:both;
	font-size:13px;
	color:#444;
}
div#colophon {
	padding:10px;
	margin:auto;
	margin-top:20px;
	max-width:1008px;
}
#footer-widget-area {
	clear:both;
	width:100%;
	max-width:1008px;
}
#footer-widget-area  div.widget-area {
	width:31%;
	float:left;
	padding-right:2%;
	min-width:250px;
	padding-bottom:10px;
	max-height:340px;
	overflow:hidden;
}
#footer-widget-area  div#fourth.widget-area {
	padding-right:0px;
	}
#footer ul, #footer ul li {
	list-style:none;
	padding-left:10px;
}
#upcoming_events_calendar ul {
	margin-left:0px;
	padding-left:0px;
}

.paypal-donations img {
	width:1px;
	height:1px;
	border:0px;
}




/* 	Site Info - very bottom */

#site-info, #site-info a {
	clear:both;
	margin:10px auto;
	font-size:12px;
	color:#777;
	text-align:center;
	text-decoration:none;
}

h3.widget-title {
	font-family: 'Open Sans', sans-serif;
	font-weight:300;	
	color:#250493;
	font-size:20px;
	margin:.5em 0;	
	line-height:30px;
	background-image:url(img/horizontal-rule-gray.png);
	background-position: center 5px;
}
h3.widget-title span {
	background-color:#fff;
	padding-right:15px;
}
#site-info {
	padding-left:5%;
	padding-right:5%;
	max-width:700px;
	margin:10px auto;
	border-top:1px solid #ddd;
	padding-top:10px;
	}
	/*Blog page */
body.blog div.blog-wrapper {
	float:left;margin-right:1%;width:49%
	}
body.blog div.blurb-excerpt {
	margin-left:3%;
	 width:42%;
}
body.blog div.blurb-img {
	max-width:200px;
	max-height:150px;
	overflow:hidden;
}
	

/* CALENDAR STYLES */

.calendar-table table, tbody, tr, td {
	background-color:#fff;
}
td.calendar-date-switcher {
	background-color:#fff;
}

td.current-day {
	background-color:#e8e3ff !important;
}

/*
#second .xoxo:after {
	content: "<a href='/'>View all Events</a>";
	content:" (" attr(/) ")";
} */

.hentry {
	float:left;
	width:68%;
}

.socialmedia-buttons img {max-width:32px!important;}

/* media queries */
@media (max-width:845px) {
.menu-main-nav-container li a {
	font-size:12px;
}
.menu-main-nav-container li {
	margin:auto 1%;
	padding:4px 1px;
}

}


@media (max-width: 643px) {

.abWhiteBox h3 {
	font-size:15px;
	line-height:15px;
}
.abWhiteBox {padding-right:0px;
}

.abWhiteBox p {
	line-height:11px !important;
	font-size:12px;
}
	body {
		width:100%;
	height:auto;
	padding:0px;
	margin:0px;
	overflow-x:hidden;
	}
	img {width:100%
	}
	.menu-main-nav-container li a {
		font-size:14px;
	}
	ul.sub-menu li {
		display:inline;
		padding-left:5px;
		padding-right:5px;
	}
	ul.sub-menu li a {
		padding-right:0px;
		color:#888;
		border-bottom:0px;
		min-width:150px;float:left;
		width:100%;	
		font-family:arial;
	}
ul.sub-menu,
.menu-main-nav-container .menu-item-has-children:hover ul.sub-menu {

	margin:0px;
	display:inline-block;
	width:100%;
	padding-left:0px;
	padding-right:0px;
	background:#fff;
	position:relative;	
	text-align:center;
	margin-left:0px;
	margin-top:5px;

	box-shadow:none;
	clear:both;
	padding-bottom:3px;
}
*/
ul.sub-menu {
	clear:right;
}
/*
.menu-main-nav-container .menu-item-has-children:hover ul.sub-menu {
	display:block;
	width:auto;
	background-color:transparent;
	position:relative;	
	text-align:center;
	
	box-shadow:none;
} */
#menu-main-nav li ul.sub-menu li {
	border-bottom:0px;
	
}
ul.sub-menu:hover {
	display:inline;
}
.menu-main-nav-container .menu-item-has-children:hover ul.sub-menu li:hover {
	background-color:transparent;
}
div.left-column div.blurb-img {
	max-width:150px;
	overflow:hidden;
	margin-right:10px;
	}
.menu-main-nav-container li {
	float:none;
}
#menubar {
	height:auto;
}
div.right-columns div.homepg-blurb {
	float:none;
}
div.right-columns div.blurb-excerpt {
	height:auto;
}
div.right-columns div.homepg-blurb {
	width:auto;
}
body.page h2 {
	clear:both;
}
#menu-main-nav {
	margin-left:0px;
	padding-left:0px;
}
#menu-main-nav li {
	border-bottom:1px solid #ccc;
}

#footer-widget-area div.widget-area {
	float:none;
	width:auto;
	height:auto;
}
.hentry {
	width:100%;
	float:none;
}
div.blurb-excerpt {
	width:90%;
	height:auto;
}
div.left-column div.blurb-img {
	max-width:300px;
	
}
div.blurb-img {
	float:none;width:100%;
	
}

div.blog-wrapper {
	float:none;margin-right:0;width:100%
}
body.blog div.blurb-excerpt {
	width:100%;
	margin-left:0px;
	max-width:300px;
	}
	
body.blog div.blog-wrapper {
	width:90%;
}
body.blog div.blurb-img {
	max-width:300px;
}
}




 