/*
Theme Name: meyerturku
Theme URI: 
Author: 
Author URI:
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: meyerturku
Tags: custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

meyerturku is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
@import url("//hello.myfonts.net/count/348c66");
@font-face {font-family: 'FrutigerCE';font-weight:900;font-style:italic;src: url('webfonts/348C66_0_0.eot');src: url('webfonts/348C66_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_0_0.woff2') format('woff2'),url('webfonts/348C66_0_0.woff') format('woff'),url('webfonts/348C66_0_0.ttf') format('truetype'),url('webfonts/348C66_0_0.svg#wf') format('svg');}
@font-face {font-family: 'FrutigerCE';font-weight:900;src: url('webfonts/348C66_1_0.eot');src: url('webfonts/348C66_1_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_1_0.woff2') format('woff2'),url('webfonts/348C66_1_0.woff') format('woff'),url('webfonts/348C66_1_0.ttf') format('truetype'),url('webfonts/348C66_1_0.svg#wf') format('svg');}
@font-face {font-family: 'FrutigerCE';font-weight:300;src: url('webfonts/348C66_2_0.eot');src: url('webfonts/348C66_2_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_2_0.woff2') format('woff2'),url('webfonts/348C66_2_0.woff') format('woff'),url('webfonts/348C66_2_0.ttf') format('truetype'),url('webfonts/348C66_2_0.svg#wf') format('svg');}
@font-face {font-family: 'FrutigerCE';font-weight:300;font-style:italic;src: url('webfonts/348C66_3_0.eot');src: url('webfonts/348C66_3_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_3_0.woff2') format('woff2'),url('webfonts/348C66_3_0.woff') format('woff'),url('webfonts/348C66_3_0.ttf') format('truetype'),url('webfonts/348C66_3_0.svg#wf') format('svg');}
@font-face {font-family: 'FrutigerCE';font-weight:400;src: url('webfonts/348C66_4_0.eot');src: url('webfonts/348C66_4_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_4_0.woff2') format('woff2'),url('webfonts/348C66_4_0.woff') format('woff'),url('webfonts/348C66_4_0.ttf') format('truetype'),url('webfonts/348C66_4_0.svg#wf') format('svg');}
@font-face {font-family: 'FrutigerCE';font-weight:400;font-style:italic;src: url('webfonts/348C66_5_0.eot');src: url('webfonts/348C66_5_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_5_0.woff2') format('woff2'),url('webfonts/348C66_5_0.woff') format('woff'),url('webfonts/348C66_5_0.ttf') format('truetype'),url('webfonts/348C66_5_0.svg#wf') format('svg');}
@font-face {font-family: 'FrutigerCE';font-weight:700;src: url('webfonts/348C66_6_0.eot');src: url('webfonts/348C66_6_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_6_0.woff2') format('woff2'),url('webfonts/348C66_6_0.woff') format('woff'),url('webfonts/348C66_6_0.ttf') format('truetype'),url('webfonts/348C66_6_0.svg#wf') format('svg');}
@font-face {font-family: 'FrutigerCE';font-weight:700;font-style:italic;src: url('webfonts/348C66_7_0.eot');src: url('webfonts/348C66_7_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_7_0.woff2') format('woff2'),url('webfonts/348C66_7_0.woff') format('woff'),url('webfonts/348C66_7_0.ttf') format('truetype'),url('webfonts/348C66_7_0.svg#wf') format('svg');}
@font-face {font-family: 'Square721BTWXX-Bold';src: url('webfonts/348C66_8_0.eot');src: url('webfonts/348C66_8_0.eot?#iefix') format('embedded-opentype'),url('webfonts/348C66_8_0.woff2') format('woff2'),url('webfonts/348C66_8_0.woff') format('woff'),url('webfonts/348C66_8_0.ttf') format('truetype'),url('webfonts/348C66_8_0.svg#wf') format('svg');}
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
	min-width:320px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color:#00385A;
}

h2,h3,h4,h5,h6,p { font-family: 'FrutigerCE'; }

.mejs-container{
margin:auto;}
.wp-video{width:100% !important; }

h1 { font-family: Square721BTWXX-Bold; font-weight: normal; font-style: normal; color:#fff; font-size:45px; line-height:60px; text-align:center; margin:40px auto; }
.header-basic h1, .header-fp h1 { text-align:center; margin:40px auto; }
.header-fp h1 { max-width: 800px; }

h2 { font-weight:400; font-size:35px; line-height:45px; text-align:center; margin:40px 0; }
.left .col-sm-4 h2 { margin-top:20px; }
h2.story-name { margin-bottom:80px; line-height:40px; }
h2.story-name span.story-title { display:block; font-weight:300; }
.job h2, .job h3, .job h4 { max-width:1080px; margin-left:auto; margin-right:auto; }

h3 { font-weight:400; font-size:30px; line-height:40px; margin:35px 0; }
.text-container h3 { text-align:center; }
.page-template-template_careerstories_sub h3 { font-size:25px; line-height:37px; font-weight:700; }

h4 { font-weight:400; font-size:25px; line-height:30px; color:#00385A; margin:20px 0 40px; }
footer h4 { color:#fff; font-size:30px; line-height:40px; text-align:left; margin:0 0 30px 0; font-weight:300; }
.text-container h4 { text-align:center; }

p { color:#00385A; font-size:20px; line-height:30px; margin:0 0 30px 0; font-weight:300;  }
.text-container p { max-width:1080px; text-align:center; margin:40px auto; }
.text-container-fp p { max-width:800px; }
footer p { color:#fff; font-weight:400;  }
footer p strong { font-weight:normal; font-size:24px; }
/*.main-desc p { font-weight:600; }*/
p.small { font-size:14px; }

