/* Defaults */

/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../webfonts/poppins-v22-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/poppins-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/poppins-v22-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/poppins-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
	--ci_color: #14317D;
}

.page-id-18 {
	--ci_color: #262630;
}

* {
	font-family: 'Poppins', sans-serif;
}

*:focus {
	outline: none;
}

html {
	scroll-behavior: smooth;
}

main {
	min-height: calc(100vh - 509px);
}

h2 {
	font-weight: 600;
}

/* Header */

header {
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
	position: relative;
	z-index: 4;
}

header .header_top {
	padding: 10px 0;
	background-color: var(--ci_color);
	color: #ffffff;
	text-align: right;
}

header .header_top a {
	color: #ffffff;
	display: inline-block;
	margin-left: 10px;
	transition: all 0.3s;
	font-size: 14px;
}

header .header_top a:hover {
	opacity: 0.8;
	text-decoration: none;
}

header .header_bottom {
	padding: 25px 0;
}

header .header_bottom .logo img {
	width: 225px;
	max-width: 100%;
}

.page-id-18 header .header_bottom .logo img {
	filter: grayscale(1);
}

header .header_bottom .navigation ul {
	margin: 0;
	padding: 0;
	text-align: right;
}

header .header_bottom .navigation ul li {
	list-style: none;
	display: inline-block;
	margin-left: 15px;
}

header .header_bottom .navigation ul li a {
	color: var(--ci_color);
	font-weight: 300;
	font-size: 18px;
	transition: all 0.3s;
}

header .header_bottom .navigation ul li.current_page_item a {
	font-weight: 700;
}

header .header_bottom .navigation ul li a:hover {
	opacity: 0.8;
	text-decoration: none;
}

.mobile_nav_open {
	font-size: 30px;
	position: absolute;
	right: 15px;
	top: calc(50% - 15px);
	line-height: 1;
	color: var(--ci_color);
	cursor: pointer;
	display: none;
}

.mobile_nav_headline {
	display: none;
	text-transform: uppercase;
	cursor: pointer;
	padding: 10px;
	background-color: #d9d9d9;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	color: var(--ci_color);
}

.mobile_nav_headline i {
	font-size: 25px;
}

/* Button */

a.button,
section.form .formfield input[type="submit"] {
	display: inline-block;
	color: #ffffff;
	background-color: var(--ci_color);
	padding: 10px 30px;
	transition: all 0.3s;
	width: auto;
}

a.button.button_light {
	background-color: #ffffff;
	color: var(--ci_color);
}

a.button:hover,
section.form .formfield input[type="submit"]:hover {
	opacity: 0.8;
	text-decoration: none;
}

/* Services */

section.services .service_single {
	text-align: center;
	padding: 0 30px;
	margin-bottom: 50px;
	cursor: pointer;
}

section.services .service_single img {
	height: 150px;
	max-width: 100%;
	object-fit: contain;
	display: block;
	margin: 0 auto 15px auto;
}

section.services .service_single strong.title {
	display: block;
	font-weight: 600;
	color: var(--ci_color);
	margin-bottom: 15px;
	line-height: 1.1;
	font-size: 24px;
}

section.services .service_single span.description {
	display: block;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.4;
	height: 115px;
	overflow: hidden;
	position: relative;
}

section.services .service_single.open span.description {
	height: auto;
}

section.services .service_single span.description::after {
	width: 100%;
	height: 100px;
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 100%);
}

section.services .service_single.open span.description::after {
	display: none;
}

/* Banner */

section.banner {
	position: relative;
	padding: 75px 0;
}

section.banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,0.75) 100%);
	z-index: 2;
	opacity: 0.9;
}

section.banner img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

section.banner .banner_content {
	position: relative;
	z-index: 3;
	color: var(--ci_color);
}

section.banner .banner_content img {
	position: initial;
	width: 250px;
	display: block;
	margin-left: auto;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: right;
}

.page-id-18 section.banner .banner_content img {
	filter: grayscale(1);
}

/* Teaser */

section.banner + section.teaser {
	margin-top: -50px;
	position: relative;
	z-index: 3;
}

section.teaser .teaser_single {
	text-align: center;
	margin-bottom: 30px;
}

section.teaser .teaser_single .icon {
	display: block;
	margin: auto;
	background-color: var(--ci_color);
	padding: 20px;
	width: 105px;
	height: 105px;
	object-fit: contain;
	margin-bottom: 15px;
}

section.teaser .teaser_single .description {
	color: var(--ci_color);
	line-height: 1.2;
}

section.teaser .teaser_single .description p:first-child {
	font-size: 24px;
}

/* Section */

section.section {
	position: relative;
	background-color: var(--ci_color);
	color: #ffffff;
}

