/*
Theme Name: Westchester
Author: Castle Builder Design
Author URI: http://castlebuilder.com/
Description: Theme for AIA Westchester Society 2016
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: westchester
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

westchester is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Home
	## Posts and pages
	## Asides
	## Comments
	## Footer
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 1.8em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea,
#main .toggler {
	color: #000e1d;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
} 

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #003366;
    font-family: 'PT Serif', serif;
    font-weight: 400;
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
    background: #332827;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: 3px 10px;
    border-radius: 2px;
    background: #5d4846;
    color: #fff;
    border: 1px solid #5d4846;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #332827;
    box-shadow: none;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {

}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {

}

select {
    -moz-appearance:none;
    -webkit-appearance:none;
    padding: 2px 30px 2px 10px;
    background: #fff url(images/bg_select.png)  95% 50% no-repeat;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {

}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {

}

textarea {

}

.mc4wp-form { margin-top: 24px; }
.home .mc4wp-form {
    margin: 0 0 12px;
    border-top: 0px solid #ccc;
    border-bottom: 0px solid #ccc;
}
.home .mc4wp-form:after {
    content: '';
    display: table;
    clear: both;
}
.home .mc4wp-form p { margin: 12px 0; }
.widget-area .mc4wp-form p { margin: 0;}
.widget-area .mc4wp-form input { margin: 4px 0; }

.mc4wp-form label { display: none; }

.home .mc4wp-form label {
    width: 26%;
    display: inline-block;
}
.mc4wp-form input {
    width: 100%;
    padding: 5px;
}
.home .mc4wp-form input {
    width: 72%;
}
.home .mc4wp-form p:first-child input {
    width: 34%;
    margin: 0 2% 0 0;
}
.mc4wp-form input[type="submit"] {
    background-color: #036;
    border: 1px solid #036;
}
.home .mc4wp-form input[type="submit"] {
    margin: 0 0 0 26.5%;
}
.mc4wp-form input[type="submit"]:hover {
    background: #332827;
    border: 1px solid #332827;
}
.mc4wp-alert {
	color: #093;
	background: #efefef;
	padding: 10px;
	}
	
form.donate {
	padding-left: 30px;
	padding-bottom: 15px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
 /* header */
 #masthead {
    position: relative;
}
.site-branding {
    padding: 10px 0 0;
    position: relative;
    display: inline-block;
    z-index: 100;
}
.site-branding h1 { clear: none; }
.site-branding h1,
.site-branding .logos {
    margin: 0;
    display: inline-block;
    position: relative;
    float: left;
    z-index: 60;
}
.site-branding .logos img {
    margin-right: 10px;
    vertical-align: middle;
}
.site-branding h1 {
    padding: 6px 0 0 6px;
    line-height: 1.1;
}
.site-branding h1 a,
.site-branding h1 a:link,
.site-branding h1 a:hover,
.site-branding h1 a:visited {
    color: #fff;
    text-decoration: none;
}
.site-branding h1 span {
    font-size: 0.57em;
    letter-spacing: 0.005em;
}
.site-branding h1 span:after {
    content: '';
    display: block;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:link,
a:visited {
	color: #003366;
}

a:hover,
a:focus,
a:active {
	color: #c5361b;
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
    color: #e1dddd;
    font-size: 0.8em;
    font-weight: 300;
    text-transform: uppercase;
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.site-header .main-navigation {
    width: auto;
    position: absolute;
    right: 24px;
    bottom: 0;
    z-index: 80;
}
.site-header .main-navigation a { padding: 20px 10px; }
.site-header .main-navigation a:hover {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#534746+1,443736+58,332827+100 */
    background: #332827; /* Old browsers */
    background: -moz-linear-gradient(top,  #332827 1%, #302423 58%, #1a0f0e 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #332827 1%,#302423 58%,#1a0f0e 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #332827 1%,#302423 58%,#1a0f0e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#332827', endColorstr='#1a0f0e',GradientType=0 ); /* IE6-9 */
}
.site-header .main-navigation .current-menu-item {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#534746+1,443736+58,332827+100 */
    background: #332827; /* Old browsers */
    background: -moz-linear-gradient(top,  #332827 1%, #443736 58%, #534746 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #332827 1%,#443736 58%,#534746 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #332827 1%,#443736 58%,#534746 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#332827', endColorstr='#534746',GradientType=0 ); /* IE6-9 */
}
.site-header .main-navigation ul ul {
    background: #5d4847;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: auto;
	left: -999em;
	z-index: 99999;
}
.site-header .main-navigation ul ul a {
	width: 200px;
	padding: 10px 20px;
	border-top: 1px solid #403130;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.post-navigation .nav-links { font-size: 0.8em; }
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 48%;
}
.comment-navigation .nav-previous:before,
.posts-navigation .nav-previous:before,
.post-navigation .nav-previous:before {
    content: '<';
    display: inline-block;
    margin-right: 0.5em;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 48%;
}
.comment-navigation .nav-next:after,
.posts-navigation .nav-next:after,
.post-navigation .nav-next:after {
    content: '>';
    display: inline-block;
    margin-left: 0.5em;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#masthead,
#intro-wrapper,
#main {
    width: 100%;
    margin: 0 auto;
 }
/*--------------------------------------------------------------
## Home
--------------------------------------------------------------*/
.home .entry-content h2 { line-height: 1.3; }
.home .entry-content,
#events {
    width: 50%;
    float: left;
}
.home .entry-content {
    margin: 0;
    padding-right: 24px;
}
#events { padding-left: 24px; }
#events h3,
#secondary .widget-title {
    margin-bottom: 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #036;
    font-family: 'Lato', sans-serif;
    font-size: 1.1em;
    text-align: center;
    text-transform: uppercase;
}
#secondary .widget-title {
    margin-top: 48px;
    font-size: 1.3em;
}
#secondary .widget_fbw_id {
    margin-top: 48px;
    text-align: center;
}
#events dl, #intro dl, .page-template-programs .entry-content dl { margin: 0; }
#events dl:after, #intro dl:after, .page-template-programs .entry-content dl:after {
    content: '';
    display: table;
    clear: both;
}
#events dt,
#events dd, #intro dt, #intro dd, .page-template-programs .entry-content dt,
.page-template-programs .entry-content dd {
    margin: 0;
    padding: 5px 0 0;
    float: left;
    border-top: 1px dotted #4d7398;
}
#intro dt, #intro dd, .page-id-2509 .entry-content dd {
    border-top: 0px dotted #4d7398;
}
.page-id-2509 .entry-content dt {
    padding: 5px 15px 0 0;
}
.page-id-2509 .entry-content dd h3 {
    margin: 0;
}
#intro dl {
    margin-top: 12px;
}
#events dt:first-child,
#events dt:first-child+dd, .page-template-programs .entry-content dt:first-child,
.page-template-programs .entry-content dt:first-child+dd { border: none; }

