﻿/* ---------------------------------------
Main css file 

Principal sections:
    $type - type fonts and colours
	$layout - element layouts and backgrounds
	$c8gen - in-house general styling 
	$c8accordion - accordion 
	$c8nav - navigation and site map 
	$fa - Font Awesome styling
	$search - search box
	$media - media queries
	$animations - animations
	$videoPlayer - videoPlayer 
	
Compatibility notes:
	IE8 - unsupported items (rem, gradients backgrounds) are preceded by something IE8 will recognise if critical

-----------------------------------------*/
/* c8 colours from Lucy Ward: */
/*	#a6ce39 ; /* c8 lime */
/*	#ec008c ; /* c8 magenta */
/*  #d0007b ; /* a darker shade of c8 magenta, meets WCAG AA*/
/*	#f68b33 ; /* c8 orange */
/*	#28c0da ; /* c8 sky */
/*	#06234b ; /* c8 ink */
/* ------------------------
$type
--------------------------*/
html {
	font-size: 1em;
	font-family: 'Segoe UI', 'Lucida Grande', 'Helvetica Neue', sans-serif;
	color: #666;
}
h1 {
	font-family: Calibri, Tahoma, Verdana, sans-serif;
	font-size: 2rem;
	text-align: center;
}
h1, h2 {
	color: #06234b; /* c8 ink */
}
h3 {
	color: #06499b;
	font-size: 1.4rem;
	font-style: italic;
}
h5 {
	/* mainly for FAQ */
    color: #3633f6;
	font-size: 1rem;
	font-weight: bold;
	font-style: italic;
}
#c8overview {
	color: #606060;
}
.c8ref {
	color: #d0007b; /* a darker shade of c8 magenta, meets WCAG AA when used with white */;
	font-style: italic;
}
.c8thetool {
	color: #d0007b; /* a darker shade of c8 magenta, meets WCAG AA when used with white */;
	font-weight: 700;
}
.c8refNIB {
	color: #82a661; /* a darker shade of c8 magenta, meets WCAG AA when used with white */;
	font-style: italic;
}
.c8press {
	color: #d0007b; /* a darker shade of c8 magenta, meets WCAG AA when used with white */;
	font-weight: 700;
	font-style: italic;
}
/* links */
a:link {
	color: #0066cc;
}
/* visited link */
a:visited {
	color: #006D00;
}
/* mouse over link */
a:hover {
	color: #cc0066;
}
/* selected link */
a:active {
	color: #0000ff;
}
em {
	color: #f68b33;
	font-weight: bold;
	font-style: normal;
}
.c8code {
	background-color: #DEDEDE;
	font-family: "Courier New",monospace;
	margin: 1px 1px 1px 1px;
	padding: 1px 1px 1px 1px;
}
/* ------------------------
$layout 
--------------------------*/
body {
	background-color: #e8e8e8;
}
#c8pagebody {
	background-color: #F7F7F7;
}
* {
	box-sizing: border-box;
}
#c8outerwrapper {
	max-width: 960px;
	max-width: 60rem;
	margin: 0 auto;
}
img {
	float: none;
	margin: 0.5rem;
}
img.getFlash {
	float: none;
}
.c8floatClear {
	clear: both;
}
.c8floatleft {
	float: left;
}
.c8floatright {
	float: right;
}
.c8width40 {
	width: 40%;
}
.c8width48 {
	width: 48%;
}
.c8width50 {
	width: 50%;
}
.c8width60 {
	width: 60%;
}
.c8margintop0 {
	margin-top: 0;
}
.c8margintop1 {
	margin-top: 1rem;
}
.c8centre {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* Masthead */
#c8masthead {
	background-color: #06234b;
	width: 100%;
	overflow: auto;
	padding: 6px 0;
}
#c8masthead1 {
	width: 22%;
	float: left;
}
#c8masthead1 span {
	margin-left: .4rem;
	margin-top: .4rem;
}
#c8masthead3 span {
	margin-right: .4rem;
	margin-top: .4rem;
}
#c8masthead2 {
	width: 60%;
	float: left;
}
#c8masthead3 {
	width: 18%;
	float: right;
}
#c8masthead2 img {
	display: block; /* ref: http://stackoverflow.com/questions/5734199/margin0-auto-not-working */;
	margin: 0 auto;
	max-width: 100%;
}
/* Main navigation */
#c8navmain {
	background-color: #28c0da; /* c8 sky */;
	padding: 2px 0 4px;
	font-family: 'Segoe UI', 'Lucida Grande', 'Helvetica Neue', sans-serif;
}
/* Page body */
#c8pagebody {
}
#c8innerwrapper, #c8detail {
	animation-name: fadeIn;
}
#c8innerwrapper {
	padding: 25px;
	padding-top:5px;
	animation-duration: 2s;
}
#c8overview, #errTitle {
	/*	background-color: BlanchedAlmond;*/
    text-align: justify;
	float: left;
	width: 60%;
	padding: 0 16px;
	padding: 0 1rem;
	margin: 16px 16px 3px 0;
	margin: 1rem 1rem .2rem 0;
	border-radius: .5rem;
	border: 4px #f68b33 solid;
