/* =Reset
-------------------------------------------------------------- */

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol, ul {
	list-style: none;
}

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;
}

.btn.btn-primary,
.btn.btn-default,
.btn.btn-primary:hover,
.btn.btn-default:hover ,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
	text-shadow: none;
	background-image: none;
	filter: none;
	border: none;
	box-shadow: none;
}

/* =Global
-------------------------------------------------------------------- */
body {
  color: #4c4c4c;
  font-size: 16px;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

#copyright {
	padding: 0 0 7px 0;
}

#copyright a:hover {
	text-decoration: none;
}

#header-mobile {
	display: none;
}

.cwficon-flame {
	opacity: 1;
	display: inline-block;
	position: relative;
	width: 16px;
	height: 30px;
	background-image: url("../images/cwf_flame_white_bottom_bar.png");
	background-repeat: no-repeat;
	margin-left: 10px;
	margin-right: 20px;
}

.cwficon-flame span.hover{
	opacity: 0;
	position: absolute;
	display: inline-block;
	top: 0;
	left: 0;
	width: 16px;
	height: 30px;
	background-image: url("../images/cwf_flame_yellow_bottom_bar.png");
	background-repeat: no-repeat;
	transition: opacity 0.2s ease-in-out;
}

a.powered-by-link:hover .cwficon-flame span.hover {
	opacity: 1;
}

section#copyright .powered-by,
section#copyright .copyright-info {
	text-align: center;
}

a.powered-by-link {
    margin-right: 1em;
}

/* Text elements */
dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

b, strong {
	font-weight: bold;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; white-space: inherit;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

* {
	-webkit-font-smoothing: antialiased;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

section#footer-area ul {
	padding: 0;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.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-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 */
}

/** Header Styles **/
header {
	background-color: transparent;
	box-shadow: none;
	border-bottom: none;
}

header .container {
	position: relative;
}

.header-buttons {
	display: block;
	float: right;
	margin: 7px 0;
}

.navbar-brand {
	padding: 0;
	text-shadow: none;
	display: block;
	height: auto;
}

.navbar-brand img {
	max-height: 60px;
	padding: 5px 0;
}

/* Extra Small devices (480px and down) */
@media (max-width: 480px) {
	.navbar-brand img {
		max-width: 115px;
	}
}

/* Fade transition for carousel items */
.carousel-fade .carousel-inner .item {
	opacity: 0;
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
	opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
	left: 0;
	opacity: 0;
	z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
	opacity: 1;
}

.carousel-fade .carousel-control {
	z-index: 2;
}

ul.sidebar img.thumbnail {
	max-height: 50px;
}

/* clear first in row in ie 8 or lower */
.multi-columns-row .first-in-row {
	clear: left;
}

/* clear the first in row for any block that has the class "multi-columns-row" */
.multi-columns-row .col-xs-6:nth-child(2n + 3) { clear: left; }
.multi-columns-row .col-xs-4:nth-child(3n + 4) { clear: left; }
.multi-columns-row .col-xs-3:nth-child(4n + 5) { clear: left; }
.multi-columns-row .col-xs-2:nth-child(6n + 7) { clear: left; }
.multi-columns-row .col-xs-1:nth-child(12n + 13) { clear: left; }

@media (min-width: 768px) {
	/* reset previous grid */
	.multi-columns-row .col-xs-6:nth-child(2n + 3) { clear: none; }
	.multi-columns-row .col-xs-4:nth-child(3n + 4) { clear: none; }
	.multi-columns-row .col-xs-3:nth-child(4n + 5) { clear: none; }
	.multi-columns-row .col-xs-2:nth-child(6n + 7) { clear: none; }
	.multi-columns-row .col-xs-1:nth-child(12n + 13) { clear: none; }

	/* clear first in row for small columns */
	.multi-columns-row .col-sm-6:nth-child(2n + 3) { clear: left; }
	.multi-columns-row .col-sm-4:nth-child(3n + 4) { clear: left; }
	.multi-columns-row .col-sm-3:nth-child(4n + 5) { clear: left; }
	.multi-columns-row .col-sm-2:nth-child(6n + 7) { clear: left; }
	.multi-columns-row .col-sm-1:nth-child(12n + 13) { clear: left; }
}

@media (min-width: 992px) {
	/* reset previous grid */
	.multi-columns-row .col-sm-6:nth-child(2n + 3) { clear: none; }
	.multi-columns-row .col-sm-4:nth-child(3n + 4) { clear: none; }
	.multi-columns-row .col-sm-3:nth-child(4n + 5) { clear: none; }
	.multi-columns-row .col-sm-2:nth-child(6n + 7) { clear: none; }
	.multi-columns-row .col-sm-1:nth-child(12n + 13) { clear: none; }

	/* clear first in row for medium columns */
	.multi-columns-row .col-md-6:nth-child(2n + 3) { clear: left; }
	.multi-columns-row .col-md-4:nth-child(3n + 4) { clear: left; }
	.multi-columns-row .col-md-3:nth-child(4n + 5) { clear: left; }
	.multi-columns-row .col-md-2:nth-child(6n + 7) { clear: left; }
	.multi-columns-row .col-md-1:nth-child(12n + 13) { clear: left; }
}

@media (min-width: 1200px) {
	/* reset previous grid */
	.multi-columns-row .col-md-6:nth-child(2n + 3) { clear: none; }
	.multi-columns-row .col-md-4:nth-child(3n + 4) { clear: none; }
	.multi-columns-row .col-md-3:nth-child(4n + 5) { clear: none; }
	.multi-columns-row .col-md-2:nth-child(6n + 7) { clear: none; }
	.multi-columns-row .col-md-1:nth-child(12n + 13) { clear: none; }

	/* clear first in row for large columns */
	.multi-columns-row .col-lg-6:nth-child(2n + 3) { clear: left; }
	.multi-columns-row .col-lg-4:nth-child(3n + 4) { clear: left; }
	.multi-columns-row .col-lg-3:nth-child(4n + 5) { clear: left; }
	.multi-columns-row .col-lg-2:nth-child(6n + 7) { clear: left; }
	.multi-columns-row .col-lg-1:nth-child(12n + 13) { clear: left; }
}

/* Sidebar & Footer Area Widgets */
#sidebar,
#left-sidebar {
	padding-top: 40px;
}