.page-template-programs .entry-content dl { margin-top: 24px; }
.page-template-programs .entry-content dl:first-child { margin-top: 0; }

#events dt, #intro dt, .page-template-programs .entry-content dt { width: 30%; }
#events dd, #intro dd, .page-template-programs .entry-content dd { width: 70%; }
#events dl+p { margin: 12px 0 48px; }
.page-template-programs .entry-content dl+p { margin-top: 12px; }

.page-template-programs .entry-content dt+dd a { text-decoration: none; }
.page-template-programs .entry-content dt+dd a:hover h3 { color: #c5361b; }

/* slides */
.rslides { position: relative; list-style: none; overflow: hidden; width: 100%; padding: 0; margin: 0; }
.rslides_nav { z-index: 20; position: absolute; -webkit-tap-highlight-color: rgba(0,0,0,0); top: 50%; left: 24px; opacity: 0.7; text-indent: -9999px; overflow: hidden; text-decoration: none; height: 61px; width: 38px; background: transparent url("images/arrows.png") no-repeat left top; margin-top: -55px; }
.rslides_nav:active { opacity: 1.0; }
.rslides_nav.next { left: auto; background-position: right top; right: 24px; }
.rslides_nav:focus { outline: none; }

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* intro */
#intro-wrapper {
    width: 100%;
    color: #fff;
    background: #00264c;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8rem;
    background-size: 100%;
    position: relative;
}
#intro-wrapper a {
	color: #fff;
}
#intro-wrapper:after {
    content: '';
    display: table;
    clear: both;
}
#intro-wrapper header h1 {
    margin: 0;
    color: #fff;
    line-height: 1.3;
}
#intro-wrapper #intro {
    width: 65%;
    padding: 36px 48px;
    float: left;
    z-index: 5;
}
#intro-wrapper #introbg, #intro-wrapper .rslides_container .rslides {
    width: 35%;
    float: right;
}
.home #intro-wrapper #introbg, .home #intro-wrapper .rslides_container .rslides {
    width: 100%;
    float: none;
    background: #020e35;
}
.home #intro-wrapper #intro {
    max-width: 450px;
    padding: 0;
    position: absolute;
    top: 100px;
    left: 70px;
    z-index: 10;
}
#intro-wrapper #introbg, #intro-wrapper .rslides_container .rslides {
    margin: 0;
    position: relative;
}
#intro-wrapper #introbg img, #intro-wrapper .rslides_container .rslides img { display: block; }

