@import 'bootstrap/bootstrap';
@import 'bootstrap/variables';

$font-primary: 'Poppins',Arial, sans-serif;

$white: #fff;
$black: #000000;
$darken: #00043c;
$light: #f7e8f0;

$primary: #ce0f3d;



@mixin border-radius($radius) {
  -webkit-border-radius: $radius;
     -moz-border-radius: $radius;
      -ms-border-radius: $radius;
          border-radius: $radius;
}

@mixin transition($transition) {
    -moz-transition:    all $transition ease;
    -o-transition:      all $transition ease;
    -webkit-transition: all $transition ease;
    -ms-transition: 		all $transition ease;
    transition:         all $transition ease;
}


html {
	// overflow-x: hidden;
}
body {
	font-family: $font-primary;
	background: #fff;
	font-size: 15px;
	line-height: 1.8;
	font-weight: 400;
	color: lighten($black,30%);
	color: #40415e;
	&.menu-show {
		overflow: hidden;
		position: fixed;
		height: 100%;
		width: 100%;
	}
}
a {
	transition: .3s all ease;
	color: $primary;
	&:hover, &:focus {
		text-decoration: none;
		color: $primary;
		outline: none !important;
	}
}
h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
	line-height: 1.5;
	color: rgba(0,0,0,.8);
	font-weight: 400;
}

.container{
	max-width: 1300px;
}

.wrap{
	background: transparent;
	position: absolute;
	top: 0px;
	left: 0;
	right: 0;
	z-index: 3;
	width: 100%;
	border-bottom: 1px solid rgba(255,255,255,.1);
	.location{
		z-index: 1;
		color: $white;
		font-weight: 300;
		span{
			color: $white;
		}
		a{
			color: $white;
			font-size: 12px;
		}
	}
}
.social-media{
	display: inline-block;
	p{
		a{
			width: 44px;
			height: 44px;
			border-left: 1px solid rgba(255,255,255,.1);
			span{
				color: $white;
			}
			&:hover{
				background: $primary;
				border-color: $primary;
				span{
					color: $white;
				}
			}
		}
	}
}

.ftco-navbar-light {
	background: transparent!important;
	position: absolute;
	top: 50px;
	left: 0;
	right: 0;
	z-index: 3;
	@include media-breakpoint-down(md) {
		background: $black!important;
		position: relative;
		top: 0;
	}

	.navbar-brand {
		color: $white;
		span{
			color: $white;
		}
		@include media-breakpoint-down(md){
			color: $white;
		}
	}
	
	.navbar-nav {
		@include media-breakpoint-down(md){
			padding-bottom: 10px;
		}
		> .nav-item {
			>.nav-link {
				font-size: 14px;
				padding-top: .9rem;
				padding-bottom: .9rem;
				padding-left: 20px;
				padding-right: 20px;
				color: $white;
				font-weight: 400;
				text-transform: uppercase;
				letter-spacing: 1px;
				&:hover {
					color: $primary;
				}
				opacity: 1!important;
				@include media-breakpoint-down(md){
					padding-left: 0;
					padding-right: 0;
					padding-bottom: 0;
					color: $white;
				}
			}

			.dropdown-menu{
				border: none;
				background: $white;
				-webkit-box-shadow: 0px 10px 34px -20px rgba(0,0,0,0.41);
				-moz-box-shadow: 0px 10px 34px -20px rgba(0,0,0,0.41);
				box-shadow: 0px 10px 34px -20px rgba(0,0,0,0.41);
			}

			
			&.ftco-seperator {
				position: relative;
				margin-left: 20px;
				padding-left: 20px;
				@include media-breakpoint-down(md) {
					padding-left: 0;
					margin-left: 0;
				}
				&:before {
					position: absolute;
					content: "";
					top: 10px;
					bottom: 10px;
					left: 0;
					width: 2px;
					background: rgba($white, .05);
					@include media-breakpoint-down(md) {
						display: none;
					}
				}
			}
			&.cta {
				> a {
					color: $white;
					border: 1px solid $primary;
					padding-top: .5rem;
					padding-bottom: .5rem;
					padding-left: 18px;
					padding-right: 18px;
					margin-top: 4px;
					background: $primary;
					@include border-radius(40px);
					span {
						display: inline-block;
						color: $white;
					}
					&:hover{
						background: $primary;
						border: 1px solid $primary;
					}
				}
				&.cta-colored {
					a{
						border: 1px solid $primary;
						background: $primary !important;
					}
				}
			}
			&.active {
				> a {
					color: $primary;
				}
			}
			@include media-breakpoint-down(md){
				&.active {
					> a {
						color: $primary;
					}
				}
			}
		}
	}
	.navbar-toggler {
		border: none;
		color: rgba(255,255,255,.5)!important;
		cursor: pointer;
		padding-right: 0;
		text-transform: uppercase;
		font-size: 16px;
		letter-spacing: .1em;
		&:hover, &:focus {
			text-decoration: none;
			color: $primary;
			outline: none !important;
		}
	}
	
	&.scrolled  {
		position: fixed;
		right: 0;
		left: 0;
		top: 0;
		margin-top: -130px;
		background: $white!important;
		box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
		.nav-item {
			> .nav-link{
				@include media-breakpoint-down(md){
					padding-left: 0 !important;
					padding-right: 0 !important;
					padding-bottom: 0 !important;
				}
			}
			&.active {
				> a {
					color: $primary!important;
				}
			}
			&.cta {
				> a {
					color: $white !important;
					background: $primary;
					border: none !important;
					padding-top: .5rem!important;
					padding-bottom: .5rem !important;
					padding-left: 20px !important;
					padding-right: 20px !important;
					margin-top: 6px !important;
					@include border-radius(5px);
					span {
						display: inline-block;
						color: $white !important;
					}
				}
				&.cta-colored {
					span {
						border-color: $primary;
					}
				}
			}
		}

		.navbar-nav {
			@include media-breakpoint-down(md) {
				background: none;
				border-radius: 0px;
				padding-left: 0rem!important;
				padding-right: 0rem!important;
			}
		}

		.navbar-toggler {
			border: none;
			color: rgba(0,0,0,.5)!important;
			border-color: rgba(0,0,0,.5)!important;
			cursor: pointer;
			padding-right: 0;
			text-transform: uppercase;
			font-size: 16px;
			letter-spacing: .1em;

		}
		.nav-link {
			padding-top: .9rem!important;
			padding-bottom: .9rem!important;
			color: $black!important;
			&.active {
				color: $primary!important;
			}
		}
		&.awake {
			margin-top: 0px;
			transition: .3s all ease-out;
		}
		&.sleep {
			transition: .3s all ease-out;	
		}

		.navbar-brand {
			color: $black;
		}
	}
}

