/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/* Remove ugly border on old IE */
a:focus, input[type=submit]:focus, input[type=image]:focus { outline: none; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
   
/* a holder for floats / clearfix, will automatically float child elements */
.group:before, .group:after { content: ""; display: table; }
.group:after { clear: both; }
.group > * { float: left; min-height: 1px; }
.group.right > * { float: right; }

.vertical-align-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	outline:none;
}
body {
	font-size:14px;
	color:#5d5a59;
	-webkit-font-smoothing: antialiased;
	font-weight:normal;
	min-width:320px;
	margin:0;
	font-family: 'museo_sans300';
	background-color: #233a74;
}
a {
	text-decoration:none;
	color:#346c0a;
}
p {
	margin-top: 0;
}
p a {
	text-decoration:underline;
	color:#ff6600;
	font-family: 'dominebold';
}
img {
	border:none;
}
h1,h2,h3,h4,h5,h6 {
	margin-top:0;
	font-weight:normal;
}
ul {
	list-style-type:none;
	padding:0px;
	margin:0 0 15px;
}
ul li {
	padding:0 0 0 25px;
	background-image:url(../img/list-marker.png);
	background-repeat:no-repeat;
	background-position:12px 7px;
}
h1 div {
	background-color:#fff;
	padding:0 10px;
	margin:0 auto;
	display:inline-block;
	height:40px;
	line-height:42px;
}
h1.icon div {
	background-image:url(../img/sprite.png);
	background-repeat:no-repeat;
	padding:0 30px 0 80px;
}

h1.line {
	text-align:center;
	text-transform:uppercase;
	background-image:url(../img/px.png);
	background-repeat:repeat-x;
	background-position:center;
	
}
.btn {
	display:inline-block;
	background-color:#62b029;
	text-transform:uppercase;
	color:#fff;
	font-family: 'museo_sans700';
	height:46px;
	line-height:46px;
	padding:0 30px;
	text-shadow:1px 1px rgba(0,0,0,0.46);
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	box-shadow:0 4px 1px #38750a;
}
.btn:hover {
	background-color:#549c1e;
}
.vjs-default-skin .vjs-big-play-button {
	width:70px;
	height:70px;
	border-radius:35px;
	border-color:#fff;
	font-size: 25px;
}
.vjs-default-skin.vjs-big-play-centered .vjs-big-play-button {
	left: 50%;
	margin-left: -35px;
	top: 50%;
	margin-top: -35px;
}
.vjs-default-skin .vjs-big-play-button:before {
	line-height: 67px;
}

.container {
	width:1000px;
	margin:0 auto;
	padding:0 30px;
}
header {
	position:absolute;
	top:0;
	width:100%;
}
header .container {
	position:relative;
	background-color:#f0f0f0;
	
	box-shadow:0 0 4px rgba(0,0,0,0.6);
	z-index:100;
}
header .contact {
	position:absolute;
	top:12px;
	left:510px;
	color:#1a3c97;
	line-height:24px;
	font-size:15px;
}
header .contact .email {
	background-image:url(../img/sprite.png);
	background-position:5px -2px;
	background-repeat:no-repeat;
	padding-left:30px;
	color:#1a3c97;
	margin-right:20px;
	display:block;
	font-size:15px;
}
header .contact .phone {
	padding-left:20px;
	background-image:url(../img/sprite.png);
	background-position:0px -30px;
	background-repeat:no-repeat;
}
header .logo {
	display:block;
	height:105px;
	width:243px;
	float:left;
	background-image:url(../img/logo.jpg);
	background-repeat:no-repeat;
	background-position:center;
}
header .stamp {
	height:105px;
	width:82px;
	float:left;
	background-image:url(../img/stamp.png);
	background-repeat:no-repeat;
	background-position:center;
}

