/*******************************************************************
  HTML, BODY, CONTAINER
*******************************************************************/

html {
	height: 100%;
	position: relative;
}

body {
	overflow-x: hidden;
	font: 15px/20px 'Open Sans', Arial, sans-serif;
	color: #565657;
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

/*******************************************************************
  FULLSCREEN BACKGROUND
*******************************************************************/

#backstretch {
	position: absolute;
	/*z-index: -1; this was causing the bg photos to cover the mobile menu dropdown in iOS */
	height: 100%;
	width: 100%;
	z-index: -2;
}

#jx-uhid-con-id {
	z-index: 100000000000;
}

/*******************************************************************
  HEADINGS
*******************************************************************/

h1,h2,h3,h4,h5,h6 {
	font-family: 'Libre Baskerville', Arial, sans-serif;
	margin: 0 0 10px 0;
	line-height: normal;
	position: relative;
	font-style: italic;
	color: #590703;
}

h1 {
	font: 32px 'Libre Baskerville', Arial, sans-serif;
	margin: 0 0  15px 0;
	text-transform: none;
	font-style: italic;
}

h2 {
	margin: 5px 0 5px 0;
	font-size: 25px;
}

h3 {
	color: #2670a1;
}

h1 + h2 {
	margin-top: 0;
}

/* Reduces margin for titles adjacent to lists or paragraphs*/
h2 + p, h3 + p, h4 + p, h3 + ul {
	margin-top: 0;
}

h1 strong, h2 strong, h3 strong, h4 strong {
	color: #2670a1;
}

/*******************************************************************
	ICONS
*******************************************************************/

@font-face {
	font-family: 'Icons';
	src: url('fonts/fontawesome-webfont.eot?v=3.2.1');
	src: url('fonts/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('fonts/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('fonts/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');
	font-weight: normal;
	font-style: normal;
}

.icon {
	font-style: normal;
	font-family: 'Icons';
}

/*******************************************************************
  TEXT & OTHER GENERAL PAGE ELEMENTS
*******************************************************************/

.required {color: #ff0000}

p {margin: 10px 0}

hr {
	background: #580602;
	border: none;
	height: 1px;
	margin: 20px 0;
}

aside.interior hr {
	margin: 40px 0;
}

.photoborder {
	float: right;
	margin: 0px 0 20px 20px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	line-height: 0;
}

.photoborder.left {
	float: left;
	margin: 0 20px 20px 0;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

.photoborder.noshadow {
	box-shadow: none;
	margin: 0;
}

blockquote {
	padding-left: 5px;
	margin-left: 0;
	font-style: italic;
}

label {
	font-weight: normal;
}

li {
	/* list-style-position: inside; */
}

dt {
	font-weight: bold;
}

ul {
	padding-left: 20px;
}

ul ul {
	padding-left: 40px;
}

img {
	max-width: 100%;
}

/*******************************************************************
  GLOBAL LINKS
*******************************************************************/

a:link, a:visited {
	color: #580602;
	text-decoration: underline;
	font-weight: bold;
}

footer a:link, a:visited {
	font-weight: normal;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* buttons */
#content a:link.button,
#content a:visited.button,
#content strong em a:link,
#content strong em a:visited,
#content em strong a:link,
#content em strong a:visited {
	display: inline-block;
	background-color: #2670a1;
	font: 16px 'Lato', Myriad Pro, sans-serif;
	color: #fff;
	padding: 7px 15px;
}

#content a.button:hover,
#content strong em a:hover,
#content em strong a:hover {
	background: #616161;
	text-decoration: none;
}

a.applyNow {
	background: #006096;
	border-radius: 5px;
	box-shadow: 2px 2px 3px #001826, inset 2px 2px 3px #8FB9D1;
	color: #FFFFFF;
	display: block;
	font: 18px 'Lato', 'Myriad Pro', Arial, sans-serif;
	margin: 20px 0;
	padding: 15px 12px 12px 12px;
	text-align: center;
	text-transform: uppercase;
	width: 160px;
}

a.applyNow:hover {
	background: #005484;
	text-decoration: none;
}

/*******************************************************************
  GALLERY
*******************************************************************/

.theme-default .pagination .prev {
    background-image: url("../images/thumbnail-arrows.png") !important;
    left: 0 !important;
    z-index: 1000;
}

.theme-default .pagination .next {
    background-image: url("../images/thumbnail-arrows.png") !important;
    right: 0 !important;
    z-index: 10000;
}

/*******************************************************************
  HEADER
*******************************************************************/

header {
	position: relative;
	z-index: 1000;
	min-height: 132px;
	background: url("../images/header-bknd.png");
}

#headerButton {
	float: right;
	text-transform: uppercase;
	background-color: #320502;
	padding: 15px 30px;
	margin-top: 0px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}

#headerButton img {
	float: right;
	padding-left: 15px;
}

