/* SETUP */

[]{}

	:root {
	  --color_background: hsl(0,0%,90%);
		--color_black: hsl(0,0%,0%);
		--color_white: hsl(0,0%,100%);
		--color_grey_1: hsl(0,0%,10%);
		--color_grey_2: hsl(0,0%,20%);
		--color_grey_3: hsl(0,0%,30%);
		--color_grey_4: hsl(0,0%,40%);
		--color_grey_5: hsl(0,0%,50%);
		--color_grey_6: hsl(0,0%,60%);
		--color_grey_7: hsl(0,0%,70%);
		--color_grey_8: hsl(0,0%,80%);
		--color_grey_9: hsl(0,0%,90%);
		--style_outline: solid 2px var(--color_main);
		--effect_transition: .25s ease-out;
		--padding: calc(var(--spacing) * .5vw);
	}

	@media (orientation: portrait) {
		:root {
			--padding: calc(var(--spacing) * .5vh);
		}
	}

	@media (orientation: portrait) and (max-width: 30em) {
		:root {
			--padding: calc(var(--spacing) * .5vw);
		}
	}

/* HTML ELEMENTS */

[]{}

	/* Form Elements*/

	[]{}

		form {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
			grid-gap: 2rem;
		}

		.column.span-4 form {
			grid-template-columns: repeat(4, 1fr);
		}

		input[type="text"], input[type="file"], input[type="email"], textarea, button, select {
			border-radius: .5em;
			border: solid 2px var(--color_main_creamy_3);
		}

		/* Safari */
		_::-webkit-full-page-media, _:future, :root select {
			border: revert;
			border-radius: revert;
		}

		button {
			background-color: var(--color_main);
			color: var(--color_white);
			border: none;
			line-height: var(--line_height);
			cursor: pointer;
			transition: background-color var(--effect_transition);
		}

		button:hover {
			background-color: var(--color_main_brighter_1);
		}

		button img {
			vertical-align: middle;
		}

		input, textarea, select, button {
			font-family: inherit;
			padding: .5rem 1rem;
			width: 100%;
			box-sizing: border-box;
		}

		input[type="checkbox"] {
			width: auto;
		}

		span[data-field-type="option"] {
			display: flex;
			align-content: center;
			flex-wrap: wrap;
		}

		select {
			min-height: 3em;
		}

		span label {
			padding: .5rem 1rem;
			display: block;
		}

		textarea {
			min-height: 8em;
		}

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

			textarea, span.textarea {
				grid-column: span 2 / auto;
			}

		}

		span[data-field-type="checkbox"] {
			display: flex;
		}

		span.submit {
			align-self: end;
		}

	/* HTML */

	[]{}

		html {
			color: var(--color_white);
			background-color: var(--footer_background);
			scroll-behavior: smooth;
		}

	/* Images */

	[]{}

		.column > img,
		.column > a > img,
		.column > .gallery > img {
			width: 100%;
			display: block;
		}

	/* Pseudo */

	[]{}

		::selection {
		  background: var(--color_main_brighter_1);
			color: var(--color_white);
		}
		::-moz-selection {
		  background: var(--color_main_brighter_1);
			color: var(--color_white);
		}

		:target:before {
	    content: "";
	    display: block;
	    height: 15vh;
	    margin-top: -15vh;
		}

		/* .column:has(svg:target):before{
			content: "";
	    display: block;
	    height: 15vh;
	    margin-top: -15vh;
		} */

	/* Text Elements */

	[]{}

		html {
			font-family: var(--font_family), sans-serif;
			line-height: var(--line_height);
			letter-spacing: var(--letter_spacing);
			font-size: var(--font_size);
			font-weight: var(--font_weight);
			color: var(--color_text);
			-webkit-hyphens: auto;
			hyphens: auto;
		}

		h1, h2, h3, h4, h5, h6 {
			font-weight: var(--font_weight_headlines);
			margin: 1.5em 0;
			font-variant: lining-nums;
		}

		h1, h2, h3 {
			font-family: var(--headline_font_family), var(--font_family), sans-serif;
			letter-spacing: var(--letter_spacing_headlines);
			line-height: var(--line_height_headlines);
			color: var(--color_main);
		}

		h1 {
			font-weight: var(--font_weight_h1);
			font-size: calc(var(--font_scale_headlines) * 4em);
			margin-top: 3em;
			-webkit-hyphens: none;
			hyphens: none;
		}

		h2 {
			font-size: calc(var(--font_scale_headlines) * 3em);
			font-weight: var(--font_weight_h2);
			margin-top: 2em;
			-webkit-hyphens: none;
			hyphens: none;
		}

		h3 {
			font-size: calc(var(--font_scale_headlines) * 1.5em);
			font-weight: var(--font_weight_h3);
			margin-top: 1em;
		}

		h4 {
			font-size: 1.25em;
			color: var(--color_main);
		}

		h5 {
			font-size: 1.1em;
			/* color: var(--color_main); */
		}

		h6 {
			font-size: 1em;
		}

		p {
			margin-top: 0;
			margin-bottom: 1.5em;
		}

		a {
			color: var(--color_main);
			text-decoration: none;
		}

		a:hover {
			text-decoration: underline;
		}

		ul {
			padding-left: 1em;
		}

	/* Table */

	[]{}

		table {
			width: 100%;
			border-collapse: collapse;
			font-variant: lining-nums;
		}

		form table {
			grid-column-end: -1;
    	grid-column-start: 1;
		}

