/*
Theme Name: Burmann
*/
/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

/* open-sans-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v44-latin-600.woff2') format('woff2');
}

:root {
	--blue: #004E9E;
	--text: #000;
	--gray: #E6E6E6;
	--white: #fff;
	--fontsize: 18px;
	--lineheight: 1.5em;
	--font-normal: 300;
	--font-bold: 600;
	--content-width: 1300px;
	--bg-light: #fff;
	--header-height: 160px;
	--shadow: rgba(0, 0, 0, .2);
	--shadow-dark: rgba(0, 0, 0, .5);
	--border-radius: 5px;
	--boxpadding: 25px;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	word-wrap: break-word;
	word-break: break-word;
}
body {
	background-color: #fff;
	overflow: visible;
	padding: 0;
	margin: 0;
}
body, button, input, select, textarea, td, th, li {
	color: var(--text);
	font-family: 'Open Sans', sans-serif;
	font-size: var(--fontsize);
	line-height: var(--lineheight);
	font-weight: var(--font-normal);
}
input, textarea, select {
	border: 0 none;
	background-color: #eceeee;
	padding: 4px;
}
input[type="submit"] {
	border: 1px solid var(--text);
}
td, th {
	font-size: inherit;
	padding: 0;
}
blockquote,q {
	quotes: none;
	margin-left: 20px;
}
blockquote:before,blockquote:after,q:before,q:after {
	content: '';
}
b, strong {
	font-weight: 700 !important;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display:block;
}
body a, body a:focus, body a:hover {
	color: var(--text);
}
body a:hover, body a:active {
	color: var(--text);
	text-decoration: underline;
}
hr {
	position: relative;
	display: block;
	width: 100%;
	height: 1px;
	background-color: #000;
	border-bottom: 1px solid #888;
	margin: 16px 0;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: var(--font-normal);
	margin: 0 0 0.67em 0;
	color: var(--text);
	text-transform: uppercase;
}
.pagebody h1 {font-size: 40px;}
.pagebody h2 {font-size: 34px;}
.pagebody h3 {font-size: 30px;}
.pagebody h4 {font-size: 24px;}
.pagebody h5 {font-size: 20px;}
.pagebody h6 {font-size: 18px;}
h4, h5, h6 {
	font-weight: var(--font-normal);
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
	margin-top: 0;
}
img {
	max-width: 100%;
	height: auto;
}
.clear {
	clear: both;
}
.nomargin {
	margin: 0 !important;
}

/* WP classes */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 0.4em 1.6em 1.6em 0;
}
blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 0.4em 0 1.6em 1.6em;
}
blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}
.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.2em;
}
.textleft {
	text-align: left;
}
.textcenter {
	text-align: center;
}
.textright {
	text-align: right;
}

/* Header */
.pagehead {
	position: fixed;
	width: 100%;
	height: var(--header-height);
	margin: 0;
	font-size: 0;
	line-height: 0;
	z-index: 100;
	background-color: var(--bg-light);

	.shadowbar {
		position:absolute;
    bottom: 0;
		left:0;
		right:0;
    height: 8px;
		background-color: var(--bg-light);
		box-shadow: 0 8px 8px var(--shadow);
		z-index: -1;
	}
	.bodywrap {
		width: 100%;
		height: 100%;
		display: grid;
		grid-template-columns: 360px 1fr;

		.pagelogo {
			position: relative;
			width: 100%;
			height: 100%;
			padding: 30px 60px 30px 0;
			a {
				display: block;
				width: 100%;
				height: 100%;
				background: url(images/burmann_logo.svg) no-repeat left center transparent;
				background-size: contain;
			}
		}

		/* Menu */
		.menuwrapper {
			width: 100%;
			height: 100%;

			> .menu {
				position: relative;
				width: 100%;
				height: 100%;
			}
			#mainmenu {
				height: 100%;
				width: 100%;
				display: flex;
				gap: 20px;
				justify-content: center;
				align-items: center;
				list-style-type: none;
				margin: 0;
				padding: 0;
				ul {
					list-style-type: none;
					text-align: left;
					padding: 20px 20px;
					background-color: var(--bg-light);
				}
				a {
					text-decoration: none;
					margin: 0;
					padding: 0;
					display: block;
					font-weight: var(--font-bold);
				}
				> li {
					flex: 1;
					display: block;
					height: 100%;
					> a {
						display: flex;
						align-items: center;
						justify-content: center;
						height: 100%;
						font-size: 25px;
						line-height: 1.3;
					}
					> ul {
						position: absolute;
						top: 100%;
						width: auto;
						max-width: 260px;
						display: none;
						margin: 0;
						padding: 0;
						background-color: var(--bg-light);
						border: 2px solid var(--gray);
						&::before {
							position:absolute;
					    top: -10px;
							left:0;
							right:0;
							content: '';
					    height: 8px;
							background-color: var(--bg-light);
							box-shadow: 0 8px 8px var(--shadow);
						}
						li {
							display: block;
							a {
								font-size: 20px;
								line-height: 1.3;
								display: block;
								padding: 15px 30px;
							}
							&:first-child a {
								padding-top: 30px;
							}
							&:last-child a {
								padding-bottom: 30px;
							}
						}
					}
					&:hover, &:focus-within {
						ul {
							display: block;
						}
					}
				}
				li:hover, li:focus, .current-menu-ancestor, .current-menu-item {
					> a {
						color: var(--blue);
					}
				}
			}
		}
	}
}

