/****************************************************/
/* General */
/****************************************************/
html {
	overflow-x: hidden;
}
#wrapper-body {
    max-width: 66.250em;
    margin: 0 auto;
    padding: 2rem 0rem;
	position: relative;
	z-index: 1;
	overflow-x: hidden;
}
.white-bg {
    background-color: #FFFFFF;
}
.no-margin {
    margin: 0 !important;
}
.no-padding {
    padding: 0 !important;
}
/* Verse Popup Styles */
.rtTooltipFooter {
	display: none;	
}
.rtTooltipBody {
	padding: 15px 20px;
	line-height: 2.2;
}
.rtTooltipDropShadow .rtContainer {
	box-shadow: 0 0 30px 0 #686868;
}
.no-text-wrap {
	white-space: nowrap;
}
.columns {
	z-index: 1;
}
.map-box {
	position: relative;
	max-width: 475px;
	max-height: 310px;
}
.map-button {
	position: absolute !important;
	right: 0;
	top: 50px;
}
a.button {
	color: #FFFFFF !important;
	text-decoration: none !important;
}
.button {
	font-weight: bold !important;
}

.contact-grid:nth-of-type(2n+1) {
	padding-left: 1.55rem !important;
	padding-right: 0;
}
.contact-grid:nth-of-type(2n) {
	padding-right: 0;
}
.contact-grid-submit {
	padding-left: 1.55rem !important;
}

.relative {
	position: relative !important;
}
.nudge-left {
	padding-left: 0.5rem;
}
.down-half {
	margin-top: 0.5em; }
.down-1 {
	margin-top: 1em; }
.down-2 {
	margin-top: 2em; }
.down-3 {
	margin-top: 3em; }
.down-4 {
	margin-top: 4em; }
.down-5 {
	margin-top: 5em; }
.down-6 {
	margin-top: 6em; }
.down-7 {
	margin-top: 7em; }
.down-8 {
	margin-top: 8em; }
.down-9 {
	margin-top: 9em; }
.down-10 {
	margin-top: 10em; }
.down-11 {
	margin-top: 11em; }
.down-12 {
	margin-top: 12em; }
.down-13 {
	margin-top: 13em; }
.down-14 {
	margin-top: 14em; }
.down-15 {
	margin-top: 15em; }
.down-16 {
	margin-top: 16em; }
.down-17 {
	margin-top: 17em; }
.down-18 {
	margin-top: 18em; }
.down-19 {
	margin-top: 19em; }
.down-20 {
	margin-top: 20em; }

.up-half {
	margin-bottom: 0.5em; }
.up-1 {
	margin-bottom: 1em; }
.up-2 {
	margin-bottom: 2em; }
.up-3 {
	margin-bottom: 3em; }
.up-4 {
	margin-bottom: 4em; }
.up-5 {
	margin-bottom: 5em; }
.up-6 {
	margin-bottom: 6em; }
.up-7 {
	margin-bottom: 7em; }
.up-8 {
	margin-bottom: 8em; }
.up-9 {
	margin-bottom: 9em; }
.up-10 {
	margin-bottom: 10em; }
.up-11 {
	margin-bottom: 11em; }
.up-12 {
	margin-bottom: 12em; }
.up-13 {
	margin-bottom: 13em; }
.up-14 {
	margin-bottom: 14em; }
.up-15 {
	margin-bottom: 15em; }
.up-16 {
	margin-bottom: 16em; }
.up-17 {
	margin-bottom: 17em; }
.up-18 {
	margin-bottom: 18em; }
.up-19 {
	margin-bottom: 19em; }
.up-20 {
	margin-bottom: 20em; }

.right-half {
	margin-left: 0.5em; }
.right-1 {
	margin-left: 1em; }
.right-2 {
	margin-left: 2em; }
.right-3 {
	margin-left: 3em; }
.right-4 {
	margin-left: 4em; }