#intro-wrapper #introbg dd, #intro-wrapper .rslides_container .rslides .caption {
    margin: 0;
    padding: 0 10px;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #332827;
    font-size: 0.8em;   
}
#intro-wrapper .button { display: block; }
#intro-wrapper .button a {
    margin-top: 1em;
    padding: 10px;
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}
#intro-wrapper .button a:hover { opacity: 0.7; }

/* main */
#intro-wrapper,
#main {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
}
.home #main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 48px;
}
.home #intro-wrapper {
    padding: 0 24px;
    background: none;
}
#masthead {
    max-width: 1248px;
    width: 100%;
    padding: 0 24px;
}
#main:after {
    content: '';
    display: table;
    clear: both;
}
#main h2 {
    margin-top: 24px;
    font-size: 1.7em;
    text-align: center;
    letter-spacing: 0.03em;
}
#main .entry-content h2:first-child,
#events h2:first-child { margin-top: 0; }
#content {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}
.home #content {
    max-width: 100%;
    padding: 0;
    background: none;
}
.home #primary { background: #fff; }
.home #events+.entry-footer {
    margin: 24px;
    display: inline-block;
}
.home #events dd a { text-decoration: none; }
.content-area {
	width: 100%;
	margin: 0 -35% 0 0;
	padding: 36px 35% 36px 48px;
	float: left;
}
.site-main {
	margin: 0 35% 0 0;
}
.site-content .widget-area {
	width: 35%;
	padding: 36px 48px;
	float: right;
	overflow: hidden;
}
.site-content .widget-area:after {
    content: '';
    display: table;
    clear: both;
}
.site-footer {
	width: 100%;
	clear: both;
}
.home .content-area {
    margin: 0;
    padding: 0;
}
article>.entry-content,
.entry-content>p { margin-top: 0; }
#main>article>p,
#secondary .widget:first-child .widget-title { margin: 0; }

/* calendar */
.widget_sc_calendar_widget:after {
    content: '';
    display: table;
    clear: both;
}
#sc_calendar_widget-2 #sc_calendar table { margin: 0; }
#sc_calendar_widget-2 #sc_events_calendar_head,
#sc_calendar_widget-2 #sc_calendar th,
#sc_calendar_widget-2 #sc_calendar td,
#sc_calendar_widget-2 #sc_calendar td.calendar-day-np,
#sc_calendar_widget-2 #sc_calendar td.calendar-day {
    padding: 0;
    background: none;
}
#sc_calendar_widget-2 #sc_events_calendar_head {
    padding: 10px 0;
    border: none;
    background: none;
    text-align: center;
}
#sc_calendar_widget-2 #sc_calendar th,
#sc_calendar_widget-2 #sc_calendar td {
    height: auto!important;
    font-size: .8rem;
}
#sc_calendar_widget-2 #sc_calendar th {
    padding: 5px!important;
    background: #332827;
    border: 1px solid #5d4846;
    color: #fff;
}
#sc_calendar_widget-2 .sc_small #sc_calendar td div { padding: 3px; }
#sc_calendar_widget-2 .sc_small #sc_calendar td div.day-number {
    margin: 0;
    padding: 5px;
    text-align: center;
}
#sc_calendar_widget-2 .sc_day_div { position: relative; }
#sc_calendar_widget-2 .sc_day_div > a {
    text-indent: -9999px;
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 100%;
    background: #bf684d;
    opacity: 0.4;
    z-index: 10;
}
#sc_calendar_widget-2 .sc_small #sc_event_nav_prev input,
#sc_calendar_widget-2 .sc_small #sc_event_nav_next input {
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    color: #036;
    font-size: .8rem;
}
#sc_calendar_widget-2 #sc_events_calendar_head select,
#sc_calendar_widget-2 #sc_events_calendar_head input { font-size: .8rem; }

.entry-content .sc_event_details, .entry-content .sc_event_details div {
	display: none;
	visibility: hidden;
}

/* book club*/
#main h3.toggler {
    padding-bottom: 5px;
    border-bottom: 1px dotted #036;
    font-size: 1.1rem;
    cursor: pointer;
}
#main h3.toggler:before {
    content: '';
    width: 8px;
    height: 6px;
    margin: 0 10px;
    display: inline-block;
    background: url(images/arrows_list.png) no-repeat bottom;
}
#main h3.toggler+div {
    padding: 12px 24px 0;
    text-indent: -1em;
}
#main h3.toggler+div p:before {
    margin-right: 0.5em;
    content: '-';
}

