/*
Theme Name: Grace Episcopal Church, Amherst MA  
Theme URI: http://cdevision.com/
Author: cdeVision
Author URI: http://cdevision.com/
Description: Grace Episcopal Church, Amherst MA custom theme
Version: 1.0
License: No reuse or resale
License URI: http://cdevision.com/
*/




/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html {
    -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background:#FFF;
	color:#333333;
	line-height: 22px;
	font-size:14px;
}
ol, ul {
	list-style: none;
	line-height: 22px;
	font-size:14px;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

.clearfloats {clear:both; line-height:0px; height:0px; font-size:0px;}

/* Fonts 
-------------------------------------------------------------- */


@font-face {
    font-family: 'callunaregular';
    src: url('fonts/calluna-regular-webfont.eot');
    src: url('fonts/calluna-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/calluna-regular-webfont.woff') format('woff'),
         url('fonts/calluna-regular-webfont.ttf') format('truetype'),
         url('fonts/calluna-regular-webfont.svg#callunaregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




h1, h2, h3, h4, h5, h6 {margin:0; padding:0; font-family:'callunaregular', Georgia, "Times New Roman", Times, serif; font-weight:normal;}
h1, h1.entry-title, h1.page-title { font-size:32px; line-height:32px; color:#88885B; margin:0 0 10px 0; padding:0;  }
h1 { font-size:32px; line-height:32px; color:#88885B; margin:0 0 10px 0; padding:0; }
h2 { font-size:24px; line-height:30px; color:#676767; margin:0 0 4px 0; }
h3 { font-size:18px; line-height:20px; color:#676767; margin:0 0 4px 0; }
h4, h5, h6 { font-size:16px; line-height:20px; color:#333; margin:0 0 4px 0; }

body.page-id-84 .list h3 { border-bottom:1px solid #676767 !important; margin:0 0 10px 0 !important; padding:0 0 4px 0 !important; }

@media (max-width: 767px) {
h1 { font-size:26px; line-height:26px; color:#88885B; margin:0 0 10px 0; padding:0; }
h2 { font-size:22px; line-height:28px; color:#676767; margin:0 0 4px 0; }
h3 { font-size:18px; line-height:20px; color:#676767; margin:0 0 4px 0; }
h4, h5, h6 { font-size:16px; line-height:20px; color:#333; margin:0 0 4px 0; }
}

p { color:#333333; font-size:14px; line-height:20px; margin:0 0 20px 0; padding:0;}
strong, b { font-weight:bold;}

a {color:#999966; font-weight:bold; text-decoration:underline;}
	a:hover { text-decoration:none; color:#333; }

h1 a, h2 a, h3 a { font-weight:normal; text-decoration:none; }

a.arrow, .nav-next a { display:inline-block; background:url(images/icon_arrow.png) right 0px no-repeat; padding:0 15px 0 0; text-decoration:none; font-size:14px; line-height:22px; color:#999966 !important; font-weight:bold; text-decoration:none;}
	a.arrow:hover, .nav-next a:hover { background-position: right -44px; color:#333 !important;}

.nav-previous a, a.larrow { display:inline-block; background:url(images/icon_larrow.png) left 0px no-repeat; padding:0 0 0 15px; text-decoration:none; font-size:14px; line-height:22px; color:#999966 !important; font-weight:bold;text-decoration:none;}
	.nav-previous a:hover, a.larrow:hover { background-position: left -44px; color:#333 !important;}
		
a.warrow { display:inline-block; background:url(images/icon_arrow.png) right -22px no-repeat; padding:0 15px 0 0; text-decoration:none; font-size:12px; line-height:22px; font-weight:bold !important; color:#fff; font-weight:normal;text-decoration:none;}
	a.warrow:hover { color:#fff;}
	
p.arrowwrap { margin-top:-14px !important; }	
	

/* =Structure
-------------------------------------------------------------- */

body {
	padding: 0 !important;
	background:#F4F2F2 url(images/back_page.jpg) center 0 no-repeat;
	margin:0 !important;
	width:100%;
	font-size:14px;
	line-height:20px;
	font-family:Arial, Helvetica, sans-serif;
}
body.home {
	background:#FFF url(images/back_home.jpg) center 0 no-repeat;
}
#page {
	display: block;
	width:964px;
	margin:0 auto 40px auto;
}

#main {
	border:1px solid#C8C8C8;
	background:#FFF;
	padding:30px 20px 20px 20px;
}

#primary {
	float: left;
	margin: 0;
	width: 620px;
	min-height:1px;
}

#full-width {width: 930px !important; margin: 0 0 20px 25px !important; padding-top:38px; float:none !important; clear:both !important;}
#content {
}

#main .widget-area {
	float: right;
	width: 280px;
	margin:0;
}

.home #main { background:none; border:none; padding:0; }

.home #main .widget-area {
	float: right;
	width: 308px;
	height:392px;
	border:1px solid #C8C8C8;
	background:#F4F2F2;
	margin:0;
}

.home #page {
	margin:0 auto 20px auto;
}

#colophon {
	clear: both;
	display: block;
}



@media (max-width: 767px) {


#page {
	display: block;
	width:100%;
	margin:0 auto 40px auto;
}
#primary {
	float: none;
	margin: 0;
	width: 100%;
	border:none;
	min-height:1px;
}
#main {
	border:none;
	padding:20px 10px 20px 10px;
}


.home #main .widget-area {
	float: none;
	width: auto;
	height:auto;
}

#full-width {width: 100% !important; margin: 0 0 20px 25px !important; padding-top:0; float:none !important; clear:both !important;}
#main .widget-area {
	float: none;
	width: 100%;
	margin:0;
}

}







/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.alignleft {
		max-width:50% !important;
	}
	.alignright {
		max-width:50% !important;
	}
	.alignleft img {
		max-width:100% !important;
	}
	.alignright img {
		max-width:100% !important;
	}
}


/* =Header
-------------------------------------------------------------- */
#branding { height:168px; margin:0; padding:0; position:relative; width:100%; }
#branding hgroup { padding:0; display:block; margin:0 auto 0 auto; width:964px; position:relative; }
#site-title {
	width:640px;
	height:135px;
	background:url(images/logo.png) no-repeat;
	padding:0;
	margin:33px 0 0 0;
	float:left;
}
#site-title a {
	width:640px;
	height:135px;
	display:block;
	text-indent:-4000px;
}

#branding .widget { margin:30px 0 0 20px; width:280px; float:right; color:#444444; font-family:Georgia, serif; font-size:14px; line-height:20px; text-align:right;}
	#branding .widget p { color:#444444; font-family:Georgia, serif; font-size:14px; line-height:20px; text-align:right;}


@media (max-width: 767px) {
	#branding { height:auto; margin:0; padding:0; position:relative; width:100%;  }
	#branding hgroup { width:100%; padding:50px 0 0 0; position:relative; display:block; }
	#site-title {
		width:280px;
		height:59px;
		background:url(images/logo.png) no-repeat;
		background-size:100%;
		padding:0;
		margin:0 auto 0 auto;
		float:none;
	}
	#site-title a {
		width:280px;
		height:59px;
		display:block;
		text-indent:-4000px;
	}
	#branding .widget { display:none; }
}




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

#access {
	background:#999966;
	display: block;
	width: 100%;
	height:42px;
	position:relative;
	border-bottom:1px solid #696969;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	margin:0 auto;
	width:964px;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	font-size:16px;
	line-height: 42px;
	font-family:Georgia, "Times New Roman", Times, serif;
	padding: 0 16px;
	text-decoration: none;
	color:#fff;
	font-weight:normal;
	margin-right:16px;
}
#access li:last-child a {
	margin-right:0;
}
#access ul ul {
	display: none;
	float: left;
	position: absolute;
	top: 42px;
	left: 0;
	z-index: 99999;
	background: #696969;
	width:230px;
	padding:3px 0 3px 0;
}
#access ul ul li {
	float: none;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	line-height: 18px;
	padding: 8px 0 8px 16px;
	height: auto;
	color:#FFF;
	display:block;
	font-size:14px;
	font-family:Helvetica, Arial, sans-serif;
	font-weight:bold;
}
#access li:hover > a,
#access li.current-page-parent > a,
#access li.current-category-ancestor > a,
#access li.current-post-ancestor > a,
.events-gridview li.menu-item-46 > a,
.category li.menu-item-46 > a,
.single-post li.menu-item-46 > a,
#access li.current_page_item > a {
	color: #fff;
	background:#696969;
}

