/*
   Style Over-Ride file. Put/edit CSS styles in here that are specific to a customer.
   Version 1-Feb-2017.

   WARNING - try not to add styles that will be applied to article contents,
   or else customers will get confused if they try to change colours/styles
   in an article but see no change on their screen.

   All the styles already in here are OK to change. */



/* ############ Size of site logo image */
/* (For reference the entire desktop header is 127px high, unless there is a massive logo present) */
header .logo-icon img { 
	width:  auto !important; /* <<< mobile logo width */
	height: 60px !important; 
}
@media(min-width:467px){header .logo-icon img
{ 
	height: 80px !important; 
}}
@media(min-width:992px){header .logo-icon img
{ 
	height: 80px !important; 
}}
/* Gap between logo and top/bottom of screen  */
header div.logo-container 
{
	margin-top: 10px !important; /* <<< gap from top for mobile/tablet */
	margin-bottom: 10px !important; /* <<< gap from bottom for mobile/tablet */
}
@media(min-width:992px){header div.logo-container 
{
	margin-top: 10px !important; /* <<< gap from top for desktop */
	margin-bottom: 0 !important; /* <<< gap from bottom for desktop */
}}



/* ############ Menu hover-over text-link color, header top-link icons colour,
   footer email link text color */
header section.slice_Header_L i::before
{
    color: #00b0b9 !important; /* <<< header icon color */
}

header section.slice_Header_L .top-link:hover i::before
{
    color: #fff !important; /* <<< header icon color */
}



/* ############ Search box background colour */
header div.search-overlay
{
    background-color: #00b0b9 !important; /* <<< Search box background colour */
}

section.slice_CommunityText_L span.HighLight {color:#00b0b9;}


/* ############ 3 Big Button colours */
section.slice_content_page aside a.button1
{
    background-color: #ef8c34 !important; /* <<< Green/left/top big button */
}
section.slice_content_page aside a.button2
{
    background-color: #e24c44 !important; /* <<< Red/middle big button */
}
section.slice_content_page aside a.button3
{
    background-color: #00b0b9 !important; /* <<< Blue/right/bottom big button */
}



/* ############ slide show caption button, and active/hover round pager button colour */
section.slice_SlidesFullWidth a.slideButton {
    background-color: #00b0b9 !important; /* <<< slide show button background color */
    border-color: 	  #00b0b9 !important; /* <<< slide show button border color */
}
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 */
}



/* ############ Service Times and Location logos */
section.slice_ServiceText_L div.block2-1::after,
section.slice_ServiceText_L div.block2-2::after
{
    color: #00b0b9 !important; /* <<< Clock and Location icon colour */
}



/* ############ Quick branding of slice header-text.
   (All styles are outside of article content.) */
section.slice_Header_L .logo-name a
{
    color: #414141 !important; /* <<< a *dark* text colour, suitable for a *white* background */
}

section[class$="_L"] > h1,
section[class$="_L"] > div.container > h1
{
    color: #414141 !important; /* <<< a *dark* text colour, suitable for a *white* background */
}



/* ############ Top bar of Group-Nav on the content page */
section.slice_content_page aside nav td.boxout_header_middle a
{
    background-color: #5a6265 !important; /* <<< Group-Nav top bar background colour */
}

/* Code to make slide-shows look better on mobile screens */
section.slice_SlidesFullWidth {overflow:hidden;} /* hide anything that pokes outside */
@media (max-width:600px) {
	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 */
	}
}
section.slice_SlidesFullWidth div.bannerSlides div.bx-wrapper div.bx-pager {
  display:block;bottom:5px;
}

section.slice_Header_L div.nav-menu ul.root_menu > li ul li.has_sub_menu::after,
section.slice_Header_L div.nav-menu ul.root_menu > li:last-child > ul li.has_sub_menu::before, 
section.slice_Header_L div.nav-menu ul.root_menu > li:nth-last-child(2) > ul li.has_sub_menu::before
{top:9px;}

/* 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; }

section.slice_system_page._calendar_month_aspx div.CalendarHeader {
  width:100%; margin:0 0 20px; color:red;
}

/* Code to move slide-show pager button down */
  div.main-content div.MoveButtonsAtBottom div.bx-wrapper div.bx-pager.bx-default-pager {position: static;}
  div.main-content div.MoveButtonsAtBottom div.bx-wrapper div.bx-controls.bx-has-controls-auto.bx-has-pager div.bx-controls-auto {bottom:0;}

div.main-content div.SmallCaptions div.bx-wrapper div.bx-caption {width:auto;}
div.main-content div.SmallCaptions div.bx-wrapper div.bx-caption span {line-height:1.2;padding:5px 5px 15px 5px;}

section.CoronaVirus {background-color:red;}