/*  (C) 2019 Endis Ltd. 
	No permission is given to use this code, except on an Endis/ChurchInsight website.

	ChurchInsight over-ride CSS file for the Summit template.
	WARNING - do not edit this file unless you know exactly what you are doing. 
	You might consider making a BACKUP COPY before you change anything.
	If you need advice, contact ChurchInsight Support. */

/* Logo system is COMPLEX! Ask Kenton! */

/* Size of LOGO image */
header .logo-icon img
{ 
	width:  auto !important; 
	height: 50px !important; /* <<< mobile logo height */
}
@media(min-width:992px){header .logo-icon img
{ 
	height: 100px !important; /* <<< desktop logo height */
  padding:5px;
  border-radius:10px;
  background-color:white;
}
}
@media(min-width:1300px){header .logo-icon img
{ 
	height: 170px !important; /* <<< desktop logo height */
}
}
/* Gap between logo and top/bottom of screen  */
header div.logo-container 
{
	position: absolute; top:0; left:0; z-index:2;
	margin-top: 5px !important; /* <<< gap from top for mobile/tablet */
	margin-bottom: 0 !important; /* <<< gap from bottom for mobile/tablet */
	transition: margin-top 500ms linear;
}
@media(min-width:992px){
	header div.logo-container {
		position: static;
		margin-top: 5px !important; /* <<< gap from top for desktop */
		margin-bottom: 0 !important; /* <<< gap from bottom for desktop */
	}
	header section.HeaderSmall div.logo-container {margin-top: 7px !important;}
}
@media(min-width:1300px){
	header div.logo-container {
		margin-top: 15px !important; /* <<< gap from top for desktop */
	}
}