/* CONTAINER */

[]{}

	div.section {
		background-color: var(--color_background_page);
	}

	div.row {
		/* padding: var(--padding); */
		padding: 0 var(--padding);
		margin: var(--gap) 0;
	}

	.row[style^="background-image"] {
		background-size: cover;
		background-position: center;
	}

/* HEADER */

[]{}

	.section.header {
		z-index: 10;
	}

	.section.menu {
		z-index: 20;
	}

	.header .logo {
		max-height: 6rem;
	  object-fit: contain;
	  max-width: 100%;
	  object-position: left;
		display: block;
		transition: all var(--effect_transition);
	}

	div.section.header .row {
		padding-top: var(--gap);
		padding-bottom: var(--gap);
		transition: padding var(--effect_transition);
		grid-template-columns: repeat(24,1fr);
	}

	.header {
		font-size: 0.9em;
	}

	.header .row {
		margin: 0;
	}

	.header .column {
		padding: 0 var(--gap);
	}

	.header.fixed {
		box-shadow: 0 -3rem 3rem hsla(0,0%,0%,.15);
		transition: box-shadow var(--effect_transition);
	}

	.header.is_fixed {
		box-shadow: 0 0 3rem hsla(0,0%,0%,.15);
	}

	div.section.header.is_fixed .row{
		padding-top: .5rem;
		padding-bottom: .5rem;
	}

	.header.is_fixed .secondary_menu {
		display: none;
	}

	.section.menu {
		background-color: var(--color_main);
	}

	.section.menu .row{
		padding-top: 0;
		padding-bottom: 0;
		margin: 0;
	}

	.section.menu .column {
		padding: 0 var(--gap);
	}

	.section.menu .level1_container {
		/* background-color: var(--color_main); */
		display: flex;
		justify-content: space-between;
		/* font-weight: bold; */
	  letter-spacing: -0.03em;
	}

	@media all and (min-width:60rem)  {
		.section.menu .level1_container{
			/* font-size: 1.25rem; */
			transition: font-size var(--effect_transition);
		}
		.section.menu.is_fixed .level1_container{
			font-size: 1rem;
		}
	}

	.section.menu .mainmenu a{
		display: block;
		padding: calc(.5em + calc(var(--spacing) * .05em)) 0;
		color: var(--color_main_creamy_3);
	}

	.section.menu .mainmenu a:hover{
		color: var(--color_white);
		text-decoration: none;
	}

	.section.menu .mainmenu a.mainmenu-active {
		color: var(--color_white);
		font-style: italic;
	}

	.section.menu .secondary_menu{
		display: inline-flex;
		flex-direction: row;
		justify-content: flex-end;
	}

	.section.menu .secondary_menu a{
		padding: 0 .5em;
	}

	.header.is_fixed .logo {
		max-height: 2rem;
	}

	.header p, .header h4{
		margin: 0;
	}

	.section.menu input.menu,
	.section.menu label.menu
	{
		display: none;
	}

	.section.menu label.menu {
		color: white;
	}

	.section.menu label.menu svg{
		width: 2rem;
		height: 2rem;
		opacity: 0;
		transition: opacity var(--effect_transition);
		grid-column: 1;
		grid-row: 1;
	}

	/*
	.section.menu input.menu:before {
		content: "";
		position: relative;
	  width: 1.5rem;
	  height: 1.5rem;
	  display: block;
	  background: url("/core/template/icons/menu.svg");
		background-size: contain;
	  top: 100rem;
	}
	*/

	/*

	.section.menu input.menu:checked:before {
	  background-image: url(/core/template/icons/close.svg);
	}
	*/

