/* Google Fonts are Open Sans and Coustard */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
@import url(http://fonts.googleapis.com/css?family=Coustard);

/* Custom CSS and overrides for Bootstrap CSS */

/* Overall background colour */
body {
	background-image:url(../images/bg-main.jpg);
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-position:center;
	font-family: 'Open Sans', sans-serif;
}
body.site {
	padding:0;
	border-top:none;
	background-color:#58575c;
	color:#57585b;
}
/* Some general overrides */
a {
    color: #57585b;
    text-decoration: underline;
}
a:hover {
	color:#d71920;
}
h1, h2, h3, h4, h5 {
	font-family: 'Coustard', serif;
	font-weight:normal;
	color:#d71920;
}
h3 {
	line-height:110%;
	margin-top:0;
}
.grey {
	color:#57585b;
}
/* HEADER ================================================================ */

/* Outer container - full width of window on desktop */
#header-container {
	/*background-color:#CCC;*/
	padding-left:20px;
	padding-right:20px;
	background-image:url(../images/bg-container.gif);
	background-repeat:repeat-y;
	background-position:center;
}
/* Inner container */
#header { 
	/*background-color:#099;*/
	/*padding-left:20px;
	padding-right:20px;*/
}
#header .span12 {
	text-align:center;
}
#header .span12 img {
	padding-top:23px;	
}
/* Joomla search bar */
.search-outer {
	padding-bottom:16px;
}
.search-container {
	width:210px;
	height:24px;
	background-color:#FFF;
	overflow:hidden;
	margin-top:4px;
}
.search-container form label {
	position:absolute;
	top:-10000px;
	left:-10000px;
}
.search-container form .button {
	float:right;
	margin-top:2px;
	margin-right:2px;
}
.search-container form .inputbox {
	border:none;
	border-collapse:collapse;
	background-color:#FFF;
	float:left;
	width:160px;
	height:22px;
	color:#666;
	padding-left:5px;
	padding-right:5px;
	padding-top:1px;
	font-size:1em;
}


/* MENU ================================================================ */

/* Outer container - full width of window on desktop */
#header-menu-container {
	/*background-color:#999;*/
	padding-left:20px;
	padding-right:20px;
	background-image:url(../images/bg-container.gif);
	background-repeat:repeat-y;
	background-position:center;
}
/* Inner container */
#header-menu {
	text-align:center;
}
/* Bootstrap overrides */
#header-menu .navbar {
	margin-bottom:0;
}

/* NOTE: Adjust the display width at which the menu collapses in line 914 of bootstrap-repsonsive.css */

/* Reset navbar styles to a more bland starting point */
.navbar-inner {
    background: none !important;
    background-image: none;
    background-repeat: repeat-x;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.navbar .nav > li > a {
    color: #FFFFFF;
    float: none;
    padding: 10px 15px;
    text-decoration: none;
    text-shadow: 0 1px 0 #666666;
}

/* Stretch Creative menu system is simpler and works in Joomla */

/* Normal menu with JS dropdowns */
	
#header-menu ul {
	list-style:none;
	font-size:20px;
	margin: 20px 0 0 0;
	font-family: 'Coustard', serif;
	text-transform:lowercase;
	margin-bottom:10px;
}
#header-menu ul a,
#header-menu li span.separator  {
	text-decoration:none;
	display:inherit;
	padding:0px 12px 0px 12px;
}
#header-menu ul li span {
	text-decoration:none;
	/*display:block;*/
	padding:1px 10px 1px 10px;
	cursor:pointer;
}
#header-menu ul a:hover,
#header-menu ul li.active a,
#header-menu li span.separator:hover {
	color:#d71920;
	background:none;
}
/* Top level */
#header-menu ul li {
	/*float:left;*/
	display:inline;
	position:relative;
	line-height:150%;
}
#header-menu ul > li > a {
	border-left: 1px solid #57585b;
}
#header-menu ul > li:first-child > a {
	border-left: none;
}
#header-menu ul li:first-child a{
	/*padding-left: 0;*/
}



/* OTHER LEVELS NOT USED */
/* Second level */
#header-menu ul li ul {
	position:absolute;
	z-index:999;
	width:200px;
	display:none;
	/*font-size: 12px;*/
	padding-top: 5px;
	padding-bottom: 5px;
	/* Box shadow */
	/* Horizontal length | Verttical length | Blur radius | Spread | Color */
	/*-moz-box-shadow: 5px 5px 10px 1px #ccc;
	-webkit-box-shadow: 5px 5px 10px 1px #ccc;
	box-shadow: 5px 5px 10px 1px #ccc;*/
	/* Alternative tranparent version */
	-moz-box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.2)	;
	-webkit-box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.2)	;
	box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.2)	;
}
#header-menu ul li ul li {
	width:100%;
	border-left:none;
}
#header-menu ul li ul li a {
	padding:5px 10px 5px 10px;
	padding-left: 10px;
}
#header-menu ul li.active ul li a,
#header-menu ul li.active ul li span.separator {
	background-color:#CCC;
}
#header-menu ul li.active ul li a:hover,
#header-menu ul li.active ul li span.separator:hover {
	background-color:#999;
}
#header-menu ul li ul li:first-child a {
	padding-left: 10px;
}
/* Third level */
#header-menu ul li ul li ul {
	position:absolute;
	left:200px; /* Width of parent level */
	top:0px;
	display:none;
}