#access ul ul a:hover,
#access ul ul li.current-menu-item > a,
#access ul ul li.current-post-parent > a,
#access ul ul li.current-post-ancestor > a {
	color: #999966 !important;
}


#access ul li:hover > ul {
	display: block;
}


@media (max-width: 767px) {
	#access { display:none; }
}


	
/*	--------------------------------------------------
   	Menu Mobile
	-------------------------------------------------- */

#headermob { margin:0; position:fixed; width:100%; height:32px; background:#999966; top:0; left:0; z-index:9999; display:none; }

.menu-mob { display:none; }	

	#menuLink .mainmenu { background:url(images/mob.png) 0 0 no-repeat !important; display:block; width:20px; height:32px; float:left; margin-left:12px; text-indent:-4000px; }
	
	.menuwrap { display:none; margin: 0; background:#999966; padding:0; clear:both; border-bottom:3px solid #999966; }
	.menuwrap a { color:#FFFFFF;}	
	.menuwrap ul { padding:12px 15px 25px 15px; margin:0; }		
	.menuwrap li { display:block; padding: 0; margin: 0; float:left; width:50%; }
	.menuwrap li a { font-size: 14px; line-height: 22px; padding: 0 0 10px 0; font-weight:normal; display: block; text-decoration: none; color:#FFFFFF; font-family:'museo', Helvetica, Arial, sans-serif; background:none !important; }
	.menuwrap li ul { background:#559C3A;}
	.menuwrap li ul a { font-size: 14px; line-height: 20px; padding: 4px 10px 4px 40px; border:none;}
	.menuwrap li ul ul a { font-size: 14px; line-height: 20px; padding: 4px 10px 4px 40px; border:none;}
	.menuwrap ul ul { display:none; }
	
	#headermob .home { width:20px; height:32px; float:left; margin-left:12px; }
	#headermob .home a { display:block; width:20px; height:32px; text-indent:-4000px; background:url(images/home.png) 0 0 no-repeat !important;}
	
	@media (max-width: 767px) {
	#headermob { display:block; }
	.menu-mob { display:block; }
	.menuwrap a { color:#FFFFFF; }	
	}
	
	
/* =Home
-------------------------------------------------------------- */

#homeslider {width:632px; height:392px; margin:0; padding:0; background:#C8C8C8; border:1px solid #C8C8C8; }
#slidebx {width:632px; height:392px; margin:0 !important; padding:0 !important; list-style:none; overflow:hidden; position:absolute;}
	#slidebx li {width:632px; height:392px; margin:0 !important; padding:0 !important; list-style:none; position:relative;}
	#slidebx li img { z-index:50; display:block; width:632px; height:392px;}
	
@media (max-width: 767px) {
	#homeslider { width:300px !important; height:186px !important; margin:0 auto 35px auto; }
	#slidebx { width:300px !important; height:186px !important; }
	#slidebx li { width:300px !important; height:186px !important;}
	#slidebx li img { width:300px !important; height:186px !important;}
	
}


#home_features { font-size:14px !important; line-height:22px !important; background:#F4F2F2; border-top:1px solid #C8C8C8; }
#home_features .fpad {
	width:964px;
	margin:0 auto;
	padding:25px 0 35px 0;
}
	#home_features .wrap { margin-left:-20px; }
	#home_features aside { width:226px; float:left; margin:0 0 0 20px; }
	#home_features img { display:block; margin:0 0 12px 0; border:1px solid #C8C8C8; }
	#home_features h3 {display:inline-block; font-size:22px; line-height:28px; margin:0; padding:0 8px 0 8px; color:#88885B; font-weight:normal;}
	#home_features .pad { padding:5px 8px 0 8px; }
	#home_features p { font-size:14px !important; line-height:22px !important; margin:0 0 10px 0 !important; }
	#home_features .arrow { background:#89895C url(images/icon_arrowbox.png) right 0 no-repeat; color:#FFF !important; padding:0 25px 0 12px; line-height:40px; }
		#home_features .arrow:hover {background:#696969 url(images/icon_arrowbox.png) right 0 no-repeat; }
		
@media (max-width: 767px) {
	#home_features .fpad {
		width:auto;
		margin:0 auto;
		padding:25px 0 35px 0;
	}
	#home_features .wrap { margin-left:0; }
	#home_features { margin-left:0; }
	#home_features aside { width:226px; float:none; margin:0 auto 0 auto; padding-bottom:30px; }
}


#listposts { margin:0 0 20px 0;}
	h3.plus { font-size:22px; line-height:49px; margin:0; padding:0 0 0 15px; color:#FFF; border-bottom:1px solid #C8C8C8; background:#999966 url(images/icon_plus.png) right 0 no-repeat;}
		h3.plus.active, h3.plus:hover { background:#696969 url(images/icon_plus.png) right -49px no-repeat; cursor:pointer; }
	.list { height:242px; display:none; }
		.page-template-services-page-php .list { height:auto; padding:15px; }
		.list.active { display:block; }
	#listposts .pad { padding:15px; }
	#listposts p.entry-meta { margin:0 !important; font-size:12px !important; }
		#listposts p.entry-meta time { display:inline !important; font-size:12px !important; }
		#listposts p.entry-meta a { display:inline !important; font-size:12px !important; }
	#listposts h4 a { text-decoration:none; font-size:14px; line-height:20px; padding:0 0 6px 0; display:block; margin:0 0 4px 0; color:#949668; font-family:Georgia, serif; }
		#listposts h4 a:hover { color:#333;  }
	.scroll-pane-posts {
		width: 278px;
		height: 212px;
		overflow: auto;
		margin:0;
	}
	.worship {
		font-size:16px;
		line-height:22px;
	}
		.worship p {
			font-size:16px;
			line-height:22px;
		}
	
@media (max-width: 767px) {
	
	#listposts { margin:0 auto 20px auto; background:#FEFDF3; width:300px; }
	.scroll-pane-posts {
		width: 100%;
		height: 212px;
		overflow: auto;
		margin:0;
	}
	.worship {
		font-size:14px;
		line-height:20px;
	}
		.worship p {
			font-size:14px;
			line-height:20px;
		}
}


#tribe-events-list-widget-2 { margin:0; background:#FEFDF3; border:1px solid #F0EDD7; height:185px; }
	#tribe-events-list-widget-2 h3 { font-size:22px; line-height:40px; margin:0 0 10px 0; padding:10px 0 0 15px; color:#700D0D; border-bottom:1px solid #F0EDD7;}
	.arrow.up { float:right; margin:-40px 10px 0 0; }
	#tribe-events-list-widget-2 .pad { padding:0 10px 8px 10px; }
	
	#tribe-events-list-widget-2 ul.upcoming { margin:0 !important; padding:0 !important; }
		#tribe-events-list-widget-2 li.tribe-events-list-widget-events { margin:0 0 10px 0 !important; padding:0 !important; clear:both;}
	#tribe-events-list-widget-2 .when {float:left; width:46px; margin:0 10px 0 0; border:1px solid #F0EDD7; }
		#tribe-events-list-widget-2 .when span {font-size:11px; line-height:20px; font-weight:normal; color:#5B3A3F; padding:0 0 0 6px;}
	
	#tribe-events-list-widget-2 h4 {float:left; font-size:14px; line-height:20px; width:218px; margin:0; padding:0;font-family:Helvetica, Arial, sans-serif; }
		#tribe-events-list-widget-2 h4 a { text-decoration:none; font-weight:normal; }
			#tribe-events-list-widget-2 h4 a:hover { color:#333;  }
	.dig-in { display:none;}
	

@media (max-width: 767px) {
	
	#tribe-events-list-widget-2 { margin:0 20px 20px 20px; background:#FEFDF3; border:1px solid #F0EDD7; height:230px; }
	
	#tribe-events-list-widget-2 .when {float:none; width:46px; margin:0 10px 0 0; border:1px solid #F0EDD7; }
	#tribe-events-list-widget-2 h4 {float:none; font-size:14px; line-height:20px; width:100%; margin:4px 0 0 0; padding:0; font-family:Helvetica, Arial, sans-serif; }
	
}

h1.mission { line-height:40px; color:#89895C; text-align:center; margin:30px 0 0 0; padding:0; }
	h1.mission.small { font-size:32px; }
	h1.mission.medium { font-size:36px; }
	h1.mission.large { font-size:38px; }

@media (max-width: 767px) {
	
	h1.mission { line-height:40px; color:#89895C; text-align:center; padding:20px 10px 10px 10px; margin:0; background:#FFF; }
	h1.mission.small { font-size:24px; line-height:30px; }
	h1.mission.medium { font-size:26px; line-height:32px; }
	h1.mission.large { font-size:26px; line-height:34px; }
}


/* =Content
-------------------------------------------------------------- */

#content ul { list-style:disc; margin:0 0 20px 50px; }
	#content ul li { list-style-image:url(images/bullet.png); margin:0 0 10px 0; }
#content ol { list-style:decimal; margin:0 0 20px 50px; }
	#content ol li { margin:0 0 10px 0; font-weight:normal; }
	

#content p { font-size:14px; line-height:22px; margin:0 0 20px 0; color:#333; }

#content em, #content i { font-style:italic; }
#content blockquote { margin: 0 30px 12px 30px; padding:12px 12px 0 12px; background:#E9D9BC; }
	#content blockquote p { font-size:14px; line-height:20px; padding:0 0 12px 0; margin:0; }
	
#content .intro { font-size:16px; line-height:24px; margin-bottom:12px; }
	#content .intro p { font-size:16px; line-height:24px; }
	
#content img { display:block; }


@media (max-width: 767px) {
#content ul { list-style:disc; margin:0 0 20px 30px; }
#content ol { list-style:decimal; margin:0 0 20px 30px; }
}
	
.sharewrap {
	height:42px;
}
#shareside {
		display:inline-block;
		float:right;
		font-size:14px;
		line-height:24px;
		font-weight:bold;
		text-decoration:none;
		color:#999966;
	}
	#shareside {
		background: url(images/icon_shareside.png) right 0 no-repeat;
		padding-right:30px;
	}
	#shareside:hover {
		background-position:right -24px !important;
		color:#333;
		text-decoration:none;
		cursor:pointer;
	}


#subpages { margin-bottom:20px; background:#696969; }
	#subpages h3 { font-size:22px; line-height:52px; margin:0; padding:0 0 0 15px; color:#FFF; border-bottom:1px solid #C8C8C8;}
	#subpages ul { list-style:none; padding:7px 15px; margin:0; }
		#subpages ul li { margin:0; padding:0; float:none; }
		#subpages ul li a { display:block; text-decoration:none; font-weight:normal; color:#FFF; font-size:14px; line-height:20px; padding:8px 0 8px 0; margin:0; font-weight:bold; }
		#subpages ul li a:hover, #subpages ul li.current_page_item a, #subpages ul li.current-cat a { color:#999966; }

@media (max-width: 767px) {
	.sharewrap {
		margin-top:20px;
	}
	#subpages { width:280px; margin:20px auto 20px auto; }
}


#catlist { margin-bottom:20px; background:#696969; }
	#catlist h3 { font-size:22px; line-height:52px; margin:0; padding:0 0 0 15px; color:#FFF; border-bottom:1px solid #C8C8C8;}
	#catlist ul { list-style:none; padding:7px 15px; margin:0; }
		#catlist ul li { margin:0; padding:0; float:none; }
		#catlist ul li a { display:block; text-decoration:none; font-weight:normal; color:#FFF; font-size:14px; line-height:20px; padding:8px 0 8px 0; margin:0; font-weight:bold; }
		#catlist ul li a:hover, #catlist ul li.current_page_item a, #catlist ul li.current-cat a { color:#999966; }
		
		
@media (max-width: 767px) {
	
	#catlist { width:280px; margin:20px auto 20px auto; }
}
a.bannerboxes { display:block; position:relative; text-decoration:none; margin:0 0 20px 0; padding:0; }
	a.bannerboxes img { display:block; width:280px; height:140px; }
	a.bannerboxes h3 { 
		position:absolute; 
		bottom:0; 
		left:0; 
		font-size:20px; 
		line-height:40px; 
		font-weight:normal; 
		color:#FFFFFF; 
		padding:0 15px 0 15px; 
		margin:0; 
		background:#999966;
		text-decoration:none;
	}
	a.bannerboxes:hover h3 {
		background:#696969;
	}


@media (max-width: 767px) {
	a.bannerboxes { display:block; position:relative; text-decoration:none; margin:0 auto 20px auto; padding:0; width:280px; border:1px solid #EDE4BA;}
	a.bannerboxes img { display:block; width:280px; height:auto; }
}


#secondary .widget_black_studio_tinymce { 
	background:#FEFDF3 url(images/back_sidebar.png) bottom right no-repeat; 
	padding:20px;
	margin-bottom:20px;
	font-size:14px;
	line-height:22px;
	color:#333;
	min-height:130px;
	border:1px solid #EDE4BA;
}
#secondary .widget_black_studio_tinymce h1 { 
	background:url(images/quote.png) no-repeat; 
	padding:0 0 0 28px;
	margin-bottom:10px;
	font-size:20px;
	line-height:26px;
	color:#700E0E;
}
#secondary .widget_black_studio_tinymce p { 
	margin-bottom:12px;
}
#secondary .widget_black_studio_tinymce p:last-child { 
	margin-bottom:0 !important;
}

@media (max-width: 767px) {
	
	#secondary .widget_black_studio_tinymce { width:306px; margin:0 auto 20px auto; padding:0; }
	#secondary .widget_black_studio_tinymce h1 { 
	padding:0 20px 0 28px;
	margin-left:20px;
	margin-top:20px;
	}
	#secondary .widget_black_studio_tinymce .textwidget { padding:0 20px 20px 20px; }
}
.page-header { }
		.page-header p { font-size:16px; margin:0 0 20px 0; }
		.page-header p a { font-weight:normal; }
		