header .nav-toggle {
	border: none;
	background-color: transparent;
	position: absolute;
	top: 80px;
	right: 25px;
	float: right;
	width: 30px;
	height: 30px;
	background-image: url(../img/sprite.png);
	background-repeat: no-repeat;
	background-position: 0 -455px;
	cursor: pointer;
	display: none;
}
header nav { 
	margin-top: 53px;
	margin-left: 340px;
}
header nav ul { 
	list-style: none; 
	padding: 0px; 
	margin: 0px; 
	font-weight: bold; 
	text-align: center; 
}
header nav ul li { 
	position:relative;
	padding:0;
	background:none;
}
header nav ul li a { 
	display: block; 
	padding: 0 8px 0 7px; 
	text-decoration: none; 
	color: #3b3b3b; 
	font-size:15px;
	line-height:48px;
	display:block;
	font-weight: normal;
	border-bottom:4px solid transparent;
	text-transform:uppercase;
}
header nav > ul > li > a { 
    background-image: url(../img/nav-sep.png);
	background-position: right center;
	background-repeat: no-repeat;
}
header nav > ul > li:last-of-type > a { 
        background-image:none;
}
header nav ul li:hover > a {
	color:#828282;	
}
header nav > ul > li.active > a { 
	border-bottom:4px solid #193c97;
	color:#193c97;
}
header .menu ul {
	display: none;
	margin: 0;
	padding: 0;
	width: 220px;
	position: absolute;
	top: 52px;
	left: 0;
	background-color:#e7e7e7;
	z-index:0;
	box-shadow:0 0 4px rgba(0,0,0,0.6);
	border-bottom:2px solid #193c97;
}
header .menu ul li {
	margin:0;
	
	width:100%;
}
header .menu ul li a {
	border-right:0;
	border-top:1px solid #f5f5f5;
	border-bottom:1px solid #d0d0d0;
	font-size:16px;
	padding-left:40px;
	text-align:left;
}
header .menu ul li:first-child a {
	border-top:none;
}
header .menu ul li:last-child a {
	border-bottom:none;
}
header .menu li:hover > ul {
	display: block;
}
header #google_translate_element {
	position:absolute;
	top:12px;
	right:30px;
}
.masthead {
	color:#fff;
	text-shadow:0px 1px 1px rgba(0,0,0,0.75);
	font-size:18px;
	height:235px;
	background-image: url(../img/home-bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding-top:155px;
	margin-bottom:30px;
}
.masthead .content {
	float:left;
	width:520px;
}
.masthead h1 {	
	font-size:32px;
	line-height:36px;
	margin-top:0;
}
.masthead .text {
	margin-bottom:30px;
}
.masthead .video {
	float:right;
	width:380px;
}
.masthead .video .video-wrapper {
	position:relative;
	box-shadow:0 0 5px rgba(0,0,0,0.42);
	-moz-box-shadow:0 0 5px rgba(0,0,0,0.42);
	-webkit-box-shadow:0 0 5px rgba(0,0,0,0.42);
}
footer {
	height:190px;
	background-color:#233a74;
	padding:35px 0 0 0;
	margin-top:20px;
	color:#fff;
	line-height:24px;
}
footer a {
	color:#fff;
}
footer .phones {
	float:left;
	width:320px;
}
footer .address {
	float:left;
	width:270px;
}
footer .social {
	float:left;
	width:350px;
}
footer .copyright {
	text-align:right;
	color:#9a9a9a;
	clear: both;
}
footer .addthis {
	
}
footer .addthis_native_toolbox {
	float:right;
	border-bottom:1px solid #8a8a8a;
	padding-bottom:10px;
}
footer .social-buttons {
	padding:15px 0 25px;
}
footer .social-buttons a {
	display:block;
	width:35px;
	height:37px;
	margin-left:11px;
	background-image:url(../img/sprite.png);
	background-repeat:no-repeat;
}
footer .social-buttons a.linkedin {
	background-position:0 -162px;
}
footer .social-buttons a.linkedin:hover {
	background-position:0 -199px;
}
footer .social-buttons a.facebook {
	background-position:0 -236px;
}
footer .social-buttons a.facebook:hover {
	background-position:0 -273px;
}
footer .social-buttons a.twitter {
	background-position:0 -310px;
}
footer .social-buttons a.twitter:hover {
	background-position:0 -347px;
}
.main {
	padding:0 0 60px;
	background-color:#fff;
}
.page .main .content-area h1 {
	font-size:18px;
	font-family: 'museo_sans700';
	margin-bottom:20px;
	color:#444444;
}
.content-area h3 {
	font-size: 16px;
	font-weight: 700;
	color: #193c96;
}
.content-area,
.page.news .content-area {
	float:left;
	width:650px;
}
.page .content-area {
	float:right;
	width:710px;
}
.sidebar,
.page.news .sidebar {
	float:right;
	width:290px;
	padding-left:60px;
	padding-right:0;
}
.page .sidebar {
	width:230px;
	padding-left:0;
	padding-right:60px;
	float:left;
}
.fullwidth .content-area {
	width:100%;
	float:none;
	margin:0;
}

/* Home Page */
/* Home Section: Industry blocks */
.home #industries {
	margin:30px 0 45px;
	height:450px;
}
.home #industries .container {
	position:relative;
}
.home #industries h1 div {
	background-position:20px -62px;
}
.home #industries .industry {
	position:absolute;
	top:60px;
	left:30px;
	width:310px;
	height:189px;
	margin:0 4px 4px 0;
	overflow:hidden;
	background-size: cover;
}
.home #industries .industry2 {
	left:344px;		
}
.home #industries .industry3 {
	left:658px;	
	height: 382px;
}
.home #industries .industry4 {
	top:253px;	
}
.home #industries .industry5 {
	left:344px;	
	top:253px;	
}
.home #industries .industry .wrapper {
	position:relative;
	/*height:378px;*/
	position:absolute;
	bottom:0;
}
.home #industries .industry a {
	color:#fff;
}
.home #industries .industry .title {
	line-height:45px;
	padding:0 15px;
	background-color:#132c6e;
	background-color:rgba(19,44,110,0.8);
	display:inline-block;
	color:#fff;
	font-size:21px;
	text-transform:uppercase;
	margin: 0 10px 10px 10px;
}
.home #industries .industry .text {
	background-color:#132c6e;
	background-color:rgba(19,44,110,0.8);
	margin: 0 10px 10px 10px;
	padding:15px;
	color:#fff;
	display:none;
}
.home #industries .industry .text p {
	margin-bottom:5px;
}
.home #partners {
	float:left;
	width:50%;
	padding-right:10px;
}
.home #partners .logos .logo-wrapper {
	width:50%;
}
.home #partners .logos .logo-wrapper:nth-of-type(2n+1) {
	clear:both;
}
.home #partners .logos .logo-wrapper .logo {
	width:100%;
	height:80px;
	padding: 10px;
	text-align:center;
	cursor:pointer;
}
.home #partners .logos .logo-wrapper .logo img {
	max-height:100%;
	vertical-align:middle;
}

