/*
Theme Name: trendhouse
Author: Micha Indermaur, St.Gallen
Author URI: https://michaindermaur.ch
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	overflow-x: hidden !important;
}

body {
	margin: 0;
	overflow-x: hidden !important;
}

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

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

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

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

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

b,
strong {
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
}

dfn {
	font-style: italic;
}

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

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

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

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

figure {
	margin: 1em 40px;
}

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

pre {
	overflow: auto;
}

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

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

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

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

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

input {
	line-height: normal;
}

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

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

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

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

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}

::selection {
	color: #fff;
	background-color: #00aca9 !important;
}
::-moz-selection {
	color: #fff;
	background-color: #00aca9 !important;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #23284d;
	font-family: Campton-Book, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	clear: both;
}

p {
	margin-bottom: 1.5em;
	font-weight: normal;
}
.karte_inhalt p {
	margin-bottom: 0;
}

.header_titel h1,
.flexslider h2 {
	margin: 0 0 20px 0;
	color: #fff;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 45px;
	font-size: 4.5rem;
	line-height: 1.3;
	text-align: center;
}
.header_titel h1 span,
.flexslider h2 span {
	border-bottom: 7px solid #fff;
}
.header_titel p,
.flexslider p {
	margin: 0;
	color: #fff;
	font-family: Campton-Book, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.5;
}
.introtext h2,
.karte_inhalt h3,
.markenintro h2 {
	margin: 0 0 10px 0;
	color: #00aca9;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	font-size: 2.0rem;
	line-height: 1.5;
}
.introtext h2,
.markenintro h2 {
	display: inline-block;
	border-bottom: 3px solid #23284d;
}
.introtext h2 span,
.karte_inhalt h3 span {
	border-bottom: 3px solid #23284d;
}
.team_inhalt h3 {
	margin: 0 0 10px 0;
	color: #00aca9;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}
.team_inhalt h3 span {
	border-bottom: 2.5px solid #23284d;
}
.zusatztext h2 {
	margin: 0 0 20px 0;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.5;
}
.zusatztext h3 {
	margin: 0;
	color: #00aca9;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	font-size: 2.0rem;
	line-height: 1.5;
	display: inline-block;
	border-bottom: 3px solid #23284d;
}

#colophon {
	color: #dcdedf;
	font-size: 13px;
	font-size: 1.3rem;
}
#colophon h3 {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}
#colophon p {
	margin: 0 0 1.5em 0;
}

@media screen and (max-width: 1050px) {
	.header_titel h1,
	.flexslider h2 {
		margin: 0 0 20px 0;
		font-size: 36px;
		font-size: 3.6rem;
	}
	.header_titel h1 span,
	.flexslider h2 span {
		border-bottom: 6px solid #fff;
	}
	.header_titel p,
	.flexslider p {
		margin: 0;
		font-size: 20px;
		font-size: 2.0rem;
	}
}
@media screen and (max-width: 700px) {
	.header_titel h1 {
		margin: 0 0 20px 0;
		font-size: 26px;
		font-size: 2.6rem;
	}
	.flexslider h2 {
		margin: 0 0 20px 0;
		font-size: 22px;
		font-size: 2.2rem;
	}
	.header_titel h1 span,
	.flexslider h2 span {
		border-bottom: 3px solid #fff;
	}
	.header_titel p,
	.flexslider p {
		margin: 0;
		font-size: 16px;
		font-size: 1.6rem;
	}
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

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

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

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

big {
	font-size: 125%;
}

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

*,
*:before,
*:after {
	box-sizing: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background-color: #00aca9;
}
body:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url(files/hg_blau.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

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

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

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

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

/*--------------------------------------------------------------
# Struktur
--------------------------------------------------------------*/
.satzspiegel {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
}
@media screen and (max-width: 1080px) {
	.satzspiegel {
		width: 90%;
	}
}
@media screen and (max-width: 700px) {
	.menu-wrap.satzspiegel {
		width: 100%;
	}
}

#page {
	width: 100%;
}

#masthead {
	position: relative;
	background-color: #52595d;
	height: 70px;
	padding: 25px 0;
}