.pwrap { padding:20px 0 20px 0; border-bottom:1px solid #C8C8C8; }
	
	.pwrap .postthumb { float:left; margin-right:20px; }
		.pwrap .postthumb img { display:block; }
	.pwrap .postcontent { float:left; width:375px; }
	.pwrap .postcontent .entry-header { display:block; }
	.pwrap .postcontent .entry-header h2 { text-decoration:none !important; font-weight:normal; color:#87875A; margin-top:0; }
		.pwrap .postcontent .entry-header h2 a { text-decoration:none !important; font-weight:normal; color:#87875A; }
	.pwrap .entry-content { margin:0 0 10px 0; }
	.entry-meta { margin:0 0 6px 0 !important; font-size:14px; }
		.entry-meta a { text-decoration:none !important; font-weight:normal; }
	
@media (max-width: 767px) {
	
	.pwrap .postthumb { float:none; margin-right:0; margin-bottom:10px; }
	.pwrap .postcontent { float:none; width:auto; }
	.entry-meta { margin:0 0 10px 0 !important; }
	
}
		
.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


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

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.wp-caption img {
	margin: 0 0 10px 0;
	display:block;
}
img.alignleft, .alignleft {
	margin-right: 15px;
}
img.alignright, .alignright {
	margin-left: 15px;
}
.wp-caption {
	padding: 0;
	text-align: center;
	width:auto;
}

.wp-caption .wp-caption-text {
	padding: 4px 20px 10px 0;
	margin: 0;
	font-size:12px !important;
	line-height:14px !important;
	color:#333 !important;
	font-style:italic;
}
.gallery-caption {
	padding: 4px 20px 10px 0;
	margin: 0;
	font-size:12px !important;
	line-height:14px !important;
	color:#333 !important;
	font-style:italic;
}
.wp-smiley {
	margin: 0;
}


.gallery-item {
				margin-bottom: 10px;
			}
.gallery { margin:0 0 0 15px !important; }
.gallery img { border:none !important; }


@media (max-width: 767px) {
	dl {
		width:280px !important;
		height:auto !important;
		float:none !important;
		display:block !important;
		margin:0 !important;
	}
	dt {
		width:280px !important;
		height:auto !important;
		float:none !important;
		display:block !important;
		margin:0 auto 10px auto;
	}
	.gallery img {
		width:280px !important;
		height:auto;
	}
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}



/*
Form
------------------------------------------------ */	

.fleft {float:left; width:170px; margin-bottom:18px; }
.fright {float:left; width:400px;margin-bottom:18px;}

.wpcf7-form { margin-top:20px; }
.wpcf7-form p {}
.wpcf7-form input {width: 340px; background:#F3F3F3; border:1px solid #ccc; padding:4px; }
.wpcf7-form textarea {width: 340px; height:150px;resize: none; background:#F3F3F3; border:1px solid #ccc; padding:4px; }
.wpcf7-form select {width: 348px; background:#F3F3F3; border:1px solid #ccc; padding:4px; }
.wpcf7-form input[type="checkbox"] {width:12px; height:12px; border:none;}
.wpcf7-form input.fshort {width: 100px;}
.wpcf7-form input.fmicro {width: 60px;}
.wpcf7-form .fcaptcha {display:block; width:110px; height:25px;}
.wpcf7-form .wpcf7-submit {width: 110px; height:40px; background:#999966; border:none; color:#FFFFFF; line-height:30px; display:block; float:left; font-size:14px; font-weight:bold;}
.wpcf7-form .wpcf7-submit:hover { cursor:pointer; background:#333;}
.wpcf7-form .wpcf7-list-item-label {padding:0;}
.wpcf7-form .wpcf7-list-item {display:block; margin-bottom:15px;}
.wpcf7-form img { border:none !important;}
.wpcf7-form .wpcf7-not-valid-tip { border:none !important; top:0 !important; left:4px !important; background:none !important; padding:0 !important; font-size:11px !important; line-height:14px !important; color:#481E29 !important; }
.wpcf7-form .wpcf7-validation-errors { border:1px solid #999966; }
.wpcf7-form .wpcf7-mail-sent-ok { border:1px solid #999966; }


@media (max-width: 767px) {
	
.wpcf7-form input {width: 280px;}
.wpcf7-form textarea {width: 280px;}
.wpcf7-form select {width: 280px;}	
	
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
	color:#FFFFFF;
	background: #506C8F;
}

#colophon .fpad {
	width:964px;
	margin:0 auto;
	padding:30px 0 10px 0;
}

#colophon .left {
	width:560px;
	float:left;
}

#colophon .right {
	width:384px;
	float:right;
}
	#colophon .right aside {
		width:50%;
		float:left;
	}
	#colophon .right aside .pad {
		padding: 0 8px;
	}
	.followus {
		float:right;
		margin:-45px 8px 0 0;
		font-size:14px;
		line-height:20px;
		font-weight:bold;
	}
	.followus span {
		display:block;
		float:left;
	}
	.followus a {
		display:block;
		height:20px;
		float:left;
		margin-left:12px;
		text-decoration:none;
		text-indent:-4000px;
	}
	.followus .facebook {
		background: url(images/icon_facebook.png) no-repeat; 
		width:20px;
	}
	.followus .twitter {
		background: url(images/icon_twitter.png) no-repeat; 
		width:25px;
	}
	.followus a:hover {
		background-position:0 -20px;
		text-decoration:none;
	}
	#colophon .right p {
		margin-bottom:12px;
	}
	#colophon .right a {
		color:#FFF;
		font-weight:bold;
		text-decoration:none;
	}
	#colophon .right a:hover {
		color:#FFF;
		font-weight:bold;
		text-decoration:underline;
	}
	
	
#colophon h3 {font-size:28px; line-height:30px; margin:0 0 12px 0; padding:0 0 10px 8px; color:#FFFFFF; border-bottom:1px solid #C8C8C8; }

#colophon p { color:#FFFFFF; font-size:14px; line-height:22px; }

#colophon img { border:1px solid #C8C8C8; display:block; margin-top:4px; margin-bottom:40px; }

#colophon .wp-caption-text { font-family:Arial, Helvetica, sans-serif; font-size:13px; text-align:center; color:#fff !important; font-style:italic; padding-right:10px;}

#colophon a.arrow { background:url(images/icon_arrow.png) right -20px no-repeat; color:#FFF !important;}
	#colophon a.arrow:hover { background-position: right -20px; color:#FFF !important;}


.facebook { color:#fff;font-family:Georgia, "Times New Roman", Times, serif; font-size:13px; line-height:20px; text-decoration:none; }
	.facebook span { background: url(images/facebook.png) no-repeat; display:inline-block; text-indent:-4000px; width:65px; height:20px; }

.end { background:#3A4F69 url(images/back_copy.png) repeat; }
	.end .pad { width:964px; margin:0 auto; padding:20px 0 80px 0; }

.copy { font-size:12px; line-height:24px; color:#CDD2D9; float:left; }
	.copy a { color:#CDD2D9; text-decoration:none; }
	.copy a:hover { color:#FFF; text-decoration:none; }
	
	.social {
		float:right;
		margin-top:4px;
	}
	.social a, #share {
		float:left;
		display:inline-block;
		margin-left:18px;
		font-size:14px;
		line-height:24px;
		font-weight:bold;
		text-decoration:none;
		color:#CDD2D8;
	}
	.social .mailinglist {
		background: url(images/icon_mailinglist.png) right 0 no-repeat;
		padding-right:34px;
	}
	#share {
		background: url(images/icon_share.png) right 0 no-repeat;
		padding-right:30px;
	}
	.social a:hover, #share:hover {
		background-position:right -24px !important;
		color:#FFF;
		text-decoration:none;
		cursor:pointer;
	}
	.desk { display:block;}
	.mob { display:none;}

@media (max-width: 767px) {
	#colophon {
		padding:20px;
	}
	#colophon .fpad {
		width:100%;
		margin:0 auto;
		padding:20px 0 20px 0;
	}
	#colophon .pad {
	width:100%;
	padding:0;
	}
	
	#colophon .left {
		width:100%;
		float:none;
		margin-bottom:20px;
	}
	
	#colophon .right {
		width:100%;
		float:none;
	}
	#colophon .right aside {
		width:100%;
		float:none;
	}
	#colophon img { margin-bottom:20px; }
	.end .pad { width:auto; margin:0 auto; padding:20px 20px 80px 20px; }
	.desk { display:none;}
	.mob { display:block; float:none; margin:10px;}
	
	.social {
		float:none;
		margin-top:4px;
	}
	.social a, #share {
		margin:10px 20px 0 0;
		float:none;
	}
}