/* Home Section: News */
.home.page .masthead {
	height:610px;
	padding-top:245px;
}
.home #news {
	float:right;
	width:50%;
	padding-left:10px;
}
.home #news h1 a {
	color:#444444;
}
.home #news h1 div {
	background-position: 20px -112px;	
}
.home #news article {
	padding:0;
	margin:0;
	border:none;
}
.home #news .post-teaser .thumb {
	width:140px;
	float:left;
	margin:0 20px 15px 0;
}
.home #news .post-teaser .thumb img {
	width:100%;
}
.home #news .post-teaser.teaser-with-thumb .content {
	margin-left:160px;
}
.home #news .post-teaser h1 {
	font-family: 'museo_sans700';
	line-height:22px;
	font-size:16px;
}

/* Single post */
.single-post article {
	padding-left:0;
	margin-bottom: 20px;
}
.single-post article h1 {
	color:#3b3b3b;
	font-size:32px;
	font-family: 'museo_sans700';
}
.single-post article .published {
	position:static;
	border:none;
}
.single-post article .post-meta {
	background-image:url(../img/post-meta-bg.png);
	background-repeat:repeat;
	line-height:35px;
	text-align:right;
	margin-bottom:15px;
	color:#989898;
	padding:0 20px;
}
.single-post article .post-meta time {
	background:none;
	text-shadow:none;
	color: #989898;
	font-family: 'museo_sans300';
	text-transform:none;
}
.single-post article .post-meta .author {
	color:#082673;
	font-family: 'museo_sans700';
}
.single-post article .post-thumb {
	width:100%;
	float:none;
	margin-right:0;
}
.single-post article .entry-content h1 {
	color:#444444;
	font-size:18px;
}

