/*
Theme Name: PSN
Theme URI: http://sagefrog.com/
Author: Sagefrog Marketing Group, LLC
Author URI: http://www.sagefrog.com/
Description: A custom WordPress theme developed for PSN.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: psn
Domain Path: /languages/
*/

/* =Global
----------------------------------------------- */

html, body {
	background: #64717a;
	overflow-x: hidden;
}

#page {
	background: #fff;
}

.row {
	max-width: 81em;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
th, td {
	padding: 1.2em !important;
	line-height: 1.5em !important;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

/* Typography */

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
}

a {
	color: #137ec1;
	-webkit-transition:all 300ms ease-in;
   	-moz-transition:all 300ms ease-in;
   	-o-transition:all 300ms ease-in;
   	transition:all 300ms ease-in;
}

a:hover {
	color: #e75f36;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* =Masthead
----------------------------------------------- */

#masthead {
	padding: 40px 0 0;
	position: relative;
}

.site-branding {
	float: left;
}

.site-title {
	margin: 0;
}

.site-description {
	position: absolute;
	top: 0;
	right: 13.125px;
	color: #004d95;
	font-size: 1.6em;
	font-weight: normal;
	line-height: 1em;
}

.header-img {
	background: transparent url(images/header-img.png) repeat-x;
	height: 116px;
	width: 100%;
}

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

.main-navigation {
	float: right;
	margin-top: 52px;
	margin-right: -1.2em;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
	color: #545454;
	padding: 0 1.2em;
	height: 40px;
}
.main-navigation a:hover {
	color: #e65e34;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
		top: 40px;
		left: 0;
	z-index: 99999;
	background: #fff;
	border-top: 3px solid #e65e34;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
	height: auto;
	padding: 10px 1.2em;
	color: #545454 !important;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
	background: #f8f8f8;
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
	color: #e65e34;
}

/* Small menu */
.menu-toggle {
	display: none;
	cursor: pointer;
	font-size: 1em;
	text-transform: uppercase;
	position: absolute;
	top: 52px;
	right: 0.9375em;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
		margin-top: 20px;
		margin-left: -0.9375em;
		margin-right: -0.9375em;
		background: #f8f8f8;
		border-top: 1px solid #e8e8e8;
	}

	.main-navigation li {
		display: block;
		float: none;
		border-bottom: 1px solid #e8e8e8;
	}

	.main-navigation a {
		height: auto;
		padding: .6em 1.2em;
		border-bottom: 1px solid #fff;
	}

	.main-navigation ul ul {
		position: relative;
		float: none;
		top: auto;
		margin: 0;
	}

	.main-navigation ul ul a {
		width: auto;
	}
}

/* =Home Page
----------------------------------------------- */

body.home #content {
	padding-top: 0;
	padding-bottom: 0;
}

/* Slider */

.slider-wrapper {
	position: relative;
}

.slider-wrapper .flexslider {
	border: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
}

.flex-caption {
	position: absolute;
	top: 60px;
	width: 100%;
}

.slide-content {
	padding-left: 80px;
}

.slide-content h1 {
	color: #e75f36;
	font-size: 30px;
	line-height: 1.2em;
	margin-bottom: 10px;
}

.slide-content p {
	font-size: 18px;
	font-weight: 100;
	color: #252525;
	line-height: 1.5em;
	margin-bottom: 10px;
}

.slide-content a {
	color: #0e58a1;
	font-size: 18px;
	font-weight: 600;
}

.flexslider:hover .flex-prev,
.flexslider:hover .flex-next {
	line-height: 40px;
	color: #64717a;
}

.loading {
	min-height: 424px; 
	background: url(images/ajax-loader.gif) no-repeat center center;
}

/* Home Widgets */

#home-widgets .widget {
	text-align: center;
	margin-bottom: 40px;
}

#home-widgets .widget .inner {
	border: 1px solid #cbd4da;
	padding: 20px;
	min-height: 254px;
}

#home-widgets .widget h1 {
	font-size: 21px;
}

/* =Content
----------------------------------------------- */

#content {
	padding-top: 40px;
	padding-bottom: 40px;
}

.entry-title, .page-title {
	font-size: 2em;
	position: absolute;
	top: -122px;
	color: #64717A;
}