/* Footer */
.footer {
	margin-bottom: 50px;
	border-top: 150px solid var(--gray);
	text-decoration: none;
	.bodywrap {
		position: relative;
	}
	p {
		margin-bottom: 1em;
	}
	.grayblock {
		background-color: var(--gray);
		padding: 30px 0;
	}
	.spacer {
		height: 160px;
	}
	.footer_contact_logo {
		padding-top: 100px;
		img {
			width: 100% !important;
			height: auto;
		}
		.row {
			> div {
				float: none;
				display: inline-block;
				vertical-align: middle;
			}
			font-size: 22px;
			& > div:first-child .fsn-column-inner {
				padding-right: 60px;
			}
		}
	}
	.footer_contact_filler {
		padding-bottom: 100px;
		table {
			width: 100%;
			img {
				display: block;
				width: 30px;
				height: 30px;
				margin: 0 auto;
			}
			tr {
				td {
					vertical-align: middle;
					padding-bottom: 6px;
					&:first-child {
						width: 40px;
					}
					&:last-child {
						padding-left: 10px;
					}
				}
			}
		}
	}
	.footer_social_block {
		.row {
			> div {
				float: none;
				display: inline-block;
				vertical-align: middle;
			}
			& > div:last-child {
				text-align: right;
			}
		}
		.footer_implinks {
			a {
				text-decoration: underline;
				margin-right: 40px;
				&:last-child {
					margin-right: 0;
				}
			}
		}
		.footer_sociallinks {
			a {
				display: inline-block;
				width: 90px;
				height: 90px;
				margin-right: 20px;
				img {
					width: 100%;
					height: auto;
				}
				&:last-child {
					margin-right: 0;
				}
			}
		}
	}
	.menu {
		padding: 50px 0;
		text-decoration: underline;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		grid-gap: 50px;
		list-style-type: none;
		> li > a {
			font-weight: var(--font-bold);
		}
		a {
			display: block;
			margin-bottom: 20px;
		}
		.sub-menu {
			display: block;
			list-style-type: none;
		}
	}
}

