/*!
Theme Name: casa fidelio
Theme URI: http://madebymuse.de/
Author: muse digitalagentur x rampenlicht
Author URI: http://madebymuse.de/
Description: Theme für Casa Fidelio
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: muse theme

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

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

/*--------------------------------------------------------------
# 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: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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: #fff;
}

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: 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
--------------------------------------------- */


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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
--------------------------------------------------------------*/

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

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

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

.main-navigation li {
	position: relative;
}

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

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

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

.post,
.page {
	margin: 0 0 1.5em;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 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 0 1.5em;
}

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


/* Start editing
--------------------------------------------- */

@font-face {
  font-family: 'ContrailOne';
  font-style: normal;
  src: url('css/fonts/ContrailOne-Regular.ttf');
  src: url('css/fonts/ContrailOne-Regular.ttf')
  format('truetype');
}

@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: normal;
	src: url('css/fonts/RobotoCondensed-Regular.ttf');
	src: url('css/fonts/RobotoCondensed-Regular.ttf')
	format('truetype');
  }

:root{
	--casa-light-blue: #85cfe6;
	--casa-mid-blue: #005e7f;
	--casa-dark-blue:#223d52;
	--casa-light-brown: #beaf96;
	--casa-orange: #ee9c50;
	--casa-light-green: #b7d167;
	--casa-mustard: #e3b973;
	--casa-lilac: #b5a9ce;
	--casa-teal-green: #71b8b6;
	--casa-greyish-blue: #88aacf;
}

body{
	font-family: 'Roboto Condensed', sans-serif;
	margin: 0 !important;
}  

/* INTRO >> HOME */
#intro {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	width: 100%;
	height: 100vh;
	height: calc((var(--vh2, 1vh) * 100) );
	background: rgba(34, 61, 82, 0.9);
	overflow: hidden;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
  
#intro.loaded{
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

#intro-text {
	font-family: 'ContrailOne', sans-serif;
	color: var(--casa-light-blue);
	font-size: 56px;
	width: 82%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	transition: .8s ease-in-out;
	-webkit-transition: .8s ease-in-out;
	opacity: 0;
  }  

  #intro-text.loaded{
	opacity: 1;
  }

  #intro-stroke {
	position: absolute;
	bottom: -25px;
	right: -10px;
	z-index: 100;
	width: 72%;
	height: auto;
  }
  #intro-stroke path {
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
  }

  #intro-stroke.pre-loaded path {
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	animation: dash 1.3s linear;
  }
  
  @keyframes dash {
	from {
	  stroke-dashoffset: 1000;
	  opacity: 0;
	}
	to {
	  stroke-dashoffset: 100;
	  opacity: 1;
	}
  }

  #intro-stroke.loaded path {
	stroke-dasharray: 0;
	stroke-dashoffset: 0;
  }
  
  

/* HEADER >> MAINSTYLES */
#masthead {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 100;
  }

/* HEADER >> NAV MENU */
.mobilMenu {
	position: fixed;
	left: 30px;
	top: 30px;
	z-index: 20000;
	display: block;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
	transition: 0.4s ease-in-out, opacity 0.6s ease-in-out;
	-webkit-transition: 0.4s ease-in-out, opacity 0.6s ease-in-out;
	opacity: 0;
  }

  .mobilMenu.loaded {
	opacity: 1;
  }

  #nav-icon {
	width: 40px;
	height: 32px;
	position: relative;
	margin: 0px auto;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
  }

  #nav-icon span{
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #ffffff;
	border-radius: 1px;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
  }

  #nav-icon.change-color span,
  body:not(.home, .has_accentcolor) #nav-icon span{
	background: var(--casa-dark-blue);
  }
  .nav_opend #nav-icon.change-color span,
  body:not(.home).nav_opend #nav-icon span,
  #nav-icon.whiteColor span{
	background: #fff !important;
  }

  #nav-icon span:nth-child(1) {
	top: 0px;
  }
  
  #nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
	top: 12px;
  }
  
  #nav-icon span:nth-child(4) {
	top: 24px;
  }
  
  #nav-icon.open span:nth-child(1) {
	top: 8px;
	width: 0%;
	left: 50%;
  }
  
  #nav-icon.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
  }
  
  #nav-icon.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
  }
  
  #nav-icon.open span:nth-child(4) {
	top: 8px;
	width: 0%;
	left: 50%;
  }

  #site-navigation {
	position: fixed;
	width: 100%;
	height: 100vh;
	background: var(--casa-dark-blue);
	left: 0;
	top: 0;
	transition: 0.4s ease-in-out, opacity 0.6s ease-in-out;
	-webkit-transition: 0.4s ease-in-out, opacity 0.6s ease-in-out;
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	overflow: auto;
  }

  .nav_opend #site-navigation{
  	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  .menu-menu-1-container {
	width: 82%;
	margin: auto;
	margin-top: 110px;
  }

  #primary-menu {
	display: block;
  }
  
  #primary-menu > li {
	display: block !important;
	width: 33% !important;
	position: relative;
	margin-bottom: 25px;
	min-width: 400px;
  }




  #primary-menu > li > a {
	font-family: 'ContrailOne', sans-serif;
	font-size: 34px;
	line-height: 1.4;
	text-transform: uppercase;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	letter-spacing: 4px;
	outline: none !important;
	opacity: 0;
	transform: translateY(40px);
  }

  .nav_opend #primary-menu > li > a{
	opacity: 1;
	transform: translateY(0px);
  }

  .nav_opend #primary-menu > li:nth-child(1) > a{
	transition-delay: .2s;
  }

  .nav_opend #primary-menu > li:nth-child(2) > a{
	transition-delay: .3s;
  }

  .nav_opend #primary-menu > li:nth-child(3) > a{
	transition-delay: .4s;
  }

  .nav_opend #primary-menu > li:nth-child(4) > a{
	transition-delay: .5s;
  }

  .nav_opend #primary-menu > li:nth-child(5) > a{
	transition-delay: .6s;
  }

  .nav_opend #primary-menu > li:nth-child(6) > a{
	transition-delay: .7s;
  }

  .nav_opend #primary-menu > li:nth-child(7) > a{
	transition-delay: .8s;
  }

  #primary-menu > li a{
	transition-delay: 0s;
  }

  #primary-menu > li .sub-menu{
	transform: translateY(40px);
	transition: transform 0.4s ease-in-out;
	-webkit-transition: transform 0.4s ease-in-out;
  }

  .nav_opend #primary-menu > li .sub-menu{
	transform: translateY(0px);
  }

  #primary-menu > li > a svg {
	transform: rotate(-90deg);
	width: 24px;
	display: inline-block;
	margin-left: 20px;
	position: absolute;
	top: 4px;
  }

  .cta-sidebar{
	transition: opacity 0.6s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	opacity: 0;
  }

  .nav_opend .cta-sidebar{
	opacity: 1;
	transition-delay: .4s;
  }

  #primary-menu > li > a svg path{
	fill: var(--casa-light-blue);
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }

  #primary-menu > li > a:hover svg path,
  #primary-menu > li > a.hovered svg path,
  #primary-menu > li.current-menu-item > a svg path,
  #primary-menu > li.current-page-ancestor > a svg path{
	fill: #fff;
  }

  /* #primary-menu > li.current-page-ancestor ul.sub-menu{
	display: block;
  } */

  li:not(#menu-item-90) .sub-menu > li.current-menu-item a{
	color: #fff !important;
  }

  #primary-menu > li > a span{
	color: var(--casa-light-blue);
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }

  #primary-menu > li > a:hover span,
  #primary-menu > li > a.hovered span,
  #primary-menu > li.current-menu-item > a span,
  #primary-menu > li.current-page-ancestor > a span{
	color: #fff;
  }

  #primary-menu > li ul a:hover{
	color: #fff;
  }

  .main-navigation ul ul {
	box-shadow: none;
	float: none;
	position: fixed;
	top: 110px !important;
	left: 36% !important;
	z-index: 100;
	display: none;
	min-width: 400px;
	height: calc(100% - 110px);
  }


  .sub-menu li {
	margin-bottom: 25px;
  }

  .main-navigation ul ul li a{
	color: var(--casa-light-blue);
	font-family: 'ContrailOne', sans-serif;
	font-size: 26px;
	line-height: 1.4;
	text-transform: uppercase;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	letter-spacing: 4px;
	width: auto !important;
  }

  .cta-sidebar {
	position: fixed;
	right: 60px;
	bottom: 10%;
	width: 40px;
  }
  
  .cta-sidebar li {
	margin-top: 30px;
  }

  .cta-sidebar li:last-of-type {
	padding-left: 4px;
	padding-right: 4px;
  }

  .cta-sidebar svg path,
  .cta-sidebar svg rect{
	fill: var(--casa-light-blue);
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }

  .cta-sidebar li a:hover svg path,
  .cta-sidebar li a:hover svg rect{
	fill: #fff;
  }

/* HEADER >> SITE BRANDING */
.site-branding {
	position: absolute;
	right: 60px;
	top: 40px;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	opacity: 0;
	width: 190px;
	height: auto;
  }

  .site-branding.loaded {
	opacity: 1;
  }

.site-branding.hide-sb {
	top: -340px;
  }

.nav_opend .site-branding.hide-sb {
	top: 40px;
  }  

  .site-branding svg {
	width: 100%;
	height: auto;
  }

  body:not(.home) .site-branding .st2 {
	fill: var(--casa-dark-blue);
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  } 
  
  body:not(.home).nav_opend .site-branding .st2 {
	fill: #fff;
  } 


/* CONTENT >> MAIN */  
.entry-content {
	margin-top: 0;
  }

.content-section {
	width: 82%;
	max-width: 1480px;
	margin: auto;
	padding: 60px 0 90px;
}

.content-section.no-pt{
	padding-top: 0;
}

.content-section.no-pb{
	padding-bottom: 0;
}

.content-section.distance-right .textwidget {
	max-width: 960px;
}


/* MAIN >> TEXT STYLES */
h1, h2 {
	font-family: 'ContrailOne', sans-serif;
	color: var(--casa-mid-blue);
	font-size: 48px;
	line-height: 1.4;
	font-weight: normal;
  }  