/* =Calendar
-------------------------------------------------------------- */

body.events-gridview #primary { width:100% !important; }
body.events-gridview #content { padding-right: 5px!important; }
body.events-gridview #main .widget-area { display:none !important; }
body.events-gridview .tribe-events-calendar-buttons { margin-top:-40px;}

h2.tribe-events-page-title { font-size:32px; line-height:32px; color:#88885B; margin:0 0 10px 0; padding:0; }

.tribe-events-calendar-buttons { margin-top:-20px;}

h5.tribe-events-event-title { background:#999966 !important; color:#FFF !important; font-weight:normal !important; font-size:18px !important; line-height:22px !important; padding:8px !important;}



/* 
.tribe-events-present div:first-child { background:#700E0E !important; }
	.tribe-events-present div:first-child a { background:#700E0E !important; }
	.tribe-events-tooltip div:first-child { background:none !important; }
*/

.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"], 
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] > a {
	background-color: #999966 !important;
}
	
.tribe-events-tooltip { padding:0 !important; }
.tribe-events-event-body { padding:10px !important; margin:0 !important; background:none !important;}

#tribe-events-content .tribe-events-tooltip h4 {
	background:#999966 !important; color:#FFF !important; padding:10px !important;
}
	
.tribe-events-month-event-title { padding:5px !important; }