/* Page: Contact Us */
.page.contact-us .form-area {
	width:430px;
	padding-right:30px;
	float:left;
}
.page.contact-us .form-area .btn {
	width:190px;
	border:none;
	cursor:pointer;
	height:34px;
	line-height:36px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.page.contact-us .map-area {
	width:510px;
	padding-left:30px;
	border-left:1px solid #d9d9d9;
	float:left;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	color:#959595;
	line-height:22px;
}
.page.contact-us .map-area .address {
	float:left;
	width:220px;
	padding-right:30px;
	margin-bottom:15px;
}
.page.contact-us .map-area .phones {
	float:left;
	padding-left:30px;
	border-left:1px solid #d9d9d9;
}
.page.contact-us .map-area .phones a {
	color:#959595;
}
.page.contact-us #map {
	width:100%;
	height:240px;
	border:1px solid #cecece;
	margin-bottom:20px;
}

/* Widgets */
.widget {
	color:#444444;
}
.widget-subpages {
	padding-bottom:40px;
	border-bottom:1px solid #acacac;
	margin-bottom:40px;
}
.widget ul.subpages {
	border:1px solid #143078;	
	margin:0;
}
.widget ul.subpages li {
	border-bottom:1px solid #14317b;
	background-image:url(../img/subpages-bg.png);
	background-repeat:repeat;
	padding:0;
}
.widget ul.subpages a {
	display:block;
	padding:10px 25px;
	color:#fff;
	font-size:12px;
	text-shadow:2px 2px 2px rgba(0,0,0,0.55);	
	background-image:url(../img/sprite.png);
	background-repeat:no-repeat;
	background-position:140px -474px;
}
.widget ul.subpages li.active,
.widget ul.subpages li:hover {
	background-image:url(../img/subpages-bg-hover.png);
}
.widget ul.subpages li:last-of-type {
	border-bottom:none;	
}
.widget-select {
	display:none;
}
.widget-cats,
.widget_recent_entries {
	border:1px solid #d3d2d2;
	box-shadow:0 0 1px 1px rgba(0,0,0,0.05);
}
.widget-cats h1,
.widget_recent_entries h3 {
	line-height:50px;
	border-top:1px solid #001750;
	border-bottom:1px solid #001750;
	padding-left:20px;
	font-size:18px;
	font-family: 'museo_sans700';
	color:#fff;
	background-image:url(../img/header-bg.png);
	background-repeat:repeat;
	text-shadow:2px 2px 2px #000;
	margin:0;
}
.widget-cats ul,
.widget_recent_entries ul {
	margin:0;
}
.widget-cats ul li,
.widget_recent_entries ul li {
	border-top:1px solid #fff;
	border-bottom:1px solid #e3e3e3;
	background:#f2f2f2;
	padding:0;
}
.widget-cats ul li:last-of-type,
.widget_recent_entries ul li:last-of-type {
	border-bottom:none;
}
.widget-cats ul li a,
.widget_recent_entries ul li a {
	padding-left:14px;
	line-height:40px;
	background-color:#f2f2f2;
	border-left:1px solid #f2f2f2;
	margin-left:5px;
	display:block;
	font-size:12px;
	color:#3b3b3b;
	text-shadow:1px 1px 1px #fff;
	font-family:Arial, Helvetica, sans-serif;
}
.widget-cats ul li:hover,
.widget-cats ul li.active {
	background-color:#3055b2;
}
.widget-cats ul li:hover a,
.widget-cats ul li.active a {
	border-left:1px solid #223c7d;
	background-color:#fcfcfc;
}
.widget-cats ul li a .count {
	float:right;
	width:60px;
	border-left:1px solid #e3e3e3;
	text-align:center;
	color:#193c96;
	box-shadow:inset 1px 0 1px #fff;
}
.widget_recent_entries ul li {
	border:none;
}
.widget_recent_entries ul li a {
	margin:0 25px;
	color:#193d97;
	line-height:normal;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #e3e3e3;
	padding:10px 0;
}
.widget_recent_entries ul li:first-of-type a {
	border-top:none;
}
.widget_recent_entries ul li:last-of-type a {
	border-bottom:none;
}