#logo {
	position: absolute;
	top: -15px;
	float: left;
	z-index: 10000;
}
@media screen and (max-width: 700px) {
	#logo {
		margin: 0 5%;
}
}
#site-navigation {
	float: right;
}
#content {
	margin-bottom: 0px;
}

/* Footer */
#colophon {
	margin-top: 80px;
	padding-top: 40px;
	background-color: #52595d;
}
.page-template-template-fashion #colophon,
.page-template-template-zusatztext #colophon {
	margin-top: 0;
}

#footer-logo {
	margin-bottom: 40px;
}

#footer-widgets .widget {
	width: 23.5%;
	margin: 0 2% 0 0;
	float: left;
}
#footer-widgets .widget:nth-child(4) {
	margin: 0;
}
#footer-widgets .widget-title {
	display: none;
}
.site-info {
	padding: 20px 0;
	border-top: 1px solid #aaa;
	clear: both;
}
@media screen and (max-width: 700px) {
	#footer-widgets .widget {
		width: 100%;
		margin: 0;
		float: left;
	}
	#colophon {
		margin-top: 40px;
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #23284d;
}

a:visited {
	color: #23284d;
}

a:hover,
a:focus,
a:active {
	color: #23284d;
}

a:focus {
	outline: none;
}

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

#masthead a {
	color: #dcdedf;
	text-decoration: none;
}
#masthead a:hover,
#masthead a:focus,
#masthead a:active {
	color: #fff;
}
#content a {
	color: #23284d;
	text-decoration: none;
	border-bottom: 1.5px solid #00aca9;
}
#content a:hover,
#content a:focus,
#content a:active {
	color: #00aca9;
}
#colophon a {
	color: #dcdedf;
	text-decoration: none;
}
#colophon a:hover,
#colophon a:focus,
#colophon a:active {
	color: #fff;
}
#content .flexslider a {
	text-decoration: none;
	border-bottom: 0px;
}
#content .flexslider a:hover,
#content .flexslider a:focus,
#content .flexslider a:active {
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
}

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

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

.main-navigation a {
	display: block;
	padding: 0 25px 0 0;
	font-family: Campton-Book, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 14px;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	text-decoration: none;
	cursor: pointer;
}

.main-navigation ul ul {
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

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

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

.main-navigation ul ul li {

}

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

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

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

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Submenu */

.main-navigation ul ul {
    position: absolute;
    left: 0;
    top: 35px;
    padding: 0 1000em 20px 1000em; /* trick from css-tricks comments */
    margin: 0 -1000em; /* trick from css-tricks comments */
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    background: #52595d;
    transition: all 0.3s ease-in;
}
.main-navigation ul > li:hover > ul {
    visibility: visible;
    opacity: 1;
}
.main-navigation ul > li > ul > li {
    padding: 3px 0;
}
.sub-menu a {
	display: block;
	padding: 0 0 5px 0;
	font-family: Campton-Book, Helvetica, Arial, sans-serif;
	text-transform: none;
	letter-spacing: 0.1em;
	text-decoration: none;
	font-size: 14px;
	font-size: 1.4rem;
}

/* Small menu */
.menu-toggle {
	display: none;
}

@media screen and (max-width: 700px) {
	.menu-toggle,
	button.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
		border: 0;
	}

	#site-navigation {
		position: relative;
		width: 100%;
		top: 0;
		float: right;
		z-index: 99999999;
	}
	.menu-menu-container {
		position: absolute;
		top: 40px;
		padding-top: 20px;
		background-color: #52595d;
	}
	.main-navigation ul {
		display: none;
	}
	.main-navigation li {
		float: left;
		position: relative;
		width: 100%;
		padding: 5%;
		border-top: 0px solid #dedede;
	}
	.main-navigation a {
		display: block;
		margin-left: 0;
		margin-bottom: 10px;
		padding: 0;
		font-size: 16px;
		font-size: 1.6rem;
		text-decoration: none;
		text-align: center;
    }
    .main-navigation ul ul {
	    display: block;
	    width: 100%;
	    padding: 0;
	    margin: 0;
	    visibility: visible;
	    opacity: 1;
	    float: left;
	    left: -0px;
	    position: relative;
	    top: 0px;
	    z-index: 99999;
	    -webkit-box-shadow: none;
	    box-shadow: none;
	}
	.main-navigation ul ul a {
		width: 100%;
		margin-bottom: 10px;
		text-align: center;
	}
	button.menu-toggle {
		position: absolute;
		border: transparent;
		background: transparent;
		margin: 0;
		padding: 0;
		top: -5px;
		right: 5%;
		width: 30px;
		height: 30px;
	}
	button.menu-toggle:hover {
		background: transparent;
	}
	button.menu-toggle:after {
		position: absolute;
		content: "";
		width: 30px;
		height: 24px;
		top: 0;
		right: 5%;
		background: url(files/menu.svg);
	}
}

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

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

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

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

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

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

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

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

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

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

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

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

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

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

