﻿/* typography */
@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.eot');
    src: url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.woff') format('woff'),
         url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sanslight';
    src: url('fonts/opensans_light_macroman/OpenSans-light-webfont.eot');
    src: url('fonts/opensans_light_macroman/OpenSans-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_light_macroman/OpenSans-light-webfont.woff') format('woff'),
         url('fonts/opensans_light_macroman/OpenSans-light-webfont.ttf') format('truetype'),
         url('fonts/opensans_light_macroman/OpenSans-light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'foundation-icons';
  src: url("fonts/foundation-icons/foundation-icons.eot");
  src: url("fonts/foundation-icons/foundation-icons.eot?#iefix") format("embedded-opentype"),
       url("fonts/foundation-icons/foundation-icons.woff") format("woff"),
       url("fonts/foundation-icons/foundation-icons.ttf") format("truetype"),
       url("fonts/foundation-icons/foundation-icons.svg#fontcustom") format("svg");
  font-weight: normal;
  font-style: normal;
}
body {
	color: #666;
	font-family: 'open_sansregular';
	font-size: 1em;
	line-height: 1.4em;
	font-weight: normal;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: 'open_sanslight';
	line-height: 1.5em;
	margin: .45em 0;
	padding: 0;
}
p img {
	float: right;
	margin: 0 0 25px 25px;
}
input[type=text] {
	width: 100%;
	padding: 5px;
}
input[type=submit] {
	padding: 5px;
	margin-top: 10px;
	float: right;
	background-color: #fff;
	border: thin #B5B5B5 solid;
	font-family: 'open_sansregular';
}
input[type=submit]:hover {
	background-color: #D8DFF3;
	border-color: #97A9DF;
}
input.captcha {
	width: 40%;
}
#error {
	background-color: #FFC1B3;
	padding: 10px;
}
#success {
	background-color: #ABFEB6;
	padding: 10px;
}
textarea {
	width: 100%;
	height: 160px;
	padding: 5px;
}
#wholewrapper {
	min-height: 100%;
	margin: 0 auto -155px; /* the bottom margin is the negative value of the footer's height */
}
/* links */
a, a:visited, a:active, a:hover {
	color: #2E499E;
}
a:hover {
	text-decoration: none;
}
.links a{
	text-decoration:none;
	float: left;
	clear:both;
	font-size:large;
	margin-bottom:5px;
}
/* Box sizing*/
* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
/* structure */
.wrapper {
	width: 92%;
	margin: 0 auto;
}
.headerwrapper {
	width: 100%;
	margin: 0 auto;
	background-color: #2E499E;
}
header {
	padding: 15px 0;
}
#banner {
	text-align: center;
}
#hero {
	padding: 20px 0;
	z-index: 10;
}
#hero h1 {
	line-height: 1.2em;
	margin-top: 0px;
	margin-bottom: 10px;
	color: #fff;
	border: none;
}
#hero p {
	color: #E8E8E8;
}
.flexslider {
	display: none;
}
.fullscreen-bg {
	display: none;
}
.fullscreen-bg__video {
	position: relative; /* Video position*/;
	top: -100px;
	width: 100%;
	min-height: 100%;
}
.trailer_video {
	display: none;
}
.returnlink {
}
.newsentry {
	padding: 0px;
	margin: 0px;
}
.newsentry {
	border: 1px #D7D7D7 solid;
	float: left;
}
.newsentry:hover {
	background-color: #D8DFF3;
}
.newsentry img {
	height: 200px;
}
.newsentry span {
	font-family: open_sanslight;
	margin-bottom: 15px;
	display: block;
}
a.nostyle {
	color: #666;
}
.fb-like {
	float: right;
	padding: 0 0 8px 0;
}
#meettheteam h2 {
	height: 60px;
	line-height: 96px;
}
.staffphoto {
	float: left;
	margin: 0 15px 5px 0;
}
img.download {
	margin: 0 15px 30px 0;
	float: left;
	opacity: 0.8;
}
img.download:hover {
	opacity: 1;
}
#baylines {
	display: none;
}
#content {
	margin: 20px 0;
}
aside {
	margin: 40px 0;
}
p {
	margin: 0 0 1.5em;
}
ul {
	padding: 0 0 0 20px;
}
li {
	margin: 5px 0 5px 0;
}
#herocont {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	background-color: #5968A0;
}
/* RESPONSIVE IMAGES */
img {
	max-width: 100%;
	height: auto;
}
/*MAIN MENU*/
.menu-toggle {
	display: block;
	padding: 10px;
	margin: 20px 0 0;
	background: #666;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 20px;
}
.menu-toggle.toggled-on {
	background: #2E499E;
}
.srt-menu {
	display: none;
}
.srt-menu.toggled-on {
	display: block;
	position: relative;
	z-index: 10;
}
.srt-menu {
	clear: both;
	margin-bottom: 60px;
}
.srt-menu li a {
	background: #dadada;
	display: block;
	margin: 1px 0;
	padding: 10px;
	text-decoration: none;
}
.srt-menu li a:hover {
	background: #2E499E;
	color: #fff;
}
.srt-menu li li a {
	background: #e8e8e8;
	padding-left: 40px;
}
.srt-menu li li li a {
	background: #efefef;
	padding-left: 80px;
}
/*SECONDARY MENU*/
#secondary-navigation {
	margin-bottom: 60px;
}
#secondary-navigation ul {
	margin: 0;
	padding: 0;
}
#secondary-navigation ul li a {
	background: #E6E6E6;
	display: block;
	margin: 5px 0;
	padding: 10px;
	text-decoration: none;
}
#secondary-navigation ul li a:hover, #secondary-navigation ul li.current a {
	background: #2E499E;
	color: #fff;
}
.gridlink {
	text-decoration: none;
	color: #666;
}
.gridlink div:hover {
	background-color: #D8DFF3;
}
/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
	margin-bottom: 40px; /*positioning and padding*/;
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}
/*Same for photo gallery*/
.picgrid_1, .picgrid_2, .picgrid_3, .picgrid_4, .picgrid_5, .picgrid_6, .picgrid_7, .picgrid_8, .picgrid_9, .picgrid_10, .picgrid_11, .picgrid_12 {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}
/*Same for news article listings*/
.newsgrid_1, .newsgrid_2, .newsgrid_3, .newsgrid_4, .newsgrid_5, .grinewsgridd_6, .newsgrid_7, .newsgrid_8, .newsgrid_9, .newsgrid_10, .newsgrid_11, .newsgrid_12 {
	position: relative;
	min-height: 1px;
	padding: 12px 12px 8px 12px;
}
/*FOOTER*/
footer {
	clear: both;
	font-size: 80%;
	padding: 20px 0;
}
footer ul {
	margin: 0;
	padding: 0;
}
footer img{
	width: 30px;
	display:inline;
	padding:0 5px 0 0;
	float:left;
}
footer a,footer span{
	color: #fff;
	text-decoration:none;
	display:block;
	margin-bottom: 10px;
}
/*colors and backgrounds*/
body {
}
h1 {
	color: #263E82;
}
h2, h3, h4, h5, h6 {
	color: #333;
}
h1 {
	border-bottom: 2px #2E499E solid;
}
footer {
	background: #333;
	color: #ccc;
}
footer h1, footer h2, footer h3, footer h4 {
	color: #fff;
	margin-bottom: 10px;
}
footer ul {
	margin: 0 0 0 8%;
}
a.buttonlink {
	background: #2E499E;
	border-radius: 7px;
	color: #fff;
	display: block;
	float: left;
	margin: 10px 15px 25px 0;
	padding: 10px;
	text-decoration: none;
	border: 2px #fff solid;
}
a.buttonlink:hover {
	background-color:#3556B7;
}
.greenelement {
	background: #5ec79e;
	color: #fff;
}
.violetelement {
	background: #887dc2;
	color: #fff;
}
/* Contain floats*/
.clearfix:before, .clearfix:after, .row:before, .row:after {
	content: " ";
	display: table;
}
.clearfix:after, .container:after, .row:after {
	clear: both;
}
/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#banner {
	float: left;
	text-align: left;
	margin-bottom: -20px;/*depends on height of logo*/
}
.menu-toggle {
	margin-top: 10px; /*depends on height of logo*/;
	float: right;
}
}
/*
TABLET & SMALLER LAPTOPS
*/
@media only screen and (min-width: 1130px) {
.wrapper {
	max-width: 1500px;
	margin-top: .75em;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
.headerwrapper {
	padding-top: .75em;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
#header {
	max-width: 1500px;
	margin: auto;
	width: 92%;
}
#banner {
	float: left;
	text-align: left;
	margin-bottom: 0px;
}
header {
	padding: 0;
}
#content {
	float: left;
	width: 65%;
}
#content.wide-content {
	float: none;
	width: 100%;
}
.flexslider {
	display: block;
	margin: 0 0 60px;
	background: #fff;
	border: 4px solid #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.fullscreen-bg {
	width: 100%;
	min-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	display: block;
}
aside {
	float: right;
	width: 30%;
}
/*** MAIN MENU - ESSENTIAL STYLES ***/
.menu-toggle {
	display: none;
	font-family:'foundation-icons';
}
#menu-main-navigation {
	display: block;
}
.srt-menu, .srt-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.srt-menu ul {
	position: absolute;
	display: none;
	width: 12em; /* left offset of submenus need to match (see below) */
}
.srt-menu ul li {
	width: 100%;
}
.srt-menu li:hover {
	visibility: inherit; /* fixes IE7 'sticky bug' */
}
.srt-menu li {
	float: left;
	position: relative;
	margin-left: 1px;
}
.srt-menu li li {
	margin-left: 0px;
}
.srt-menu a {
	display: block;
	position: relative;
}
.srt-menu li:hover ul, .srt-menu li.sfHover ul {
	display: block;
	left: 0;
	top: 45px; /* match top ul list item height */;
	z-index: 99;
	-webkit-box-shadow: 2px 3px 2px 0px rgba(00, 00, 00, .3);
	box-shadow: 2px 3px 2px 0px rgba(00, 00, 00, .3);
}
ul.srt-menu li:hover li ul, ul.srt-menu li.sfHover li ul {
	top: -999em;
}
ul.srt-menu li li:hover ul, ul.srt-menu li li.sfHover ul {
	left: 12em; /* match ul width */;
	top: 0;
}
ul.srt-menu li li:hover li ul, ul.srt-menu li li.sfHover li ul {
	top: -999em;
}
ul.srt-menu li li li:hover ul, ul.srt-menu li li li.sfHover ul {
	left: 10em; /* match ul width */;
	top: 0;
}
/*** DEMO1 SKIN ***/
#topnav, .srt-menu {
	float: right;
	margin: .35em 0 0 0;
}
.srt-menu a {
	text-decoration: none;
}
.srt-menu li a {
	background: #fff;
	margin: 0;
	padding: 10px 20px;
	height: 45px;
}
.srt-menu a, .srt-menu a:visited {
	/* visited pseudo selector so IE6 applies text colour*/
	color: #2E499E;
}
.srt-menu li li a {
	border-top: 1px solid rgba(255,255,255,.2);
	background: #333;
/*fallback for old IE*/background: #273E85;
	color: #fff;
	padding-left: 20px;
	height: auto;
}
.srt-menu li li a:visited {
	color: #fff;
}
.srt-menu li li a, .srt-menu li.current * li a {
	padding-left: 20px;
	background: #273E85;
}
.srt-menu li:hover > a {
	color: #fff;
	background: #2E499E;
}
.srt-menu li.current a {
	color: #fff;
	background: #2E499E;
}
.srt-menu li li:hover > a {
	color: #2E499E;
	background: #CCC;
}
/*invert*/
.srt-menu.invert a {
	text-decoration: none;
}
.srt-menu.invert li a {
	background: #2E499E;
	margin: 0;
	padding: 10px 20px;
	height: 45px;
}
.srt-menu.invert a, .srt-menu.invert a:visited {
	/* visited pseudo selector so IE6 applies text colour*/
	color: #fff;
}
.srt-menu.invert li li a {
	border-top: 1px solid rgba(255,255,255,.2);
	background: #333;
/*fallback for old IE*/background: rgba(0,0,0,.6);
	color: #2E499E;
	padding-left: 20px;
	height: auto;
}
.srt-menu.invert li li a:visited {
	color: #fff;
}
.srt-menu.invert li li a {
	padding-left: 20px;
	background-color: #273E85;
	color: #fff;
}
.srt-menu.invert li.current * li a {
	padding-left: 20px;
	background: #273E85;
	color: #fff;
}
.srt-menu.invert li.current * li.current a {
	padding-left: 20px;
	background: #fff;
	color: #2E499E;
}
.srt-menu.invert li:hover > a {
	color: #2E499E;
	background: #CCC;
}
.srt-menu.invert li.current a {
	color: #2E499E;
	background: #FFF;
}
.srt-menu.invert li li:hover > a {
	color: #2E499E;
	background-color: #CCC;
}
/*GRID*/
/*
 & Columns : 12 

 */
