/*
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: 'alexbrushregular';
  src: url('fonts/alexbrush-regular-webfont.woff2') format('woff2'),
  url('fonts/alexbrush-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ralewayregular';
  src: url('fonts/raleway-regular-webfont.woff2') format('woff2'),
  url('fonts/raleway-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ralewaysemibold';
  src: url('fonts/raleway-semibold-webfont.woff2') format('woff2'),
  url('fonts/raleway-semibold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'ralewayregular';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'alexbrushregular' !important;
  line-height: 1em !important;
  font-weight: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  margin-bottom: 0.5em !important;
}

h1 {
  font-size: 4em;
}

h2 {
  font-size: 3em;
}

h3, h4, h5, h6 {
  font-size: 2em;
}

#BorlabsCookieBox h3,
#BorlabsCookieBox h4 {
  font-family: 'ralewayregular' !important;
}

p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 {
  margin-top: 1em !important;
}

p {
  margin-top: 0 !important;
  margin-bottom: 1em !important;
}

strong, b {
  font-weight: normal;
  font-family: 'ralewaysemibold';
}

.teaser h1, .teaser h2, .teaser h3 {
  margin-bottom: 0 !important;
}

.avia-caption-title {
  font-size: 5em;
  margin-bottom: 0 !important;
}

.avia-caption-content p {
  font-family: 'alexbrushregular' !important;
  font-size: 2em !important;
  line-height: 1em !important;
  margin-bottom: 0 !important;
}

.flex_cell {
  background-size: cover !important;
}

.avia-menu-text {
  font-size: 16px;
  font-weight: normal;
  font-family: 'ralewaysemibold';
}

#top .av-control-minimal .avia-slideshow-arrows a:before {
  border: none;
}

.avia_desktop .av-hover-overlay-active .av-masonry-image-container {
  opacity: 1;
}

.mfp-title {
  display: none;
}

iframe {
  display: block !important;
}

#map {
  height: 450px;
}

#footer {
  padding: 35px 0;
}

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

@media only screen and (max-width: 767px) {
  #header {
    background-color: #ffffff !important;
    position: fixed !important;
    box-shadow: 0 0 8px 0 rgba(130, 170, 170, 0.1);
  }

  .responsive .logo img {
    padding: 10px 0;
  }

  .responsive .logo svg {
    height: 60px !important;
  }

  .html_av-overlay-side #top .av-burger-overlay-scroll {
    background-color: #f2f6f6;
  }

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

  .avia-menu-text {
    font-size: 18px;
  }

  .responsive #top #main {
    padding-top: 80px !important;
  }

  #top .avia-slideshow-arrows a {
    margin-left: 0;
    margin-right: 0;
  }

  .responsive #top #wrap_all .container {
    width: 100%;
    max-width: calc(100% - 40px);
  }

  .avia-section-huge .content {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .responsive #top #wrap_all .av-flex-cells .no_margin.av_one_half {
    min-height: 300px;
    padding: 70px 20px !important;
  }

  #footer .widget {
    margin: 0;
  }
}

@media only screen and (min-width: 768px) {
  h1 {
    font-size: 5em;
  }

  #header:not(.av_header_transparency) .header_bg {
    box-shadow: 0 0 8px 0 rgba(130, 170, 170, 0.1);
  }

  .logo svg {
    height: 86px;
    margin-top: 16px;
  }

  .menu .menu-item a {
    padding: 0 16px !important;
  }

  .container {
    padding: 0 20px;
  }

  .teaser-img .flex_cell {
    height: 450px !important;
  }
}

@media only screen and (min-width: 1024px) {
  body, .avia-menu-text {
    font-size: 18px;
  }

  .menu .menu-item a {
    padding: 0 18px !important;
  }

  .teaser-img .flex_cell {
    height: 600px !important;
  }
}