.content-section h1, .content-section h2 {
	margin-top: 0;
}  
h3 {
	font-family: 'ContrailOne', sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 1.4;
	margin: 0;
	color: var(--casa-mid-blue);
}
.entry-content p{
	font-size: 22px;
}  

/* CONTENT >> HERO HOME */  
#hero{
	position: relative;
	z-index: 10;
}
#hero .panel-grid-cell {
	width: 82%;
	max-width: 1480px;
	margin-left: auto;
	position: relative;
	min-height: 100vh;
	margin-right: auto;
  }
#speechbubble-hero {
	background: var(--casa-light-blue);
	color: #fff;
	width: 100%;
	max-width: 320px;
	padding: 25px;
	font-size: 36px;
	font-family: 'ContrailOne', sans-serif;
	position: absolute;
	left: 0%;
  	bottom: 20%;
	transition: 1s ease-in-out;
	-webkit-transition: 1s ease-in-out;
	opacity: 0;
	transform: scale(1.2);
	transform-origin: left center;
  }
  #speechbubble-hero.loaded {
	opacity: 1;
  }

#speechbubble-hero:after {
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid var(--casa-light-blue);
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
}

#speechbubble-hero p {
	margin: 0;
	line-height: 1.3;
	font-size: 36px;
  }    


/* LINKS > MORE-BTN */
  .more-btn {
	text-decoration: none;
	font-weight: 600;
  }

/* HOME > IMG/TEXT GRID */

.grid-row-dr,
.grid-row-dl {
	width: 82%;
	margin: auto;
}
.sb-left .panel-grid-cell,
.sb-right .panel-grid-cell {
	position: relative;
}

.grid-row-dr.sb-left .panel-grid-cell:last-of-type .so-panel,
.grid-row-dr.sb-left .panel-grid-cell:last-of-type .so-widget-sow-image,
.grid-row-dr.sb-left .panel-grid-cell:last-of-type .sow-image-container {
	position: absolute;
	height: 100%;
	width: 100%;
  }
.grid-row-dr .so-widget-image {
	height: 100% !important;
	/* aspect-ratio: 1; */
	object-fit: cover;
  }

.grid-row-dl.sb-right .panel-grid-cell:first-of-type .so-panel,
.grid-row-dl.sb-right .panel-grid-cell:first-of-type .so-widget-sow-image,
.grid-row-dl.sb-right .panel-grid-cell:first-of-type .sow-image-container {
	position: absolute;
	height: 100%;
	width: 100%;
}
.grid-row-dl .so-widget-image {
	height: 100% !important;
	object-fit: cover;
}


/* SPEECHBUBBLES SUBS */

.text-image-grid .speechbubble{
	width: 100%;
	max-width: 54%;
	padding: 25px;
	min-width: 390px;
	position: relative;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	transform: scale(1);
  }

  .text-image-grid .speechbubble:hover,
  .speechbubbles-angebot .speechbubble:hover{
	transform: scale(1.025);
  }
  .text-image-grid .speechbubble .more-btn,
  .speechbubbles-angebot .speechbubble .more-btn{
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  .text-image-grid .speechbubble .more-btn:hover,
  .speechbubbles-angebot .speechbubble .more-btn:hover{
	_color: var(--casa-dark-blue);
  }
  .text-image-grid .speechbubble .more-btn:hover,
  .speechbubbles-angebot .speechbubble .more-btn:hover{
	color: var(--casa-mid-blue);
  }


.sb-left .panel-grid-cell .speechbubble {
	margin: 0 0 0 auto;
  }

  .speechbubble-light-blue{
	background: var(--casa-light-blue);
  }

  .speechbubble-light-brown{
	background: var(--casa-light-brown);
  }

  .speechbubble-orange{
	background: var(--casa-orange);
  }

  .speechbubble-light-green{
	background: var(--casa-light-green);
  }
  .home .speechbubble-light-green {
	background: #71b8b6;
  }
  .home .text-image-grid .speechbubble-light-green::after{
	border-top-color: #71b8b6;
  }
  .home .text-image-grid .speechbubble p{
	color: var(--casa-mid-blue);
  }
  .text-image-grid .speechbubble h3,
  .speechbubbles-angebot .speechbubble h3{
	color: #fff;
  }

  .text-image-grid .speechbubble p,
  .speechbubbles-angebot .speechbubble p{
	color: var(--casa-dark-blue);
  }
  .page-id-53 .speechbubbles-angebot .speechbubble p {
	color: var(--casa-mid-blue);
  }
  .page-id-47 .speechbubbles-angebot .speechbubble p {
	color: var(--casa-mid-blue);
  }

  .text-image-grid .speechbubble .more-btn,
  .speechbubbles-angebot .speechbubble .more-btn{
	color: #fff;
  }

  .text-image-grid .speechbubble p:last-of-type,
  .content-section p:last-of-type {
	margin-bottom: 0;
  }

  .text-image-grid .speechbubble-left::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid var(--casa-light-blue);
	position: absolute;
	top: 50%;
	left: -30px;
	transform: translateY(-50%) rotate(90deg);
  }

.text-image-grid .speechbubble-right:after{
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid var(--casa-light-blue);
	position: absolute;
	top: 50%;
	right: -30px;
	transform: translateY(-50%) rotate(-90deg);
}

.text-image-grid .speechbubble-light-blue:after{
	border-top-color: var(--casa-light-blue);
  }

.text-image-grid .speechbubble-light-brown:after{
	border-top-color: var(--casa-light-brown);
  }

.text-image-grid .speechbubble-orange:after{
	border-top-color: var(--casa-orange);
  }

.text-image-grid .speechbubble-light-green:after{
	border-top-color: var(--casa-light-green);
  }

  /* SPEECHBUBBLES ANGEBOT */

  .speechbubbles-angebot .speechbubble {
	width: 100%;
  padding: 25px;
  position: relative;
  transition: 0.4s ease-in-out;
  -webkit-transition: 0.4s ease-in-out;
  transform: scale(1);
  height: 100%;
  max-height: 100%;
  min-height: 360px;
  }

  .speechbubbles-angebot .panel-grid-cell {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
  }

  .speechbubbles-angebot .panel-grid-cell .so-panel {
	width: calc(33.333% - 20px);
	position: relative;
	margin-bottom: 30px !important;
  }

  .speechbubbles-angebot-grid .grid-column{
	width: calc(33.333% - 20px);
  }

  .speechbubbles-angebot-grid .panel-grid-cell .so-panel {
	width: 100%;
	position: relative;
	margin-bottom: 30px !important;
  }

  .speechbubbles-angebot .speechbubble:after{
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid var(--casa-light-blue);
	position: absolute;
	top: 50%;
	right: -30px;
	transform: translateY(-50%) rotate(-90deg);
}

.speechbubble-mustard{
	background: var(--casa-mustard);
  }
  .speechbubble-lilac{
	background: var(--casa-lilac);
  }
  .speechbubble-teal-green{
	background: var(--casa-teal-green);
  }
  .speechbubble-greyish-blue{
	background: var(--casa-greyish-blue);
  }

  .speechbubbles-angebot .speechbubble-light-blue:after{
	border-top-color: var(--casa-light-blue);
  }

  .speechbubbles-angebot .speechbubble-light-brown:after{
	border-top-color: var(--casa-light-brown);
  }

  .speechbubbles-angebot .speechbubble-orange:after{
	border-top-color: var(--casa-orange);
  }

  .speechbubbles-angebot .speechbubble-light-green:after{
	border-top-color: var(--casa-light-green);
  }  

  .speechbubbles-angebot .speechbubble-mustard:after{
	border-top-color: var(--casa-mustard);
  }
  .speechbubbles-angebot .speechbubble-lilac:after{
	border-top-color: var(--casa-lilac);
  }
  .speechbubbles-angebot .speechbubble-teal-green:after{
	border-top-color: var(--casa-teal-green);
  }
  .speechbubbles-angebot .speechbubble-greyish-blue:after{
	border-top-color: var(--casa-greyish-blue);
  }
  .speechbubbles-angebot img {
	width: 70%;
	margin: auto !important;
	  margin-top: auto;
	display: block;
	margin-top: 40px !important;
  }


  body:not(.has_accentcolor) .speechbubbles-angebot .so-panel p:not(:first-of-type){
	opacity: 0;
	pointer-events: none;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  body:not(.has_accentcolor) .speechbubbles-angebot .so-panel p:first-of-type {
	_display: none;
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: auto;
	margin: 0;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	pointer-events: initial;
  }

  body:not(.has_accentcolor) .speechbubbles-angebot .so-panel:hover p:first-of-type {
	opacity: 0;
	pointer-events: none;
  }

  body:not(.has_accentcolor) .speechbubbles-angebot .so-panel:hover p:not(:first-of-type){
	opacity: 1;
	pointer-events: initial;
  }

  .has_accentcolor .speechbubbles-angebot .speechbubble::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid var(--casa-light-blue);
	position: absolute;
	bottom: -30px;
	left: 50%;
	right: auto;
	top: auto;
	transform: translateX(-50%) rotate(0deg);
  }

  .has_accentcolor .speechbubble{
	background: var(--current-accent-color) !important;
	transform: scale(1) !important;
  }

  .has_accentcolor  .speechbubble{
	height: auto !important;
  }

  .has_accentcolor .speechbubble:after{
	border-top-color: var(--current-accent-color) !important;
  }
  
  .has_accentcolor .speechbubbles-angebot-after{
	margin-top: -70px;
  }

  .has_accentcolor .speechbubbles-angebot-after .more-btn,
  .has_accentcolor .colored-more-btn .more-btn{
	color: var(--current-accent-color) !important;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  .has_accentcolor .speechbubbles-angebot-after .more-btn:hover,
  .has_accentcolor .colored-more-btn .more-btn:hover,
  .has_accentcolor .second-sub-hero .colored-more-btn .more-btn:hover{
	color: var(--casa-mid-blue) !important;
  }

  body.has_accentcolor .speechbubbles-angebot .so-panel p:not(:first-of-type){
	display: none;
	_height: auto !important;
  }

  .has_accentcolor .entry-content > .panel-layout h2{
	color: var(--current-accent-color) !important;
  }

  .img-masonry-grid .panel-grid-cell .panel-grid-cell .so-panel, 
  .img-masonry-grid .panel-grid-cell .panel-grid-cell .so-panel .so-widget-sow-image,
  .img-masonry-grid .panel-grid-cell .panel-grid-cell .so-panel .panel-widget-style,
  .img-masonry-grid .panel-grid-cell .panel-grid-cell .so-panel .so-widget-sow-image .sow-image-container{
	height: 100%;
	_min-height: 55vh;
	position: relative;
  }

  .img-masonry-grid .panel-grid-cell .panel-grid-cell img {
	object-fit: cover;
	height: 100%;
	aspect-ratio: 1.65;
  }

  .img-masonry-grid .fr-img img{
	aspect-ratio: 2.15 !important;
  }

  .img-fit-right img {
	object-position: 90% 50%;
  }

.content-section ul {
	font-size: 22px;
	margin: 0;
	padding-left: 20px;
  }
  .content-section ul li {
	list-style-type: none;
	margin-bottom: 10px;
	position: relative;
  }
  .content-section ul li:before {
	content: "";
	width: 9px;
	height: 9px;
	background: currentColor;
	position: absolute;
	left: -20px;
	top: 12px;
	border-radius: 100%;
  }
  .has_accentcolor .content-section ul li:before {
	background: var(--current-accent-color);
  }

  .has_accentcolor .second-sub-hero {
	background: var(--current-accent-color);
  }

  .has_accentcolor .entry-content > .panel-layout .second-sub-hero h2{
	color: #fff !important;
	margin-top: 20px !important;
  }

  .has_accentcolor .second-sub-hero p{
	color: var(--casa-mid-blue);
  }

  .has_accentcolor .second-sub-hero .colored-more-btn .more-btn{
	color: #fff !important;
  }

  .parallax-after-second-sub-hero:before{
	border-top-color: var(--current-accent-color) !important;
  }

  .page-id-57 .content-section ul {
	margin-bottom: 30px;
  }

  /* SCROLL LEFT ANIMATION */ 
  .grey-bg {
	background: #f1f1f1;
	_overflow-x: hidden;
  }
  #pg-47-3{
	overflow: hidden;
  }
  #scroll-horizontal-wrapper {
	padding-left: 9vw !important;
	padding-left: var(--padLeft) !important;
  }

  #scroll-horizontal-wrapper .animation-wrap {
	display: flex;
	position: relative;
	align-items: start;
	z-index: 1;
	_height: 100vh;
	will-change: transform;

	_overflow-x: hidden;
  	width: calc(100% + 10vw);
	padding-top: 40px;
	}

  #scroll-horizontal-wrapper .animation-wrap > .so-panel {
	position: relative;
	flex: 0 0 400px;
	_height: calc(100vh - 300px);
	display: flex;
	align-items: start;
	line-height: 1.7;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	hyphens: auto;
	-webkit-hyphens: auto;
	justify-content: center;
	margin-right: 10vw;
	margin-bottom: 0 !important;
  }