/* Hidden menu button */
#header-menu a.toggle-menu {
	display:none;
}


/* List version of menu */

@media (max-width: 539px) {
	/* Make space for fixed top menu */
	#header-container {
		padding-top:30px;
	}	
	#header-menu-container {
		background-color:#58575c; /* Overall background colour (NB Can be overridden by image) */
		background-image:none;
		/* Fix menu at top */
		position:fixed;
		z-index:999999;
		width:100%;
		top:0;
		-moz-box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.2);
		-webkit-box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.2);
		box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.2);
		padding-bottom:3px;
		padding-left:0px;
		padding-right:0px;
	}
	#header-menu {
		padding-left:20px;
		padding-right:20px;
	}
	#header-menu ul {
		list-style:none;
		position:relative !important;
		background-image:none;
		background-color:#58575c !important;
		margin: 0px !important;
		padding:0px 0px 3px 0px !important;
		display:none;
		width:auto!important;
	}
	
	/* Top level */
	#header-menu ul li {
		border:none;
		float:none;
		padding:0;
		margin:0;
		background-image:none;
	}
	#header-menu ul a,
	#header-menu li span.separator  {
		font-size:14px !important;
		line-height:100%;
		width:auto;
		text-decoration:none;
		display:block;
		color:#FFF;
		padding:6px !important;
		margin:0;
		background-image:none;
		font-size:14px;
		border-left:none !important;
	}
	#header-menu ul li span {
		text-decoration:none;
		display:block;
		color:#FFF;
		padding:0px !important;
		cursor:pointer;
	}
	#header-menu ul a:hover,
	#header-menu ul a.active,
	#header-menu li span.separator:hover {
		color:#d71920 !important; /* Hover text colour */
		padding:6px !important;
		background-image:none;
	}

	/* Second level */
	#header-menu ul li ul {
		display:block;
		position:relative;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin:0;
		left:0;
		background-image:none;
	}
	#header-menu ul li ul li a,
	#header-menu ul li ul li span.separator,
	#header-menu ul li ul li a:hover 
	{
		color:#FFF;
		padding-left: 20px !important;
		background-color:#999;
	}
	
	/* Third level */
	#header-menu ul li ul li ul {
		display:block;
		position:relative;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin:0;
		left:0;
		background-image:none;
	}
	#header-menu ul li ul li ul li a,
	#header-menu ul li ul li ul li span.separator,
	#header-menu ul li ul li ul li a:hover {
		padding-left:40px !important;
	}
	
	
	/* Hidden menu button */
	#header-menu a.toggle-menu {
		text-decoration:none;
		display:block;
		color:#FFF;
		padding:6px 0px 6px 0px;
		cursor:pointer;
		font-size:14px;
	}
	#header-menu a.toggle-menu:hover {
		color:#FFF;	
	}

}

/* CONTENT ================================================================ */

/* Outer container - full width of window on desktop */
#content-area-container {
	/*background-color:#3C9;*/
	padding-left:20px;
	padding-right:20px;
	background-image:url(../images/bg-container.gif);
	background-repeat:repeat-y;
	background-position:center;
}
/* Inner container */
#content-area {
	padding-top:20px;
	padding-bottom:20px;
}
/* Slidehsow overrides */
.label_skitter p {
	letter-spacing:0;
	padding:0;
}
.page-header {
	border-bottom:1px solid #DDDDDF;
	margin-bottom:0px;
}
.item-page {
	min-height:80px;
}
.page-header h1 {
	font-size:30px;
	margin-top:25px
}
hr {
	border-color:#DDDDDF;
	border:none;
	background-color:#DDDDDF;
	height:1px;
}
.intro {
	font-size:16px;
	font-weight:bold;
}
.red {
	color:#d71920;
}
.pdf-links a {
	text-decoration:none;
}
/* FOOTER ================================================================ */

/* Outer container - full width of window on desktop */
#footer-container {
	/*background-color:#999;*/
	padding-left:20px;
	padding-right:20px;
	background-image:url(../images/bg-container.gif);
	background-repeat:repeat-y;
	background-position:center;
	min-height:245px;
}
/* Inner container */
#footer {
	padding-top:20px;
	padding-bottom:20px;
	border-top:1px solid #dddddf;
	text-align:center;
	position:relative;
}
#footer .footer-logos {
	position:absolute;
	top:20px;
	left:0;
	padding-bottom:20px;
}
#footer .footer-logos img {
	float:left;
	clear:left;
}
@media (max-width:767px){
	#footer .footer-logos {
		position:relative;
	}
	#footer .footer-logos img {
		float:none;
	}
}
	
#footer .menu {
	width:auto;
	list-style:none;
	text-align:center;
	text-transform:lowercase;
}
#footer .menu li {
	display:inline;
	width:auto;
	line-height:100%;
}
#footer .menu li a {
	padding:0px 6px 0px 6px;
	border-left:1px solid #58575c;
	background:none;
	text-decoration:none;
	display:inherit;	
}
#footer .menu li a:hover {
	background:none;
}
#footer .menu li:first-child a {
	border-left:none;
}
#footer .menu li.current.active a {
	font-weight:bold;
}
#footer p {
	text-align:center;
}
#footer p span.red {
	color:#d71920;
}
#footer .small-print p {
	font-size:85%;
}

/* Stretch Creative note: removing this padding allow the outer containers to remain full width. */

@media (max-width: 767px) {
  body {
    padding-right: 0px;
    padding-left: 0px;
  }
}

