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

/* ==========================================================================
   DEV STYLES
   ==========================================================================  
.comparison-slider-wrapper {
    border: 1px dashed #f227f9 !important;
}*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 21px;
    line-height: 1.3;
    color: #000;
    background: #ede2d0;
    -ms-word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
ul,
ol,
table {
    margin-bottom: 20px !important;
}

h1,
h2,
h4 {
    font-family: "Roboto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 42px;
    color: #4c3b27;
    line-height: 1.15;
}

h1 {
    hyphens: none;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
    font-weight: 400;
    color: #000;
}

h4 {
    font-size: 28px;
    color: #000;
}

.sidebar h2,
.article-outline h2,
.sidebar h4,
.article-outline h4 {
    color: #ede2d0;
}

b,
strong {
    font-weight: 600;
}

.color-primary {
    color: #0063AC;
}

br {
    line-height: 1.3;
}

main a,
main a[href^="tel"],
address a[href^="tel"] {
    font-weight: 600;
    color: #0063AC;
    text-decoration: underline;
    text-underline-offset: 2px;
}

main a:hover,
main a:active {
    color: #003D6E;
    text-decoration: none;
}

.sidebar a,
.sidebar a:hover,
.sidebar a:active,
.article-outline a,
.article-outline a:hover,
.article-outline a:active {
    color: #FFF !important;
}

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

main ul {
    padding: 0;
}

main li {
    list-style: none;
    padding-left: 20px;
    line-height: 1.3;
}

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

main .list-group-item {
    position: relative;
    display: block;
    padding: 0 0 0 20px;
    color: #322E34;
    border: none;
}

p+ul {
    margin-top: -20px;
}

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

/* download file */
main a[href$=".pdf"],
main a[href$=".doc"],
main a[href$=".docx"],
main a[href$=".xls"],
main a[href$=".xlsx"] {
    display: flex;
    align-items: center;
    color: #0063AC;
}

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: #003D6E;
}

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 {
    ;
    position: relative;
    display: inline-block;
    content: "";
    margin: 0 8px 0 0;
    width: 26px;
    height: 26px;
    background-color: transparent;
    background-image: url(../img/icon-file.svg);
}
/*
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/icon-file-2.svg);
}
*/
.anchor {
    display: block;
    height: 75px;
    /* same height as header */
    margin-top: -75px;
    /* same height as header */
    visibility: hidden;
}

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

/* table */
table {
    table-layout: fixed;
    width: 100%;
}

table>thead>tr {
    border-bottom: 2px solid #322E34;
    font-weight: 600;
    vertical-align: bottom;
}

table>tbody>tr {
    border-bottom: 1px solid #322E34;
}

table>thead>tr>th:nth-child(odd):not(:first-child),
table>tbody>tr>td:nth-child(odd):not(:first-child) {
    /*background: rgba(203, 219, 243, 0.5);*/
}

table>thead>tr>th:nth-child(even),
table>tbody>tr>td:nth-child(even) {
    /*background: #E9EEF3;*/
}

table>thead>tr>th,
table>tbody>tr>td {
    width: auto;
    font-size: 14px;
    font-size: calc(14px + (21 - 14) * (100vw - 320px)/(2000 - 320));
}

table tr th,
table tr td {
    padding: 10px 20px;
}

table>thead>tr>th:first-child,
table>tbody>tr>td:first-child {
    padding-left: 0;
}

table>thead>tr>th:last-child,
table>tbody>tr>td:last-child {
    border-left: 1px solid #000;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.navbar.shrink {
    height: 0;
    padding: 0;
}

.navbar-inner {
    padding-top: 60px;
    /* adjust header height */
    padding-bottom: 20px;
    /* adjust header height */
}

@media (min-width: 400px) {
    .navbar-inner {
        padding-top: 10px;
        /* adjust header height */
        padding-bottom: 10px;
        /* adjust header height */
    }
}

.navbar-brand {
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 16px;
    font-size: 20px;
}

.navbar-brand.shrink {
    transform: translateY(-200px);
}

.navbar-brand span {
    display: block;
    content: '';
    width: 200px;
    height: auto;
    margin-top: 0;
    background: url(../img/logo-baeren-boenigen-2.png) no-repeat;
    text-indent: -9999px;
}

.logo img {
    width: 150px;
    height: auto;
}

.header-services {
    width: 100%;
    margin: 0;
    padding: 0;
}

