/* Style Over-Ride file for Summit Template. */

/* 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 */
}
}
@media(min-width:1500px){header .logo-icon img
{ 
	height: 150px !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: 10px !important; /* <<< gap from top for desktop */
		margin-bottom: 0 !important; /* <<< gap from bottom for desktop */
	}
	header section.HeaderSmall div.logo-container {margin-top: 5px !important;}
}

header section.slice_Header_T div.nav-menu {text-align:right;margin-top:20px;}
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 #dbdbdb !important;} /* have a border to delimit the header area */
	header section.HeaderSmall .logo-icon img {
      height: 60px !important;border-radius:0; opacity:1;
    }
	header section.HeaderSmall div.nav-menu {margin-top:10px !important;}
	header section.HeaderSmall div.nav-menu 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 #dbdbdb;
  }
  header {margin-top:61px;}
  header.SlickNavOn {margin-top:0;}
  section.SystemHeaderBackground {display:none;}
}


@media (max-width:1600px) {
  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:5px 15px 0 5px !important;}
  header section.slice_Header_T.HeaderSmall div.nav-menu {margin-top:30px !important;}
}
@media (max-width:1200px) {
  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: #333333; 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%; }
}

section.SystemHeaderBackground {height:160px; background-color:#333333;}

/* main logo */
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:#333333;}
  section.slice_Header_T div.slicknav_menu a.slicknav_btn span.slicknav_icon span.slicknav_icon-bar {background-color:#333333;}
}

header section.slice_Header_T div.nav-menu ul.root_menu > li:hover > a {
  background-color:rgba(255,255,255,0.6);
}
header section.slice_Header_T.HeaderSmall div.nav-menu ul.root_menu {
 background-color:white;
}

/* ############ Mobile menu colours */
header section.slice_Header_T div.SlickNavCloseIcon
{
	color: #004982 !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: #004982 !important; /* <<< header/footer icon/text-link color */
}

/* ############ Search box background colour */
header div.search-overlay
{
	background-color: #004982 !important; /* <<< Search box background colour */
}
header a.search-close 
{
	color: white !important;  /* <<< Search box close icon */
}

/* ############ 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: #004982 !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 a {color: #333333;}

/* 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::before {
	background-image: url(../../../932021.jpg);
	background-position: center center;
}

section.slice_WatchOnline {
	background-image: url(../../../932018.jpg);
	background-size: cover;	
	background-position: center top;
}
section.slice_WatchOnline table {margin:0 auto;}
section.slice_WatchOnline img {opacity:0.1; padding-right:50px;display:block;}
section.slice_WatchOnline h1 {line-height: 1;margin-top:0;}
section.slice_WatchOnline td {padding:0; text-align:left; vertical-align:middle;}
section.slice_WatchOnline a.button {margin-left:0;}
section.slice_WatchOnline a.button2 {margin-left:0; margin-right:0;}
@media (max-width:767px) {
	section.slice_WatchOnline img {padding-right:20px;}
	section.slice_WatchOnline td {vertical-align:top;}
	section.slice_WatchOnline a {font-size:14px !important;}
}
section.slice_WatchOnline div[id],
section.slice_WatchOnline div.MediaTitle {display:none;}

.slice_InstagramFeed iframe.lightwidgetMobile { display: block; }
.slice_InstagramFeed iframe.lightwidgetDeskTop { display: none; }
@media (min-width:768px) {
	.slice_InstagramFeed iframe.lightwidgetMobile { display: none; }
	.slice_InstagramFeed iframe.lightwidgetDeskTop { display: block; }
}
.slice_InstagramFeed i.icomoon-icon-instagram::after {color: #004982; position:relative; top:3px; }
section.slice_InstagramFeed img {display:block;width:100%;}

/* extra fixes for the header */
header ul.root_menu a,
header ul.slicknav_nav a {font-weight:600 !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: transparent !important; /* <<< slide show button background color */
    border-color: 	  white !important; /* <<< slide show button border color */
}
/* Slide show inactive round pager buttons */
section.slice_SlidesFullWidth a.bx-pager-link
{
    background-color: white !important; /* <<< slide show inactive round button color */
    border-color: 	  white !important; /* <<< slide show inactive round button border color */
}

/* 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;
	text-transform: uppercase;
}
@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: #004982; }
.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_GreetedForm_L,
  section.slice_FindYourPlace,
  section.slice_WelcomeArticles {padding-left:20px;}
  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:11px;}

/* 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;
}

section.slice_content_page.WideContent div.main-content {
	width:97.42268%;
}

section.slice_FixedSideLinks div.fixed-link-wrapper a i.journey-icon-search {font-size:18px;}

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;}