#headerButton:hover {
	background-color: #565657;
}

header .stack {
	max-width: 1150px;
}

header .logo {
	float: left;
	display: block;
	width: 168px;
	height: 110px;
	margin-top: 12px;
	background: url(../images/logo.png) no-repeat;
	text-indent: -9999px;
	margin-left: 10px;
}

/*******************************************************************
  NAVIGATION
*******************************************************************/

header #navigation {
	float: right;
	list-style-type: none;
	margin: 22px 0 0 0;
	padding: 0;
}

header #navigation li {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}

header #navigation a:link, header #navigation a:visited {
	display: block;
	padding: 20px 8px 40px 8px;
	height: 35px;
	font: 18px 'Libre Baskerville', Arial, sans-serif;
	color: #fff;
	text-decoration: none;
}

header #navigation a:hover, header #navigation > li:hover > a {
	background: #fff; /* Old browsers */
	color: #590703;
	text-decoration: none;
}

header #navigation > li:hover > ul {
	display: block;
}

header #navigation ul {
	display: none;
	position: absolute;
	left: 0;
	min-width: 110%;
	padding-left: 0;
}

header #navigation li li {
	display: block;
}

header #navigation ul a:link, header #navigation ul a:visited {
	height: auto;
	font-size: 17px;
	padding: 10px;
	background: #580602;
	color: #fff;
}

header #navigation ul a:hover {
	background: #565657;
	color: #fff;
}

header #navigation .mobile {
	display: none;
}

/*******************************************************************
	MOBILE NAVIGATION
*******************************************************************/

#mobile-navigation {
	display: none;
	position: fixed;
	z-index: 10000000000;
	width: 100%;
	top: 0;
	left: 0;
	font-family: 'Lato', 'Myriad Pro', Arial, sans-serif;
	text-transform: uppercase;
}

#mobile-navigation > ul {
	position: absolute;
	top: 34px;
	right: 10px;
	height: 0;
	overflow: hidden;
	margin: 0;
}

/* Mobile menu display class, expands to full height*/
#mobile-navigation .show {
	height:auto;
}

/* Menu button*/
#mobile-navigation .menu {
	position: absolute;
	top: 0px;
	right: 10px;
	padding: 10px 20px;
	background: #fff;
	font-size: 14px;
	line-height: 14px;
	color: #590703;
	cursor: pointer;
}

#mobile-navigation .menu:hover {
	text-decoration: none;
	background: #616161;
	color: #fff;
}

#mobile-navigation  li {
	position: relative;
	min-width: 240px;
	padding: 0;
	margin: 0;
	background: #fff;
	list-style-type: none; 
	white-space: nowrap;
}

#mobile-navigation li a {
	display: block;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	padding: 9px 10px 5px 20px;
	text-decoration: none;
	color: #590703;
}

#mobile-navigation a:hover {
	text-decoration: none;
	background: #616161;
	color: #fff;
}

/* Submenus*/
#mobile-navigation li .icon {		/* This icon displays to the right of a menu if it a dropdown*/
	position: absolute;
	display: block;
	right: 0px;
	top: 0;
	overflow: hidden;
	height: 35px;
	width: 40px;
	padding: 6px 30px 7px 10px;
	content: '/u+229E';
	font-family: "Icons";
	font-size: 1.5em;
	line-height:1;
	text-align: center;
}

