/*!
Theme Name: FIT Wordpress Theme
Theme URI: http://underscores.me/
Author: Lapala web solutions
Author URI: https://lapala.ch
Description: Custom Wordpress Theme, Design by Studio Risch
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fit-ag
Tags: custom-background, custom-logo, 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.

FIT Wordpress Theme is based on Underscores https://underscores.me/, (C) 2012-2020 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 https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('webfonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('webfonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('webfonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-800 - 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: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('webfonts/montserrat-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



reviews-widget {
    max-width: 460px;
    display: block;
}


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #1E2749;
	font-family: 'Montserrat';
	font-size: 18px;
	line-height: 1.5;
    hyphens: auto;
    hyphenate-limit-chars: auto 7;
    hyphenate-limit-lines: 2;
}

.lead {
	font-size: 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-top: 0;
	font-weight: 300;
}

h1, h2 {
	font-size: 80px;
	line-height: 1.17;
	margin-bottom: 40px !important;
}

.home h1 {
	margin-bottom: 0 !important;
}

h2 {
	margin-bottom: 50px !important;
}

h3 {
	font-size: 50px;
	line-height: 1.4;
	font-weight: 400;
    margin-bottom: 30px !important;
}

h4 {
    font-size: 28px;
    line-height: 1.4;
	font-weight: 400;
    margin-bottom: 20px !important;
}




h5 {
    font-size: 1em;
    font-weight: 700;
    margin: 0;
}


p {
	margin-top: 0;
	margin-bottom: 20px !important;
}

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

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #E4ECEE;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
    margin: 0 0 1.5em 0;
    padding-left: 25px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #1E2749;
	text-decoration: none;
}

a:visited {
	color: #1E2749;
}

a:hover,
a:focus,
a:active {
	color: #079DD5;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
    color: #1E2749;
    border: none;
    padding: 12px 24px;
	line-height: 1;
}

.gform_wrapper button,
.gform_wrapper input[type="button"],
.gform_wrapper input[type="reset"],
.gform_wrapper input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
    background: #1E2749 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
	line-height: 1;
}



button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    color: #079DD5;
}


.gform_wrapper button:hover,
.gform_wrapper input[type="button"]:hover,
.gform_wrapper input[type="reset"]:hover,
.gform_wrapper input[type="submit"]:hover {
    background: #ffffff !important;
    color: #1E2749 !important;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	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;
}

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site-header {
    padding: 24px 50px 0px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.site-branding a {
	display: block;
	width: 191px;
	height: 75px;
	background: url(images/FIT-Logo-farbig.svg) no-repeat;
	background-size: contain;
	background-position: top left;
	transition: all ease-in 300ms;
}

.small .site-branding a {
    width: 160px;
    height: 50px;
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: flex;
    width: 100%;
    align-items: center;
}

.menu-menue-1-container {
    flex: 1;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.main-navigation ul {
	display: flex;
    justify-content: space-between;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	display: block;
}


.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1E2749;
}


.main-navigation a:hover,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.site-footer a:hover {
    color: #079DD5;
}






/* Mega Menu */

/* Hauptnavigation */
.main-navigation .mega-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0 30px;
    padding-left: 0;
}

.main-navigation .mega-menu > li {
    position: static; 
    padding: 52px;
}


.mega-menu-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mega-menu-toggle {
    display: none;
}


/* Panel */
/* Panel */
.mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    width: 100%;
    max-width: 1435px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3270' height='1334' viewBox='0 0 3270 1334' fill='none'%3E%3Cpath d='M3269.5 1334V1.20636L275.5 0L0 274.902V1334H3269.5Z' fill='%231E2749'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    color: #fff;
    z-index: 99999;
    padding: 100px 100px 50px 100px;
    box-sizing: border-box;

    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        transform 300ms ease,
        opacity 150ms ease,
        visibility 0s linear 300ms;
}

/* Inhalt erst später */
.mega-menu-panel__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 70px;
    align-items: start;
    position: relative;

    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 150ms ease 300ms,
        transform 150ms ease 300ms;
}