.navbar-brand {
	font-weight: 900;
	font-size: 20px;
}



.searchform{
	height:46px;
	border: 1px solid rgba(0,0,0,.05);
	overflow: hidden;
	@include border-radius(5px);
	.form-control{
		width: calc(100% - 46px);
		border: none;
		background: #fff !important;
		color: rgba(0,0,0,.7) !important;
		font-size: 14px;
		&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
		  color: rgba(0,0,0,.7) !important;
		}
		&::-moz-placeholder { /* Firefox 19+ */
		  color: rgba(0,0,0,.7) !important;
		}
		&:-ms-input-placeholder { /* IE 0+ */
		  color: rgba(0,0,0,.7) !important;
		}
		&:-moz-placeholder { /* Firefox 18- */
		  color: rgba(0,0,0,.7) !important;
		}
	}
	.form-control {
		height: 46px!important;
		background: $white!important;
		color: $black!important;
		font-size: 14px;
		border-radius: 0px;
		box-shadow: none!important;
		&:focus, &:active {
			border-color: $black;
		}
	}
	.search{
		width: 46px;
		height: 46px;
		span{
			font-size: 20px;
		}
	}
}



.hero-wrap{
	width: 100%;
	height: 100%;
	position: inherit;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
	background-attachment: fixed;
	overflow: hidden;
	height: 700px;
	@include media-breakpoint-down(lg){
		background-position: center center !important;
	}
	.overlay{
		position: absolute;
		width: 100%;
		top: 0;
		right: 0;
		left: 0;
		bottom: 0;
		content: '';
		opacity: .4;
		background: $darken;
	}
	&.hero-wrap-2{
		height: 600px;
		.overlay{
			opacity: .4;
			background: $darken;
		}
		.slider-text{
			height: 600px;
			h1{
				font-weight: 400;
				font-size: 40px;
			}
		}
	}
	.slider-text{
		height: 700px;
		h1 {
			color: $white;
			line-height: 1.4;
			font-family: $font-primary;
			font-size: 45px;
			@include media-breakpoint-down(md) {
				font-size: 40px;
			}
			span{
				// background: $primary;
				border: 2px dashed $primary;
				color: $primary;
				padding: 0 5px;
			}
		}
		.subheading{
			font-size: 15px;
			color: $primary;
			text-transform: uppercase;
			font-family: $font-primary;
			font-weight: 700;
			letter-spacing: 2px;
		}
		p {
			font-size: 18px;
			line-height: 1.5;
			color: rgba(255,255,255,.7);
			strong{
				font-weight: 700;
				a{
					color: $black;
				}
			}
		}
		.breadcrumbs{
			font-size: 16px;
			font-weight: 400;
			margin-bottom: 20px;
			z-index: 99;
			text-transform: capitalize !important;
			span{
				color: rgba(255,255,255,.5);
				i{
					color: rgba(255,255,255,.3);
				}
				a{
					color: rgba(255,255,255,.7);
					&:hover, &:focus{
						color: $primary;
						i{
							color: $primary;
						}
					}
				}
			}
		}
		.bread{
			text-transform: capitalize;
			font-weight: 700 !important;
		}
	}
}