.right-5 {
	margin-left: 5em; }

.left-half {
	margin-right: 0.5em; }
.left-1 {
	margin-right: 1em; }
.left-2 {
	margin-right: 2em; }
.left-3 {
	margin-right: 3em; }
.left-4 {
	margin-right: 4em; }
.left-5 {
	margin-right: 5em; }

/****************************************************/
/* Mobile Nav */
/****************************************************/

#showMenu {
	color: #FFFFFF;
	cursor: pointer;
	position: absolute;
	top: 20px;
	right: 20px;
	text-transform: uppercase;
	letter-spacing: 0.06rem;
}
.hamburger {
	margin-right: 8px;
	position: relative;
	top: -1px;
	width: 16px !important;
}
/* Modal view */
.perspective.modalview {
	position: fixed;
	-webkit-perspective: 1500px;
	perspective: 1500px;
}

.modalview .container {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.modalview .mobile-nav-wrapper {
	-webkit-transform: translateZ(-1px); /* solves a rendering bug in Chrome on Windows */
}
.effect-movedown .container {
	-webkit-transition: -webkit-transform 0.4s;
	transition: transform 0.4s;
	-webkit-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

.effect-movedown.animate .container {
	-webkit-transform: translateY(100%) translateZ(-1500px);
	transform: translateY(100%) translateZ(-1500px);
	-webkit-transition: all 0.6s ease;
	transition: all 0.4s ease;
	opacity: 0.8;
}

.no-csstransforms3d .effect-movedown.animate .container {
	top: 75%;
}
.effect-movedown.animate .container {
	-webkit-transform: translateY(100%) translateZ(-1500px);
	transform: translateY(100%) translateZ(-1500px);
}

.no-csstransforms3d .effect-movedown.animate .container {
	top: 75%;
}
.effect-movedown .outer-nav li a {
	opacity: 0;
	-webkit-transform: translateY(-20px);
	-ms-transform: translateY(-20px);
	transform: translateY(-20px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}
.effect-movedown .outer-nav li a.active, .outer-nav li a:active, .effect-movedown .outer-nav li a:hover {
	box-shadow: inset 0px 0px 9px 2px #333333;
	-webkit-box-shadow: inset 0px 0px 9px 2px #333333;
	background-color: #505050;
} 
.effect-movedown.animate .outer-nav li a {
	opacity: 1;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.effect-movedown.animate .outer-nav li a:nth-child(2) {
	-webkit-transition-delay: 0.04s;
	transition-delay: 0.04s;
}

.effect-movedown.animate .outer-nav li a:nth-child(3) {
	-webkit-transition-delay: 0.08s;
	transition-delay: 0.08s;
}

.effect-movedown.animate .outer-nav li a:nth-child(4) {
	-webkit-transition-delay: 0.12s;
	transition-delay: 0.12s;
}

.effect-movedown.animate .outer-nav li a:nth-child(5) {
	-webkit-transition-delay: 0.16s;
	transition-delay: 0.16s;
}

.effect-movedown.animate .outer-nav li a:nth-child(6) {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.effect-movedown.animate .outer-nav li a:nth-child(7) {
	-webkit-transition-delay: 0.24s;
	transition-delay: 0.24s;
}
.container {
	position: relative;
}
.mobile-nav-wrapper {
	position: relative;
}
.modalview .mobile-nav-wrapper {
	-webkit-transform: translateZ(-1px); /* solves a rendering bug in Chrome on Windows */
}
.animate .container:after {
	opacity: 1;
	height: 101%;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.container {
	min-height: 100%;
	position: relative;
	outline: 1px solid rgba(0,0,0,0);
	z-index: 10;
	-webkit-transform: translateZ(0) translateX(0) rotateY(0deg); /* reset transforms (Chrome bug) */
	transform: translateZ(0) translateX(0) rotateY(0deg);
}
nav.outer-nav.top.horizontal:before,  nav.outer-nav.top.horizontal:after {
	/* background: red; */
	z-index: -1;
}
.container:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0px;
	opacity: 0;
	opacity: 0.5;
	/* the transition delay of the height needs to be synced with the container transition time */
	-webkit-transition: opacity 0.4s, height 0s 0.4s;
	transition: opacity 0.4s, height 0s 0.4s;
}
.outer-nav {
	position: absolute;
	height: auto;
	font-size: 2em;
}
.outer-nav.horizontal {
	left: 50%;
	width: 75%;
	width: 190px;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}
.outer-nav.top {
	top: 12%;
}
.perspective {
	position: relative;
	width: 100%;
	height: 100%;
}
nav.outer-nav > a.active {
	box-shadow: inset 0px 0px 9px 2px #333333 !important;
	-webkit-box-shadow: inset 0px 0px 9px 2px #333333 !important;
	background-color: #505050 !important;
}

/****************************************************/
/* Header Area */
/****************************************************/
header {
    margin: 3rem 0 1.3rem !important;
}
#logo, #logo p,#logo h1, #logo h2, #logo h3, #logo h4, #logo a {
    color: #ffffff;
    font-family: Times New Roman,Verdana;
    font-size: 1.2rem;
    letter-spacing: 0.66rem;
    position: relative;
    text-align: center;
	white-space: nowrap;
}
#logo:after {
    background-image: url("../img/acorns.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    content: "";
    display: block;
    height: 107px;
    position: absolute;
    top: -45px;
    width: 100%;
    z-index: -1;
}
section#wrapper-body {
	background-color: #008DD8;
}

/****************************************************/
/* Navigation Area */
/****************************************************/
nav:before, nav:after {
    position: absolute;
    content: "";
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
	background-size: contain;
}
nav:before {
    background-image: url(../img/nav-top.svg);
    height: 19px;
    top: -22px;
}
nav:after {
    background-image: url(../img/nav-bottom.svg);
    height: 51px;
}
nav {
    position: relative;
    margin: 2rem 0 6rem;
}

nav ul {
    list-style: none outside none;
    width: 100%;
    padding: 0;
    max-width: 158px;
    margin: 0 auto;
}
nav ul li {
    text-align: center;
	margin: 0;
}

nav a {
	background-color: #505050;
	color: #FFFFFF;
	display: block;
	font-size: 1.1rem;
	font-weight: bold;
	letter-spacing: 0.06rem;
	margin: 0.22rem 0rem;
	padding: 0.59rem;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;
}
nav a:hover, nav a.active, nav a:active, nav a:focus {
    background-color: #008DD8;
    color: #FFFFFF;
    text-decoration: none;
}

/* Sidebar Area */
aside strong, aside p strong, .meeting-times strong, .meeting-times p strong {
    color: #008DD8;
}

/****************************************************/
/* Body Content Area */
/****************************************************/
.big-question {
    color: #464646;
    font-size: 6.8rem;
    font-weight: bold;
    line-height: 5.5rem;
    text-align: center;
    text-transform: uppercase;
	white-space: nowrap;
}
.big-question span {
    font-size: 5.3rem;
}
.know-truth {
	background-color: #008DD8;
	color: #FFFFFF;
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: 0.06rem;
	padding: 2.4rem 2rem 2.5rem 2rem;
	position: relative;
	text-align: center;
}
.know-truth:after {
    border-color: transparent transparent transparent #008DD8;
    border-style: solid;
    border-width: 20px;
    bottom: -20px;
    content: "";
    height: 0;
    position: absolute;
    right: 19%;
    width: 0;
}
.callout, .callout-expanded {
	position: relative;
	border-left: 4px solid #008DD8;
	border-right: 4px solid #008DD8;
	display: table;
	margin: 1.25rem auto 2.25rem;
	padding: 0.7rem 2rem;
	text-align: center;
}
.callout-expanded {
	width: 111%;
	left: -5%;
	padding-left: 3rem;
}
.callout-expanded ul, .callout-expanded {
	list-style-image: url("../img/small-bullet.jpg");
}
.main-content {
	padding-top: 1.1rem;
}
.main-content-home {
	padding-top: 0;
}

h1 + hr, h2 + hr, h3 + hr, h4 + hr {
	left: -5%;
	position: relative;
	width: 111%;	
	margin: 0.85rem 0 1.1875rem
}
.page-picture {
	position: absolute;
	bottom: -152px;
	right: 0;
	z-index: 0;
}
.page-picture > img:last-of-type {
	margin-bottom: 0;
}
.page-picture img {
	display: block;
	margin-bottom: 0.4rem;
}
.sermons-links-tracts p {
	padding-left: 0.5rem;
	color: #000000;
}
.sermons-links-tracts a {
	font-weight: bold;
	color: #000000;
	text-decoration: underline;
    white-space: nowrap;
}
.sermons-links-tracts a:hover {
	color: #545454;
	text-decoration: none;
}
strong, b {
	color: #000000;
}
small {
    font-size: 80% !important;
}
.video {
    position: relative;
}
.video::before {
    background-image: url("../img/camera-icon.png");
    background-position: left top;
    background-repeat: no-repeat;
    content: "";
    height: 15px;
    left: -1.8rem;
    position: absolute;
    top: 0.3rem;
    width: 18px;
}

/****************************************************/
/* Footer */
/****************************************************/
footer, footer p, footer strong, footer a, footer h1, footer h2, footer h3, footer h4, footer h5 {
    color: #FFFFFF;
    font-size: 0.8rem;
}
footer {
    margin: 1rem auto 0 !important;
}
.back-wrapper {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
}
.back-top-line {
	border-bottom: 4px solid #A7A5A6;
	bottom: -17px;
	content: "";
	left: -2%;
	padding-top: 4rem;
	position: relative;
	width: 106%;
	z-index: 0;
}
.back-top {
	background-color: #474747;
	color: #FFFFFF;
	display: block;
	font-size: 0.6rem;
	margin-bottom: 2rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 97px;
	outline: 7px solid #FFFFFF;
	position: relative;
	text-align: center;
	z-index: 1;
}
.back-top a {
	color: #FFFFFF;
	display: block;
	font-weight: normal;
	letter-spacing: 0.06rem;
	padding: 0.2rem 0rem;
	position: relative;
	text-decoration: none;
	position: relative;
	z-index: 0;
}
.back-top a:hover, .back-top a:active, .back-top a:focus {
    text-decoration: underline !important;
    color: #FFFFFF;
}
.back-top-ribbon {
	position: absolute;
	left: 0;
	bottom: -21px;
	width: 100%;
}
/*
.back-top a:after {
    background-image: url("../img/back-top-ribbon.svg");
	background-position: center center;
    content: "";
    height: 24px;
    left: 0;
    bottom: -22px;
    position: absolute;
    width: 97px;
	background-size: contain;
	background-repeat: no-repeat;
	z-index: -1;
}
*/

/****************************************************/
/* Media Queries */
/****************************************************/

/* Small screens */
@media only screen {

}
/* Large Screens */
@media only screen and (min-width: 64.063em)  {
	.main-content {
        min-height: 65rem;
	}
}
/* End large & up */

@media only screen and (min-width: 769px) and (max-width: 1340px) {
	nav .logo {
		padding-left: 1.2rem;
		font-size: 85%;
		padding-top: 54px;
	}	
}

/* Tablet and lower */
@media only screen and (max-width: 1024px) {  

	.margin-picture-right {
		right: -60px !important;
	}
	.margin-picture-left {
		left: -60px !important;
	}
	
}  

/* iPads (portrait and landscape) ----------- */  
@media only screen and (min-width: 768px) and (max-width : 1024px) {  
	.callout-expanded {
		left: 0;
		padding: 0.7rem 2rem;
		width: auto;
	}
}

/* Smartphones (portrait and landscape) ----------- */  
@media only screen and (min-width: 100px) and (max-width : 767px) { 

	.callout-expanded {
		left: 0;
		padding: 0.7rem 2rem;
		width: auto;
		}
	.map-button {
		position: absolute !important;
		right: 0;
		top: 10px;
}
	
	.contact-grid:nth-of-type(2n+1) {
		padding-left: 0.9375rem !important;
		padding-right: 0.9375rem;
	}
	.contact-grid:nth-of-type(2n) {
		padding-right: 0.9375rem;
	}
	.contact-grid-submit {
		padding-left: 0.9375rem !important;
	}
	
}    


@media only screen and (min-width: 373px) and (max-width : 480px) {
	#logo, #logo p, #logo h1, #logo h2, #logo h3, #logo h4, #logo a {
		font-size: 2.1rem;
		letter-spacing: 0.32rem;
		white-space: normal;
		line-height: 1.5;
		margin-bottom: 0 !important;
		margin-top: 1.2rem !important;
	}
	#logo:after {
		top: 0px !important;
	}
}

@media only screen and (min-width: 200px) and (max-width : 372px) {
	#logo, #logo p, #logo h1, #logo h2, #logo h3, #logo h4, #logo a {
		font-size: 1.4rem;
		letter-spacing: 0.32rem;
		white-space: normal;
		line-height: 1.5;
		margin-bottom: 0 !important;
		margin-top: 1.2rem !important;
	}
	#logo:after {
		top: -8px !important;
	}
}

