:root {
  --clr-red: #CA0303;
  --clr-dark: #000A12;
  --clr-white: #FFFFFF;
  --clr-dark-tint: #f2f2f4;
  --clr-grey: #7f7f7f;
  --clr-dark-grey: #888888;
  --clr-light-grey: #f0f0f0;
  --wrapper-padding: 8rem 3rem;
  --wrapper-footer-padding: 0 3rem 8rem 3rem;
  --wrapper-max-width-wide: 1800px;
  --wrapper-max-width-med: 1600px;
  --wrapper-max-width: 1200px;
  --wrapper-max-width-narrow: 74%;
  --header-height: 200px;
  --header-offset-height: -200px;
}

html {
	height: 100%;
	  -moz-osx-font-smoothing:grayscale;
	  -webkit-font-smoothing:antialiased;
	  font-smoothing:antialiased;
	  -webkit-text-size-adjust:100%;
	  -moz-text-size-adjust:100%;
	  -ms-text-size-adjust:100%;
	  text-size-adjust:100%;
}
	
body {
	font-family: 'Cabin', sans-serif; 
	font-weight: 400;
	font-style: normal;
	font-optical-sizing: auto;
	font-size: 1.125rem;
	line-height: 1.4;
	padding: 0;
	margin: 0;
	color: var(--clr-dark);
	background-color: var(--clr-white);
	min-height: 100%;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

img {
	width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

h1 {
	margin: 0 0 5rem 0;
	font-size: clamp(2.25rem, 5vw + 1rem, 4.3rem);
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.02em;
}

h2 {
	font-weight: 500;
	font-size: 2.25rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 2rem 0
}

h3 {
	margin: 0 0 1.5rem 0;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.2;
	letter-spacing: 0;
}

h4 {
	margin: 0 0 0.8rem 0;
	font-weight: 700;
	font-size: 1.125rem;
	
}

h5 {
	margin: 1.5rem 0;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.2;
	letter-spacing: 0;
}

h1 .bc {
	display: block;
	margin: 0 0 0.8rem 0.2rem;
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: 0;
	color: var(--clr-dark); 
}

h1 .bc a {
	color: var(--clr-grey);
}


b {
	font-weight: 700;
}

p {
	margin: 0 0 0.8rem 0;
}

.small {
	font-size: 0.8rem;
}

.img-caption {
	font-size: 0.9rem;
}


.grey {
	color: var(--clr-dark-grey);
}

.white {
	color: var(--clr-white);
}

.btn  {
	display: inline-block;
	padding: 0.6em 1.6em;
	color: var(--clr-white);
	background-color: var(--clr-red);
	font-weight: 500;
	font-size: 1rem;
	white-space: nowrap;
	-webkit-border-radius: 2em;
			border-radius: 2em;
    border: 0;
	text-decoration: none!important;
	-webkit-transform: translateX(0) translateY(0);
			transform: translateX(0) translateY(0);
    -webkit-box-shadow: 3px 3px 8px 0 rgba(0,0,0,0.2);
    		box-shadow: 3px 3px 8px 0 rgba(0,0,0,0.2);
	-webkit-transition: ease 0.12s;
			transition: ease 0.12s;
}

.btn:hover, 
.btn:focus {
	background-color: var(--clr-dark);
	color: var(--clr-white);
	-webkit-transform: translateX(1px) translateY(1px);
    		transform: translateX(1px) translateY(1px);
    -webkit-box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.1);
    		box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.1);
}

.btn:hover.white,
.btn:focus.white  {
	background-color: var(--clr-red);
	color: var(--clr-white);
}

.btn.lrg  {
	font-size: 1.25rem;
}

.btn.white  {
	color: var(--clr-red);
	background-color: var(--clr-white);
}

.btn.dark  {
	color: var(--clr-white);
	background-color: var(--clr-dark);
}

.btn.dark-bg  {
	color: var(--clr-white);
	background-color: var(--clr-red);
}

.btn:hover.dark,
.btn:focus.dark  {
	background-color: var(--clr-red);
	color: var(--clr-white);
}

.btn:hover.dark-bg,
.btn:focus.dark-bg   {
	background-color: var(--clr-white);
	color: var(--clr-red);
}

article a, footer a {
	color: var(--clr-red);
	text-decoration: none;
	-webkit-transition: 0.2s ease;
			transition: 0.2s ease;
}

article a:hover, 
article a:focus,
footer a:hover, 
footer a:focus {
	color: var(--clr-red);
	text-decoration: underline;
}

main {
	
}


article {
	position: relative;
	z-index: 999;
	background-color: var(--clr-white);
}

article.dark {
	background-color: var(--clr-dark);
	color: var(--clr-white);
}


header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	white-space: nowrap;
	align-items: center;
	position: relative;
	z-index: 99999;
	width: 100%;
	padding: 0 3rem;
	max-width: var(--wrapper-max-width-wide);
	height: var(--header-height);
}

