﻿@font-face {
  font-family: 'Proxima Nova';
  font-style: normal;
  font-weight: 300;
  src: url('../Fonts/Proxima_Nova_Regular.otf');
}
@font-face {
  font-family: 'Proxima Nova Bold';
  font-style: normal;
  font-weight: 300;
  src: url('../Fonts/Proxima_Nova_Bold.otf');
}
@media screen and (min-width: 1024px) and (max-width: 1112px) and (orientation: landscape) {
  .content-bereich {
    max-width: 100%;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
  .bottom-heading {
    right: 20px;
  }
  .frontpage-header .col-lg-3 {
    flex: 0 0 35%;
    max-width: 35%;
  }
  .frontpage-header .col-lg-8 {
    flex: 0 0 63.666667%;
    max-width: 63.666667%;
  }
  .logo-bereich .frame-type-text p {
    font-size: 13px;
  }
  .frontpage-navi {
    padding-left: 0;
  }
  .frontpage-navi > li {
    max-width: 290px;
  }
  .content-bereich {
    max-width: 100%;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  html body {
    position: relative;
  }
  html body.frontpage {
    background: none;
  }
  html body .mobile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  html body .frame-type-image img {
    width: 100%;
    height: auto;
  }
  html body .mobile-nav {
    background-color: #12662d;
    display: none;
  }
  html body .mobile-nav ul {
    padding: 10px 0;
  }
  html body .mobile-nav ul > li {
    display: block;
    width: 100%;
  }
  html body .mobile-nav ul > li:not(:last-child) {
    margin-bottom: 10px;
    margin-right: 0;
  }
  html body .mobile-nav ul > li a {
    color: #fff;
  }
  html body .mobile-nav ul > li a span {
    padding-left: 10px;
  }
  html body .mobile-nav ul > li a span.subtitle {
    color: #fff;
  }
  html body .mobile-nav ul > li:hover {
    background-color: #fff;
  }
  html body .mobile-nav ul > li:hover a {
    color: #000;
  }
  html body .mobile-nav ul > li:hover a span.subtitle {
    color: #12662d;
  }
  html body form {
    margin-bottom: 20px;
  }
  html body #map {
    margin-bottom: 20px;
  }
  html body .mobile-logo {
    position: absolute;
    top: 0px;
    left: 10px;
    display: block;
  }
  html body .mobile-logo img {
    width: 200px;
    height: auto;
  }
  html body .mobile-logo .frame-type-text,
  html body .mobile-logo .frame-type-tplbasic_frontpagecontact {
    display: none;
  }
  html body .logo-bereich {
    border-top: 2px solid #12662d;
    margin-top: 20px;
    padding-top: 10px;
    max-width: 100%;
  }
  html body .logo-bereich .frontpage-contact {
    max-width: 95%;
  }
  html body .logo-bereich .frame-type-image {
    display: none;
  }
  html body .logo-bereich .frame-type-text {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  html body .logo-bereich .frame-type-text p {
    font-size: 20px;
  }
  html body #rwd-toggle {
    background-image: url("../Images/mobile-menu.png");
    background-size: contain;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 15px;
    right: 10px;
    background-repeat: no-repeat;
  }
  html body #rwd-toggle:hover {
    cursor: pointer;
    background-image: url("../Images/mobile-menu-hover.png");
  }
  html body #rwd-toggle.is-active {
    background-image: url("../Images/mobile-menu-hover.png");
  }
  html body .bottom-heading {
    display: none;
  }
  html body .frontpage-navi {
    padding-left: 0;
    margin-top: 15px;
  }
  html body .frontpage-navi > li {
    margin-bottom: 10px;
  }
  html body .frontpage-navi > li:last-child {
    float: right;
  }
  html body .mobile-image {
    width: 100%;
    height: auto;
  }
  html body #header {
    display: none;
  }
  html body .content-bereich {
    max-width: 90%;
  }
  html body .navigation ul > li {
    display: block;
  }
  html body .navigation ul > li a {
    line-height: 30px;
  }
  html body .navigation ul > li:not(:last-child) {
    margin-right: 0;
  }
}
/**
 Smartphone Landscape
 */
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html body {
    position: relative;
  }
  html body.frontpage {
    background: none;
  }
  html body p.text-justify {
    text-align: left !important;
  }
  html body .mobile-image {
    width: 100%;
    max-height: 300px;
    display: block;
  }
  html body .mobile-nav {
    background-color: #12662d;
    display: none;
  }
  html body .mobile-nav .navigation ul {
    padding: 10px 0;
  }
  html body .mobile-nav .navigation ul > li {
    display: block;
    width: 100%;
  }
  html body .mobile-nav .navigation ul > li:not(:last-child) {
    margin-bottom: 10px;
    margin-right: 0;
  }
  html body .mobile-nav .navigation ul > li a {
    color: #fff;
  }
  html body .mobile-nav .navigation ul > li a span {
    padding-left: 10px;
  }
  html body .mobile-nav .navigation ul > li a span.subtitle {
    color: #fff;
  }
  html body .mobile-nav .navigation ul > li:hover {
    background-color: #fff;
  }
  html body .mobile-nav .navigation ul > li:hover a {
    color: #12662d;
    background-color: #fff !important;
  }
  html body .mobile-nav .navigation ul > li:hover a span {
    color: #12662d;
  }
  html body .mobile-nav .navigation ul > li:hover a span.subtitle {
    color: #12662d;
  }
  html body #maincontent {
    margin-top: 50px;
  }
  html body .content-header > div:first-child {
    max-width: 100%;
    display: block;
  }
  html body .content-header .frame-type-tplbasic_languageswitch {
    max-width: 100%;
    display: block;
  }
  html body .mobile-logo {
    position: absolute;
    top: 0px;
    left: 10px;
    display: block;
  }
  html body .mobile-logo img {
    width: 200px;
    height: auto;
  }
  html body .mobile-logo .frame-type-text,
  html body .mobile-logo .frame-type-tplbasic_frontpagecontact {
    display: none;
  }
  html body .logo-bereich {
    max-width: 90%;
    border-top: 2px solid #12662d;
    padding-top: 10px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  html body .logo-bereich .frame-type-image {
    display: none;
  }
  html body .logo-bereich .frame-type-text {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  html body .logo-bereich .frame-type-text p {
    font-size: 20px;
    line-height: 23px;
  }
  html body #rwd-toggle {
    background-image: url("../Images/mobile-menu.png");
    background-size: contain;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 15px;
    right: 10px;
    background-repeat: no-repeat;
  }
  html body #rwd-toggle:hover {
    cursor: pointer;
    background-image: url("../Images/mobile-menu-hover.png");
  }
  html body .bottom-heading {
    display: none;
  }
  html body #maincontent .content-header {
    display: flex;
    flex-direction: column-reverse;
  }
  html body .content-header > div:first-child {
    max-width: 100%;
    display: block;
  }
  html body .content-header .frame-type-tplbasic_languageswitch {
    max-width: 100%;
    display: block;
  }
  html body .frame-type-image img {
    width: 100%;
    height: auto;
  }
  html body .frontpage-navi {
    padding-left: 0;
    margin-top: 15px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  html body .frontpage-navi > li {
    margin-bottom: 10px;
    width: 100%;
    display: block;
    max-width: 100%;
  }
  html body .frontpage-navi > li:not(:last-child) {
    margin-right: 0;
  }
  html body #header {
    display: none;
  }
  html body .content-bereich {
    max-width: 90%;
  }
  html body .navigation ul > li {
    display: block;
  }
  html body .navigation ul > li a {
    line-height: 30px;
  }
  html body .navigation ul > li:not(:last-child) {
    margin-right: 0;
  }
}
/**
 Smartphone Portrait
 */
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html {
    overflow-x: hidden;
  }
  html body {
    position: relative;
    overflow-x: hidden;
  }
  html body.frontpage {
    background: none;
  }
  html body .mobile-image {
    width: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
  }
  html body .mobile-nav {
    background-color: #12662d;
    display: none;
  }
  html body .mobile-nav .navigation ul {
    padding: 10px 0;
  }
  html body .mobile-nav .navigation ul > li {
    display: block;
    width: 100%;
  }
  html body .mobile-nav .navigation ul > li:not(:last-child) {
    margin-bottom: 10px;
    margin-right: 0;
  }
  html body .mobile-nav .navigation ul > li a {
    color: #fff;
  }
  html body .mobile-nav .navigation ul > li a span {
    padding-left: 10px;
  }
  html body .mobile-nav .navigation ul > li a span.subtitle {
    color: #fff;
  }
  html body .mobile-nav .navigation ul > li:hover {
    background-color: #fff;
  }
  html body .mobile-nav .navigation ul > li:hover a {
    color: #12662d;
    background-color: #fff !important;
  }
  html body .mobile-nav .navigation ul > li:hover a span {
    color: #12662d;
  }
  html body .mobile-nav .navigation ul > li:hover a span.subtitle {
    color: #12662d;
  }
  html body #maincontent .content-header {
    display: flex;
    flex-direction: column-reverse;
  }
  html body .navigation ul > li:hover a {
    background-color: #fff;
  }
  html body .frame-type-image img {
    width: 100%;
    height: auto;
  }
  html body .mobile-logo {
    position: absolute;
    top: 0px;
    left: 10px;
    display: block;
  }
  html body .mobile-logo img {
    width: 200px;
    height: auto;
  }
  html body .mobile-logo .frame-type-text,
  html body .mobile-logo .frame-type-tplbasic_frontpagecontact {
    display: none;
  }
  html body .logo-bereich {
    border-top: 2px solid #12662d;
    margin-top: 20px;
    padding-top: 10px;
    max-width: 100%;
  }
  html body .logo-bereich .frame-type-image {
    display: none;
  }
  html body .logo-bereich .frame-type-text {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  html body .logo-bereich .frame-type-text p {
    font-size: 20px;
    line-height: 22px;
  }
  html body .logo-bereich .frame-type-text p:last-child {
    margin-bottom: 0;
  }
  html body #rwd-toggle {
    background-image: url("../Images/mobile-menu.png");
    background-size: contain;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 15px;
    right: 10px;
    background-repeat: no-repeat;
  }
  html body #rwd-toggle:hover {
    cursor: pointer;
    background-image: url("../Images/mobile-menu-hover.png");
  }
  html body .bottom-heading {
    display: none;
  }
  html body .frontpage-navi {
    padding-left: 0;
    margin-top: 15px;
  }
  html body .frontpage-navi > li {
    margin-bottom: 10px;
    max-width: 100%;
  }
  html body .frontpage-navi > li:not(:last-child) {
    margin-right: 0;
  }
  html body .language-switch {
    padding-left: 0;
  }
  html body p.text-justify {
    text-align: left !important;
  }
  html body #header {
    display: none;
  }
  html body .content-bereich {
    max-width: 90%;
  }
  html body .content-bereich.two-column > div {
    display: block;
  }
  html body .content-bereich.two-column > div:first-child {
    max-width: 100%;
  }
  html body .content-bereich.two-column > div:last-child {
    max-width: 100%;
    margin-left: 0;
  }
  html body #maincontent {
    margin-top: 50px;
  }
  html body .content-header > div:first-child {
    max-width: 100%;
    display: block;
  }
  html body .content-header .frame-type-tplbasic_languageswitch {
    max-width: 100%;
    display: block;
  }
  html body form {
    margin-bottom: 20px;
  }
  html body #map {
    margin-bottom: 20px;
  }
  html body .button-col > button {
    width: 100%;
  }
  html body .button-col > button:first-child {
    margin-bottom: 10px;
  }
  html body .navigation ul > li {
    display: block;
  }
  html body .navigation ul > li a {
    line-height: 30px;
  }
  html body .navigation ul > li:not(:last-child) {
    margin-right: 0;
  }
}