#mobile-navigation li .icon:hover {
	color: #fff;
}

#mobile-navigation ul ul {
	display: block;
	height: 0;
	margin-left: 0;
	padding-left: 0;
	background: #2670a1;
}

#mobile-navigation li li a {
	padding-left: 40px;
	background: rgba(0,0,0,0.1);
}

/*******************************************************************
	SPECIAL BOX
*******************************************************************/

#specialBox {
	background: white;
	border: 2px solid #580602;
	border-right: none;
	color: #FFFFFF;
	padding: 10px;
	position: absolute; 
	right: -450px; 
	top: 170px;
	text-align: center;
	width: 450px;
	z-index: 998;
}

#specialBoxClose {
	color: black;
	font-size: 12px;
	padding: 2px 7px;
	position: absolute; left: 0px; top: 0px;
	background-color: #580602;
}

#specialBoxClose { left: -24px; top: -2px; background-color: transparent; }

#specialBoxClose:hover {
	background: #580602;
	color: white;
	cursor: pointer;
}

#specialBox h2 {
	color: #FFFFFF;
	font-size: 20px;
	margin: 15px 0 10px 0;
}

#specialBox p {
	font-size: 16px;
	margin: 0 0 15px 0;
}

#specialBox a {
	color: white;
}

#specialBox a:hover {
	text-decoration: none;
}

#specialBox a.button {
	display: block;
	height: 32px;
	padding: 8px 10px 10px 10px;
	background: #580602;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 0.05em;
	vertical-align: bottom;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}

#specialBox a.button:hover {
	background: black; /* Old browsers */
	text-decoration: none;
}

#specialBox small {
	display: block;
	margin: 10px 0 0 0;
}

@media handheld, only screen and (max-width: 830px) {
	#specialBox {
		display: none;
	}
}

/*******************************************************************
	CONTENT
*******************************************************************/
#content {
	padding: 20px 10px;
	background-color: #fff;
	border-top: 7px solid #580602;
}

.homepage #content {
	line-height: 22px;
}

#content .stack  {
	max-width: 1150px;
	margin: 0 auto;
}

#content .news {
	margin-top: 5px;
	padding-left: 35px;
	/* background: url(../images/ico-ribbon.png) no-repeat top left; */
}

#content .news h2 {
	margin-top: 0;
}

#content .news ul {
	list-style-type: none;
	padding: 0;
}

#content .news li {
	margin: 10px 0;
}

#masthead {
	position: relative;
	width: 100%;
	height: 570px;
}

#masthead .stack {
	height: 100%;
	max-width: 1150px;
	margin: 0 auto;
	position: relative;
}

#masthead span {
	background: rgba(0, 0, 0, 0.5);
	bottom: 0;
	color: #FFFFFF;
	font: 700 23px 'Lato', 'Myriad Pro', Arial, sans-serif;
	letter-spacing: 1px;
	padding: 10px;
	position: absolute;
	right: 10px;
	text-shadow: 1px 1px 0px #000000;
	text-transform: uppercase;
}

.mfp-iframe-holder .mfp-content {
	height: 674px !important;
	max-width: 691px !important;
}

.youtubeEmbed {
	margin: 15px 0 0 0;
	max-height: 239px;
	max-width: 425px;
	width: 100%;
}

/*******************************************************************
  MAIN 
*******************************************************************/

#corporate-logos {
	padding: 20px 20px 0 20px;
}

#corporate-logos .logos {
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	margin: 0 auto;
	max-width: 1150px;
	padding: 0 0 20px 0;
	line-height: 0;
}


#corporate-logos img {
	display: inline-block;
	vertical-align: middle;
}

/*******************************************************************
  SIDEBAR
*******************************************************************/

.content {
	padding-top: 15px;
}

aside.interior {
	margin-left: 40px;
	text-align: center;
	margin-top: 50px;
}

aside.interior a {
	color: #565657;
	text-decoration: none;
}
aside.interior a:hover {
	text-decoration: underline;
}