/* TEMPLATE ELEMENTS */

[]{}

	/* Button */

	[]{}

		div.button {
			margin: var(--line_height) 0;
		}

		div.button a {
			text-align: center;
			background-color: var(--color_main_creamy_2);
			transition: all var(--effect_transition);
			line-height: calc(var(--line_height) * 2);
			display: inline-block;
			border-radius: calc(var(--line_height) * 2);
			font-weight: bold;
			padding-right: var(--line_height);
			padding-left: var(--line_height);
		}

		div.button a:hover {
			text-decoration: none;
			color: var(--color_white);
			background-color: var(--color_main_brighter_2);
			transform: scale(1.05);
		}

		a.button {
			text-decoration: none;
			background-color: var(--color_main_creamy_2);
			display: inline-block;
			border-radius: var(--line_height);
			padding-left: 1em;
			padding-right: 1em;
		}

		a.button:hover {
			color: var(--color_white);
			background-color: var(--color_main_brighter_2);
		}

	/* Card */

	[]{}

		div.content div.column.card {
			background-color: var(--card_background);
		}

		div.column.card div.button a {
			color: var(--color_white);
			background-color: var(--color_main_brighter_2);
		}

		div.column.card div.button a:hover {
			background-color: var(--color_main_brighter_3);
		}

		div.content div.column.card {
			display: flex;
			flex-direction: column;
		}

		div.content div.column.card > *:is(div.button):last-child  {
			margin-top:auto;
			margin-bottom: 0;
		}

		div.content div.column.card > img  {
			aspect-ratio: 3/2;
			object-fit: cover;
			margin-left: calc(var(--gap) * -1);
			margin-top: calc(var(--gap) * -1);
			width: calc(100% + var(--gap) + var(--gap));
		}

		div.content div.column.card .icon  {
			margin-left: auto;
			margin-right: auto;
		}

	/* Classes */

	[]{}

		.bottom {
		  position: absolute;
		  bottom: 1rem;
		  margin-bottom: 0;
		}

		img.bottom {
			padding-left: inherit;
			padding-right: inherit;
		  box-sizing: border-box;
		  left: 0;
		}

		.flex {
			display: flex;
			justify-content: space-between;
		}

		.flex.fill > * {
			flex: 1;
			vertical-align: middle;
		}

		.small {
			font-size: .85em;
			line-height: 1.5em;
		}

		@media all and (min-width: 30rem) {

			.right {
				text-align: right;
			}

			.center {
				text-align: center;
			}

		}

		@media all and (min-width:60em) {
			.in_2_columns,
			.in_3_columns  {
				column-count: 2;
				column-gap: 1rem;
			}

		}

		@media all and (min-width:80em) {

			.in_3_columns {
				column-count: 3;
			}
		}

		div.row.no_padding_top {
			padding-top: 0;
		}

	/* Collapsible */

	[]{}

		div.collapsible {
			margin-bottom: var(--gap);
			border: solid 2px var(--color_main_creamy_3);
			border-radius: 1em;
			padding: 1em;
			transition: background-color var(--effect_transition);
			background-color: var(--color_white);
		}

		div.collapsible:has(div.handle:hover){
			background-color: var(--color_main_creamy_1);
		}

		div.collapsible div.handle:hover > *{
			/* filter: brightness(1.2); */
		}

		div.collapsible div.item {
			margin-top: var(--gap);
			transition: margin-top var(--effect_transition);
		}

		div.collapsible div.item.collapsed {
			margin-top: 0;
		}

		.collapsible .item{
			display: flex;
			overflow: hidden;
		}

		.collapsible .item:after {
			content: '';
		  height: 50px;
		  transition: height 0.3s linear, max-height 0s 0.3s linear;
		  max-height: 0px;
		}

		.collapsible .content {
		  transition: margin-bottom 0.3s cubic-bezier(0, 0, 0, 1);
		  margin-bottom: 0;
		  max-height: 1000000px;
		}

		.collapsible .item.collapsed > .content {
			margin-bottom: -2000px;
			transition:
				margin-bottom 0.3s cubic-bezier(1, 0, 1, 1),
		    visibility 0s 0.3s, max-height 0s 0.3s;
			visibility: hidden;
			max-height: 0;

		}

		.collapsible .item.collapsed:after {
			height: 0;
		  transition: height 0.3s linear;
		  max-height: 50px
		}

		.collapsible .handle {
			cursor: pointer;
		}

	/* Column */

	[]{}

		div.content div.column {
			background-color: var(--column_background);
			padding: var(--gap);
		}

	/* Gallery */

	[]{}

		div.gallery {
		  line-height: 0;
			position: relative;
		}

		div.gallery img {
			transform: scale(1);
			transition: transform var(--effect_transition), margin-left var(--effect_transition);
		}

		div.gallery img:hover {
			/* cursor: pointer; */
			/* transform: scale(1.05); */
		}

		div.gallery img:nth-of-type(n+2) {
			/* display: none; */
			/* pointer-events: none; */
		}

		div.gallery.zoom:before {
		    content: "";
		    width: 1em;
		    height: 1em;
		    position: absolute;
		    left: 1em;
		    bottom: 1em;
		    background-image: url("/core/template/icons/gallery.svg?color=white");
		    background-repeat: no-repeat;
		    background-position: center;
		    background-size: contain;
				opacity: .5;
				z-index: 2;
		}

		div.gallery.zoom:hover:before {
				opacity: 1;
		}

	/* Icon */

	[]{}

		.icon {
			/* color: var(--color_main); */
			width: 2em;
			height: 2em;
			padding: .5rem;
			/* display: flex; */
			/* justify-content: center; */
			/* align-items: center; */
		}

		.icon.background {
			color: var(--color_white);
			background: var(--color_main);
			padding: 1em;
			width: 3em;
			height: 3em;
			border-radius: 50%;
			overflow: visible;
		}

	/* Map */

	[]{}

		div.column div.map {
			height: 100%;
			min-height: 10em;
		}

		div.map iframe {
			width: 100%;
			height: 100%;
			border: none;
		}

	/* Pagination */

	[]{}

		div.pagination {
			padding: 1rem 0;
			text-align: center;
		}

		div.pagination > *{
			background: var(--color_main_creamy_2);
			border-radius: .375rem;
			padding: 0 1rem;
		}

		div.pagination > span {
			background: var(--color_main_creamy_3);
		}

		div.pagination.flex.fill > *{
			flex: none;
		}

		div.pagination img{
			vertical-align: middle;
		}

	/* Table */

	[]{}

		table.data, table.formated {
			margin-bottom: 3em;
		}

		table.formated td {
			padding-bottom: 1em;
			vertical-align: top;
		}

		table.formated tr:last-child td {
			padding-bottom: 0;
		}

		table.data tr:hover {
			background-color: var(--color_main_creamy_1);
		}

		table.data th{
			text-align: left;
			white-space: nowrap;
		}

		table.data th .sort{
			height: .75rem;
			margin-left: 1rem;
		}

		table.data td {
			vertical-align: top;
			padding-top: .5em;
			padding-bottom: .5em;
		}

		table.data td + td,
		table.data th + th {
			padding-left: 1em;
		}

		table.data td:last-child {
			width: 0;
		}

		table.data tr + tr td {
			border-top-style: solid;
			border-color: var(--color_main_creamy_3);
			border-top-width: 2px;
		}

		table.data td.nowrap {
			white-space: nowrap;
		}

		table.data th.numeric {
			text-align: right;
		}

		table.data td.numeric {
			font-variant-numeric: tabular-nums;
			font-variant: lining-nums;
			text-align: right;
		}

		table.data input {
	    width: 100%;
	    box-sizing: border-box;
	    margin: 0;
	    padding: 0;
	    border: none;
	    line-height: 1.5rem;
	    font-family: inherit;
	    font-size: .75rem;
	    max-width: 100%;
		}

		@media all and (max-width: 30rem) {
			table.data tr{
		    display: grid;
			}

			table.data td,
			table.data th
			{
		    display: block;
			}

			table.data td:nth-child(n+2)
			{
		    border:none;
			}
		}


		@media all and (min-width: 30rem) {
			table.pricelist td:last-child {
				text-align: right;
			}
		}

	/* Text */

	[]{}

		div.column div.text {
			margin-bottom: 3em;
		}

	/* Zoom */

	[]{}

		img.zoom {
			transform: scale(1);
			transition: transform var(--effect_transition);
		}

		img.zoom:hover {
			cursor: zoom-in;
			transform: scale(1.05);
		}

