/*  Author:   Martin Stettler (https://dieweberei.ch/)
    Version:  22/11/2019 // BS v4.3.1
*/

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

@font-face{
    font-family:"DIN Next LT W01 Regular";
    src:url("../fonts/6b4d4830-9c7d-43d2-b5d3-c73f739561b9.woff2") format("woff2"),
    url("../fonts/ccf25ada-6d2a-4133-95dc-deb039e22999.woff") format("woff");
}
@font-face{
    font-family:"DIN Next LT W01 Bold";
    src:url("../fonts/03008527-67bd-478e-98e3-3b56dd9a6520.woff2") format("woff2"),
    url("../fonts/557f817d-9c25-4a23-baaf-a3cf84a7cd7c.woff") format("woff");
}
/*
This CSS resource incorporates links to font software which is the valuable copyrighted
property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
Imaging with any questions regarding Web Fonts:  http://www.fonts.com
*/

/* Bootstrap CSS */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth; /* do not delete */
}

body {
    margin: 0;
    font-family:"DIN Next LT W01 Regular", sans-serif;
    font-size: 20px;
    font-size: calc( 16px + (20 - 16) * (100vw - 320px)/(1440 - 320));
    font-weight: normal;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #fff;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:"DIN Next LT W01 Bold", sans-serif;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 25px;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h2 {
    font-size: 38px;
    font-size: calc( 24px + (38 - 24) * (100vw - 320px)/(1440 - 320));
}

h1,
.lead h2  {
    font-size: 45px;
    font-size: calc( 26px + (45 - 26) * (100vw - 320px)/(1440 - 320));
}

.lead h1,
h3 {
    font-size: 30px;
    font-size: calc( 22px + (30 - 22) * (100vw - 320px)/(1440 - 320));
}

h3 {
    margin-bottom: 0;
}

p,
img,
ul {
    margin-bottom: 25px;
}

.lead p {
    font-size: 28px;
    font-size: calc( 18px + (28 - 18) * (100vw - 320px)/(1440 - 320));
}

header img {
    margin-bottom: 0;
}

b,
strong {
    font-family:"DIN Next LT W01 Bold", sans-serif;
    font-weight: normal;
}

br {
    line-height: 1.5;
}

ul {
    margin: 0 0 25px 0;
    padding: 0; }

li {
    list-style: none;
    padding-left: 0; }

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

a,
a:hover {
    text-decoration: none !important;
}

.main a {
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
}

a:hover {
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

footer a {
    color: #FFF;
    border: none;
}

footer a:hover {
    color: #FFF;
    border: none;
}

.social a:hover,
a.btn {
    border-bottom: 0;
    text-decoration: none;
}

.main a[href$=".pdf"],
.main a[href$=".doc"],
.main a[href$=".docx"],
.main a[href$=".xls"],
.main a[href$=".xlsx"] {
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.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: 19px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 18.5 15.4' style='enable-background:new 0 0 18.5 15.4;' xml:space='preserve'%3E%3Cpolygon points='7.6,0 14.1,6.5 0,6.5 0,8.9 14.1,8.9 7.6,15.4 10.8,15.4 18.5,7.7 10.8,0 '/%3E%3C/svg%3E");
    background-color: transparent;
    background-repeat: no-repeat;
    color: #000;
    position: relative;
    margin: 0 8px -1px 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 {
    margin-right: 13px;
    transition: all 0.35s ease;
}

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

/* Smooth animations */
a,
a:hover {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

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

table {
    table-layout: fixed;
}

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

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

table>tbody>tr>td {
    width: auto;
    font-size: 20px;
    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>tbody>tr>td:first-child {
    width: 150px;
}


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

/* ==========================================================================
   HEADER
   ========================================================================== */

#logo-area {
    position: fixed;
    top: 0;
    height: 80px;
    background: #FFF;
    width: 100%;
    z-index: 1000;
    transition: all .3s ease;
}

#logo-area.hide {
    top: -81px;
}

#toggle {
    position: fixed;
    top: 28px;
    right: 30px;
    height: 80px;
    z-index: 1081;
    transition: all .3s ease;
}

#toggle.hide {
    top: -81px;
}