header.black {
	background-color: var(--clr-dark);
}

#sticky {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto
}

header .logo {
	position: relative;
	z-index: 9;
	-webkit-transition: 0.15s;
			transition: 0.15s;
	max-width: 552px;
	width: 100%;
	margin-left: auto;
}

header .logo img {
	width: 62px;
	margin-top: 1.2rem;
}

nav {
	display: flex;
  	position: relative;
	align-items: center;
	margin-inline: auto;
	width: 100%;	
}

nav ul {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
}

nav li {
	display: flex;
	position: relative;
	list-style: none;
	margin-left: 1rem;
	height: 60px;
}

nav a {
	align-self: center;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--clr-dark);
	-webkit-transition: ease 0.1s;
	transition: ease 0.1s;
}

nav.white a {
	color: var(--clr-white);
}

nav.white a:hover, 
nav.white a:focus,
nav.white .has-sub ol a:hover,
nav.white .has-sub ol a:focus  {
	color: var(--clr-red);
}

nav a:hover, 
nav a:focus,
nav .has-sub ol a:hover,
nav .has-sub ol a:focus {
	color: var(--clr-red);
}

nav .has-sub a:hover,
nav .has-sub a:focus {
	color: var(--clr-dark);
}

nav.white .has-sub a:hover,
nav.white .has-sub a:focus {
	color: var(--clr-white);
}

/*nav .has-sub.spin i {
	vertical-align: middle;
	margin: 2px;
	-webkit-transform: rotate(0) scale(0.6);
	transform: rotate(0) scale(0.6);
	-webkit-transition: ease-out 0.15s;
	transition: ease-out 0.15s;
}*/

nav .has-sub.spin i {
	-webkit-transition: ease-out 0.15s;
	transition: ease-out 0.15s;
	margin-left: 6px;
	display: inline-block;
	vertical-align: middle;
	height: 6px;
	line-height: 0;
}

nav.white .has-sub.spin i:after {
	content: url("https://www.birminghamcitadel.co.uk/wp-content/themes/birminghamcitadel/pictures/chevron-down-icon-white.svg");
}

nav .has-sub.spin i:after {
	content: url("https://www.birminghamcitadel.co.uk/wp-content/themes/birminghamcitadel/pictures/chevron-down-icon.svg");
}

nav .has-sub.spin:hover i,
nav .has-sub.spin:active i {
	-webkit-transition: ease-out 0.2s;
	transition: ease-out 0.2s; 
  	-webkit-transform: rotate(180deg);
  	transform: rotate(180deg);  
}

/*nav .has-sub ol {
    display: flex;
    flex-direction: column; 
	position: absolute;
	z-index: 9;
	background: var(--clr-white);
 	visibility: hidden; 
	opacity: 0;
	padding: 1rem 1.4rem;
    top: 36px;
    left: -1.4rem;
	-webkit-transform-origin: 0 0;
			transform-origin: 0 0;
	-webkit-transform: translateY(-4px) scale(1, 0.96);
			transform: translateY(-4px) scale(1, 0.96);
	-webkit-transition: 0.15s ease-out;
			transition: 0.15s ease-out;
}

nav.white .has-sub ol {
	background: none;
 }

nav .has-sub:hover ol  {
  	visibility: visible;
	opacity: 1;
	-webkit-transform: translateY(0) scale(1);
			transform: translateY(0) scale(1);
}*/


nav .has-sub ol {
    display: flex;
    flex-direction: column; 
	position: absolute;
	z-index: 9;
	background: var(--clr-dark);
    -webkit-border-radius: 0.4em;
    		border-radius: 0.4em;
    -webkit-box-shadow: rgba(0,0,0,0.1) 3px 3px 20px 0px;
    		box-shadow: rgba(0,0,0,0.1) 3px 3px 20px 0px;
 	visibility: hidden; 
	opacity: 0;
	padding: 1.6rem;
    top: 60px;
    left: -1.6rem;
	-webkit-transition: 0.15s ease-out;
			transition: 0.15s ease-out;
	-webkit-transform: scale(0.98);
			transform: scale(0.98);
}

nav .has-sub ol:after{
    content:'';
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 2.4rem;
    width: 0;
    height: 0;
    border-bottom: solid 5px var(--clr-dark);
    border-left: solid 5px transparent;
    border-right: solid 5px transparent;
}

nav .has-sub:hover ol  {
  	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
			transform: scale(1);
}


nav .has-sub ol li {
	margin: 0;
	height: 28px;
}

nav .has-sub ol a {
	margin: 0;
	display: inline-block;
	white-space: nowrap;
 	overflow: hidden;
  	text-overflow: ellipsis;
	max-width: 100%;
	color: var(--clr-white);
}