/* Content */
.bodywrap, .full-width-row {
	position: relative;
	width: auto;
	height: auto;
	padding: 0;
	max-width: var(--content-width);
	margin: 0 auto;
	box-sizing: border-box;
}
.fsn-row.dark {
	background-color: var(--blue);
	color: #fff;
}
.content > .full-width-container, .content > .full-width-container > div, .content > .full-width-container > div > div, .component > .full-width-container, .component > .full-width-container > div, .component > .full-width-container > div > div {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}
.fsn-row + .fsn-row:not(.dark) {
	padding-top: 160px;
}
.fsn-row + .fsn-row.dark {
	margin-top: 160px;
}
.pagebody {
	position: relative;
	padding: var(--header-height) 0 100px 0;
	img {
		height: auto;
		max-width: 100%;
	}
	p {
		margin-bottom: 1em;
	}
	h1, h2, h3, h4 {
		color: var(--blue);
		line-height: 1.3em;
		font-weight: var(--font-normal);
	}
	h1 {
		font-size: 60px;
		font-weight: var(--font-bold);
	}
	h2 {
		font-size: 45px;
	}
	h3 {
		font-size: 40px;
	}
	h4 {
		font-size: 30px;
	}

	.fsn-text {
		a {
			display: flex;
			text-decoration: underline;
			font-weight: var(--font-bold);
			&:hover {
				color: var(--blue);
			}
			&::after {
				content: '';
				display: inline-block;
				width: 20px;
				height: 20px;
				background: url(images/icon_arrow_small_gray.svg) center transparent no-repeat;
				background-size: contain;
				justify-self: center;
				align-self: center;
				margin-left: 5px;
			}
		}
		ul {
			padding-left: 0;
			margin-bottom: 1em;
		}
		li {
			display: flex;
			padding-bottom: .5em;
			&::before {
				content: '';
				display: inline-block;
				width: 20px;
				height: 20px;
				background: url(images/icon_check.svg) center transparent no-repeat;
				background-size: contain;
				justify-self: center;
				align-self: start;
				margin-right: 5px;
				margin-top: 3px;
			}
		}
		& > *:last-child {
			margin-bottom: 0;
		}
	}
}
.pagebody.hidden {
	display: none;
}
.searchresultsbox > div {
	padding-top: 80px;
}
.searchresults {
	list-style-type: disc;
	margin-left: 1.5em;
}
.dataimagetext {
	position: relative;
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-areas: "img box";
	grid-gap: 0;
	min-height: 308px;
}

.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.imgslider {
	position: relative;
	display: block;
	width: 100%;
	height: calc(600px + 24px);
	.slideblock {
		position: relative;
		height: 100%;
		width: 100%;
		overflow: hidden;
		img {
			height: 600px;
		}
	}
}
.img {
	img {
		width: 100%;
		object-fit: cover;
	}
	&+ .info {
		padding: 7px 0;
		font-size: 10px;
		line-height: 10px;
		color: #666B6E;
		width: auto;
		margin: 0 auto;
	}
}

.sideinfobox {
	position: fixed;
	top: 30vh;
	right: 0;
	width: 0;
	display: none;
	&:hover {
		cursor: pointer;
	}
	.icons {
		position: absolute;
		top: 0;
		right: 0;
		padding: 15px;
		background-color: var(--bg-light);
		border: 2px solid var(--gray);
		border-width: 2px 0 2px 2px;
		border-radius: var(--border-radius) 0 0 var(--border-radius);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		div {
			width: 30px;
			height: 30px;
			background-position: center;
			background-size: contain;
			background-repeat: no-repeat;
			margin-bottom: 15px;
			&.phone {
				background-image: url(images/icon_phone.svg);
			}
			&.email {
				background-image: url(images/icon_mail.svg);
			}
			&:last-child {
				margin-bottom: 0;
			}
		}
	}
	.content {
		position: absolute;
		top: 0;
		right: -400px;
		width: 400px;
		max-height: calc(100vh - 30vh - 20px);
		overflow: scroll;
		padding: 60px;
		font-size: 22px;
		line-height: 2em;
		background-color: var(--bg-light);
		border: 2px solid var(--gray);
		border-width: 2px 0 2px 2px;
		border-radius: var(--border-radius) 0 0 var(--border-radius);
		opacity: 0;
		transition: right 0.3s ease, opacity 0.3s ease;
		&.open {
			right: 0;
			opacity: 1;
		}
		h1, strong {
			color: var(--blue);
		}
		h1 {
			font-size: 32px;
			line-height: 2.5em;
			margin-bottom: -.1em;
			&:first-of-type {
				margin-top: -.5em;
			}
		}
		a {
			text-decoration: underline;
			color: var(--text);
		}
	}
}

.button {
	display: inline-block;
	color: var(--white);
	background-color: var(--blue);
	font-size: 30px;
	line-height: 90px;
	font-weight: var(--font-bold);
	padding: 0 45px;
	border-radius: var(--border-radius);
	&:hover {
		color: var(--white) !important;
		background-color: #71b1ff !important;
		text-decoration: none !important;
		cursor: pointer !important;
	}
}
.bluebg {
	color: var(--white);
	background-color: var(--blue);
	.button {
		color: var(--blue);
		background-color: var(--bg-light);
	}
}

