/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGroteskWeb-Regular.woff2') format('woff2'),
  url('fonts/FoundersGroteskWeb-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/FoundersGroteskWeb-Medium.woff2') format('woff2'),
  url('fonts/FoundersGroteskWeb-Medium.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

::-moz-selection {
  background: #BECAE1 !important;
  color: #000000 !important;
}

::selection {
  background: #BECAE1 !important;
  color: #000000 !important;
}

* {
  outline: none;
}

body {
  font-family: 'Founders Grotesk', sans-serif;
  font-weight: normal;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: normal;
  text-transform: none !important;
  margin-top: 0 !important;
}

h1 {
  font-size: 51px;
  line-height: 52px;
  letter-spacing: normal !important;
  margin-bottom: 32px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: normal !important;
  margin-bottom: 23px;
  padding-bottom: 28px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 24px;
  height: 4px;
  background-color: #BECAE1;
  position: absolute;
  bottom: 0;
  left: 0;
}

h3 {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: normal !important;
  margin-bottom: 24px;
}

h4 {
  font-size: 20px;
  line-height: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

p {
  line-height: 26px !important;
  margin-top: 0;
  margin-bottom: 28px;
}

p.big {
  font-size: 32px;
  line-height: 36px !important;
  letter-spacing: normal;
  margin-bottom: 60px;
}

p a {
  text-decoration: underline !important;
}

ul {
  margin: 0;
}

.container {
  padding: 0 20px !important;
}

/* HEADER */

.logo > a {
  display: flex;
  align-items: center;
}

.logo img {
  width: 208px;
  object-fit: contain;
}

.logo img.alternate {
  top: 50%;
  transform: translateY(-50%);
}

#top #av-burger-menu-ul {
  vertical-align: top;
}

.avia-menu-text {
  font-size: 20px;
  font-weight: bold;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

#top .av_header_transparency .main_menu ul:first-child > li > a:hover {
  opacity: 1;
}

#top .av_header_transparency .main_menu ul:first-child > li > a:hover .avia-menu-text {
  color: #BECAE1 !important;
}

.av-main-nav > li > a:hover .avia-menu-text,
.current-menu-item .avia-menu-text {
  color: #BECAE1;
}

/* SLIDER */

.slideshow_caption {
  width: 60%;
  padding-left: 20px;
  padding-right: 20px;
}

h2.avia-caption-title {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.2px !important;
  margin-bottom: 40px;
  padding: 0;
}

h2.avia-caption-title::after {
  display: none;
}

.avia-caption-content p {
  font-size: 32px !important;
  line-height: 36px !important;
  letter-spacing: normal;
  margin: 0 0 26px;
}

a.btn,
#top .avia-slideshow-button {
  display: inline-block;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: normal;
  font-weight: normal;
  border-radius: 0;
  text-transform: none;
  padding: 4px 54px 8px 0;
  margin: 0;
  border: none;
  background: transparent url('img/link.svg') no-repeat center right;
  background-size: 40px 40px;
  text-align: left;
  text-decoration: none !important;
  color: #ffffff !important;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

a.btn:hover,
#top .avia-slideshow-button:hover {
  text-decoration: underline !important;
  background-image: url('img/link-hover.svg');
  background-size: 40px 40px;
  color: #ffffff;
}

#top .avia-slideshow-button.avia-color-light {
  display: none;
}

#top .avia-slideshow-button .avia_loading_icon {
  display: none !important;
  opacity: 0 !important;
}

/* OVERLAP */

.overlap {
  padding-bottom: 114px;
  margin-bottom: -132px;
}

/* ACCORDION */

.togglecontainer {
  margin-top: 64px;
}

.togglecontainer > .av_toggle_section:last-of-type .single_toggle {
  border-bottom: 1px solid #BECAE1;
}

.togglecontainer .toggler {
  font-weight: bold;
  border-top: 1px solid #BECAE1;
  border-right: none;
  border-bottom: none;
  border-left: none;
  border-radius: 0 !important;
  padding: 14px 40px 14px 0;
  background: url('img/right.svg') no-repeat right 7px center !important;
  background-size: 32px 32px !important;
}

.togglecontainer .toggler:hover {
  background: url('img/right.svg') no-repeat right 7px center !important;
  background-size: 32px 32px !important;
}

.togglecontainer .toggler.activeTitle {
  background: url('img/down.svg') no-repeat right 7px center !important;
  background-size: 32px 32px !important;
}

.toggle_content {
  border: none;
  margin: 0;
  padding: 12px 85px 0 0;
}

.toggle_content p {
  margin-bottom: 33px;
}

/* CITE */

#cite {
  background-size: cover;
}

#cite h2::after {
  background-color: #ffffff;
}

/* KONTAKT */
/* TEASER */

#kontakt.avia-section-huge .content,
#teaser.avia-section-huge .content {
  padding-bottom: 50px;
}

/* FOOTER */

#footer {
  padding: 0;
  background-color: #becae1;
  background-image: linear-gradient(to right, #becae1, #e0e7f2);
}

@media only screen and (max-width: 479px) {
  .responsive #top .slideshow_caption {
    padding-right: 20px;
  }
}

@media screen and (max-width: 767px) {
  .responsive #top #wrap_all .container {
    width: 100%;
    max-width: 100%;
  }

  .slideshow_caption {
    padding-top: 0 !important;
    padding-left: 20px !important;
  }

  h2.avia-caption-title {
    display: none;
  }

  #footer .widget {
    margin: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 989px) {
  .responsive .logo img {
    margin-top: 0;
  }
}

@media screen and (max-width: 989px) {
  .responsive .logo img {
    width: 168px;
  }

  .avia-section-huge .content, .avia-section-large .content {
    padding-top: 65px;
    padding-bottom: 65px;
  }
}

@media screen and (min-width: 990px) {
  .av-main-nav > li > a {
    line-height: 162px !important;
  }
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 1.250rem !important;
  }

  h1 {
    font-size: 82px;
    line-height: 78px;
  }

  h2 {
    font-size: 51px;
    line-height: 52px;
  }

  h3 {
    font-size: 32px;
    line-height: 36px;
  }

  p {
    line-height: 28px !important;
  }

  p.big {
    font-size: 51px;
    line-height: 52px !important;
  }

  .avia-caption-content p {
    font-size: 82px !important;
    line-height: 78px !important;
    margin: 0 0 52px;
  }

  a.btn,
  #top .avia-slideshow-button {
    font-size: 32px;
    line-height: 36px;
    padding-right: 64px;
    background-size: 48px 48px;
  }

  a.btn:hover,
  #top .avia-slideshow-button:hover {
    background-size: 48px 48px;
  }

  #cite {
    padding: 48px 0 25px;
  }

  #footer {
    padding: 42px 0 29px;
  }
}

@media screen and (min-width: 1280px) {
  .av-main-nav > li > a {
    padding: 0 20px;
  }
}

@media screen and (min-width: 1440px) {
  #top .avia-slideshow-button.avia-color-light {
    display: inline-block;
    padding: 0 0 0 25px;
    background: none;
    border: none;
    position: absolute;
    bottom: 40px;
    left: -120px;
    transform: rotate(-90deg);
    transition: none !important;
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
    letter-spacing: 0.2px;
    color: #BECAE1 !important;
    text-decoration: none;
    opacity: 1;
    min-width: auto;
    animation: none;
  }

  #top .avia-slideshow-button.avia-color-light::before {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    position: absolute;
    top: 15px;
    left: 0;
    background-color: #BECAE1;
  }

  #top .avia-slideshow-button.avia-color-light:hover {
    text-decoration: underline;
  }
}