/* Hover/Fokus */
.mega-menu > li:hover .mega-menu-panel,
.mega-menu > li.focus .mega-menu-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scaleY(1);
    transition:
        transform 300ms ease,
        opacity 150ms ease,
        visibility 0s linear 0s;
}

.mega-menu > li:hover .mega-menu-panel .mega-menu-panel__inner,
.mega-menu > li.focus .mega-menu-panel .mega-menu-panel__inner {
    opacity: 1;
    transform: translateY(0);
}

/* Spalten bleiben immer an derselben Stelle */
.mega-menu__col {
    min-width: 0;
}

/* 1. Spalte */
.mega-menu__col--submenu .sub-menu {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-menu__col--submenu .sub-menu li + li {
    margin-top: 30px;
}

.mega-menu__col--submenu .sub-menu a {
	color: #fff;
    font-size: 28px;
    font-weight: 400;
    text-transform: none;
    line-height: 1.15;
}

/* 2. Spalte */
.mega-menu-services {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-menu-services__item + .mega-menu-services__item {
    margin-top: 30px;
}

.mega-menu-services__item a {
	color: #fff;
    font-size: 28px;
    font-weight: 500;
    text-transform: none;
    line-height: 1.15;
}


.mega-menu__col--submenu .sub-menu a:hover,
.mega-menu-services__item a:hover {
	color: #079DD5;
}

/* 3. Spalte */
.mega-menu__col--meta {
    position: relative;
    padding-top: 20px;
}

/* Bild ragt oben rechts 30px heraus */
.mega-menu__media {
    margin-top: -80px;
    display: flex;
    justify-content: center;
}

.mega-menu__image {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
}


.mega-menu__image {
    max-width: 280px;
}
.mega-menu__media .media__inner {
	position: relative;
}
.mega-menu__media .media__inner:after {
    content: '';
    background: #1E2749;
    width: 60px;
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    clip-path: polygon(0 100%, 0 0, 100% 0);
}

.mega-menu__address {
    font-size: 20px;
    text-align: left;
    margin-top: 40px;
    margin-left: 16%;
}

.mega-menu__address a {
	display: inline-block;
	font-size: 1em;
	font-weight: normal;
	color: #fff;
	text-transform: none;
	margin: 0;
}


.mega-menu__address a:hover {
	color: #079DD5;
}

/* Optional: wenn du den kompletten Container sauber halten willst */
.menu-menue-1-container,
.menu-menue-1-container ul {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}



/* Secondary Menu */

ul#secondary-menu {
	flex-direction: column;
}

ul#secondary-menu a {
    line-height: 1.4;
    font-size: 24px;
    text-align: right;
}












.toggle-nav {
	display: none;
    width: 36px;
    height: 36px;
	cursor: pointer;
	position: relative;
	padding: 0 !important;
    z-index: 10;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;    
	background: none;
    border: 0 !important;
    min-width: 0;
    margin: 0;
	border-radius: 0 !important;
    margin-left: 60px;
}
.toggle-nav:hover, 
.toggle-nav:active, 
.toggle-nav:focus {
	background: transparent !important;
}
.toggle-nav:focus {
    border: 0 !important;
	outline: thin dotted;
}

.toggle-nav span.lines, .toggle-nav span.lines:before, .toggle-nav span.lines:after {
	border-radius: 0px;
	height: 4px;
	width: 36px;
	background: #1E2749;
	position: absolute;
	left: 0;
	display: block;
	content: '';
}
.toggle-nav span.lines:before,
.toggle-nav span.lines:after {
	top: -12px;
	bottom: auto;
}
.toggle-nav span.lines:after {
	top: auto;
	bottom: -12px; 
}
.toggle-nav span.lines, .toggle-nav span.lines:before, .toggle-nav span.lines:after {
	transition: all 500ms ease-in-out;
}
.toggle-nav.active span.lines:before, .toggle-nav.active span.lines:after {
	top: 0px;
	background: #ffffff;
}
.toggle-nav.active span.lines {
	background: transparent;
}
.toggle-nav.active span.lines:before {
	transform: rotate(45deg);
}
.toggle-nav.active span.lines:after {
	transform: rotate(-45deg);
}









.menuopen .main-navigation {
    transform: translateY(0px);
}

body.menuopen {
    overflow: hidden;
}





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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

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