.introtext {
	h1 {
		font-size: 60px;
		line-height: 1.3em;
		font-weight: var(--font-bold);
		text-transform: none;
	}
	h2 {
		font-size: 35px;
		line-height: 1.3em;
		color: var(--text);
		font-weight: var(--font-normal);
		text-transform: none;
	}
}

.servicerow, .projectsrow {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto auto auto 1fr auto;
	grid-column-gap: 50px;
	&.rows-1 {
		grid-template-columns: 1fr;
	}
	&.rows-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	a.service, a.project {
		display: grid;
		grid-row: span 6;
		grid-template-rows: subgrid;
		grid-gap: 0;
		text-decoration: none !important;
		border-radius: var(--border-radius);
		background-color: var(--blue);
		color: var(--white) !important;
		margin-bottom: 50px;
		&:hover {
			text-decoration: none;
			box-shadow: 0 0 8px 4px var(--shadow);
		}
	}
	.img {
		position: relative;
		width: 100%;
		aspect-ratio: 4 / 3;
		overflow: hidden;
		img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: center;
			display: block;
			border-radius: var(--border-radius) var(--border-radius) 0 0;
		}
		&+ .info {
			color: var(--white);
			margin: 0 var(--boxpadding);
		}
	}
	h3 {
		font-size: 35px;
		line-height: 1.3em;
		color: var(--white);
		font-weight: var(--font-normal);
		border-bottom: 1px solid var(--white);
		padding-bottom: 10px;
		margin: 10px var(--boxpadding) var(--boxpadding) var(--boxpadding);
		align-self: end;
		text-transform: none;
	}
	p {
		font-size: 23px;
		line-height: 1.3em;
		margin: 0 var(--boxpadding) var(--boxpadding) var(--boxpadding);
	}
	.more {
		align-self: end;
		display: flex;
		margin: 0 var(--boxpadding) var(--boxpadding) var(--boxpadding);
		span {
			display: inline-block;
			font-size: 23px;
			font-weight: var(--font-bold);
			border-bottom: 1px solid var(--white);
		}
		&::after {
			content: '';
			display: inline-block;
			width: 25px;
			height: 25px;
			background: url(images/icon_arrow_white.svg) center transparent no-repeat;
			background-size: contain;
			justify-self: center;
			align-self: center;
			margin-left: 5px;
		}
	}

	a.project {
		background-color: var(--gray);
		color: var(--text) !important;
		box-shadow: 0 0 8px 4px var(--shadow);
		.img + .info {
			color: var(--text) !important;
		}
		h3 {
			color: var(--text);
			border-bottom-color: var(--text);
		}
		p {
			font-size: 20px;
		}
		.more {
			span {
				border-bottom-color: var(--text);
			}
			&::after {
				background-image: url(images/icon_arrow_small_gray.svg);
			}
		}
		&:hover {
			box-shadow: 0 0 8px 4px var(--shadow-dark);
		}
	}
}
.projectsrow {
	display: block;
	width: calc(100% - 140px);
	margin: 0 auto;
	a.project {
		margin: 0 25px;
	}
	.slick-list {
		padding: 25px 0;
	}
	.slick-prev, .slick-next {
		position: absolute;
		top: 50%;
		left: -55px;
		transform: translateY(-50%);
		width: 50px;
		height: 50px;
		display: block;
		background: url(images/icon_arrow_blue.svg) center center no-repeat;
		background-size: contain;
		font-size: 0;
		&.slick-next {
			left: auto;
			right: -55px;
			transform: translateY(-50%) rotate(180deg);
		}
	}
}

.grayboxes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto 1fr;
	grid-column-gap: 50px;
	&.rows-1 {
		grid-template-columns: 1fr;
	}
	&.rows-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.graybox {
		display: grid;
		grid-row: span 2;
		grid-template-rows: subgrid;
		grid-gap: 0;
		background-color: var(--gray);
		margin-bottom: 50px;
	}
	.title {
		font-size: 35px;
		line-height: 1.3em;
		border-bottom: 1px solid var(--text);
		padding-bottom: 10px;
		margin: var(--boxpadding);
		align-self: end;
	}
	p {
		font-size: 23px;
		line-height: 1.3em;
		margin: 0 var(--boxpadding) var(--boxpadding) var(--boxpadding);
	}
}

