/*!
 Theme Name:     Child Evangelism Fellowship
 Author:         Five Q
 Author URI:     https://www.fiveq.com
 Template:       Divi
 Version:        1.5.2.5
*/
@media (max-width: 1024px) {
    body.home #campaign-progress-wrapper { position: absolute; top: 48px; }
}
  
@media (min-width: 1024px) {
    body.home #campaign-progress-wrapper { top: 0; }
}

._slider-section {
	position: relative;
	padding-top: var(--banner-height, 0px);
	border: 5px solid red;
}
._slider {
	width: 100vw;
	height: calc(100vh - var(--banner-height, 0px));
	position: relative;
}
._slider ._content-area > img {
	width: 100%;
	object-fit:cover;
	height: 100%;
	position: absolute;
	inset: 0;
	pointer-events:none;
	z-index: -1;
}
._slider ._slide {
	background: white;
	position: relative;
	height: 100%;
	width: 100%;
	isolation: isolate;
}

._slider ._content-area {
	height: calc(100% - var(--menu-height, 75px));
	display: grid;
	place-items: center;
}

._slider ._content {
	text-align: center;
	line-height: 1.5;
	display: grid;
	max-width: 65ch;
}
._slider ._content img {
	width: 100%;
	max-width: 600px;
	display: block;
	margin: 0 auto;
	padding: 0;
	pointer-events: none;
	z-index:2;
}


._slider ._content._dark {
	color: black;
}
._slider ._content._light {
	color: white;
}
._slider ._button-group	{
	display: inline-flex;
	justify-content: center;
	gap: .5rem;
}
._slider ._button {
	background: var(--btn-color, black);
	color: white;
	padding: .5em 1em;
	border-radius: 100em;
	text-decoration: none;
	font-weight: bold;
}
._custom-slider ._button:hover {
	opacity: .75;
}
/* Prev/Next buttons */
._overlay-nav {
	position: absolute;
	bottom: 7%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	z-index: 900;
	pointer-events: none;
}
._overlay-nav button {
	border: 2px solid rgba(255,255,255, .7);
	background: rgba(0,0,0,.5);
	padding: 0;
	display: flex;
	padding: .5em;
	justify-content: center;
	align-items: center;
	color: white;
	border-radius: 200px;
	margin: 0 7px;
	transition: all .3s;
	pointer-events: auto;
	
}
._overlay-nav button:hover {
	cursor: pointer;
	background: rgba(0,0,0,1);
}

@media (max-width: 40em) {
	._content {
		margin: 1em;
		font-size: 1.3rem;
	}
	._content-area._offset-left > img {
		opacity: .5;
	}
}

@media (min-width: 40em) {
	._content-area {
		font-size: 1.4rem;
	}
	._content-area._offset-left {
		justify-content: center;
		margin-left: var(--offset-md, -20%);
	}
}
@media (min-width: 65em) {
	._content-area._offset-left {
		justify-content: center;
		margin-left: var(--offset-lg, -20%);
	}
}


/* Utilities */
._slider ._content-area._darken::after {
	content: '';
	position: absolute;
	background: rgba(0,0,0,.4);
	inset: 0;
	z-index: -1;
}

/* Custom treatment */
._every {
	background: linear-gradient(to right,#e53878,#ff711f);
	font-weight: bold;
	border-radius: 3px;
	padding: 1em .5em;
}
._every span {
	white-space: nowrap;
}

/* Hide some TNS stuff */
.tns-outer > button {
	display: none;
	position: absolute;
	z-index: 1000;
}
.tns-outer > .tns-nav {
position: absolute;
text-align: center;
margin: 0 auto;
width: 100%;
display: block;
z-index: 900;
display: none;
}

#input_66_7_5_label {
  font-weight: bold;
  font-size: 17px;
}

#main-header {
  position: fixed !important;
}
#main-header #logo {
  margin-top: 25px !important;
}
body.home #main-content {
  margin-top: 80px !important;
}