.entry-header h3 {
	color: #fff;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.comment-form-comment label,
.bypostauthor {
	display: block;
}
.comment-form-comment textarea { width: 100%; }
#comments #reply-title {
    border-bottom: 2px solid #036;
}

#main .comments-area h2.comments-title {
    font-size: 1.5em;
    text-align: left;
}
.comments-area ol,
.comments-area ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}
.comments-area li {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #036;
}
.comment-meta img { float: right; }

/* search header */
#masthead .main-navigation li.searchbox {
    float: none;
    position: absolute;
    top: -1.5em;
    right: 12px;
    z-index: 90;
}
#masthead .search-form .search-field {
    margin-right: 5px;
    padding: 3px;
    background: #251b1a;
    border: 1px solid #5d4846;
}
#masthead .search-form input {
    font-size: 0.8em;
    color: #e1dddd;
}
#masthead .search-form input[type='submit'] { text-transform: uppercase; }
#masthead .search-form input[type='submit']:hover { background-color: #523f3e; }

/* search result */
.search-results #main h2 {
    margin-bottom: 0;
    text-align: left;
    font-size: 1.17em;
}
.search-results #main h2 a { text-decoration: none; }
.search-results .entry-summary { margin: 0; }
.search-results .entry-summary p { margin: 0.5em 0; }

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-footer {
    width: 100%;
    padding: 12px;
    background: #5b4847;
    color: #fff;
    font-size: 0.8em;
    font-weight: 300;
    text-align: center;
}
.site-footer .main-navigation li {
    padding: 12px;
    float: none;
    display: inline-block;
}
.site-footer small a {
    color: #fff;
}
.site-footer .main-navigation a { font-size: 1em; }
.site-footer .main-navigation a:hover { opacity: 0.7; }

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