.hentry {
	margin: 0 0 1.5em;
}

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

.single .byline,
.group-blog .byline {
	display: inline;
}

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

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

/* Home */

/* Header */
.page_header_wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.page-parent .page_header_wrap {
    height: 36vw;
}
.page-child .page_header_wrap {
	height: auto;
}
.flexslider .imagebox:after,
.page_header_wrap:after {
    position: absolute;
	height: 22vw;
    background: linear-gradient(180deg, rgba(82, 89, 93, 0.0), rgba(82, 89, 93, 0.6));
    left: 0;
    right: 0;
    bottom: 0;
    content:" ";
    z-index: 1000;
}
.page-child .page_header_wrap:after {
	background: none;
}
.header_bild {
    height: 36vw;
}
.header_titel {
	position: relative;
	width: 90%;
	margin: 0 5%;
	text-align: center;
	z-index: 2000;
}
.page-parent .header_titel {
	position: absolute;
	top: 20vw;
}
.page-child .header_titel {
	position: relative;
	margin: 10vw 5%;
}
@media screen and (max-width: 1000px) {

}
@media screen and (max-width: 700px) {
	.page-parent .page_header_wrap {
	    height: 100vw;
	}
	.page-parent .header_bild {
	    height: 50vw;
		width: 100%;
		overflow: hidden;
	}
	.page-parent .header_titel {
		position: relative;
		width: 90%;
		margin: 0 5%;
	    top: 20px;
	}
	.page-child .header_titel {
		margin: 15vw 5%;
	}
}

/* Introtext */
.introtext_wrap {
    margin: 0 0 60px;
	padding: 80px 0;
	background-color: #fff;
}
.introtext {
	text-align: center;
}
.page-child .introtext_wrap {
	display: none;
}
@media screen and (max-width: 1000px) {
	.introtext_wrap {
		padding: 60px 0;
	}
}
@media screen and (max-width: 700px) {
	.introtext_wrap {
		padding: 40px 0;
	}
	.introtext {
		width: 90%;
	}
}

/* Karten */
.karten_wrap {
	padding: 0;
}
.homekarte,
.karte {
	height: 350px;
	margin-bottom: 40px;
	clear: both;
}
.karte_bild {
	width: 66%;
	height: 350px;
	overflow: hidden;
	float: left;
}
.karte_bild img {
	width: 100%;
	height: 100%; 
	object-fit: cover;
}
.karte_inhalt {
	width: 34%;
	height: 350px;
	padding: 40px;
	background-color: #fff;
	float: right;
}
.homekarte:nth-child(2n) .karte_bild,
.karte:nth-child(2n) .karte_bild {
	float: right !important;
}
.homekarte:nth-child(2n) .karte_inhalt,
.karte:nth-child(2n) .karte_inhalt {
	float: left !important;
}
#content .karte_button a {
	padding: 10px;
	color: #fff;
	text-decoration: none;
	background-color: #00aca9;
	border-bottom: 0px;
}
#content .karte_button a:hover {
	background-color: #23284d;
	border-bottom: 0px;
}
.page-child .karte_button {
	display: none;
}
@media screen and (max-width: 1000px) {
	.homekarte,
	.karte {
		height: auto;
		margin-bottom: 40px;
		clear: both;
	}
	.karte_bild {
		line-height: 0;
	}
	.karte_bild img {
		width: 100%;
		height: auto;
	}
	.karte_inhalt {
		padding: 20px;
	}
	.karte_bild,
	.karte_inhalt {
		position: relative;
		width: 100%;
		max-width: 660px;
		height: auto;
		margin: 0 auto;
		overflow: hidden;
		float: none;
	}
	.homekarte:nth-child(2n) .karte_bild,
	.karte:nth-child(2n) .karte_bild {
		float: none !important;
	}
	.homekarte:nth-child(2n) .karte_inhalt,
	.karte:nth-child(2n) .karte_inhalt {
		float: none !important;
	}
}