/* FOOTER */

[]{}



	.section.footer {
		font-size: 0.8em;
		background: none;
	}

	div.footer * {
		/* color: var(--color_white); */
	}

	.footer .column {
		padding: 0 var(--gap);
	}

	.footer .menu a{
		display: block;
	}

	.footer p{
		margin-top: 0;
		font-variant: lining-nums;
	}

	.footer .logo{
		max-height: 3rem;
		object-fit: contain;
		object-position: left;
	}

	.footer .level2_container {
		display: block;
		margin-left: 1rem;
	}

	.footer .icon {
		display: block;
		height: 2rem;
		width: 2rem;
		background-size: contain;
	}

	@media all and (min-width:60rem) {

		.section.footer .row {
			/* grid-template-columns: repeat(24,auto); */
		}

		.footer .icon {
			margin-left: auto;
		}

		.footer .logo{
			height: 3rem;
			width: auto;
		}

	}


	.footer .icon.mail {
		background-image: url("/core/template/icons/mail.svg?color=white");
	}

	.footer .icon.phone {
		background-image: url("/core/template/icons/phone.svg?color=white");
	}

	.footer .icon.location {
		background-image: url("/core/template/icons/location.svg?color=white");
	}

	/* @media all and (min-width:40rem) and (max-width:60rem) {
		.column.span-4 {
			grid-column: span 2 / auto;
		}
	} */