article {
	position:relative;
	padding-left:60px;
	padding-bottom:40px;
	border-bottom:1px solid #d9d9d9;
	margin-bottom:50px;
}
article .published {
	position:absolute;
	top:0;
	left:0;
	width:45px;
	height:45px;
	border:1px solid #00164e;
	background-image:url(../img/header-bg.png);
	background-repeat:repeat;
	text-align:center;
	color:#fff;
	font-family: 'museo_sans700';
	line-height:12px;
	padding:10px 0 0 0;
	text-shadow:2px 2px 2px rgba(0,0,0,0.21);
}
article .entry-title {
	margin-bottom:10px;
	line-height:normal;
}
article .entry-title a {
	color:#434343;
	font-family: 'museo_sans700';
	font-size:18px;
}
article .post-thumb {
	float:left;
	margin:0 20px 20px 0;
	width:240px;
	border:1px solid #c4c4c4;
	position:relative;
}
article .post-thumb img {
	width:100%;
	margin:0;
}
article .post-thumb .overlay {
	border:8px solid rgba(0,0,0,0.25);
	position:absolute;
	top:0;
	bottom:0;
	width:100%;
}
article .more {
	display:block;
	float:right;
	background-image:url(../img/sprite.png);
	background-position:0 -546px;
	background-repeat:no-repeat;
	width:100px;
	height:34px;	
	color:#fff;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	font-weight:bold;
	text-shadow:2px 2px 2px rgba(0,0,0,0.7);
	padding-top:6px;
}



