/*

QNM - Global Stylesheet
Handwritten by Richard Wilmot (AztecMedia.eu)
http://www.qnm.ltd.uk/

*/

																					/* ------------ Toolbox ------------ */

.float-left { float: left; }
.float-right { float: right; }
.align-right { text-align: right; }
.cleared { clear: both; }
.hide { display: none; }
.smaller { font-size: 90%; }
.larger { font-size: 110%; }
.normal { font-weight: normal; }

hr { display: none; }
strong { font-weight: bold; }

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
	}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

																					/* ------------ Defaults ------------ */

body {
	
	font-size:0.8em;
	line-height:1.4em;
	color:#594b41;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	min-width:960px;
	width:100%
	}

#container-outer {
	background:url(../images/body-bg.jpg) no-repeat top center;
	margin:auto;
	width:100%;
	}

#container {
	margin:auto;
	max-width:960px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	}
	
#content {
	margin:auto;
	max-width:960px;
	padding:20px 20px 20px 20px;
	float:left;
	min-height:440px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	}
	
#home #content {
	padding:0 20px 20px 20px;
	}		

a {
	text-decoration:none;
	color:#66961f;
}

a:hover {
	text-decoration:underline;
}

p,
#col-2 ul {
	margin-bottom:10px;
}

h1 {
	font-weight:normal;
	color:#66961f;
	font-family: 'Unna',serif;
	font-size:180%;
	margin-bottom:10px;
}

h2 {
	font-weight:normal;
	font-size:140%;
	margin-bottom:10px;
	font-family: 'Unna',serif;
	color:#66961f;
}

#col-2 li,
#col-2 li li {
	margin-left:10px;
	background:url(../images/bullet.png) no-repeat 0 4px;
	padding-left:15px;
	margin-left:5px;
}

#col-2 li li {
	background:url(../images/bullet2.png) no-repeat 0 4px;
}


.btn,
#loginform input.btn,
#NewsPostDetailReturnLink a,
#contact  #col-2 form .submit input,
#news-search input.btn,
#login #loginform input.btn,
.gallery .btn a {
	display:block;
	width:170px;
	background:url(../images/btn-170.png) no-repeat top left;
	line-height:30px;
	height:30px;
	color:#FFF;
	text-align:center;
	font-family: 'Unna',serif;
	text-transform: uppercase;
	font-size:100%;
	cursor:pointer
}

#login #loginform input.btn {
	width:120px;
	background:url(../images/btn-120.png) no-repeat top left;
	margin-top:10px;
}

.gallery .btn a {
	width:220px;
	background:url(../images/btn-220.png) no-repeat top left;
	margin-top:10px;
}


.btn:hover,
#loginform input.btn:hover,
#NewsPostDetailReturnLink a:hover,
#contact  #col-2 form .submit input:hover,
#news-search input.btn:hover,
#login #loginform input.btn:hover,
.gallery .btn a:hover {
	background-position: 0 -30px;
}
	
																					/* ------------ Mobile Header ------------ */

#mobile-header {
	display: none;
}
	
																					/* ------------ Login ------------ */

#login {
	background: url("../images/feature-blog-bg.gif") repeat-x scroll left top #382F28;
	border-bottom: 3px solid #486916;
	height:40px;
	width:490px;
	float:right
}


#login h2 {
	background: url(../images/feature-login-icon.png) no-repeat top left;
	height:32px;
	line-height:32px;
	font-family: 'Unna',serif;
	text-transform: uppercase;
	color:#FFF;
	font-size:110%;
	padding:0 0 0 45px;
	margin-bottom:10px;
	width:100px;
	float:left;
	margin:5px;
}

#login #loginform {
	float:right;
	width:335px;
	height:40px;
	position:relative
}

#login #loginform form {
	height:40px;
	position:relative
}

#login #loginform label {
	display:none
}

#login #loginform p {
	float:left
}

#login #loginform input {
    background: url("../images/login-text-bg.gif") no-repeat scroll left top rgba(0, 0, 0, 0);
    border: medium none;
    color: #594B41;
    font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
    height: 27px;
    line-height: 27px;
    padding-left: 5px;
    width: 100px;
	float:left;
	margin-top:8px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

#login #loginform p.error {
    background:#486916 url("../images/error.png") no-repeat 5px 4px;
    color: #FFCC33 !important;
	position:absolute;
	bottom:-36px;
	right:0px;
	padding:3px 5px 5px 28px
}

#login .welcome {
	color:#FFF;
	line-height:1.2em;
	font-size:80%;
	float:left;
	width:150px;
	margin-top:13px;
}

#login .sign-out {
	float:right;
	margin-top:10px;
}
	
																					/* ------------ Branding ------------ */

#branding {
	width:100%;
	height:140px;
	float:left;
	position:relative;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

