/*  Author:   Martin Stettler (https://www.dieweberei.ch/)
    Version:  05/04/2021 // based on Bootstrap v5.0.1
*/

/* ==========================================================================
   DEV STYLES
   ========================================================================== */
.col-sm-6,
.col-sm-12,
.title-container/*,
.logo,
.navbar-brand,
.navbar-nav .nav-link*/ {
    border: 1px solid #f227f9; }

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

/* Bootstrap CSS */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-size: calc( 16px + (20 - 16) * (100vw - 320px)/(1280 - 320));
    font-weight: 300;
    line-height: 1.5;
    color: #5b5955;
    text-align: left;
    background-color: #FFF;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto; }

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

h1,
h2 {
    font-family: 'Roboto Slab', serif;
    color: #5a7471;
    font-size: 60px;
    font-size: calc( 28px + (60 - 28) * (100vw - 320px)/(1440 - 320));
    margin-bottom: 30px;
    margin-bottom: calc( 20px + (60 - 20) * (100vw - 320px)/(1440 - 320)); }

.green-unit h2 {
    color: #fff;
}

h3 {
    font-size: 30px;
    font-size: calc( 20px + (30 - 20) * (100vw - 320px)/(1440 - 320));
}

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

.lead p {
    font-family: 'Roboto Slab', serif;
    font-size: 60px;
    font-size: calc( 28px + (60 - 28) * (100vw - 320px)/(1440 - 320));
}

.lead p span {
    display: block;
    font-family: 'Open Sans', sans-serif; 
    font-size: 20px;
    font-size: calc( 16px + (20 - 16) * (100vw - 320px)/(1440 - 320));
}

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

b,
strong {
    font-weight: 600; }

br {
    line-height: 1.5;
}

.main ul {
    padding: 0;
}

.main li {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 5px; }

.main li:before {
    position: relative;
    display: block;
    top: 0;
    left: -20px;
    height: 0;
    content: "–"; }

img {
    max-width: 100%;
    height: auto;
}

:focus {
    outline: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

/* Lists */
.article-full ul,
.article-half ul {
    padding-left: 20px; }

.main a {
    text-decoration: none;
    color: #5b5955;
    border-bottom: 1px solid #5b5955;
}

.main a:hover {
    color: #5a7471;
    border-bottom: 0;
}

.green-unit a {
    color: #fff;
    border-bottom: 1px solid #FFF;
}

.green-unit a:hover {
    color: #fff;
    border-bottom: 0;
}


/* File icon */
.main a[href$=".pdf"],
.main a[href$=".doc"],
.main a[href$=".docx"],
.main a[href$=".xls"],
.main a[href$=".xlsx"] {
    color: #5b5955;
}

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

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

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

/* Smooth animations */
a,
a:hover,
.navbar,
.navbar.shrink,
.navbar-brand span,
.navbar-brand.shrink span {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
        transition: all 0.5s; }

/* Table */
table {
    width: 100%; }

.articlee-wide table,
.article-slim table {
    table-layout: fixed; }

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

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

table > thead > tr > th {
        /*font-family: "Museo Sans W01_700", sans-serif;*/ }

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: 2px 0; }

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

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

/*
@media (max-width: 767px){

    // Force table to not be like tables anymore
    table, 
    thead, 
    tbody, 
    th, 
    td, 
    tr { 
        display: block; }

    // Hide table headers (but not display: none;, for accessibility)
    thead > tr { 
        position: absolute;
        top: -9999px;
        left: -9999px; }
    
    table {
        border: 1px solid #000; }

    table > thead > tr,
    table > tbody > tr {
        padding: 10px; }

    table > tbody > tr:last-child {
        border-bottom: 0; }

    table > tbody > tr > td {
        width: 100%; }
    
}
*/

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: relative;
    width: 100% !important; 
    margin-bottom: 45px;}

body {
    margin-top:  84px;
}

.fullsize-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: 40vw;
    min-width: 250px;
    height: auto; }

.button-green{
    position: absolute;
    display: inline-block;
    right: 3vw;
    bottom: -80px; 
}

.button-green a {
    display: inline-block;
    width: 120px;
    height: 120px;
    background: url(../img/button-green.svg);
    background-size: 100% 100%;
}

.button-green a:hover {
    opacity: 0.9;
}
/* ==========================================================================
   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;
        border-left: 1px solid #5a7471;
        padding-right: 0;
        padding-left: 15px;
        overflow-y: auto;
        visibility: hidden;
        background-color: #f2f4f2;
        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: #5b5955;
    /* 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: #5b5955; }
  
.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 */