#left-sidebar ul,
#left-sidebar ol,
#sidebar ul,
#sidebar ol,
#footer-area ul,
#footer-area ol  {
	list-style: none;
	padding: 0;
}

#left-sidebar p,
#sidebar p,
#footer-area p {
	margin-bottom: 10px;
}

.post-loop-wrap h3.title {
	overflow: hidden;
	max-height: 26px;
}

.post-loop-wrap h4.title {
	overflow: hidden;
	font-size: 1.2em;
	height: 1.15em;
	margin: 0 0 10px 0;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#left-sidebar .post-loop-wrap h4.title,
#sidebar .post-loop-wrap h4.title,
#footer-area .post-loop-wrap h4.title {
	font-weight: normal;
	overflow: hidden;
	font-size: 1em;
	line-height: 1.2em;
	margin: 0 0 10px 0;
}

#secondary .widget,
#sidebar .widget,
#left-sidebar .widget {
	margin-bottom: 20px;
	display: inline-block;
	width: 100%;
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 20px;
}

#secondary .widget:last-child,
#sidebar .widget:last-child,
#left-sidebar .widget:last-child,
#left-sidebar .widget.widget_search,
#sidebar .widget.widget_search {
	border-bottom: none;
}

#secondary .widget h3,
#sidebar .widget h3,
#left-sidebar .widget h3 {
	font-size: 1.5em;
	margin: 0 0 10px 0;
}

.title_image_no_content .featured-image {
	margin-bottom: 10px;
}

ul.sermons.sidebar li {
	display: inline-block;
	margin-bottom: 10px;
}

.search-form label {
	width: 100%;
}

.search-form label input {
	width: 100%;
	border-radius: 3px;
	outline: none;
	border: 1px solid #ccc;
	padding: 5px 10px;
	font-weight: normal;
}