//OWL CAROUSEL
.owl-carousel {
	position: relative;
	.owl-item {
		opacity: 1;
		&.active {
			opacity: 1;
		}
	}
	.owl-dots {
		text-align: center;
		.owl-dot {
			width: 10px;
			height: 10px;
			margin: 5px;
			border-radius: 50%;
			background: lighten($black, 90%);
			position: relative;
			&:after{
				position: absolute;
				top: -2px;
				left: -2px;
				right: 0;
				bottom: 0;
				width: 14px;
				height: 14px;
				content: '';
				border:1px solid lighten($black, 30%);
				@include border-radius(50%);
			}	
			&:hover, &:focus{
				outline: none !important;
			}
			&.active {
				background: lighten($black, 70%);
				&:after{
					border-color: $white;
				}
			}
		}
	}
	&.home-slider {
		position: relative;
		height: 700px;
		z-index: 0;
		.slider-item {
			background-size: cover;
			background-repeat: no-repeat;
			background-position: center center;
			height: 700px;
			position: relative;
			z-index: 0;
			overflow: hidden;
			.overlay{
				position: absolute;
				top: 0;
				bottom: 0;
				width: 100%;
				opacity: .3;
				z-index: 0;
				background: $darken;
			}
			@include media-breakpoint-down(lg){
				background-position: center center !important;
			}
			.slider-text {
				height: 700px;
				position: relative;
				.text{
					z-index: 0;
					color: rgba(255,255,255,.9);
				}
				h1 {
					font-size: 56px;
					font-weight: 600;
					color: $white;
					line-height: 1.3;
					text-shadow: 0px 3px 25px rgba(0,0,0,0.1);
					text-transform: uppercase;
					letter-spacing: 3px;
					@include media-breakpoint-down(md) {
						font-size: 40px;
						letter-spacing: 3px;
					}
				}
				h2{
					font-size: 20px;
					text-transform: uppercase;
					letter-spacing: 1px;
					font-family: $font-primary;
					font-weight: 700;
					color: $primary;
					display: inline-block;
					position: relative;
					letter-spacing: 4px;
					z-index: 0;
					&:before, &:after{
						position: absolute;
						content: '';
						background: rgba(255,255,255,.2);
						z-index: -1;
					}
					&:before{
						width: 130px;
						height: 1px;
						top: -20px;
						left: 50%;
						transform: translateX(-50%);
					}
					&:after{
						width: 1px;
						height: 150px;
						left: 50%;
						top: -60px;
						transform: translateX(-50%);
					}
				}
			}
		}
		.owl-nav {
			position: absolute;
			top: 50%;
			width: 100%;
			.owl-prev,
			.owl-next {
				position: absolute;
				transform: translateY(-50%);
				outline: none !important;
				@include transition(.3s);
				span {
					&:before {
						font-size: 30px;
						color: rgba(255,255,255,.5);
						@include transition(.3s);
					}
				}
				&:hover,&:focus{
					span{
						&:before{
							color: $white;
						}
					}
				}
				opacity: 0;
			}
			.owl-prev {
				left: 0;
				margin-left: 0;
			}
			.owl-next {
				right: 0;
				margin-right: 0;
			}
		}
		&:hover{
			.owl-nav{
				.owl-prev,
				.owl-next{
					opacity: 1;
				}
				.owl-prev {
					margin-left: 50px;
				}
				.owl-next {
					margin-right: 50px;
				}
			}
		}
		.owl-dots {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 40px;
			width: 100%;
			text-align: center;
			@include media-breakpoint-down(sm){
				bottom: 5px;
			}
			.owl-dot {
				width: 10px;
				height: 10px;
				margin: 5px;
				border-radius: 50%;
				background: rgba(255,255,255,.4);
				&.active {
					background: $white;
				}
			}
		}
	}
}
.owl-carousel.owl-drag .owl-item {
	-ms-touch-action: pan-y;
	touch-action: pan-y;
}


.bg-light {
	background: #f4f4f4!important;
}

.bg-lighten {
	background: $light!important;
}

.bg-primary{
	background: $primary !important;
}

.bg-secondary{
	background: $primary !important;
}

.bg-tertiary{
	background: $primary !important;
}

.bg-quarternary{

	background: $primary !important;
}