.header-services li {
    display: block;
    width: 100% !important;
}

.header-services li a {
    display: inline-block;
    width: 100% !important;
    color: #322E34;
    font-size: 20px;
    padding: 10px 20px !important;
    text-decoration: none;
}

.header-services li a:hover {
    color: #FFF;
    background: #0063AC;
}

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

.navbar {
    background-color: rgba(255, 255, 255, 1);
}

/* offcanvas menu */
@media (max-width: 1199.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 100%;
        right: -240px;
        width: 240px;
        padding-right: 0px;
        padding-left: 0px;
        overflow-y: auto;
        visibility: hidden;
        background-color: #FFF;
        border-left: 1px solid #31666b;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: right, visibility;
        z-index: 1030;
    }

    .offcanvas-collapse.open {
        right: 0;
        visibility: visible;
    }

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

/* hamburger */
.navbar-toggler {
    position: fixed;
    top: 20px;
    right: 25px;
    background: #FFF !important;
    border-radius: 0;
}

.navbar-toggler div {
    float: left;
    margin: 5px 10px 0 0;
    font-size: 20px;
    color: #0063AC;
    text-transform: uppercase;
}

.hamburger {
    z-index: 1080;
    padding: 0;
    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-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

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

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #0063AC;
    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: #0063AC;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

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

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

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

.nav-link {
    color: #0063AC !important;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 20px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .active .nav-link {
    color: #FFF !important;
    background: #0063AC;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 1px !important;
    font-size: 20px;
    color: #0063AC;
    text-align: left;
    list-style: none;
    background-color: #fff;
    border: 0;
    border-radius: 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    font-size: 20px;
    padding: 4px 20px;
    color: #FFF;
    background-color: #154F91;
    border: 0;
    border-bottom: 1px solid #FFF;
    white-space: pre-wrap;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    color: #FFF;
    text-decoration: none;
    background-color: #0063AC;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
body {
    margin-top: 25px;
    /* adjust header height */
}

@media (min-width: 400px) {
    body {
        margin-top: 25px;
        /* adjust header height */
    }
}

.gx-2_25 {
    --bs-gutter-x: 36px;
}

.gy-2_25 {
    --bs-gutter-y: 50px;
}

.mt-50 {
    margin-top: 50px;
}

.unit {
    margin-bottom: 50px;
}

.unit.article-block,
.unit.article-box,
.unit.article-outline,
.unit.hero img,
.unit.lead *:last-child,
.content-wrapper .unit *:last-child,
.sidebar *:last-child {
    margin-bottom: 0;
}

.layout-home .unit.sidebar {
    margin-bottom: 0;
}

.layout-content .content-main .unit:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: inherit;
    font-weight: normal;
}

/* articles */
.row-flex {
    display: flex;
    flex-wrap: wrap;
}

/* article block */
.article-block .content {
    background: #FFF;
    height: 100%;
    padding: 20px;
}

/* article outline */
.article-outline .content {
    background: #4c3b27;
    height: 100%;
    padding: 20px;
    color: #FFF;
}

.article-outline .entry {
    margin-bottom: 25px;
    padding-top: 25px;
    border-top: 1px solid #322E34;
}

/* article extra (collapse) */
.wrapper-collapse {
    border-top: 1px solid #322E34;
    border-bottom: 1px solid #322E34;
}

.accordion-button h2 {
    color: #322E34;
}

.accordion-button:not(.collapsed) h2 {
    color: #0063AC;
}

.accordion-button.collapsed,
.accordion-button:not(.collapsed) {
    border-top: 1px solid #322E34;
    box-shadow: none;
    background: transparent;
}

.accordion-button:first-child.collapsed,
.accordion-button:first-child:not(.collapsed) {
    border-top: 0;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyNy43IDM0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyNy43IDM0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6bm9uZTtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6Mi45OTc1O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDt9Cjwvc3R5bGU+CjxnIGlkPSJJY29uX2ZlYXRoZXItYXJyb3ctZG93biIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUuMzc5IDU3LjM3NikiPgoJPHBhdGggaWQ9IlBhdGhfOTMzIiBjbGFzcz0ic3QwIiBkPSJNMTkuMi01NS45djMxIi8+Cgk8cGF0aCBpZD0iUGF0aF85MzQiIGNsYXNzPSJzdDAiIGQ9Ik0zMS41LTM3LjJMMTkuMi0yNC45TDYuOS0zNy4yIi8+CjwvZz4KPC9zdmc+Cg==");
    transform: rotate(180deg);
}

.accordion-button::after {
    position: absolute;
    right: 0;
    flex-shrink: 0;
    width: 24px;
    height: 30px;
    padding: 15px;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyNy43IDM0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyNy43IDM0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6bm9uZTtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6Mi45OTc1O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDt9Cjwvc3R5bGU+CjxnIGlkPSJJY29uX2ZlYXRoZXItYXJyb3ctZG93biIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUuMzc5IDU3LjM3NikiPgoJPHBhdGggaWQ9IlBhdGhfOTMzIiBjbGFzcz0ic3QwIiBkPSJNMTkuMi01NS45djMxIi8+Cgk8cGF0aCBpZD0iUGF0aF85MzQiIGNsYXNzPSJzdDAiIGQ9Ik0zMS41LTM3LjJMMTkuMi0yNC45TDYuOS0zNy4yIi8+CjwvZz4KPC9zdmc+Cg==");
    background-repeat: no-repeat;
    background-position: center center;
    transition: transform 0.2s ease-in-out;
}

.accordion-collapse {
    position: relative;
    background: #FFF;
    border-radius: 0 !important;
}

.accordion-body {
    padding: 0 0 25px 0;

}

/* sidebar */
.sidebar .content {
    background: #4c3b27;
    padding: 20px;
    color: #FFF;
}

.layout-content .sidebar .content {
    background: #0063AC;
}

.sidebar .entry {
    margin-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #FFF;
}

.sidebar .entry:first-child {
    margin-top: 0;
}

.sidebar .entry:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}


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