/* .dimmer {
  	display: none;
  	position: fixed;
 	z-index: 9999;
    top: 0;
    left: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0, rgba(0,0,0,0) 100%);
    width: 100%;
    height: 100vh;
	height: 100svh; 
} */

.toggle-nav {
  	display: none;
}

.wrapper {
 	max-width: var(--wrapper-max-width);
 	width: 100%;
 	margin-inline: auto;
 	padding: var(--wrapper-padding);
}

.wrapper.top {
 	margin-top: 6rem;
}

.wrapper.no-pad-bottom {
 	padding-bottom: 0;
}

.wrapper.no-pad-top {
 	padding-top: 0;
}

.narrow {
	max-width: var(--wrapper-max-width-narrow);
}

.narrow img {
	margin-top: 2rem;
}

.videoWrapper {
	overflow: hidden;
	position: relative;
	padding-bottom: 56.25%;
	background: var(--clr-dark);
	height: 0;
	width: 100%;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;
    -webkit-box-shadow: 3px 3px 20px 0 rgba(0,0,0,0.1);
    		box-shadow: 3px 3px 20px 0 rgba(0,0,0,0.1);
}

.videoWrapper iframe,
.videoWrapper object,
.videoWrapper embed  {
	position: absolute;
	width: 100%!important;
	height: 100%!important;
}

.podcastWrapper {
	overflow: hidden;
	background: var(--clr-white);
	width: 100%;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;
	padding-bottom: 20px;
    -webkit-box-shadow: 3px 3px 20px 0 rgba(0,0,0,0.1);
    		box-shadow: 3px 3px 20px 0 rgba(0,0,0,0.1);
}

.podcastWrapper > div {
	border: none;
	margin: 0;
}


/*.podcastWrapper iframe,
.podcastWrapper object,
.podcastWrapper embed  {
	width: 100%!important;
	height: 100%!important;
}*/

.hero {
	display: flex;
	position: relative;
	z-index: 9;
	height: 100vh;
	height: 100dvh; 
	min-height: 720px;
	-webkit-transition: height 0.15s;
			transition: height 0.15s;
}

.hero img {
	filter: brightness(0.6);
	position: fixed;
	z-index: -1;
	object-fit: cover;
	height: 100%;
	width: 100%;
	background: var(--clr-white);
	-webkit-transition: 0.15s;
			transition: 0.15s;
	opacity: 1;
	animation: fade-scroll 0.4s;
	animation-play-state: paused;
	animation-delay: calc(var(--scroll) * -1.4s);
	animation-fill-mode: both;
}

@keyframes fade-scroll {
  to {
	opacity: 0.2;
	 }
}


.hero .wrapper {
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 99;
	max-width: var(--wrapper-max-width);
	padding-bottom: 6rem;
	height: 100%;
  	 -webkit-transition: transform 0.3s ease;
	 		 transition: transform 0.3s ease; 
	animation: translate-y-hero 0.7s;
	animation-play-state: paused;
	animation-delay: calc(var(--scroll) * -0.9s);
	animation-fill-mode: both;
}

@keyframes translate-y-hero {
  to {
	-webkit-transform: translateY(-50%);
	   		transform: translateY(-50%);
	 }	
}

.hero .wrapper h1 {
	font-size: 1.5rem;
	margin: 4rem 0 3rem 0;
	line-height: 1.3;
	font-weight: 400;
	color: var(--clr-white);
	max-width: 27rem;
	letter-spacing: 0;
}


.hero .wrapper h2 {
	font-size: clamp(3.8rem, 5vw + 1rem, 6rem);
	margin: auto 0 0 0;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--clr-white);
}

.hero-buttons {
	display: flex;
	margin-bottom: 3rem;	
}

.hero-buttons > * {
	margin-right: 0.8rem;
}

.home-ln-wrapper, .home-worship-wrapper, .page-worship-wrapper {
	position: relative;	
	z-index: 9999;
	display: grid;
	grid-template-columns:  1fr 1fr;
	grid-column-gap: 4rem;
	max-width: var(--wrapper-max-width-med);
	margin-inline: auto;
	padding: var(--wrapper-padding);
}

.home-ln-wrapper {
	padding-top: 0;
}


.skyline {
	display: flex;
	justify-content: center;
	position: absolute;
	z-index: 999;
	bottom: 0;
	left: 0;
	right: 0;	
	width: 100%;
	overflow: hidden;
	line-height: 0;
	opacity: 0.15;
}

.skyline img {
	margin: auto;
	max-width: 1800px;
	min-width: 900px;
}

.home-latest-news,
.home-worship {
	max-width: 515px;
	margin-bottom: 12%;
	align-self: flex-end;
}

.home-latest-news {
	justify-self: end;

}

.home-latest-news-img,
.home-worship-img {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	
}

