/*  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;
}

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

/* Bootstrap CSS Overrides */
body {
    margin: 0;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #FFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
ul {
    margin-bottom: 30px;
}

h1,
h2,
h3 {
    font-family: "DM Serif Text", Georgia, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    font-size: calc(32px + (40 - 28) * (100vw - 320px)/(1440 - 320));
    color: #454a51;
    letter-spacing: 1px;
}

h3,
.article-border h2 {
    color: #839f51;
}

h3 {
    font-size: 21px;
    margin-bottom: 0;
}

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

/*
p.tiny {
    color: #839f51;
    margin-bottom: 0; }
*/

b,
strong {
    font-weight: 700;
}

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

.main a,
a[href^="tel"] {
    color: #839f51;
    font-weight: 700;
}

.main a:hover,
a[href^="tel"]:hover {
    color: #000;
}

a[href^="tel"] {
    cursor: pointer !important;
}

p.link-element a {
    font-family: "DM Serif Text", Georgia, serif;
    font-weight: 400;
    font-style: normal;
    color: #839f51;
    letter-spacing: 1px;
    font-size: 21px;
}

p.link-element a:hover {
    color: #000;
}

p.link-element a:before {
    position: relative;
    top: 5px;
    content: '';
    background: url(../img/icon-button.svg);
    width: 14px;
    height: 27px;
    display: inline-block;
    margin-right: 10px;
}

br {
    line-height: 1.5;
}

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

/* Lists */
.article-full ul,
.article-half ul,
.article-full ol,
.article-half ol {
    padding: 0;
}

.article-full p+ul,
.article-half p+ul,
.article-full p+ol,
.article-half p+ol {
    margin-top: -30px;
}

.article-full li,
.article-half li {
    padding-left: 20px;
    list-style: none;
}

.article-full ul li:before,
.article-half ul li:before {
    position: relative;
    display: block;
    top: 0;
    left: -20px;
    height: 0;
    content: "–";
}

.article-full ol,
.article-half ol { 
    padding-left: 0 ;
    counter-reset: item;
    list-style-type: none;
}

.article-full ol li,
.article-half ol li { 
    display: block; 
}

.article-full ol li:before,
.article-half ol li:before { 
    position: absolute;
    left: 10px;
    content: counter(item) ". "; 
    counter-increment: item ;
}

/* 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: 'Roboto Condensed', Arial, sans-serif;
    color: #839f51;
}

table>thead>tr>th,
table>tbody>tr>td {
    width: auto;
    font-size: 18px;
    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"] {
    font-family: "DM Serif Text", Georgia, serif;
    font-weight: 400;
    font-style: normal;
    color: #839f51;
    letter-spacing: 1px;
    font-size: 21px;
}

.main a[href$=".pdf"]:hover,
.main a[href$=".doc"]:hover,
.main a[href$=".docx"]:hover,
.main a[href$=".xls"]:hover {
    color: #000;
}

.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;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    margin-top: 60px;
}

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

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

.logo {
    margin: 0 auto;
    min-width: 180px;
    width: 25vw;
    max-width: 343px;
    height: auto;
}

/* ==========================================================================
   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: #839f51;
        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;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.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: #787062;
    background-color: rgba(120, 112, 98, 0.9) !important;
}

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

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

.social-items-mobile {
    padding-top: 10px;
    padding-left: 15px;
}

.social-items-mobile li {
    display: inline-block;
    padding: 5px;
}

.social-items .fb a span,
.social-items-mobile .fb a span {
    display: block;
    width: 13px;
    height: 24px;
    background: url(../img/icon-facebook-white.svg);
    background-size: 100% 100%;
    text-indent: -9999px;
}

.social-items .in a span,
.social-items-mobile .in a span {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../img/icon-instagram-white.svg);
    background-size: 100% 100%;
    text-indent: -9999px;
}

.social-items .fb a:hover span,
.social-items-mobile .fb a:hover span {
    background: url(../img/icon-facebook-grey.svg);
}

.social-items .in a:hover span,
.social-items-mobile .in a:hover span {
    background: url(../img/icon-instagram-grey.svg);
}

.social-items-navbar {
    display: none;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.main {
    padding-left: 15px;
    padding-right: 15px;
}

.container-fluid.main {
    padding-left: 30px;
    padding-right: 30px;
}

.unit {
    margin-top: 15px;
    margin-bottom: 15px;
}

.unit *:last-child {
    margin-bottom: 0;
}

.article-border {
    border: 6px solid #839f51;
    padding-top: 20px;
    padding-bottom: 20px;
}

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

/* Video */
.video-container {
    border: 6px solid #839f51;
    font-size: 0;
    /* to delete gap below */
    padding: 0;
}

video,
video[poster] {
    width: 100% !important;
    height: auto !important;
    margin: 0;
    padding: 0;
}

video[poster] {
    object-fit: cover;
}

.bg-lightgreen {
    background: #cfd5b4;
    background: rgba(131, 159, 81, 0.5);
}

.bg-lightgrey {
    background: #e9e8e4;
}
 
.social-items li {
    padding-left: 0;
    padding-right: 30px;
}

.social-items li:last-child {
    padding-right: 0;
}

.social-items li:before {
    content: '' !important;
}

.social .fb,
.social .in {
    display: inline-block;
}

.social .fb a span {
    display: block;
    width: 32px;
    height: 55px;
    background: url(../img/icon-facebook.svg);
    background-size: 100% 100%;
    text-indent: -9999px;
}

.social .in a span {
    display: block;
    width: 58px;
    height: 55px;
    background: url(../img/icon-instagram.svg);
    background-size: 100% 100%;
    text-indent: -9999px;
}

.social .fb a:hover span {
    background: url(../img/icon-facebook-grey.svg);
}

.social .in a:hover span {
    background: url(../img/icon-instagram-grey.svg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Lightbox */
/* Fancybox */
.fancybox-caption__body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400; }

.fb-image-container {
    position: relative; }

.fb-image-container div {
    overflow: hidden; }

.fb-image-container img {
    max-width: 100%;
    height: auto; }

.fb-image-container:hover img {
    transform: scale(1.1); }

.fb-image-container img,
.fb-image-container:hover img {
    -webkit-transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1);
    transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1); }

.fb-zoom-indicator {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 5px;
    width: 24px;
    height: 24px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: 12px 12px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url(../img/fb-zoom-white.svg);
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1);
    transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1); }

.fb-image-container:hover .fb-zoom-indicator {
    opacity: 1;
    transform: scale(1); }

/* Back to top */
#return-to-top {
    position: fixed;
    bottom: 90px;
    left: 8px;
    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 #839f51;
    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: #839f51;
    font-family: "DM Serif Text", Georgia, serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    font-size: 21px;
    padding: 8px 15px;
    margin-top: 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: #839f51;
}

.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: #839f51;
    color: #FFF;
}

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

img::selection {
    background: 0 0;
}

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

body {
    webkit-tap-highlight-color: #839f51;
}

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