/*
Theme Name: Tabernacle
Theme URI: http://underscores.me/
Author: Quixotic Entertainment
Author URI: http://www.quixoticentertainment.com
Description: A responsive theme based on Bootstrap intended for churches. It includes custom post types for announcements, events, and ministries.
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: tabernacle
Tags: church, Bootstrap, responsive, carousel, custom post type

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.

Tabernacle is based on Underscores http://underscores.me/, (C) 2012-2016 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/
*/

.back-btn-wrap {background-color: #333;}
.back-btn {padding: 5px;}
.back-btn a {padding: 5px; font-size: 14px;}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6 Accessibility
7 Alignments
8 Clearings
9 Widgets
10 Content
	10.1 Posts and pages
	10.2 Comments
11 Infinite scroll
12 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1 Normalize
--------------------------------------------------------------*/
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

.logged-in .navbar-fixed-top {
	top: 32px;
}

/*--------------------------------------------------------------
2 Typography
--------------------------------------------------------------*/


/*--------------------------------------------------------------
3 Elements
--------------------------------------------------------------*/


/*--------------------------------------------------------------
4 Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

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 {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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 {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

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 {
	color: #111;
}

textarea {
	width: 100%;
}

input[type="text"],
input[type="email"],
input[type="submit"] {
	padding: 10px;
}

#contact input[type="submit"] {
	font-size: 18px;
	background: #ddddff;
	font-weight: bold;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

.widget > input[type="search"] {
	max-width: 100%;
}

#search-box {
	-webkit-border-radius: 0 15px 15px 0;
	-moz-border-radius: 0 15px 15px 0;
	border-radius: 0 15px 15px 0;
	border: none;
}

#searchform .input-group-addon {
	-webkit-border-radius: 17px 0 0 17px;
	-moz-border-radius: 17px 0 0 17px;
	border-radius: 17px 0 0 17px;
	border: none;
	height: 34px;
	background-color: #fff;
}

#searchform .input-group {
	border: 2px #dadada inset;
	-webkit-border-radius: 17px;
	-moz-border-radius: 17px;
	border-radius: 17px;
	margin: 10px 0 0;
}

.widget input[type="text"],
.widget input[type="email"] {
	margin-bottom: -15px;
}

.widget input[type="submit"] {
	font-size: 14px;
	background: #ddddff;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-bottom: 15px;
}

/*--------------------------------------------------------------
5 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
5.1 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 {
	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 ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.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%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	background: #fff;
	color: white;
}

.current-menu-item > a,
.current_page_item > a {
	font-style: bold;
	background: #000;
	color: #fff !important;
}

.menu-item > a {
	font-family: Helvetica;
	font-size: 16px;
}

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

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6 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;
}

/*--------------------------------------------------------------
7 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;
}

/*--------------------------------------------------------------
8 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;
}

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

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

.widget-title,
.widget h4 {
	padding-top: 0;
	margin: 0 0 10px;
}

/*  Sidebar */
aside {
	padding: 20px;
}

aside .widget {
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid gray;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 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;
}

/*  Hero Section */
#hero {
	background: url(assets/img/hero-bg-2.jpg) 50% -330px no-repeat fixed;
	min-height: 170px;
	display: table;
	color: white;
	width: 100%;
	padding: 20px 0;
	margin-top: 50px;
}

.hero-text h1 {
	display: teble-cell;
	vertical-align: middle;
	text-shadow: 1px 1px #000;
}

.hero-text h1 small {
	font-style: italic;
	color: white;
}

/*  Carousel */
#myCarousel {
	height: 140px;
	background-color: #fff;
	box-shadow: 0 2px 5px #666;
	z-index: 10;
}

.carousel-indicators {
	display: none;
}

.carousel-control .glyphicon {
	color: #fff;
	text-shadow: 1px 1px #000;
}

.item p {
	font-size: 1.2em;
}

.about {
	padding: 20px;
	background: #fff;
	border: 1px solid #fbfbfb;
	-webkit-border-radius: 0 0 20px 20px;
	-moz-border-radius: 0 0 20px 20px;
	border-radius: 0 0 20px 20px;
}

.about-text {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

.about h3 {
	text-align: center;
	margin-top: 0;
}

p.about-p {
	text-indent: 50px;
	font-size: 1.2em;
}

.staff {
	padding: 20px;
	margin-bottom: 10px;
}

.staff h3 {
	text-align: center;
}

#map {
	height: 300px;
	width: 100%;
	margin-top: 15px;
}

/*  Ministries Section */
article {
	padding: 20px;
	margin-bottom: 0;
	background-color: #fff;
}

article header {
	border-bottom: 1px dashed gray;
	margin-top: 0;
}

article .post-excerpt {
	padding-top: 10px;
}

#ministries hr {
	border: none;
	height: 2px;
	margin: 0;
	background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

/*  Resources */
.resource {
	padding: 20px;
}

/*  Contact Page */
#primary {
	padding: 20px;
}

textarea {
	width: 100%;
}

/*  Footer */
footer {
	background: #333;
	height: 65px;
	padding: 15px 10px 0 15px;
	color: #f0f0f0;
}

.copyright {
	margin-right: 0;
	margin-left: auto;
	text-align: right;
}

/*  404 Page */
.fa-home, .fa-hand-o-right {
	font-size: 1.3em;
}

/* Fix the top margin when logged in */
@media screen and (max-width: 782px) {
	.logged-in .navbar-fixed-top {
		top: 46px;
	}
}

@media screen and (max-width: 768px) {
	#myCarousel {
		height: 190px;
	}
	
	.item p {
		font-size: 1.0em;
	}
	
	#hero {
		min-height: 150px;
		padding: 10px 0;
	}
	
	.about {
		padding: 10px;
	}
	
	p.about-p {
		text-indent: 20px;
		font-size: 1.0em;
	}
	
	#primary {
		padding: 10px 0;
	}
	
	footer {
		height: 95px;
	}
	
	address {
		text-align: center;
	}
	
	.copyright {
		text-align: center;
	}
}

/* Fix the top margin when logged in */
@media screen and (max-width: 600px) {
	.logged-in .navbar-fixed-top {
		top: 46px;
	}
}

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
11 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;
}

/*--------------------------------------------------------------
12 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%;
}

/*--------------------------------------------------------------
12.1 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;
}

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

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

.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;
}
