/*  Author:   Martin Stettler (https://www.dieweberei.ch/)
    Version:  15/09/2019 // BS v4.3.1
*/

/* ==========================================================================
   Browse Happy prompt lte IE 9
   ========================================================================== */

.browsehappy {
    margin: 3px 0;
    background: #CC0033;
    color: #FFF;
    padding: 8px; }

.browsehappy a {
    color: #FFF;
    text-decoration: underline; }

.browsehappy a:hover {
    text-decoration: none; }

/* ==========================================================================
   DEV STYLES
   ==========================================================================
.col-sm-6,
.col-sm-12 {
    border: 1px solid #f227f9; } */

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

/* Bootstrap CSS Overrides */
body {
    margin: 0;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    text-align: left;
    background-color: #FFF;
    background: url(../img/bg.png); }

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: normal; }

h1,
h2,
h3 {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 50px;
    font-size: calc( 32px + (50 - 28) * (100vw - 320px)/(1280 - 320));
    color: #576337;
    margin-bottom: 30px; }

h1 {
    margin-top: 30px; }

h3 {
    font-size: 32px;
    font-size: calc( 24px + (32 - 24) * (100vw - 320px)/(1280 - 320)); }

h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0; }

p {
    margin-top: 0;
    margin-bottom: 25px; }

p.tiny {
    color: #576337;
    margin-bottom: 0; }

ul {
    margin-top: 0;
    margin-bottom: 25px; }

b,
strong {
    color: #576337;
    font-weight: 700; }

a,
a:hover {
    text-decoration: none;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
        transition: all 0.5s; }

a:focus,
button:focus {
    outline: none; }

/* Lists */
.article-full ul,
.article-half ul {
    padding-left: 20px; }
/*
.article-full li,
.article-half li {
    padding-left: 0;
    list-style: none; }
*/

/* Table */
table {
    width: 100%;
    margin-bottom: 30px; }

table:last-child {
    margin-bottom: 0; }

table > thead > tr,
table > tbody > tr {
        padding: 10px 0;
        border-bottom: 1px solid #97a377; }

table > thead > tr > th strong,
table > tbody > tr > td strong {
    font-family: 'PT Serif', Arial, sans-serif;
    color: #576337; }

table > thead > tr > th,
table > tbody > tr > td {
    width: auto;
    font-size: 12px;
    font-size: calc( 12px + (18 - 12) * (100vw - 320px)/(1280 - 320));
    font-weight: 400;
    vertical-align: top;
    border-top: 0;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word; /* Non standard for webkit */
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
            hyphens: auto; }

table > thead > tr > th {
    font-weight: 700; }

table tr th,
table tr td {
  padding-left: 0;
  padding-right: 10px;
  padding: 4px 0; }

table > tbody > tr > td:first-child {
    padding-right: 10px; }

table > tbody > tr > td {
    width: auto; }

.main a[href$=".pdf"],
.main a[href$=".doc"],
.main a[href$=".docx"],
.main a[href$=".xls"] {
    border: none; }

.main a[href$=".pdf"]:hover,
.main a[href$=".doc"]:hover,
.main a[href$=".docx"]:hover,
.main a[href$=".xls"]:hover {
    border: none; }

.main a[href$=".pdf"]:before,
.main a[href$=".doc"]:before,
.main a[href$=".docx"]:before,
.main a[href$=".xls"]:before,
.main a[href$=".xlsx"]:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 16px;
    background-image: url(../img/file-icon.svg);
    background-color: transparent;
    color: #000;
    position: relative;
    margin: 0 8px 0 0; }

.main a[href$=".pdf"]:hover:before,
.main a[href$=".doc"]:hover:before,
.main a[href$=".docx"]:hover:before,
.main a[href$=".xls"]:hover:before,
.main a[href$=".xlsx"]:hover:before {
    background-image: url(../img/file-icon2.svg); }

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: relative;
    display: block;
    width: 100% !important; }