section.section.weiss {
	background-color: #ffffff;
	color: var(--ci_color);
}

section.section .text {
	padding: 75px 15px;
}

section.section img {
	width: calc(100% + (100vw - 1155px) / 2 - 30px);
	position: absolute;
	top: 0;
	left: 30px;
	height: 100%;
	object-fit: cover;
}

section.section p a {
	color: #ffffff;
}

section.section.weiss p a {
	color: var(--ci_color);
}

/* Headline */

section .headline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	position: relative;
}

section .headline::after {
	width: 9999px;
	height: 1px;
	content: '';
	position: absolute;
	top: calc(50% - 0.5px);
	left: 0;
	background-color: var(--ci_color);
}

section .headline .text,
section .headline div.button {
	background-color: #ffffff;
	position: relative;
	z-index: 1;
} 

section .headline .text {
	padding-right: 15px;
}

section .headline div.button {
	padding-left: 15px;
}

section .headline h2,
section .headline span {
	line-height: 1;
	color: var(--ci_color);
	background-color: #ffffff;
	position: relative;
}

/* Jobs */

section.jobs div.button {
	text-align: right;
	position: relative;
}

section.jobs .main {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 10px 0;
	margin-top: 20px;
}

section.jobs .main img.image {
	width: calc(50vw - 15px);
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	object-fit: cover;
}

