/*	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, 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;}

/*---------Independent of Layout---------*/
	
body {
	font-family: Helvetica, Arial, sans-serif;
	color: #333;
}

.clear {
	clear: both;	
}

a {
	color: #153f6a;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
	cursor: hand;	
}

a:hover {
	color:#ccc;	
}

ul { margin-left:15px;}
ul li {
	margin:10px;
	line-height: 15px;
}
ol {
	margin-left: 30px;
}

.align-left {
	float: left;
}
.align-right {
	float: right;
	overflow:hidden;
}

.center {
	text-align: center;	
}

.imgshadow { /* Better style on light background */
	background:#FFFFFF;
	padding:4px;
	border:1px solid #777777;
	margin-top:5px;
	-moz-box-shadow:0px 0px 5px #666666;
	-webkit-box-shadow:0px 0px 5px #666666;
	box-shadow:0px 0px 5px #666666;
}
.img_left { /* Image sticks to the left */
	width:auto;
	float:left;
	margin:5px 15px 5px 5px;
}

.img_right { /* Image sticks to the right */
	width:auto;
	float:right;
	margin:5px 5px 5px 15px;
}

.img_middle {
	width: auto;
	vertical-align: middle;
	margin:5px 5px 5px 5px;
}

.img_bottom {
	width: auto;
	vertical-align: bottom;
	margin:5px 5px 5px 5px;
}

.img-max {
	max-width: 96%;	
}

.frame-shadow {
	border: 3px solid #fff;
	-webkit-box-shadow: 0 1px 2px #777;
	-moz-box-shadow: 0 1px 2px #777;
	box-shadow: 0 1px 2px #777;
}

.underline {
	border-bottom-width: 2px;
	border-bottom-style: inset;
	border-bottom-color: rgb(204,204,204);
}

table.show-border { border-collapse: collapse; }

	table.show-border td { border: 1px solid #777; }

#dataTable td {
	padding: 5px;
}

/*---------Fonts---------*/