/* Pagination */
.pagination ul li {
	padding:0;
	background:none;
	display: inline-block;
}
.pagination ul li {
	font-family: 'helvetica_neue_bold';
	font-size: 12px;
	line-height: 23px;
	text-align:center;
	margin:0 2px;
	background-color: #f0f0f0;
	background: -moz-linear-gradient(top, #fff 0%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #fff 0%, #eaeaea 100%);
	background: -o-linear-gradient(top, #fff 0%, #eaeaea 100%);
	background: -ms-linear-gradient(top, #fff 0%, #eaeaea 100%);
	background: linear-gradient(top, #fff 0%, #eaeaea 100%);
	vertical-align: top;
}
.pagination a {
	display:block;
	border: 1px solid #c9c9c9;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	color: #717171;
	min-width:26px;
	text-shadow: 0px 1px 1px #fff;
	box-shadow: inset 0px 1px 1px rgba(255,255,255,0.5), 0px 1px 1px rgba(0,0,0,0.15);
	cursor: pointer;
}
.pagination ul li .current {
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background-color:#676767;
	border: 1px solid #c9c9c9;
	display:block;
	min-width:26px;
	color:#f2f2f2;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.13);
	box-shadow: inset 0px 1px 5px rgba(0,0,0,0.4);
}
.pagination ul li .dots {
	display:block;
	width:30px;
}
.pagination ul li.first-page a,
.pagination ul li.last-page a,
.pagination ul li.prev-post a,
.pagination ul li.next-post a {
	width:50px;
	background-image:url(../img/sprite.png);
	background-repeat:no-repeat;
	text-indent:-9999px;
}
.pagination ul li.first-page a,
.pagination ul li.prev-post a {
	background-position:18px -692px;
}
.pagination ul li.last-page a,
.pagination ul li.next-post a {
	background-position:18px -722px;
}
.pagination ul li.prev-post {
	float:left;
}
.pagination ul li.next-post {
	float:right;
}

/* From Elements */
input,
textarea {
	width:100%;
	border:1px solid #dddcdc;
	background-color:#f6f5f5;
	font-size:16px;
	font-family: 'museo_sans300';
	padding:20px;
	color: #444444; 
	-webkit-appearance: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}
input {
	height:45px;
}
textarea {
	padding:20px;
	height:160px;
}
input:focus,
textarea:focus {
	border:2px solid #193c96;	
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
}
::-webkit-input-placeholder {
   color: #444444;
   color: rgba(68,68,68,0.5);
}
:-moz-placeholder {
   color: #444444;  
   color: rgba(68,68,68,0.5);
}
::-moz-placeholder {
   color: #444444;  
   color: rgba(68,68,68,0.5);
}
:-ms-input-placeholder {  
   color: #444444; 
   color: rgba(68,68,68,0.5); 
}

/* Plugin: Contact Form 7 */
.wpcf7-form-control-wrap {
	width:100%;
}
div.wpcf7 img.ajax-loader {
	width:auto;
}

/* Plugin: Selecter */
.selecter {
	width:100%;
	max-width:100%;
}
.selecter .selecter-selected {
	border:1px solid #dedede;
	border-radius:0;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	box-shadow:none;
	background-color:#f4f4f4;
	color:#afadad;
	background-image:url(../img/sprite.png);
	background-position: right -70px top -593px;
}
.selecter:hover .selecter-selected {
	background-color:#f4f4f4;
}
.selecter.open .selecter-selected {
	background-color:#f4f4f4;
	background-position: right -70px top -623px;
	border-radius:0;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	box-shadow:none;
}
.selecter:focus .selecter-selected {
	background-color:#f4f4f4;
	box-shadow:none;
}
.selecter .selecter-options {
	box-shadow:none;
	border-radius:0;
	-moz-border-radius:0;
	-webkit-border-radius:0;
}
.selecter .selecter-item {
	background-color:#e8e8e8;
	background-image:url(../img/sprite.png);
	background-position: right -70px top -653px;
	background-repeat:no-repeat;
	color:#1a3c97;
	font-size:15px;	
}
.selecter .selecter-item:hover {
	background-color:#f6f6f6;
}



/* Other */
img.alignright {
	float:right;
	margin:0 0 20px 20px;
	display:inline;
}
img.alignleft {
	float:left;
	margin:0 20px 20px 0;
}

/* AddThis Widget */
.twitter-count-horizontal {
	width: 80px !important;
}
.addthis_button_google_plusone {
	width:60px;
}

#_atssh {
	display: none;
}

@media (min-width:1024px) {
	header nav {
		display:block !important;
	}
	header .menu ul {
		display:none !important;
	}
	header .menu li:hover > ul {
		display: block !important;
	}
	article .published span {
		display:block;	
	}
}

@media (max-width:1023px) {
	.container {
		width: 100%;
		padding:0 10px;
	}
	header .container {
		position: static;
	}
	header .contact {
		position: static;
		color: #fff;
		line-height: 34px;
		font-size: 13px;
		background-color:#193c96;
		margin:0 -10px;
		left:0;
		padding:0 10px;
	}
        header .contact a {
                color: #fff;
        }
	header .contact .email {
		color: #fff;
		background-position:0 -389px;
		font-size: 13px;
		padding-left:20px;
	}
	header .contact .phone {
		background-position: 0 -417px;
		color:#fff;
	}
	header #google_translate_element {
		position: static;
		display:inline-block;
		margin:15px 0;
	}
	header .logo {
		width:200px;
		background-size: contain;
	}
	header .stamp {
		position:absolute;
		top:30px;
		left:190px;
		width:55px;
		background-size: contain;
	}
	header nav {
		position:absolute;
		top:139px;
		left:0;
		margin:0;
		display:none;
		background-color:#f4f4f4;
		width: 100%;
		box-shadow:inset 0 4px 4px -1px rgba(0,0,0,0.1);
		border-bottom:5px solid #193c97;
		text-align: center;
		z-index: 100;
	}
	header nav ul {
		border-bottom:1px solid #d9d9d9;
	}
	header nav ul li {
		float:none !important;
	}
	header nav ul li a {
		border-top:1px solid #d9d9d9;
		border-bottom:1px solid #fff;
                background-image:none;
	}
	header nav ul li.active > a {
		border-bottom: 1px solid #fff;
	}
	header nav ul li.dropdown.active > a {
		border-bottom: none;
	}
	header nav ul.menu ul {
		position:static;
		width:100%;
		box-shadow:none;
		border:none;
	}
	header .menu li:hover > ul {
		display: none;
	}
	header .menu ul li:first-of-type {
		box-shadow:inset 0 2px 4px -2px rgba(0,0,0,0.3);
	}
	header .menu ul li:last-of-type {
		box-shadow:inset 0 -2px 4px -2px rgba(0,0,0,0.3);
	}
	header .menu li.dropdown > a {
		position:relative;
	}
	header .menu ul li a {
		padding:0;
		text-align:center;
	}
	header .menu li .caret {
		display: block;
		height: 50px;
		width: 60px;
		position: absolute;
		top: 0;
		right: 0;
		background-image:url(../img/sprite.png);
		background-position: 25px -585px;
		background-repeat:no-repeat;
	}
	header .menu li.open .caret {
		background-position: 25px -615px;
	}
	header .nav-toggle {
		display:block;
	}
	
	
	.masthead {
		font-size: 15px;
		padding-top: 190px;
		text-align:center;
		height:auto;
	}
	.masthead h1 {
		font-size: 23px;
		line-height: normal;
		margin-bottom:50px;
	}
	.masthead .content {
		float: none;
		width: 100%;
	}
	.masthead .video {
		float: right;
		width: 100%;
		padding:40px 30px;
	}
	.home.page .masthead {
		height:auto;
		padding-top: 180px;
	}
	.home.page .masthead h1 {
		margin-bottom:15px;
	}
	.home #industries {
		margin: 50px 0 40px;
	}
	.home #news, .home #partners {
		float: none;
		width: 100%;
		padding-left: 0;
		margin-bottom:30px;
	}
	.home #news .post-teaser .thumb {
		width: 100%;
		float: none;
		margin-bottom:20px;
	}

	.home #news .post-teaser .content {
		margin-left: 0;
	}
	.home #news .post-teaser.teaser-with-thumb .content {
		margin-left: 0;
	}
	.home #partners .logos .logo-wrapper .logo img {
		max-width: 100%;
	}
	.home #partners .logos .logo-wrapper .logo img.BWFilter {
		display:none !important;
	}
	.page .sidebar {
		width: 100%;
		padding: 0;
		float: none;
	}
	.page .content-area {
		float: none;
		width: 100%;
	}
	.page .content-area img {
		width:100%;
	}
	.contact-widget {
		display:none;
	}
	.widget-select {
		display:block;
	}
	.widget-list {
		display:none;
	}
	.widget-subpages.widget-select {
		padding:0;
		border:none;
	}
	.widget-cats.widget-select {
		border: none;
		box-shadow: none;
	}
	.page.contact-us .form-area {
		width:100%;
		float:none;
		padding:0 0 20px;
		border-bottom:1px solid #d9d9d9;
		margin-bottom:20px;
	}
	.page.contact-us .map-area {
		padding:0;
		border:none;
		width:100%;
	}
	.page.contact-us .map-area .phones {
		padding-left: 0;
		border-left: none;
	}
	input, textarea {
		font-size: 14px;
		padding-left: 10px;
	}
	input {
		height: 37px;
	}
	.page.contact-us .form-area .btn {
		width:140px;
		font-size:16px;
	}
	.sidebar, .page.news .sidebar {
		float: none;
		width: 100%;
		padding:0;
		margin-bottom:20px;
	}
	.content-area, .page.news .content-area {
		float: none;
		width: 100%;
	}
	article {
		padding-left: 0;
		padding-bottom: 20px;
		border-bottom: 1px solid #d9d9d9;
		margin-bottom: 20px;
	}
	article .published {
		position:static;
		display:block;
		width:100%;
		height:30px;
		text-align:left;
		padding:8px 0 0 10px;
		text-transform:uppercase;
		margin-bottom:20px;	
	}
	article .post-thumb {
		float:none;
		width:100%;
		margin:0;
	}
	article .post-thumb img {
		margin: 0;
	}
	.single-post .sidebar {
		display:none;
	}
	.single-post article h1 {
		font-size:21px;		
	}
	.single-post article .post-meta {
		line-height:20px;
		font-size:12px;
	}
	.single-post article .published {
		display:inline;
	}
	.single-post article .post-thumb {
		margin-bottom:20px;
	}
	
	footer {
		height:auto;
		
	}
	footer .phones,
	footer .address,
	footer .social {
		float:none;
		width:100%;	
		text-align:center;	
	}
	footer .phones,
	footer .address {
		margin-bottom:30px;
		
	}
	footer .addthis_native_toolbox {
		display: inline-block;
		float:none !important;
	}
	footer .social-buttons {
		padding: 5px 0 25px;
	}
	footer .social-buttons a {
		display:inline-block;
		margin:0 5px;
		float:none !important;
	}
	footer .copyright {
		text-align:center;
		background-color:#1a2d5c;
		margin:0 -10px;
		line-height:30px;
		color:#9ea6bd;
		font-size:10px;
	}
	img.alignleft, img.alignright {
		float:none;
		margin: 0 0 20px 0;
	}
	.video-overlay {
		background-image: none;
		background-color: transparent;
	}
	.vertical-align-helper {
		display:none;
	}
	.home #industries {
		height:auto;
	}
	.home #industries .industry {
		position:relative;
		top:0;
		left:0;
		width:33.5%;
		float:left;
		margin-right:0;
		height:120px;
		margin-bottom:10px;
		border-right:10px solid #fff;
	}
	.home #industries .industry3 {
		float:right;
		height:250px;
		border-right:none;
		width:33%;
	}
	.home #industries .industry .wrapper {
		bottom:0;
		width:100%;
	}
	.home #industries .industry .title {
		margin:0;
		width:100%;
		font-size:18px;
		line-height:32px;
		top:auto !important;
		bottom:0;		
	}
	.home #industries .industry .text {
		display:none;
	}
}

@media (max-width:767px) {
	.home #industries {
		height:auto;
	}
	.home #industries .industry {
		position:relative;
		top:0 !important;
		left:0 !important;
		float:none;
		margin:0 auto 20px;
		height:150px !important;
		width:100%;
		border:none;
		background-position:center;
	}

}

@media (max-width:320px) {
	.home #industries {
		height:auto;
	}
	.home #industries .industry {
		position:relative;
		top:0 !important;
		left:0 !important;
		float:none;
		margin:0 auto 20px;
		height:115px !important;
		width:300px;
	}

}


/* ==========================================================================
   Black and White jQuery Plugin
   ========================================================================== */

.bwWrapper {
    position:relative;
    display:block;
}




/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    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;
    }
}

.logo-wrapper .logo{
	position: relative;
}
.logo-wrapper .logo img{
	max-width: 100%;
	vertical-align: top;
}

.credits{
	text-align: right;
	color: #aeaeae;
}
.credits a{
	color: #aeaeae;
}
