@charset "utf-8";
html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

.clearer {
    clear: both;
}
.clearer20 {
    clear: both;
	height: 20px;
}

/* html, body {
      width: 100%;
      height: 100%;
} */

body {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #1c1c1c;
	background-color: #FFF;
	line-height: 1.2em;
	font-size: 14px;
}
p {
	margin-bottom: 1em;
}

a {
	color: #051f61;
}

.blue {
	color: #051f61;
}

h1, h2, h3 {
	font-weight: normal;
	line-height: 1em;
}

h1 {
	font-size: 24px;
	margin-bottom: 1em;
}
h2 {
	font-size: 21px;
	margin-bottom: 1em;
}
h3 {
	font-size: 18px;
	margin-bottom: 1em;
}
header {
	position: relative;
	z-index: 99;
	width: 100%;
	background-color: #FFF;
}
header #logo {
	float: left;
	width: auto;
	text-align: left;
	margin: 35px 20px 20px 0;
}
header #logo img {
	width: 100%;
	max-width: 300px;
}

header #contactdetails {
	float: right;
	width: auto;
	text-align: right;
	font-size: 16px;
	margin: 20px 0 20px 20px;
	line-height: 1.5em;
}

header #contactdetails strong, header #contactdetails a {
	font-weight: bold;
	color: #051f61;
	text-decoration: none;
}

#banner {
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: center;
}

.homebanner {
	background-image: url(../images/bg-home.jpg);
}
.accountsbanner {
	background-image: url(../images/bg-accounts.jpg);
}
.taxationbanner {
	background-image: url(../images/bg-taxation.jpg);
}
.trainingbanner {
	background-image: url(../images/bg-training.jpg);
}
.payrollbanner {
	background-image: url(../images/bg-payroll.jpg);
}
.contactbanner {
	background-image: url(../images/bg-contact.jpg);
}
.linksbanner {
	background-image: url(../images/bg-links.jpg);
}

#content {
	width: 90%;
	max-width: 1200px;
	margin-top: -360px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
	padding: 2%;
	background-color: rgba(255, 255, 255, 0.9);
	min-height: 400px;
}

#content ul {
	list-style: disc;
	margin-left: 1em;
	margin-bottom: 1em;
}

#content li {
	margin-bottom: .2em;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.fltleft {
	float: left;
}
.fltright {
	float: right;
}

footer {
	padding: 10px 0px 50px 0px;
	text-align: center;
	line-height: 1.4em;
	color: #666;
	font-size: 12px;
}

footer a {
	color: #666;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

main {
}

.rowspacer {
	margin-bottom: 40px;
}

.fullwidth {
	width: 96%;
	margin: 2%;
}

.onehalf {
	float: left;
	width: 46%;
	margin: 2%;
}

.onethird {
	float: left;
	width: 29%;
	margin: 2%;
}

.onequarter {
	float: left;
	width: 21%;
	margin: 2%;
}

.threequarters {
	float: left;
	width: 71%;
	margin: 2%;
}

.centretext {
	text-align: center;
}

.intro {
	font-size: 1.2em;
	line-height: 1.2em;
}

.icaew {
	max-width: 229px;
	margin-top: 45px;
}

.homepanel {
	width: 100%;
	height: 160px;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: top center;
}
.homepanel a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: #fff;
}
.homepanel .textbox {
	width: 100%;
	height: 160px;
	position: absolute;
	top: 130px;
	left: 0;
	background-color: rgba(5,31,97,0.8);
	text-align: center;
	padding: 2%;
	font-weight: bold;
}
.homepanel:hover .textbox {
	top: 100px;
}
.textbox {
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.accountspanel {
	background-image: url(../images/panel-accounts.jpg);
}
.taxationpanel {
	background-image: url(../images/panel-taxation.jpg);
}
.trainingpanel {
	background-image: url(../images/panel-training.jpg);
}
.payrollpanel {
	background-image: url(../images/panel-payroll.jpg);
}

.linkspanel {
	text-align: center;
}
.linkspanel img {
	margin-bottom: .7em;
	max-width: 229px;
}
.linkspanel a {
	text-decoration: none;
}
.linkspanel a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 1200px) {
	
	body {
		font-size: 13px;
	}
	h1 {
		font-size: 21px;
	}
	h2 {
		font-size: 18px;
	}
	h3 {
		font-size: 15px;
	}
	
}

@media screen and (max-width: 1023px) {
	
	
}

@media screen and (max-width: 800px) {

	.onehalf, .onethird, .threequarters {
		width: 96%;
	}
	
	.onequarter {
		width: 46%;
	}

	.icaew {
		margin-top: 0;
		margin-bottom: 20px;
	}

}

@media screen and (max-width: 600px) {
	
	#content {
		width: 80%;
		padding: 4%;
	}
	
	.container {
		width: 80%;
	}
	
	header #logo {
		width: 260px;
		float: none;
		text-align: center;
		margin: 20px auto 20px auto;
	}
	
	header #contactdetails {
		float: none;
		text-align: center;
		margin: 20px 20px 20px 20px;
	}
}

@media screen and (max-width: 400px) {
	
	.onequarter {
		width: 96%;
	}

	.icaew {
		width: 180px;
	}
}
