/*
Theme Name: SiteOrigin Corp Child
Author: SiteOrigin
Author URI: https://siteorigin.com/
Theme URI: https://siteorigin.com/theme/corp
Description: SiteOrigin Corp Child Theme
Version: 1.0.0
Template: siteorigin-corp
Text Domain: siteorigin-corp
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
@font-face {
  font-family: 'MPLUS1p Regular';
  src: url('./fonts/MPLUS1p-Regular.ttf') format("truetype");
}
@font-face {
  font-family: 'MPLUS1p ExtraBold';
  src: url('./fonts/MPLUS1p-ExtraBold.ttf') format("truetype");
}
@font-face {
  font-family: 'Tinos Bold';
  src: url('./fonts/Tinos-Bold.ttf') format("truetype");
}
b, strong {
  font-weight: 900 !important;
}
header.site-header.stuck {
  box-shadow: 0 1px 1px rgba(0,0,0,0);
}
.instagram a,
.content_text#startseite .panel-layout .bearbeitszeit .panel-grid-cell:first-child .textwidget p {
	font-size: 12pt !important;
  line-height: 16pt !important;
}
#ueberuns .textwidget a,
#app .textwidget a {
	text-decoration: underline;
	color: #21917B;
}
.popup {
  position: relative;
}
.popup .panel-grid-cell .so-widget-sow-editor .custom-post-box {
  padding: 20px !important;
  max-width: 800px;
  width: 100%;
  position: absolute;
  background-color: #21917B;
  z-index: 20;
  left: 50%;
  top: 0;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.popup .panel-grid-cell h3.widget-title {
  font-size: 20pt;
  line-height: 24pt;
  color: #FFF;
}
.popup .panel-grid-cell .postbox-content a,
.popup .panel-grid-cell .postbox-content {
  color: #FFF;
}
.popup #close {
  color: #FFF;
  font-size: 20pt;
  line-height: 24pt;
	position: absolute;
  cursor: pointer;
  font-weight: 900;
	padding: 20px;
  margin-top: 0;
	top: 0;
	right: 10px;
}
@media only screen and (min-width: 768px) {
  .popup .panel-grid-cell .so-widget-sow-editor .custom-post-box {
    padding: 40px !important;
    top: -50px;
  }
  .popup .panel-grid-cell h3.widget-title {
    font-size: 40pt;
    line-height: 48pt;
  }
  .so-parallax {
    height: 40vh;
  }
  footer .footer-left aside {
    float: left;
    width: 33%;
    margin-bottom: 0;
  }
  footer .footer-left aside:nth-child(2),
  footer .footer-left aside:last-child {
      margin-top: 55px;
  }
  footer .bottom-bar .widget h2 {
    float: left;
  }
  footer .bottom-bar .widget {
    width: 100%;
  }
  .content_text.img_absolute {
    position: relative;
    overflow: hidden;
  }
  .content_text.img_absolute video,
  .content_text.img_absolute img {
    position: absolute;
    left: 0;
    -moz-transform: translateX(-35%);
    -webkit-transform: translateX(-35%);
    -o-transform: translateX(-35%);
    -ms-transform: translateX(-35%);
    transform: translateX(-35%);
  }
  .content_text.img_absolute .panel-layout .panel-grid-cell .textwidget {
    padding-right: 50px;
  }
  .content_text.img_absolute .panel-layout .panel-grid-cell {
    background-color: #FFF;
    padding-bottom: 50px;
  }
  .content_text.img_absolute .panel-layout .panel-grid-cell:first-child {
    z-index: 1;
  }
  .content_text.img_absolute .panel-layout .panel-grid-cell:last-child {
    z-index: 2;
  }
}
@media only screen and (min-width: 1024px) {
  .folgelinks.rund img {
    max-width: 400px !important;
  }
  header.site-header {
    margin-bottom: 160px !important;
    z-index: 11;
  }
  header.site-header .site-branding .site-title a {
    height: 134px;
    width: 140px;
  }
  header .site-branding {
    top: 15px;
  }
  .uhrzeiten .panel-layout {
    width: 80%;
  }
  footer.site-footer {
    padding: 50px 0;
  }
  footer #menu-footer li {
    float: left;
    padding-right: 15px;
    font-size: 15pt !important;
    line-height: 20pt !important;
  }
  footer #menu-footer li:first-child {
    border-right: 2px solid #21917B;
  }
  .page-id-106 footer #menu-footer li:first-child {
    border-right: 2px solid #004AAD;
  }
  footer #menu-footer li:last-child {
    padding-left: 15px;
  }
  #drblaeser ul {
    margin-top: 75px;
  }

  .content_text.content_leistungen h1,
  .content_text h3 {
    width: 100% !important;
    max-width: 516px;
  }
  .page-id-3 .content_text.content_leistungen h1 {
    width: 50% !important;
  }
  .instagram {
    position: absolute !important;
    bottom: 179px;
    bottom: 70px;
    right: 90px;
    left: auto !important;
  }
  .instagram.lebenslauf {
    right: 60px;
  }
  #site-navigation #mobile-menu-button {
    top: 46px !important;
    position: absolute !important;
    right: 2% !important;
  }
  #content .corp-container .content_width em,
  .content_text.weiss p em,
  .home p em {
    font-size: 25px;
    margin-bottom: 35px;
  }
  #content .corp-container .content_width .panel-layout .panel-grid-cell:first-child .textwidget{
    padding: 50px 15px 70px 15px;
    width: 100%;
    max-width: 830px;
    float: right;
  }
  #content .corp-container .content_width .panel-layout .panel-grid-cell:last-child .textwidget{
    position: relative;
    overflow: hidden;
    height: 100vh;
  }
  #content .corp-container .content_width .panel-layout .panel-grid-cell:last-child video {
    position: absolute;
    top: 0%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    max-width: 1000px;
    width: auto;
    height: auto;
    transform: translateX(-50%);
    object-fit: cover;
  }
  .content_text.content_kontakt fieldset fieldset,
  .content_text.kontakt fieldset{
    width: 50%;
    float: left;
    margin: 0;
  }
  .content_text.content_kontakt fieldset fieldset:first-child {
    width: 48%;
    margin-right: 2%;
  }
  .content_text.kontakt .wpcf7-submit {
    float: right;
  }
  .content_text.section.blau .textwidget {
    padding: 0 100px;
  }
  .fg-panel .fg-media-content {
    left: 25%;
    max-width: 60%;
    transform: translateX(-25%) translateY(-50%);
  }
  .fg-panel-info-bottom.fg-panel-info-overlay:is(.fg-medium, .fg-panel-no-mobile) .fg-panel-info-inner {
    bottom: auto !important;
    left: auto !important;
    right: 50px;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: 400px;
    width: 100%;
  }
}
header.stopped {
  position: static;
  top: 0;
}
  #news .slick-prev {
    display: none !important;
  }
@media only screen and (min-width: 1300px) {
  #team .panel-grid-cell {
    width: calc(100% - 50px);
  }
  .instagram {
    right: 200px;
  }
#kontakt .instagram {
    right: 150px;
  }
  #news .caption p,
  #team .textwidget p{
    padding: 120px 15px 60px;
    margin: -100px 15% 100px;
    max-width: 368px !important;
  }
  .content_text#startseite .panel-layout .bearbeitszeit .panel-grid-cell:first-child .textwidget p {
    margin-left: 136px !important;
  }
  #news .slick-prev {
    left: 0;
  }
  #news .slick-next {
    right: 0;
  }
}
#news article {
  position: relative;
}
@media only screen and (min-width: 1024px) {
  .rund img {
    margin: 0 !important;
  }
  #news .slide-text,
  #news .sliderimg {
    width: 60%;
    float: left;
    position: relative;
  }
  #news .sliderimg {
    width: 40%;
  }
  #news .sliderimg a.linker {
    position: absolute;
    left: 0;
    bottom: 0;
  }
}
@media only screen and (min-width: 1400px) {
	header .main-navigation ul li {
		margin-right: 72px;
	}
  header .site-branding {
      display: none;
  }
  header.site-header {
    margin-bottom: 40px !important;
  }
  nav.main-navigation .menu-hauptnavi-container {
    display: block !important;
  }
}
/*
@media only screen and (max-width: 1610px) {
  #content .corp-container .textwidget,
  header .corp-container {
    padding: 0 15px;
  }
}
*/
@media only screen and (min-width: 1610px) {
  #content .corp-container .content_width .panel-layout .panel-grid-cell:first-child .textwidget{
    padding: 50px 15px 70px 0;
  }
}
fieldset label,
.blog-layout-grid article .entry-content,
html, body {
  font-family: 'MPLUS1p Regular' !important;
  margin: 0;
  padding: 0;
  color: #000 !important;
  font-size: 15pt !important;
  line-height: 20pt !important;
  min-width: 380px;
  height: 100%;
  min-height: 100%;
  /*  overflow-x: hidden; */
}
fieldset label {
  margin: 10px 0;
  display: inline-block;
}
form.wpcf7-form {
  margin-top: 20px;
}
.content_text.jobs a, .content_text.jobs a:visited, .content_text.jobs a:focus, .content_text.jobs a:active,
.content_text h3 a:visited, .content_text h3 a:focus, .content_text h3 a:active {
  color: #000;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Tinos Bold' !important;
}
.uhrzeiten table,
.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
    font-family: 'MPLUS1p Regular' !important;
}
.textwidget h1 {
  margin-top: 0;
}
.textwidget h1, .textwidget h2 {
  font-size: 18pt;
  color: #FFF !important;
  background-color: #21917B;
  padding: 25px 20px;
  display: inline-block;
  margin-bottom: 0;
  max-width: 516px;
  width: 100%;
}
.textwidget h2 {
  background-color: #004AAD;
  margin: 26px 0 40px 0;
}
@media only screen and (min-width: 600px) {
  .textwidget h1, .textwidget h2 {
    font-size: 20pt;
  }
  .textwidget h2 {
    margin: 26px 0 40px 0;
  }
}
@media only screen and (min-width: 768px) {
  /* #kontakt .panel-layout .panel-grid:last-child,
  .uhrzeiten .panel-layout .panel-grid {
    display: block;
  } */
  #kontakt .panel-layout .panel-grid:last-child > .panel-grid-cell
  .uhrzeiten .panel-layout .panel-grid .panel-grid-cell {
    width: 50% !important;
    float: left;
  }
  .uhrzeiten table {
    max-width: 330px;
  }
  #kontakt .uhrzeiten table {
    margin-left: 0;
  }
}
.uhrzeiten table,
.uhrzeiten td {
  border: 0;
  padding: 0;
  margin-bottom: 0;
}
.clearfix {
  clear: both;
  float: none;
}
#site-navigation #mobile-menu-button {
  display: block;
  top: 46px;
  position: fixed;
  right: 10%;
}
.burger span {
  display: block;
  width: 50px;
  height: 8px;
  border-radius: 50px;
  margin: 5px 0 8px 0;
  background-color: #21917B;
  -webkit-transition: all .225s cubic-bezier(.25,.8,.25,1) 0s;
  transition: all .225s cubic-bezier(.25,.8,.25,1) 0s;
}
#content .corp-container {
  max-width: 100%;
  padding: 0;
}
.headernavi .headernavi_content,
.blauer,
header .corp-container,
.single #content .entry-content,
.single #content,
/* #content .corp-container, */
#content .corp-container .content_width,
#content .corp-container .content_text.schmal,
footer .corp-container,
#content .corp-container .content_text,
#content .corp-container .headervideo {
	max-width: 1320px;
  width: 100%;
  margin: 0 auto;
 	padding: 0 15px;
}
header .corp-container {
  padding: 0;
  max-width: 1350px;
}

