/*
Theme Name: Sydney Child
Theme URI:
Author:
Author URI:
Template: sydney-pro-ii
Version: 1.0
Text Domain: sydney
*/
@font-face {
  font-family: 'CeraPRO-Bold';
  src: url("fonts/CeraPRO-Bold.eot") format('embedded-opentype'),
    url("fonts/CeraPRO-Bold.woff2") format('woff2'),
    url("fonts/CeraPRO-Bold.woff") format('woff'),
    url("fonts/CeraPRO-Bold.ttf") format('truetype');
  font-display: swap; // helps the browser not to "flash" unloaded fonts (FOIT effect) see: https://web.dev/font-display/?utm_source=lighthouse&utm_medium=unknown
}

@font-face {
  font-family: 'CeraPRO-Regular';
  src: url("fonts/CeraPRO-Regular.eot") format('embedded-opentype'),
    url("fonts/CeraPRO-Regular.woff2") format('woff2'),
    url("fonts/CeraPRO-Regular.woff") format('woff'),
    url("fonts/CeraPRO-Regular.ttf") format('truetype');
  font-display: swap; // helps the browser not to "flash" unloaded fonts (FOIT effect) see: https://web.dev/font-display/?utm_source=lighthouse&utm_medium=unknown
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
}

/**
* Firefox specific rule
*/
@-moz-document url-prefix() {
  body {
    font-weight: lighter !important;
  }
}

/*==================== Basic Settings =========================*/
* {
  font-family: 'CeraPRO-Regular', sans-serif;
  font-size: 20px;
  line-height: 28px;
}

.body {
  color: #000000;
}

.hide {
  display: none !important;
}

h1 {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 45px !important;
  line-height: 48px !important;
  color: #000000 !important;
}

h2 {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 35px;
  line-height: 45px;
  color: #8FC7C5 !important;
}

h3 {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 27px !important;
  line-height: 40px;
  color: #000 !important;
}
h3 nobr{
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 27px !important;
  line-height: 40px;
  color: #000 !important;
}

p a {
  border-bottom: 2px solid #8FC7C5;
}

body:not(.elementor-page):not(.panel-layout) .entry-content h3 {
  margin-top: 0;
}

.home-headline h2 {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 45px;
  line-height: 55px;
  color: #000 !important;
  text-align: center !important;
}

.home-headline .widget-title:after {
  display: none;
}

.panel-grid-cell .widget-title::after {
  left: 0px;
  margin-left: 0px;
}

.panel-grid-cell .widget-title {
  text-align: left;
  margin-left: 0;
}

body:not(.elementor-page):not(.panel-layout) .entry-content h1 {
  margin-bottom: 100px;
}

body:not(.elementor-page):not(.panel-layout) .entry-content h2 {
  margin-top: 0;
}

.page .page-wrap .content-wrapper, .single .page-wrap .content-wrapper {
  padding-top: 0;
}

.lead {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 33px;
  line-height: 40px;
}

strong {
  font-family: 'CeraPRO-Bold', sans-serif !important;
  font-weight: normal;
}

strong a {
  font-family: 'CeraPRO-Bold', sans-serif !important;
  font-weight: normal;
}

.panel-grid-cell .widget-title::after {
  height: 3px;
}

.site-logo {
  max-height: 45px !important;
}

@media (min-width: 575px) {
  .site-logo {
    max-height: 70px !important;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 35px !important;
    line-height: 42px !important;
  }

  .home-headline h2 {
    font-size: 33px;
    line-height: 37px;
  }
}

#masthead-mobile svg {
  fill: ;
  height: 20px !important;
  width: 25px;
}

/* ======= Header ============ */
.text-slider .maintitle, .text-slider .subtitle {
  color: #ffffff;
  max-width: 888px;
}

.home .header-image {
  height: 80vh !important;
  background-size: cover;
  background-position: top;
  display: flex !important;
  justify-content: start;
  flex-direction: column;
}

.hero-h1 {
  text-align: center;
  color: #fff !important;
  font-size: 60px !important;
  line-height: 65px !important;
  position: relative;
  top: 25%;
  padding-bottom: 35px;
}

.hero-h1:after {
  background-color: #fff;
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 4px;
  margin-left: -50px;
}

.kdgs-button-hero {
  background-color: #D37B7B;
  color: #fff;
  height: 200px;
  width: 200px;
  border-radius: 100px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 20%;
  transform: rotate(10deg);
  transition: all 300ms ease-in-out;
  line-break: normal !important;
  position: relative;
  top: 25%;
}

.kdgs-button-hero:hover {
  transform: rotate(0deg);
  transition: all 300ms ease-in-out;
  color: #fff !important;
}

.kdgs-button-hero a {
  text-align: center;
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 24px;
  line-height: 29px;
}