.twocolors {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	.bodywrap {
		width: calc(var(--content-width) / 2);
		justify-self: end;
		align-self: start;
		margin: 0;
		padding: var(--boxpadding);
		h3 {
			font-size: 35px;
			text-transform: none;
			color: var(--text);
		}
	}
	.block {
		display: grid;
		background-color: var(--bg-light);
		&:last-child .bodywrap {
			justify-self: start;
		}
	}
	&.style-gw {
		.block:first-child {
			background-color: var(--gray);
		}
	}
	&.style-wg {
		.block:last-child {
			background-color: var(--gray);
		}
	}
}

.logos {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 50px;
	img {
		width: auto;
		max-width: 80%;
		height: auto;
		max-height: 80%;
		position: relative;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	a {
		box-shadow: 0 0 8px 4px var(--shadow);
		text-decoration: none;
		height: 400px;
		width: 100%;
		display: block;
		&:hover {
			box-shadow: 0 0 8px 4px var(--shadow-dark);
		}
	}
}

.quote {
	padding: var(--boxpadding);
	background-color: var(--gray);
	.content {
		font-style: italic;
		font-size: 30px;
		line-height: 1.3em;
		padding: 10px 0 10px var(--boxpadding);
		border-left: 4px solid var(--blue);
		p:last-child {
			margin-bottom: 0;
		}
	}
}

.twoimgs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 50px;
	.image {
		background-size: cover;
		background-position: center;
		margin-bottom: 50px;
		width: 100%;
		height: 400px;
	}
}

.dataimagetext {
	&.fimg {
		min-height: 620px;
	}
	&.irtl, &.firtl, &.left {
		grid-template-areas: "box img";
		.box {
			justify-self: right;
		}
	}
	.image {
		position: relative;
		grid-area: img;
		min-height: 624px;
		> div  {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-repeat: no-repeat;
			background-size: cover;
			background-position: center;
		}
	}
	&.fimg .image {
		position: static;
	}
	&.image-left .image > div {
		background-position: left center;
	}
	&.image-right .image > div {
		background-position: right center;
	}
	.box {
		display: block;
		align-self: center;
		grid-template-columns: 1fr;
		grid-area: box;
		padding: 80px 250px 80px 40px;
		z-index: 10;
	}
	.fimg .box {
		padding: 50px 0;
	}
	&.irtl, &.firtl, &.left {
		justify-self: right;
	}
	.content {
		max-width: 100%;
		width: 640px;
		text-align: left;
		ul {
			padding-left: 15px;
		}
		*:not(.button) {
			color: var(--white);
		}
		.button {
			margin-top: 50px;
		}
	}
	&.irtl .content {
		width: 590px;
	}
	&.fimg .content {
		padding: 40px 50px;
	}
}

.wpcf7 {
	width: 100%;
	max-width: 720px;
}
.wpcf7 input, .wpcf7 textarea {
	padding: 4px 12px;
	border: 1px solid var(--blue);
	background-color: #fff;
	font-size: 16px;
	max-width: 100%;
	width: 100%;
}
.wpcf7 input[type="checkbox"] {
	width: auto;
}
span.required {
	color: red;
}

.slick-dots {
	position: absolute;
	right: 20px;
	bottom: 20px;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: auto;
}
.slick-dots li {
	display: inline-block;
	border: 1px solid #fff;
	background-color: var(--blue);
	border-radius: 10px;
	margin: 0 5px;
	width: 20px;
	height: 20px;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}
.slick-dots li.slick-active {
	background-color: #fff;
}
.slick-vertical .slick-slide {
	border: 0 none;
}
.slick-flipped .slick-list, #vslide2 .slick-list {
	transform:rotate(180deg);
}
.slick-flipped .slick-slide, #vslide2 .slick-slide {
	transform:rotate(180deg);
}

@media (max-width: 1800px) {
	.dataimagetext {
		& .box {
			padding-right: 40px;
			.content {
				width: 100%;
				padding: 0 !important;
			}
		}
	}
}

@media (max-width: 1300px) {
	.twocolors {
		.bodywrap {
			width: 100%;
		}
	}
}