.single #content .entry-content,
#content .corp-container .content_text.schmal {
  max-width: 975px;
}
header.site-header {
  margin-bottom: 40px;
  z-index: 11;
}
header #mobile-navigation {
  top: 0%;
  width: 100%;
  left: -100%;
  opacity: 0;
  background-color: #FFF;
  min-height: 2000px;
  position: fixed;
  -webkit-transition: all 1000ms ease;
  -moz-transition: all 1000ms ease;
  -ms-transition: all 1000ms ease;
  -o-transition: all 1000ms ease;
  transition: all 1000ms ease;
  -webkit-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.4);
  box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.4);
}
.opennavi header #mobile-navigation {
    left: 0%;
    opacity: 1;
    display: block !important;
}
@media only screen and (min-width: 1024px) {
  header #mobile-navigation {
    width: 25%;
  }
}
header #mobile-navigation ul {
  display: flex;
  flex-direction: column;
}
header #mobile-navigation ul li#menu-item-39{
  order: 1;
}
header #mobile-navigation ul li#menu-item-38{
  order: 2;
}
header #mobile-navigation ul li#menu-item-33{
  order: 3;
}
header #mobile-navigation ul li#menu-item-34{
  order: 4;
}
header #mobile-navigation ul li#menu-item-35{
  order: 5;
}
header #mobile-navigation ul li#menu-item-36{
  order: 6;
}
header #mobile-navigation ul li#menu-item-37{
  order: 7;
}
header .main-navigation div ul li.current#menu-item-39 a {
  border-color: transparent !important;
  border: 0;
}
header.site-header {
  padding: 0;
}
header .main-navigation {
  text-align: left;
  margin-left: 30px;
  width: 100%;
  /*
  max-width: 1045px;
  margin: 0 auto;
 position: relative; */
}
header .main-navigation ul li a {
  padding-top: 93px;
  font-size: 15pt;
}
/* a.linker:visited, */
.slide-text a,
.slide-text a:visited,
.slide-text a:active,
.slide-text a:hover,
header #mobile-navigation #primary-menu li a {
  color: #21917B;
}
.slide-text a {
  margin-top: 25px;
  display: inline-block;
}
.single .slide-text .entry-content p a {
  margin-top: 0;
}
.main-navigation ul li,
header #mobile-navigation ul li a {
  font-family: 'MPLUS1p Regular' !important;
  border-bottom: 0;
  text-transform: none;
  font-size: 24px;
  line-height: 40px;
  position: relative;
  display: inline-block;
  width: auto !important;
  padding-left: 0;
  padding-right: 0;
  margin-left: 40px;
}
#mobile-navigation ul li.current-menu-item a::after,
header #mobile-navigation ul li a::after{
  content: "";
  height: 1px;
  width: 0;
  background-color: #FFF;
  position: absolute;
  bottom: 2px;
  left: 0;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}