.post,
.page {
	margin: 0;
}

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

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

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

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

.bypostauthor {
	display: block;
}

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

.widget select {
	max-width: 100%;
}

/* 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 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;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

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

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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







/*--------------------------------------------------------------
# Allgemein
--------------------------------------------------------------*/

.container {
	width: 100%;
	max-width: 1300px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}

.site-main {
    margin-top: 220px;
}


.vc_row.bgweiss,
.vc_row.bgkeiner {
    padding: 24px 69px;
    position: relative;
    margin-bottom: 160px;
}

.vc_row.bgweiss {
    background: #fff;
}

.bgweiss .wpb_single_image {
    margin-bottom: -160px;
}

.wpb_single_image .vc_single_image-wrapper {
    position: relative;
}

.vc_row.bgweiss:before,
.dienstleistung:after,
.slide-item:after {
    content: '';    
	background: #E4ECEE;
    width: 130px;
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    top: -1px;
    right: -1px;
    clip-path: polygon(100% 100%, 100% 0, 0 0);
}

/* Ecke oben links hellblau */
.dienstleistung-image:after,
.bgkeiner .vc_single_image-wrapper:after {
    content: '';    
	background: #E4ECEE;
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    clip-path: polygon(0 100%, 0 0, 100% 0);
}

/* Ecke oben links weiss */
.bgweiss .vc_single_image-wrapper:after,
.bgweiss .dienstleistung-image:after {
    content: '';    
	background: #fff;
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    clip-path: polygon(0 100%, 0 0, 100% 0);
}

.vc_row.bgweiss:before,
.bgweiss .vc_single_image-wrapper:after,
.bgkeiner .vc_single_image-wrapper:after,
.mitarbeiter-bild:after,
.dienstleistung:after,
.dienstleistung-image:after,
.slide-item:after,
.site-footer:after {
    width: 90px;
}





.wpb_single_image,
.dienstleistung-image {
    overflow: hidden;
}

.wpb_single_image img,
.dienstleistung-image img {
	transition: all ease 300ms;
}

.wpb_single_image:hover img,
.dienstleistung-image:hover img {
	transform: scale(1.05);
}




.mw936 {
	max-width: 936px;
}








/*--------------------------------------------------------------
# Startseite
--------------------------------------------------------------*/

.fenster {
    max-width: 540px;
    padding: 116px 50px 90px;
    color: #fff;
    font-size: 36px;
    text-align: center;
    line-height: normal;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1370' height='1009' viewBox='0 0 1370 1009' fill='none'%3E%3Cpath d='M1370 1009V1.2063L275.5 0L0 274.902V1009H1370Z' fill='%231E2749'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    float: right;
    bottom: 0;
    z-index: 2;
    margin-bottom: 80px !important;
    margin-right: 40px;
}


.video-startseite {
	margin-top: 100px;
	margin-bottom: -210px;
}

.video-startseite iframe,
.video-startseite video {
    width: 100%;
    height: auto;
    display: block;
}




/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/
.slides-slider-wrapper {
    margin-top: 70px;
}

.slide-item {
    position: relative;
    background: #fff;
	padding: 30px 67px 95px;
}


.slide-inner-row {
    display: flex;
    gap: 39px;
}




.slide-button-wrap {
    margin-left: auto;
}




.slick-dots {
    bottom: 20px;
}

.slick-dots li button {
    width: 14px;
    height: 14px;	
}

.slick-dots li button:before {
    width: 14px;
    height: 14px;
    content: '';
    text-align: center;
    opacity: 1 !important;
    border: 1px solid #1E2749;
    border-radius: 50%;
}

.slick-dots li.slick-active button:before {
    background: #1E2749;
}


/*--------------------------------------------------------------
# Button
--------------------------------------------------------------*/


.vc_btn3-container {
	margin-bottom: 24px !important;
	padding-right: 46px;

}