@media (max-width: 1280px) {
	:root {
		--header-height: 140px;
		--borderpadding: 60px;
	}
	.pagehead {
		height: var(--header-height);
		.bodywrap {
			padding: 0;
			.pagelogo {
				padding: 30px var(--borderpadding);
			}
			#mainmenubox {
				position: fixed;
				overflow: auto;
				right: -80vw;
				top: var(--header-height);
				bottom: 0;
				padding-bottom: calc(var(--header-height) + 30px);
				width: 80vw;
				background-color: var(--bg-light);
				z-index: 1000;
				transition: right .3s ease-out;
				box-shadow: inset 2px 0 2px var(--shadow);

				&.open {
					right: 0;
				}
				#mainmenu {
					display: block;
					height: auto;
					padding: 30px;
					> li {
						display: block;
						> a {
							padding: 15px 30px;
							background-color: var(--blue);
							color: var(--bg-light);
						}
						> ul {
							position: relative;
							display: block;
							width: 100%;
							max-width: 100%;
							border: 0;
							&::before {
								display: none;
							}
						}
					}
				}
			}
		}
		.mobilemenu, .mobilemenu-close {
			position: absolute;
			top: 0;
			right: 0;
			display: block;
			width: 140px;
			height: 100%;
			background: url(images/menu-icon.svg) no-repeat center transparent;
			background-size: 40%;
			cursor: pointer;
			font-size: 0;
			line-height: 0;
		}
		.mobilemenu-close {
			display: none;
		}
		.mobilemenu.open {
			display: none;
		}
		.mobilemenu-close.open {
			display: block;
		}
	}
	body.admin-bar #mainmenubox {
		margin-top: 32px;
	}
	.pagebody {
		padding-top: var(--header-height);
	}
	.imgslider .slideblock .info,
	.bodywrap,
	.content > .fsn-row.full-width-row,
	.dataimagetext .box .content,
	.fsn-row.dark .fsn-row.full-width-row {
		padding-left: var(--borderpadding);
		padding-right: var(--borderpadding);
	}
	.imgslider {
		height: calc(400px + 24px);
		.slideblock img {
			height: 400px;
		}
	}
	.grayboxes {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	.sideinfobox {
		font-size: 18px;
		h1 {
			font-size: 24px;
		}
	}
	.footer {
		& .footer_social_block {
			& .footer_sociallinks {
				& a {
					width: 80px;
					height: 80px;
				}
			}
		}
		#mainmenu-footer {
			grid-template-columns: 1fr;
			grid-gap: 20px;
		}
	}
	.pagebody {
		h1 {
			font-size: 48px;
		}
		h2 {
			font-size: 40px;
		}
		h3 {
			font-size: 35px;
		}
		h4 {
			font-size: 30px;
		}
	}
	.fsn-row + .fsn-row:not(.dark) {
		padding-top: 80px;
	}
	.fsn-row + .fsn-row.dark {
		margin-top: 80px;
	}
	.introtext {
		h1 {
			font-size: 48px;
		}
		h2 {
			font-size: 32px;
		}
	}
	.dataimagetext {
		display: block;
		.image {
			height: 400px !important;
			width: 100%;
			min-height: 0;
		}
		h2 {
			font-size: 40px;
		}
		p {
			font-size: 21px;
		}
	}
	.twocolors {
		grid-template-columns: 1fr;
		&.style-wg {
			.block:first-child {
				background-color: var(--gray);
			}
			.block:last-child {
				background-color: var(--bg-light);
			}
		}
	}
	.quote {
		.content {
			font-size: 28px;
		}
	}
}