/* c8 orange */
}
#c8detail {
	text-align: justify;
	font-family: Calibri, Tahoma, Verdana, sans-serif;
	animation-duration: 3.5s;
	-webkit-animation-duration: 3.5s;
}
#errTitle {
	/*	override some of #c8overview;*/
    width: 80%;
	margin: 1rem auto;
	float: none;
}
.c8pagefooter {
	margin-top: 24px;
	margin-top: 1.5rem;
	padding-top: 8px;
	margin-top: 0.5rem;
	font-size: .75rem;
	text-align: center;
	background-color: #06234b;/* c8 ink */;
	color: #FFEBCD;
}
.c8pagefooter a {
	color: #FFEBCD;
}
#c8underpanel {
	clear: both;
	padding: 16px 0;
	padding: 1rem 0;
	width: 100%;
}
/* Tables */
.c8tableFixed {
	/* allow specification of column width in inline style on row 1 */
	table-layout: fixed;
	width: 100%;
}
/* Table01 has borders and a header row */
.c8table01 td {
	padding: 8px;
	padding: .5rem;
	vertical-align: top;
	text-align: left;
	border-style: solid;
	border-width: 1px;
	border-color: #06234b;
/* c8 ink */
}
.c8table01 tr:first-of-type {
	background-color: #A9A9A9;
	color: #FFF;
}
.c8table01 p {
	margin-top: 0;
}
.c8table01 td p:last-of-type {
	margin-bottom: 0;
}
/* Table02 has no borders nor a header row */
.c8table02 {
	border-style: none;
}
.c8table02 td {
	padding: 0 16px;
	padding: 0 1rem;
	vertical-align: top;
}
.c8table03 td {
	border: 1px solid;
	background-color: #e8e8e8;
}
.c8linkSuppressFormat {
	text-decoration: none;
	color: inherit;
}
.c8tableButtonLinks {
	border-collapse: separate;
	border-spacing: 1rem;
	margin: 0 auto;
}
.c8tableButtonLinks td {
	border-style: solid;
	border-width: thin;
	margin: 0 1rem;
	padding: 1em;
	background-color: #CDE490; /*IE8*/;
	background-image: radial-gradient(circle closest-corner at center, #FFFFFF 0%, #A6CE39 100%);
}
/* ------------------------
$c8gen
--------------------------*/
.c8noscript {
	background-color: #FF0;
	text-align: center;
}
.c8thetool {
	color: #d0007b; /* a darker shade of c8 magenta, meets WCAG AA*/;
	font-weight: 700;
}
.c8aside {
	font-size: 12px;
	font-size: .75rem;
	color: #d0007b; /* a darker shade of c8 magenta, meets WCAG AA*/;
	border-style: solid;
	border-width: 1px;
	padding: 2px;
	width: auto;
}
/* bullets: ref http://stackoverflow.com/questions/710158/why-do-my-list-item-bullets-overlap-floating-elements/11904121#11904121 */
.c8bullets {
	padding-left: 25px;
	list-style-image: url(../img/chronolator-c-wheel-12x12.png);
	overflow: hidden;
}
.c8bulletsNoIndent {
	padding-left: 20px;
	padding-left: 1.2rem;
}
.c8bullets ol {
	list-style: decimal;
}
/* ------------------------
$c8accordion
--------------------------*/
/*
Overrides to JQueryUI settings.
The October 2016 rework removed JQueryUI themes; all necessary styling is done here.
*/
.ui-widget {
	font-family: inherit;
}
.ui-accordion .ui-accordion-header {
	color: #2e6e9e;
	background-color: #dfeffc;
	font-size: 1.1rem;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-left: 2.2em;
}
.ui-accordion-header.ui-state-active {
	color: #2e6e9e;
}
.ui-accordion-header.ui-state-hover {
	color: #134C76;
	background-color: #ADD6F8;
}
.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
	position: absolute;
	left: .5em;
	top: 45%;
	border: none;
	background-image: none; /* Ref: https://css-tricks.com/snippets/css/css-triangle/ */;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 8px solid #6DA8D5;
}
.ui-accordion .ui-accordion-header.ui-state-active .ui-accordion-header-icon {
	border-right: 8px solid transparent;
	border-top: 8px solid #6DA8D5;
	border-left: 8px solid transparent;
	top: 55%;
}
.ui-accordion-content {
	font-family: Calibri, Tahoma, Verdana, sans-serif;
}
/* ------------------------
$c8nav
--------------------------*/
/* 
Ref: http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery
See .. _notForPublication\dropdown\Create a multilevel Dropdown menu with CSS and improve it via jQuery _ Kriesi.pdf
Customised by JL for c8
*/
.c8nav, .c8nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: outside;
	position: relative;
	line-height: 2em;
	z-index: 5;
}
.c8nav {
	margin: auto;
	margin-left: 185px;
	width: 71%;
}
.c8nav a {
	display: block;
	padding: 0 5px;
	border: none;
	color: #fff;
	text-decoration: none;
	background-color: #28c0da;
/* c8 sky */
}
.c8nav a:hover {
	background: #06234b;
/* c8 ink */color: #FFF;
}
.c8nav li {
	float: left;
	position: relative;
	border-right: thin #fff solid;
}
.c8nav li:last-child {
	border-right-style: none;
}
.c8nav ul li {
	border: none;
}
.c8nav ul {
	position: absolute;
	display: none;
	width: 13em;
	top: 2em;
}
.c8nav li ul a {
	width: 13em;
	height: auto;
	float: left;
}
.c8nav ul ul {
	top: auto;
}
.c8nav li ul ul {
	left: 13em;
}
.c8nav li:hover ul ul, .c8nav li:hover ul ul ul, .c8nav li:hover ul ul ul ul {
	display: none;
}
.c8nav li:hover ul, .c8nav li li:hover ul, .c8nav li li li:hover ul, .c8nav li li li li:hover ul {
	display: block;
}
.c8sitemap, .c8sitemap ul {
	list-style: none;
}
.c8sitemap a {
	color: #06234b; /* c8 ink */;
	text-decoration: none;
}
.c8sitemap a:hover {
	background: #06234b;
	color: #FFF;
}
/* ------------------------
$fa
--------------------------*/
.fa-home {
	color: #FFF;
}
.fa-circle {
	color: #28c0da;
/* c8 sky */
}
.fa-bars {
	color: #FFF;
}
/* ------------------------
$search
--------------------------*/
.gsc-control-cse * {
	box-sizing: content-box;
}
#googleSearch {
	float: left;
	width: 38%;
}
/* ------------------------
$media
--------------------------*/
@media (max-width: 835px){
#c8navmain {
	display: none;
}
#c8overview {
	margin-bottom: 1.5rem;
}
#c8overview, #c8detail, #googleSearch {
	width: 100%;
}
#googleSearch .gsc-control-cse {
	padding-top: 0;
	padding-bottom: 1rem;
}
.c8width40, .c8width48, .c8width50 {
	width: 100%;
}
}
/* ------------------------
$animations
--------------------------*/
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
/* ------------------------
$videoPlayer (BVideoPlayer overrides (v*) and video area definitions (c8v*)
--------------------------*/
#vVideo {
	height: 526px;
	width: 700px;
}
#vOuterWrapper {
	padding-top: 3px;
}
#vControls img {
	margin: 0;
}
#vControlsLegend {
	top: -12px;
}
#vControls > table > tbody > tr {
	height: 25px;
}
#vButtonUnmute {
	top: -440px;
}
#vButtonUnmute span {
	top: 1px;
}
#c8vTitle {
	background-color: white;
	text-align: justify;
	padding: 0;
	margin-bottom: 0.2rem;
	border-radius: .5rem;
	border: 4px #f68b33 solid;
}
#c8vMiddle {
	width: 100%;
	height: 566px;
}
#c8vContentsHeader {
	color: #ffffe1;
	font-size: 2em;
	margin-top: 1px;
	margin-bottom: 1px;
}
.c8vContentsL1 {
	font-weight: bold;
	margin-top: 0.6rem;
	padding-left: 0.1rem;
}
.c8vContentsL2 {
	padding-left: 0.4rem;
	font-variant: small-caps;
	margin-top: 0.5rem;
}
.c8vContentsL3 {
	padding-left: 0.9rem;
}
#c8vClickToNavigate {
	color: #ffffe1;
	font-size: 1em;
	text-align: center;
	margin-top: 1px;
	margin-bottom: 1px;
}
#c8vNoScriptWarning {
	text-align: center;
	font-weight: bold;
	color: red;
	position: relative;
	top: -35px;
}
.c8vScript {
	display: none;
}
