/*
   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 header logo icon/image */
header .logo-icon img
{
    width:  auto !important; /* <<< mobile logo width */
    height: 105px !important;
}
@media(min-width:467px){header .logo-icon img
{
    height: 105px !important;
}}
@media(min-width:992px){header .logo-icon img
{
    height: 115px !important;
}}

section.slice_Header_L div.logo-container {
	margin-top:5px;
  	margin-bottom:0;
}



/* ############ Menu hover-over text-link color, header top-link icons colour,
   footer email link text color */
header section.slice_Header_L i::before
{
    color: #4ab9bf !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: #4ab9bf !important; /* <<< Search box background colour */
}

section.slice_CommunityText_L span.HighLight {color:#1BA3D2;}


/* ############ 3 Big Button colours */
section.slice_content_page aside a.button1
{
    background-color: #D21616 !important; /* <<< Green/left/top big button */
}
section.slice_content_page aside a.button2
{
    background-color: #22D587 !important; /* <<< Red/middle big button */
}
section.slice_content_page aside a.button3
{
    background-color: #B542F9 !important; /* <<< Blue/right/bottom big button */
}



/* ############ slide show caption button, and active/hover round pager button colour */
section.slice_SlidesFullWidth a.slideButton {
    background-color: #1BA3D2 !important; /* <<< slide show button background color */
    border-color: 	  #1BA3D2 !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: #1BA3D2 !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 */
	}
}