section.jobs .main .benefits {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

section.jobs .main .benefits .benefit_single {
	display: flex;
	margin: 20px 0;
	align-items: center;
	position: relative;
	font-size: 24px;
	line-height: 1.2;
	color: var(--ci_color);
}

section.jobs .main .benefits .benefit_single::before {
	content: '';
	width: 9999px;
	height: 100%;
	top: 0;
	right: 100%;
	position: absolute;
	background-color: var(--ci_color);
}

section.jobs .main .benefits .benefit_single img {
	width: 75px;
	height: 75px;
	object-fit: contain;
	padding: 15px;
	background-color: var(--ci_color);
	margin-right: 15px;
}

section.jobs .slogan {
	padding: 25px 0;
	color: #ffffff;
	background-color: var(--ci_color);
	text-align: center;
	font-size: 24px;
}

/* Jobs */

section.job_tiles .job_tile_single {
	margin-bottom: 30px;
}

section.job_tiles .job_tile_single .job_tile_single_inner {
	border: 1px solid var(--ci_color);
	height: 100%;
}

section.job_tiles .job_tile_single .job_tile_single_inner img {
	height: 275px;
	width: 100%;	
	object-fit: cover;
}

section.job_tiles .job_tile_single .job_tile_single_text {
	padding: 20px;
	height: calc(100% - 275px);
	background-color: #f8f7f7;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	flex-direction: column;
}

section.job_tiles .job_tile_single .job_tile_single_text strong {
	color: var(--ci_color);
	font-size: 22px;
	display: block;
	margin-bottom: 15px;
	line-height: 1.1;
}

section.job_tiles .job_tile_single .job_tile_single_text ul {
	padding-left: 15px;
	margin-bottom: 15px;
}

section.job_tiles .job_tile_single .job_tile_single_text ul li::marker {
	background-color: var(--ci_color);
	color: var(--ci_color);
}

section.job_tiles .job_tile_single .job_tile_single_text a.button {
	width: 185px;
	text-align: center;
}

/* References */

section.references .text {
	color: var(--ci_color);
	margin-bottom: 15px;
}

section.references img {
	width: 100%;
	object-fit: cover;
	height: 300px;
	margin-bottom: 30px;
	filter: grayscale(1);
	transition: all 0.3s;
}

section.references img:hover {
	filter: grayscale(0);
}

section.references .reference_single {
	position: relative;
}

section.references .reference_single a {
	display: inline-block;
	position: absolute;
	right: 30px;
	bottom: 45px;
	color: #ffffff;
	line-height: 1;
	font-size: 30px;
}

/* Text */

section.text h2 {
	font-weight: initial;
}

section.text a {
	color: var(--ci_color);
}

/* Form */

section.form .formfield label {
	color: var(--ci_color);
	margin-bottom: 0;
}

section.form .formfield input,
section.form .formfield textarea,
section.form .formfield select {
	width: 100%;
	background-color: var(--ci_color);
	color: #ffffff;
	padding: 10px;
	border: none;
	border-radius: 0;
	height: 44.6px;
	appearance: none;
}

section.form .formfield select {
	background-image: url('/wp-content/themes/pm/assets/img/chevron-down-solid.svg');
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: calc(100% - 15px) center;
	cursor: pointer;
}

section.form .formfield textarea {
	height: 200px;
}

section.form .formfield input[type="checkbox"] {
	width: 15px;
	height: 15px;
	margin-right: 5px;
	appearance: checkbox;
}

section.form .formfield input[type="checkbox"] + span {
	color: initial;
}

section.form .formwrapper p {
	margin: 0;
}

section.form .formfield {
	margin-bottom: 10px;
}

section.form .formfield:last-child {
	margin-bottom: 0;
}

.wpcf7-list-item {
	margin-left: 0;
}

section.form .text {
	background-color: var(--ci_color);
	color: #ffffff;
	padding: 75px 75px 75px 15px;
	position: relative;
	display: flex;
	align-items: center;
}

section.form .text::before {
	content: '';
	width: 9999px;
	height: 100%;
	top: 0;
	right: 100%;
	position: absolute;
	background-color: var(--ci_color);	
}

section.form p a {
	color: #ffffff;
}

/* Footer */

footer .footer_top {
	background-color: #d9d9d9;
	color: var(--ci_color);
	padding: 50px 0;
}

footer .footer_top strong {
	display: block;
	text-transform: uppercase;
	margin-bottom: 20px;
}

footer .footer_top img {
	margin-bottom: 20px;
	max-width: 100%;
	width: 225px;
}

.page-id-18 footer .footer_top img {
	filter: grayscale(1);
}

footer .footer_top a {
	color: var(--ci_color);
	transition: all 0.3s;
}

footer .footer_top a:hover {
	opacity: 0.8;
	text-decoration: none;
}

footer .footer_top ul {
	margin: 0;
	padding: 0;
}

footer .footer_top ul li {
	list-style: none;
	margin-bottom: 5px;
}

footer .footer_bottom {
	background-color: var(--ci_color);
	color: #ffffff;
	padding: 10px 0;
	font-size: 14px;
}

footer .footer_bottom a {
	color: #ffffff;
	transition: all 0.3s;
}

footer .footer_bottom a:hover {
	opacity: 0.8;
	text-decoration: none;
}

footer .footer_bottom .address {
	text-align: right;
}

/* Responsive */

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

	header .header_bottom .navigation {
		position: fixed;
		top: 0;
		right: -100%;
		height: 100vh;
		background-color: #fff;
		width: 500px;
		max-width: 70vw;
		padding: 0;
		z-index: 999;
		transition: all 0.3s;
		box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.1);
	}

	header .header_bottom .navigation.open {
		right: 0;
	}	

	header .header_bottom .navigation ul {
		text-align: left;
	}

	header .header_bottom .navigation ul li {
		display: block;
		margin: 0;
	}

	header .header_bottom .navigation ul li a {
		display: block;
		padding: 10px;
		border-bottom: 1px solid rgba(217, 217, 217, 0.6);
	}

	.mobile_nav_headline {
		display: flex;
	}

	header .header_bottom .logo {
		flex: 0 0 100%;
		max-width: 100%;		
	}

	.mobile_nav_open {
		display: block;
	}

	section.section img {
		width: calc(100% + (100vw - 975px) / 2 - 30px);
	}

}

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

	section.form .text {
		margin-bottom: 50px;
		padding: 50px 30px 50px 15px;
		margin-right: 15px;		
	}

	footer .footer_top strong {
		margin-top: 20px;
		margin-bottom: 5px;
	}

	section.section .text {
		padding-bottom: 30px;
	}

	section.section img {
		position: initial;
		width: 100%;
		padding-bottom: 75px;
		max-height: 325px;
	}

	section.banner .banner_content img {
		margin-left: initial;
		margin-top: 20px;
		max-height: 150px;
		object-position: left;
	}

}

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

	header .header_top {
		text-align: left;
	}

	header .header_top a {
		margin-left: 0;
		margin-right: 10px;
	}

	section .headline {
		flex-wrap: wrap;
	}

	section .headline::after {
		display: none;
	}

	section .headline .text {
		width: 100%;
		margin-bottom: 15px;
	}

	section .headline div.button {
		width: 100%;
		text-align: left;
		padding-left: 0;
	}

	section.jobs .main {
		display: flex;
		flex-wrap: wrap;
	}

	section.jobs .main .container {
		order: 2;
	}

	section.jobs .main img.image {
		order: 1;
		width: 100%;
		position: initial;
		max-height: 250px;
		object-fit: cover;
	}

	footer .footer_bottom .address {
		text-align: left;
		margin-top: 5px;
	}

}

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

	section.section .text {
		padding: 50px 15px 30px 15px;
	}

	section.section img {
		padding-bottom: 50px;
	}

	section.form .text {
		margin-right: 0;
		padding-right: 15px;
	}

	section.jobs .slogan {
		font-size: 20px;
	}

}