.row {
	margin-left: -15px;
	margin-right: -15px;
}
.row img{
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
}
.grid_1, .newsgrid_1 {
	width: 8.33333333%;
}
.grid_2, .newsgrid_2 {
	width: 16.66666667%;
}
.grid_3, .newsgrid_3 {
	width: 25%;
}
.grid_4, .newsgrid_4 {
	width: 33.33333333%;
}
.grid_5, .newsgrid_5 {
	width: 41.66666667%;
}
.grid_6, .newsgrid_6 {
	width: 50%;
}
.grid_7, .newsgrid_7 {
	width: 58.33333333%;
}
.grid_8, .newsgrid_8 {
	width: 66.66666667%;
}
.grid_9, .newsgrid_9 {
	width: 75%;
}
.grid_10, .newsgrid_10 {
	width: 83.33333333%;
}
.grid_11, .newsgrid_11 {
	width: 91.66666667%;
}
.grid_12, .newsgrid_12 {
	width: 100%;
}
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
	float: left;
	display: block;
}
.newsgrid_1, .newsgrid_2, .newsgrid_3, .newsgrid_4, .newsgrid_5, .newsgrid_6, .newsgrid_7, .newsgrid_8, .newsgrid_9, .newsgrid_10, .newsgrid_11, .newsgrid_12 {
	float: left;
	display: block;
}
/*pic grid*/
.picgrid_3 {
	width: 25%;
	z-index: 1;
}
.picgrid_6 {
	width: 50%;
	position:fixed;
	z-index:100;
}
.picgrid_1, .picgrid_2, .picgrid_3, .picgrid_4, .picgrid_5, .picgrid_6, .picgrid_7, .picgrid_8, .picgrid_9, .picgrid_10, .picgrid_11, .picgrid_12 {
	float: left;
	display: block;
}
.exp {
}
.rightfloat {
	float: right;
}
#overlay{
	z-index:50;
	background-color:rgba(255,255,255,0.7);
	width:100%;
	height: 100%;
	left:0;
	top:0;
	bottom:0;
	position:fixed;
	display:none;
}
#hero [class*="grid_"] {
	margin-bottom: -20px;
}
}
/* Flexible iFrame */
.Flexible-container {
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
	clear: both;
}
.Flexible-container iframe, .Flexible-container object, .Flexible-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*
DESKTOP
*/
@media only screen and (min-width: 1130px) {
.trailer_video {
	float: right;
	margin-bottom: 1.5em;
	display: none; /*change to block to enable*/
	height:350px;
}
}
/*
LARGE VIEWING
*/
@media only screen and (min-width: 1855px) {
#baylines {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 25;
	display: block;
	height: 100%;
	width: 200px;
	background-image: url('images/bck2.png');
	background-repeat: no-repeat;
}
}
/*
RETINA (2x RESOLUTION DEVICES)
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {
}
/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {
}
/*
PRINT STYLESHEET
*/
@media print {
* {
	background: transparent !important;
	color: black !important;
	text-shadow: none !important;
	filter: none !important;
	-ms-filter: none !important;
}
a, a:visited {
	text-decoration: underline;
}
a[href]:after {
	content: " (" attr(href) ")";
}
abbr[title]:after {
	content: " (" attr(title) ")";
}
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
	content: "";
}
/* Don't show links for images, or javascript/internal links */
pre, blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
}
thead {
	display: table-header-group;
}
tr, img {
	page-break-inside: avoid;
}
img {
	max-width: 100% !important;
}
@page { margin: 0.5cm; }
p, h2, h3 {
	orphans: 3;
	widows: 3;
}
h2, h3 {
	page-break-after: avoid;
}
}