form.search-form .search-submit {
	display: none;
}

/* Loops & Single Layouts */
.cwf-meta-wrap {
	display: none;
}

.page-header {
	padding-bottom: 0;
	margin: 0;
	border: none;
	background-color: transparent;
	box-shadow: none;
}

.post-loop-wrap {
	margin: 15px 0 15px 0;
}

.post-loop-wrap .meta-wrap {
	max-height: 25px;
	overflow: hidden;
	display: none;
}

.post-loop-wrap .meta-wrap i ,
.post-loop-wrap .meta-wrap span {
	margin: 5px;
}

.post-loop-wrap .content {
	margin: 10px 0 10px 0;
}

.left_image .featured-image,
.left_image_title .featured-image,
.left.featured-image {
	width: 25%;
	float: left;
	margin-right: 10px;
}

.left_image .content-wrap {
	width: 73%;
	float: left;
}

.right-image .featured-image,
.right-image-title .featured-image,
.right.featured-image {
	width: 25%;
	float: right;
}

.right_image .content-wrap,
.right_image_title {
	width: 73%;
	float: right;
}

.read-more {
	float: right;
}

.featured-image img{
	margin-left: auto;
	margin-right: auto;
}

.gallery .featured-image {
	position:relative;
}

.gallery .featured-image .title {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	margin: 0 !important;
	background-color: rgba(0,0,0,.6);
	font-size: 1em;
	color: #fff;
	overflow: hidden;
	height: 2.2em;
	display: block;
	padding: 10px;
}

.gallery .featured-image .title a {
    color: #fff;
}

.post.post-loop-wrap.carousel_post {
	position: relative;
}

.post.post-loop-wrap.carousel_post h4.title {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	background: rgba(0,0,0,.6);
	padding: 5px;
	color: #fff;
	margin: 0 !important;
	height: 2em;
}

.post-loop-wrap.title {
	margin: 0;
}
.post.post-loop-wrap.gallery_with_excerpt .featured-image {
	padding: 2px;
	border: 1px solid #ccc;
	width: 100%;
}

.post.post-loop-wrap.gallery_with_excerpt .featured-image a {
	position: relative;
	display: block;
}

.post.post-loop-wrap.gallery_with_excerpt .featured-image img {
	width: 100%;
}

.post.post-loop-wrap.gallery_with_excerpt h4.title {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 10px;
	margin: 0;
	color: #fff;
	background: rgba(0,0,0,.5);
	font-size: 1.2em;
	font-weight: 400;
	height: 2em;
}

/* Events CSS */
time var {
	font-family: inherit;
	font-size: 1em;
}

/* Locations CSS */

.location-meta {
	margin: 0 0 7px 0;
}

/* Staff CSS */

.staff.post-loop-wrap h4.title {
	overflow: visible;
	font-size: 1.2em;
	height: auto;
	margin: 10px 0 10px 0;
	text-overflow: inherit;
	white-space: inherit;
}

/* Media Queries */
@media (max-width: 768px) {
	.left_image .featured-image,
	.left_image_title .featured-image,
	.left_image .content-wrap,
	.left_image_title,
	.right_image .featured-image,
	.right_image_title .featured-image,
	.right_image .content-wrap,
	.right_image_title	{
		width: 100%;
		float: none;
	}

	#header-mobile {
		display: block;
	}
}

@media (min-width: 992px) {

	#sidebar {
		padding-left: 25px;
	}

	#left-sidebar {
		padding-right: 25px;
	}

}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#video-modal .modal-body {
	margin-top: 15px;
}

#video-modal button.close {
	position: relative;
	right: 5px;
	top: 5px;
}

#main-content.password-protected {
	margin: 50px;
}

#main-content.password-protected label {
	margin-right: 10px;
}

/* Michael Panik's Base CSS Extravaganza!!
-------------------------------------------------------------- */
ul.nav {
    width: 100%;
}

section {
	padding: 5% 0;
}

section.full-width>.container,
section.full-width>.container-fluid {
	width: 100%;
}

section.full-width .row.multi-columns-row {
  width: 100%;
  margin: 0px;
}