.full-image img {
    width: 100%;
    height: auto; }

.title-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; }

.logo {
    margin: 0 auto;
    width: 100%;
    max-width: 50vw;
    min-width: 200px;
    height: auto; }

.graphic-container {
    position: absolute;
    left: 3vw;
    top: 11vw;
    width: 20vw;
    height: 75%; }

.graphic-container img  {
    width: auto;
    height: 100%; }

/* Blend mode – Chrome, Safari */
.graphic-container {
    background-image: url(../img/gaemsen.svg), url(../img/gaemsen-2.svg);
    background-size: 100% 100%;
    background-blend-mode: multiply; }

/* Blend mode – Windows 10 Edge Browser 2018 */
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
    .graphic-container {
        background-image: url(../img/gaemsen.svg), url(../img/gaemsen-2.svg);
        background-size: 100% 100%;
        background-blend-mode: multiply; }  
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Offcanvas menu
-------------------------------------------------- */
html,
body {
    overflow-x: hidden; } /* Prevent scroll on narrow devices */

@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 100%; /* left for collapse-left */
        right: -300px; /* left for collapse-left */
        width: 300px;
        padding-right: 0;
        padding-left: 0;
        overflow-y: auto;
        visibility: hidden;
        background-color: #576337;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: right, visibility; } /* left for collapse-left */

    .offcanvas-collapse.open {
        right: 0; /* left for collapse-left */
        visibility: visible; }

    .navbar-nav {
        margin-top: 60px; }
}

/* Hamburger
-------------------------------------------------- */
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    z-index: 1080;
    padding: 0; /* 15px 15px */
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible; }

.hamburger:hover {
    opacity: 0.7; }

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative; }

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: 1px; } /* -2px */

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #FFF;
    /* border-radius: 4px; */
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #FFF; }
  
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }

.hamburger-inner::before {
    top: -10px; }

.hamburger-inner::after {
    bottom: -10px; }

/* Spin */
.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }

.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }

.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
  
.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }

/* Bootstrap CSS Overrides */

.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
    color: rgba(0, 0, 0, 0.9); }

.nav-link {
    position: relative;
    display: block;
    margin: 12px 15px;
    padding: 0;
    text-transform: uppercase; }


.nav-link:after {
     content: '';
     position: absolute;
     left: 0;
     bottom: 0;
     width: 0;
     height: 1px;
     background: #FFF;
     transition: all .4s cubic-bezier(.05,.8,.5,1); }

.nav-link:hover:after, 
.nav-link:focus:after {
     width: 100%;
     left: 0; }
 

.navbar-light .navbar-nav .nav-link {
    color: #FFF; }

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: #FFF; }

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color:  #FFF; }

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.1); }