@font-face {
    font-family: 'another_typewriterregular';
    src: url('/fonts/atwriter-webfont.eot');
    src: url('/fonts/atwriter-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/atwriter-webfont.woff2') format('woff2'),
         url('/fonts/atwriter-webfont.woff') format('woff'),
         url('/fonts/atwriter-webfont.ttf') format('truetype'),
         url('/fonts/atwriter-webfont.svg#another_typewriterregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*---------Transitions---------*/

a {
	-webkit-transition: all .6s ease-in-out;
-moz-transition: all .6s ease-in-out;
-o-transition: all .6s ease-in-out;
-ms-transition: all .6s ease-in-out;
transition: all .6s ease-in-out;	
}

/*---------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: rgba(0,0,0,.1);
}

/*	Default Layout
	92px columns, 24 px gutters, 72 px margins, 1234px total (extra space for scrollbars)
	-------------------------------------------------------------------------------
cols    1    2     3     4     5     6     7     8     9     10     11     12     13
px      68   160   252   344   436   528   620   712   804   896	988    1050   1142 */

html, body {
	height: 100%;
}

body {
-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	font-size: 14px;
	line-height: 19px;
	}

img.bg {
			/* Set rules to fill background */
			min-height: 100%;
			min-width: 1200px;
			
			/* Set up proportionate scaling */
			width: 100%;
			height: auto;
			
			/* Set up positioning */
			position: fixed;
			top: 0;
			left: 0;
		}
	
	
/*------Typography-----*/

h1 { color: #153f6a; 
font-weight: normal; 
font-size: 45px; 
font-family: 'another_typewriterregular';
line-height: 50px;
padding: 5px 0 }

h2 {
	color: #153f6a; 
font-weight: normal; 
font-size: 35px; 
font-family: 'another_typewriterregular';
line-height: 40px;
padding: 5px 0
}

h3 {
color: #153f6a; 
font-size: 14px; 
font-weight: normal;
line-height: 22px;
padding: 5px 0	
}

.big-bold { font-weight: bold; font-size: 18px; line-height: 24px; }
.bold { font-weight: bold; font-size: 14px; line-height: 20px; }

#wrap {
	width: 100%;
       min-height: 100%;
       height: auto !important;
       height: 100%;
       margin: 0 0 -127px 0;	
}


/*------Header-----*/

.header {
	position: relative;
	background-color: #fff;
	width: 100%;	
	height: 117px;
	-webkit-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
-moz-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
}

.inner {
	width: 1200px;
	margin: 0 auto;	
	height: 112px;
	position: relative;
}

.top-menu {
	float: right;
}


.top-menu li {
	background-image: url(../images/icons/wagon.png);
	background-repeat: no-repeat;
	background-position: left center;
	list-style-type: none;	
	float: left;
	padding: 10px 0;
}

.top-menu a {
	padding-left: 30px;
	font-size: 16px;
	font-family: another_typewriterregular;
}

.top-menu a:hover {
	color: #ccc;
}

.top-menu li:hover {
	background-image: url(../images/icons/wagon-grey.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 10px 0;
}

/*------Search-----*/

.search {
	position: absolute;
	right: 10px;
	bottom: 15px;
	width: 240px;	
}

.search-button {
  background: url(../images/icons/search.png) no-repeat 10px center;
  margin: 0;
  padding: 0;
  text-indent: -9999px;
  line-height: 1px;
  border: none;
  width:30px;
  height:20px;
  cursor: pointer; 
}

input[type="text"] {
	-webkit-box-shadow: 2px 2px 2px rgba(12, 37, 63, 1);
	-moz-box-shadow:    2px 2px 2px rgba(12, 37, 63, 1);
	box-shadow:         2px 2px 2px rgba(12, 37, 63, 1);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: solid 1px #ddd;
	height: 25px;
	width: 200px;
	background-image: none!important;
}

/*-------------Body--------------*/

.container {
	width: 1200px;
	margin: 0 auto;
	position: relative;
	padding: 0 0 127px 0;
}

.links {
	margin: 140px 0 0 75px;
	width: 630px;	
}

.links a {
	background-color: #fff;
	text-align: center;
	float: left;
	font-size: 22px;
	line-height: 22px;
	font-family: 'another_typewriterregular';
	margin: 10px;
	opacity: 0.8;
  filter: alpha(opacity=80);
  zoom: 1;
	-webkit-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
-moz-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
}

.text {
	margin-top: 173px;
	width: 175px;	
}

#companies, #pioneers, #journals, #trail, #resources, #activities  {
	height: 230px;
	width: 180px;
	background-repeat: no-repeat;
	background-position: center 25px;	
}

#companies {
	background-image: url(../images/icons/companies.png);
}

#pioneers {
	background-image: url(../images/icons/pioneers.png);
}
#journals {
	background-image: url(../images/icons/journal.png);
}
#trail {
	background-image: url(../images/icons/trail.png);
}
#resources {
	background-image: url(../images/icons/resources.png);
}
#activities {
	background-image: url(../images/icons/activities.png);
}

#companies:hover, #pioneers:hover, #journals:hover, #trail:hover, #resources:hover, #activities:hover  {
	background-repeat: no-repeat;
	background-position: center 25px;		
}

#companies:hover {
	background-image: url(../images/icons/companies-grey.png);
}

#pioneers:hover {
	background-image: url(../images/icons/pioneers-grey.png);
}

#journals:hover {
	background-image: url(../images/icons/journal-grey.png);
}

#trail:hover {
	background-image: url(../images/icons/trail-grey.png);
}

#resources:hover {
	background-image: url(../images/icons/resources-grey.png);
}

#activities:hover {
	background-image: url(../images/icons/activities-grey.png);
}

.page {
	position:relative;
	margin: 40px auto 20px auto;
	width: 1050px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	padding: 20px;
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,0.95);
	z-index: 5;
}

.column {
	float: left;
	width: 510px;
	margin: 0 10px 10px 0;
}

.box {
	float: left;
	width: 460px;
	background-color: #fff;
	text-align: center;
	font-size: 22px;
	line-height: 22px;
	font-family: 'another_typewriterregular';
	margin: 10px;
	padding: 20px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border: 1px solid #153f6a;
}

