/*
 * Globals
 */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
  padding-top: 40px;
  margin: 10;
  font-family: 'Poppins',-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5em;
  height: 100%;
  color: #212529;
  text-align: left;
  background-color: #f8f9fc;
  scroll-behavior: smooth;
}
.cover-container {
  max-width: 42em;
}
/*
 * Deals with fixed header giving scroll to anchor an offset otherwise hidden under navbar
 */
a.anchor {
    display: block;
    position: relative;
    top: -70px;
    visibility: hidden;
}
@media all and (max-width:576px){a.anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}}
/*
 * Background images
 */

.bg-holder {
  width: 100%;
  height: 80%;
  background-size: cover;
  background-position: 50% 50%;
  color: #FFFFFF;
}

.bg-holder .content {
  color: #FFFFFF;
  text-align: center;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.fgc-pic1{background-image: url('../images/Frinton-Gospel-Chapel.jpg');}

/*
 * Responsive font size - need to enable inbuilt function within BS4 - not sure how to do this yet.

@media all and (min-width:992px){body{font-size: 16px;font-size:1em;}
}
@media all and (max-width:991px) and (min-width:577px){body{font-size: 14px;font-size:0.875em;}
}
@media all and (max-width:576px){body{font-size: 12px;font-size:0.75em;}
}
@media (max-width: 1200px) {
  legend {
    font-size: calc(1.275rem + 0.3vw) ;
  }
  h1, .h1 {
    font-size: calc(1.375rem + 1.5vw) ;
  }
  h2, .h2 {
    font-size: calc(1.325rem + 0.9vw) ;
  }
  h3, .h3 {
    font-size: calc(1.3rem + 0.6vw) ;
  }
  h4, .h4 {
    font-size: calc(1.275rem + 0.3vw) ;
  }
  .display-1 {
    font-size: calc(1.725rem + 5.7vw) ;
  }
  .display-2 {
    font-size: calc(1.675rem + 5.1vw) ;
  }
  .display-3 {
    font-size: calc(1.575rem + 3.9vw) ;
  }
  .display-4 {
    font-size: calc(1.475rem + 2.7vw) ;
  }
  .close {
    font-size: calc(1.275rem + 0.3vw) ;
  }
}
 */
 /*
  Safari bug fixes
*/
.ios-strech-fix
{
  height: intrinsic;
}
.table-responsive .table {
    max-width: none;
}
/*
  New responsive text tweaks
*/
.text-responsive {
  font-size: 20px;
  font-size: 1.1vmax;
}
.responsive-width {
    font-size: 1.1vmax;
}
.responsive-list {
    font-size: 1.5vmax;
}
 /*
 * Font Sizes
 */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
h1, .h1 {
  font-size: 2.5rem;
}
h2, .h2 {
  font-size: 2rem;
}
h3, .h3 {
  font-size: 1.75rem;
}
h4, .h4 {
  font-size: 1.5rem;
}
h5, .h5 {
  font-size: 1.25rem;
}
h6, .h6 {
  font-size: 1rem;
}
.lead {
  font-size: 1.25rem;
  font-weight: 300;
}
.display-1 {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1.2;
}
.display-2 {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.2;
}
.display-3 {
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.2;
}
.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}
/*
 * FGC colours and styling
 */