.home-latest-news-img img,
.home-worship-img img,
.ln-fw-img img,
.ln-split-img img {
	object-fit: cover;	
    position: absolute;
    bottom: 0;
    z-index: 9;
	width: 100%;
	height: 100%;
}

.home-worship-wrapper {
	padding-bottom: 6rem;
	color: var(--clr-white);
}

.page-worship-wrapper {
	padding: var(--wrapper-padding);
	color: var(--clr-white);
	margin-bottom: 8rem;
}


.home-worship-img {
	padding-bottom: 80%;
}

.home-latest-news h1,
.home-worship h1 {
	font-size: 2.25rem;
	margin: 0 0 2rem 0;
}

.home-latest-news .btn,
.home-worship .btn, 
.home-media .btn {
	margin: 0.6rem 0 0 0;
}


.home-media-container {
	position: relative;
	overflow: hidden;
	background: var(--clr-dark);
}

.page-media-container {
	position: relative;
	overflow: hidden;
}

.page-media-container section:first-child {
	border-top: 2px solid var(--clr-dark);
	padding-top: 6rem;
}

.home-media-container::before {
	content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    top: 7rem;
    background: var(--clr-white);
}

.home-media {
	padding-top: 0;
}

.home-media section {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	margin-bottom: 6rem;
}

.home-media .media-container {
	width: 100%;
}

.home-media section:last-child {
	align-items: center;
	margin-bottom: 0;
}

.home-media section h2 {
	margin-top: 0;
}

.home-media section .title {
	margin: 0 4rem 0 0;
}

.home-media section:last-child .title {
	margin: 0 0 0 4rem;
}

.background-fade {
	z-index: unset;
}

.background-fade::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 140%;
	z-index: 98;
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%);
}