header.site-header .site-branding .site-title a,
header #site-navigation li#menu-item-39 a {
  background-image: url(./images/FPA_Logo.png);
  height: 165px;
  width: 175px;
  background-size: 100%;
  display: block;
  text-indent: -1000ex;
  font-size: 0;
  background-repeat: no-repeat;
}
header.site-header .site-branding .site-title a {
  height: 75px;
  width: 79px;
}
.headernavi .headernavi_content {
  position: relative;
}
header .link-underline.main-navigation div > ul:not(.cart_list) > li#menu-item-39:hover > a {
  border: 0;
  border-color: transparent;
}
header #mobile-menu-button {
  position: absolute;
}
header .main-navigation ul li {
  text-transform: none;
}

.weisser .dreier .panel-last-child a {
  color: #FFF !important;
}
#mobile-navigation ul li.current-menu-item a,
header #mobile-navigation #primary-menu li a.current-menu-item,
header #mobile-navigation ul li a:hover {
  color: #21917B !important;
  text-decoration: underline;
}
#mobile-navigation ul li.current-menu-item a::after,
header #mobile-navigation ul li a:hover:after {
  width: 100%;
}
header #mobile-navigation ul li.menu-item:first-child a {
  position: relative;
  transition: transform 0.5s ease;
  padding: 0 12px;
  line-height: 25px;
  margin: 50px 0 50px 35px;
  text-indent: -1000ex;
  font-size: 0;
}
header #mobile-navigation ul li.menu-item:first-child a:before,
header #mobile-navigation ul li.menu-item:first-child a:after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 3px;
  top: 12px;
  left: 2px;
  background-color: #21917B;
  -moz-transform: skewY(45deg);
  -webkit-transform: skewY(45deg);
  -o-transform: skewY(45deg);
  -ms-transform: skewY(45deg);
  transform: skewY(45deg);
}
header #mobile-navigation ul li.menu-item:first-child a:hover:before,
header #mobile-navigation ul li.menu-item:first-child a:hover:after {
  background-color: #21917B;
}
header #mobile-navigation ul li.menu-item:first-child a:before {
  -moz-transform: skewY(-45deg);
  -webkit-transform: skewY(-45deg);
  -o-transform: skewY(-45deg);
  -ms-transform: skewY(-45deg);
  transform: skewY(-45deg);
}
header #mobile-navigation ul li.menu-item:first-child a:hover {
  transform: rotate(90deg);
  color: #21917B !important;
}
header .menu-hauptnavi-container li#menu-item-121 {
  display: none;
}
.headernavi {
  width: 100%;
  position: absolute;
  top: 52px;
  z-index: 100;
}
.headernavi  #mobile-menu-button {
  display: block;
  line-height: 0;
  padding: 5px;
  position: absolute;
  right: 15px;
  top: -34px;
  z-index: 100;
}
@media only screen and (min-width: 1300px) {
  .headernavi {
    position: sticky;
  }
  .headernavi  #mobile-menu-button {
    right: 15px;
    top: -40px;
  }
}
@media only screen and (min-width: 1400px) {
  .headernavi #mobile-menu-button {
    right: 0;
    top: 30px;
  }
}
a.linker:active,
a.linker:visited,
a.linker {
  border: 2px solid #21917B;
  background-color: #21917B;
  font-family: 'Tinos Bold' !important;
  color: #FFF;
  text-align: center;
  padding: 25px 25px;
  width: 100% !important;
  max-width: 100%;
  cursor: pointer;
  display: inline-block;
  margin-top: 0;
  font-size: 20pt;
  text-transform: uppercase;
}
@media only screen and (min-width: 1024px) {
  a.linker:visited,
  a.linker {
    max-width: 300px;
  }
}
a.linker:hover {
  background-color: #FFF;
  color: #21917B;
}
footer a.linker {
  border: 1px solid #135e91;
  background-color: #135e91 !important;
  color: #FFF !important;
  position: absolute;
  bottom: 40px;
  right: 0;
  padding: 10px 40px;
  font-size: 20px;
}
footer a.linker:hover,
.blauer a.linker {
  background-color: #fff !important;
  color: #135e91 !important;
}
footer p {
  color: #000;
}
footer .footer-right aside.widget {
  margin: 50px 0 20px 0;
}
header a.linker {
	margin-top: 0;
}
footer .bottom-bar .corp-container {
  border-bottom: 1px solid #135e91;
  position: relative;
}
#content .corp-container .content_text {
  position: relative;
  border-bottom: 2px solid #21917B;
  padding-bottom: 50px;
}
.single #news h2.entry-title,
.slide-text h4,
.content_text.content_leistungen h1,
.home .content_text h3 {
  font-size: 40pt;
  line-height: 48pt;
  padding: 20px 15px 20px 20px;
  background-color: #21917B;
  display: block;
  color: #FFF;
  width: 100%;
  font-family: 'Tinos Bold' !important;
}
.single #news h2.entry-title,
.slide-text h4 {
  font-size: 20pt;
  line-height: 24pt;
}
body:not(.home) .content_text h3 {
  color: #000;
  padding: 0;
  width: auto !important;
  font-size: 15pt !important;
  line-height: 20pt !important;
  background: transparent;
  font-family: 'MPLUS1p Regular' !important;
  margin: 0;
}
.content_text h3:not(.home) b {
  font-weight: 100 !important;
}
.content_text .textwidget em {
  font-size: 12pt !important;
  line-height: 16pt !important;
  font-style: normal !important;
}
.slide-text h5 {
  font-size: 15pt;
  line-height: 18pt;
}
footer.site-footer {
  margin-top: 0;
  z-index: 2;
  position: relative;
}
footer .corp-container .col-md-6 {
  width: 75%;
  float: left;
}
footer .corp-container .col-md-6.footer-right {
  width: 25%;
}
footer .corp-container ul li,
footer .corp-container p {
  font-size: 15pt;
  line-height: 18pt;
}
footer .corp-container .footer-left li a {
  color: #000;
}
footer ul.social li {
  float: left;
  margin: 0 5px;
}
footer.site-footer .bottom-bar .widget,
footer ul.social li:first-child {
  margin-left: 0;
}
footer.site-footer .bottom-bar .corp-container div:only-of-type {
  text-align: left;
}
.content_text.content_kontakt fieldset fieldset,
.content_text.kontakt fieldset{
  border: 0;
}
.content_text.content_kontakt fieldset fieldset p,
.content_text.kontakt fieldset p {
  margin-bottom: 0;
}