.image-box {
	float: right;
	width: 400px;
	margin: 0 0 10px 10px;
	padding: 5px;
	border: 1px solid #153f6a;	
}

.colBox {
	float: left;
	width: 460px;
	background-color: #fff;
	margin: 10px;
	padding: 10px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border: 1px solid #153f6a;
}

.colBox a {
	font-size: 18px;
	line-height: 22px;
	font-family: 'another_typewriterregular';
	font-weight: lighter;	
}

.colBox img {
	max-width: 20%;
}

/*---------------Menu--------------*/

.mobile {
	display: none; /* This is for the mobile menu, this keeps it hidden in the bigger versions */
}

#menu-nav {
	margin: 0 auto 10px auto;
    width:745px;
	position:relative;
    z-index:10;	
}

#nav{
    list-style:none;
    font-weight:bold;
	margin: 0;
	padding: 0;
   }
#nav li{
    float:left;
	margin: 0 5px 0 0;
    position:relative;
	
}
#nav a{
    display:block;
    padding:5px 10px;
    background:#fff;
    text-decoration:none;
	-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-webkit-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
-moz-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
border-left: 1px solid #ccc;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
}
#nav a:hover{
    color:#fff;
    background:#ccc;
}

/*--- DROPDOWN ---*/
#nav ul{
    background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background:rgba(255,255,255,1); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    list-style:none;
    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	border: solid 1px #ccc;
	-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
z-index: 15;
}
#nav ul li{
    float:none;
	margin:0;
	padding: 5px;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border: none;
	
}
#nav li:hover ul{ /* Display the dropdown on hover */
    left:-5px; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. 
    background:#ccc;*/
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    background-color:#153f6a;
	border-radius: 0;
	color: #fff;
}

    .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

#footer {
	position: relative;
	height: 127px;
	background-color: rgb(204,204,204); /*Fallback for IE8 and lower*/
	background-color: rgba(204,204,204,0.85);
	width: 100%;	
	-webkit-box-shadow: 0px -6px 5px 0px rgba(14, 34, 57, .75);
-moz-box-shadow:    0px -6px 5px 0px rgba(14, 34, 57, .75);
box-shadow:         0px -6px 5px 0px rgba(14, 34, 57, .75);
}

.footer-text {
	width: 590px;
	text-align: center;
	margin: 0 auto;
	padding: 10px 0 0 0;
}

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

@media only screen and (min-width: 992px) and (max-width: 1221px) {
img.bg {
	left: 50%;
	margin-left: -611px; }


/*------Typography-----*/

h3 {
font-size: 13px; }

/*------Header-----*/

.inner {
	width: 992px;
}

/*-------------Body--------------*/

.container {
	width: 992px;
}

.links {
	margin: 50px 0 0 75px;
}

.page {
	width: 950px;
}

.column {
	width: 460px;
}

.image-box {
	width: 350px;
}

.box, .colBox {
	width: 410px;
}

}



/*		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) {

img.bg {
	left: 50%;
	margin-left: -495px; }
	
/*------Typography-----*/

h1 { font-size: 40px;
	  line-height: 40px; 
}

h3 {
font-size: 12px;
line-height: 15px; }

/*------Header-----*/

.inner {
	width: 760px;
}

.top-menu a {
	font-size: 14px;
}

.inner-text {
	width: 380px;	
}

/*------Search-----*/

.search {
	width: 260px;	
}

/*-------------Body--------------*/

.container {
	width: 760px;
}

.links {
	margin: 100px 0 0 75px;
	width: 630px;	
}

.page {
	width: 700px;
}
.column {
	width: 340px;
}

.image-box {
	width: 300px;
}

.box {
	width: 305px;
	font-size: 20px;
	line-height: 20px;
	padding: 10px;
}

.colBox {
	width: 305px;	
}

.colBox a {
	font-size: 16px;
	line-height: 18px;	
}


/*---------------Menu--------------*/

#nav{
    width:745px;
   }

}

/*		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: 479px) {
	
body {
margin: 0 0 127px; 
}

img.bg {
	left: 50%;
	margin-left: -240px; }
	
#wrap {
	margin: 0 0 -127px 0;	
}

/*------Typography-----*/