//BUTTON
.btn {
	padding: 12px 16px;
	cursor: pointer;
	border-radius: 40px;
	box-shadow: none!important;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	&:hover, &:active, &:focus {
		outline: none;
	}
	&.btn-primary {
		background: $primary;
		border: 2px solid $primary;
		color: $white;
		&:hover {
			border: 2px solid $primary;
			background: transparent;
			color :$primary;
		}
		&.btn-outline-primary {
			border: 2px solid $primary;
			background: transparent;
			color :$primary;
			&:hover {
				border: 2px solid transparent;
				background: $primary;
				color :$white;
			}
		}
	}
	&.btn-white {
		background: $white;
		border: 1px solid $white;
		color: $black;
		&:hover {
			border: 1px solid $white;
			background: transparent;
			color :$white;
		}
		&.btn-outline-white {
			border: 1px solid $white;
			background: transparent;
			color :$white;
			&:hover {
				border: 1px solid transparent;
				background: $white;
				color :$black;
			}
		}
	}
}


.img-video{
	background-position: center center;
	position: relative;
	@include media-breakpoint-down(sm){
		height: 400px;
	}
}
.icon-video{
	width: 80px;
	height: 80px;
	background: $white;
	animation: pulse 2s infinite;
	-webkit-box-shadow: 0px 10px 30px -4px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 10px 30px -4px rgba(0,0,0,0.15);
	box-shadow: 0px 10px 30px -4px rgba(0,0,0,0.15);
	@include media-breakpoint-up(md){
		// margin-right: -35px;
	}

	@include border-radius(50%);
	span{
		font-size:20px;
		color: $primary;
	}
}



//SERVICES
.services-2{
	width: 100%;
	padding: 50px 40px 50px 0;
	.icon{
		// width: 100px;
		// height: 100px;
		// border-radius: 50%;
		margin-bottom: 0;
		line-height: 1.2;
		span{
			font-size: 60px;
			color: $black;
		}
	}
	.text{
		width: 100%;
		h4{
			font-size: 20px;
			font-weight: 600;
			// color: $black;
			text-transform: uppercase;
			margin-bottom: 0;
		}
		span.subheading{
			display: block;
			margin-bottom: 30px;
			color: $primary;
			position: relative;
			&:after{
				position: absolute;
				bottom: -10px;
				left: 0;
				width: 40px;
				height: 1px;
				content: '';
				background: $primary;
			}
		}
	}
	&.services-block{
		background: $primary;
		padding: 100px 40px 50px 40px;
		@include media-breakpoint-up(lg){
			margin-top: -50px;
		}
		.text{
			color: rgba(255,255,255,.8);
			h4{
				color: $white;
				text-transform: capitalize;
				margin-bottom: 40px;
				font-size: 24px;
			}
		}
	}
}

//SERMONS
.sermon-wrap{
	.img{
		width: 100%;
	}
	.btn-customize{
		a{
			@include media-breakpoint-down(md){
				display: block;
				margin-bottom: 5px;
			}
		}
	}
	.text{
		@include media-breakpoint-down(sm){
			padding: 20px;
		}
		h2{
			font-weight: 700;
			font-size: 32px;
			a{
				color: $primary;
			}
		}
	}
	.meta{
		span{
			display: block;
			margin-bottom: 15px;
			font-weight: 700;
			.ptr{
			}
		}
	}
	&.sermon-wrap-2{
		.img{
			display: block;
			height: 250px;
			margin-bottom: 0;
		}
		h2{
			font-size: 22px;
			font-weight: 500;

		}
		.text{
		
		}
		.meta{
			span{
				display: inline-block;
				margin-bottom: 0;
			}
		}
		.btn-custom{
			border: 1px solid $primary;
			display: block;
		}
	}
}


//GALLERY
.gallery{
	width: 100%;
	height: 350px;
	display: block;
	position: relative;
	z-index: 0;

	&:before, &:after,.overlay{
		position: absolute;
		content: '';
		background: rgba(255,255,255,1);
		z-index: -1;
		opacity: 0;
		@include transition(.3s);
	}
	.overlay{
		background: $black;
		content: '';
		left: 0;
		right: 0;
		bottom: 0;
		top: 0;
		z-index: -2;
	}
	&:before{
		width: 130px;
		height: 1px;
		top: 100px;
		left: 50%;
		transform: translateX(-50%);
	}
	&:after{
		width: 1px;
		height: 150px;
		left: 50%;
		top: 60px;
		transform: translateX(-50%);
	}
	&:hover{
		.overlay{
			opacity: .5;
		}
		&:after,&:before{
			opacity: 1;
		}
	}
}


#section-counter{
	position: relative;
	z-index: 0;
}
.ftco-counter {
	overflow-x: hidden;
	position: relative;
	padding: 5em 0;
	@include media-breakpoint-down(lg){
		background-position: center center !important;
	}
	.block-18{
		display: block;
		width: 100%;
		@include media-breakpoint-down(md){
			margin-bottom: 2em;
		}
	}
	.text{
		position: relative;
		@include media-breakpoint-down(sm){
			width: 100%;
		}
		.number{
			line-height: 1;
			font-weight: 600;
			font-size: 30px;
			color: $white;
			display: block;
			margin-bottom: 5px;
		}
		span{
			font-size: 14px;
			color: $white;
			font-weight: 500;
			text-transform: uppercase;
			letter-spacing: 3px;
		}
	}
	.counter-wrap{
		@include media-breakpoint-down(sm){
			margin-bottom: 20px;
		}
	}
}