.entry-content h2 {
	color: #e65e34;
	font-size: 26px;
	font-weight: normal;
	padding-bottom: 20px;
	margin-bottom: 30px;
	border-bottom: 1px solid #e4e4e4;
}

/* =Job Listings
----------------------------------------------- */

.job-listings .page-title {
	left: -47%;
}

.job-listings .entry-title,
.tax-job_locations .entry-title {
	position: relative;
	top: auto;
	font-size: 20px;
	margin-bottom: 6px;
}

.post-navigation {
	margin-top: 1em;
	display: inline-block;
	width: 100%;
}

.nav-previous {
	float: left;
}

.nav-next {
	float: right;
}

.job-search-form {
	padding: 1.5em;
	background: #f7f7f7;
	margin-bottom: 2em;
	border: 1px solid #e7e7e7;
}

.job-search-form input {
	margin-bottom: 0;
	font-size: 1em;
}

ul.job-meta {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: inline-block;
	width: 100%;
}

ul.job-meta li {
	float: left;
	margin-right: 12px;
}

.submit-resume,
.reset_button  {
	text-decoration: underline;
	font-size: 13px;
}

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

.search .page-title {
	left: -47%;
}

.search .entry-title {
	position: relative;
	top: auto;
	font-size: 20px;
	margin-bottom: 6px;
}

/* =Secondary Widgets
----------------------------------------------- */

.widget-title {
	font-size: 17px;
	color: #e65e34;
	font-weight: 500;
}

.widget ul {
	list-style: none;
	margin-left: 0;
}

.widget .search-submit {
	display: none;
}

/* Contact Widget */

.widget.contact .textwidget,
.taxonomies-filter-widget-form {
	padding: 10px 20px !important;
	border: 1px solid #f0f0f0;
	background: #fcfcfc; /* Old browsers */
	background: -moz-linear-gradient(-45deg,  #fcfcfc 0%, #f8f8f8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f8f8f8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg,  #fcfcfc 0%,#f8f8f8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg,  #fcfcfc 0%,#f8f8f8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg,  #fcfcfc 0%,#f8f8f8 100%); /* IE10+ */
	background: linear-gradient(135deg,  #fcfcfc 0%,#f8f8f8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#f8f8f8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.widget.contact ul {
	margin-bottom: 0;
}

.widget.contact li {
	display: block;
	color: #137ec1;
	line-height: 1.5em;
	font-weight: 500;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.widget.contact li:last-child {
	border: none;
}

.widget.contact li i {
	font-size: 1.5em;
	position: relative;
	top: 2px;
	margin-right: 5px;
}

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

#colophon {
	padding-bottom: 20px;
}

.site-info {
	margin: 20px 0;
	color: #fff;
	line-height: 1.5em;
}

/* Footer Widgets */

.site-footer .widget {
	color: #fff;
	margin-bottom: 20px;
}

.site-footer .widget-title {
	color: #fff;
}

.site-footer .widget a {
	color: #fff;
}

.site-footer .widget p {
	margin-bottom: 1em;
}

.site-footer .widget i {
	margin-right: 5px;
}

.site-footer .button {
	background-color: #137ec1;
	border: none !important;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-weight: 500;
	-webkit-box-shadow: 0 1px 0 #3c8ec1 inset;
	box-shadow: 0 1px 0 #3c8ec1 inset;
}

.site-footer .button:hover {
	background-color: #e75f36;
	-webkit-box-shadow: 0 1px 0 #e77e5e inset;
	box-shadow: 0 1px 0 #e77e5e inset;
}


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

.post-edit-link {
	color: #64717a;
	font-size: 21px;
	display: block;
	margin-bottom: 20px;
}

.post-edit-link:hover {
	color: #e75f36;
}

/* =Media Queries
----------------------------------------------- */

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

	.flex-caption {
		top: 30px;
	}

	.slide-content h1 {
		font-size: 28px;
	}

	.slide-content p {
		font-size: 15px;
	}

	.slide-content a {
		font-size: 14px;
	}
}

@media screen and (max-width: 960px) {

	.flex-caption { display: none; }

}

@media screen and (max-width: 600px) {

	#masthead {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.site-branding {
		float: none;
	}

	.site-description { display: none; }

	.main-navigation {
		float: none;
		margin-top: auto;
		margin-right: 0;
	}

	#home-widgets .widget {
		margin-bottom: 20px;
	}

}