/* Marken */
.marken_wrap {
	width: 100%;
	margin-top: 80px;
	padding: 40px 0;
	background-color: #fff;
	overflow: hidden;
}
.markenintro {
	text-align: center;
}
.marken_box {
	position: relative;
	width: 160px;
	height: 160px;
	float: left;
	text-align: center;
}
.marken_box img {
	max-width: 60%;
	max-height: 40%;
	width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
@media screen and (max-width: 700px) {
	.marken_box {
		position: relative;
		width: 50%;
		float: left;
		text-align: center;
	}
}

/* Team */
.team_wrap {
	padding: 80px 0 0 0;
}
.team {
	width: 23.5%;
	height: 415px;
	margin: 0 2% 40px 0;
	float: left;
}
.team:nth-child(4n) {
	margin: 0 0 40px 0;
}
.team_portrait {
	height: 235px;
	overflow: hidden;
}
.team_portrait img {
	width: 100%;
}
.team_inhalt {
	height: 180px;
	padding: 20px;
	background-color: #fff;
}
@media screen and (max-width: 1000px) {
	.team {
		width: 49%;
		height: 415px;
		margin: 0 2% 40px 0;
		float: left;
	}
	.team:nth-child(2n) {
		margin: 0 0 40px 0;
	}
}
@media screen and (max-width: 700px) {
	.team {
		width: 100%;
		height: auto;
		margin: 0 0 40px 0;
		float: left;
	}
	.team_inhalt {
		height: auto;
		padding: 20px;
		background-color: #fff;
	}
}

/* Standard */
.zusatztext_wrap {
	padding: 80px 0;
	background-color: #fff;
}
.zusatztext {
	width: 66%;
	margin: 0 auto;
}
@media screen and (max-width: 700px) {
	.zusatztext_wrap {
		padding: 40px 0;
		background-color: #fff;
	}
	.zusatztext {
		width: 100%;
		margin: 0 auto;
	}
}


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

.bypostauthor {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #00aca9;
	color: #fff;
	padding: .6em 1em .4em;
	border: 0;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #23284d;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #23284d;
}

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: 0px solid #ccc;
	padding: 6px;
}

select {
	border: 1px solid #ccc;
}

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

textarea {
	width: 100%;
}

.nf-field-label label {
    font-weight: normal !important;
    margin: 0;
    padding: 0;
}
.nf-form-fields-required {
	margin: 1em 0 1.5em 0;
}
.ninja-forms-req-symbol, .nf-error-msg {
    color: #00aca9 !important;
}
.nf-field-container {
	margin-top: -1.5px;
	margin-bottom: 0 !important;
	padding: 10px;
	border: 1.5px solid #23284d;
}
.submit-container {
	padding-top: 20px;
	border: 0 !important;
}
.nf-error .ninja-forms-field {
    border: 1px solid #E80000;
}
.nf-response-msg {
	color: #00aca9;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	font-size: 2.0rem;
	line-height: 1.5;
}