.logo,
.social {
    position: relative;
    display: inline-block;
    top: 50%;
    transform: translateY(-50%);
}

.social {  
    display: none;
}

.logo {
    margin-left: 30px;
    background-image: url("../img/mb-logo.svg");
    background-repeat: no-repeat;
    width: 120px;
    height: 39px;
}

.logo span {
    display: block;
    width: 120px;
    height: 39px;
    text-indent: -9999px;
    text-decoration: none;
}

.social {
    float: right;
    margin-right: 120px;
}

.social li span {
    display: inline-block;
    height: 31px;
    width: 31px;
}

.facebook {
    background-image: url("../img/facebook.svg");
    background-repeat: no-repeat;
}

.instagram {
    background-image: url("../img/instagram.svg");
    background-repeat: no-repeat;
}

header {
    margin-top: 80px;
}

.stopwatch {
    position: absolute;
}

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

.image-container img {
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

@media (orientation: landscape) {
    .image-container img {
        height: calc(100vh - 120px);
    }

    .header-image {
        width: 50%;
        float: left;
    }
}

@media (orientation: portrait) {
    .image-container img {
        height: calc(50vh - 60px);
    }

    .header-image {
        width: 100%;
    }
}

.time {
    font-family: 'VT323', monospace;
    font-size: 24px;
    color: #FFF;
    padding: 15px 45px;
    background: #000;
}

.anchor {
    display: block;
    height: 75px; /* same height as header */
    margin-top: -75px; /* same height as header */
    visibility: hidden; }

/*.arrow-down{
    position: absolute;
    height: 14px;
    width: 26px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 26 14' style='enable-background:new 0 0 26 14;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bclip-path:url(%23SVGID_2_);fill:none;stroke:%23000000;%7D%0A%3C/style%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cdefs%3E%3Crect id='SVGID_1_' y='0' width='26' height='14'/%3E%3C/defs%3E%3CclipPath id='SVGID_2_'%3E%3Cuse xlink:href='%23SVGID_1_' style='overflow:visible;'/%3E%3C/clipPath%3E%3Cpolyline class='st0' points='0.3,0.4 13,13.3 25.7,0.4 '/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    bottom: 30px;
    left: calc(50% - 13px);
    opacity: 1;
}

.arrow-down:hover {
    transform: scale(1.1);
}*/

/* ==========================================================================
   FULLSCREEN OVERLAY NAVIGATION (https://codepen.io/KingKabir/pen/QyPwgG)
   ========================================================================== */

.button_container {
    position: absolute;
    top: 25px;
    right: 30px;
    height: 30px;
    width: 30px;
    cursor: pointer;
    transition: opacity .25s ease;
    z-index: 1081;
}

.button_container:hover {
    opacity: .7;
}

.button_container.active .top {
    transform: translateY(10px) translateX(0) rotate(45deg);
    background: #FFF;
}

.button_container.active .middle {
    opacity: 0;
    background: #FFF;
}

.button_container.active .bottom {
    transform: translateY(-5px) translateX(0) rotate(-45deg);
    background: #FFF;
}

.button_container span {
    background: #222;
    border: none;
    height: 2px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 15px;
}

.overlay {
    position: fixed;
    background: #000;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: auto;
    z-index: 1080;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay.open .social {
    position: fixed;
    top: 40px;
    right: 0;
}

.overlay.open  .facebook {
    background-image: url("../img/fb-white.svg");
}

.overlay.open  .instagram {
    background-image: url("../img/insta-white.svg");
}

.overlay.open .overlay-menu li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
}

.overlay.open .overlay-menu li:nth-of-type(2) {
    animation-delay: .4s;
}

.overlay.open .overlay-menu li:nth-of-type(3) {
    animation-delay: .45s;
}

.overlay.open .overlay-menu li:nth-of-type(4) {
    animation-delay: .50s;
}

.overlay.open .overlay-menu li:nth-of-type(5) {
    animation-delay: .55s;
}

.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-size: calc( 30px + (50 - 30) * (100vw - 320px)/(1280 - 320));
    font-family:"DIN Next LT W01 Bold", sans-serif;
    font-weight: normal;
    text-align: center;
}