@media (min-width: 781px) and (max-width: 1024px) {
	.servicerow, .servicerow.rows-2 {
		grid-template-columns: 1fr;
		.service {
			grid-template-areas: "img title"
			"img content"
			"img link"
			"info info";
			grid-template-columns: 40% 60%;
			grid-template-rows: 1fr !important;
			background-color: transparent !important;
			.img {
				grid-area: img;
				aspect-ratio: auto;
				img {
					border-radius: var(--border-radius) 0 0 var(--border-radius);
				}
			}
			.info {
				grid-area: info;
				align-self: end;
				margin-left: 0;
			}
			p, .spacer {
				grid-area: content;
				background-color: var(--blue);
				margin: 0;
				padding: var(--boxpadding) var(--boxpadding) 0 var(--boxpadding);
			}
			.spacer {
				display: none;
			}
			.info {
				color: var(--gray);
			}
			h3 {
				grid-area: title;
				align-self: start;
				background-color: var(--blue);
				border-radius: 0 var(--border-radius) 0 0;
				border-bottom: 0;
				margin: 0;
				padding: var(--boxpadding) var(--boxpadding) 5px var(--boxpadding);
				&::after {
					content: '';
					border-bottom: 1px solid var(--white);
					width: 100%;
					height: 1px;
					display: block;
				}
			}
			.more {
				grid-area: link;
				align-self: end;
				background-color: var(--blue);
				border-radius: 0 0 var(--border-radius) 0;
				margin: 0;
				padding: var(--boxpadding);
			}

			&:nth-child(2) {
				grid-template-areas: "title img"
				"content img"
				"link img"
				"info info";
				grid-template-columns: 60% 40%;
				.img {
					img {
						border-radius: 0 var(--border-radius) var(--border-radius) 0;
					}
				}
				h3 {
					border-radius: var(--border-radius) 0 0 0;
				}
				.more {
					border-radius: 0 0 0 var(--border-radius);
				}
			}
		}
	}
}

@media (max-width: 780px) {
	:root {
		--header-height: 100px;
		--borderpadding: 32px;
	}
	.pagehead {
		height: var(--header-height);
		.bodywrap {
			padding: 0;
			.pagelogo {
				padding: 10px var(--borderpadding);
			}
		}
		& .bodywrap {
			& .menuwrapper {
				& #mainmenu {
					& > li {
						& > a {
							font-size: 18px;
						}
						> ul li a {
							font-size: 16px;
						}
					}
				}
			}
		}
	}
	.pagebody {
		padding-top: var(--header-height);
	}
	.imgslider .slideblock .info,
	.bodywrap,
	.content > .fsn-row.full-width-row,
	.dataimagetext .box .content,
	.fsn-row.dark .fsn-row.full-width-row {
		padding-left: var(--borderpadding);
		padding-right: var(--borderpadding);
	}
	.footer {
		& .footer_social_block {
			& .row {
				& > div {
					display: block;
					width: 100%;
					&:last-child {
						text-align: left;
					}
				}
			}
			& .footer_sociallinks {
				padding-top: 20px;
				& a {
					width: 36px;
					height: 36px;
				}
			}
		}
	}
	.fsn-row.full-width-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
		.row > div {
			padding-left: 0 !important;
			padding-right: 0 !important;
		}
	}
	.bodywrap.menuwrapper {
		padding: 0 !important;
	}
	.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	.fsn-row.full-width-row .row {
		margin-left: -10px !important;
		margin-right: -10px !important;
	}
	body.admin-bar #mainmenubox {
    margin-top: 46px;
  }
	.imgslider {
		height: calc(300px + 24px);
		.slideblock img {
			height: 300px;
		}
	}
	.servicerow {
		grid-template-columns: repeat(1, 1fr);
	}
	.grayboxes {
		grid-template-columns: 1fr;
	}
	.logos {
		grid-template-columns: 1fr;
		a {
			height: 300px;
		}
	}
	.quote {
		.content {
			font-size: 25px;
		}
	}
	.twoimgs {
		grid-template-columns: 1fr;
		grid-gap: 0;
		.image {
			height: 300px;
		}
	}
}

@media (max-width: 420px) {
	.pagehead {
		& .bodywrap {
			grid-template-columns: 200px 1fr;
		}
	}
	.pagebody {
		h1 {
			font-size: 36px;
		}
		h2 {
			font-size: 30px;
		}
		h3 {
			font-size: 25px;
		}
		h4 {
			font-size: 22px;
		}
	}
	.introtext {
		h1 {
			font-size: 36px;
		}
		h2 {
			font-size: 28px;
		}
	}
	.dataimagetext {
		.image {
			height: 300px !important;
		}
		.box {
			padding: 30px;
		}
	}
	.button {
		font-size: 25px;
		line-height: 70px;
		padding: 0 30px;
	}
}