/* iPads (portrait and landscape) ----------- */  
@media only screen and (min-width: 642px) and (max-width : 1024px) {  
	.main-content {
		min-height: 65rem;
	}
}

/* Custom Media Queries (for the home page hero typography) */
@media only screen and (min-width: 947px) and (max-width : 975px) {
	.big-question {
		font-size: 6.6rem;
	}
	.big-question span {
		font-size: 5.1rem;
	}
	.know-truth {
		font-size: 1.35rem;	
	}
}
@media only screen and (min-width: 867px) and (max-width : 946px) {
	.big-question {
		font-size: 6rem;
	}
	.big-question span {
		font-size: 4.65rem;
	}
	.know-truth {
		font-size: 0.93rem;	
	}
}
@media only screen and (min-width: 641px) and (max-width : 866px) {
	.big-question {
		font-size: 5.45rem;
		line-height: 4rem;
		margin-top: 8px;
	}
	.big-question span {
		font-size: 4.25rem;
	}
	.know-truth {
		font-size: 0.9rem;
		width: 103%;
	}
}
@media only screen and (min-width: 418px) and (max-width : 486px) {
	.big-question {
		font-size: 5.78rem;
	}
	.big-question span {
		font-size: 4.5rem;
	}
	.know-truth {
		font-size: 0.9rem;
	}
}
@media only screen and (min-width: 321px) and (max-width : 417px) {
	.big-question {
		font-size: 4.2rem;
		line-height: 3.7rem;
	}
	.big-question span {
		font-size: 3.27rem;
	}
	.know-truth {
		font-size: 0.9rem;
		padding: 2.4rem 1rem 2.5rem;
	}
	.callout strong {
		font-size: 0.7rem;
	}
}
@media only screen and (min-width: 100px) and (max-width : 320px) {
    .big-question {
        font-size: 3.84rem;
        line-height: 3.7rem;
    }
    .big-question span {
        font-size: 2.97rem;
    }
    .know-truth {
        font-size: 0.9rem;
        padding: 2.4rem 0.5rem 2.5rem;
    }
    .callout strong {
        font-size: 0.7rem;
    }
    .callout, .callout-expanded {
        padding: 0.7rem 1.1rem;
    }
    #showMenu {
        top: 12px;
        right: 8px;
    }
}