.bg-light {
    background-color: #576337;
    background-color: rgba(87, 99, 55, 0.8) !important;
    border-bottom: 1px solid #7c7b78; }

.navbar-nav .nav-link {
    text-align: left;
    padding: 0 !important; }

.anchor {
    display: block;
    height: 55px; /* OPL adjust */
    margin-top: -55px; /* OPL adjust */
    visibility: hidden; }

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.topic-container a,
.topic-container a:visited {
    color: #000;
    border-bottom: 1px solid #000; }

.topic-container a:hover,
.topic-container a:active {
    text-decoration: none;
    color: #576337;
    border-bottom: 1px solid transparent; }

.table-container {
    position: relative;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 15px 100px 15px;
    border-left: 2px solid #576337;
    border-right: 2px solid #576337;
    border-top: 2px solid #576337; }

.table-container span {
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translate(-50%);
    width: 92px;
    height: 71px;
    background: url(../img/gaemse.svg);
    background-size: 100% 100%; }

.border-outer {
    margin-left: 0;
    margin-right: 0; }

.single-border {
    text-align: center;
    overflow: hidden;
    padding-top: calc(2vw - 15px);
    padding-bottom: 3vw; }

.table-border {
    text-align: center;
    overflow: hidden;
    margin-top: -40px;
    padding-bottom: 3vw; }

.border-image span {
    position: relative;
    display: inline-block; }

.border-image span:before,
.border-image span:after {
    position: absolute;
    content: "";
    height: 5px;
    border-top: 2px solid #576337;
    top: 40px;
    width: 1200px; }

.border-image span:before {
    right: 100%; }

.border-image span:after {
    left: 100%; }

.border-image img {
    width: 92px;
    height: auto; } 

.article-full img,
.article-half img {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px; }

.article-full img {
    display: block;
    margin: 0 auto; }

/* Back to top */
#return-to-top {
    position: fixed;
    bottom: 90px;
    left: 1px;
    display: block;
    display: none;
    width: 14px;
    height: 76px;
    opacity: 1;
    background: url(../img/arrow.svg);
    background-repeat: no-repeat;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; }

#return-to-top:hover {
    opacity: 0.8; }

/* ==========================================================================
   FORM
   ========================================================================== */

.help-block {
    margin: 0; }

#contact-form {
    padding-top: 30px;
    margin-right: 16px;
    margin-left: 16px; }

#form-group div {
    width: 100%; }

#contact-form .form-group input,
#contact-form .form-group textarea {
    width: 100%;
    font-size: 18px;
    padding: 2px 5px; 
    height: auto;
    background-color: #FFF;
    border: 1px solid #576337;
    border-radius: 0;
    font-weight: normal;
    color: #000; }

label {
    font-size: 18px;
    font-weight: normal;
    padding-top: 5px;
    padding-left: 0px; }

.form-check-input {
  margin-top: 7px; }

.honeypot {
    display: none; }

#contact-form .list-unstyled li {   /* check default list-style on line 164 */
    padding-left: 0;
    background-color: transparent !important; }

#contact-form .list-unstyled li:before {
    content: ''; }

#success {
    font-weight: normal;
    color: #000;
    border: 0;
    border-radius: 0; }

.alert-success,
.alert-danger {
    border-radius: 0; }

.has-error input,
.has-error textarea {
    border: 1px solid #ed2939 !important;
    margin-bottom: 10px; }

.has-error .help-block {
  color: #ed2939; }

.col-btn {
    width: 100%;
    padding: 0;
    margin-top: 16px; }

.btn {
    display: inline-block;
    border-color: transparent;
    background-color: #576337;
    font-family: 'PT Serif', Georgia, serif;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 15px;
    color: #FFF;
    border-radius: 0;
    border: 0;
    opacity: 1 !important;
    -webkit-transition: background linear 300ms; }

.btn:hover,
.btn:focus,
.btn.active {
    border-color: transparent;
    background-color: #000;
    color: #FFF;
    -webkit-transition: background linear 300ms; }

.messages {
    background: #FFF;
    color: #000; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background-color: #576337;
    margin-top: 4vw; }

.footer {
    color: #FFF;
    border-top: 1px solid #7c7b78;
    padding: 15px 0; }

.footer a {   
    color: #FFF; }

.footer a:hover {   
    color: #97a377; }

.footer ul {
    margin: 0; }

.footer li {
    display: inline-block;
    padding-right: 5px; }

.footer li:after {
    content: '/';
    margin-left: 10px; }

.footer li:last-child:after {
    content: ''; }

/* ==========================================================================
   SELECTION
   ========================================================================== */

::-moz-selection {
    text-shadow: none;
    background: #576337;
    color: #FFF; }

::selection {
    text-shadow: none;
    background: #576337;
    color: #FFF; }

img::selection {
    background: 0 0; }

img::-moz-selection {
    background: 0 0; }

body {
    webkit-tap-highlight-color: #576337; }

a[href^="tel"], 
a[href^="sms"]{
    color: inherit; 
    cursor: default; 
    text-decoration: none; }