.background-fade::before {
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 140%;
	z-index: 98;
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

footer {
	position: relative;
	z-index: 999;
	background-color: var(--clr-white);
}

footer a {
	color: var(--clr-red);
	text-decoration: none;
	-webkit-transition: 0.2s ease;
			transition: 0.2s ease;
}

footer a:hover, 
footer a:focus {
	color: var(--clr-red);
	text-decoration: underline;
}

footer h2 {
	margin: 0 0 1.4rem 0;
	line-height: 1.1;
}

footer p {
	margin: 0 0 0.5rem 0;
}

footer .btn {
	margin: 0.6rem 0 3rem 0;
}

footer ul {
    display: flex;
    padding: 0;
    margin: auto 0;
}

footer li {
	position: relative;
	list-style: none;
	margin: 0 1rem 0 0;
}

footer li i {
	font-size: 2rem;
}

footer li a {
	color: var(--clr-dark);
	font-weight: 700;
}


footer .top {
	display: flex;
	padding: 0;
}

footer .bottom {
	display: flex;
	flex-direction: column;
	background: linear-gradient(to bottom, rgba(0,0,0,0.03) 0, rgba(0,0,0,0) 60%);
}

img.footer-skyline, img.reflection {
	width: 100%;
	max-width: 900px;
	margin: auto;
	padding: 0 1rem;
}

img.reflection {
 -webkit-transform: scaleX(-1);
  		 transform: scaleX(-1);
 -webkit-transform: scaleY(-1);
  		 transform: scaleY(-1);
  		 opacity: 0.14;
}

footer .wrapper {
	padding: var(--wrapper-footer-padding);
	margin-top: -3.8rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 4fr 3fr;
	grid-column-gap: 3rem;
	justify-items: start;
	align-items: start;
	margin-bottom: 2rem;
}

.footer-content img  {
	width: 62px;
}

.footer-buttons {
	display: flex;
	margin: 1rem 0 2rem 0;
}

.footer-buttons .btn {
	margin: 0.6rem 0.6rem 0 0;
}

.footer-base {
	font-size: 0.85rem;
	border-top: solid 1px var(--clr-dark);
}

.footer-base ul {
	flex-direction: column;
	margin: 1rem 0;
}

.footer-base ul li {
	margin: 0.1rem 0;
}

a.credit {
	color: var(--clr-dark);
	opacity: 0.4;
}

a.credit:hover,
a.credit:focus {
	opacity: 1;
	color: var(--clr-dark);
	text-decoration: none;
}

.news-events-list {
	max-width: var(--wrapper-max-width-narrow);
}

.news-events-list section {
	display: grid;
	grid-template-columns: 220px 1fr;
	grid-column-gap: 2rem;
	align-items: end;
	margin-bottom: 2rem;
}

.news-events-list section:last-child {
	margin-bottom: 0;
}

.news-events-list section h3 {
	margin-bottom: 0.8rem;
}

.news-events-list section .btn {
	margin: 0.8rem 0;
}

.news-events-list-img  {
	display: block;
	position: relative;
	overflow: hidden;
	width: 220px;
	height: 0;
	padding-bottom: 220px;
	
}

.news-events-list-img img {
	object-fit: cover;	
    position: absolute;
    bottom: 0;
    z-index: 9;
	width: 100%;
	height: 100%;
}

.ln-fw-wrapper {
	position: relative;	
	z-index: 9999;
	display: grid;
	grid-template-columns:  1fr 1fr;
	grid-column-gap: 3rem;
	max-width: var(--wrapper-max-width-med);
	margin-inline: auto;
	padding: var(--wrapper-padding);
	padding-top: 0;
	padding-left: 0;
}

.ln-fw-img {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 80%;	
}

.ln-fw-text {
	max-width: 552px;
	align-self: flex-start;
}

.ln-split-wrapper {
	position: relative;	
	z-index: 9999;
	display: grid;
	grid-template-columns:  1fr 1fr;
	grid-column-gap: 3rem;
	max-width: var(--wrapper-max-width-wide);
	padding: var(--wrapper-padding);
	padding-top: 12rem;
	padding-bottom: 6rem;
	padding-right: 0;
	margin-inline: auto;
}

.ln-split-heading {
	max-width: 552px;
	width: 100%;
	margin-bottom: 12%;
	align-self: flex-end;
	justify-self: end;
}

.ln-split-heading h1 {
	margin: 0;
}

.ln-split-img {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 80%;	
}

.more-news-heading {
	border-top: 2px solid var(--clr-dark);
	margin: 0 0 3rem 0;
	padding-top: 3rem;
}

.hero-page {
	display: flex;
	position: relative;
	z-index: 9;
	overflow: hidden;
	width: 100%;
	height: 690px;
}

/*.hero-page::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 98;
	background: linear-gradient(to top, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 75%);
}

.hero-page::before {
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 98;
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 31%);
}*/


.hero-page img {
	filter: brightness(0.6);
	position: absolute;
	z-index: -1;
	object-fit: cover;
	height: 100%;
	width: 100%;
	background: var(--clr-white);
}


.hero-page .wrapper {
	display: flex;
	position: relative;
	z-index: 99;
	max-width: var(--wrapper-max-width);
	margin-top: auto;
	padding-bottom: 4rem;
}

.hero-page h1 {
	color: var(--clr-white);

}

.hero-page h1 .bc {
	display: block;
	margin: 0 0 0.8rem 0.2rem;
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: 0;
	color: var(--clr-white); 
}

.hero-page h1 a {
	color: var(--clr-dark-tint)!important;
}

.hero-page h1 a:hover {
	color: var(--clr-red)!important;
}


fieldset {
	width: 100%;
	max-width: 816px;
	margin: 4rem 0 0 0;
	border: none;
	background-color: rgba(0,0,0,0.03);
	padding: 4rem 3rem;
	-webkit-border-radius: 1em;
    		border-radius: 1em;
}

label {
    font-size: 0.95rem;
}

abbr[title] {
	border-bottom:none!important;
	cursor:inherit!important;
	text-decoration:none!important;
}

input {
	font-family: 'Cabin', sans-serif; 
	font-weight: 400;
	border: 0;
	border-bottom: 1px solid rgba(0,0,0,0.22);
	width: 100%;
	background: none;
	font-size: 1.125rem;	
	line-height: 40px;
	margin: 0 0 20px 0;
	outline: none;
	border-radius: 0;
	-webkit-box-shadow: none; box-shadow: none;
	-webkit-border-radius: 0; border-radius: 0;
	-webkit-transition: all 0.1s;
    		transition: all 0.1s;
}

input:focus, input:optional:focus {
	border-bottom: 1px solid rgba(0,0,0,1);
}

input:valid {	
	border-bottom: 1px solid rgba(0,0,0,1);
}

input:optional {	
	border-bottom: 1px solid rgba(0,0,0,0.22);
}


textarea {
	font-family: 'Cabin', sans-serif; 
	font-weight: 400;
	font-size: 1.125rem;
	border: 1px solid rgba(0,0,0,0.22);
	width: 100%;
	background: none;	
	margin: 10px 0 20px 0;
	padding: 14px;
	outline: none;
    -webkit-border-radius: 0.2em;
	border-radius: 0.2em;
	-webkit-box-shadow: none; box-shadow: none;
	-webkit-transition: all 0.1s;
    		transition: all 0.1s;
}

textarea:focus {
	border: 1px solid rgba(0,0,0,1);
}

input[type="checkbox"] {
	border: 1px solid rgba(3,3,5,0.3)!important;
	-webkit-border-radius: 3px!important; 
	border-radius: 3px!important;
	width: auto;
	margin: 0 8px 0 0!important;
}

button.btn[type="button"],
button.btn[type="submit"]{
	font-family: 'Cabin', sans-serif;
	margin-top: 1rem;
	-webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

button.btn[type="button"]:hover, 
button.btn[type="submit"]:hover  {
}

input[placeholder] { text-overflow: ellipsis; }
::--placeholder { text-overflow: ellipsis; } /* firefox 19+ */
input:--placeholder { text-overflow: ellipsis; }


form #website {
	display: none;
}

@media screen and (max-width: 1300px) {	


header {
	max-width: var(--wrapper-max-width);
}

}



@media screen and (max-width: 1080px) {	
	
:root {	
	--header-height: 160px;
	--header-offset-height: -160px;
	--wrapper-padding: 4rem 3rem;
	--wrapper-footer-padding: 0 3rem 4rem 3rem;	
}


body.mob-nav {
	overflow:hidden;
}

header, nav {
	height: var(--header-height);
}
		
	
nav {
	display: none;
	position: fixed;
	z-index: 1;
	inset: 0;
	height: 100vh;
	height: 100svh;
	min-height: 100%;
	background-color: var(--clr-dark);
	overflow-y: auto;
	margin: 0;
	padding: 0;
}

nav ul {	
	align-items: flex-start;
	flex-flow: column;
	opacity: 0;
	background-color: var(--clr-dark);
	max-width: var(--wrapper-max-width);
  	padding: var(--wrapper-padding);
  	margin-inline: auto;
  	padding-top: 10rem;
  	-webkit-transform: translateY(3%);
            transform: translateY(3%);
  	 -webkit-transition: opacity 0.3s ease, transform 0.3s ease;
	 		 transition: opacity 0.3s ease, transform 0.3s ease;
}

nav ul.mob-nav {
	opacity: 1;
	-webkit-transform: translateY(0);
            transform: translateY(0);
	 -webkit-transition: opacity 0.5s ease, transform 0.5s ease;
	 		 transition: opacity 0.5s ease, transform 0.5s ease;
}

nav li { /*** FOR MAIN NAV LINKS ***/
	flex-flow: column;
	width: 100%;
  	padding: 1.2em 0;
  	margin: 0;
  	font-size: inherit;
  	height: auto;
  	border-bottom: 1px solid var(--clr-white); 
}

nav li:last-child {	
  	border: 0; 	
}


nav a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row; 
	width: 100%;
	font-weight: 400;
	font-size: 1.5rem;
	color: var(--clr-white);
}

nav .has-sub.spin i:after {
	content: url("../pictures/chevron-down-icon-white.svg");
}

nav .has-sub a:hover,
nav .has-sub a:focus,
nav.white .has-sub a:hover,
nav.white .has-sub a:focus {
	color: var(--clr-white);
}


.toggle-nav  {
	position: absolute;
	top: 70px;
	right: 3.4rem;
	z-index: 99999;
	display:block; 
	cursor: pointer;
    width: 27px; 
    height: 20px;
    margin: auto 0 auto auto; 
    text-decoration: none;
	-webkit-transform: rotate(0deg);
  	transform: rotate(0deg);
  	-webkit-transition: all 0.3s; 
	transition: all 0.3s;
}

.toggle-nav span {
  display: block;
  position: absolute;
  height: 2px;
  background: var(--clr-dark);
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.toggle-nav.white span, 
.toggle-nav.open span,
header.sticky .toggle-nav span {
  background: var(--clr-white);
}

.toggle-nav span:nth-child(1) {
  top: 0;
  width: 65%;
  -webkit-transform-origin: left center;
  transform-origin: left center;
}

.toggle-nav span:nth-child(2) {
  top: 8px;
  width: 100%;
  -webkit-transform-origin: left center;
  transform-origin: left center;
}

.toggle-nav span:nth-child(3) {
  top: 16px;
  width: 80%;
  -webkit-transform-origin: left center;
  transform-origin: left center;
}

.toggle-nav.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 0;
  left: 6px;
  width: 100%;
}

.toggle-nav.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.toggle-nav.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 19px;
  left: 6px;
  width: 100%;
}