.vc_btn3-container.vc_do_btn .vc_btn3 {
    --arrow-width: 30px;
    --stroke: 3px;
    --color: #1E2749;

    position: relative;
    display: inline-flex !important;
    align-items: center;
    min-height: var(--btn-height);
    padding: 15px 30px !important;
    padding-right: 30px !important;
	min-width: 320px;

    background: transparent !important;
    color: var(--color) !important;
    border: 0 !important;
    border-top: var(--stroke) solid var(--color) !important;
    border-bottom: var(--stroke) solid var(--color) !important;
    border-left: var(--stroke) solid var(--color) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
	font-size: 28px;

    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: visible !important;
	transition: none !important;
}

/* feste rechte Spitze */
.vc_btn3-container.vc_do_btn .vc_btn3::after {
    content: "";
    position: absolute;
    top: calc(var(--stroke) * -1);
    right: calc(var(--arrow-width) * -1);
    width: var(--arrow-width);
    height: calc(100% + var(--stroke) * 1.9);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    pointer-events: none;

    background-image: url('images/Pfeil.svg');
}



/* Hover */
.vc_btn3-container.vc_do_btn .vc_btn3:hover {
    --color: #079DD5;
}
.vc_btn3-container.vc_do_btn .vc_btn3:hover::after {
    background-image: url('images/Pfeil-hover.svg');
}


.vc_btn3-container.vc_do_btn .vc_btn3 {
    background-image: none !important;
    border-radius: 0 !important;
}







.vc_btn3-container + .wpb_text_column {
    margin-top: 40px;
}






/*--------------------------------------------------------------
# Gravity Forms
--------------------------------------------------------------*/






/*--------------------------------------------------------------
# Mitarbeiter
--------------------------------------------------------------*/

.mitarbeiter-filter-wrap{
	display:flex;
	flex-wrap:wrap;
	gap:16px;
	align-items:center;
	justify-content:space-between;
	margin-bottom:24px;
}

.mitarbeiter-search{
	margin-left:auto;
	position:relative;
	min-width:260px;
	max-width:320px;
	width:100%;
}

.mitarbeiter-search-toggle svg {
	width: 30px;
	height: 30px;
}

.mitarbeiter-search-collapsed{
	margin-left:auto;
	position:relative;
	display:flex;
	align-items:center;
}

.mitarbeiter-search-toggle{
	background:none;
	border:none;
	cursor:pointer;
	display:flex;
	align-items:center;
	justify-content:center;
	padding: 0;
	color:#1E2749;
}

.mitarbeiter-search-input{
	position:absolute;
	right:0;
	top: 150%;
	width: 0;
	opacity: 0;
	padding: 10px 14px;
	border: 0 !important;
	border-radius: 0 !important;
	transition:all 0.3s ease;
	pointer-events:none;
	color:#1E2749;
	background: #fff;
	outline: none;
}

/* geöffnet */
.mitarbeiter-search-collapsed.active .mitarbeiter-search-input{
	width:220px;
	opacity:1;
	pointer-events:auto;
	padding-left:14px;
}