.help-block {
    margin: 0;
}

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form .form-group input.form-control,
#contact-form .form-group textarea {
    width: 100%;
    font-size: 20px;
    padding: 10px 20px;
    height: auto;
    background: transparent;
    border: 1px solid #0063AC;
    border-radius: 0;
}

#contact-form .form-group textarea {
    margin-bottom: 30px;
}

#contact-form select.form-select {
    display: block;
    width: 100%;
    background: rgba(203, 219, 243, 0.5);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 0;
    border-radius: 0;
}

#contact-form input.form-check-input {
    margin-top: 3px;
    border: 1px solid #0063AC;
    border-radius: 0;
}

#contact-form input.form-check-input:checked {
    background-color: #0063AC;
}

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

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

.honeypot {
    display: none;
}

#contact-form .list-unstyled li {
    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 {
    padding: 0 !important;
}

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

.form-send {
    display: inline-block;
    margin-top: 20px;
    font-size: 20px;
    padding: 8px 20px;
    background: #0063AC;
    color: #FFF;
    border: 0;
    border-radius: 0;
    opacity: 1 !important;
    text-decoration: none;
    -webkit-transition: background linear 300ms;
}

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

.alert {
    margin-top: 40px;
}

.alert-success {
    background: rgba(0, 132, 63, 0.1);
    border: 0;
    color: #0063AC;
}

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

.footer {
    background: #4c3b27;
    color: #ede2d0;
}

address {
    margin-bottom: 0;
    font-size: 20px;
}

address a {
    font-weight: 400 !important;
    color: #ede2d0 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

address a:hover,
address a:active {
    color: #ede2d0;
    text-decoration: none;
}

.org {
    color: #322E34;
}

.org span {
    display: block;
    font-weight: 500;
    color: #ede2d0;
}

.country-name:after {
    content: '–';
}

.email {
    display: block;
}

.footer-services {
    background: #0063AC;
}

.footer-services a {
    font-weight: 400;
    color: #ede2d0;
    font-size: 16px;
    text-underline-offset: 2px;
}

.footer-services a:hover {
    text-decoration: none;
}

.footer-services li {
    margin: 0 30px;
}

.footer-services li:first-child {
    margin-left: 0;
}

footer .social-links {
  display: flex;                    /* ensure icons show up horizontally */
  justify-content: flex-end;        /* align to right on desktop */
  align-items: flex-end;            /* bottom-align with other cols */
  gap: 1rem;                        /* spacing between icons */
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer .social-links img {
  display: block;
  width: 100%;
  height: auto;
}

.social-links a {
  width: 28px;
  height: 28px;
}

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

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

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

img::selection {
    background: 0 0;
}

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

body {
    webkit-tap-highlight-color: #4c3b27;
}

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