.form-control {
	height: 52px;
	background: $white!important;
	color: $black!important;
	font-size: 14px;
	border-radius: 5px;
	box-shadow: none!important;
	&:focus, &:active {
		border-color: $black;
	}
}
textarea.form-control {
	height: inherit!important;
}


.ftco-animate {
	opacity: 0;
	visibility: hidden;
}



//ABOUT SINGLE
.about-author{
	img{
	}
	.desc{
		h3{
			font-size: 24px;
		}
	}
	.bio{

	}
}


.ftco-section {
	padding: 9em 0;
	position: relative;
	@include media-breakpoint-down(sm){
		padding: 6em 0;
	}
}

.ftco-bg-dark {
	background: #3c312e;
}

.ftco-no-pt{
	padding-top: 0 !important;
}
.ftco-no-pb{
	padding-bottom: 0 !important;
}


//WRAP_ABOUT
.wrap-about{
	.block-18{
		display: block;
		width: 100%;
		@include media-breakpoint-down(md){
			margin-bottom: 2em;
		}
		.icon{
			width: 62px;
			height: 62px;
			border-radius: 50%;
			background: $light;
			span{
				color: $primary;
				font-size: 34px;
			}
		}
		.desc{
			width: calc(100% - 80px);
			margin: 0 0 0 auto;
		}
	}
	.text{
		position: relative;
		@include media-breakpoint-down(sm){
			width: 100%;
		}
		.number{
			line-height: 1;
			font-weight: 700;
			font-size: 30px;
			color: $primary;
			display: block;
			margin-bottom: 4px;
		}
		span{
			font-size: 16px;
			color: $black;
		}
	}
	.counter-wrap{
		@include media-breakpoint-down(sm){
			margin-bottom: 20px;
		}
	}
}


//FOOTER
.footer{
	background: #1a1a1a;
	position: relative;
	z-index: 0;
	overflow: hidden;
	padding: 7em 0;
	a{
		color: $primary;
	}
	p{
		color: rgba(255,255,255,.6);
	}
	.copyright{
		color:rgba(255,255,255,.3);
		color: lighten($black,60%);
	}
	.footer-heading{
		font-size: 18px;
		margin-bottom: 30px;
		font-weight: 800;
		color: $white;
		text-transform: uppercase;
		position: relative;
	}
	ul.list-unstyled{
		li{
			a{
				display: block;
				border-bottom: 1px solid rgba(255,255,255,.05);
				color: rgba(255,255,255,.7);
			}
		}
	}
	.block-21 {
		.img{
			display: block;
			height: 80px;
			width: 80px;
		}
		.text {
			width: calc(100% - 100px);
			.heading {
				font-size: 16px;
				font-weight: 400;
				line-height: 1.4;
				a {
					color: $white;
					&:hover, &:active, &:focus {
						text-decoration: none;
					}
				}
			}
			.meta {
				> div {
					display: inline-block;
					font-size: 12px;
					margin-right: 5px;
					a {
						color: lighten($black, 50%);
					}
				}
			}
		}
	}
	.block-23{
		ul{
			li{
				color: rgba(255,255,255,.6);
				a{
					color: rgba(255,255,255,.6);
				}
				.icon{
					color: rgba(255,255,255,.4);
				}
			}
		}
	}
	.ftco-footer-social{
		li{
			a{
				background: rgba(255,255,255,.1);
				color: $primary;
			}
		}
	}
}

.ftco-footer-social {
	li {
		list-style: none;
		margin: 0 10px 0 0;
		display: inline-block;
		a {
			height: 40px;
			width: 40px;
			display: block;
			float: left;
			background: rgba($white, .05);
			border-radius: 50%;
			position: relative;
			span {
				position: absolute;
				font-size: 20px;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
			}
			&:hover {
				color: $white;
			}
		}
	}
}



