/* CSS Document for Error Page */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #555;
	margin: 0;
	padding: 0;
	background-color: #e0e0e0;
}
/* Text */
h1 {
	margin: 0 0 1em 0;
	padding: 20px 0 10px 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 2em;
	color: #A84240;
	border-top: 1px solid #dedede;
}
p {
	margin: 0;
	padding: 0;
}
a {
	color: #9a0000;
	text-decoration: none;
}
a:visited {
	color: #b50c21;
}
a:hover {
	text-decoration: underline;
}
/* top bar */
#topContact {
	height: 40px;
	background-color: #333;/*position:fixed;
	width:100%;
	z-index:200;
	top:0;this is for creating fixed top bar*/
}
#contact {
	max-width: 1000px;
	margin: 0 auto;
	padding: 10px 0 0 0;
	color: #e0e0e0; /*color for font icons*/
}
#contact a {
	text-decoration: none;
	color: #fff;
}
#phoneNumber, #phonedirectory {
	margin: 0px;
	padding: 0 20px;
	border-right: 1px solid #e0e0e0;
}
/*page*/
#page {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	background-color: #fff;
	box-shadow: 0px 0px 3px #999;
}
/* Header*/ 
header {
	background: #fff;
	position: relative;/*padding-top:50px; for using fixed top bar*/
}
header a.centrallogo {
	position: absolute;
	display: block;
	width: 250px;
	height: 115px; /* links are normally inline elements*/
	background: url(../images/centrallargelogogif.gif) no-repeat 0 0;
	background-size: contain; /*this ensures the logo is scaled to fit the width and height properties*/
	top: 15px; /*65px if use fixed top bar*/
	left: 20px;
}
header a.centrallogo span { /*this is here to hide the words Central Recruitment*/
	display: none;
	background-color: #ffffff;
}
/*top-level*/
#topNavigation {
	padding: 100px 0 0 0; /*pushes recruitment/training menu down 100px from top*/
}
#topNavigation::after {/*ensures that the links appear on their own line*/
	content: '';
	display: block;
	clear: both;
}
/* Menus */
#topNavigation ul {
	list-style: none;
	margin: 0 0 15px 0;
	padding: 0;
	float: right;
	padding-right: 2%;
}
#topNavigation ul li {
	display: inline-block;
	float: left;
	margin: 0 0 10px 0;
	height: 100%;
}
#topNavigation ul a:hover {
	background-color: #e0e0e0;
	border-right: 2px solid #b50c21;
}
#topNavigation ul li a {
	display: inline-block; /*will behave like graphics*/
	padding: 10px 20px;
	text-decoration: none;
	color: #777;
	border-right: 2px solid #999;
	font-size: 1.1em;
	font-weight: bold;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
}
#topNavigation ul li:nth-child(1) a:hover {
	border-right: 2px solid #b50c21;
}
#topNavigation ul li:nth-child(2) a:hover {
	border-right: 2px solid #003399;
}
#topNavigation ul li:nth-child(3) a:hover {
	border-right: 2px solid #3A9E46;
}
#breadcrumbs p {
	margin: 0;
	padding: 15px 0 15px 40px;
	color: #555;
	background-color: #efefef;
}
#breadcrumbs a {
	text-decoration: none;
	color: #555;
}
#breadcrumbs a:hover {
	color: #9a0000;
	text-shadow: 1px 1px #ccc;
}
#mainContentNoSideBar {
	width: 90%;
	margin: 0 auto;
	padding: 0;
	padding-bottom: 20px/*background-color:red;*/
}
/*main content*/
#mainContentNoSideBar h1 {
	border-top: none;
	font-size: 1.6em;
	margin-top: 15px;
	padding-bottom: 0px;
	padding-left: 10px;
}
#mainContentNoSideBar p {
	margin: 0px 35px 15px 10px;
	padding: 0;
}
#page:after {
	clear: both;
	content: "";
	display: block;
}
#gridViewSpacer3 {
	margin-bottom: 300px;
}
/*footer*/
footer {
	background-color: #666;
	margin: 0;
	padding: 20px 0px 0 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #fff;
}
footer::after {
	content: '';
	display: block;
	clear: both;
}
/*div containing contact details*/
.footerAddress {
	max-width: 1000px;
	position: relative;
	margin: 0 auto;
	padding: 15px 0 10px 0;
	font-size: 1.5em;
	color: #fff;
	text-align: left;
	border-top: 1px solid #fff;
	min-height: 95px;
	background-size: contain;
}
.telno {
	border-right: 1px solid #eaeaea;
	padding-right: 10px;
	margin-right: 8px;
}
.footerAddress p {
	padding-left: 20px;
}
.footerAddress .copyright, .footerAddress .registeredcompanyno, .footerAddress .designer {
	font-size: .5em;
}
.footerAddress .registeredcompanyno, .footerAddress .designer {
	margin-left: 15px;
	padding-left: 15px;
	border-left: 1px solid #ccc;
}
.footerAddress a.footerlogo {
	position: absolute;/*this is here so that the image floats at the same height as the address*/
	display: block;
	width: 175px;
	height: 62px;
	background: url(../images/centralfooterlogosmall.gif) no-repeat 0 0;
	background-size: contain; /*background graphic sized to fit element*/
	margin-left: 85%;
	top: 20px;
}

@media screen and (max-width: 900px) {
.footerAddress {
	height: 180px;
}
.footerAddress p {
	text-align: center;
}
.footerAddress a.footerlogo {
	position: static;
	margin: auto;
	text-align: center;
	padding-top: 10px;
	margin-top: 10px;
}
}

@media screen and (max-width: 700px) { /*this media query is mainly for the footer that breaks down at thsi size*/
header a.centrallogo {
	height: 100px;
}
#breadcrumbs p {
	padding-left: 20px;
}
.footerAddress .designer {
	display: block;
	border-left: none;
	margin: 0;
	padding: 0;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 20px;
}
header a.centrallogo {
	width: 100%; /*set so that the logo takes up the entire width of the header*/
	background-position: center;
	left: 0px;
}
#topNavigation ul {
	list-style: none;
	margin: 0 0 15px 0;
	padding: 0;
	text-align: center;
	float: none;
	padding-top: 20px;
}
#topNavigation ul li {
	display: inline-block;
	float: none;
	margin: 10px 0 0px 0;
	height: 100%;
}
.footerAddress p {
	text-align: center;
	padding-left: 0px;
	margin-left: 0px;
}
#centralContactDetails {
	font-size: .65em;
}
#centralContactDetails .telno, .footerAddress .copyright {
	display: none;
}
#centralContactDetails, .footerAddress .registeredcompanyno {
	border-left: none;
	margin: 0;
	padding: 0;
	text-align: center;
	margin-bottom: 20px;
}
}