nav .has-sub ol {
	width: 100%;
	display: none;
	margin: 0;
	visibility: visible; 
	opacity: 1;
	padding: 0;
    position: relative;
	inset: 0;
	overflow: hidden;
	background: none;
	-webkit-transition: none;
	transition: none; 
	-webkit-transform: translateY(0);
			transform: translateY(0);
}

nav .has-sub ol li {	
  	padding: 0.15em 0;
  	border: none;
  	height: auto;	
}

nav .has-sub ol li:first-child {	
  	margin-top: 1.3rem; 	
}

nav .has-sub ol li:last-child {	
  	margin-bottom: 0.5rem; 	
}



nav .has-sub.spin i,
nav .has-sub.spin:hover i,
nav .has-sub.spin:active i,
nav .has-sub ol li i, 
nav .has-sub ol li i.open, 
nav .has-sub.spin ol li i.open {
	-webkit-transform: translateY(0) scale(1.4);
			transform: translateY(0) scale(1.4);
}

nav .has-sub.spin i {
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	height: auto; 
}

nav .has-sub.spin i.open {
	 -webkit-transition: all 0.3s;
	transition: all 0.3s;
  	-webkit-transform: rotate(180deg) scale(1.4);
  	transform: rotate(180deg) scale(1.4);
}