h1 { font-size: 32px;
line-height: 35px;
}

h3 {
font-size: 12px;
line-height: 15px; }

/*------Header-----*/

.header {
	height: 220px;
}

.inner {
	width: 300px;
}

.inner-text {
	width: 300px;
}

.top-menu {
	margin: 0 auto;
	float: none;
}

.top-menu li {
	background-image: none;
}

.top-menu a {
	padding-left: 0;
	font-size: 14px;
}

.top-menu li:hover {
	background-image: none;
}


/*------Search-----*/

.search {
	bottom:-90px;
	left: 25px;
	width: 260px;
}

/*-------------Body--------------*/

.container {
	width: 300px;
	margin: 0 auto;
	padding: 0 0 127px 0;
}

.links {
	margin: 5px 0 25px 5px;
	width: 310px;	
}

.links a {
	font-size: 20px;
	margin: 5px;
}

.text {
	margin-top: 173px;
	width: 140px;	
}

#companies, #pioneers, #journals, #trail, #resources, #activities  {
	width: 145px;
}

.page {
	width: 260px;
	margin-top:20px;
}

.column {
	width: 260px;
}

.image-box {
	float: none;
	width: 250px;
	margin: 10px 0;
}

.box, .colBox {
	width: 220px;
	margin-left: 0;
	margin-right: 0;
}


/*---------------Menu--------------*/

#menu-nav {
	width:280px;
}

.mobile {
	display: block;
	margin-left: 10px;
	background-color: #fff;
	width: 67px;
	-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-webkit-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
-moz-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
}

.menu-hidden {
	display: none;
}

.menu-unhidden {
	display: block;	
}

#nav li{
    float:none;
	
}
#nav a{
    display:block;
    padding:10px;
    background:#fff;
    text-decoration:none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#nav li:hover ul{ /* Display the dropdown on hover */
    left:55px; /* Bring back on-screen when needed */
}

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

#footer {
	font-size: 12px;
	height: 127px;
}

.footer-text {
	width: 280px;
}

}

/*		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) {
	
/*------Typography-----*/

h1 { font-size: 32px;
line-height: 35px;
}

h3 {
font-size: 12px;
line-height: 15px; }

/*------Header-----*/

.header {
	height: 147px;
}

.inner {
	width: 470px;
}

.inner-text {
	width: 470px;
}

.top-menu {
	margin: 0 auto;
}

.top-menu li {
	background-image: none;
}

.top-menu a {
	padding-left: 0;
	font-size: 14px;
}

.top-menu li:hover {
	background-image: none;
}


/*------Search-----*/

.search {
	top: 45px;
	right: 0;
	width: 260px;
}

/*-------------Body--------------*/

.container {
	width: 470px;
}

.links {
	margin: 5px 0 25px 5px;
	width: 470px;	
}

.links a {
	font-size: 20px;
	margin: 5px;
}

.text {
	margin-top: 173px;
	width: 140px;	
}

#companies, #pioneers, #journals, #trail, #resources, #activities  {
	width: 145px;
}

.page {
	width: 460px;
	margin-top:20px;
}

.column {
	width: 215px;
}

.image-box {
	float: none;
	margin: 10px 0;
}

.box, .colBox {
	width: 400px;
	margin-left: 0;
	margin-right: 0;
}


/*---------------Menu--------------*/

#menu-nav {
	width:460px;
}

.mobile {
	display: block;
	margin-left: 10px;
	background-color: #fff;
	width: 67px;
	-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-webkit-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
-moz-box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
box-shadow: 0px 6px 5px 0px rgba(14,34,57,1);
}

.menu-hidden {
	display: none;
}

.menu-unhidden {
	display: block;	
}

#nav li{
    float:none;
	
}
#nav a{
    display:block;
    padding:10px;
    background:#fff;
    text-decoration:none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#nav li:hover ul{ /* Display the dropdown on hover */
    left:155px; /* Bring back on-screen when needed */
}

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

#footer {
	font-size: 12px;
}

.footer-text {
	width: 400px;
}

}