.kdgs-button-hero p {
  font-family: 'CeraPRO-Bold', sans-serif;
  text-align: center;
  font-size: 24px;
  line-height: 29px;
  margin-bottom: 0;
}

.sticky-header.sticky-active {
  border-bottom: solid #f5f5f5 2px;
}

@media (max-width: 767px) {
  .hero-h1 {
    font-size: 35px !important;
    line-height: 48px !important;
  }

  .kdgs-button-hero {
    height: 150px;
    width: 150px;
  }

  .kdgs-button-hero p {
    font-size: 19px;
    line-height: 19px;
  }
}

/*=========== Menü =============*/
.menu-item a {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 22px;
  line-height: 26px;
}

.notfall-navi a {
  color: #D37B7B !important;
}

.current_page_item a {
  color: #8FC7C5 !important;
}

/* =============== Elemente ===================*/
.teaser-home {
  text-align: center !important;
}

.teaser-home h3 {
  font-family: 'CeraPRO-Bold', sans-serif;
  color: #8FC7C5 !important;
  font-size: 35px;
  line-height: 45px;
}

.teaser-home p {
  font-family: 'CeraPRO-Bold', sans-serif;
  color: #000;
  font-size: 20px;
  line-height: 28px;
}

.teaser-home a {
  font-size: 20px;
  line-height: 24px;
  font-family: 'CeraPRO-Bold', sans-serif;
  color: #000;
  border-bottom: solid 3px #A0DBD8;
  padding-bottom: 5px;
}

.img-circle img {
  border-radius: 50%;
  margin-bottom: 25px;
}

.statement p {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 33px;
  line-height: 40px;
  margin-left: auto;
  margin-right: auto;
}

.link-gross {
  margin-top: 55px;
  margin-bottom: 55px;
}

.link-gross a {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 35px;
  line-height: 45px;
  color: #8FC7C5 !important;
}

.link-gross a:hover {
  color: #000000 !important;
}

.lead-text p {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 27px;
  line-height: 35px;
  color: #000 !important;
  margin-bottom: 200px;
}

.lead-text h2 {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-size: 27px;
  line-height: 35px;
  margin-bottom: 0 !important;
}

hr {
  border-top: 3px solid #8FC7C5;
  max-width: 100px;
}

@media (max-width: 767px) {
  .link-gross a {
    font-size: 26px;
    line-height: 36px;
  }

  .teaser-home h3 {
    font-size: 27px !important;
    line-height: 37px;
  }

  .lead-text p {
    font-size: 23px;
    line-height: 31px;
		margin-bottom: 100px;
  }

  .lead-text h2 {
    font-size: 23px;
    line-height: 31px;
  }

  .statement p {
    font-size: 27px;
    line-height: 33px;
  }
}

/* Ninja Forms */
.nf-form-content label {
  font-family: 'CeraPRO-Bold', sans-serif;
  font-weight: normal !important;
}

.nf-form-fields-required {
  font-family: 'CeraPRO-Regular', sans-serif;
}

.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type="button"]), .nf-form-content textarea {
  border: 0 !important;
}

.nf-form-content .list-select-wrap .nf-field-element>div:focus, .nf-form-content input:not([type="button"]):focus, .nf-form-content textarea:focus {
  border: solid 1px #8FC7C5 !important;
  color: #000 !important;
  outline: none;
  transition: all .5s;
}

.nf-form-wrap.ninja-forms-form-wrap {
  max-width: 800px;
}

.nf-form-content {
  padding: 35px 0 !important;
}

.nf-form-content button, .nf-form-content input[type="button"], .nf-form-content input[type="submit"] {
  background: #000 !important;
  border: 0;
  color: #fff !important;
  font-family: 'CeraPRO-Bold', sans-serif !important;
  text-transform: none !important;
  border-radius: 0 !important;
  padding: 14px 38px;
}


}
/* Footer */
.go-top {
  background-color: #000 !important;
  padding: 25px !important;
}

.go-top.show {
  border-radius: 50% !important;
  bottom: 113px !important;
}

.go-top .sydney-svg-icon, .go-top .sydney-svg-icon svg {
  width: 26px !important;
  height: 26px !important;
}

.footer-widgets-grid .so-widget-image {
  margin-bottom: 23px !important;
  max-height: 84px;
  width: auto;
}

.footer-widgets-grid .sidebar-column:last-child {
  text-align: right;
}

.footer-widgets-grid .sidebar-column:last-child a {
  text-decoration: underline;
  font-size: 16px !important;
  margin-right: 20px;
}

.footer-widgets-grid {
  padding-bottom: 23px !important;
}

/* Div mobile */
@media (max-width: 767px) {
  .footer-widgets-grid .sidebar-column {
    text-align: center !important;
  }

  .panel-row-style {
    padding: 0 !important;
  }
}