#scroll-horizontal-wrapper strong {
	background: var(--casa-mid-blue);
	color: #fff;
	padding: 10px 12px;
	position: relative;
  }
  #scroll-horizontal-wrapper strong:before {
	content: "";
	width: 2px;
	height: 50px;
	background: var(--casa-mid-blue);
	position: absolute;
	top: -50px;
	left: 50%;
	transform: translateX(-50%);
  }

  #scroll-horizontal-wrapper {
	margin-top: 10px !important;
  }

  .pin-spacer .animation-wrap > .so-panel::before {
	content: "";
	height: 2px;
	width: calc(100% + 10vw);
	position: absolute;
	background: var(--casa-mid-blue);
	top: -33px;
	left: 51px;
  }
  .pin-spacer .animation-wrap > .so-panel:last-of-type::after {
	content: "";
	height: 2px;
	width: calc(100% + 10vw);
	position: absolute;
	background: var(--casa-mid-blue);
	top: -33px;
	right: -100%;
  }

  .cta-section .panel-grid {
	max-width: 1024px;
  }
  
  .cta-section .panel-grid .panel-grid-cell:last-of-type p {
	margin-top: 0;
  }

  .cta-section {
	margin-top: 50px;
  }

  .cta-section .panel-grid .panel-grid-cell:first-of-type {
	width: 320px !important;
  }

  .cta-section .panel-grid .panel-grid-cell:last-of-type {
	width: calc(100% - 380px) !important;
  }
  

  .cta-section .speechbubble{
	width: 100%;
  	padding: 25px;
  	position: relative;
  	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  	transform: scale(1);
  	height: 100%;
  	max-height: 100%;
  	background: var(--casa-light-blue);
  }

  .cta-section .speechbubble:after{
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 35px solid var(--casa-light-blue);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) ;
}

.cta-section .speechbubble h3 {
	color: #fff !important;
	padding-bottom: 20px;
  }

  .cta-section .speechbubble p{
	color: var(--casa-mid-blue);
	display: none;
  }

  .cta-section .speechbubble{
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
	cursor: pointer;
	transform: scale(1);
  }

  .cta-section .speechbubble:hover{
	transform: scale(1.025);
  }

  .hidden-img-after-speechbubble,
  .hidden-contact-form{
	display: none;
  }

  .fw-img-grid .fw-img img {
	aspect-ratio: 2.25 !important;
  }

/* TEAM GRID */

  .team-grid .panel-grid-cell {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }
  .team-grid .panel-grid-cell .so-panel {
	width: calc(33.333% - 20px);
  }

  .speechbubble.speechbubble-team {
	background: #f1f1f1;
	width: 100%;
	padding: 25px;
	position: relative;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
	transform: scale(1);
	/* height: 100%; */
	max-height: 100%;
  }

  .speechbubble.speechbubble-team:after{
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid #f1f1f1;
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%) ;
  }

  .speechbubble-team p:first-of-type{
	margin-top: -25px;
	margin-left: -25px;
	margin-right: -25px;
	margin-bottom: 15px;
  }

  .speechbubble-team h5 {
	font-size: 22px;
	margin-top: 20px;
	margin-bottom: 10px;
  }

  .speechbubble-team a{
	color: inherit !important;
	text-decoration: none;
  }

  .speechbubble-team p:not(:first-of-type){
	display: none;
  }

/* CONTACT FORMS */


.wpcf7 input, .wpcf7 textarea {
	padding: 8px;
	border-radius: 0;
	width: 100%;
	resize: none;
	box-sizing: border-box;
  }
  .wpcf7 p {
	margin-bottom: 19px;
  }
  .wpcf7 select {
	background: none;
	padding: 10px;
	width: 100%;
	color: #a7a7a7;
  }
  .wpcf7 {
	max-width: 620px;
  }

  .wpcf7-form {
	_margin-top: 85px;
  }


  #submit {
	background: var(--casa-light-blue);
	color: #fff;
	border: none;
	border-radius: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
	font-weight: bold;
	align-items: center;
	padding: 12px 20px;
	cursor: pointer;
  }
  #submit:hover {
	background: var(--casa-mid-blue);
  }
  #submit svg {
	transform: rotate(-90deg);
	width: 16px;
	display: inline-block;
	margin-left: 20px;
	position: relative;
	top: 0px;
	margin-bottom: 0;
  }

  .page-id-59 .parallax:before,
  .page-id-61 .parallax:before,
  .page-id-63 .parallax::before{
	display: none;
  }

  .sub-hero-w-list h3 {
	margin-top: 40px;
	margin-bottom: 20px;
  }

  .sub-hero-w-list ul li:before {
	background: var(--casa-mid-blue);
  }

  .more-btn-only-row .more-btn{
	color: var(--casa-mid-blue);
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
  }

  .more-btn-only-row .more-btn:hover{
	color: var(--casa-light-blue);
  }

  .big-more-btn{
	color: var(--casa-mid-blue);
	text-decoration: none;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
  }

  .big-more-btn:hover{
	color: var(--casa-light-blue);
  }

  .big-more-btn svg {
	transform: rotate(-90deg);
	width: 30px;
	display: inline-block;
	margin-right: 30px;
	position: relative;
	top: 4px;
	margin-left: 15px;
  }

  .big-more-btn path{
	fill: currentColor;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
  }

/* HOME > VIDEOSECTION */  

.video-row {
	margin-top: 60px;
  }

#play-video svg{
	width: 110px !important;
	height: auto;
	cursor: pointer;
  }

  #play-video p{
	margin-top: 0;
  }
  
  .video-row .panel-grid-cell:first-of-type {
	width: 160px !important;
  }

  .video-row .panel-grid-cell:last-of-type {
	width: calc(100% - 260px) !important;
	padding-right: 9%;
  }

/* PARALLAX */  

.parallax {
	background-position: top center;
	height: 75vh;
	width: 100%;
	_background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	top: 0;
	margin-top: 0px;
	position: relative;
	overflow: hidden;
	background-repeat: no-repeat !important;
  }

  .ios .parallax {
	background-position: center !important;
	height: 75vh;
	width: 100%;
	background-attachment: scroll !important;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	top: 0;
	margin-top: 0px;
	position: relative;
	overflow: hidden;
  }

  .parallax:before {
	content: "";
	width: 0;
	height: 0;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	border-top: 45px solid #fff;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
  }

  .parallax.after-grey-section:before {
	border-top: 45px solid #f1f1f1;
  }

  .pl_inner img{
	height: 100% !important;
  object-fit: cover;
  }


  /* CTA-FOOTERS */
  #primary > article {
	margin-bottom: 0;
  }

  #pre-footer_contact{
	background: var(--casa-light-blue);
	margin-bottom: 0;
  }

  #pre-footer_donations{
	background: var(--casa-light-green);
	margin-bottom: 0;
  }

  .pre-footer .panel-grid .content-section{
	align-items: center !important;
  }

  .pre-footer .panel-grid-cell:last-of-type {
	width: 300px !important;
  }

  .pre-footer .panel-grid-cell:first-of-type {
	width: calc(100% - 300px) !important;
  }

  .pre-footer img {
	width: 100% !important;
	height: auto !important;
  }

  .pre-footer h2{
	color: #fff;
  }

  .pre-footer p{
	font-size: 28px;
	font-family: 'ContrailOne', sans-serif;
}  

.pre-footer p:last-of-type{
	margin-bottom: 0 !important;
}