#content .corp-container .content_width em {
  margin-top: 20px;
}
ul.icons {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
}
ul.icons li {
  position: relative;
  padding: 20px 0 5px 50px;
}
ul.icons li:before {
  content: "";
  background-image: url(./images/Icon_phone.jpg);
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  top: 14px;
  background-size: 100%;
}
ul.icons li:nth-child(2):before {
  background-image: url(./images/Icon_Fax.jpg);
}
ul.icons li:last-child:before {
  background-image: url(/wp-content/uploads/2025/10/Icon_E-Mail.png);
}
.instagram a {
  position: relative;
  width: 150px;
  display: inline-block;
}
.instagram a:after,
.instagram a:before {
  content: "";
  background-image: url(./images/Bogen_rechts_gruen.jpg);
  position: absolute;
  background-size: 100%;
  display: block;
  width: 250px;
  height: 250px;
  bottom: -138px;
  right: -90px;
  z-index: -1;
}
.instagram a:after {
    background-image: url(./images/Icon_Instagram.jpg);
    width: 80px;
    height: 80px;
    bottom: -83px;
    right: -28px;
    z-index: 1;
}
.instagram.lebenslauf a:after {
    background-image: url(./images/Icon_Lebenslauf.png);
    width: 62px;
}
.rund img {
  border-radius: 50%;
  max-width: 275px !important;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
}
.folgelinks.rund img {
  max-width: 370px !important;
  margin: 0 auto !important;
}
.content_text.content_leistungen h2,
.folgelinks.rund a {
  font-size: 18pt;
  text-align: center;
  display: block;
  text-transform: uppercase;
  color: #21917B;
  font-weight: 900;
  letter-spacing: 5px;
  font-family: 'MPLUS1p ExtraBold';
}
.content_text.content_leistungen h2 {
  background-color: transparent;
  text-align: left;
  color: #21917B !important;
  margin: 0;
  padding: 0;
}
.page-id-106 .burger span,
.page-id-106 .content_text.content_leistungen h1 {
  background-color: #004AAD !important;
}
.page-id-106 .site-footer .widgets .widget a,
.page-id-106 .main-navigation ul li a,
.page-id-106 .content_text.content_leistungen h2 {
  color: #004AAD !important;
}
.page-id-106 #content .corp-container .content_text {
  border-color: #004AAD !important;
}
.site-footer .widgets .widget a {
  font-weight: 700;
}
.folgelinks.rund .panel-grid-cell:last-child a {
  color: #004AAD;
}
.content_text.content_leistungen ul {
  	margin: 40px 0 0 20px;
	padding: 0;
}
.content_text.content_leistungen .gesundheitsleistungen ul {
  margin-top: 13px;
}
#news .caption p,
#team .textwidget p{
  background-color: #21917B;
  color: #FFF;
  padding: 90px 15px 60px;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: -100px auto 0;
}
@media only screen and (min-width: 1024px) {
	#ueberuns img {
		margin-top: 25px;
	}
  #news .caption p,
  #team .textwidget p {
    max-width: calc(100% - 30px);
  }
}
#team .textwidget p {
  max-width: 100%;
}
#team .textwidget p,
#news .caption p{
  position: relative;
  z-index: 0;
}
#team .textwidget p:after,
#news .caption p:after {
  position: absolute;
  content: "";
  background-image: url(./images/Bogen_rechts_weiß.png);
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  z-index: 10;
  background-size: 100%;
}
@media only screen and (min-width: 1024px) {
  #team .textwidget p:after,
  #news .caption p:after {
    right: 40px;
  }
}
#team .textwidget p:after {
  right: 0;
}
#team .textwidget p,
#news .caption p {
  margin-top: -75px;
  font-size: 20pt;
  font-size: 16pt;
  letter-spacing: 5px;
}
#news .slider {
  position: relative;
  overflow: visible; /* wichtig, damit extra content sichtbar bleibt */
}
#news .slick-slide {
  overflow: visible; /* wichtig, sonst wird Inhalt abgeschnitten */
}
#news .featured-posts-slider .slides .slide .slide-content h3.entry-title {
  width: 100%;
  margin-bottom: 50px;
}
#news .featured-posts-slider .slides .slide .slide-content .entry-title,
#news .featured-posts-slider .slides .slide .slide-content h3.entry-title a {
  font-size: 18pt;
  font-family: 'Tinos Bold' !important;
  color: #FFF;
  line-height: 24pt;
  text-transform: uppercase;
  text-align: left;
}
#news .featured-posts-slider .slides .slide .slide-content {
  top: 0;
  margin-top: 0;
}
#news .featured-posts-slider .slides .slide .slide-content p {
  text-align: left;
}
#news .featured-posts-slider .slides .slide .slide-content .sliderimg img {
  margin-left: 0;
  position: relative;
  z-index: 2;
}
#news .flexslider .slides li {
  line-height: 24pt;
}
#news .flexslider,
#news .featured-posts-slider .slides .slide {
  background-color: transparent;
}
#news .slick-prev, #news .slick-next,
#news .flexslider .flex-direction-nav a.flex-next,
#news .flexslider .flex-direction-nav a.flex-prev {
  opacity: 1;
  top: auto;
  bottom: 0;
  background-color: transparent;
  background-image: url(./images/Icon_Pfeil_links_gruen.png);
  background-size: 100%;
  width: 120px;
  height: 68px;
  text-indent: -1000ex;
  font-size: 0;
  z-index: 100;
}
#news .slick-list {
  margin-bottom: 50px;
}
#news .slick-prev {
  bottom: -108px;
  left: 0;
}
#news .slick-next {
  right: 0;
  bottom: -75px;
}
@media only screen and (min-width: 1300px) {
  #news .slick-next {
    right: 70px;
  }
}
#news .slick-prev::before, #news .slick-next::before {
    content: "";
}
#news .slick-prev:hover, #news .slick-next:hover,
#news .flexslider .flex-direction-nav a.flex-next:hover,
#news .flexslider .flex-direction-nav a.flex-prev:hover {
  background-image: url(./images/Icon_Pfeil_links_blau.png);
}
#news .slick-next,
#news .flexslider .flex-direction-nav a.flex-next:hover,
#news .flexslider .flex-direction-nav a.flex-next {
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
#news .flexslider .flex-direction-nav a svg {
  display: none;
}
#news .featured-posts-slider .slides .slide .slide-content {
  text-align: left;
}
#news .featured-posts-slider .slides .slide {
  height: 100%;
  min-height: 500px;
}
#news a.wenigerlesen,
#news a.mehrlesen {
  color: #21917B;
}
#news .flex-control-nav.flex-control-paging,
#news a.mehrlesen.active {
  display: none;
}
#news .mehrtext {
  height: 100%;
  /*
  height: 0;
  opacity: 0;
  -webkit-transition: all 1000ms ease;
  -moz-transition: all 1000ms ease;
  -ms-transition: all 1000ms ease;
  -o-transition: all 1000ms ease;
  transition: all 1000ms ease;
  position: relative;
  top: 100%;
  left: 0;
  */
  display: inline-block;
}
/*
#news .mehrtext.active {
  height: 100%;
  opacity: 1;
}
*/
header .site-branding {
  position: absolute;
  top: 10px;
  left: 15px;
}
#site-navigation #mobile-menu-button {
  display: block;
  top: 0;
  position: absolute;
  right: 0;
}
.instagram {
  padding-bottom: 100px;
}
nav.main-navigation .menu-hauptnavi-container {
  display: none;
}
header.site-header {
  margin-bottom: 95px;
  z-index: 11;
}
.uhrzeiten .panel-layout .panel-grid-cell:last-child p{
  margin-left: 0 !important;
}
@media only screen and (min-width: 1300px) {
  .content_text.content_leistungen .panel-grid-cell:first-child,
  #app .panel-grid-cell:first-child,
#ueberuns .panel-grid-cell:first-child,
  #news .slide-text {
    padding: 0 70px 0 0;
  }
  #drblaeser .textwidget {
    padding: 0 100px 0 0;
  }
}
.instagram {
  padding-bottom: 100px;
  float: right;
  left: -80px;
  position: relative;
}
.content_text.content_kontakt fieldset {
  border: 0;
  padding: 0;
}
.team p {
  margin-bottom: 15px;
}
.team img.so-widget-image {
  margin-bottom: 20px;
}
.team .panel-grid-cell {
  margin-bottom: 80px;
}
.gleichehoehe .panel-layout .panel-grid {
  min-height: 400px;
}
.blog-layout-grid article .entry-content {
  text-align: center;
}
body .fg-panel.fg-light {
  background-color: #051042;
}
body .fg-panel.fg-light :is(.fg-panel-cart-inner, body .fg-panel-info-inner) {
  background-color: rgb(255, 255, 255,1);
}
.trenner {
  padding: 10px 0;
}
.trenner50 {
  padding: 10px 0;
}
.content_text.img_absolute p {
  color: #000;
}
footer .bottom-bar .widget h2,
.content_text.img_absolute h2 {
    color: #135e91;
}
footer .bottom-bar .widget h2 em {
  font-weight: 100;
  font-style: normal;
  font-family: "Times New Roman", Arial, sans-serif !important;
}
footer .footer-left aside:first-child img {
    max-width: 210px !important;
}