@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba($primary, 0.4);
  }
  70% {
      -webkit-box-shadow: 0 0 0 30px rgba($primary, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0 0 rgba($primary, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba($primary, 0.4);
    box-shadow: 0 0 0 0 rgba($primary, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 0 30px rgba($primary, 0);
      box-shadow: 0 0 0 30px rgba($primary, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba($primary, 0);
      box-shadow: 0 0 0 0 rgba($primary, 0);
  }
}

.heading-section{
	position: relative;
	z-index: 0;
	.subheading{
		font-size: 12px;
		display: inline-block;
		font-weight: 800;
		color: $primary;
		text-transform: uppercase;
		letter-spacing: 2px;
		position: relative;
		z-index: 0;
		margin-bottom: 10px;
		&:before, &:after{
			position: absolute;
			content: '';
			background: $primary;
			z-index: -1;
			opacity: .4;
		}
		&:before{
			width: 130px;
			height: 1px;
			top: -20px;
			left: 50%;
			transform: translateX(-50%);
		}
		&:after{
			width: 1px;
			height: 150px;
			left: 50%;
			top: -60px;
			transform: translateX(-50%);
		}
	}
	h2{
		font-size: 40px;
		font-weight:600;
		line-height: 1.3;
		text-transform: uppercase;
		z-index: 0;
		position: relative;
		color: $black;
		@include media-breakpoint-down(sm){
			font-size: 28px;
		}
	}
	&.heading-section-white{
		.subheading{
			color: $white;
		}
		h2{
			color: $white;
		}
		p{
			color: rgba(255,255,255,.9);
		}
	}
}

//COVER BG
.img,
.blog-img,
.user-img{
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}




//TESTIMONY
.testimony-section{
	position: relative;
	background: darken($primary,10%);
	.owl-carousel{
		margin: 0;
	}
	.owl-carousel .owl-stage-outer{
		padding: 20px 0 2em 0;
		position: relative;
	}
	.owl-nav {
		position: absolute;
		top: 100%;
		width: 100%;
		.owl-prev,
		.owl-next {
			position: absolute;
			transform: translateY(-50%);
			margin-top: -10px;
			outline: none !important;
			@include transition(.3s);
			span {
				&:before {
					font-size: 30px;
					color: rgba(0,0,0,.5);
					@include transition(.3s);
				}
			}
			&:hover,&:focus{
				span{
					&:before{
						color: $white;
					}
				}
			}
			opacity: 0;
		}
		.owl-prev {
			left: 50%;
			margin-left: -80px;
		}
		.owl-next {
			right: 50%;
			margin-right: -80px;
		}
	}
	&:hover{
		.owl-nav{
			.owl-prev,
			.owl-next{
				opacity: 1;
			}
			.owl-prev {
				left: 50%;
				margin-left: -80px;
			}
			.owl-next {
				right: 50%;
				margin-right: -80px;
			}
		}
	}
	.owl-dots {
		text-align: center;
		.owl-dot {
			width: 10px;
			height: 10px;
			margin: 5px;
			border-radius: 50%;
			background: rgba(255,255,255,.3);
			&:after{
				border-color: rgba(255,255,255,.3);
			}
			&.active {
				background: $white;
				&:after{
					border-color: $white;
				}
			}
		}
	}
}
.testimony-wrap{
	display: block;
	position: relative;
	padding: 40px;
	border-radius: 5px;
	z-index: 0;
	background: $white;
	.user-img{
		width: 80px;
		height: 80px;
		border-radius: (50%);
		position: relative;
	}
	.text{
		width: calc(100% - 80px);
		position: relative;
		// color: rgba(255,255,255,.8);
		@include media-breakpoint-down(sm){
			width: 100%;
			padding-top: 10px;
		}
		p{
			color: $black;
		}
	}
	.quote{
		position: absolute;
		top: -60px;
		left: 25px;
		opacity: 1;
		width: 40px;
		height: 40px;
		background: $primary;
		border-radius: 50%;
		@include media-breakpoint-down(sm){
			top: -140px;
		}
		i{
			font-size: 20px;
			color: $white;
		}
	}
	.name{
		font-weight: 600;
		font-size: 19px;
		margin-bottom: 0;
		color: $black;
	}
	.position{
	}
}

//VOLUNTEER
.staff{
	width: 100%;
	margin-bottom: 30px;
	.img{
		background-position: top center;
		width: 100%;
		display: block;
		height: 300px;
		@include transition(.3s);
	}
	.text{
		padding: 10px 20px;
		width: 80%;
		margin: 0 auto;
		text-align: center;
		margin-top: -40px;
		border-radius: 4px;
		background: $primary;
		@include transition(.3s);
		h3{
			color: $white;
			font-size: 18px;
			margin-bottom: 0;
			font-weight: 700;
		}
		span{
			color: rgba(255,255,255,.7);
		}
	}
	&:hover{
		.text{
			width: 90%;
		}
	}
}




// magnific pop up

.image-popup {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transition: all 0.3s ease-out; 
  -moz-transition: all 0.3s ease-out; 
  -o-transition: all 0.3s ease-out; 
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}


//MINISTRIES
.ministry{
	margin-bottom: 30px;
	width: 100%;
	@include media-breakpoint-down(sm){
		margin-bottom: 60px;
	}
	.img{
		width: 100%;
		display: block;
		height: 350px;
		@include media-breakpoint-down(sm){
			width: 100%;
			height: 300px;
		}
	}
	.text{
		width: 100%;
		background: $light;
		@include media-breakpoint-down(sm){
			width: 100%;
		}
		h2{
			font-size: 24px;
			font-weight: 600;
			a{
				color: $black;
			}
		}
	}
}

//EVENT
.event-wrap{
	margin-bottom: 30px;
	width: 100%;
	@include media-breakpoint-down(sm){
		margin-bottom: 60px;
	}
	.img{
		width: 100%;
		display: block;
		height: 430px;
		@include media-breakpoint-down(sm){
			width: 100%;
			height: 300px;
			margin-bottom: 20px;
		}
	}
	.text{
		width: 100%;
		background: $light;
		@include media-breakpoint-down(sm){
			width: 100%;
		}
		h2{
			font-size: 30px;
			margin-bottom: 22px;
			font-weight: 600;
			a{
				color: $black;
			}
		}
		.meta{
			p{
				font-weight: 600;
				span{
					display: block;
					margin-bottom: 10px;
				}
				font-size: 17px;
			}
		}
	}
}


//blocks 
.block-20 {
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	height: 300px;
	position: relative;
	display: block;
	width: 100%;
	// border-radius: 50% 0 0 0;
}
.blog-entry{
	display: block;
	width: 100%;
	@include media-breakpoint-up(md){
		margin-bottom: 40px;
	}
	@include media-breakpoint-down(sm){
		margin-bottom: 30px;
	}
	.text {
		position: relative;
		border-top: 0;
		border-radius: 2px;
		width: 100%;
		border: 1px solid $light;
		z-index: 0;
		border-radius: 0 0 10px 10px;
		background: $light;
		@include transition(.3s);
		&:after{
			position: absolute;
			bottom: -4px;
			left: 20px;
			right: 20px;
			content: '';
			height: 4px;
			background: $primary;
			border-radius: 0 0 6px 6px;
			@include transition(.3s);
		}
		.tag{
			color: lighten($black,70%);
		}
		.heading {
			font-size: 20px;
			margin-bottom: 16px;
			font-weight: 600;
			a {
				color: $black;
				&:hover, &:focus, &:active {
					color: $primary;
				}
			}
		}
		.meta-chat{
			color: $primary;
		}
		.read{
			color: $black;
			font-size: 14px;
		}
	}
	.meta {
		> div {
			display: inline-block;
			margin-right: 5px;
			margin-bottom: 5px;
			font-size: 12px;
			text-transform: uppercase;
			letter-spacing: 1px;
			a {
				color: $primary;
				font-weight: 500;
				&:hover {
					color: lighten($black, 20%);
				}
			}
		}
	}
	&:hover{
		.text{
			&:after{
				background: $primary;
				bottom: -5px;
				height: 5px;
				border-radius: 0 0 5px 5px;
			}
			.btn-outline-secondary{
				background: $primary;
				color: $white;
			}
		}
	}
}


.block-23 {
	ul {
		padding: 0;
		li {
			
			&, > a {
				display: table;
				line-height: 1.5;
				margin-bottom: 15px;
			}
			span{
				color: rgba($white, .7);
			}
			.icon, .text {
				display: table-cell;
				vertical-align: top;
			}
			.icon {
				width: 40px;
				font-size: 18px;
				padding-top: 2px;
				color: rgba($white, 1);
			}
			
		}
	}
}

.block-27 {
	ul {
		padding: 0;
		margin: 0;
		li {
			display: inline-block;
			margin-bottom: 4px;
			font-weight: 400;
			a,span {
				color: lighten($black,50%);
				text-align: center;
				display: inline-block;
				width: 40px;
				height: 40px;
				line-height: 40px;
				border-radius: 50%;
				border: 2px solid lighten($black,90%);
			}
			&.active {
				a, span {
					background: $primary;
					color: $white;
					border: 1px solid transparent;
				}
			}
		}
	}
}


//CONTACT FORM
.wrapper{
	width: 100%;
}
.contact-wrap{
	background: $primary;
	h3{
		color: $white;
	}
}

.info-wrap{
	@include media-breakpoint-down(sm){
		height: 400px;
	}
}

.dbox{
	width: 100%;
	margin-bottom: 25px;
	@include media-breakpoint-down(sm){
		margin-bottom: 25px !important;
		padding: 0 20px;
	}
	p{
		margin-bottom: 0;
		span{
			font-weight: 700;
			color: $black;
			display: block;
			font-size: 16px;
		}
		a{
			color: $primary;
		}
	}
	.icon{
		width: 100px;
		height: 100px;
		border-radius: 50%;
		background: $primary;
		margin: 0 auto;
		margin-bottom: 20px;
		span{
			font-size: 40px;
			color: $white;
		}
	}
	.text{
		width: 100%;
	}
}

.contactForm{

	.label{
		color: $white !important;
		text-transform: uppercase;
		font-size: 12px;
		font-weight: 600;
	}
	.form-control{
		border: none;
		padding: 10px;
	}

	.form-control {
		height: 50px;
		background: $white !important;
		color: rgba(0,0,0,.5);
		font-size: 14px;
		border-radius: 4px;
		box-shadow: none !important;
		border-bottom: none;
		&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
		  color: rgba(0,0,0,.5) !important;
		}
		&::-moz-placeholder { /* Firefox 19+ */
		  color: rgba(0,0,0,.5) !important;
		}
		&:-ms-input-placeholder { /* IE 0+ */
		  color: rgba(0,0,0,.5) !important;
		}
		&:-moz-placeholder { /* Firefox 18- */
		  color: rgba(0,0,0,.5) !important;
		}
		&:focus, &:active {
			border-color: $primary !important;
		}
	}
	textarea.form-control {
		height: inherit!important;
	}
}

#map {
	height: 500px;
	width: 100%;
	@include media-breakpoint-down(sm) {
		height: 300px;
	}
}



//### .block-21
.block-21 {
	.blog-img{
		display: block;
		height: 80px;
		width: 80px;
	}
	.text {
		width: calc(100% - 100px);
		.heading {
			font-size: 16px;
			font-weight: 400;
			a {
				color: $black;
				&:hover, &:active, &:focus {
					color: $primary;
				}
			}
		}
		.meta {
			> div {
				display: inline-block;
				font-size: 12px;
				margin-right: 5px;
				a {
					color: lighten($black, 50%);
				}
			}
		}
	}
}

/* Blog*/
.post-info {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	color: $white;
	letter-spacing: .1em;
	> div {
		display: inline-block;

		.seperator {
			display: inline-block;
			margin: 0 10px;
			opacity: .5;
		}
	}
}

.tagcloud {
	a {
		text-transform: uppercase;
		display: inline-block;
		padding: 4px 10px;
		margin-bottom: 7px;
		margin-right: 4px;
		border-radius: 4px;
		color: $black;
		border: 1px solid #ccc;
		font-size :11px;
		&:hover {
			border: 1px solid #000;
		}
	}
}

.comment-form-wrap {
	clear: both;
}

.comment-list {
	padding: 0;
	margin: 0;
	.children {
		padding: 50px 0 0 40px;
		margin: 0;
		float: left;
		width: 100%;
	}
	li {
		padding: 0;
		margin: 0 0 30px 0;
		float: left;
		width: 100%;
		clear: both;
		list-style: none;
		.vcard {
			width: 80px;
			float: left;
			img {
				width: 50px;
				border-radius: 50%;
			}
		}
		.comment-body {
			float: right;
			width: calc(100% - 80px);
			h3 {
				font-size: 20px;
			}
			.meta {
				text-transform: uppercase;
				font-size: 13px;
				letter-spacing: .1em;
				color: $primary;
			}
			.reply {
				padding: 5px 10px;
				background: $primary;
				color: $white;
				text-transform: uppercase;
				font-size: 11px;
				letter-spacing: .1em;
				font-weight: 400;
				border-radius: 4px;
				&:hover {
					color: $white;
					background: lighten($black, 0%);
				}
			}
		}
	}
}

.search-form {
	.form-group {
		position: relative;

		input {
			padding-right: 50px;
			font-size: 14px;
		}
	}
	.fa {
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
	}
}


// SIDEBAR
.sidebar-box {
	margin-bottom: 40px;
	font-size: 15px;
	width: 100%;
	
	float: left;
	
	background: $white;
	*:last-child {
		margin-bottom: 0;
	}
	h3 {
		font-size: 22px;
		margin-bottom: 15px;
		font-weight: 700;
	}
}

.categories, .sidelink {
	li {
		position: relative;
		margin-bottom: 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid gray('300');
		list-style: none;
		&:last-child {
			margin-bottom: 0;
			border-bottom: none;
			padding-bottom: 0;
		}
		a {
			display: block;
			color: lighten($black,10%);
			span {
				position: absolute;
				right: 0;
				top: 0;
				color: #ccc;
			}
			&:hover,&:focus{
				outline: none;
				color: $primary;
			}
		}
		&.active {
			a {
				color: $primary;
				span{
					color: $primary;
				}
			}
		}
	}
}


#ftco-loader {
	position: fixed;
	width:  96px;
	height: 96px;
	left:  50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(255,255,255,0.9);
	box-shadow: 0px 24px 64px rgba(0,0,0,0.24);
	border-radius:16px;
	opacity: 0; 
	visibility: hidden;
	transition: opacity .2s ease-out, visibility 0s linear .2s;
	z-index:1000;
}

#ftco-loader.fullscreen {
	padding:  0;
	left:  0;
	top:  0;
	width:  100%;
	height: 100%;
	transform: none;
	background-color: #fff;
	border-radius: 0;
	box-shadow: none;
}

#ftco-loader.show {
	transition: opacity .4s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

#ftco-loader .circular {
  animation: loader-rotate 2s linear infinite;
  position: absolute;
  left:  calc(50% - 24px);
  top:  calc(50% - 24px);
  display: block;
  transform: rotate(0deg);
}

#ftco-loader .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: loader-dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}

@keyframes loader-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px;
  }
}