.nivo-lightbox-theme-default.nivo-lightbox-overlay {
    background: rgba(0,0,0,0.8);
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin: 24px 0;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Media queries
--------------------------------------------------------------*/
@media screen and (max-width: 1150px) and (min-width: 1001px) {
    .site-branding .logos img { margin-right: 5px; }
    .site-branding .logos img:first-child { width: 80px; }
    .site-branding .logos img:last-child { width: 65px; }
    .site-branding h1 { font-size: 1.75em; }
    .site-branding h1 span { font-size: 0.56em; }
    .main-navigation a { font-size: 0.75em; }
    .site-header .main-navigation a { padding: 20px 6px; }
    .home #intro-wrapper #intro {
        width: 380px;
        top: 48px;
    }
}
@media screen and (max-width: 1000px) {
    .home #intro-wrapper #intro {
        max-width: 380px;
        top: 70px;
    }
    .site-branding { padding-bottom: 1em; }
    .site-header .main-navigation a { padding: 5px 10px; }
    #intro-wrapper #intro { top: 50px; }
    #masthead .main-navigation li.searchbox { top: -4.5em; }
}
@media screen and (max-width: 864px) {
    .home #intro-wrapper #introbg, .home #intro-wrapper .rslides_container .rslides { padding-top: 120px; }
    .home #intro-wrapper #intro {
        top: 30px;
        width: 300px;
    }
}
@media screen and (max-width: 920px) {
    .content-area {
        margin-right: -40%;
        padding-right: 40%;
    }
    .site-content .widget-area { width: 40%; }
}
@media screen and (min-width: 769px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
	 #intro-wrapper #introbg img { max-height: 400px; width: auto; margin-left: auto; margin-right: auto;}
}
@media screen and (max-width: 768px) {
    body { font-size: 1.1rem; }
    .site-branding { padding-bottom: 0; }
    nav button {
        width: 100%;
        height: 20px;
        padding: 0;
        background: transparent url(images/btmobile.png) no-repeat top right;
        border: none;
        box-shadow: none;
        text-indent: -9999px;
    }
    nav button:active,
    nav button:focus,
    nav button:hover {
        border: none;
        box-shadow: none;
        outline:none;
        background: transparent url(images/btmobile.png) no-repeat top right;
    }
    .site-header .main-navigation {
        width: 100%;
        margin-top: -36px;
        position: relative;
        right: 0;
        z-index: 50;
    }
    .site-header .menu-primary-container { margin-top: 24px; }
    .main-navigation ul {
        width: 100%;
        background: #5d4847;
        z-index: 50;-webkit-box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.3);
        box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.3);
        z-index: 50;
    }
    .main-navigation li {
        float: none;
        border-top: 1px solid #403130;
    }
    .site-header .main-navigation a {
        padding: 12px 24px;
        font-size: 1em;
    }
    .site-header .main-navigation a:hover { background: #403130; }
    .site-header .main-navigation .current-menu-item { background: none; }
    .site-header .main-navigation ul ul {
        position: relative;
        left: auto;
        float: none;
        background: #523f3e;
        box-shadow: none;
    }
    .site-header .main-navigation ul ul a {
        width: 100%;
        padding: 12px 3em;
        border-top: none;
    }
    #masthead .main-navigation li.searchbox {
        padding: 12px;
        position: relative;
        top: auto;
        right: auto;
    }
    #masthead .main-navigation li.searchbox input[type="search"] { 
        width: 55%;
        margin-right: 5px;
        padding: 12px;
        background: #523f3e;
        border: 1px solid #332827;
    }
    #masthead .main-navigation li.searchbox input[type="submit"] {
        width: 30%;
        padding: 12px;
        background: #332827;
        border: 1px solid #332827;
        overflow: hidden;
    }
    footer .main-navigation { display: none; }
    #intro-wrapper {
        font-size: 1.2rem;
        line-height: 1.9rem;
    }
    #intro-wrapper #intro { padding: 36px; }
    #intro-wrapper #intro,
    .home #intro-wrapper #intro {
        max-width: 100%;
        width: 100%;
        padding: 36px 36px 12px;
        position: relative;
        top: auto;
        left: auto;
    }
    .home #intro-wrapper #intro { background: #010b2e; }
    .home #intro-wrapper { padding: 0; }
    #intro-wrapper #introbg, #intro-wrapper .rslides_container .rslides {
        width: 100%;
        padding: 0;
    }
    #intro-wrapper #introbg dd, #intro-wrapper .rslides_container .rslides .caption { right: 0; }
    #intro-wrapper #introbg img, #intro-wrapper .rslides_container .rslides img { width: 100%; }
    .home #intro-wrapper #introbg, .home #intro-wrapper .rslides_container .rslides { padding: 0; }
    .home #intro-wrapper #introbg dd, .home #intro-wrapper .rslides_container .rslides .caption { right: 0; }
    .rslides_nav.next { right: 0; }
    .rslides1_nav.prev { left: 0; }
    .home #main { padding: 36px 0; }
    .home .entry-content,
    #events {
        width: 100%;
        padding: 0 36px;
    }
    #events dt,
    #events dd { padding: 10px 0; }
    .content-area,
    .site-content .widget-area {
        width: 100%;
        margin: 0;
        padding: 36px;
        float: none;
    }
}
@media screen and (max-width: 768px) and (min-width: 600px) {
    #secondary .widget {
        width: 50%;
        float: left;
    }
    #secondary .widget:nth-child(odd) { padding-right: 18px; }
    #secondary .widget:nth-child(even) { padding-left: 18px; }
    #main>article>p, #secondary .widget:first-child .widget-title { margin-top: 48px; }
}

@media screen and (max-width: 600px) {
    .site-branding h1 {
        padding: 0;
        font-size: 1.55em;
    }
    .page-template-programs .entry-content dt,
    .page-template-programs .entry-content dd { width: 100%; }
    .page-template-programs .entry-content dt { padding: 0; }
    .site-branding .logos img { max-height: 60px; }
    .gallery-columns-3 .gallery-item {
        max-width: 50%;
        padding: 0 12px;
    }
    #post-2463 .entry-content p a { word-wrap: break-word; }
    .home .mc4wp-form { padding: 12px 0; }
    .home .mc4wp-form label { display: none; }
    .home .mc4wp-form p { margin: 0; }
    .home .mc4wp-form p:first-child input,
    .mc4wp-form input {
        padding: 10px 5px;
    }
    .home .mc4wp-form p:first-child input,
    .home .mc4wp-form input {
        width: 100%;
        margin: 6px 0;
    }
    .home .mc4wp-form input[type="submit"] { margin-left: 0; }
}
@media screen and (max-width: 480px) {
    #masthead { padding: 0 12px; }
    header,
    #intro-wrapper,
    #main { padding: 0; }
    .home .entry-content,
    #events { padding: 0 24px; }
    #intro-wrapper #introbg dd, #intro-wrapper .rslides_container .rslides .caption { margin: 0; }
}
@media screen and (max-width: 414px) {
        .site-branding h1 { font-size: 1.3em; }
        .site-branding .logos img {
            margin-right: 5px;
            max-height: 50px;
        }
        #intro-wrapper .button a { width: 100%; }
 }
@media screen and (max-width: 320px) {
    .site-branding h1 { font-size: 1em; }
    .site-branding .logos img { max-height: 40px; }
}