/* PSEUDO CLASSES */

[]{}

	.column :first-child:is(h1, h2, h3, h4, h5, h6, p) {
		margin-top: 0;
	}

	.column :last-child:is(h1, h2, h3, h4, h5, h6, p, div.text) {
		margin-bottom: 0;
	}

/* SIZES */

[]{}

	@media all and (max-width: 120em) {

		h1 {
			font-size: calc(var(--font_scale_headlines) * 2.8em);
			/* line-height: 3rem; */
			line-height: var(--line_height_headlines);
		}

		h2 {
			font-size: calc(var(--font_scale_headlines) * 2.3em);
			/* line-height: 3rem; */
			line-height: var(--line_height_headlines);
		}
	}

	@media all and (max-width: 80em) {

		html {
			font-size: calc(var(-font_size) * .75);
		}

		.header .column.span-8 {
			justify-content: flex-end;
		}

		.header .secondary_menu{
			display: none;
		}

		h1 {
			font-size: calc(var(--font_scale_headlines) * 2.0em);
			line-height: var(--line_height_headlines);
			-webkit-hyphens: auto;
			hyphens: auto;
		}

		h2 {
			font-size: calc(var(--font_scale_headlines) * 1.8em);
			line-height: var(--line_height_headlines);
			-webkit-hyphens: auto;
			hyphens: auto;
		}
	}

	@media all and (max-width: 60em) {

		.section.header .column.span-4 {
		  grid-column: span 2 / auto;
		}

		html .header .row {
			display: flex;
			justify-content: space-between;
			white-space: nowrap;
		}

		.header .level1_container span.level1 {
			display: block;
			padding: 0 0 0 1.5rem;
		}

		.header .logo {
			max-height: 3rem;
		}

		h1 {
			font-size: calc(var(--font_scale_headlines) * 1.7em);
			line-height: var(--line_height_headlines);
		}

		h3 {
			font-size: calc(var(--font_scale_headlines) * 1.25em);

		}

	}

	@media all and (max-width: 40em) {

		.section.menu label.menu {
			display: grid;
		}

		.section.menu label.menu .open{
			opacity: 1;
		}

		html .section.menu .level1_container{
			position: fixed;
	    left: 100%;
	    top: 0;
	    width: 100%;
	    height: 100%;
			background-color: var(--color_main);
	    z-index: -1;
			flex-direction: column;
			text-align: center;
			justify-content: center;
			transition: left .5s ease;
		}

		.section.menu input.menu:checked ~ .level1_container{
		  left: 0%;
		}

		.section.menu input.menu:checked ~ label.menu .open{
		  opacity: 0;
		}

		.section.menu input.menu:checked ~ label.menu .close{
		  opacity: 1;
		}

		.menu .level1_container span.level1{
			display: block;
			/* padding: 1.5rem; */
		}

		/* input, select {
			grid-column: span 1 / auto;
		} */

	}

	@supports (-webkit-touch-callout: none) and (max-width: 40em){
		html .header {
			overflow: visible;
		}
	}

	@media all and (max-width: 30em) {

		.section.header .row {
			display: flex;
			justify-content: space-between;
		}


		.header .logo {
			max-height: 2rem;
		}

		.header .main_menu .level1_container{
			justify-content: center;
		}

		.content .row {
			/* padding-top: 1.5rem; */
			/* padding-bottom: 1.5rem; */
		}

		table tr{
	    display: grid;
			grid-template-columns: 1fr;
    	grid-column-gap: 1em;
		}

		table.data td + td, table.data th + th {
			padding-left: 0;
		}

		table.data th.numeric,
		table.data td.numeric {
			text-align: left;
		}

		table td:empty,
		table th:empty
		{
			display: none;
		}

		table td:before,
		table th:before
		{
			content: counter(row);
			position: absolute;
			margin-left: -1em;
			opacity: .25;
		}

		table td:has(input,button,.button):before
		{
			content: none;
		}

		table tr {
			counter-reset: row 0;
		}

		table tr th, table tr td {
			counter-increment: row 1;
		}

		/* table td,
		table th
		{
	    display: block;
		} */

		h1, h2, h3, h4, h5, h6 {
			margin: 1.5rem 0;
		}

		h1 {
			font-size: calc(var(--font_scale_headlines) * 1.3em);
			/* line-height: 2rem; */
			line-height: var(--line_height_headlines);
		}

		h3 {
			font-size: calc(var(--font_scale_headlines) * 1.10em);
			line-height: var(--line_height_headlines);
		}

		.footer .icon {
			margin-left: 0;
		}

		.column.contact_icon {
		  grid-area: 4;
		}

	}