nav .has-sub ol li i,
nav .has-sub ol li i.open,
nav .has-sub.spin ol li i.open {
	-webkit-transition: none; 
	transition: none; 
}

nav .has-sub ol a {
	line-height: 1.8rem;
	font-size: 1.125rem;
	font-weight: 600;
}

.wrapper.top {
 	margin-top: 8rem;
}

.hero .wrapper h1 {
	margin-top: 7rem;
}

.hero-page {
	height: 590px;
	min-height: 590px;
}

.hero-page .wrapper {
	padding-bottom: 0;
}

.home-worship-wrapper, .ln-split-wrapper {
	padding-bottom: 4rem;
}

.home-media section {
 	 margin-bottom: 4rem;
}

.page-media-container section:first-child {
	padding-top: 4rem;
}

.ln-split-wrapper {
	padding-top: 10rem;
}

.ln-split-img, .ln-fw-img {
	padding-bottom: 100%;	
}
		
}

@media screen and (max-width: 1023px) {

:root {	
	  --wrapper-max-width-narrow: 100%;
}

.home-ln-wrapper, .home-worship-wrapper, .page-worship-wrapper {
	grid-template-columns:  1fr;
	grid-column-gap: 0;
}

.home-latest-news {
	max-width: 100%;
	margin-top: 2.5rem;
	margin-bottom: 0;
	grid-row: 2;
}

.home-latest-news-img {
	grid-row: 1;	
}

.home-worship {
	max-width: 100%;
	margin-top: 2.5rem;
	margin-bottom: 0;
}

.home-worship-wrapper {
	padding-bottom: 4rem;
}

.home-media-container::before {
    top: 120px;
}

.home-media section {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	margin-bottom:0;
}

.home-media section:last-child {
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 0;
}

.home-media section .title {
 	margin: 2rem 0 4rem 0;
}

.home-media section .title h4 {
  	display: none;
}

.home-media section:last-child .title {
  	margin: 2rem 0 0 0;
}

.page-worship-wrapper {
  margin-bottom: 4rem;
}

.footer-content img {
	margin-left: auto;
}

.footer-content.below {
	grid-template-columns: 1fr;
	grid-column-gap: 0;
	margin-bottom: 3rem;
}

.footer-buttons {
	margin-bottom: 3rem;
}

.ln-split-wrapper, .ln-fw-wrapper {
	grid-template-columns: 1fr;
	grid-column-gap: 0;
}

.ln-split-heading {
	max-width: 100%;
	margin-bottom: 4rem;
	justify-self: start;
}

.ln-split-heading h1 {
	margin: 0;
}

.ln-split-img, .ln-fw-img  {
	padding-bottom: 80%;	
}

.ln-fw-wrapper {
	margin-top: -1rem;
	padding-bottom: 4rem;
	padding-left: 3rem;
	padding-right: 0;
}

.ln-fw-img  {
	margin-bottom: 4rem;	
}

.ln-fw-text {
    padding-right: 3rem;
	max-width: var(--wrapper-max-width-narrow);
}	
	
}

@media screen and (max-width: 830px) {

.hero-buttons .btn {
	font-size: 1rem;	
}

}


@media screen and (max-width: 767px) {
	
:root {
  --wrapper-padding: 4rem 2.2rem;
  --wrapper-footer-padding: 1rem 2.2rem 4rem 2.2rem;
  --wrapper-max-width: 600px;
  --wrapper-max-width-med: 600px;
  --header-height: 100px;
  --header-offset-height: -100px;
}

h1 {
	margin: 0 0 3rem 0;
}

header {
	padding: 0 2.2rem;
	max-width: 100%;
}

header.sticky {
	background-color: var(--clr-dark);
}

#sticky {
	position: sticky;
	z-index: 99999;
	top: 0;
	-webkit-transition: top 0.2s ease, background-color 0.6s ease;
			transition: top 0.2s ease, background-color 0.6s ease;
}

header .logo {
	max-width: 268px;
}

.page-top-sm-screen {
   margin-top: var(--header-offset-height);
}

header, nav {
	height: var(--header-height);
}

h2, .home-latest-news h1, .home-worship h1{
	font-size: 1.7rem;
}

h2, .home-latest-news h1, .home-worship h1{
	  margin: 0 0 1.7rem 0;
}

header .logo img, .footer-content img {
	width: 52px;
	margin-top: 0.4rem;
}

.toggle-nav  {
	top: 40px;
	right: 2.2rem;
}

.wrapper.top {
  	margin-top: -2rem;
}

.hero, .hero-page {
	margin-top: var(--header-offset-height);
}

.hero img {
	top: 0; 
	left: 0; 
	transform: translate(0);
}