a.more-link {
  display: inline-block;
  margin-top: 20px;
}
/*
.single article {
  margin-top: 150px;
}
*/

.blauer {
  background-color: #135e91;
}

.fg-panel.fg-dark .fg-panel-button[aria-pressed="true"], .fg-panel.fg-light :is(.fg-panel-button, .fg-panel-area-toggle, .fg-panel-thumbs-button) {
  color: #FFF;
}
.fg-panel.fg-light :is(.fg-media-caption-title, .fg-media-caption-exif, .fg-media-product-body) {
  border-color: transparent !important;
}
.textwidget .foogallery .fg-caption {
  background-color: #051042;
  position: relative;
  opacity: 1;
  visibility: visible;
    font-family: Arial, sans-serif !important;
}
.fg-media-caption-title,
.textwidget .foogallery .fg-caption-title {
  text-transform: uppercase;
  font-size: 24px;
    font-family: Arial, sans-serif !important;
  line-height: 28px;
}
.fg-media-caption-description,
.textwidget .fg-caption-desc {
  font-size: 20px !important;
  line-height: 24px;
    font-family:  Arial, sans-serif !important;
}
.fg-panel-info-bottom.fg-panel-info-overlay:is(.fg-medium, .fg-panel-no-mobile) .fg-panel-info-inner {
  background-color: #051042;
  color: #FFF;
  border: 0 !important;
}
.fg-panel.fg-light :is(.fg-panel-info-inner,
.fg-panel.fg-light :is(.fg-media-caption-title, .fg-media-caption-exif, .fg-media-product-body) {
  border: 0 !important;
  border-color: #051042;
}