aside.interior p {
	text-transform: uppercase;
	margin: 15px 0;
	font-weight: bold;
}

aside.interior img {
	margin-left: 15px;
}

.sideItem {
	margin-top: 30px;
}

.sideItem a {
	text-decoration: none;
}

.sideItem a:hover {
	text-decoration: underline;
}

.sideItem img {
	float: left;
	padding-right: 15px;
	margin-top: -5px;
}

.sideItem p {
	text-transform: uppercase;
	margin: 15px 0;
}

/*******************************************************************
  FOOTER
*******************************************************************/

footer {
	clear: both;
	min-height: 75px;
	padding: 15px;
	background: url("../images/footer-bknd.png");
	color: #fff;
	font: 15px 'Open Sans', Arial, sans-serif;
}

footer img {
	margin-top: 10px;
}

footer .stack {
	margin: 0 auto;
	max-width: 1150px;
}

footer h2 {
	color: #fff;
	font-style: normal;
	font-size: 18px;
}

footer a:link, footer a:visited {
	color: #fff;
}

footer a:hover {
	color: #fff;
	text-decoration: underline;
}

footer p {
	margin: 3px 0;
}

/*******************************************************************
	SOCIAL
*******************************************************************/

#social {
	z-index: 10000;
	position: fixed;
	top: 200px;
	left: 0;
	margin: 0;

	height: auto;
	padding: 0px 5px;
	background: #fff;
	list-style-type: none;
}

#social li {
	width: 25px;
	height: 25px;
	margin: 5px 0;
}

#social a:link, #social a:visited {
	display: block;
	height: 100%;
	width: 100%;
	background: url(../images/ico-social.png) no-repeat;
}

#social .facebook a { background-position: 0 0}
#social .facebook a:hover { background-position: -25px 0}
#social .google a { background-position: 0 -25px}
#social .google a:hover { background-position: -25px -25px}
#social .youtube a { background-position: 0 -50px}
#social .youtube a:hover { background-position: -25px -50px}
#social .linkedin a { background-position: 0 -75px}
#social .linkedin a:hover { background-position: -25px -75px}


/*******************************************************************
  MEDIA QUERIES
*******************************************************************/

@media handheld, only screen and (max-width: 950px), screen and (max-height: 700px) {
		#masthead {
		height: 350px;
	}

}
@media handheld, only screen and (max-width: 950px), screen and (max-height: 700px) {
	header .logo {
		margin-left: 10px;
	}

	#navigation {
		margin-right: 10px;
	}

	#navigation a:link, #navigation a:visited {
		font-size: 14px;
		padding: 12px 5px 30px 5px;
	}
}

@media handheld, only screen and (max-width: 1130px) {
	#corporate-logos img {
		max-height: 40px;
	}

	footer {
		text-align: center;
	}

	header #navigation {
		margin-top: 35px;
	}

	header #navigation a:link, header #navigation a:visited {
		font-size: .9em;
		padding: 7px 10px;
	}
}

@media handheld, only screen and (max-width: 975px) {
	header #navigation a:link, header #navigation a:visited {
		padding: 7px 4px;
	}
}

@media handheld, only screen and (max-width: 875px) {
	#masthead .stack {
		display: none;
	}

	#headerButton {
		display: none;
	}

	.homepage .content, .homepage .logos, .homepage .news {
		text-align: center;
		margin-bottom: 30px;
	}

	#content .news {
		padding-left: 0;
		background: none;
	}

	#navigation {
		display: none;
	}

	#mobile-navigation {
		display: block;
	}

	header .logo {
		float: none;
		margin: 8px auto;
	}

	#social {
		display: none;
	}

	#masthead {
		height: 300px;
	}

	#corporate-logos img {
		margin: 10px;	
	}

	.sideItem {
		text-align: center;
	}

	.sideItem img {
		display: none;
	}
}

@media handheld, only screen and (max-width: 420px) {
	#masthead {
		height: 250px;
	}

	header {
		padding: 30px 0 10px 0px;
	}
}