.pre-footer .more-btn{
	color: var(--casa-mid-blue);
	font-family: 'ContrailOne', sans-serif;
}

#pre-footer_donations p strong {
	color: var(--casa-mid-blue);
}
.more-btn svg {
	transform: rotate(-90deg);
	width: 18px;
	display: inline-block;
	margin-left: 15px;
	position: relative;
	top: 7px;
  }

.pre-footer .more-btn svg {
	transform: rotate(-90deg);
	width: 22px;
	display: inline-block;
	margin-left: 20px;
	position: relative;
	top: 8px;
  }
  .more-btn svg path{
	fill: currentColor;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
  }

  #pre-footer_contact .more-btn{
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
  }

  #pre-footer_contact .more-btn:hover{
	color: #fff;
  }

  #pre-footer_contact p:last-of-type {
	margin-top: -20px !important;
  }

  .pre-footer .content-section {
	padding-top: 90px;
  }


  /* FORM CONTACT */

  .form_flex-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }
  .form_flex-wrapper > div {
	width: 48%;
  }
  .page-id-67 .wpcf7 {
	width: 100% !important;
	max-width: unset;
  }

  .page-id-67 .wpcf7 p {
	margin-bottom: 23px;
  }

  .light-blue-background {
	background: var(--casa-light-blue);
	padding-top: 20px;
  }

  .light-blue-background h2{
	color: #fff;
  }

  .light-blue-background h2 + p{
	color: var(--casa-mid-blue);
  }

  

  .light-blue-background .speechbubble-cta{
	background: #fff;
	width: 100%;
	padding: 25px;
	position: relative;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
	transform: scale(1);
	/* height: 100%; */
	max-height: 100%;
  }

  .light-blue-background .speechbubble-cta:after{
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid #fff;
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%) ;
  }

  .light-blue-background .speechbubble-cta h3{
	color: var(--casa-light-blue);
  }

  .light-blue-background .speechbubble-cta p{
	display: none;
  }

  #map{
	height: 70vh;
  }

  /* FOOTER */
  footer{
	padding-top: 30px;
	background: var(--casa-dark-blue);
	color: #fff;
	position: relative;
  }
  
  footer p {
	font-size: 18px;
  }

  footer p a{
	text-decoration: none;
	color: #fff;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }

  footer p a:hover{
	color: var(--casa-light-blue);
  }

  .ft-logo .so-widget-image {
	width: 180px;
	margin-bottom: 20px;
	margin-top: 60px;
  }

  footer h3 a {
	color: #fff;
	text-decoration: none;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }

  footer h3 a:hover {
	color: var(--casa-light-blue);
  }

  footer h3 a svg {
	transform: rotate(-90deg);
	width: 22px;
	display: inline-block;
	margin-left: 20px;
	position: relative;
	top: 8px;
  }

  footer h3 a svg path{
	fill: currentColor;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }

  footer h3 a:hover svg path{
	fill: var(--casa-light-blue);
  }

  #back-to-top{
	position: absolute;
	left: 30px;
	bottom: 30px;
	cursor: pointer;
  }

  #back-to-top svg {
	transform: rotate(-180deg);
	width: 22px;
	display: inline-block;
	position: relative;
	top: 8px;
  }

  /* SUBHERO */

  body:not(.home) .site-main{
	opacity: 0;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;	
  }
  body:not(.home).loaded .site-main{
	opacity: 1;
  }

  #sub-hero {
	padding-top: 140px;
  }

  .has_accentcolor .entry-content > .panel-layout > .panel-grid:first-of-type{
	background: var(--current-accent-color);
	padding-bottom: 30px;
  }

  .has_accentcolor .entry-content > .panel-layout > .panel-grid:first-of-type h1{
	color: #fff !important;
  }

  .has_accentcolor .entry-content > .panel-layout > .panel-grid:first-of-type p{
	color: var(--casa-mid-blue);
  }

  .has_accentcolor .entry-content > .panel-layout > .panel-grid:nth-of-type(2) .parallax:before {
	border-top-color: var(--current-accent-color);
  }

  /* BLOG */

  .blog .the_postimg,
  .archive .the_postimg {
	margin-top: 0;
	margin-bottom: 0;
	/* GGF ÄNDERN */
	position: relative;
	width: 100%;
	height: 33vw;
	max-height: 530px;
	overflow: hidden;
	border: 1px solid #f2f2f2;
  }
  .single-post .main-post-content img{
	border: 1px solid #f2f2f2;
  }
  .blog .the_postimg img,
  .archive .the_postimg img{
  display: block;
  /* GGF ÄNDERN */
  position: absolute;
  width: 100%;
  left: 0;
  object-fit: cover;
  height: 100%;
  top: 0;
  object-position: center;
  }

  .blog .main,
  .archive .main{
	margin-bottom: 60px;
  }
  .blog .main .the_postimg img,
  .archive .main .the_postimg img{
	transform: scale(1);
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  .blog .main:hover .the_postimg img,
  .archive .main:hover .the_postimg img{
	transform: scale(1.02);
  }

  .blog .post-preview_content,
  .archive .post-preview_content {
	background: #f1f1f1;
	width: 100%;
	padding: 25px;
	position: relative;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	transform: scale(1);
	height: 100%;
	max-height: 100%;
  }

  .blog .post-preview_content:after,
  .archive .post-preview_content:after {
	content: "";
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 35px solid #f1f1f1;
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
  }

  .post-preview_content .more-btn {
	color: var(--casa-mid-blue);
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  .post-preview_content .more-btn:hover {
	color: var(--casa-light-blue);
  }

  .fb-box {
	margin-top: 15px;
  }
#blog-sidebar li a {
	color: #404040;
	text-decoration: none;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  #blog-sidebar li a:hover {
	color: var(--casa-mid-blue);
  }
  #blog-sidebar li {
	list-style-type: none !important;
	margin-bottom: 10px;
	position: relative;
	line-height: 1.3;
  }
  #blog-sidebar ul {
	font-size: 22px;
	margin: 12px 0;
	padding-left: 20px;
  }
  #blog-sidebar li:before {
	background: var(--casa-mid-blue);
	top: 10px;
  }
  #blog-sidebar h3 {
	font-size: 26px;
  }


.search-field,
#wp-block-search__input-1 {
	padding: 8px !important;
	border-radius: 0 !important;
	width: 100%;
	resize: none;
	background-color: #fff !important;
	box-sizing: border-box;
  }
  .search-form,
  .wp-block-search__inside-wrapper  {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
  }
  .search-form label,
  #wp-block-search__input-1 {
	width: calc(100% - 89px);
  }
  .search-submit,
  .wp-block-search__button {
	background: var(--casa-light-blue) !important;
	color: #fff !important;
	padding: 14px !important;
	border: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
	width: 89px;
	font-weight: bold;
	font-size: 14px;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	cursor: pointer;
  }
  .wp-block-search__label {
	display: none;
  }
  .search-submit:hover,
  .wp-block-search__button:hover {
	background: var(--casa-mid-blue) !important;
  }

  /* BLOG SINGLE */

  .single-post .content-section.flex,
  .archive .content-section.flex,
  .blog .content-section.flex{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }
  .single-post .content-section .main-post-content,
  .archive .content-section .main-post-content,
  .blog .content-section .main-post-content {
	width: calc(71.9725% - ( 0.2802752293578 * 50px ) );
  }
  .single-post .content-section .blog-sidebar-wrapper,
  .archive .content-section .blog-sidebar-wrapper,
  .blog .content-section .blog-sidebar-wrapper {
	width: calc(28.0275% - ( 0.7197247706422 * 50px ) );
  }
  .error404 .search-form {
	max-width: 660px;
	margin-top: 30px;
  }
  .single-post #primary,
  .archive #primary,
  .blog #primary,
  .search-results #primary,
  .error404 #primary{
	padding-top: 140px;
  }
  .error404 .textwidget p{
	font-size: 22px;
  }

  .search-results .page-header,
  .error404 .page-header {
	margin-bottom: 50px;
  }
  .search-results #primar,
  .error404 #primary {
	margin-bottom: 90px !important;
  }
  .single-post .blog-sidebar-wrapper .widget_block.widget_recent_entries,
  .single-post .blog-sidebar-wrapper .widget_block.widget_archive,
  .single-post .blog-sidebar-wrapper .widget_block.widget_search,
  .archive .blog-sidebar-wrapper .widget_block.widget_recent_entries,
  .archive .blog-sidebar-wrapper .widget_block.widget_archive,
  .archive .blog-sidebar-wrapper .widget_block.widget_search,
  .blog .blog-sidebar-wrapper .widget_block.widget_recent_entries,
  .blog .blog-sidebar-wrapper .widget_block.widget_archive,
  .blog .blog-sidebar-wrapper .widget_block.widget_search {
	margin-bottom: 40px !important;
  }

  .single-post .blog-sidebar-wrapper .widget_block h3,
  .archive .blog-sidebar-wrapper .widget_block h3,
  .blog .blog-sidebar-wrapper .widget_block h3 {
	margin-bottom: -12px;
  }

  .single-post .blog-sidebar-wrapper .widget_block .widget-facebook h3,
  .archive .blog-sidebar-wrapper .widget_block .widget-facebook h3,
  .blog .blog-sidebar-wrapper .widget_block .widget-facebook h3{
	margin-bottom: initial;
  }
  .single-post .post-thumbnail,
  .archive .post-thumbnail img,
  .blog .post-thumbnail img{
	border: 1px solid #f2f2f2;
  }
  .single-post #comments,
  .archive #comments,
  .blog #comments {
	margin-top: 50px;
  }

  .archive .post-preview_content,
  .blog .post-preview_content{
	font-size: 22px;
  }


