/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/


/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}

a,
a:link,
a:visited {
	color: #666666;
	text-decoration: underline;
}
a:hover {
	color: #205e95;
	text-decoration: none;
}
a:active,
a.active {
	color: #0098C3;
}


/*	Typography presets
	------------------	*/
body {
	font: 12px/18px Arial, Helvetica, sans-serif;
}
p {
	margin: .2em 0 .8em 0;
}
h1, h2, h3, h4, h5, h6 {
	margin: .8em 0 .4em 0;
	padding: 0;
	color: #00539a;
	font-family: 'Muli', Arial, sans-serif
}
h1 {
	font-size: 1.7em;
}
h1.title {
	margin: 0 0 .8em 0;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.5em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.3em;
}
h6 {
	font-size: 1.2em;
}
input,
select,
textarea {
	font-family: inherit;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}


img {
     max-width: 100%;
}

/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	width: 896px;
	margin: 0 auto;
	padding: 0 48px;
	background: rgb(232,232,232);
	color: rgb(60,60,60);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	background: #fff url(../images/page-bg.png) repeat-x center top;
}

/* Header
------------------------------ */
#header {
	height: 170px;
	background: #fff;
}
#header #logo {
	margin: 0;
	padding: 30px 0 12px 30px;

}
#header #logo img {
	display: block;
}
#header-region {
	margin: 0;
	padding: 0;
	float: right;
	width: 250px;
}
#header p {
	margin: 0;
	padding: 0;
	text-align: right;
}
#header .form-item {
	margin: 0;
}
#header #block-search-0 {
	margin: 10px 0 0 0;
	padding: 0;
	text-align: right;
}
#header #block-search-0 #edit-search-theme-form-keys {
	margin: 0;
	padding: 10px 2px 10px 5px;
	height: 10px;
	width: 168px;
	border: 0;
	text-transform: uppercase;
	font-size: 1em;
	line-height: 1em;
	background: #EEE;
}
#header #block-search-0 #submit {  /* hide the search button and put in a fancy little image, instead */
	background-color: transparent;  /* hide standard button display stuff */
	border: none; /* hide standard button display stuff */
	background-image: url(../images/search-btn.png); /* put in fancy image */
	background-repeat: no-repeat;
	vertical-align: top;
	height: 30px; /* fancy image height */
	width: 32px; /* fancy image width */
	text-indent: 34px; /* move the 'Search' text on the button to the right */
	word-spacing: 10em; /* and space it out -- both of these shouldn't be necessary, but the combination makes all our browsers style this correctly */
	text-align: right; /* see above */
	cursor: pointer; /* make the mouse give the right feedback - IE stupidity, again */
	padding: 0;
	margin: 0;
}

/* Navigation
------------------------------ */
#navigation {
	margin: 0 0 0 30px;
	padding: 0;
	height: 40px;
	background: #00539a;
}
ul#superfish-1 {
	margin: 0;
	padding: 0;
	height: 40px;
	font-weight: bold;
}
ul#superfish-1 a, 
ul#superfish-1 a:visited {
	padding: 0 20px;
	color: #FFF;
	line-height: 40px;
	height: 40px;
	text-decoration: none;
}
ul#superfish-1 li:hover,
ul#superfish-1 li.sfHover,
ul#superfish-1 li.active a,
ul#superfish-1 a:focus,
ul#superfish-1 a:hover,
ul#superfish-1 a:active {
	background: #004178;
}
ul#superfish-1 ul {
	top: 40px;
}
ul#superfish-1 ul li {
	background: #004178;
}
ul#superfish-1 ul a, 
ul#superfish-1 ul a:visited {
	line-height: 25px;
	height: 25px;
}
ul#superfish-1 ul a:hover {
	background: #8a8b8e;
}
ul#superfish-1 ul ul {
	top: 0;
}

/* Layout
------------------------------ */
#page {
	margin: 0;
	padding: 0;
}
#container {
	padding: 30px;
	background: #fff;
	min-height: 260px;
}

/* Main
------------------------------ */
#breadcrumb {
	margin: 0;
	padding: 0;
	font-size: .85em;
	color: #999;
	line-height: 20px;
	height: 30px;
}
#main {
	margin: 0;
	padding: 0;
}
body.two-sidebars #main {
	float: left;
	width: 420px;
}
body.sidebar-right #main {
	float: left;
	width: 690px;
}
body.sidebar-left #main {
	float: left;
	width: 690px;
}

/* Sidebars
------------------------------ */
#sidebar-left {
	margin: 0 20px 0 0;
	padding: 0;
	float: left;
	width: 220px;
	overflow: hidden;
	display: inline;
}
#sidebar-right {
	margin: 0 0 20px 0;
	padding: 0;
	float: right;
	width: 220px;
	overflow: hidden;
}

/* Sidenav
------------------------------ */
#block-menu_block-1 {
	margin: 0;
	padding: 0 35px;
}
#block-menu_block-1 ul {
	margin: 0;
	padding: 0;
}
#block-menu_block-1 li {
	margin: 0;
	padding: 3px 0;
	list-style: none;
	list-style-image: none;
	border-bottom: 1px solid #CCCCCC;
}
#block-menu_block-1 li li {
	border-bottom: none;
}
#block-menu_block-1 li ul {
	margin: 0;
	padding: 2px 0 0 10px;
}
#block-menu_block-1 a, 
#block-menu_block-1 a:link, 
#block-menu_block-1 a:visited {
	text-decoration: none;
}

#block-menu_block-1 a:active,
#block-menu_block-1 a.active {
	color: #0098C3;
}

/* Home
------------------------------ */


/* Footer
------------------------------ */
#footer {
	clear: both;
	padding: 30px 20px 40px 20px;
	font-size: .85em;
	overflow: hidden;
	text-align: center;
	background: #fff url(../images/footer-bg.png) repeat-x center top;
	color: #666;
}
#footer a,
#footer a:link,
#footer a:visited {
	text-decoration: none;
	padding: 0 5px;
	line-height: 35px;
}
#footer ul {
	margin: 0;
	padding: 0;
}
#footer li {
	margin: 0;
	padding: 0 5px;
	list-style: none;
	display: inline;
	border-right: 1px solid #FFF;
}
#footer li.last {
	border-right: none;
}


/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	
	body {
		width: 712px;
		padding: 0 20px;
	}
}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
	
	body {
		width: 280px;
		padding: 0 20px;
	}
	#navigation {
		margin: 0;
	}
	#container {
	   padding: 10px;
	}
	#header #logo {
		padding: 30px 0 12px 5px;
	}
	form input {
		max-width: 240px;
	}
}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body {
		width: 436px;
		padding: 0 20px;
	}
	#navigation {
		margin: 0;
	}	
	#container {
	   padding: 10px;
	}
	#header #logo {
		padding: 30px 0 12px 30px;
	}
	form input {
		max-width: 390px;
	}
}