header section.slice_Header_T div.nav-menu {text-align:right;margin-top:35px;}
header section.slice_Header_T div.nav-menu ul.root_menu {text-align:left;}
@media(min-width:991px){
	header section.HeaderSmall {border-bottom: 1px solid #d7d7d7 !important;} /* have a border to delimit the header area */
	header section.HeaderSmall .logo-icon img {
      height: 73px !important;
      padding:0; border-radius:0;
    }
	header section.HeaderSmall div.nav-menu {margin-top:35px !important;}
	header section.HeaderSmall div.nav-menu ul.root_menu > li > a {padding-bottom:12px !important;}
}
@media(max-width:991px){
  header section.slice_Header_T.ActivateFixedPosition {
    position:fixed;top:0;left:0;right:0;width:100%;z-index:100;border-bottom:1px solid #d7d7d7;
  }
  header {margin-top:61px;}
  header.SlickNavOn {margin-top:0;}
  section.SystemHeaderBackground {display:none;}
}

section.SystemHeaderBackground {height:115px; background-color:#000000;}

/* main logo */
header img.XLogoWhite {box-shadow:0 0 4px 4px white;}
section.slice_Header_T img.LogoGrey,
section.HeaderSmall img.LogoWhite {display: none !important;}
section.HeaderSmall img.LogoGrey {display: block !important;}
@media(max-width:991px){
  section.slice_Header_T img.LogoGrey {display: block !important;}
  section.slice_Header_T img.LogoWhite {display: none !important;}
  section.slice_Header_T div.slicknav_menu {background-color:white;}
  section.slice_Header_T div.slicknav_menu a.slicknav_btn span.slicknav_menutxt {color:#000000;}
  section.slice_Header_T div.slicknav_menu a.slicknav_btn span.slicknav_icon span.slicknav_icon-bar {background-color:#000000;}
}

/* Code for shrinking desktop menus */
/* The widths and which menu-item to break at may need to be changed */
@media (max-width:1240px) {
  header section.slice_Header_T div.nav-menu ul.root_menu > li > a,
  header section.slice_Header_T.HeaderSmall div.nav-menu ul.root_menu > li > a {
    padding:10px 10px 10px 10px !important;}
  header section.Xslice_Header_T.HeaderSmall div.nav-menu {margin-top:30px !important;}
}
@media (max-width:1240px) {
  header section.slice_Header_T div.nav-menu,
  header section.slice_Header_T.HeaderSmall div.nav-menu {margin-top:5px !important;}
  header section.slice_Header_T div.nav-menu ul.root_menu > li:nth-child(5) {clear:both;}
  
  .slice_Header_T .nav-menu ul.root_menu > li:nth-child(4) > ul { position: absolute; top: 100%; left: auto; right: 0; }
  .slice_Header_T .nav-menu ul.root_menu > li:nth-child(4) > ul a { padding-left: 35px; padding-right: 20px; }
  .slice_Header_T .nav-menu ul.root_menu > li:nth-child(4) > ul li.has_sub_menu::after { display: none; }
  .slice_Header_T .nav-menu ul.root_menu > li:nth-child(4) > ul li.has_sub_menu::before { font-family: journey; content: '\e901'; color: #000000; position: absolute; left: 10px; top: 13px; font-size: 1.6rem; line-height: 30px; height: 30px; }
  .slice_Header_T .nav-menu ul.root_menu > li:nth-child(4) > ul ul { position: absolute; top: 0; left: auto; right: 100%; }
}

/* ############ Mobile menu colours */
header section.slice_Header_T div.SlickNavCloseIcon
{
	color: #F19F61 !important; /* <<< colour of the menu close icon */
}

/* ############ Desktop/Mobile menu hover-over text-link color, top-link icons colour, footer email-link text color */
header li:hover > a
{
	color: #F19F61 !important; /* <<< header/footer icon/text-link color */
}

/* ############ Search box background colour */
header div.search-overlay
{
	background-color: #F19F61 !important; /* <<< Search box background colour */
}
header a.search-close 
{
	color: white !important;  /* <<< Search box close icon */
}
i.journey-icon-search::before {
    top:1px;font-size:21px;
}

/* ############ Top bar of Group-Nav on the content page */
section.slice_content_page aside {font-weight:600;}
section.slice_content_page aside ul,
section.slice_content_page aside li,
section.slice_content_page aside img {list-style: none; list-style-type: none; width:100%; display:inline-block; padding:0;}
section.slice_content_page aside li {margin-bottom:10px;text-align:center;}
section.slice_content_page aside nav td.boxout_header_middle a {background-color: #F19F61 !important;} /* <<< Group-Nav top bar background colour */

/* Code for the change in header on scroll */
section.HeaderWhite {
	background-color: white;
}
section.HeaderWhite ul.root_menu > li > a {color: #866CA3;}

/* Form responses */
div.endis-jquery-ui div#divOverlay {
	font-size: 17px !important; 
	line-height: 1.3 !important;
	letter-spacing: 1px !important;
}

section.slice_WelcomeArticles a.WelcomeMapLink {color: #3e4545;text-decoration:underline;}

section.slice_Children > div.container {
	background-image: url(../../../1338265.jpg);
	background-position: center center;
  	background-size: cover;	
}

/* extra fixes for the header */
header ul.root_menu a,
header ul.slicknav_nav a {font-weight:600 !important;}
header ul.root_menu > li > a {font-size:18px;font-weight:700 !important;}

/* make the video slice slide-show work */
header {position:relative;}

section.slice_SlidesFullWidth a.bx-pager-link:hover,
section.slice_SlidesFullWidth a.bx-pager-link.active
{
    background-color: #F19F61 !important; /* <<< slide show button background color */
    border-color: 	  #F19F61 !important; /* <<< slide show button border color */
}
/* Slide show inactive round pager buttons */
section.slice_SlidesFullWidth a.bx-pager-link
{
    background-color: #f5f5f5 !important; /* <<< slide show inactive round button color */
    border-color: 	   #f5f5f5 !important; /* <<< slide show inactive round button border color */
  box-shadow:none !important;
}
section.slice_SlidesFullWidth div.slideTitle {margin:0 20px;}

/* Banner Image code */
section.slice_BannerImage {
  position:relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	padding: 200px 10px;
}
@media(max-width:992px){
	section.slice_BannerImage {padding:100px 10px;}
}
section.slice_BannerImage h1 {
  	position:relative; z-index:0;
	line-height:1; 
	margin:0; 
	text-align:center;
	color: white;
	font-size: 60px;
}
@media(max-width:992px){
	section.slice_BannerImage h1 {font-size: 40px;}
}
@media(max-width:467px){
	section.slice_BannerImage h1 {font-size: 30px;}
}
section.slice_BannerImage div.BannerImgCustomFields {display:none;}
section.slice_BannerImage div.container {text-align:center;}
section.slice_BannerImage div.OverlayTint {
  position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;
  background-color:rgba(0,0,0,0.4);
}
section.slice_content_page.AddTopBorder {border-top:1px solid #dddddd;}

/* Content page button images */
section.slice_content_page div.ContentSlides img {width:100%;}
@media (min-width:467px) and (max-width:767px) {
	section.slice_content_page div.ContentSlides li {width:50%; float:left;}
}
/* Content page spacing */
section.slice_content_page div.main-content {padding-top:0;}
@media(max-width:992px){
	section.slice_content_page div.main-content {padding-top:20px;}
}

header section.slice_Header_T.HeaderWhite a.slicknav_btn,
header section.slice_Header_T.HeaderWhite a.slicknav_btn span {background-color: white !important; color: #3e4545 !important;}
header section.slice_Header_T.HeaderWhite a.slicknav_btn span.slicknav_icon-bar {background-color: #3e4545 !important;}

.slice_FilmLightBox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 3; background-color: rgba(0, 0, 0, 0.6); }
.slice_FilmLightBox .FlexWrapper { display: flex; flex-flow: row nowrap; justify-content: center; align-items: center; height: 100%; }
.slice_FilmLightBox .LightBox { background-color: white; border-radius: 10px; padding: 10px; }
@media (min-width: 768px) { .slice_FilmLightBox .LightBox { padding: 20px 20px; } }
.slice_FilmLightBox .LightBox .FlexRow { display: flex; flex-flow: row nowrap; justify-content: space-between; align-items: flex-start; background-color: white; border-radius: 10px; }
.slice_FilmLightBox .LightBox .LightBoxTitle { font-size: 17px; line-height: 1.2; padding:0 10px 10px 0; }
.slice_FilmLightBox .LightBox .CloseIcon { font-family: IcoMoon490Icons; font-size: 15px; line-height: 1; color: #F19F61; }
.slice_FilmLightBox .LightBox .CloseIcon::after { content: "\ea0f"; }

input[type="button"] {border-radius:0 !important;}

@media (min-width:992px) {
	header.NonHomePage {margin-bottom:100px;}
	header.NonHomePageSmall {margin-bottom:60px;}
  section.slice_FindYourPlace,
  section.slice_WelcomeArticles {padding-left:20px;}
  section.slice_GreetedForm_L {padding-left:30px;padding-right:10px;}
  section.slice_system_page div.systemPageContent {padding-left:40px;}
}

@media (max-width:1100px) {
  header section.slice_Header_T.HeaderWhite div.nav-menu {text-align:right !important;}}

/* Remove form on home page */
section.slice_GreetedForm_L div.form_text {width:97.42268% !important; text-align:center !important;}

/* Code to make slide-shows look better on mobile screens */
section.slice_SlidesFullWidth {overflow:hidden;} /* hide anything that pokes outside */
@media (max-width:767px) {
	section.slice_SlidesFullWidth div.bannerSlides {
		width: 200%; /* double the width, which doubles the height, and then translate so we see the middle 50% */
		transform: translateX(-25%);
		overflow:hidden; /* hide anything that pokes outside */
	}
	/* Adjust the captions back again, so they look normal */
	section.slice_SlidesFullWidth div.bannerSlides div.bx-wrapper ul.gallery_ul li.gallery_li div.caption {
		/* div.bx-wrapper has position:relative set, so this is ok */
		left: 25%;
		right: 25%;
		width: 50%;
		overflow:hidden; /* hide anything that pokes outside */
	}
}

/* code for > and < on desktop menus */
section.slice_Header_T div.nav-menu ul.root_menu > li ul li.has_sub_menu::after,
section.slice_Header_T div.nav-menu ul.root_menu > li:last-child > ul li.has_sub_menu::before, 
section.slice_Header_T div.nav-menu ul.root_menu > li:nth-last-child(2) > ul li.has_sub_menu::before
{top:2px;}

/* Fix various issues */
div.endis-jquery-ui div#divOverlay {font-size:17px;line-height:1.3;}
body.OnSmallAppleDevice input {-webkit-appearance: none;}
body.ArticleEditor img.module_icon {width:auto !important;}
section.slice_Footer_L div.footerbar span:last-child:not([id]),
section.slice_Footer_D div.footerbar span:last-child:not([id]) { display: block; padding-top: 25px; }

/* prevent text-overwriting when desktop menus wrap around */
section.slice_Header_D ul.root_menu ul,
section.slice_Header_L ul.root_menu ul,
section.slice_Header_T ul.root_menu ul {z-index:4;}

.slice_FooterTop_D .footer-column.footer-column-1 a i.icomoon-icon-youtube::after { background-color: #ff0000; border: 8px solid #ff0000; }
.slice_FooterTop_D .footer-column.footer-column-1 a:hover i.icomoon-icon-youtube::after { color: #ff0000; }
.slice_FooterTop_D .footer-column.footer-column-1 a i.icomoon-icon-vimeo::after { background-color: #1ab7ea; border: 8px solid #1ab7ea; }
.slice_FooterTop_D .footer-column.footer-column-1 a:hover i.icomoon-icon-vimeo::after { color: #1ab7ea; }

/* Slide-show bottom buttons */ 
section.slice_SlidesFullWidth div.bannerSlides div.bx-wrapper div.bx-pager {bottom:30px;}
section.slice_SlidesFullWidth div.bannerSlides div.bx-wrapper div.bx-pager a.bx-pager-link {
	width:18px;height:18px;border-radius:9px;border-width:2px;margin:0 6px;
}
@media (max-width:1200px) {
	section.slice_SlidesFullWidth div.bannerSlides div.bx-wrapper div.bx-pager {bottom:10px;}
	section.slice_SlidesFullWidth div.bannerSlides div.bx-wrapper div.bx-pager a.bx-pager-link {width:14px;height:14px;border-radius:7px;}
}

/* Fix system page ul lists */		
section.slice_system_page div.system_content ul {
  list-style-type: disc;
  padding-left:40px;
}

/* Fix the new calendar page pop-up */
div.dialog-content.calendar-event-content > h4,
div.dialog-content.calendar-event-content > h4 a.event-location-link {
	display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;
}
/* make sure these are not set */
html,body {height:initial;}

/* Change the colors of a footer-icon */
footer i.icomoon-icon-XXXXX::after {
  background-color: blue !important; 
  border-color: blue !important;
}
footer a:hover i.icomoon-icon-XXXXX::after {
  color:blue !important;
}

/* Extra icon using a square background image */
footer i.icomoon-icon-XXXXXX.ImageSocialMediaIcon::after
{ /* Replace url below with actual url of square icon image */
  background-image: url(/Images/Content/1495/Templates/46170/images/CommissionLogo.png);
}

/* Extra icon using a square background image */
section.slice_FixedSideLinks a.ImageSocialMediaIcon i.icomoon-icon-XXXXXX::after
{ /* Replace url below with actual url of square icon image */
  background-image: url(/Images/Content/1495/Templates/46170/images/CommissionLogo.png);
}

section.slice_SlidesFullWidth div.caption div.slideTitle,
section.slice_SlidesFullWidth div.caption div.slideText
{text-shadow:0 0 2px black;}

header section.slice_Header_T ul.root_menu > li > a {text-shadow:0 0 2px black;} /* Summit */
header section.slice_Header_T ul.root_menu > li:hover > a {text-shadow:none;}
header section.slice_Header_T.HeaderWhite ul.root_menu > li > a,
header section.slice_Header_T.ContentPage ul.root_menu > li > a {text-shadow:none;}

/* Fix some search box things */
section.slice_FixedSideLinks div.fixed-link-wrapper div.search-overlay_fixed-link 
span.search-close_fixed-link {cursor:pointer;}

footer div.FooterSafeGuarding {
	text-align:center; width:100%; margin:0 auto 20px; line-height:1.3;
  	border-bottom:1px solid #d7d7d7;padding:0 10px; max-width:1140px;
}
footer div.FooterSafeGuarding h1 {font-size:24px; line-height:1; margin:0 0 10px;}

header li.MenuSearchOpen i::before {top:-3px;}
@media (min-width:1240px) {header li.MenuSearchOpen i::before {top:-4px;right:7px;}}
header ul.slicknav_nav li.MenuSearchOpen {display:none !important;}
header div.SearchText {color:white;padding:0 10px 10px;}
header div.search-overlay h1 {color:white;padding-left:10px;}
header div.SearchWrapper {position:relative;padding-right:10px;}
header div.search-overlay .search-close {top:13px; right:10px; font-size:30px;}
@media (min-width:992px) {
  header div.search-overlay {
    padding:25px 10%;
  }
}
@media (min-width:360px) {
	header div.SearchText {font-size:16px;}
}

header section.slice_Header_T div.top-link-wrapper div.search-form,
header section.slice_Header_T div.top-link-wrapper div.search_div {
  font-size:0;line-height:0;display:inline-block;
}
header section.slice_Header_T div.top-link-wrapper div.search-form {display:none;}

header div.top-link-wrapper div.search-form input[type=text] {
	transition:padding-top 300ms linear, padding-bottom 300ms linear, height 300ms linear;
  	line-height:1;height:44px;
}

header div.search-overlay div.search_div input.text {margin:0; font-size:16px;}
header div.SearchWrapper {padding-left:10px;}

header div.top-link-wrapper i.journey-icon-search::before {top:1px;}
header div.top-link-wrapper i.InFocus {cursor:pointer;}
header .slice_Header_T div.top-link-wrapper a.top-link.Register {margin-left:10px;}

header div.MobileMenuMask {
	display:none;
  background-color:rgba(0,0,0,0.6);
  position:fixed;top:0;left:0;width:100%;height:100vh;z-index:58;
}
header div.search-overlay.On + div.MobileMenuMask {display:block;z-index:70;}

header ul.root_menu,
header div.nav-menu {font-size:1px;line-height:1;}

section.slice_Partners {
	background-color:white;
	padding:0 40px 50px;
	text-align: center;
}
section.slice_Partners div.LogoWrapper ul {
  	list-style-type:none;
  	padding:0; margin:0;
	display:flex; 
	flex-flow: row wrap; 
	justify-content:space-evenly; 
	align-items:center;
}
section.slice_Partners div.LogoWrapper img {margin:20px;}

section.slice_Partners.ContentPage {
  margin-top:20px;
 border-top:1px solid #dfdfdf; 
  padding-bottom:0;
}

@media (max-width:1240px) {
  header section.slice_Header_T div.top-link-wrapper {position:fixed; right:0; top:300px;}
  header section.slice_Header_T div.top-link-wrapper a.top-link {display:block;}
  header section.slice_Header_T div.top-link-wrapper a.top-link:first-child {margin:0;}
  header section.slice_Header_T div.top-link-wrapper a.top-link.Register {margin:0 0 0;}
  header section.slice_Header_T.HeaderWhite div.top-link-wrapper {display:none;}
}
header section.slice_Header_T div.top-link-wrapper {visibility:hidden;}

/* Sort out article text */
section.slice_content_page div.main-content div.ArticleBody span {
  font-size:inherit !important; 
  font-family:inherit !important;
}
header li.MenuSearchOpen a {height:51px;}

table.TableWaitingList {background-color:#f1f1f1; padding:20px;}

section.slice_content_page div.main-content div[id$="_elFormContents"] select {
	padding:5px;
}

footer div.footer-column.footer-column-3 span:last-child a:first-child::after,
footer div.footer-column.footer-column-3 span:last-child a:nth-child(2)::after {
	content:' / '; color:black;
}