#commentform {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }
  #commentform .comment-notes,
  #commentform .logged-in-as {
	width: 100%;
	margin-bottom: 10px;  
  }
  .comment-form-comment {
	width: 100%;
	margin-bottom: 0;
  }
  #commentform #submit {
	font-weight: bold;
	align-items: center;
	padding: 16px 20px;
	cursor: pointer;
  }
  .comment-form-comment textarea{
	padding: 8px !important;
	border-radius: 0 !important;
	width: 100%;
	_resize: none;
	box-sizing: border-box;
  }
  
  .comment-form-author {
	width: 32%;
	margin-bottom: 10px;
  }
  .comment-form-email {
	width: 32%;
	margin-bottom: 10px;  
  }
  .comment-form-url {
	width: 32%;
	margin-bottom: 10px;  
  }
  .comment-form-author input {
	width: 100%;
	padding: 8px !important;
	border-radius: 0 !important;
	width: 100%;
	resize: none;
	box-sizing: border-box;
  }
  .comment-form-email input {
	width: 100%;
	padding: 8px !important;
	border-radius: 0 !important;
	width: 100%;
	resize: none;
	box-sizing: border-box;
  }
  .comment-form-url input {
	width: 100%;
	padding: 8px !important;
	border-radius: 0 !important;
	width: 100%;
	resize: none;
	box-sizing: border-box;
  }
  .comment-form-cookies-consent {
	width: 100%;
	margin-bottom: 10px;
  }
  #commentform .form-submit {
	width: 100%;
  }
  #commentform label {
	font-weight: bold;
  }

  .search-results .entry-summary.textwidget p {
	font-size: 22px;
  }

  .search-results article{
	margin-bottom: 50px;
  }

  .sow-accordion {
	font-size: 22px !important;
  }

.sow-accordion {
	font-size: 22px !important;
  }
  .sow-accordion-panel-content ol {
	margin: 0;
	padding: 15px 30px;
  }
  .sow-accordion-panel-content ol li {
	margin-top: 5px;
	margin-bottom: 5px;
  }
  .sow-accordion-panel-content ol li a {
	color: var(--casa-mid-blue);
	text-decoration: none;
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  .sow-accordion-panel-content ol li a:hover {
	text-decoration: underline;
  }
  .sow-accordion-panel .sow-accordion-panel-header{
	transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
  }
  .sow-accordion-panel .sow-accordion-panel-header:hover,
  .sow-accordion-panel-open .sow-accordion-panel-header{
	background: var(--casa-mid-blue) !important;
  }

  /* TEMP AJAX BLOG LOADING */
  @keyframes flickerAnimation {
	0%   { opacity:0.9; }
	50%  { opacity:0.5; }
	100% { opacity:0.9; }
  }
  @-o-keyframes flickerAnimation{
	0%   { opacity:0.9; }
	50%  { opacity:0.5; }
	100% { opacity:0.9; }
  }
  @-moz-keyframes flickerAnimation{
	0%   { opacity:0.9; }
	50%  { opacity:0.5; }
	100% { opacity:0.9; }
  }
  @-webkit-keyframes flickerAnimation{
	0%   { opacity:0.9; }
	50%  { opacity:0.5; }
	100% { opacity:0.9; }
  }

  .main.loading{
  -webkit-animation: flickerAnimation 2s infinite;
  -moz-animation: flickerAnimation 2s infinite;
  -o-animation: flickerAnimation 2s infinite;
   animation: flickerAnimation 2s infinite;  
}
.main.loading figure {
	opacity: .45;
  }
.main.loading span, .main.loading a, .main.loading p, .main.loading h2 {
	color: #E9E9E9 !important;
	background: #E9E9E9;
  }

  #pagination_wrapper {
	width: 100%;
	margin-bottom: 30px;
  }
  .page-numbers {
	font-size: 22px;
	padding: 1px;
	background: #fff !important;
	text-decoration: none;
	font-weight: 600;
	margin-right: 4px;
	transition: 0.4s ease-in-out;
	color: var(--casa-mid-blue) !important;
	padding: 5px 10px !important;
	min-width: 43px !important;
	display: inline-block;
	text-align: center;
	box-shadow: 0 0 5px -3px rgba(0,0,0,0.4);
  }
  .page-numbers:hover {
	color:#fff !important;
	background: var(--casa-light-blue) !important;
	padding: 5px 10px;
	min-width: 43px !important;
	display: inline-block;
	text-align: center;
  }
  .page-numbers.current {
	background: var(--casa-light-blue) !important;
	color: #fff !important;
	padding: 5px 10px;
	min-width: 43px !important;
	display: inline-block;
	text-align: center;
  }

  .sub-menu-close{
	display: none;
  }


  .content-section h1, 
  .content-section h2, 
  .content-section h3, 
  .content-section h4, 
  .content-section h5, 
  .content-section h6, 
  .content-section p{
	opacity: 0;
	transform: translateY(50px);
	transition: 0.5s ease-in-out;
	-webkit-transition: 0.5s ease-in-out;
  }
  .content-section h1.animate, 
  .content-section h2.animate, 
  .content-section h3.animate, 
  .content-section h4.animate, 
  .content-section h5.animate, 
  .content-section h6.animate, 
  .content-section p.animate, 
  .speechbubble.animate{
	opacity: 1;
	transform: translateY(0px);
  }

#speechbubble-hero{
	transform: translateY(0px) scale(1.2);
}

.text-image-grid .panel-grid-cell, 
#play-video, 
.sow-video-wrapper, 
.speechbubbles-angebot .so-panel, 
.content-section ul, 
#scroll-horizontal-wrapper .animation-wrap > .so-panel, 
.pre-footer .sow-image-container,
.ft-logo,
.img-masonry-grid .panel-grid-cell,
.page-id-59 .cta-section .so-panel .panel-first-child,
.page-id-61 .cta-section .so-panel .panel-first-child,
.team-grid .so-panel,
body:not(.archive) .main-post-content .main,
.archive .main-post-content article,
.wp-block-search__inside-wrapper,
.single-post .main-post-content img,
.fb-box,
.form_flex-wrapper,
.speechbubbles-cta-wrapper .panel-grid-cell,
.sow-accordion {
	opacity: 0;
	transform: translateY(50px);
	transition: 0.5s ease-in-out;
	-webkit-transition: 0.5s ease-in-out;
}

.text-image-grid .panel-grid-cell.animate, 
#play-video.animate, .sow-video-wrapper.animate, 
.speechbubbles-angebot .so-panel.animate, 
.content-section ul.animate, 
#scroll-horizontal-wrapper .animation-wrap > .so-panel.animate,  
.pre-footer .sow-image-container.animate,
.ft-logo.animate,
.img-masonry-grid .panel-grid-cell.animate,
.page-id-59 .cta-section .so-panel .panel-first-child.animate,
.page-id-61 .cta-section .so-panel .panel-first-child.animate,
.team-grid .so-panel.animate,
body:not(.archive) .main-post-content .main.animate,
.wp-block-search__inside-wrapper.animate,
.single-post .main-post-content img.animate,
.archive .main-post-content article.animate,
.fb-box.animate,
.form_flex-wrapper.animate,
.speechbubbles-cta-wrapper .panel-grid-cell.animate,
.sow-accordion.animate {
	opacity: 1;
	transform: translateY(0px);
}

.img-masonry-grid .panel-grid-cell:nth-of-type(2).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(1).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(2).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(3).animate,
.speechbubbles-cta-wrapper .panel-grid-cell:nth-of-type(2).animate{
	transition-delay: .2s;
}
.speechbubbles-angebot .grid-column-3 .so-panel:nth-of-type(1).animate,
.speechbubbles-angebot .grid-column-3 .so-panel:nth-of-type(2).animate,
.speechbubbles-angebot .grid-column-3 .so-panel:nth-of-type(3).animate,
.speechbubbles-cta-wrapper .panel-grid-cell:nth-of-type(3).animate{
	transition-delay: .4s;
}

.team-grid .so-panel:nth-of-type(2),
.team-grid .so-panel:nth-of-type(5),
.team-grid .so-panel:nth-of-type(8),
.team-grid .so-panel:nth-of-type(11),
.team-grid .so-panel:nth-of-type(14),
.team-grid .so-panel:nth-of-type(17),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(2),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(5),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(8){
	transition-delay: .2s;
}
.team-grid .so-panel:nth-of-type(3),
.team-grid .so-panel:nth-of-type(6),
.team-grid .so-panel:nth-of-type(9),
.team-grid .so-panel:nth-of-type(12),
.team-grid .so-panel:nth-of-type(15),
.team-grid .so-panel:nth-of-type(18),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(3),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(6),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(9){
	transition-delay: .4s;
}

.content-section .speechbubble h3, 
body:not(.page-id-47) .content-section .speechbubble p,
.speechbubble-team p, 
#play-video p, form p,
.team-grid .so-panel p,
.team-grid .so-panel h3,
.team-grid .so-panel h5,
body:not(.single-post) .main-post-content .main p,
body:not(.single-post) .main-post-content .main h2,
body:not(.single-post) .main-post-content .main h3{
		opacity: 1 !important; 
	transform: translateY(0px) !important;
	transition: unset !important;
	-webkit-transition: unset !important;
}

#comments p, #comments h3{
	opacity: 0 !important;
	transform: translateY(50px) !important;
	transition: 0.5s ease-in-out !important;
	-webkit-transition: 0.5s ease-in-out !important;
}
#comments p.animate, #comments h3.animate{
	opacity: 1 !important;
	transform: translateY(0px) !important;
}


.search .nav-links a {
	background: var(--casa-light-blue);
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 22px;
	padding: 12px 16px;
	transition: 0.4s ease-in-out;
  }
  .search .nav-links a:hover{
	  background: var(--casa-mid-blue);
  }
  .search .nav-links {
	margin-bottom: 90px;
  }

  .hide_first-link a:first-of-type, .hide_first-link a:first-of-type + br {
	display: none;
  }

  @media screen and (min-width: 1620px) { 
	.main-navigation ul ul {
		left: 29% !important;
	}
	#intro-stroke{
		bottom: -35px;
		width: 60%;
	}
  }
  @media screen and (min-width: 1860px) { 
	.main-navigation ul ul {
		left: 27% !important;
	}
	#intro-stroke{
		bottom: -35px;
		width: 60%;
	}
	/* #speechbubble-hero {
		left: 10%;
	  } */
  }
  @media screen and (min-width: 2200px) { 
	/* #speechbubble-hero {
		left: 16%;
	  } */
  }
  @media screen and (min-width: 2520px) { 
	.main-navigation ul ul {
		left: 24% !important;
	}
	/* #speechbubble-hero {
	   left: 25%;
	} */
  }

  @media screen and (max-height: 600px) and (min-width: 800px) { 
  #intro-stroke {
	width: 52%;
  }
}