#branding a.logo {
	background:url(../images/qnm-logo.png) no-repeat top left;
	display:block;
	width:263px;
	height:88px;
	margin:26px 0 0 10px;
	float:left;
	text-indent:-25000px
}

#branding span {
	background:url(../images/qnm-strapline.png) no-repeat top left;
	width:336px;
	height:17px;
	text-indent:-25000px;
	position:absolute;
	right:10px;
	top:60px
}

#branding ul {
	position:absolute;
	right:10px;
	top:90px;
}

#branding li {
	text-align:right;
	padding-right:25px;
	height:18px;
	float:right;
	margin-left:20px;
	line-height:18px;
	font-family: 'Unna',serif;
	font-size:120%;
	margin-bottom:5px
}

#branding li a {
	color:#594b41
}

#branding li.tel {
	background:url(../images/branding-tel.png) no-repeat top right;
	font-size:130%;
}

#branding li.email {
	background:url(../images/branding-email.png) no-repeat top right;
}

																				/* ------------ Navigation ------------ */

#navigation {
	width:100%;
	height:62px;
	background:url(../images/nav-bg.png) no-repeat top left;
	float:left
}

#navigation li {
	float:left
}

#navigation li a {
    display: block;
    font-family: 'Unna',serif;
    height: 39px;
    line-height: 39px;
    text-align: center;
    text-transform: uppercase;
    /*width: 137px;*/
	border-right: #3c3029 solid 1px;
	border-left: #72655c solid 1px;
	color:#a59f9b;
	font-size:110%;
	padding:0 18px;
	margin-top:20px;
}

/*#navigation li.blog a {
    width: 138px;
}*/


#navigation li a:hover,
#navigation li a.menuactive {
	background:url(../images/nav-btn.gif) repeat-x top left;
	color:#FFF;
	line-height:62px;
	text-decoration:none;
	border-bottom: #517618 solid 1px;
	border-right: #517618 solid 1px;
	border-top:#699529 solid 1px;
	border-left: #699529 solid 1px;
	/*width:135px;
	height: 60px;*/
	height: 60px;
	margin-top:0
}

#navigation li.facebook,
#navigation li.youtube {
	float:right;
	margin: 24px 4px 0 0;
}

#navigation li.facebook a,
#navigation li.youtube a {
	float:right;
	width:30px;
	height:30px;
	text-indent:-25000px;
	background:url(../images/facebook.png) no-repeat top left;
	border:none;
	padding:0;
	margin:0
}

#navigation li.youtube a {
	background:url(../images/youtube.png) no-repeat top left;
}

#navigation li.facebook a:hover,
#navigation li.youtube a:hover {
	background-position: 0 -30px;
}




/*#navigation li.blog a:hover,
#navigation li.blog a.menuactive {
	width:136px
}*/

#navigation li ul {
	display:none
}

#sub-nav {
	margin-bottom:20px;
}

#sub-nav li a {
	display:block;
	width:234px;
	height:30px;
	background:url(../images/sub-nav-btn.gif) repeat-x 0 -30px;
	line-height:30px;
	color:#FFF;
	text-align:center
}

#sub-nav li a:hover,
#sub-nav li.menuactive a {
	background:url(../images/sub-nav-btn.gif) repeat-x 0 0;
	text-decoration:none
}


#sub-nav li ul a {
	display:block;
	width:234px;
	height:25px;
	background:#A8A19D !important;
	line-height:25px;
	color:#594B41;
	text-align:center;
	font-size:90%;
	border-bottom:#594B41 dotted 1px;
}

#sub-nav li ul a:hover,
#sub-nav li li.menuactive a   {
	background:#064277  !important;
	color:#FFF
}

#sub-nav .separator {
	background:none;
	height:30px;
}

#sub-nav .sectionheader {
	text-align:center;
	font-family: 'Unna',serif;
	font-size:140%;
	background: url(../images/nav-btn.gif) repeat-x bottom right;
	height:40px;
	line-height:40px;
	color:#FFF;
}

#sub-nav .reportsarchive,
#sub-nav .factsheets {
	margin-top:20px
}

																				/* ------------ Hero ------------ */

#hero {
	float: left;
    width: 960px;
	height:250px;
	margin-bottom:20px;
	overflow:hidden
}

.nivoSlider {
	box-shadow: none !important;
}
	
.nivo-caption {
	background:url(../images/slideshow-caption.png) repeat-x top left;
	height:30px;
	padding:9px 0 0 10px;
	line-height:30px;
}


																				/* ------------ Columns ------------ */

#col-1 {
	float:left;
	width:234px;
	margin:0 20px 0 0;
}

#col-2 {
	float:left;
	max-width:646px;
}

#home #col-2 {
	max-width:412px;
}

