/*
Theme Name: Chez Rüfi
Author: eloq GmbH
Author URI: https://eloq.swiss/
Description: Die eloq GmbH macht nicht einfach Internetseiten. Wir bieten Ihnen durchdachte Konzepte, mischen Designkompetenz mit technischem Können und streben so nach der perfekten Internet-Präsenz unseres Kunden. Das vorliegende Theme wurde von uns mit Passion und Freude handgefertigt. Wir hoffen, Ihnen gefällt unsere Arbeit!
Version: 1.0
*/
/* ==========================================================================
Chez-Rüfi 2017
by @EasyStudios
========================================================================== */
@import url("https://fonts.googleapis.com/css?family=PT+Serif");
@import url("https://fonts.googleapis.com/css?family=Roboto");
/* GENERAL */

.grecaptcha-badge {
  visibility: hidden;
}

html {
  position: relative;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

img.bg_static_cover {
  object-fit: cover;
  -o-object-fit: cover;
  object-position: center;
  -o-object-position: center;
  font-family: "object-fit: cover; object-position: center;";
  max-width: 100%;
  width: 100%;
  height: 100%;
}

.black_overlay {
  position: relative;
}
.black_overlay:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  z-index: 1;
}

.black_overlay > * {
  z-index: 100;
  position: relative;
}

footer .icon a,
footer .icon a:hover {
  text-decoration: none;
}

body {
  color: #000;
  font-size: 16px;
  font-family: "Roboto-Light", sans-serif;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
.colored {
  background-color: rgba(138, 128, 88, 0.1);
}
.error {
  border-color: red !important;
}
b {
  font-weight: 300;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #8a8058;
  font-family: "PT Serif", sans-serif;
  margin: 0px;
}
h1 {
  text-transform: uppercase;
  font-size: 42px;
  margin-bottom: 15px;
}
h2 {
  text-transform: uppercase;
  font-size: 34px;
  margin-bottom: 40px;
}
h2.smaller {
  font-size: 26px;
}
h3 {
  font-size: 26px;
  margin-bottom: 5px;
}
.news-slider {
  opacity: 0;
  min-height: 10px;
}
.news-slider > .slides > li {
  display: none;
}

.news-slider .flex-control-nav {
  bottom: 0px;
  z-index: 99999999999999;
  left: 0px;
}
.news-slider .flex-control-paging li a {
  box-shadow: none;
  -webkit-box-shadow: none;
  border: 1px solid #fff;
  background: transparent;
}
.news-slider .flex-control-paging li a.flex-active {
  background: #fff;
}

.news-slider-in {
  -webkit-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity: 1 !important;
}

.news-slider-in > .slides > li {
  display: block;
}

.news-slider .flex-direction-nav {
  position: absolute;
  width: 100%;
  left: 0px;
  bottom: 30px;
}

#map {
  position: absolute;
  bottom: 0px;
  width: 100%;
  top: 300px;
  height: 100vh;
}
.no-margin {
  margin: 0px;
}
.no-padding {
  padding: 0px;
}
.btn {
  border-radius: 5px;
  border: 1px solid #8a8058;
  color: #8a8058;
  padding-top: 3px;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 16px;
  text-decoration: none;
  padding-bottom: 3px;
}
img.scroll-down:hover {
  cursor: pointer;
}
img.scroll-down {
  position: absolute;
  width: 50px;
  left: calc(50% - 15px);
  bottom: 0;
}
.showback {
  background: rgba(138, 128, 88, 0.2);
  padding: 15px;
}
section {
  padding-top: 40px;
  padding-bottom: 40px;
}
p {
  font-size: 16px;
}
#home-divider {
  height: 375px;
}
#home-divider .banner {
  height: 375px;
}
#home-aktuell .showback {
  min-height: 230px;
  position: relative;
}
#home-aktuell .showback .btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
}
#home-aktuell .showback small,
#aktuell-container .showback small {
  font-size: 80%;
}
#home-aktuell .showback h3,
#aktuell-container .showback h3 {
  margin-top: 5px;
  margin-bottom: 15px;
}
#jobs-container .showback h3 {
  margin-bottom: 15px;
}
#home-menu {
  padding-top: 0px;
}