li.hide_on-desktop {
	display: none;
  }

  @media screen and (max-width: 1220px) { 
	body:not(.has_accentcolor) .speechbubbles-angebot .panel-grid-cell .so-panel {
		width: calc(50% - 15px);
		position: relative;
		margin-bottom: 30px !important;
	  }
	  body:not(.has_accentcolor) .speechbubbles-angebot .so-panel p:first-of-type {
		max-width: 380px;
	  }
	  body.has_accentcolor .speechbubbles-angebot-grid .grid-column {
		width: calc(50% - 15px);
		margin-bottom: 50px;
	  }

	  .speechbubble-team a{
		hyphens: auto;
		-webkit-hyphens: auto;
	  }

.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(1).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(2).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(3).animate,
.speechbubbles-cta-wrapper .panel-grid-cell:nth-of-type(2).animate{
	transition-delay: 0s;
}
.speechbubbles-angebot .grid-column-3 .so-panel:nth-of-type(1).animate,
.speechbubbles-angebot .grid-column-3 .so-panel:nth-of-type(2).animate,
.speechbubbles-angebot .grid-column-3 .so-panel:nth-of-type(3).animate,
.speechbubbles-cta-wrapper .panel-grid-cell:nth-of-type(3).animate{
	transition-delay: 0s;
}

.team-grid .so-panel:nth-of-type(2),
.team-grid .so-panel:nth-of-type(5),
.team-grid .so-panel:nth-of-type(8),
.team-grid .so-panel:nth-of-type(11),
.team-grid .so-panel:nth-of-type(14),
.team-grid .so-panel:nth-of-type(17),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(2),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(5),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(8){
	transition-delay: 0s;
}
.team-grid .so-panel:nth-of-type(3),
.team-grid .so-panel:nth-of-type(6),
.team-grid .so-panel:nth-of-type(9),
.team-grid .so-panel:nth-of-type(12),
.team-grid .so-panel:nth-of-type(15),
.team-grid .so-panel:nth-of-type(18),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(3),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(6),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(9){
	transition-delay: 0s;
}

.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(1).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(2).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(3).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(4).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(5).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(6).animate,
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(2),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(4),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(6),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(8),
.team-grid .so-panel:nth-of-type(2),
.team-grid .so-panel:nth-of-type(4),
.team-grid .so-panel:nth-of-type(6),
.team-grid .so-panel:nth-of-type(8),
.team-grid .so-panel:nth-of-type(10),
.team-grid .so-panel:nth-of-type(12),
.team-grid .so-panel:nth-of-type(14),
.team-grid .so-panel:nth-of-type(16){
	transition-delay: .2s;
}
.team-grid .panel-grid-cell .so-panel {
	width: calc(50% - 15px);
  }
  }

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

	#anfahrt .speechbubbles-cta-wrapper{
		flex-wrap: wrap;
	}
	#anfahrt .speechbubbles-cta-wrapper .panel-grid-cell{
		width: calc(50% - 15px) !important;
	}
	#anfahrt .speechbubbles-cta-wrapper .panel-grid-cell:last-of-type{
		margin-top: 30px;
	}

	.single-post .content-section .main-post-content, .archive .content-section .main-post-content, .blog .content-section .main-post-content {
		width: 100%;
	  }
	  .single-post .content-section .blog-sidebar-wrapper, .archive .content-section .blog-sidebar-wrapper, .blog .content-section .blog-sidebar-wrapper {
		width: 100%;
		margin-top: 20px;
		border-top: 1px solid #dedede;
		padding-top: 40px;
	  }
	  .single-post .content-section .blog-sidebar-wrapper {
		margin-top: 40px;
	  }
	  .blog .the_postimg, .archive .the_postimg{
		height: 47vw;
	  }
	.sub-menu-close {
		background: none;
		border: none;
		position: fixed;
		z-index: 1000;
		left: 90px;
		top: 15px;
	  }
	  .sub-menu-close svg {
		width: 26px;
		transform: rotate(90deg);
	  }
	  .main-navigation ul ul li a {
		font-size: 32px;
	  }
	footer h3 a br {
		display: none;
	  }
	.text-image-grid {
		width: 82%;
		margin: auto;
		padding: 0;
		margin-top: -70px;
	}
	.text-image-grid .grid-row-dr, .text-image-grid .grid-row-dl{
		width: 100%;
	}
	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw,
	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right {
		flex-flow: column-reverse;
	}
	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw,
	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left {
		flex-flow: column;
	}

	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw .panel-grid-cell:first-of-type{
		_width: 100% !important;
		margin-left: -11%;
  		width: 111% !important;
	}
	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw .panel-grid-cell:last-of-type{
		align-self: end !important;
		width: 100% !important;
	}
	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw .panel-grid-cell:last-of-type .speechbubble{
		margin-left: auto;
		margin-right: 0;
	}

	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left .panel-grid-cell:last-of-type{
		_width: 100% !important;
		margin-right: -11%;
  		width: 111% !important;
		  margin-top: 0 !important;
		  height: auto !important;
	}
	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left .panel-grid-cell:first-of-type{
		align-self: start !important;
		width: 100% !important;
	}
	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left .panel-grid-cell:first-of-type .speechbubble{
		margin-left: 0;
		margin-right: auto;
	}

	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right .panel-grid-cell:first-of-type{
		_width: 100% !important;
		margin-left: -11%;
  		width: 111% !important;
		margin-top: 0 !important;
		height: auto !important;
	}
	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right .panel-grid-cell:last-of-type{
		align-self: end !important;
		width: 100% !important;
		margin-top: 0px !important;
	}
	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right .panel-grid-cell:last-of-type .speechbubble{
		margin-left: auto;
		margin-right: 0;
	}

	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw .panel-grid-cell:last-of-type{
		width: 100% !important;
		margin-right: -11%;
		width: 111% !important;		
		margin-top: 0 !important;
    	height: auto !important;
	}
	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw .panel-grid-cell:first-of-type{
		align-self: start !important;
		width: 100% !important;
		margin-top: 0px !important;
	}

	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw .panel-grid-cell:first-of-type .speechbubble{
		margin-left: 0;
		margin-right: auto;
	}

	.text-image-grid .speechbubble{
		max-width: 390px;
	}

	.grid-row-dr.sb-left .panel-grid-cell:last-of-type .so-panel, .grid-row-dr.sb-left .panel-grid-cell:last-of-type .so-widget-sow-image, .grid-row-dr.sb-left .panel-grid-cell:last-of-type .sow-image-container {
	position: relative;
	height: 100%;
	width: 100%;
	}	
	.grid-row-dl.sb-right .panel-grid-cell:first-of-type .so-panel, .grid-row-dl.sb-right .panel-grid-cell:first-of-type .so-widget-sow-image, .grid-row-dl.sb-right .panel-grid-cell:first-of-type .sow-image-container {
		position: relative;
		height: 100%;
		width: 100%;
	}	  
	.home .text-image-grid .so-widget-image{
		margin-top: 30px;
	}
	.text-image-grid .speechbubble-right,
	.text-image-grid .speechbubble-left{
		z-index: 10;
	}
	.text-image-grid .speechbubble-right::after,
	.text-image-grid .speechbubble-left::after {
		content: "";
		width: 0;
		height: 0;
		top: auto;
		right: auto;
		transform: translateX(-50%) translateY(0%) rotate(0deg);
		bottom: -30px;
		left: 50%;
	  }
	  .video-row {
		flex-flow: column;
		  flex-wrap: nowrap;
	  }
	  .video-row .panel-grid-cell:first-of-type {
		width: 160px !important;
		margin-bottom: 30px;
	  }
	  .video-row .panel-grid-cell:last-of-type {
		width: 100% !important;
		padding-right: 0;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell {
		width: 48% !important;
	  }
	  footer .panel-grid:last-of-type {
		flex-wrap: wrap !important;
	  }
	  
	  footer .panel-grid:last-of-type .panel-grid-cell:nth-of-type(1) {
		order: 1;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell:nth-of-type(2) {
		order: 2;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell:nth-of-type(3) {
		order: 4;
		margin-top: 10px;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell:nth-of-type(4) {
		order: 3;
		margin-top: -40px;
	  }
	  .pre-footer h2 br {
		display: none;
	  }
	  .main-navigation ul ul{
		left: 9% !important;
		top: 130px !important;
		height: calc(100% - 130px);
	  }
	  .menu-menu-1-container {
		margin-top: 130px;
	  }
	  .site-branding {
		right: 60px;
		top: 30px;
		width: 170px;
	  }
	  h1, h2, #intro-text {
		font-size: 44px;
	  }
	  .pre-footer .panel-grid-cell:last-of-type {
		width: 240px !important;
	  }
	  .speechbubbles-angebot .speechbubble::after {
		content: "";
		width: 0;
		height: 0;
		top: auto;
		right: auto;
		transform: translateX(-50%) translateY(0%) rotate(0deg);
		bottom: -30px;
		left: 50%;
	  }
	  .img-masonry-grid .fr-img img {
		aspect-ratio: 1.9 !important;
	  }
	  #sub-hero {
		padding-top: 170px;
	  }
	  h1 br, h2 br{
		display: none;
	  }
	  .speechbubbles-angebot .speechbubble{
		min-height: unset;
	  }
	  li.hide_on-desktop {
		display: block;
	  }

	  #speechbubble-hero {
		transform: translateY(0px) scale(1);
	  }
  }

  @media screen and (max-width: 880px) { 
	#intro-text p br{
		display: none;
	}
	.pre-footer .panel-grid-cell:last-of-type {
		width: 200px !important;
	  }
	  .pre-footer .panel-grid-cell:first-of-type {
		width: calc(100% - 240px) !important;
	  }
	  .pre-footer .panel-grid .content-section {
		align-items: start !important;
	  }
	  .parallax,
	  .ios .parallax {
		height: 65vh;
	  }
	  h1, h2, #intro-text {
		font-size: 42px;
	  }
	  h3{
		font-size: 28px;
	  }
	  #anfahrt p br {
		display: none;
	  }
	  #anfahrt p strong {
		white-space: nowrap;
	  }
  }



  @media screen and (max-width: 780px) { 
	.text-image-grid {
		width: 82%;
		margin: auto;
		padding: 0;
		margin-top: -70px;
	}
	.text-image-grid .grid-row-dr, .text-image-grid .grid-row-dl{
		width: 100% !important;
	}
	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw,
	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right {
		flex-flow: column-reverse !important;
	}
	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw,
	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left {
		flex-flow: column !important;
	}

	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw .panel-grid-cell:first-of-type{
		_width: 100% !important;
		margin-left: -11% !important;
  		width: 111% !important;
	}
	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw .panel-grid-cell:last-of-type{
		align-self: end !important;
	}

	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left .panel-grid-cell:last-of-type{
		_width: 100% !important;
		margin-right: -11% !important;
  		width: 111% !important;
	}
	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left .panel-grid-cell:first-of-type{
		align-self: start !important;
	}

	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right .panel-grid-cell:first-of-type{
		_width: 100% !important;
		margin-left: -11% !important;
  		width: 111% !important;
	}
	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right .panel-grid-cell:last-of-type{
		align-self: end !important;
	}

	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw .panel-grid-cell:last-of-type{
		width: 100% !important;
		margin-right: -11%;
		width: 111% !important;		
	}
	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw .panel-grid-cell:first-of-type{
		align-self: start !important;
	}
	.home .text-image-grid .panel-grid:nth-of-type(2) .grid-row-dr.sb-left .panel-grid-cell:first-of-type,
	.home .text-image-grid .panel-grid:first-of-type .grid-row-fw .panel-grid-cell:first-of-type,
	.home .text-image-grid .panel-grid:nth-of-type(3) .grid-row-dl.sb-right .panel-grid-cell:first-of-type,
	.home .text-image-grid .panel-grid:last-of-type .grid-row-fw .panel-grid-cell:first-of-type{
		margin-bottom: 0 !important;
	  }
	  .pre-footer .content-section {
		flex-flow: row !important;
	  }
	  footer .panel-grid:last-of-type {
		flex-wrap: wrap !important;
		flex-direction: row !important;
	  }
	  .cta-sidebar {
		position: fixed;
		right: auto;
		bottom: 5%;
		width: 82%;
		left: 9%;
	  }
	  .cta-sidebar li {
		margin-top: 30px;
		width: 40px;
	  }
	  .cta-sidebar-menu {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	  }
	  .video-row .panel-grid-cell:last-of-type {
		width: 122% !important;
		padding-right: 0;
		margin-left: -11%;
		margin-right: -11% !important;
	  }
	  #pg-8-3 .content-section {
		padding-bottom: 40px;
	  }
	.grid-row-dr.sb-left .panel-grid-cell:last-of-type .so-panel, .grid-row-dr.sb-left .panel-grid-cell:last-of-type .so-widget-sow-image, .grid-row-dr.sb-left .panel-grid-cell:last-of-type .sow-image-container {
	position: relative;
	height: 100% !important;
	width: 100% !important;
	}	
	.grid-row-dl.sb-right .panel-grid-cell:first-of-type .so-panel, .grid-row-dl.sb-right .panel-grid-cell:first-of-type .so-widget-sow-image, .grid-row-dl.sb-right .panel-grid-cell:first-of-type .sow-image-container {
		position: relative !important;
		height: 100% !important;
		width: 100% !important;
	}	  
	.home .text-image-grid .so-widget-image{
		margin-top: 30px !important;
	}
	body:not(.has_accentcolor) .speechbubbles-angebot .panel-grid-cell .so-panel {
		width: 100%;
		position: relative;
		margin-bottom: 30px !important;
	  }
	  .speechbubbles-angebot .speechbubble {
		min-height: 320px;
	  }
	  h1, h2, #intro-text {
		font-size: 38px;
	  }
	  .has_accentcolor .speechbubbles-angebot.speechbubbles-angebot-grid .so-panel {
		width: 100% !important;
	  }
	  .img-masonry-grid .panel-grid-cell .panel-grid-cell:first-of-type {
		margin-left: -11%;
		width: 111% !important;
	  }
	  .img-masonry-grid .panel-grid-cell .panel-grid-cell:last-of-type {
		margin-right: -11%;
		width: 111% !important;
	  }
	  #sub-hero {
		padding-bottom: 60px;
	  }
	  .page-id-59 #sub-hero,
	  .page-id-61 #sub-hero {
		padding-bottom: 0;
		margin-bottom: -30px;
	  }
	  .page-id-59 .cta-section .panel-layout .panel-grid:first-of-type,
	  .page-id-61 .cta-section .panel-layout .panel-grid:first-of-type {
		flex-direction: column-reverse !important;
	  }
	  .page-id-59 .cta-section .panel-layout .panel-grid:first-of-type .panel-grid-cell,
	  .page-id-61 .cta-section .panel-layout .panel-grid:first-of-type .panel-grid-cell{
		width: 100% !important;;
	  }
	  .page-id-59 .cta-section .panel-layout .panel-grid:first-of-type .panel-grid-cell:last-of-type,
	  .page-id-61 .cta-section .panel-layout .panel-grid:first-of-type .panel-grid-cell:last-of-type{
		margin-bottom: 50px;
	  }
	  #pg-59-1 .content-section {
		padding-bottom: 0;
	  }
	  .cta-section .speechbubble {
		max-width: 320px;
	  }
	  .cta-section .panel-grid .panel-grid-cell:last-of-type {
		width: 100% !important;
	  }
	  .cta-section .panel-grid .panel-grid-cell:last-of-type form{
		margin-bottom: 50px;
	  }
	  .page-id-61 .cta-section {
		margin-bottom: -70px;
	  }
	  .page-id-61 .more-btn-only-row {
		padding-bottom: 50px;
	  }
	  
	  .fw-img-grid .fw-img img {
		aspect-ratio: 1.25 !important;
	  }

	  .fw-img-grid.img-masonry-grid .panel-layout .panel-grid:nth-of-type(2),
	  .fw-img-grid.img-masonry-grid .panel-layout .panel-grid:nth-of-type(3){
		width: 82%;
		margin-left: auto;
		margin-right: auto;
	  }
	  .team-grid .panel-grid-cell .so-panel,
	  .team-grid .panel-grid-cell .so-panel img {
		width: 100%;
	  }
	  .page-id-67 #sub-hero {
		padding-bottom: 10px;
	  }
	  #anfahrt .speechbubbles-cta-wrapper {
		flex-wrap: wrap;
		flex-direction: row !important;
	  }
	  #anfahrt .speechbubbles-cta-wrapper .panel-grid-cell:last-of-type {
		margin-top: 0;
	  }
	  .form_flex-wrapper > div {
		width: 100%;
	  }
	  .form_flex-wrapper .flex-left p:last-of-type {
		margin-bottom: 0;
	  }
	  .speechbubble.speechbubble-team {
		max-width: 82%;
	  }
	  .site-branding {
		right: 30px;
		top: 30px;
		width: 170px;
	  }

	  .img-masonry-grid .panel-grid-cell .panel-grid:first-of-type .panel-grid-cell:last-of-type img {
		aspect-ratio: 1.1;
	  }
	  .img-masonry-grid .panel-grid-cell .panel-grid:last-of-type .panel-grid-cell:first-of-type img {
		aspect-ratio: 1.1;
	  }
	  .page-id-63 .img-fit-right img {
		aspect-ratio: 1.1 !important;
	  }
	  .fw-img-grid .fw-img img {
		aspect-ratio: 1 !important;
	  }
	  .img-masonry-grid .panel-grid-cell .panel-grid:last-of-type .panel-grid-cell:first-of-type{
		margin-right: -30px !important;
		margin-left: auto !important;
    	width: calc(100% + 30px) !important;
		margin-bottom: 0 !important;
		margin-top: 30px !important;
	  }
	  .img-masonry-grid .panel-grid-cell .panel-grid:last-of-type .panel-grid-cell:last-of-type{
		margin-left: -30px !important;
    	width: calc(100% + 30px) !important;
	  }

	  .page-id-53 .img-masonry-grid .panel-grid-cell .panel-grid:last-of-type .panel-grid-cell:first-of-type{
		margin-top: 0 !important;
	  }

	  .img-masonry-grid .panel-grid-cell .panel-grid:last-of-type{
		flex-direction: column-reverse !important;
	  }
	  .hidden-img-after-speechbubble {
		margin-top: -28px;
	  }
	  .speechbubble.speechbubble-team,
	  .speechbubbles-cta-wrapper .panel-grid-cell .speechbubble{
		_min-height: unset !important;
	  }
	  .comment-form-email, .comment-form-author, .comment-form-url {
		width: 100% !important;
	  }
	  h1 .big-more-btn svg {
		transform: rotate(-90deg);
		width: 24px;
	  }
	  .page-id-327 #sub-hero,
	  .page-id-341 #sub-hero {
		padding-bottom: 0;
	  }
	  .pre-footer .content-section {
		padding-top: 70px !important;
		padding-bottom: 40px !important;
	  }

	.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(1).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(2).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(3).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(4).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(5).animate,