section.full-width .column {
	padding: 0 !important;
}

section.full-height {
	padding: 0 !important;
}

.column.left {
	text-align: left;
}

.column.right {
	text-align: right;
}

.column.center,
.column.center>div,
.column.center>div>div {
    text-align: center;
}

.column.center .btn {
  display: inline-block;
  float: none !important;
}

.column.center img {
    margin-left: auto;
    margin-right: auto;
}

.column.inline ul>li {
	display: inline-block;
	float: none !important;
}

nav.navbar {
  margin-bottom: 0px;
  border: 0px;
}

.navbar-collapse {
	padding: 0px;
}

.post-entry-content div.wp-caption {
	max-width: 100%;
}

.dropdown-menu>li {
  display: block;
  width: 100%;
  text-align: left;
}

.post-loop-wrap .featured-image {
  margin-bottom: 1em;
}

.widget>.container {
	width: 100%;
}

section#main-content ul>li,
section#main-content ol>li {
	list-style: disc;
}

.navigation {
    clear: both;
}

.prev-posts-link {
    float: left;
}

.next-posts-link {
    float: right;
}

.prev-posts-link>a:after {
	content: 'Prev';
}

.next-posts-link>a:after {
	content: 'Next';
}

.full-width .row {
    margin: 0px;
}

#home-top.full-width .row {
    margin-left: -15px !important;
    margin-right: -15px!important;
}

#flags.size18 a[title="English"],
.tool-container .tool-items a[title="English"] {
  background-position: -119px -352px;
}

@media (min-width:767px) {
	#responsive-menu-button,
	.hide-desktop {
		display: none!important;
	}
}

form ul>li,
form ol>li {
  list-style: none!important;
}

.ginput_container>textarea {
    padding: .4em!important;
    border-color: #CCCCCC!important;
    margin-top: .9em!important;
}

.menu-item>a {
    text-shadow: none!important;
}

.taxonomy.post-loop-wrap .title {
    display: none;
}

.taxonomy.post-loop-wrap .featured-image {
    margin: 0;
}

.taxonomy.post-loop-wrap {
    margin: 0;
}

/* ---
RESPONSIVE MENU
--- */
#responsive-menu-button {
    padding: .5em .7em .5em .5em;
    text-align: center;
    color: #fff;
    top: 45vh !important
    text-decoration: none;
    cursor: pointer;
    opacity: .8;
}

#responsive-menu-button>i {
    font-size: 2em;
}

#responsive-menu-button:after {
    content: 'MENU';
    display: block;
    clear: both;
}

.slideout-panel {
    box-shadow: -4px 0px 9px -5px;
}

nav#responsive-menu {
    padding: 4%;
    background-color: #F4F4F4;
}

.menu-section-title {
    margin-top: 0px;
    font-weight: bold;
    font-size: 1.5em;
}

ul.menu-section-list {
    padding: 0 1em;
    margin: 0px;
}

ul.menu-section-list>li {
    font-size: 1.25em;
    padding: .5em 0px;
}

section.menu-section {
    padding: 5% 0 0 0;
}

section#header-mobile {
    display: none;
}

nav.navbar {
    min-height: 0px;
}

/* ---
CWF CARDS
--- */
a.card {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
}

.card-img-bg {
    position: relative;
}

.card-inner {
    top: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    z-index: 999;
    left: 0;
}

.card.img-bg .card-inner {
    position: absolute;
}

.card-content {
    vertical-align: middle;
    margin: 0;
    display: inline-block;
}

a.card.card-center {
	text-align: center;
}

a.card.card-right {
	text-align: right;
}

a.card.card-center.full .card-inner:before {
    content: "";
    display: inline-block;
    height: 100%;
    margin-right: -.31em;
    vertical-align: middle;
}

row.no-gutter > [class^="col-"],
[class^="col-"].no-gutter {
    padding: 0;
}

section.main-content,
main#page-wrapper {
    background: #fff;
}

html.slideout-open nav#responsive-menu {
    pointer-events: all !important;
}

nav#responsive-menu {
    pointer-events: none;
}

input {
	color: #171717;
}