.overlay .overlay-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay .overlay-menu ul li {
    display: block;
    /*height: 20%;
    /*height: calc(100% / 5);*/
    margin-bottom: 10px;
    /*min-height: 50px;*/
    position: relative;
    opacity: 0;
}

.overlay .overlay-menu ul li a {
    display: block;
    position: relative;
    color: #FFF;
    text-decoration: none;
    overflow: hidden;
    border: none;
}

.overlay .overlay-menu ul li a:hover:after,
.overlay .overlay-menu ul li a:focus:after,
.overlay .overlay-menu ul li a:active:after {
    width: 100%;
}

.overlay .overlay-menu ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: #FFF;
    transition: .35s;
}

.overlay.open .time {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

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

.main,
.footer {
    padding: 25px 0;
}

.bg-grey {
    background-color: #e7e7e7;
}

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

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

.part {
    margin-top: 10px; 
    margin-bottom: 10px;
}

.anchor {
    display: block;
    height: 75px; 
    margin-top: -75px; 
    visibility: hidden; }

.btn {
    font-family: 'VT323', monospace;
    font-weight: normal;
    border: 1px solid transparent;
    padding: 10px 5vw;
    font-size: 24px;
    font-size: calc( 18px + (24 - 18) * (100vw - 320px)/(1440 - 320));
    line-height: 1.5;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

a.btn-dark {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.line {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 25px;
    padding-bottom: 25px;
    
}

.line:before {
    position: absolute;
    display: inline-block;
    content: "";
    height: 2px;
    width: calc(100% - 30px);
    background-color: #000;
    left: 15px;
    top: 0;
}

.line:after {
    position: absolute;
    display: inline-block;
    content: "";
    height: 2px;
    width: calc(100% - 30px);
    background-color: #000;
    left: 15px;
    bottom: 0;
}

.line img {
    width: 60%;
}

.img-border {
    border: 1px solid #000;
} 

/* Video */
video,
video[poster] {
  width: 100% !important;
  height: auto !important;
}

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

.img-fluid {
    width: 100% !important;
}


/* Back to top */
#return-to-top {
    position: fixed;
    bottom: 30px;
    right: 15px;
    width: 26px;
    height: 14px;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 26 14' style='enable-background:new 0 0 26 14;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bclip-path:url(%23SVGID_2_);fill:none;stroke:%23000000;%7D%0A%3C/style%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cdefs%3E%3Crect id='SVGID_1_' x='0' y='0' width='26' height='14'/%3E%3C/defs%3E%3CclipPath id='SVGID_2_'%3E%3Cuse xlink:href='%23SVGID_1_' style='overflow:visible;'/%3E%3C/clipPath%3E%3Cpolyline class='st0' points='25.7,13.6 13,0.7 0.3,13.6 '/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    background-size: 100% 100%;
    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 {
    transform: scale(1.1); 
    border-bottom: 2px solid transparent;
}
/* ==========================================================================
   FORM
   ========================================================================== */

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

footer {
    background-color: #000;
    color: #FFF;
}

footer .instagram {
    display: inline-block;
    height: 31px;
    width: 31px;
    background-image: url("../img/insta-white.svg");
}

.vcard .fn,
.vcard .tel,
.vcard .email {
    display: block;
}


.vcard .fn,
.vcard .adr,
.vcard .tel {
    font-family:"DIN Next LT W01 Bold", sans-serif;
    font-weight: normal;
}

.vcard .email {
    margin-top: 25px;
}

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

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

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

img::selection {
    background: 0 0;
}

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

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

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