/*--------------------------------------------------------------
# Home Slider
--------------------------------------------------------------*/
.slide {
     position: relative;
     z-index: 1;
}
.flexslider {
    height: 36vw; /* 60vh / 500px */
	max-width: 100%;
    margin: 0 0 60px;
    background: transparent;
    border: 0px;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0;
    -moz-box-shadow: 0;
    -o-box-shadow: 0;
    box-shadow: 0;
}
.flexslider .slides {
    height: 36vw; /* 60vh / 500px */
}
.flexslider .imagebox {
    height: 36vw; /* 60vh / 500px */
	width: 100%;
	overflow: hidden;
}
.flexslider .contentbox {
     position: relative;
     top: 0;
}
.flexslider .slide-content {
     position: absolute;
     width: 80%;
     top: 20vw;
     margin: 0 10%;
     z-index: 2000;
}
.flexslider .slide-content h2,
.flexslider .slide-content p {
	color: #fff;
	text-align: center;
}
.flex-control-nav {
	display: none;
    width: 100%;
    position: relative;
    top: -2.5vw;
    text-align: center;
    z-index: 10000;
}
.flex-direction-nav a {
    display: inline-block;
}
.flex-direction-nav .flex-prev {
  left: 5vw;
}
.flex-direction-nav .flex-next {
  right: 5vw;
  text-align: right;
}
.flex-direction-nav a.flex-next {
	background-image: url(files/pfeil_next.svg);
	background-repeat: no-repeat;
	background-size: 24px 48px;
}
.flex-direction-nav a.flex-prev {
	background-image: url(files/pfeil_prev.svg);
	background-repeat: no-repeat;
	background-size: 24px 48px;
}
.flex-control-paging li a {
    background: transparent;
    border: 1px solid #fff;
    text-indent: -9999px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.flex-control-paging li a.flex-active {
    background: #fff;
}

@media screen and (max-width: 800px) {
	.flexslider {
	    height: 50vw;
		max-width: 100%;
	}
	.flexslider .slides {
	    height: 50vw;
	}
	.flexslider .imagebox {
	    height: 50vw;
		width: 100%;
		overflow: hidden;
	}
	.flexslider .slide-content {
	    top: 25vw;
	}
}
@media screen and (max-width: 700px) {
	.flexslider {
	    height: 100vw;
		max-width: 100%;
	}
	.flexslider .slides {
	    height: 50vw;
	}
	.flexslider .imagebox {
	    height: 50vw;
		width: 100%;
		overflow: hidden;
	}
	.flexslider .imagebox:after,
	.page_header_wrap:after {
		display: none;
	}
	.flexslider .slide-content {
		position: relative;
		width: 90%;
		margin: 0 5%;
	    top: 20px;
	}
	.flex-direction-nav {
		display: none;
	}
}

/*--------------------------------------------------------------
# Lazy Load
--------------------------------------------------------------*/
.lazy_hidden {
	opacity: 0;
}
.lazy_visible{
	opacity: 1;
}

/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
.error404 #content {
	min-height: 85vh;
	margin-top: 25vh;
}
.error404 h1 {
	margin: 0 0 20px 0;
	color: #fff;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.8;
	text-align: center;
}
.error404 h1 span {
	padding: 0;
	border-bottom: 4px solid #fff;
}
.error404 .entry-content p {
	color: #fff;
	font-family: Campton-Bold, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.3;
	text-align: center;
}
.error404 #content a {
	color: #fff;
	border-bottom: none;
}

.page-id-474 .page_header_wrap,
.page-id-474 .introtext_wrap,
.page-id-1646 .page_header_wrap,
.page-id-1646 .introtext_wrap {
  display:none;
}

/* PrivacyBee */
.KFaIpG_h1,
.KFaIpG_h2,
.KFaIpG_h3,
.KFaIpG_text,
.KFaIpG_link,
.CCca4W_expandableName,
.CCca4W_expandableDescription,
.CCca4W_expandableRight,
.CCca4W_expandableText,
.KFaIpG_listElement {
  color: #23284d !important;
  hyphens: auto;
}
.KFaIpG_link {
  line-height: 24px !important;
}
.KFaIpG_h1.KFaIpG_pt14 {
  padding-top:0;
}
.page-id-1646 .entry-header {
display:none !important;
}
.page-id-1646 .entry-content p {
  margin-left: 0;
  width: 100%;
}
.page-id-1646 .entry-content ul, 
.page-id-1646 .entry-content ol {
  margin: 0px 0px 1.5em 0;
  padding: 0;
  color: #23284d;
  text-align:left;
}