#resources #col-2 {
	max-width:920px;
}

#col-3 {
	float:right;
	width:234px;
	margin-left:20px;
}


																				/* ------------ Features ------------ */

#feature-left,
#feature-right,
#feature-right-2  {
	position:relative;
	margin-bottom:20px;
}

#feature-left img,
#feature-right img,
#feature-right-2 img {
	position:absolute;
	top:0;
	left:0
}


#feature-left a,
#feature-right a,
#feature-right-2 a {
	width:234px;
	height:166px;
	display:block;
	position:relative;
	font-family: 'Unna',serif;
	text-transform: uppercase;
	color:#594b41;
	font-size:110%;
}


#feature-left a:hover h2,
#feature-right a:hover  h2,
#feature-right-2 a:hover  h2 {
	color:#064277;
}

#feature-left a h2,
#feature-right a h2,
#feature-right-2 a h2 {
	background:url(../images/slideshow-caption.png) repeat-x top left;
	padding:9px 0 0 10px;
	height:30px;
	line-height:30px;
	position:absolute;
	bottom:0;
	left:0;
	width:224px;
	color:#594b41;
	font-size:100%;
	margin-bottom:0
}


#feature-blog,
#feature-login,
#news-search {
	width:214px;
	min-height:144px;
	margin-bottom:20px;
	position:relative;
	background: #382f28 url(../images/feature-blog-bg.gif) repeat-x top left;
	border-bottom:#486916 3px solid;
	padding:10px;
	color:#A8A19D
}

#news-search {
	min-height:104px;
}


#feature-blog h2,
#feature-login h2,
#news-search h2 {
	background:url(../images/feature-blog-icon.png) no-repeat top left;
	height:32px;
	line-height:32px;
	font-family: 'Unna',serif;
	text-transform: uppercase;
	color:#FFF;
	font-size:110%;
	padding:0 0 0 45px;
	margin-bottom:10px;
}

#feature-login h2 {
	background:url(../images/feature-login-icon.png) no-repeat top left;
}

#news-search h2 {
	background:url(../images/news-search-icon.png) no-repeat top left;
}

#feature-blog .NewsSummary img {
	border:#FFF solid 3px;
	-webkit-box-shadow: 0 0 5px 0 #000;
	box-shadow: 0 0 5px 0 #000;
	float:left;
	margin-right:10px;
}

#feature-blog .NewsSummarySummary {
	font-size:90%;
	line-height:1.2em;
	color:#A8A19D
}

#feature-blog .btn,
#feature-login .btn,
#news-search .btn {
	position:absolute;
	bottom:0;
	right:0;
}

#loginform form {
	margin-bottom:25px;
}

#loginform legend {
	display:none;
}

#loginform p.error {
	padding-left:20px;
	background:url(../images/error.png) no-repeat top left;
	color:#FC3
}

#loginform label,
#news-search label {
	display:block;
	width:60px;
	text-align:right;
	padding-right:10px;
	color:#a8a19d;
	float: left;
    height: 27px;
    line-height: 27px;
}

#loginform input,
#news-search input {
	width:126px;
	height:27px;
	line-height:27px;
	border:none;
	background:url(../images/feature-login-text-bg.gif) no-repeat top left;
	color:#594b41;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	padding-left:5px;
	
}

#news-search input {
	margin-left:3px;	
}
	
	
	

																				/* ------------ Footer ------------ */

#footer-container {
	background:url(../images/footer-bg.png) repeat-x top center;
    height: 109px;
    /*bottom: 0;
	margin-left: auto;
    margin-right: auto;
    position: fixed;*/
	width:100%;
	min-width:960px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}


#footer {
	height: 69px;
    margin: auto;
    position: relative;
    max-width: 920px;
	color:#FFF;
	font-size:90%;
	padding:40px 20px 0 20px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

#footer a {
	color:#FFF
}

#footer #copyright {
	float:left;
	padding-top:10px;
}

#footer #newsletter {
	width:440px;
	float:right;
	text-align:right;
}

#footer #newsletter label,
#footer #newsletter input {
	float:left
}

#footer #newsletter label {
	display:block;
	width:50px;
	height:24px;
	line-height:24px;
	padding-right:10px;
	margin-top:3px;
}
	

#footer #newsletter input {
	width:110px;
	border: #FFF solid 1px;
	padding:2px;
	height:20px;
	line-height:20px;
	margin-top:3px;
	background:url(../images/input-bg.png) repeat top left;
	color:#FFF
}

#footer #newsletter button {
	width:27px;
	height:30px;
	border:none;
	padding:0;
	cursor:pointer;
	background:url(../images/sign-up.png) no-repeat top left
}

#footer #newsletter button:hover {
	background-position: 0 -30px;
	text-indent:-25000px
}