.mitarbeiter-filter{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.filter-btn{
	font-size:34px;
	padding:0;
	border:0;
	background:transparent;
	cursor:pointer;
	position:relative;
}

/* Linie */
.filter-btn:not(:last-child)::after{
	content:"";
	display:inline-block;
	width:1px;
	height:28px;
	background:#000;
	margin:0 20px;
	vertical-align:middle;
}

.filter-btn.active{
	color:#079DD5;
	font-weight:700;
}

.filter-btn span{
	display:inline-block;
}

.filter-btn.active span{
	font-weight:700;
}


.filter-btn span{
	min-width:max-content;
}

.mitarbeiter-grid{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:30px;
}

.mitarbeiter-bild {
    aspect-ratio: 650 / 907;
    background: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 30px;
	overflow: hidden;
}

.mitarbeiter-bild:after {
    content: '';    
	background: #E4ECEE;
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    clip-path: polygon(0 100%, 0 0, 100% 0);
}

.mitarbeiter-bild img{
	position: absolute;
	height: 90%;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	transition: transform 300ms ease;
}



/* Hover Effekt */
.mitarbeiter-item:hover .mitarbeiter-bild img{
	transform: translateX(-50%) scale(1.05);
}

.mitarbeiter-item a {
	text-decoration: none;
    color: #1E2749;
}

.mitarbeiter-item a:hover {
	color:#079DD5;
}

.mitarbeiter-name {
    font-weight: bold;
}

.abteilung,
.funktion {
    margin-top: 20px;
    font-size: 16px;
}


@media (max-width:1000px){
	.mitarbeiter-grid{
		grid-template-columns:repeat(2,1fr);
	}
}

@media (max-width:600px){
	.mitarbeiter-grid{
		grid-template-columns:1fr;
	}
}





/*--------------------------------------------------------------
# Dienstleistungen
--------------------------------------------------------------*/

.dienstleistungen-wrap {
	width: 100%;
	margin-top: 130px;
}

.dienstleistung {
    position: relative;
    padding: 24px 69px 10px;
	margin-bottom: 280px;
}

.dienstleistung.bgweiss {
	background: #ffffff;
}


.dienstleistung-title {
    width: 100%;
    margin: 0 0 25px 0;
    padding-right: 10%;
}

.dienstleistung-content-wrap {
	display: flex;
	gap: 60px;
	align-items: flex-start;
}

.dienstleistung-text {
	width: 69%;
}

.dienstleistung-image {
    position: relative;
	width: 31%;
	margin-bottom: -200px;
	flex-shrink: 0;
}

.dienstleistungen-wrap.news-wrap {
    margin-top: 80px;
}

.news-wrap .dienstleistung-image {
    max-width: 300px;
}

.dienstleistung-image img {
	width: 100%;
	height: auto;
	display: block;
}







/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/


.site-footer {
	position: relative;
	background: #1E2749;
	color: #fff;
	font-size: 16px;
	margin-top: 120px;
	padding-top: 50px;
	padding-bottom: 20px;
}

.site-footer .container {
  max-width: 1300px;
}

.site-footer a {
	color: #fff;
}

.site-footer:after {
    content: '';    
	background: #E4ECEE;
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    top: -1px;
    left: 0px;
    clip-path: polygon(0 100%, 0 0, 100% 0);
}

.footer_logo {
	display: block;
  width: 180px;
  height: 80px;
	background: url(images/FIT-Logo-weiss.png) no-repeat;
	background-size: contain;
	background-position: center;
	margin-bottom: 50px;
}

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

.svit_logos {
    display: flex;
    gap: 10px;
	margin-top: 10px;
	margin-bottom: 30px;
}

a.svit-ostschweiz {
    width: 113px;
    height: 57px;
    display: block;
    background-image: url(images/SVIT-Logo-Ostschweiz.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

a.svit-ostschweiz:hover {
    background-image: url(images/SVIT-Logo-Ostschweiz-weiss.svg);
}

a.svit-stwe-schweiz {
    width: 132px;
    height: 57px;
    display: block;
    background-image: url(images/SVIT-Logo-STWE.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

a.svit-stwe-schweiz:hover {
    background-image: url(images/SVIT-Logo-STWE-weiss.svg);
}

a.treuhand-suisse {
    width: 220px;
    height: 40px;
    display: block;
    background-image: url(images/Treuhand-Suisse.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-top: 10px;
}

a.treuhand-suisse:hover {
    background-image: url(images/Treuhand-Suisse-weiss.svg);
}

.footer_box.impressum {
    margin-top: 30px;
}

.footer_box.impressum a {
    display: block;
}

.social_icons {
	margin-top: 20px;
	display: flex;
	gap: 10px;
}

.social_icons a {
}

.social_icons a svg {
	width: 39px;
	height: 39px;
}

.social_icons a:hover svg path {
	fill: #fff;
}


.footer_credits {
	text-align: center;
	font-size: 10px;
	margin-top: 30px;
}

.footer_credits span {
	display: inline-block;
	margin: 0 10px;
}












@media screen and (max-width: 1420px) {
	.toggle-nav {display: block;}
	
	.main-navigation {
		display: flex;
		flex-direction: column;
		gap: 30px;
		justify-content: center;
		align-items: center;
		width: 100%;
		position: absolute;
		height: 100vh;
		top: 0;
		background: #1E2749;
		left: 0;
        padding: 80px 0;
		transform: translateY(-100%);
        overflow: auto;
		z-index: 9;
	}
	
	.menu-menue-1-container { flex: 0;}
	
	.main-navigation a {
		color: #fff;
		text-align: center;
	}
	
	.main-navigation .mega-menu { flex-direction: column; margin: 0;}
	.main-navigation .mega-menu > li {padding: 10px;}
	
	ul#secondary-menu a { text-align: center;}
	
	.mega-menu-panel { padding-top: 30px; padding-left: 0; padding-right: 0;}
	.mega-menu-panel__inner { grid-template-columns: 1fr; grid-gap: 50px; opacity: 1;}
	.mega-menu__col--meta { display: none;}
	
	
    .mega-menu > li.is-open .mega-menu-panel {
        position: relative;
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
        visibility: visible;
    }
	
	
	
    .mega-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        padding: 0;
        cursor: pointer;
        flex: 0 0 42px;
    	margin-right: -46px;
    }

    .mega-menu-toggle span {
        width: 14px;
        height: 14px;
        border-right: 3px solid #fff;
        border-bottom: 3px solid #fff;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    .mega-menu > li.is-open .mega-menu-toggle span {
        transform: rotate(-135deg);
    }

	
	
	.site-header { position: fixed; background-color: #E4ECEE; z-index: 9;}
	
	
	
	h1, h2 { font-size: 62px;}
	h3 {font-size: 44px;}
	.lead { font-size: 22px;}
	
	.vc_btn3-container.vc_do_btn .vc_btn3 { font-size: 22px;}
	
	

	
	
	.mitarbeiter-filter-wrap{
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type:x proximity;
	}

	.mitarbeiter-filter{
		flex-wrap: nowrap;
		width: max-content;
	}

	.filter-btn{
		font-size: 28px;
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align:start;  
	}

	.mitarbeiter-filter-wrap::-webkit-scrollbar{
		display:none;
	}
	
	
	
	.fenster { max-width: 460px; padding: 70px 40px 60px; font-size: 30px; margin-right: 20px;}
	
	
	.site-footer { padding-left: 60px;}
}









@media screen and (max-width: 1088px) {
	
	
	
	h1, h2 { font-size: 46px;}
	h3 {font-size: 36px;}
	.lead { font-size: 20px;}
	
	.vc_btn3-container.vc_do_btn .vc_btn3 { font-size: 20px;}
	
	
	.main-navigation a:hover,
	.site-footer a:hover {
		color: #ffffff;
	}
	
	.vc_col-sm-4 { width: 100% !important;}
	
	.site-header { padding: 16px 25px 0px;}
	
	.fenster { max-width: 360px; font-size: 24px;}
	
	.bgweiss .wpb_single_image, .bgkeiner .wpb_single_image { margin-left: auto; max-width: 280px;}
	
	
	.dienstleistung-content-wrap {flex-direction: column; gap: 30px; }
	.dienstleistung-text {width: 100%;}
	.dienstleistung-image {display: none;}
	.dienstleistung { padding-bottom: 30px; margin-bottom: 80px;}
	
	.slide-inner-row { display: block;}
	
	.footer_columns { flex-wrap: wrap;}
	.footer_box { width: 50%; margin-bottom: 40px;}
}






@media screen and (max-width: 767px) {
	
	
	.video-startseite { margin-bottom: -40px;}
	
    .fenster { max-width: 240px; font-size: 14px; padding: 40px 30px 20px 40px; }
	
	
	.mega-menu-services__item + .mega-menu-services__item { margin-top: 18px;}
	.mega-menu-services__item a { font-size: 22px;}
	
	.dienstleistung { padding-left: 15px; padding-right: 15px; padding-top: 60px;}
	
	.dienstleistungen-wrap.news-wrap { margin-top: 40px;}
	
	
	.vc_btn3-container.vc_do_btn .vc_btn3 { min-width: 240px;}
	
	.slide-item { padding: 80px 15px 95px;}
	
	.vc_row.bgweiss, .vc_row.bgkeiner {padding: 60px 15px 24px;}
	
	
	.mitarbeiter-filter-wrap{
		align-items:stretch;
	}

	.mitarbeiter-search{
		min-width:100%;
		max-width:100%;
	}
	
	
	.footer_box { width: 100%;}
	.footer_credits {text-align: left;}
	.footer_credits span {display: block;}
	
}