#home-menu .home-menu-row .col-md-4:nth-child(n + 4) {
  margin-top: 50px;
}

#home-menu p {
  margin-bottom: 0px;
}
a {
  text-decoration: underline;
  cursor: pointer;
  -webkit-transition: color 0.15s ease-in-out 0s;
  -o-transition: color 0.15s ease-in-out 0s;
  transition: color 0.15s ease-in-out 0s;
  outline: none !important;
  color: #8a8058;
}
section.fh-section .content {
  padding-top: 40px;
  padding-bottom: 40px;
}
a:hover {
  color: #000;
}
.form-control {
  border: 0;
  border: 1px solid #000;
  height: 45px !important;
  color: #847774;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 3px;
  float: none;
}
.btn-theme {
  background: #fff;
  height: 40px;
  width: 150px;
}
.mt25 {
  margin-top: 25px;
}
.mt50 {
  margin-top: 50px;
}

.mt0 {
  margin-top: 0;
}
.mb0 {
  margin-bottom: 0;
}
.pt0 {
  padding-top: 0;
}
.pb0 {
  padding-bottom: 0;
}

.form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-size: 0 2px, 100% 1px;
}
footer img.icon {
  width: 25px;
  display: inline-block;
  margin-right: 5px;
}
footer img.icon:last-child {
  margin-right: 0px;
}
footer .row {
  position: relative;
}
footer div#lang {
  position: absolute;
  right: 15px;
  bottom: 0px;
}
footer div#lang a,
footer div#lang a:hover {
  text-decoration: none;
}
textarea.form-control {
  height: 100px !important;
}
/* END GENERAL */
/* Custom */
section.fh-section {
  background-size: cover;
  background-position: center center;
}
/* TIMELINE */
.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
  display: table-cell;
  float: none;
  vertical-align: middle;
}
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: rgba(255, 255, 255, 0.4);
  left: 50%;
  margin-left: -15.5px;
}
.timeline > li {
  margin-bottom: 20px;
  position: relative;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}
.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  padding: 20px;
  position: relative;
}
.timeline-bg {
  background-size: cover;
  background-attachment: fixed;
  background-image: url("img/bg_geschichte.png");
}
.timeline-bg a,
.timeline-bg a:hover {
  color: #fff !important;
}
.timeline > li > .timeline-badge {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  margin-left: -40px;
  z-index: 100;
  background-image: url(img/icon/history_links.svg);
  background-size: cover;
}
.timeline > li:nth-child(even) > .timeline-badge {
  background-image: url(img/icon/history_rechts.svg);
}
.timeline > li:nth-child(even) > .timeline-panel {
  float: right;
}
.timeline > li:nth-child(even) > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li:nth-child(even) > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline-first {
  margin-left: -15.5px;
}