.btn-circle{display:inline-block;position:relative;margin:0 auto 0 auto;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;text-align:center;width:6em;height:6em;font-size:1.5em;}
.fgc-default{color:#4F7942;}
.fgc-otblue{color:#005C9F;}
.fgc-otred{color:#ED1C24;}
.fgc-grey{color:#4D4D4F;}
.fgc-darkpurple{color:#3F1C66;}
.fgc-lightpurple{color:#672375;}
.fgc-green{color:#41AD49;}
.fgc-yellow{color:#FECD08;}
.fgc-title{font-weight:600;font-size: clamp(2rem, 5vw, 8rem);line-height:1.5em;}
.fgc-BIG-BLUE-title{font-weight:800;font-size: clamp(2.5rem, 6vw, 8rem);color:#4F7942;line-height:1.5em;}
.fgc-BIG-WHITE-title{font-weight:800;font-size: clamp(2.5rem, 6vw, 8rem);color:white;line-height:1.5em;}
.bg-fgc {background-color: #4F7942 !important; color: white;}
.bg-fgc a{color:white;}
.bg-fgc a:link { text-decoration: none; }
.fgc-btn{background:#4F7942;border-color:#ffffff;color:#ffffff;}
.fgc-btn:hover, .fgc-btn:focus, .fgc-btn:active{background-color:##b35d00;border-color:##b35d00;}
.bg-fgc2 {background-color: #ff8500 !important; color: white;}
.bg-fgc2 a{color:white;}
.bg-fgc2 a:link { text-decoration: none; }
.fgc-btn2{background:#4F7942;border-color:#ffffff;color:#ffffff;}
.fgc-btn2:hover, .fgc-btn:focus, .fgc-btn:active{background-color:#005066;border-color:#005066;color: white;}
.pointer {cursor: pointer;}
.indent-quote {
  margin-left: 5%;
  font-style: italic;
}
.scripture {
  margin-left: 5%;
  font-weight: bold;
  font-style: italic;
}
.min-size-40 {
    min-width: 40vw;
}
.calendar-container {
    width: 100%;
    margin-bottom: 20px;
}

/* Responsive container for Facebook iframe */
.fb-responsive-container {
  width: 100%;
  max-width: 500px; /* Meta plugin max width is 500px */
  margin: 0 auto;   /* Centers the widget on wide displays */
  height: 600px;    /* Matches the iframe height requested */
  overflow: hidden;
}

.fb-responsive-container iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  border: none;
}

/* On mobile, we might want it a bit shorter, on desktop, nice and long */
@media (max-width: 576px) {
    .calendar-container iframe {
        height: 500px;
    }
}
/*
 * Striped grid to mimic striped table
 */
.grid-striped .row:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.05);
}
/*
 * Navbar FGC customisations
 */
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
  color: #4F7942;
}
.navbar .navbar-nav > li > a{font-size:1.00rem !important;}
.navbar-brand{font-size:2rem; margin-right: 0;}
.navbar {padding-right: 0.5rem;}
/*
 * Change controls to black & move captions under image
 */
.carousel-control-next,
.carousel-control-prev , .carousel-indicators {
    filter: invert(100%);
}
.carousel-caption {
    position: relative;
    left: 0;
    top: 0;
}
/*
 * Fixed height modals for store previews.
 */
.modal-full {
    min-width: 20%;
    margin-left: 80;
}

.modal-full .modal-content {
    min-height: 90vh;
}
/*
 * Spacers FGC customisations
 */
.spacer5{height:5px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
.spacer10{height:10px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
.spacer15{height:15px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
.spacer20{height:20px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
.spacer25{height:25px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
.spacer30{height:30px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
.spacer60{height:60px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
.spacer90{height:90px;width:100%;font-size:0;margin:0;padding:0;border:0;display:block;position:relative;}
/* Centered text on image*/
.centered-img {
  padding: 1% 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
/* change image brightness on hover*/
.light-dark-img {
  filter: brightness(0.5);
}
.light-dark-img:hover {
  filter: brightness(0.8);
}
/* scroll to top */
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 0px;
    display:none;
}
/* Animate images on hover ONLY using hover01 so could delete others*/
figure {
	margin: 0;
	padding: 0;
	background: #fff;
	overflow: hidden;
}
figure:hover+span {
	bottom: -36px;
	opacity: 1;
}
/* Gray Scale */
.hover08 figure img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover08 figure:hover img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}
/* Zoom In #1 */
.hover01 figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover01 figure:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}
/* Rotate */
.hover06 figure img {
	-webkit-transform: rotate(15deg) scale(1.4);
	transform: rotate(15deg) scale(1.4);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover06 figure:hover img {
	-webkit-transform: rotate(0) scale(1);
	transform: rotate(0) scale(1);
}
/* image grid for gallery */
.album {
	display: flex;
	align-items: center;
	justify-content: center;
}
.imgContainer {
	max-width: 100%;
	
}
.imgContainer img {
	width: 100%;
	min-height: 100%;
	object-fit: cover;
}
/*=== FADE IN  ===*/
@-webkit-keyframes fadeIn {
  from {
    opacity: 0%;
  }

  to {
    opacity: 100%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.fadeIn {
    -webkit-animation-name: fadeIn;
	animation-name: fadeIn;
}
/*=== Trigger  ===*/
.animate {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
/*=== Optional Delays, change values here  ===*/
.short {
-webkit-animation-delay: 1.5s;
-moz-animation-delay: 1.5s;
animation-delay: 1.5s;
}
.long {
-webkit-animation-delay: 7.5s;
-moz-animation-delay: 7.5s;
animation-delay: 7.5s;
}
/*=== FADE IN END ===*/