/*  Author:   Martin Stettler (https://dieweberei.ch/)
    Version:  19/01/2022 // BS v5.1.3
*/

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

/* Bootstrap CSS */
html {
    font-family: sans-serif;
    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: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    text-align: left;
    background: rgb(217, 218, 219); 
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto;
}

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

h1 {
    font-size: 25px;
    font-size: calc( 25px + (36 - 25) * (100vw - 320px)/(1440 - 320));
    hyphens: none;
}

h2 {
    font-size: 21px;
    font-size: calc( 21px + (25 - 21) * (100vw - 320px)/(1440 - 320));
    hyphens: none;
}

h3,
.layout-home h1 {
    font-size: 18px;
    font-size: calc( 18px + (21 - 18) * (100vw - 320px)/(1440 - 320));
    hyphens: none;
}

.teaser h3 {
    margin-bottom: 0;
}

b,
strong {
    font-weight: 700;
}

br {
    line-height: 1.5;
}

.main a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.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: "–"; }

/* to avoid layout shift */
img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height); 
}

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

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

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


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

.logo img {
    max-width: 250px;
    height: auto;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.main {
    padding-top: 50px;
    padding-bottom: 50px;
}

.navbar {
   padding: 25px 0;
   background: #31666b;
   color: #FFF;
}

.navbar-collapse {
    z-index: 1000;
}

a.nav-link span {
    display: inline-block;
    width: 35px;
    height: auto;
    background: url(../img/arrow-back.svg);
    background-size: 100% 100%;
    text-indent: -9999px;
    margin-left: 25px;
}

a.nav-link:hover span {
    transform: translateX(-10px);
}

.title {
    position: absolute;
    top: 30px;
    right: 0;
    left: 0;
    text-align: center;
    z-index: 100;
}

.teaser {
    color: #31666b;

}

.teaser a {
    color: #31666b;
    text-decoration: none;
}

.teaser a:hover .bg-light {
    color: #FFF;
    background: #31666b !important;
}

.teaser svg,
.item img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.teaser a:hover .cls-1 {
  fill: #FFFFFF;
}

.content {
    padding-top: 100px;
}

.set {
    margin-bottom: 50px;
}

/* Teaser */
.row {
  display: flex;
  align-items: flex-start;
  margin-inline: auto;
}

.item {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
/* ==========================================================================
   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;
}