/* Parts of normalize.css - should be included in Pure
==================================================================== */

h1, h2, h3, h4, h5, h6, ol, ul, li{
margin: 0;
padding: 0;
vertical-align: baseline;
}

table {
	border: none;
}

a { text-decoration: none}
a:hover, a:active { outline: none; }

body, select, input, textarea {  color: #444; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
a, a:active { color: #607890; }
a:hover { color: #036; }

/* ====================================================================

Default Body Styles - 960 / 1024 px - 24 column grid
Columns = 40px

==================================================================== */

body { 
/* -webkit-font-smoothing: subpixel-antialiased; */
background-color: #f0f0f0;
color: #4c5357;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 15px;
/* overflow-x: hidden; */
/* position: relative; */
}

h2 {
color: #4c5357;
font-size: 24px;
font-weight: normal;
line-height: 36px;
text-shadow: none;
}

h3 {
color: #30353b;
font-size: 24px;
line-height: 36px;
margin-bottom: 10px;
}

h4 { color: #30353b; }

/* Navigation & Menu
========================================================== */

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
#menu-link {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/*
This is the parent `<div>` that contains the menu and the content area.
*/
#layout {
    position: relative;
    padding-left: 0;
	left: 0; /* needs a starting value or the transition doesn't work */
}
    #layout.active {
        position: relative;
        left: 230px;
    }
	
		#layout.active #content-wrapper {
			padding: 0px 230px 0px 50px; /* Ugly but keeps the sub footer from overflowing */
		}
		
        #layout.active #menu {
            left: 230px;
            width: 230px;
        }

        #layout.active #menu-link {
            left: 230px;
        }

		#layout.active #plus-sign {
			display: none;
		}
		#layout:not(.active) #minus-sign {
			display: none;
		}
	
#content-wrapper {
  padding: 0px 0px 0px 50px; 
}

/*
`#menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
#menu-link {
	color: #FFF;
    position: fixed;
    display: block; /* show this only on small screens */
    top: 0;
    left: 0; /* "#menu width" */
    background: rgb(61, 79, 93);
    z-index: 10;
    height: auto;
    font-size: 28px;
	width: 1.5em;
	line-height: 1.5em;
	text-align: center;
}

#menu-link:hover {
	background: rgb(0,0,0);
}

#menu-link span {
	position: relative;
	display: block;	
}
	
#menu {
    margin-left: -230px; /* "#menu" width */
    width: 230px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000; /* so the menu or its navicon stays above all content */
    background: rgb(61, 79, 93);
    overflow-x: hidden;
	overflow-y: auto;
	color: rgb(176, 202, 219);
	line-height: 1.5em;
	padding: 0px 30px 0px 30px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

#menu a.ir {
	margin: 15px 0;
	height: 36px;
	width: 165px;
	background: url('../images/wordmark.svg') top left no-repeat;
	color: #FFF;
}

#menu nav {
	padding: 20px 0px 25px 0px;
	margin-right: 30px;
	display: block;
	width: 170px;
	font-weight: bolder;
	font-size: 18px;
}

#menu nav a, 
#menu nav a:visited{
color: #FFF;
}

#menu nav a:hover{
color: rgb(61, 146, 201);
background: url('../images/nav-hover.svg') right center no-repeat;
background-size: 13px 13px;
}

#menu nav a {
font-weight: normal;
font-size: 14px;
display: block;
}

/* Header
========================================================== */

section#subnav {
	background-color: #FFF;
	min-height: 70px;
	padding-left: 50px;
	position: relative;
}     
section#subnav h2 {
color: #00a0c6;
font-weight: bold;
font-style: normal;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 70px;
margin-right: 15px;
}
section#subnav h2 a { color: #00a0c6;}
section#subnav h2 a:hover { color: #194c66; }

/* Footer
========================================================== */

#sub-footer {
	clear: both;
	border-top: 1px dashed #b5b6b8;
	padding: 20px 0;
	margin-right: 50px;
}

#sub-footer a {
	color: #00A0C6; 
}

#sub-footer a:hover {
	text-decoration: underline;
}
  
/* Index Page - these styles are awful...
========================================================== */

#index #minus-sign {
	display: none;
}

.index-block h3 {
display: inline;
font-size: 24px;
color: #30353b;
margin-right: 20px;
}
    
#latest-news { 
padding-top: 1.5em;
}

.index-block div {
margin-top: 25px;
width: 660px;
/*padding-bottom: 30px;*/
position: relative;
}

.index-block div h3 { 
display: block; 
margin-top: 0px;
padding-top: 0px;
margin-bottom: 15px;
line-height: 18px;
font-size: 15px;
}

.index-block div a {
display: block;
font-size: 24px;
color: #00a0c6;
font-weight: bold;
margin-top: -10px;
margin-bottom: 5px;
}
.index-block div p {
color: #4c5357;
margin-top: 0px;
font-weight: normal;
font-style: normal;
font-size: 15px;
}

#latest-news a:hover {
text-decoration: underline;
}

.centre-form {
	text-align: center;
}

.centre-form input[type=text], .centre-form input[type=email], .centre-form input[type=password] {
	margin-left: auto;
	margin-right: auto;
}

/* Misc.
========================================================== */ 

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.clearfix:before, .clearfix:after { content: "\0020"; display: table; }
.clearfix:after { clear: both; }

/* ====================================================================

960 Default

==================================================================== */

@media screen and (min-width: 1025px) and (max-width: 1279px) {

  body {
    font-size: 15px;
    }

}
/* ====================================================================

1200 Widescreen

==================================================================== */

@media screen and (min-width: 1280px) and (max-width: 1879px) {

	body{
	font-size: 17px;
	}
}

/* ====================================================================

Extra Widescreen

==================================================================== */

@media screen and (min-width: 1880px) and (max-width: 2119px) {

	body {
	font-size: 19px;
	}
}

/* ====================================================================

Print

==================================================================== */

@media print {
	* {
	background: transparent !important; 
	color: black !important; 
	text-shadow: none !important;
	filter: none !important;
	-ms-filter: none !important; 
	}
  a, a:visited { color: #444 !important; text-decoration: underline; }
  /* a[href]:after { content: " (" attr(href) ")"; } */
  abbr[title]:after { content: " (" attr(title) ")"; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }

  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
  
  div#sub-footer {
  display: none !important;
  }
  
  section#subnav, div#content-wrapper {
  margin-left: 0 !important;
  }
  
  #menu-link {
	  display: none !important;
  }
  
	div.header {
		background-image: url(../images/logo.png) !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;
		background-position: left bottom !important;
	}
	
	#menu {
		display: none !important;
	}
	
	#layout.active {
		left: 0 !important;
	}
	
	#layout.active #content-wrapper {
		padding: 0 !important;
	}

}

@page {
	margin: 0.5cm; 
}