.tribe-events-notices { background:#FEFDF3 !important; border-color:#F0EDD7 !important; }
	.tribe-events-notices ul li{ color:#333; }

.tribe-events-list-separator-month { font-size:18px !important; line-height:24px !important; margin:0 0 20px 0 !important; padding:0 !important; }
	.tribe-events-list-separator-month span { font-size:18px !important; line-height:24px !important; }

h2.tribe-events-list-event-title { margin-top:0 !important; }
.type-tribe_events { margin: 0 !important; padding:0 !important; }

.tribe-events-widget-link { display:none; }

#tribe-events-bar, .tribe-events-button { display:none !important; }
.tribe-events-single-section { display:none !important; }


.printlogo {
display:none;
}


@media print { 

body, #page, #main {
    margin:0;
    padding:0;
}

.printlogo {
    display:block;
    clear:both;
    height: 75px;
    margin:40px 0 20px 0;
}
.printlogo img {
    display:block !important;
    width:auto !important;
    height: 75px !important;
}

#branding, #colophon, .end, #access {
    display:none;
}

#tribe-events-footer {
    display:none;
}

h3.summary a, td.tribe-events-thismonth {
    color:#000 !important;
    opacity: 1.0 !important;
    filter: Alpha(opacity=100) !important;
}
.tribe-events-calendar td.tribe-events-past .tribe-events-month-event-title a, .tribe-events-calendar td.tribe-events-past .tribe-events-viewmore a {
    color:#000 !important;
    opacity: 1.0 !important;
    filter: Alpha(opacity=100) !important;
}
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"], 
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] > a {
    color:#000 !important;
    opacity: 1.0 !important;
    filter: Alpha(opacity=100) !important;
}

.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-]>a, .tribe-events-calendar td.tribe-events-future div[id*=tribe-events-daynum-]>a, .tribe-events-calendar td div[id*=tribe-events-daynum-] {
    color:#000 !important;
    opacity: 1.0 !important;
    filter: Alpha(opacity=100) !important;
}

}


.printcal {
text-align:right;
}
.printcal a {
font-weight:normal;
display:inline-block;
background:#999966;
color:#FFF !important;
padding:0 12px;
text-decoration:none;
}
.printcal a:hover {
background:#696969;
color:#FFF !important;
text-decoration:none;
}