.speechbubbles-angebot .grid-column-2 .so-panel:nth-of-type(6).animate,
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(2),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(4),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(6),
.page-id-47 .speechbubbles-angebot .panel-grid-cell .so-panel:nth-of-type(8),
.team-grid .so-panel:nth-of-type(2),
.team-grid .so-panel:nth-of-type(4),
.team-grid .so-panel:nth-of-type(6),
.team-grid .so-panel:nth-of-type(8),
.team-grid .so-panel:nth-of-type(10),
.team-grid .so-panel:nth-of-type(12),
.team-grid .so-panel:nth-of-type(14),
.team-grid .so-panel:nth-of-type(16){
	transition-delay: 0s;
}
#hero .panel-grid-cell {
	width: 82% !important;
	margin-right: auto !important;
  }
  }
 #mep_0:not(.playing) .mejs-controls {
	display: none !important;
  }
  @media screen and (max-width: 690px){
	#hero .panel-grid-cell {
		width: calc(100% - 60px) !important;
		margin-right: auto !important;
	  }
	.content-section,
	.fw-img-grid.img-masonry-grid .panel-layout .panel-grid:nth-of-type(2), 
	.fw-img-grid.img-masonry-grid .panel-layout .panel-grid:nth-of-type(3) {
		width: 84%;
		width: calc(100% - 60px);
	}
	.video-row .panel-grid-cell:last-of-type {
		width: calc(100% + 60px) !important;
		padding-right: 0;
		margin-left: -30px;
		margin-right: -30px !important;
	  }
	  .img-masonry-grid .panel-grid-cell .panel-grid-cell:first-of-type {
		margin-left: -30px;
		width: calc(100% + 30px) !important;
	  }
	  .img-masonry-grid .panel-grid-cell .panel-grid-cell:last-of-type {
		margin-right: -30px !important;
		width: calc(100% + 30px) !important;
	  }	  
	  .img-masonry-grid .fr-img img {
		aspect-ratio: 1.5 !important;
	  }
	#anfahrt .speechbubbles-cta-wrapper {
		flex-wrap: wrap;
		flex-direction: column !important;
	  }
	  #anfahrt .speechbubbles-cta-wrapper .panel-grid-cell {
		width: 82% !important;
	  }	  
	  .parallax,
	  .ios .parallax {
		height: 60vh;
	  }

	  .parallax {
		background-position: top center !important;
		width: 100%;
		background-attachment: scroll !important;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		background-size: cover;
		top: 0;
		margin-top: 0px;
		position: relative;
		overflow: hidden;
	  }


	  #primary-menu > li > a {
		font-size: 28px;
	  }
	  #primary-menu > li{
		margin-bottom: 15px;
	  }
	  .sub-menu li {
		margin-bottom: 20px;
	  }
	  .main-navigation ul ul li a {
		font-size: 24px;
	  }
	  #primary-menu > li > a svg {
		width: 20px;
		margin-left: 20px;
		top: 2px;
	  }
	  #pg-8-3 .content-section {
		padding-bottom: 0;
	  }
	  #intro-stroke {
		position: absolute;
		bottom: -17px;
		right: -10px;
		z-index: 100;
		width: 120%;
		height: auto;
	  }
	  footer .panel-grid:last-of-type {
		flex-wrap: wrap !important;
		flex-direction: column !important;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell {
		width: 100% !important;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell p {
		margin-top: 0;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell:nth-of-type(4) {
		margin-top: 0;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell:nth-of-type(2) {
		display: none;
	  }
	  footer .panel-grid:last-of-type .panel-grid-cell:nth-of-type(3) {
		order: 2;
	  }
	  h3 {
		font-size: 26px;
	  }
	  .ft-logo {
		margin-bottom: -55px;
	  }
	  .ft-logo .so-widget-image {
		width: 150px;
	  }
	  footer h3 a svg {
		transform: rotate(-90deg);
		width: 18px;
		display: inline-block;
		margin-left: 20px;
		position: relative;
		top: 5px;
		height: 25px;
	  }  
	  .more-btn-only-row p:first-of-type {
		margin-bottom: -10px;
	  }
	  .cta-section .speechbubble,
	  .cta-section .panel-grid .panel-grid-cell:first-of-type {
		max-width: 320px;
		width: 82% !important;
		min-width: 275px !important;
	  }
	  .cta-section .speechbubble{
		transform: unset !important;
	  }
	  .pre-footer p{
		margin-bottom: 0 !important;
		white-space: nowrap;
	  }
	  .pre-footer .panel-grid-cell:last-of-type {
		width: 140px !important;
	  }
	  .pre-footer .panel-grid-cell:first-of-type {
		width: calc(100% - 160px) !important;
	  }
	  #pre-footer_contact p:last-of-type {
		margin-top: 10px !important;
	  }
	  .pre-footer p {
		font-size: 24px;
	  }
	  .hide_first-link a:first-of-type, .hide_first-link a:first-of-type + br {
		display: initial;
	  }
	  #anfahrt .speechbubbles-cta-wrapper .panel-grid-cell {
		width: 100% !important;
	  }

	  body:not(.has_accentcolor).page-id-47 .speechbubbles-angebot .so-panel p:first-of-type {
		_display: none;
		position: static;
		bottom: unset;
		left: unset;
		transform: translateX(0%);
		width: 100%;
		height: auto;
		margin: 0;
		transition: 0.4s ease-in-out;
		-webkit-transition: 0.4s ease-in-out;
		pointer-events: initial;
	  }
	  body:not(.has_accentcolor).page-id-47 .speechbubbles-angebot .so-panel .mob_para_wrapper {
		pointer-events: initial;
		transition: 0.0s ease-in-out;
		-webkit-transition: 0.0s ease-in-out;
		display: none;
	  }
	  body:not(.has_accentcolor).page-id-47 .speechbubbles-angebot .so-panel .mob_para_wrapper p{
		opacity: 1 !important;
		transform: unset !important;
	  }
	  body:not(.has_accentcolor).page-id-47 .speechbubbles-angebot .so-panel:hover p:first-of-type {
		opacity: 1;
		pointer-events: initial;
	  }
	  .page-id-47 .speechbubbles-angebot .speechbubble {
		min-height: unset;
	  }
	  .page-id-47 .speechbubbles-angebot .speechbubble:hover {
		transform: scale(1);
	  }
	   .speechbubbles-angebot img {
		margin-bottom: 20px !important;
		margin-top: 20px !important;
	  }
	  .speechbubbles-angebot .speechbubble h3 {
		height: auto !important;
	  }
	  body:not(.has_accentcolor).page-id-47 .speechbubbles-angebot .so-panel p:first-of-type {
		max-width: unset;
	  }
	  #hero{
		background: url('/wp-content/uploads/2025/03/CasaFidelio1140_mobile.jpg') !important;
		background-size:100vh !important;
	}
	#pg-53-0, #pg-49-0, #pg-165-0, #pg-51-0, #pg-55-0, #pg-57-0 {
		padding-bottom: 0;
	  }
	  .home #page {
		overflow-x: hidden;
	  }


	  .parallax {
		background-position: 50% 86% !important;
		width: 100%;
		background-attachment: scroll !important;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		background-size: 86vh;
		top: 0;
		margin-top: 0px;
		position: relative;
		overflow: hidden;
	  }
	  
  }
  a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}
  @media screen and (max-width: 520px){

	.text-image-grid {
		width: 84%;
	}
	.text-image-grid .speechbubble,
	.speechbubbles-angebot .speechbubble {
		padding: 18px;
	}
	.pre-footer .panel-grid-cell:last-of-type {
		width: 120px !important;
	  }
	  .pre-footer .panel-grid-cell:first-of-type {
		width: calc(100% - 140px) !important;
	  }
	.sow-accordion-panel-content ol {
		margin: 0;
		padding: 15px 20px;
	  }
	h1, h2, #intro-text {
		font-size: 34px;
	  }
	  .pre-footer h2{
		font-size: 30px;
	  }
	  #speechbubble-hero{ 
	  max-width: 280px
	}
	  #speechbubble-hero p{
		font-size: 30px;
	  }
	  .entry-content p {
		font-size: 19px;
		line-height: 1.3;
	  }
	  .text-image-grid .speechbubble{
		min-width: unset !important;
		max-width: 84%;
	  }
	  .home .text-image-grid .speechbubble p {
		margin-bottom: 20px;
	  }
	  .home .text-image-grid .speechbubble p:last-of-type {
		margin-bottom: 5px;
	  }
	  #pg-8-3 h2{
		hyphens: auto;
		-webkit-hyphens: auto;
	  }
	  .sub-menu-close{
		left: 76px !important;
	  }
	  .speechbubble.speechbubble-team {
		max-width: 100%;
	  }
	  .pre-footer p {
		font-size: 22px;
	  }
	  #scroll-horizontal-wrapper .animation-wrap > .so-panel {
		position: relative;
		flex: 0 0 290px;
	  }
	  h1, h2, #intro-text {
		font-size: 32px;
		line-height: 1.3;
	  }
	  #play-video svg {
		width: 100px !important;
		height: auto;
		cursor: pointer;
	  }
	  .video-row {
		margin-top: 30px;
	  }
	  .pre-footer h2 {
		font-size: 26px;
	  }
	  #pg-8-0 > .panel-row-style {
		min-height: 100vh;
		background-position: 57% 100% !important;
		background-size: 105vh !important;
	  }
	  #pg-47-2 .content-section {
		padding-bottom: 40px !important;
	  }

	  .main-navigation ul ul {
		top: 150px !important;
	  }
	  .main-navigation ul ul li a {
		font-size: 21px;
	  }
	  .page-id-49 .speechbubble h3 + p {
		margin-bottom: 0 !important;
	  }
	  .page-id-49 .speechbubble p img {
		margin-top: 0 !important;
	  }
	  .page-id-49 .speechbubbles-angebot .speechbubble {
		min-height: 250px;
	  }
	  .page-id-53 .speechbubble h3 + p {
		margin-bottom: 0 !important;
	  }
	  .page-id-53 .speechbubble p img {
		margin-top: 0 !important;
	  }
	  .page-id-53 .speechbubbles-angebot .speechbubble {
		min-height: 250px;
	  }
	  .home .text-image-grid .speechbubble p {
		margin-bottom: 20px;
		hyphens: auto;
		-webkit-hyphens: auto;
	  }
	  .pin-spacer .animation-wrap > .so-panel::before {
		content: "";
		height: 2px;
		width: calc(100% + 10vw);
		position: absolute;
		background: var(--casa-mid-blue);
		top: -43px;
		left: 44px;
	  }
	  .pin-spacer .animation-wrap > .so-panel:last-of-type::after {
		content: "";
		height: 2px;
		width: calc(100% + 10vw);
		position: absolute;
		background: var(--casa-mid-blue);
		top: -43px;
		right: -100%;
	  }
  }

  @media screen and (max-width: 450px){
	.page-id-63 h1 {
		max-width: 305px;
	  }
	  .pre-footer .panel-grid-cell:last-of-type {
		width: 110px !important;
	  }  
	  .pre-footer .panel-grid-cell:first-of-type {
		width: calc(100% - 130px) !important;
	  }
	  .blog h1 + h3, .archive h1 + h3 {
		max-width: 270px !important;
	  }
  }


  .home .parallax,
  .page-id-61 .parallax,
  .page-id-59 .parallax,
  .page-id-51 .parallax{
	background-color: #85cfe6 !important;
  }