.navbar-brand {
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 16px;
    font-size: 20px;
    line-height: inherit;
    white-space: nowrap; }

.navbar-brand.shrink {
    padding-bottom: 0;
}

.navbar-brand span,
.navbar-brand.shrink span {
    display: inline-block;
    background: url(../img/logo-iwm.svg) no-repeat;
    width: 253px;
    height: 46px;
    text-indent: -9999px;
}

.navbar {
    border-top: 10px solid #5a7471;
    padding-top: 10px;
}

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

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

.nav-link {
  display: block;
  padding: 8px 16px; }

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

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

.navbar-light .navbar-nav .nav-link.disabled {
    color: rgba(0, 0, 0, 0.3); }

.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: rgba(0, 0, 0, 0.9); }

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

.bg-light {
    background-color: rgba(242, 244, 242, 0.9) !important; }

a.bg-light:hover, a.bg-light:focus,
button.bg-light:hover,
button.bg-light:focus {
    background-color: #dae0e5 !important; } 

.navbar-nav .nav-link {
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    padding-right: 10px;
    padding-left: 10px; }

@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 20px;
        padding-left: 20px; }
}

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

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

.bg-green {
    background-color: #f2f4f2;
}

.bg-dark-green {
    background-color: #5a7471;
}

.main {
    padding-top: 20px; /* 5vw */
    padding-bottom: 20px; /* 5vw */
}

.unit {
    margin-top: 20px; /* 5vw */
    margin-bottom: 20px; /* 5vw */
}

.green-unit {
    background-color: #5a7471;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-40:last-of-type {
    margin-bottom: 0;
}

.img-unit {
    margin-top: 10px; /* 5vw */
    margin-bottom: 10px; /* 5vw */
}

.img-item {
    margin-top: 10px; /* 5vw */
    margin-bottom: 10px; /* 5vw */
}

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

/* img-large */
/* col-sm-12 */
@media (min-width: 576px) {
    .img-item img {
        height: calc(33.3333vw - 24px);
        object-fit: cover;
    }

    .img-large img {
        height: calc(33.3333vw - 24px);
        width: calc(66.6667vw - 24px);
        object-fit: cover;
    }
}

/* col-lg-10 */
@media (min-width: 992px) {
    .img-item img {
        height: calc(27.77778vw - 24px);
    }

    .img-large img {
        height: calc(27.77778vw - 24px);
        width: calc(55.55556vw - 24px);
    }
}

/* .main max-width 1200px */
@media (min-width: 1200px) {
    .img-item img {
        height: 309px;
    }

    .img-large img {
        height: 309px;
        width: 642px;
    }
}
/* .img-large */

/* 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 .form-group {
    margin-bottom: 20px;
}

#contact-form .form-group input,
#contact-form .form-group textarea {
    width: 100%;
    font-size: 18px;
    padding: 10px;
    height: auto;
    background-color: #f2f4f2;
    border: 0;
    border-radius: 0;
    font-weight: normal;
    color: #000;
}

.form-control:focus {
    outline: 0;
    box-shadow: none;
}

label {
    font-size: 18px;
    padding-bottom: 5px;
}

.text-muted {
    padding-bottom: 15px;
}

.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 #a40000 !important;
    margin-bottom: 10px;
}

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

#contact-form ul.list-unstyled {
    /* error message without padding-left */
    padding: 0 !important;
}

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

.form-send {
    display: inline-block;
    font-size: 16px;
    padding: 15px;
    color: #fff;
    font-weight: 600;
    background-color: #5a7471;
    border-radius: 0;
    border: 0;
    opacity: 1 !important;
    -webkit-transition: background linear 300ms;
    margin-top: 20px;
}

.form-send:hover,
.form-send:focus,
.form-send.active {
    background-color: #f2f4f2;
    color: #5a7471;
    -webkit-transition: background linear 300ms;
}

.messages {
    background: #FFF;
    color: #000;
    margin-top: 40px;
}

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

footer {
   background-color: #5a7471;
   color: #fff; }

.footer {
    padding-top: 45px;
    padding-bottom: 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: #bdc6bd;
}

.vcard {
    font-weight: 600;
    margin-bottom: 30px;
}

.vcard li {
    display: inline-block;
}

.vcard li:after {
    display: inline-block;
    content: '.';
    margin-left:  12px;
    margin-right: 12px;
}

.vcard li:last-child:after{
    display: none;
}

.services {
    font-size: 16px;
}


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

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

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

img::selection {
    background: 0 0; }

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

body {
    webkit-tap-highlight-color: #5a7471; }

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