.hero-page {
	height: 420px;
	min-height: 420px;
}

.hero-page img { 
	transform: translate(0);
}


.hero .wrapper {
	padding-bottom: 4rem;
}

.hero .wrapper h1 {
	margin-top: 4rem;
	margin-bottom: 2rem;
}

.hero-buttons {
	flex-direction: column;
	margin-bottom: 2rem;
}

.hero-buttons > * {
	margin: 0.4rem 0;
}

.hero-buttons .btn {
	font-size: 1.25rem;	
}

.home-ln-wrapper {
	padding-right: 0;
}

.home-latest-news {
	padding-right: 2.2rem;
}

.home-worship-wrapper, .page-worship-wrapper {
	padding-left: 0;
}

.home-worship {
	padding-left: 2.2rem;
}

footer .wrapper {
	padding-top: 0;
	margin-top: -2rem;
}

.footer-content.below > * {
	width: 100%;
}

.footer-buttons {
	flex-direction: column;
	margin-top: 2rem;
}

.footer-buttons .btn {
	margin: 0.4rem 0;
}

.news-events-list section {
	grid-template-columns:  1fr;
	grid-column-gap: 0;
	margin-bottom: 2rem;
}

.news-events-list-img  {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 80%;
	margin-bottom: 1.4rem;
}

.ln-split-wrapper {
	padding: 2rem 0 2.2rem 2.2rem;
	max-width: var(--wrapper-max-width);
}

.ln-split-heading {
	padding-right: 2.2rem;
}

.ln-fw-wrapper {
	margin-top: 0;
	padding-top: 1rem;
	padding-right: 0;
	padding-left: 2.2rem;
}

.ln-fw-img  {
	margin-bottom: 2.2rem;	
}

.ln-fw-text  {
	padding-right: 2.2rem;	
}


}


@media screen and (max-width: 450px) {
	
.hero {
	height: 850px; 
}

.hero::before, .hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 260px;
	z-index: 98;
}

.hero::before {
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.hero::after {
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%);
}
	
.hero img {
	position: absolute;
	height: 850px;
}

.hero .wrapper {
	height: 670px;
	padding-bottom: 0;
}

.background-fade {
	margin-top: -50px;
}

.background-fade::after, .background-fade::before {
	display: none;
}

fieldset {
	padding: 3rem 2rem;
}

}


/* SCROLL REVEAL ------------------------------------------------------------ */

.rev-scroll {
	opacity: 0;
 	-webkit-transform: translateY(12px);
			transform: translateY(12px);
}

.rev-scroll.active{
    opacity: 1;
   	-webkit-transform: translateY(0px);
			transform: translateY(0px);			
	-webkit-transition: opacity 0.5s ease-in, transform 0.5s ease-out;
			transition: opacity 0.5s ease-in, transform 0.5s ease-out;
}

.rev-scale-scroll {
	opacity: 0;
 	-webkit-transform: scale(0.95) translateY(20px);
			transform: scale(0.95) translateY(20px);
}

.rev-scale-scroll.active{
    opacity: 1;
   	-webkit-transform: scale(1);
			transform: scale(1);			
	-webkit-transition: opacity 0.6s ease, transform 0.6s ease;
			transition: opacity 0.6s ease, transform 0.6s ease;
}

.rev-scale-scroll-lrg {
 	-webkit-transform: scale(1.06);
			transform: scale(1.06);
}

.rev-scale-scroll-lrg.active{

   	-webkit-transform: scale(1) translate(0px);
			transform: scale(1) translate(0px);			
	-webkit-transition: transform 7s ease;
			transition: transform 7s ease;
}

.rev-scroll.delay {
  -webkit-transition-delay: 1.2s;
          transition-delay: 1.2s;
}




.team-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr; 
	column-gap: 2rem; /* Creates a 20px gap between grid items (both rows and columns) */
	row-gap: 2rem; /* Creates a 20px gap between grid items (both rows and columns) */
	margin: 2rem 0 3rem 0;
}

.leadership-team .team-container:last-of-type {
  margin-bottom: 0;
}

.team-container .img-container {
   position: relative;
   margin-bottom: 0.8rem;
   display: flex;
	 width: 100% !important;
	 overflow: hidden;
	 height: 0;
	 padding-bottom: 100%;
}

.team-container .img-container img {
	object-fit: cover;
	position: absolute;
    width: 100%;
    height: 100%;
}

.team-container h4 {
	  margin-bottom: 0.2rem;
}

.team-container p {
	  font-size: 1rem;
	  margin-bottom:  0;
}

@media screen and (max-width: 1023px) { 
	.team-container {
		grid-template-columns: 1fr 1fr; 
	}
}

@media screen and (max-width: 620px) { 
	.team-container {
		grid-template-columns: 1fr;
		margin: 2rem 0;
	}
}