.text-container ul, .text-container ol { padding-left:0; margin-left:0; list-style-position:inside; }
.text-container ul li, .text-container ol li { text-align:Center; color:#00385A; font-size:20px; line-height:30px; font-family: 'FrutigerCE'; font-weight:300; }

.left h5, .left h4, .left h3, .left h2, .left p { text-align:left; }

.image-section h2, .image-section h3, .image-section h4, .image-section h5, .image-section p { color:#fff; }

span.num { font-size:35px; line-height:45px; font-weight:900; color:#00385A; }

h1, h2, h3, h4, p, span.num { letter-spacing:0.5px; }

@media (max-width:991px) {
	
	h1, h2, h3, h4, h5, p, .left h5, .left h4, .left h3, .left h2, .left p { text-align:Center; }
	.job.left h5, .job.left h4, .job.left h3, .job.left h2, .job.left p { text-align:left; }
	
	h1 { font-size:25px; line-height:30px; margin:20px auto; }
	.header-basic h1, .header-fp h1 { margin:20px auto; }

	h2 { font-size:20px; line-height:30px; text-align:center; margin:20px 0; }

	h3 { font-size:18px; line-height:28px; margin:20px 0; }

	h4 { font-size:16px; line-height:22px; margin:20px 0 20px; }
	footer h4 { font-size:20px; line-height:30px; text-align:center; margin:0 0 20px 0; }

	p { font-size:16px; line-height:26px; margin:0 0 30px 0; }
	.text-container p { max-width:1080px; text-align:center; margin:20px auto; }

	.text-container ul li, .text-container ol li { font-size:16px; line-height:26px; }
	
	footer p strong { font-size:20px; }
	
	span.num { margin-top:20px; display:block; width:100%; text-align:Center; font-size:20px; line-height:30px; }
}

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: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	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;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}
.nf-field-label { width:100%; }
.nf-field-label label { text-align:Center; display:block; width:100%; font-weight:400!important; font-size:20px; line-height:26px; color:#00385A; font-family: 'FrutigerCE';}
.nf-field-element li label, .field-wrap.checkbox-wrap label { font-size:16px!important; font-weight:400!important; }
.nf-field-element input[type="text"], .nf-field-element input[type="tel"], .nf-field-element input[type="number"], .nf-field-element input[type="email"] { width:100%; max-width:500px; margin:0 auto!important; display:block; height:40px; line-height:30px; border-color:#00385A; text-align:Center; font-size:16px;}
.nf-field-element select { width:100%; max-width:500px; margin:0 auto!important; display:block; height:40px!important; line-height:30px; border-color:#00385A; text-align:Center; font-size:16px; border-radius:3px; }
.nf-field-container.listselect-container, .nf-field-container.checkbox-container { max-width:500px; margin:0 auto; }

.nf-field-element input[type="submit"], .nf-field-element input[type="button"] { width:230px; height:58px; display:block; margin:0 auto; font-weight:700; font-size:20px; line-height:38px; color:#00385A; background:#F99803; border-radius:0; text-decoration:none!important; border:none; padding-left:30px; padding-right:30px; }

@media (max-width:991px) {
	.nf-field-label label { font-size:16px; line-height:22px; }
	.nf-field-element li label, .field-wrap.checkbox-wrap label { font-size:12px!important; }
	.nf-field-element input[type="submit"], .nf-field-element input[type="button"] { font-size:14px; }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color:#f99804;
	font-weight: 400;
}

.text-container p > a { text-decoration:underline; }

a:visited {
	color:#f99804;
}

a:hover,
a:focus,
a:active {
	color:#00385A;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

footer a, footer a:visited, footer a:hover { color:#fff; }

a.btn { min-width:230px; height:58px; display:inline-block; font-weight:700; font-size:20px; line-height:46px; color:#00385A; background:#F99803; border-radius:0; text-decoration:none!important; }
@media (max-width:991px) {
	a.btn { min-width:165px; height:41px; font-size:16px; line-height:28px; }
}

a.back { display:inline-block; padding-left:30px; background:url(img/back.png) no-repeat center left; background-size:22px auto; font-size:18px; font-family: 'FrutigerCE'; font-weight:300; text-decoration:none!important; }
a.back.topleft { position:absolute; left:40px; margin-top:-40px; }
@media (max-width:991px) { a.back.topleft { display:none; } a.back { font-size:14px; } }

.btn.blue { background:#00385A; color:#fff; }

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

@media (min-width:992px) {
	/*#page { padding-top:97px; }*/
	header.site-header { position:fixed; top:0; left:0; right:0; z-index:100; -webkit-box-shadow: 1px 0 5px 2px rgba(0,0,0,0.2);
box-shadow: 1px 0 5px 2px rgba(0,0,0,0.2); }
	body.admin-bar header.site-header { top:32px; }
	
	.main-navigation ul ul li { border:1px solid #DADADE; border-bottom:none!important; }
	.main-navigation ul ul li:last-child { border-bottom:1px solid #DADADE!important; }
}

.site-branding {}
.site-branding .site-title { display:block; margin:0; }
.site-branding .site-title a { display:block; float:left; width:250px; height:97px; text-indent:-9000pt; background:url(img/logo.png) no-repeat center right; background:url(img/MEYER_1ROW.svg) no-repeat center right; background-size:216px auto; }

.main-navigation {
	display: block;
	float: right;
	padding:60px 50px 30px 0;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	margin-left:20px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color:#1E335C;
	font-size:20px;
	line-height:24px;
	font-family: 'FrutigerCE';
}

@media(max-width:1400px) {
	.main-navigation { padding-right:25px; }
	.main-navigation a { font-size:16px; }
}

.main-navigation ul ul {
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	padding-top:45px;
}

.main-navigation ul ul li {
	background:#fff;
	border-bottom:1px solid #DADADE;
	padding:10px 10px 10px 30px;
	margin:0;
}

/*.main-navigation ul ul li:last-child { border:none; }*/

.main-navigation ul ul li a {
	font-size:16px;
	line-height:20px;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
	display:none;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	color:#F99803;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}
@media all and (min-width:800px) { 
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

@media (max-width:1175px) {
	.site-branding .site-title a { float:none; width:216px; height:97px; margin:0 auto; }
	.main-navigation { float:none; padding:10px 10px 20px 10px; text-align:Center; }
	.main-navigation li { float:none; display:inline-block; margin:5px; }
	.main-navigation li a { text-align:left; }
}

@media all and (min-width:800px) { .main-navigation .menu-control { display:none!important; } }

@media all and (max-width:799px) {
	
	#primary-menu { position:relative; overflow:hidden; }
	
	.main-navigation { display: block; position: relative; top: 0; right: 0; z-index: 10; padding:10px 30px 20px!important; box-sizing:border-box; overflow-x: hidden; }
	.main-navigation li { float:none; display:block; width:100%; padding:0px; margin:0; }
	.main-navigation .sub-open li { position:static; }
	.main-navigation a, .main-navigation ul ul li a { font-size:16px; border-bottom:1px solid #DADADE; height:43px; line-height:23px; display:block; position:relative; text-align:left; padding-top:10px; padding-bottom:10px; }
	.main-navigation li.menu-item-has-children a.showsub { display:block; padding:0; position:absolute; right:0px; top:0px; width:40px; height:43px; background: url(img/arrow.png) no-repeat center center; background-size:9px auto; z-index:10; opacity:1; }
	.main-navigation .sub-open li.menu-item-has-children a.showsub { opacity:0; }
	.main-navigation li.menu-item-has-children a.showmain { display:block; padding:0; position:absolute; left:0px; top:0px; width:40px; height:43px; background: url(img/arrow.png) no-repeat center center; background-size:9px auto; z-index:10; -moz-transform: scaleX(-1); -o-transform: scaleX(-1);  -webkit-transform: scaleX(-1); transform: scaleX(-1); filter: FlipH; -ms-filter: "FlipH"; border:none; }
	
	.main-navigation li.title-row { padding-left:40px; height:43px; border-bottom:1px solid #DADADE; color:#1E335C; }
	.main-navigation li.title-row span { text-align:left;  font-size:16px; font-weight:400; display:block; line-height:43px; }
	
	.main-navigation ul li:hover a { color:#1E335C; }
		
	.main-navigation li ul {
		display:block;
		width:100%;
		height:100%;
		float: none;
		position: absolute;
		top: 0;
		left: 0;
		padding: 0px 0;
		z-index: 99999;
		background:#fff;
		left:100%;
		transition:left 300ms;
	}
	.main-navigation .noanim {}
	.main-navigation .noanim li ul { transition:none!important; }
	.main-navigation li.open ul { left:0%; }
	/*.main-navigation .current-menu-item ul, .main-navigation .current-menu-ancestor ul { display:block!important; }
	.main-navigation li.open ul { display:block!important; }*/
	
	.main-navigation ul ul a {
		width: 100%;
		padding-left: 50px;
	}
	.main-navigation ul ul a.parent-link { padding-left:10px; }
	
	.main-navigation ul ul li {
		padding: 0 0 0 0px;
		border-bottom:0;
	}
	
	.main-navigation ul ul ul { display:none!important; }
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {}

.menu-toggle {
	display: none;
}


.fas.fa-bars.modify {
	display: none;
}
@media (max-width: 799px){
	.menu-toggle {
		display: block;
		position: absolute;
		top: 20px;
		right: 30px;
		width: 28px;
		height: 30px;
		border: none;
		background: no-repeat;
		z-index: 100;
	}
	.site-branding .site-title a {
		float: none;
		width: auto;
		height: 70px;
		margin: 0 auto;
		background-size: auto 50px;
		margin-left: 30px;
		background-position: left;
	}
	.fas.fa-bars.modify {
		display: block;
		position: absolute;
		top: 20px;
		right: 31px;
		font-size: 30px;
		z-index: 2;
	}
	.hide-nav-bar-mobile{
		padding-top: 0px!important;
		padding-bottom: 0px!important;  
	}
	.hide-nav-bar-mobile  div {
		/*display: none;*/
		margin-top: -100%;
		transition: all 0.5s linear;
	}
	.show-nav-bar-mobile {
		transition-delay: 0.3s;
	}
	.show-nav-bar-mobile div {
		/*display: block;*/
		margin-top:0;
		transition: all 0.3s linear;
	}
}

.main-navigation ul {
	display: block;
}


.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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-size: 0.875rem;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

header.site-header { background: #fff; position: absolute; width: 100%; z-index: 100; }

@media (max-width: 799px){
	header.site-header { position: sticky; top: 0; }
}
@media (min-width: 800px){
	header.site-header { position: relative;}
}
/*#content.site-content { padding-top: 70px; }*/

.header-basic { height:450px; padding:0; background-size:cover; background-position:center center; }
.header-fp { height:750px; padding:0; background-size:cover; background-position:center center; }

@media (max-width:991px) {
	.header-basic, .header-fp { height:auto; }
	.center-container { padding:50px 0; }
}

.center-wrap { display:table; width:100%; height:100%; }
.header-basic .center-wrap, .header-fp .center-wrap { background:rgba(0,0,0,0.25); }
.center-container { display:table-cell; vertical-align:middle; }

.header-fp .logo-white { display:block; margin:0 auto 80px; width:321px; height:92px; background:url(img/logo_white.png) no-repeat center center; background-size:100% auto; }
@media (max-width:991px) { .header-fp .logo-white { display:none; } }
#scroll-down { display:block; margin:50px auto 0; width:66px; height:66px; background:url(img/scroll.png) no-repeat center center; background-size:100% auto; text-indent:-9000pt; }
@media (max-width:740px) { #scroll-down { margin-top:30px; width:38px; height:38px; } }

.text-container { padding:80px 0; padding-bottom: 50px; }
@media (max-width:991px) { .text-container { padding:20px 15px; } }
.gray { background:#F8F8F8; }
.small-pad { padding-top:20px; padding-bottom:20px; }
.mw1430 { max-width:1430px; margin-left:auto; margin-right:auto;  }

.full .col-xs-12 { padding-left:0; padding-right:0; }
.full .col-xs-12 img { width:100%; height:auto; }
.full .col-xs-12 .text { display:block; padding:10% 10% 10% 20%; }
@media (max-width:1400px) { .full .col-xs-12 .text { padding:10% 5% 5% 15%; }  }
@media (max-width:1200px) { .full .col-xs-12 .text { padding:5%; }  }
	
.link-boxes { margin-bottom: 100px;}
.link-boxes .col-xs-12 { padding-left:2px; padding-right:2px; padding-bottom:2px; }
.link-boxes a  { display:block; margin:0; position:relative; }
.link-boxes img { display:block; width:100%; height:auto; }
.link-boxes span.content { position:absolute; width:100%; height:100%; top:0; left:0; background:rgba(1,17,26,0.35); }
.link-boxes span.title { position:Absolute; display:block; bottom:35%; left:40px; color:#fff; font-size:30px; line-height:40px; padding-bottom:20px; max-width:250px; font-family: 'FrutigerCE'; }
.link-boxes span.title:after { content:" "; display:block; height:3px; width:220px; background:#fff; position:absolute; left:0; bottom:0;  } 
.link-boxes span.descr { position:Absolute; display:block; top:70%; left:40px; color:#fff; font-size:16px; line-height:24px; margin:0; max-width:350px; font-family: 'FrutigerCE'; }
@media (max-width:1280px) { 
	.link-boxes span.title { left:20px; bottom:40%; }
	.link-boxes span.descr { left:20px; font-size:16px; line-height:20px; top:65%; }
}
@media (max-width:991px) {
	.link-boxes span.title { font-size:20px; line-height:30px; }
	.link-boxes span.descr { font-size:16px; line-height:20px; }
}

.stories { margin:0 0 40px 0!important; }
.stories .col-xs-12 { padding-left:2px; padding-right:2px; padding-bottom:4px; }
.stories a  { display:block; margin:0; position:relative; }
.stories img { display:block; width:100%; height:auto; }
.stories span.content { position:absolute; width:100%; height:100%; top:0; left:0; background:rgba(1,17,26,0.35); }
.stories span.title { position:Absolute; display:block; bottom:50px; left:40px; color:#fff; font-size:35px; line-height:40px; padding-bottom:10px; }
.stories span.title:after { content:" "; display:block; height:3px; width:270px; background:#fff; position:absolute; left:0; bottom:0;  } 
@media (max-width:991px) {
	.stories span.title { font-size:20px; line-height:28px }
}

.job-list-title { margin:0 auto; padding:30px 0 30px 5%; }
.job-list { margin:0 auto 50px; border-top:5px solid #F99803; border-bottom:5px solid #F99803; }
.job-row { display:block; width:100%; padding:30px 0 30px 5%; border-bottom:1px solid #666; }
.job-row:hover { text-decoration:none; background:#F8F8F8; }
.job-row span, .job-list-title span { font-family: 'FrutigerCE'; color:#00385A; font-size:25px; line-height:30px; display:block; float:left; }
.job-row:last-child { border-bottom:none; }
.job-row:after, .job-list-title:after { content:" "; display:block; clear:both; }
.job-list-title span.title, .job-row span.title { width: 50%; }
.job-list-title span.title.open, .job-row span.title.open { width: 75%; }
.job-list-title span.date, .job-row span.date { width:25%; }
.job-list-title span.location, .job-row span.location { width:25%; }
@media (max-width:991px) {
	.job-row, .job-list-title { padding:15px 0 15px 5px; }
	.job-row span, .job-list-title span { font-size:16px; line-height:24px }
	.job-list-title span.title, .job-row span.title { width:100%; }
	.job-list-title span.date, .job-row span.date { display:none; }
	.job-list-title span.location, .job-row span.location { display:none; }
}

.image-section { display:block; width:100%; background-size:cover; background-position:center center; }
.image-section img.img-responsive{
border:0; width:100%;}
@media (max-width:544px) {.image-section img.img-responsive.hidden-xs-down{display:none;}}
@media (min-width:544px) {.image-section img.img-responsive.hidden-xs-up{display:none;}}


@media (max-width:767px) {.mt-minus{margin-top:-17%;}}
.image-section.no-content { min-height:380px; }
@media (max-width:991px) { .image-section.no-content { min-height:190px; } }
.image-section .overlay { width:100%; height:100%; background:rgba(0,0,0,0.57); }
	
.image-section.nobg { min-height:0; }
.image-section img { display:block; float:left; width:50%; height:auto; border:2px solid #fff; }
.image-section.nobg:after { display:block; content:" "; clear:both; }

.image-section.story img:nth-child(1) { width:67.412%; }
.image-section.story img:nth-child(2) { width:32.578%; }

footer.site-footer {
	padding:100px 0 50px;
	background:#00385A;
	color:#E5EBEE;
	overflow:hidden;
}

a.some { display:inline-block; background-position:center center; background-size:auto 100%; height:34px; background-repeat:no-repeat; margin-right:20px; text-indent:-9000pt; }
a.facebook { background-image:url(img/facebook.png); width:20px; }
a.twitter { background-image:url(img/twitter.png); width:32px; }
a.linkedin { background-image:url(img/linkedin.png); width:36px; }
a.insta { background-image:url(img/insta.png); width:36px; }
@media (max-width:991px) { a.some { height:17px; margin: 0 5px; width:20px; } }

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66667%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28571%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11111%;
}

.gallery-caption {
	display: block;
}
.current-menu-item > a, .open > a {
	color: #F99803;
}

.addthis_inline_share_toolbox  { 
    max-width: 1080px;
    margin: 0px auto; 
}
.main-desc ul {
	margin: 40px auto;
	max-width: 1080px;
}
.main-desc ul li {
	text-align: left;
}

.wp-block-column.columns2 p , .wp-block-column.columns2 li  {
	text-align:left;
}

.wp-block-column.columns2 > p {
    margin-bottom: 10px;
}

.wp-block-columns.has-2-columns {
    padding-left: 100px;
    padding-right: 100px;
}

@media(max-width:1200px){
	.wp-block-columns.has-2-columns {
		padding-left: 70px;
		padding-right: 70px;
	}		
}

@media(max-width:992px){
	.wp-block-columns.has-2-columns {
		padding-left: 70px;
		padding-right: 70px;
	}		
}

@media(max-width:992px){
	.wp-block-columns.has-2-columns {
		padding-left: 70px;
		padding-right: 70px;
	}		
}

@media(max-width:782px){
	.wp-block-column:not(:first-child){
		margin-left: 0;
		
	}
	.wp-block-column.columns2 {
		flex-basis: 100%;
		margin-left: 30px;
	}
}

@media(max-width:550px){
	.wp-block-columns.has-2-columns {
		padding-left: 35px;
		padding-right: 35px;
	}		
}

@media(max-width:500px){
	.wp-block-columns.has-2-columns {
		padding-left: 15px;
		padding-right: 15px;
	}	
	.wp-block-column.columns2 {
		flex-basis: 100%;
		margin-left: 15px;
	}
}

@media(max-width:400px){
	.wp-block-columns.has-2-columns {
		padding-left: 5px;
		padding-right: 0px;
	}
}

.f-page-ul {
	font-size: 18px;
    margin-left: 0;
	color: #00385A;
}

.f-page-ul li {

	font-family: 'FrutigerCE';
    margin-bottom: 10px;
	font-weight: 300;
}

.heder-koulutus-merkki{
	max-height: 100%;
	height: 250px;
	position: absolute;
	top: 50px;
	right: 0;
}

@media (max-width: 991px) {
	.heder-koulutus-merkki{
		top: 0px;
	}	
}

@media (min-width: 800px) {
	.wpml-ls-item + .wpml-ls-item::before {
		background: #1E335C none repeat scroll 0 0;
		content: "";
		height: 16px;
		left: -11px;
		position: absolute;
		top: 4px;
		width: 2px;
	}
}

.wpml-ls-current-language a {
	font-weight: 600;
}

.custom-lang-menu {
	position: absolute;
    top: 15px;
    right: 50px;
}

.custom-lang-menu li a {
    font-size: 16px;
}

@media(max-width:1175px){
	.custom-lang-menu {
		position: relative;
		top: 0;
		right: 0;		
	}
	.custom-lang-menu ul {
		margin-top: 20px;
	}
	.custom-lang-menu li a {
		text-align: center;
		border-bottom: 0;
	}
	.wpml-ls-item + .wpml-ls-item::before {
		left: -6px;
	}
}


.heder-small-image-custom-wrapper {
	max-width: 1300px;
	margin: auto;
}


.heder-small-image-custom {
	max-height: 250px;
	margin-left: 150px;
}

@media(max-width:1175px){
	.heder-small-image-custom {
		margin-left: 100px;
	}
}

@media(max-width:1000px){
	.heder-small-image-custom {
		max-width: 250px;
		margin-left: 100px;
	}
}

@media(max-width:700px){
	.heder-small-image-custom {
		max-width: 250px;
		margin-left: 25px;
	}
}

@media(max-width:550px){
	.heder-small-image-custom {
		max-width: 160px;
		margin-left: 25px;
	}
}

@media(max-width:991px){
	.customFbFeedImg {
		text-align: center;
		margin-top: 50px;
	}
	
	.customFbFeedImg img{
		width: 100%;
	}
}

/* Lehi sivun tyylit */



.page-template-template_lehi_page .paa-teksti-alue {
	padding-bottom: 0;
}


.page-template-template_lehi_page .text-container {
	padding-top: 20px;
}

.page-template-template_lehi_page .kamppis-nosto-wrapper {
	height: 300px;
	padding: 0;
	background-size: cover;
	background-position: center center;
	
}

.page-template-template_lehi_page .kamppis-nosto-inner {
	background-color: rgba(0,0,0,0.3);
}

.page-template-template_lehi_page .kamppis-nosto-wrapper .kamppis-nosto-inner h2 {
	color: #fff;
	text-align: center;
	font-size: 50px;
	font-weight: 800;
	line-height: 1;
}

.page-template-template_lehi_page .kamppis-nosto-wrapper .kamppis-nosto-inner p {
	color: #fff;
	text-align: center;
	font-size: 35px;
	font-weight: 500;
}

@media (max-width: 767px) {
	.page-template-template_lehi_page .kamppis-nosto-wrapper .kamppis-nosto-inner h2 {
		font-size: 35px;
	}
	.page-template-template_lehi_page .kamppis-nosto-wrapper .kamppis-nosto-inner p {
		font-size: 20px;
	}
}

.page-template-template_lehi_page .testipalkki-wrapper {
	height: 300px;
	padding: 0;
	background-size: cover;
	background-position: center center;
	margin-bottom: 50px;
}

.page-template-template_lehi_page .testipalkki-inner {
	background-color: rgba(0,0,0,0.3);
}

.page-template-template_lehi_page .testipalkki-wrapper .testipalkki-inner h2 {
	color: #fff;
	text-align: center;
	font-size: 50px;
	font-weight: 800;
	line-height: 1;
}

.page-template-template_lehi_page .testipalkki-wrapper .testipalkki-inner p {
	color: #fff;
	text-align: center;
	font-size: 35px;
	font-weight: 500;
}

@media (max-width: 767px) {
	.page-template-template_lehi_page .testipalkki-wrapper .testipalkki h2 {
		font-size: 35px;
	}
	.page-template-template_lehi_page .testipalkki-wrapper .testipalkki-inner p {
		font-size: 20px;
	}
}

.page-template-template_lehi_page .haku-alue-wrapper {
	padding-top: 0;
}

.page-template-template_lehi_page .haku-alue-wrapper h2 {
	margin-top: 0;
}

.page-template-template_lehi_page .haku-alue-wrapper p {
	margin-top: 0;
}

@media (max-width: 860px) {
	.page-template-template_lehi_page .haku-alue-wrapper span.btn-desc {
		display: block;
		margin: 20px 0;
	}
}

.page-template-template_lehi_page .sahkoposti-muistutus-wrapper {
	max-width: 400px;
	margin: auto;
	-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
	box-shadow: 0 5px 15px rgba(0,0,0,.5);
	border-radius: 6px;
	margin-top: 65px;
	background-color: #fff;
}

.page-template-template_lehi_page .sahkoposti-muistutus-wrapper .s-posti-otsikko {
	padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.page-template-template_lehi_page .sahkoposti-muistutus-wrapper .s-posti-otsikko h4 {
	margin: 0;
}
.page-template-template_lehi_page .sahkoposti-muistutus-wrapper .s-posti-sisalto {
	padding: 0 10px;
}

.page-template-template_lehi_page .sahkoposti-muistutus-wrapper .s-posti-sisalto .your-email input{
    width: 100%;
    font-size: 15px;
    margin: 15px 0;
}

.page-template-template_lehi_page .sahkoposti-muistutus-wrapper .s-posti-sisalto .your-consent .wpcf7-list-item {
	margin: 0;
	font-size: 14px;
}

.page-template-template_lehi_page .sahkoposti-muistutus-wrapper .s-posti-sisalto .wpcf7-form-control.wpcf7-submit {
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px;
	margin: 10px 0;
	margin-left: 5px;
	line-height: 1.42857143;
	color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.page-template-template_lehi_page .sahkoposti-muistutus-outer-wrapper {
	overflow-x: hidden;
	overflow-y: auto;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	outline: 0;
    background-color: rgba(0,0,0,.5);
}

.page-template-template_lehi_page .sahkoposti-muistutus-outer-wrapper.visible-custom {
	display: block;
}

.page-template-template_lehi_page .soveltuvuustesti-wrapper {
	padding-top: 0;
	padding-bottom: 0;
}