/*


html {
	line-height: 1.5em;
	font-size: 15px;
	-webkit-hyphens: auto;
	hyphens: auto;
}


div.section div.row {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

@media all and (min-width:60em) {
	div.section div.row {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media all and (min-width:60rem) and (max-width:80rem) {
	html {
		font-size: 13px;
	}
}

@media all and (min-width:80em) {

	html {
		font-size: 14px;
		line-height: 1.5em;
	}

	div.section div.row {
		padding-left: 8%;
		padding-right: 8%;
	}
}


@media all and (min-width:100em) {
	html {
		font-size: 16px;
	}
}

h2, h3, h4 {
	margin-top: 1rem;
	margin-bottom: 1.5rem;
}

h2:first-child, h3:first-child, h4:first-child {
	margin-top: 0;
}


h1 {
	margin: 3rem 0 1.5rem;
	font-size: 1.25em;
	line-height: 1.5rem;
	letter-spacing: -.02em;
}

h2 {
	margin: 3rem 0 1.5rem;
	font-size: 1.7em;
	line-height: 2rem;
	letter-spacing: -.02em;
	font-weight: normal;
}

@media all and (min-width: 25rem) {
	h1 {
		font-size: 1.7em;
		line-height: 2rem;
	}
}

@media all and (min-width: 60rem) {
	h1 {
		font-size: 2.3em;
		line-height: 3rem;
	}

	h2 {
		font-size: 2.3em;
		line-height: 3rem;
	}
}

h3 {
	font-size: 1.10em;
	line-height: 1.5rem

}

@media all and (min-width: 25rem) {
	h3 {
		font-size: 1.25em;
	}
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 1em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

p {
	margin-bottom: 1.5em;
}


div.column > *:last-child,
div.column > div.text:last-child > *:last-child
{
	margin-bottom: 0;
}

div.column > img:first-child
{
	margin-top: -1rem;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul {
	padding-left: 2em;
}

@media all and (min-width: 60rem) {
	.right {
		text-align: right;
	}
}

.content {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.content .row {
	margin: 1rem 0;
}

@media all and (min-width: 40rem) {
	.content .row {
	}
}

@media all and (min-width: 60rem) {
	.content .row {
	}
	.footer .row {
		padding-bottom: 1.5rem;
	}
}

.row.fill {
}


.section.header {
	z-index: 2;
}

.section.header input.menu {
	display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  top: -100rem;
}

.section.header input.menu:before {
	content: "";
	position: relative;
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  background: url("/core/template/icons/menu.svg");
	background-size: contain;
  top: 100rem;
}

.section.header input.menu:checked:before {
  background-image: url(/core/template/icons/close.svg);
}

@media all and (min-width: 60rem) {
	.section.header input.menu {
		display: none;
	}
}


@media all and (max-width: 60rem) {
	.section.header .row {
		display: flex;
	}
}

@media all and (max-width: 60rem) {
	.section.header .column.span-4 {
	  grid-column: span 2 / auto;
	}
	.section.header .column.span-6 {
	  grid-column: span 3 / auto;
	}
}

.header {
	font-size: 0.9em;
}

.header p, .header h4{
	margin: 0;
}

.header .logo {
	max-height: 2rem;
  object-fit: contain;
  max-width: 100%;
  object-position: left;
	display: block;
}

@media all and (min-width: 60rem) {
	.header .logo {
		max-height: 3rem;
	}
}

@media all and (min-width: 80rem) {
	.header .logo {
		max-height: 4rem;
	}
	.header.is_fixed .logo {
		transition: all .25s ease-in;
		max-height: 2rem;
	}
}

.header .level1_container{
	display: flex;
	justify-content: space-between;
	font-size: 1.25rem;
	font-weight: bold;
  letter-spacing: -0.03em;
}

@media all and (max-width: 60rem) {

	html .header .row{
		display: flex;
		white-space: nowrap;
	}

	.header .level1_container span.level1{
		display: block;
		padding: 0 0 0 1.5rem;
	}

}

@supports (-webkit-touch-callout: none) and (max-width: 40rem){
	html .header {
		overflow: visible;
	}
}

@media all and (max-width: 60rem) {

	html .header .level1_container{
		position: fixed;
    left: 100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color2);
    z-index: -1;
		flex-direction: column;
		text-align: center;
		justify-content: center;
		transition: left .5s ease;
	}

	.section.header input.menu:checked + .level1_container{
	  left: 0%;
	}

	.header .level1_container span.level1{
		display: block;
		padding: .5rem;
	}
}

.header .row {
  align-items: center;
}

.header.fixed {
}

.header.is_fixed {
	box-shadow: 0 0 3rem hsla(0,0%,0%,.15);
}

.header.is_fixed .row {
}


.section.footer {
	font-size: 0.8em;
	background: none;
}

.footer .menu a{
	display: block;
}

.footer p{
	margin-top: 0;
}

.footer .level2_container {
	display: block;
	margin-left: 1rem;
}


.row[style^="background-image"] {
	background-size: cover;
	background-position: center;
}

.content .column
{
	display: inline-flex;
	flex-direction: column;
}

.content .column hr {
	border: none;
  background: var(--color2);
  height: 1rem;
  width: calc(100% + 2rem);
  margin: 3rem -1rem 1rem;
}

.content .column img,
.content .column div.button
{
	margin: 0 -1rem 1rem;
	width: calc(100% + 2rem);
}

.content .column div.slide:only-child
{
	margin: -1rem;
	width: calc(100% + 2rem);
}

html .content .column > div.button:last-child
{
	flex-grow: 2;
	display: inline-grid;
	align-content: end;
	margin-bottom: -1rem;
}

.bottom {
  position: absolute;
  bottom: 1rem;
  margin-bottom: 0;
}

img.bottom {
	padding-left: inherit;
	padding-right: inherit;
  box-sizing: border-box;
  left: 0;
}

.bottom > *{
  margin-bottom: 0;
}

.small {
	font-size: .85em;
	line-height: 1.5em;
}

.content .column.span-2 a.mainmenu,
.content .column.span-2 a.submenu
{
	display: block;
	font-size: 1.1em;
  padding: .5em 0;
  border-top: solid 1px hsla(0,0%,0%,0.25);
}

.hero,
.hero_2 {
	background-size: cover;
}

.hero .column.span-12 {
	position: static;
}

.hero .column.span-12 img {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
  width: 100%;
	object-fit: cover;
	filter: grayscale(1);
	mix-blend-mode: overlay;
	opacity: 0;
	display: block;

}

.hero .column.span-12 img:nth-of-type(1) {
}

.hero_2 .column:first-child > * {
	margin: 0 -2.5rem -2.5rem;
  height: 60vw;
  position: relative;
  top: -2.5rem;
	object-fit: cover;
}

.hero_2 .column:first-child > img {
	width: calc(100% + 5rem);
}

@media all and (min-width:60rem) {

	.hero_2 .column:first-child {
		position: static;
	}

	.hero_2 .column:first-child > * {
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		width: 50%;
    object-fit: cover;
		margin: inherit;
	}

	.hero_2 .column:first-child > img {
		width: 50%;
	}

}

.featured_1 img {
	width: 8rem;
  height: 8rem;
  object-fit: cover;
  display: block;
	transition: transform .25s ease-in;
}

.featured_1 a:hover img {
	transform: scale(1.1);
}

.row.featured_1 img.icon,
.row.featured_2 img.icon {
  object-fit: contain;
}

@media all and (min-width:60rem) {
	.featured_1 > .column {
		text-align: center;
	}

	.featured_1 img {
	  margin: auto;
	}
}

.featured_1 > .column.span-3 p{
	font-size: .85em;
}


@media all and (min-width:30rem) {

	.featured_2 h2,
	.featured_3 h2,
	.featured_4 h2 {
		text-align: center;
	}
}

@media all and (min-width:60rem) {

	.featured_3 .column > img ,
	.featured_4 .column > img {
		object-fit: cover;
	  height: 100%;
		max-height: 100%;
	}
}

@media all and (min-width:40rem) and (max-width:60rem) {

	.row.featured_5 .column.span-6 {
		grid-column: span 3 / auto;
	}
	.row.featured_4 .column.span-2 {
		grid-column: span 3 / auto;
	}
}

.row.featured_2 img {
    height: 40vw;
    object-fit: cover;
}

@media all and (min-width:40rem) {

	.row.featured_2 img {
	    height: 25vw;
	}
}

@media all and (min-width:60rem) {

	.row.featured_2 img {
	    height: 12vw;
	}
}




.row.divider {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.row.divider *{
	color: inherit;
}

@media all and (min-width: 60rem) {
	.row.divider {
		text-align: center;
	}
}



.footer .icon {
	display: block;
	height: 2rem;
	width: 2rem;
	margin-left: auto;
	background-size: contain;
}

.footer .icon.mail {
	background-image: url("/core/template/icons/mail.svg?color=white");
}

.footer .icon.phone {
	background-image: url("/core/template/icons/phone.svg?color=white");
}

.footer .icon.location {
	background-image: url("/core/template/icons/location.svg?color=white");
}

.center {
	text-align: center;
}

div.button a {
	text-align: center;
	display: block;
	transition: background-color .5s ease;
	line-height: 3rem;
	font-weight: bold;
	padding-right: 1em;
	padding-left: 1em;
}

div.button a:hover {
	text-decoration: none;
}

div.map iframe {
	width: 100%;
	height: 100%;
	border: none;
}


	table.data {
		width: 100%;
		border-collapse: collapse;
	}

	table.data th{
		text-align: left;

	}

	table.data th .sort{
		height: .75rem;
		margin-left: 1rem;
	}

	table.data td {
		border-top-style: solid;
		border-top-width: 2px;
		vertical-align: top;
		font-size: .9rem;
	}

	table.data td.nowrap {
		white-space: nowrap;
	}

	table.data th.numeric {
		text-align: right;
	}

	table.data td.numeric {
		font-variant-numeric: tabular-nums;
		text-align: right;
	}

	table.data input {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 1.5rem;
    font-family: inherit;
    font-size: .75rem;
    max-width: 100%;
	}

	@media all and (max-width: 30rem) {
		table.data tr{
	    display: grid;
		}

		table.data td,
		table.data th
		{
	    display: block;
		}
	}


	span.button {
		all: unset;
	}

	div.pagination {
		padding: 1rem 0;
		text-align: center;
	}

	div.pagination > *{
		padding: 1rem;
	}

	div.pagination.flex.fill > *{
		flex: none;
	}

	div.pagination img{
		vertical-align: middle;
	}


img.zoom,
.zoom a img
{
	transition: transform .25s ease-out;
}

img.zoom:hover,
.zoom a:hover img
{
	cursor: zoom-in;
	transform: scale(1.05);
}


a.zoom_in img {
}

div.gallery {
  line-height: 0;
	position: relative;
	margin-bottom: 1rem;
}

div.content div.gallery.zoom img {
	transform: scale(1);
	transition: transform .25s ease-out;
	margin-bottom: 0;
}

div.content div.gallery.slide img {
	margin: 0;
}

div.content div.gallery.zoom img:hover {
	cursor: pointer;
	transform: scale(1.05);
}

div.gallery.zoom img:nth-of-type(n+2) {
	display: none;
	pointer-events: none;
}

div.gallery.zoom:before {
    content: "";
    width: 1em;
    height: 1em;
    position: absolute;
    left: 1em;
    bottom: 1em;
    background-image: url("/core/template/icons/gallery.svg?color=white");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
		opacity: .5;
		z-index: 2;
}

div.gallery.zoom:hover:before {
		opacity: 1;
}


form:not(.data) {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: .5rem;
}

.column.span-4 form {
	grid-template-columns: repeat(2, 1fr);
}

button {
	background-color: var(--color1);
	color: var(--color2);
	border-radius: .375rem;
	border: none;
	line-height: 1.5rem;
	cursor: pointer;
	transition: background-color .25s ease-in;
}

button:hover {
	background-color: var(--color3);
}

button img {
	vertical-align: middle;
}

input, select {
	grid-column: span 1 / auto;
}

textarea {
	grid-column: span 2 / auto;
}

input, textarea {
	font-family: inherit;
	padding: .5rem 1rem;
	width: 100%;
	box-sizing: border-box;
}

input[type="checkbox"] {
	width: auto;
}


.row.featured_2 + .row.featured_2 {
    padding-top: 0;
}