.timeline-first:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  bottom: 0;
  height: 50px;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: rgba(255, 255, 255, 0.4);
  left: 50%;
  margin-left: -15.5px;
  height: 250px;
  position: absolute;
  width: 3px;
  left: 50%;
}
.timeline-panel {
  color: #fff;
}
.timeline-title {
  margin-top: 0;
}
.timeline-heading span.year {
  display: block;
  font-size: 34px;
  font-family: "PT Serif", sans-serif;
}
.timeline-heading span.title {
  display: block;
  font-size: 26px;
  line-height: 30px;
  margin-bottom: 10px;
}
.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}
.timeline-body > p + p {
  margin-top: 5px;
}
/* TIME LINE */
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover,
.nav > li > a:focus,
.nav > li > a:hover {
  background-color: transparent;
}
.mb30 {
  margin-bottom: 30px;
}
.vcenter {
  display: table-cell;
  vertical-align: middle;
  float: none;
}
/* Flex Slider */
.banner,
.banner-slider {
  position: relative;
  z-index: 1;
  height: 75vh;
  border: none;
  padding-bottom: 0px;
}
.news-slider .flex-direction-nav .flex-prev,
.banner-slider .flex-direction-nav .flex-prev {
  left: 30px;
  background: url(img/icon/pfeil_links.svg) center;
  background-size: cover;
}
.news-slider .flex-direction-nav a,
.banner-slider .flex-direction-nav a {
  opacity: 1;
}
.news-slider .flex-direction-nav .flex-prev,
.news-slider .flex-direction-nav .flex-next,
.banner-slider .flex-direction-nav .flex-prev,
.banner-slider .flex-direction-nav .flex-next {
  font-size: 0;
  z-index: 1000;
}
.news-slider .flex-direction-nav a.flex-next:before,
.news-slider .flex-direction-nav a.flex-prev:before,
.banner-slider .flex-direction-nav a.flex-next:before,
.banner-slider .flex-direction-nav a.flex-prev:before {
  content: "";
}
.news-slider .flex-direction-nav .flex-next,
.banner-slider .flex-direction-nav .flex-next {
  right: 30px;
  background: url(img/icon/pfeil_rechts.svg) center;
  background-size: cover;
}
.banner .slides li > div,
.banner-slider .slides li > div {
  position: relative;
  background: url("") center center no-repeat;
  background-size: cover !important;
}
.banner .flex-viewport,
.banner .slides,
.banner .slides li > div,
.banner .slides li,
.banner-slider .flex-viewport,
.banner-slider .slides,
.banner-slider .slides li > div,
.banner-slider .slides li {
  height: 100%;
}
.banner .flex-control-paging {
  display: none !important;
}
.banner-slider .flex-control-paging {
  width: 100%;
  position: absolute;
  top: 25px;
  right: 100px;
  font-size: 0px;
  z-index: 999;
  text-align: right;
}
.banner-slider .flex-control-paging li a.flex-active {
  background: #fff;
}
.banner-slider .flex-control-paging li a {
  box-shadow: none;
  -webkit-box-shadow: none;
  background: transparent;
  border: 1px solid #fff;
}
.banner .flex-direction-nav {
  display: none;
}
/* END Slider */
/* END Custom */
/* FOOTER */
footer {
  color: #fff;
  background-color: #8a8058;
  width: 100%;
  position: relative;
  padding-top: 50px;
  padding-bottom: 75px;
}
footer .section-title {
  font-family: "PT Serif", sans-serif;
  text-transform: uppercase;
  margin-bottom: 15px;
}
footer img.logo {
  height: 50px;
}
footer a,
footer a:hover,
footer a:active,
footer a:focus {
  color: #fff;
}
footer p {
  margin-bottom: 0;
}
footer table tr td:nth-child(1) {
  font-family: "Roboto";
}
footer table {
  display: inline-block;
}
footer table tr td:nth-child(2) {
  padding-left: 15px;
}
footer .col-md-8 {
  padding-top: 25px;
}
/* END FOOTER */
/* 768+ PX */
@media (min-width: 768px) {
  #wrapper {
    min-height: calc(100vh - 390px);
  }
  section.fh-section .container > .row {
    margin: 0px;
  }
  section.fh-section .content {
    height: 30vh;
  }
  section.fh-section .fh-content {
    height: calc(100vh - 141px);
  }
  #contact-wrapper {
    display: block;
    height: 141px;
  }
  section.fh-section {
    padding: 0px;
  }
  section.fh-section .container {
    height: 100%;
  }
  section.fh-section .container > .row {
    display: table;
    height: 100%;
    width: 100%;
  }
  section.fh-section .container > .row > .col-md-10 {
    display: table-cell;
    float: none;
    vertical-align: middle;
  }
  section.fh-section .banner,
  section.fh-section .banner-slider {
    height: calc(70vh - 141px);
  }
  section:first-of-type {
    margin-top: 140px;
    padding-top: 0px;
  }
  .navbar {
    background: #fff;
    margin-bottom: 0px;
    position: fixed;
    padding-top: 40px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    padding-bottom: 40px;
    min-height: 141px;
  }
  .navbar-brand {
    padding-top: 20px;
  }
  #navigation-desktop {
    display: table;
    width: 100%;
  }
  #navigation-desktop > .row > div > ul {
    display: table;
    width: 100%;
    padding-left: 0px;
    margin: 0px;
    list-style: none;
  }
  #navigation-desktop > .row > div > ul > li {
    display: table-cell;
  }
  #navigation-desktop > .row > div > ul > li > a {
    position: relative;
    display: block;
    font-family: "PT Serif";
    color: #8a8058;
    text-decoration: none;
    text-transform: uppercase;
    text-align: left;
    height: 100% !important;
  }
  #navigation-desktop > .row > div > ul > li > a {
    text-align: center;
  }
  #navigation-desktop > .row > div > ul > li:first-child > a {
    text-align: left;
  }
  #navigation-desktop > .row > div > ul > li:last-child > a {
    text-align: right;
  }
  #navigation-desktop > .row > div {
    display: table-cell;
    vertical-align: middle;
    float: none;
  }
  #navigation-desktop > .row > div > ul > li > a:hover {
    text-decoration: underline;
    color: #000;
  }
  #navigation-desktop > .row {
    display: table-row;
  }
  #navigation-desktop > .row > div:first-child {
    padding-left: 0px;
  }
  #navigation-desktop > .row > div:last-child {
    padding-right: 0px;
  }
  #navigation-desktop > .row > div > a > .logo {
    max-width: 250px;
    display: inline-block;
  }
  #navigation-desktop > .row > div > ul > li.subnav {
    position: relative;
  }
  #navigation-desktop > .row > div > ul > li.subnav ul {
    padding-left: 0px;
    list-style: none;
    position: absolute;
    margin-top: 10px;
    width: 150%;
    padding-bottom: 40px;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translateY(-1em);
    -ms-transform: translateY(-1em);
    transform: translateY(-1em);
    -webkit-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    -o-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
  }
  #navigation-desktop > .row > div > ul > li.subnav ul.visible {
    visibility: visible;
    /* shows sub-menu */
    opacity: 1;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    -webkit-transition-delay: 0s, 0s, 0.3s;
    -o-transition-delay: 0s, 0s, 0.3s;
    transition-delay: 0s, 0s, 0.3s;
    /* this removes the transition delay so the menu will be visible while the other styles transition */
  }
  #navigation-desktop > .row > div:first-child > ul > li.subnav:last-child ul {
    right: 0;
  }
  #navigation-desktop > .row > div:first-child > ul > li.subnav:last-child ul > li {
    text-align: right;
  }
  #navigation-desktop > .row > div > ul > li.subnav ul > li > a {
    font-family: "PT Serif";
    color: #8a8058;
    text-decoration: none;
    font-size: 80%;
  }
  #navigation-desktop > .row > div > ul > li.subnav ul > li > a:hover {
    text-decoration: underline;
    color: #000;
  }
}
@media (max-height: 1000px) {
  section.fh-section .content {
    height: 35vh;
  }
  section.fh-section .banner,
  section.fh-section .banner-slider {
    height: calc(65vh - 141px);
  }
}
@media (max-width: 991px) {
  footer {
    height: 100%;
  }
  #home-menu .home-menu-row .col-md-4:nth-child(n + 1) {
    margin-top: 25px;
  }
  #navigation-desktop > .row > div > a > .logo {
    max-width: 200px;
  }
  footer img.logo {
    display: inline-block;
  }
  .mmt25 {
    margin-top: 25px;
  }
  #home-aktuell .row > .col-md-4 ~ .col-md-4 {
    margin-top: 25px;
  }

  footer .section-title {
    margin-bottom: 5px;
  }

  .m-text-center {
    text-align: center;
  }

  #aktuell-container .col-md-8,
  #jobs-container .col-md-8 {
    margin-top: 25px;
  }

  .m-text-left {
    text-align: left;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  #navigation-mobile .navbar-nav {
    margin-left: 5px;
  }
  #navigation-mobile .navbar-nav li {
    margin-left: 5px;
    margin-right: 5px;
  }
  #navigation-mobile .navbar-nav li a {
    font-size: 15px;
  }
}
/* 768 PX */
@media (max-width: 767px) {
  .timeline-first,
  .timeline-first:before {
    margin-left: -7.5px;
  }
  #aktuell-container {
    padding-top: 95px;
    padding-bottom: 50px;
  }
  img.scroll-down {
    display: none;
  }
  #home-divider {
    height: 100%;
  }
  section {
    padding: 0px;
  }
  #kontakt,
  #referenzen,
  #home-aktuell,
  #home-menu {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  section.fh-section .content {
    height: 100%;
  }
  .navbar-nav .open .dropdown-menu {
    padding: 0px;
  }
  .navbar {
    background: #fff;
    height: 75px;
  }
  .navbar-brand > img {
    height: 40px;
  }
  .navbar-toggle {
    background: transparent;
    margin-top: 20px;
    border-radius: 3px;
    border: 1px solid #8a8058;
  }
  .navbar-collapse {
    margin-right: -30px !important;
    margin-left: -30px !important;
    padding-left: 30px;
    padding-right: 30px;
    max-height: none !important;
    background: #fff;
    height: 100vh;
  }
  .navbar-nav .open .dropdown-menu > li,
  .navbar-nav > li {
    border-top: 1px solid #8a8058;
  }
  #lang-mobile {
    margin-top: 10px;
  }
  #lang-mobile a {
    text-decoration: none;
    font-size: 16px;
    padding-right: 5px;
  }
  .navbar-nav > li:last-of-type {
    border-bottom: 1px solid #8a8058 !important;
  }
  .nav > li > a:focus,
  .nav > li > a:hover {
    text-decoration: none;
    color: #000 !important;
  }
  .navbar-nav {
    left: 15px;
    width: 100%;
    background: #fff;
    overflow: auto;
    position: relative;
    margin-top: 0;
    z-index: 2;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    padding-left: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #8a8058;
    font-size: 16px;

    text-decoration: none;
  }
  .navbar-nav .open .dropdown-menu > li {
    border: none;
  }
  .navbar-nav .open .dropdown-menu > li:first-child > a {
    padding-top: 5px;
  }
  .navbar-nav .open .dropdown-menu > li > a:focus,
  .navbar-nav .open .dropdown-menu > li > a:hover {
    background: transparent;
    color: #000;
  }
  .nav .open > a,
  .nav .open > a:focus,
  .nav .open > a:hover,
  .nav > li > a:focus,
  .nav > li > a:hover {
    text-decoration: underline;
  }

  .dropdown > a:before {
    font-family: FontAwesome;

    position: absolute;
    left: auto;
    top: 17px;
    right: -3px;
    line-height: 1;
    z-index: 1001;
    color: #8a8058;
    content: "\f067";

    padding-top: 22px;
    padding-left: 26px;
    right: 0px;
    top: 0;
    height: 100%;
    font-size: 16px;
  }

  .dropdown.open > a:before {
    content: "\f068";
  }
  .navbar-nav > li > a {
    text-transform: uppercase;
    text-decoration: none;
    font-family: "PT Serif", sans-serif;
    color: #8a8058;

    padding: 20px 0px;
  }
  .navbar-nav > li {
    width: 100%;
  }
  .navbar-brand {
    display: block;
    color: #b2b2b6;
    letter-spacing: -0.6px;
    font-weight: 700;
    font-size: 28px;
    line-height: 120px;
  }
  .navbar-custom {
    position: fixed;
    width: 100%;
    border-bottom: 1px solid #8a8058;
    min-height: 120px;
    background: #fff;
  }
  .navbar-toggle .icon-bar {
    background: #8a8058;
  }
  .navbar-header {
    height: 70px;
  }
  .banner,
  .banner-slider {
    max-height: 300px;
  }
}
/* 480 PX */
@media (max-width: 480px) {
  #footer {
    min-height: 90px;
    padding-top: 17px;
  }
}
/* END MEDIA QUERYS */

/* Gallery */
.gallery {
  margin-top: 50px;
  margin-bottom: 50px;
}
.gallery .row > div:nth-child(n + 4) {
  margin-top: 30px;
}
.gallery img {
  height: 250px;
}
.gallery a.eqSwipe {
  display: block;
  position: relative;
}

.gallery a.eqSwipe div.hover_container {
  background: rgba(0, 0, 0, 0.66);
  opacity: 0;
  font-family: "PT Serif", sans-serif;
  -webkit-transition: opacity 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -o-transition: opacity 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: opacity 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 15px;
  color: #fff;
  text-align: center;
}
.gallery a.eqSwipe div.hover_container svg {
  height: 60px;
}
.gallery a.eqSwipe:hover div.hover_container {
  opacity: 1;
}

@media (max-width: 992px) {
  .gallery .row > div:nth-child(n + 3) {
    margin-top: 30px;
  }
}
