/*  Author:   Martin Stettler (https://dieweberei.ch/)
    Version:  07/05/2021 // based on BS v5.0
*/

/* ==========================================================================
   DEV STYLES
   ========================================================================== 
.unit {
    border: 1px dashed #f227f9 ;
}*/

/* colors

blue:  #4a8fba;
green: #85b540;
brown: #8c7d73;

*/

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

/* Close icon Perch */

.block-item .rm svg {
    fill: #333 !important;
}

/* 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: 'Lato', sans-serif;
    font-size: 20px;
    font-size: calc( 18px + (20 - 18) * (100vw - 320px)/(1440 - 320));
    font-weight: 400;
    line-height: 1.5;
    color: #003333;
    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,
p,
ul,
img {
    margin-bottom: 50px;
}

.container-collapse-articles p,
.blue-article p {
    margin-bottom: 30px!important;
}

.footer ul {
    margin-bottom: 0;
}

h1 strong,
h2 strong {
    font-weight: 900;
    color: #4a8fba;
    font-size: 50px;
    font-size: calc( 30px + (50 - 30) * (100vw - 320px)/(1440 - 320));
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0;
    display: block;
}

h1,
h2 {
    font-weight: 300;
    color: #8c7d73;
    font-size: 60px;
    font-size: calc( 35px + (60 - 35) * (100vw - 320px)/(1440 - 320));
    line-height: 1.2;
}

h1:after,
h2:after {
    content: "";
    display: block;
    width: 15vw;
    max-width: 140px;
    height: 1vw;
    max-height: 10px;
    background: #4a8fba;
    margin:  20px 0 12px 0;
}

.bg-brown h2,
.bg-brown h2 strong {
    color: #FFF;
}

.bg-brown h2:after {
    background: #FFF;
}

h3,
blockquote {
    color: #8c7d73; 
    font-weight: 900;
    font-size: 30px;
    font-size: calc( 20px + (30 - 20) * (100vw - 320px)/(1440 - 320));
    margin-bottom: 30px !important;
}

h4 {
    font-size: 26px;
    font-size: calc( 19px + (26 - 19) * (100vw - 320px)/(1440 - 320));
}

b,
strong {
    font-weight: 700;
}

blockquote {
    font-style: italic;
}

br {
    line-height: 1.5;
}

.main ul {
    padding: 0;
}

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

.main li:before {
    position: relative;
    display: block;
    top: 0;
    left: -20px;
    height: 0;
    content: "•"; 
    color: #4a8fba;
}

p + ul {
    margin-top: -50px;
}
.accordion-body p + ul {
    margin-top: -30px !important;
}

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

a {
    text-decoration: none;
}

a:focus,
button:focus,
.navbar-toggler:focus,
input.search-field:focus {
    outline: none;
    box-shadow: 0;
}

.unit a,
.unit a[href^="tel"] {
    color: #4a8fba;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #4a8fba;
}

.unit a:hover {
    color: #85b540;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.card-body a {
    color: #003333;
    border-bottom: 1px solid #000;
}

.card-body a:hover {
    color: #FFF;
    border-bottom: 1px solid transparent;
}

.unit a img {
    text-decoration: none;
}

p.link-element a {
    font-size: 18px;
    font-weight:  900;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFF;
    padding: 10px 20px;
    background: #4a8fba;
    line-height: 60px;
    hyphens: none;
}

p.link-element a:hover { 
    color: #FFF;
    background: #85b540;
}

p.link-element a:after {
    display: inline-block;
    content: '';
    width: 19px;
    height: 16px;
    margin-left: 15px;
    background: url(../img/arrow-left-white.svg);
}

/* File icon */
.main a[href$=".pdf"],
.main a[href$=".doc"],
.main a[href$=".docx"],
.main a[href$=".xls"],
.main a[href$=".xlsx"] {
    color: #4a8fba;
    border-bottom: 0;
}

.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: #003333;
}

.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: 17px;
    height: 20px;
    background-image: url(../img/file-icon2.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-icon.svg);
}

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

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

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,
table>tbody>tr>td {
    width: auto;
    font-size: 12px;
    font-size: calc(12px + (18 - 12) * (100vw - 320px)/(1280 - 320));
    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: 900;
}

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

/* Search */
.search-form {
    margin-top: 5vw;
}

.layout-search h1 {
    margin-bottom: 50px;
}

input.search-field {
    width: calc(100% - 235px);
    font-size: 20px;
    padding: 10px;
    height: auto;
    background-color: rgba(133, 181, 64, 0.2);
    border: 0;
    border-radius: 0;
    font-weight: normal;
    color: #003333;
    margin-right: 20px;
}

input.search-btn {
    width: 200px;
    display: inline-block;
    font-size: 20px;
    padding: 10px 70px 10px 35px;
    background: #85b540;
    font-weight: 900;
    text-transform: uppercase;
    color: #FFF;
    border-radius: 0;
    border: 0;
    opacity: 1 !important;
    -webkit-transition: background linear 300ms;
    margin-top: 20px;
    background:  #85b540 url(../img/arrow-left-white.svg) no-repeat;
    background-size: 19px 16px;
    background-position: center right;
    background-position : calc(100% - 35px) center;
}

input.search-btn:hover {
    background-color: #4a8fba;
    color: #FFF;
    -webkit-transition: background linear 300ms;
}

.search-results li {
    padding-bottom: 30px;
    margin: 30px 0;
    border-bottom: 1px solid #000;
    padding-left: 0;
}

.search-results li:before {
    content: ""; 
}

em.keyword {
    font-style: normal;
    background: rgba(133, 181, 64, 0.2);
}

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

/* Smooth animations */
a,
a:hover,
.navbar,
.navbar.shrink,
.navbar-brand span,
.navbar-brand.shrink span,
.navbar-icon span,
.navbar-icon.shrink span,
.service-nav,
.service-nav.shrink,
.teaser-image a .teaser-image-overlay,
.teaser-image a:hover .teaser-image-overlay {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

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

.navbar {
    background-color: #FFF !important;
}

.navbar {
   padding: 15px 15px 0 15px;
}

.navbar.shrink {
    height: 0;
    padding: 0px 15px 0px 15px;
}

.navbar-brand {
    margin-bottom: 15px;
}

.navbar-brand span {
    display: inline-block;
    width: 135px;
    height: 63px;
    text-indent: -9999px;
    background: url(../img/logo-boenigen-iseltwald.svg);
}

.navbar-brand.shrink {
    height: 0px;
    padding: 0;
}

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

.navbar-icon span {
    position: absolute;
    left: 45px;
    top: -50px;
    width: 180px;
    height: 41px;
    text-indent: -9999px;
    background: url(../img/icon-boenigen-iseltwald.svg);
}

/* Services */
.service-nav {
    padding-bottom: 15px;
}

.service-nav li {
    margin:  10px 10px;
}

.youtube span,
.facebook span,
.instagram span {
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background: url(../img/icon-youtube.svg);
}

.footer .youtube span,
.footer .facebook span,
.footer .instagram span {
    width: 45px;
    height: 45px;
    background: url(../img/icon-youtube.svg);
}

.footer .bestSwissVillages span {
    display: inline-block;
    width: 100px;
    height: 100px;
    text-indent: -9999px;
    background: url(../img/logo-best-swiss-villages.png);
    background-size: 100% 100%;
}

.footer .swisstainable span {
    display: inline-block;
    width: 100px;
    height: 100px;
    text-indent: -9999px;
    background: url(../img/logo-swisstainable.svg);
}

.footer .okgo span {
    display: inline-block;
    width: 100px;
    height: 100px;
    text-indent: -9999px;
    background: url(../img/logo-okgo.svg);
}

.footer .youtube span {
    background: url(../img/icon-youtube-white.svg);
}

.facebook span {
    background: url(../img/icon-facebook.svg);
}

.footer .facebook span {
    background: url(../img/icon-facebook-white.svg);
}

.instagram span {
    background: url(../img/icon-instagram.svg);
}

.footer .instagram span {
    background: url(../img/icon-instagram-white.svg);
}

.youtube:hover span,
.footer .youtube:hover span {
    background: url(../img/icon-youtube-black.svg);
}

.facebook:hover span,
.footer .facebook:hover span {
    background: url(../img/icon-facebook-black.svg);
}

.instagram:hover span,
.footer .instagram:hover span {
    background: url(../img/icon-instagram-black.svg);
}

.email span {
    display: inline-block;
    width: 35px;
    height: 24px;
    text-indent: -9999px;
    background: url(../img/icon-email.svg);
}

.email:hover span {
    background: url(../img/icon-email-black.svg);
}

.search span {
    display: inline-block;
    width: 30px;
    height: 31px;
    text-indent: -9999px;
    background: url(../img/icon-search.svg);
}

.search:hover span {
    background: url(../img/icon-search-black.svg);
}




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

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

/* Offcanvas menu
-------------------------------------------------- */
html,
body {
    overflow-x: hidden;
}

/* Prevent scroll on narrow devices */

body {
    padding-top: 100px;
}

@media (max-width: 1199.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 100%;
        /* left for collapse-left */
        right: -300px;
        /* left for collapse-left */
        width: 300px !important;
        padding-top: 50px;
        padding-right: 0px;
        padding-left: 0px;
        overflow-y: auto;
        visibility: hidden;
        background-color: #FFF;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: right, visibility;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    /* left for collapse-left */

    .offcanvas-collapse.open {
        right: 0;
        /* left for collapse-left */
        visibility: visible;
    }

    
}

/* Hamburger
-------------------------------------------------- */
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    position: fixed;
    top: 15px;
    right: 10px;
    z-index: 1080;
    padding: px;
    /* 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: #FFF;
    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: #4a8fba;
    /* 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: #4a8fba;
}

.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 */
.main-nav {
    padding-right: 16px;
    padding-left: 16px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 16px;
    text-transform: uppercase;
}

.main-nav .nav-link {
    padding: 12px 0; /* 23px  */
}

.navbar-nav .nav-link {
    color:  #003333;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #8c7d73;
}

.navbar-nav .active>.nav-link,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active {
    color: #8c7d73;
}

.bg-light {
    background-color: #f8f9fa !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 {
    padding-right: 0;
    padding-left: 0;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    float: left;
    width: 100%;
    min-width: 260px;
    padding: 15px 5px;
    margin: 0;
    font-size: 16px;
    color: #FFF;
    text-align: left;
    list-style: none;
    background-color: #85b540;
    background-clip: padding-box;
    border: 0px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 12px;
    clear: both;
    font-weight: 400;
    color: #FFF;
    font-size: 16px;
    line-height: 1.2;
    text-align: inherit;
    white-space: normal;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    color: #003333;
    text-decoration: none;
    background-color: transparent;
}

.dropdown-menu li.active a.dropdown-item {
    color: #003333;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.bg-brown {
    background: rgba(140, 125, 115, 0.5);
    margin-top: 30px;
    margin-bottom: 10px;
    padding-top: 50px;
    padding-bottom: 40px;
}

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

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

.part,
.unit .part:last-child {
    margin-top: 20px;
    margin-bottom: 20px;
}

.px-20 {
    padding-right: 20px;
    padding-left: 20px;
}

.py-25 {
    padding-top: 25px;
    padding-bottom: 25px;
}

@media (max-width: 767px) {
    .pb-sm-50 {
        padding-bottom: 50px;
    }

    .container-collapse-articles .pb-sm-50:last-child {
        padding-bottom: 0;
    }
}

.fullsize-image {
    position: relative;
    padding: 0px 12px;
    margin-bottom: 30px;
}

.fullsize-image img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.claim {
    position: absolute;
    text-transform: uppercase;
    color: #FFF;
    font-weight: 300;
    text-align: center;
    letter-spacing: 3px;
    line-height: 1;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); 
    font-size: 60px;
    font-size: calc( 20px + (60 - 20) * (100vw - 320px)/(1440 - 320));
}

.claim strong {
    font-weight: 900;
    display: block;
    font-size: 150px;
    font-size: calc( 30px + (150 - 30) * (100vw - 320px)/(1440 - 320));
}

.claim span {
    content: "";
    display: block;
    width: 15vw;
    max-width: 140px;
    height: 1vw;
    max-height: 10px;
    background: #4a8fba;
    margin:  20px auto 12px auto;
}   

.webservices {
    position:  absolute;
    right: -12px;
    bottom: 0;
}

.webservices ul {
    margin-bottom: 0;
}

.webservices .phone-btn,
.webservices .weather-btn,
.webservices .webcam-btn {
    background-color: #85b540;
    padding: 5px 20px 0 5px;
    margin-bottom: 5px;
}

.webservices .weather-btn {
    background-color: #4a8fba;
}

.webservices .webcam-btn {
    background-color: #8c7d73;
}

.webservices .phone-btn span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(../img/icon-phone.svg);
}

.webservices a:hover .phone-btn span {
    background: url(../img/icon-phone-black.svg);
}

.webservices .weather-btn span {
    display: inline-block;
    width: 29px;
    height: 25px;
    background: url(../img/icon-weather.svg) no-repeat;
}

.webservices a:hover .weather-btn span {
    background: url(../img/icon-weather-black.svg);
}

.webservices .webcam-btn span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(../img/icon-webcam.svg);
}

.webservices a:hover .webcam-btn span {
    background: url(../img/icon-webcam-black.svg);
}

/* Modules */

/* teaser image */
.teaser-image {
    position: relative;
}

.teaser-image-overlay {
    position: absolute;
    height: calc(100% - 0.5rem);
    width: calc(100% - 0.5rem);
    z-index: 100;
}

.teaser-image a .teaser-image-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
}

.teaser-image a:hover .teaser-image-overlay {
    opacity: 1;
}

.teaser-image .teaser-image-title h3 {
    position: absolute;
    left: 20px;
    bottom: 10px;
    margin-bottom: 0 !important;
    padding-right: 20px;
    font-weight: 900;
    color: #FFF;
    font-size: 50px;
    font-size: calc( 30px + (50 - 30) * (100vw - 320px)/(1440 - 320));
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 3px;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); 
    z-index: 200;
}

/* teaser text */
.teaser-text:nth-child(even) h2 strong {
    color: #85b540;
}

.teaser-text:nth-child(even) h2:after {
    background: #85b540;
}

/* News / cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: rgba(140, 125, 115, 0.7);
  background-clip: border-box;
  border: none;
  border-radius: 0;
}

img.card-img-top {
    margin-bottom: 0;
}

.card-body {
  flex: 1 1 auto;
  padding: 15px;
}

.card-image {
    position: relative;
    margin-bottom: 15px;
}

.card-image img {
    margin: 0;
}

.card-date {
    position: absolute;
    bottom: 0;
    right: 25px;
    border-top: 8px solid #8c7d73;
    background:  #FFF; 
    padding: 10px 15px;
    word-break: break-all;
}

h4.card-title {
    font-weight: 900;
    font-size: 40px;
    font-size: calc( 25px + (40 - 25) * (100vw - 320px)/(1440 - 320));
    color: #FFF;
    margin-bottom: 20px;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-btn a {
    display: block;
    margin-bottom: 15px;
    font-weight: 900;
    color: #8c7d73;
    padding: 10px 15px;
    background: #FFF;
    text-transform: uppercase;
}

.card-btn a:after {
    content: '';
    display: inline-block;
    width: 19px;
    height: 16px;
    background:  url(../img/arrow-left-brown.svg);
    margin-left: 15px;
}

.card-btn a:hover  {
    color: #FFF;
    background: #8c7d73;
}

.card-btn a:hover:after {
    background:  url(../img/arrow-left-white.svg);
}

/* image block end of page */
.image-block img {
    margin-bottom: 0;
}

/* Collapse Accordion (https://getbootstrap.com/docs/5.1/components/accordion/) */
.collapse-article-lead p {
    margin-bottom: 50px !important;
}

.container-collapse-articles h3 {
    color: #8c7d73; 
    font-weight: 900;
    font-size: 30px;
    font-size: calc( 20px + (30 - 20) * (100vw - 320px)/(1440 - 320));
    margin-bottom: 30px !important;
}

.accordion-button {
    padding: 20px 10px;
    color: #4a8fba !important; 
    font-weight: 400;
    font-size: 26px;
    font-size: calc( 19px + (26 - 19) * (100vw - 320px)/(1440 - 320));
    border-radius: 0 !important;
}

/* Remove outline */
.accordion-button.collapsed,
.accordion-button:not(.collapsed){
    background-color: transparent;
    box-shadow: none;
}

.accordion-button.collapsed:hover,
.accordion-button:not(.collapsed):hover {
    background-color: rgba(74, 143, 186, 0.15);
}

.accordion-item {
    margin-bottom: 25px;
}

.accordion-item,
.accordion-button {
    background-color: rgba(74, 143, 186, 0.1);
    border: none;
    border-radius: 0 !important;
}

.accordion-body {
    padding: 20px 10px;
}

.accordion-button:not(.collapsed)::after {
    width: 21px;
    height: 25px;
    background-image: url(../img/arrow-down-brown.svg);
    transform: rotate(-180deg);
}
.accordion-button::after {
    flex-shrink: 0;
    width: 21px;
    height: 25px;
    margin-left: auto;
    content: "";
    background-image: url(../img/arrow-down-brown.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: transform 0.2s ease-in-out;
}

/* correction 2026 */

/* Accordion */
.accordion-item {
    margin-bottom: 25px;
    background-color: rgba(74, 143, 186, 0.1);
    border: none;
    border-radius: 0 !important;
    overflow: hidden;
}

/* Header */
.accordion-button,
.accordion-button.collapsed,
.accordion-button:not(.collapsed) {
    padding: 20px 10px;
    color: #4a8fba !important;
    background-color: transparent;
    box-shadow: none !important;
    border: none;
    border-radius: 0 !important;
    font-weight: 400;
    font-size: 26px;
    font-size: calc(19px + (26 - 19) * (100vw - 320px) / (1440 - 320));
    transition: background-color 0.3s ease;
}

/* Hover auf geschlossenem Header */
.accordion-button.collapsed:hover {
    background-color: rgba(74, 143, 186, 0.2);
}

/* Geöffneter Artikel: dunkleres Blau über die ganze Fläche */
.accordion-item:has(.accordion-button:not(.collapsed)) {
    background-color: rgba(74, 143, 186, 0.2);
}

/* Geöffneter Header bleibt transparent */
.accordion-button:not(.collapsed) {
    background-color: transparent !important;
}

/* Inhalt übernimmt den Hintergrund des Artikels */
.accordion-collapse,
.accordion-body {
    background-color: transparent !important;
    box-shadow: none !important;
}

.accordion-body {
    padding: 20px 10px;
}

/* Pfeil */
.accordion-button::after {
    flex-shrink: 0;
    width: 21px;
    height: 25px;
    margin-left: auto;
    content: "";
    background-image: url(../img/arrow-down-brown.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* ./ correction 2026 */

/* blue articles */
.blue-articles .blue-article {
    padding: 20px 10px;
    background-color: rgba(74, 143, 186, 0.1);
    margin-bottom: 50px;
}

.blue-articles .blue-article:last-child {
    margin-bottom: 0;
}

.blue-article h4 {
    margin-bottom: 30px;
}

.blue-article h4 strong {
    color: #4a8fba;
}

/* Video iframe */
.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

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

/* Map iframe */
.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
}

.map-responsive iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
/* ==========================================================================
   FORM
   ========================================================================== */

.text-muted {
    color: #003333 !important;
    font-size: 16px;
    margin-bottom: 15px !important;
}
.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: 20px;
    padding: 10px;
    height: auto;
    background-color: rgba(133, 181, 64, 0.2);
    border: 0;
    border-radius: 0;
    font-weight: normal;
    color: #003333;
}

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

label {
    color: #003333 !important;
    font-size: 20px;
    padding-bottom: 5px;
}

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

.btn {
    display: inline-block;
    font-size: 20px;
    padding: 12px 70px 12px 35px;
    background: #85b540;
    font-weight: 900;
    text-transform: uppercase;
    color: #FFF;
    border-radius: 0;
    border: 0;
    opacity: 1 !important;
    -webkit-transition: background linear 300ms;
    margin-top: 20px;
    background:  #85b540 url(../img/arrow-left-white.svg) no-repeat;
    background-size: 19px 16px;
    background-position: center right;
    background-position : calc(100% - 35px) center;
}

.btn:hover,
.btn:focus,
.btn.active {
    background-color: #4a8fba;
    color: #FFF;
    -webkit-transition: background linear 300ms;
}

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

footer {
    padding-right: 12px;
    padding-left: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer {
    background: #4a8fba;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 15px;
    color: #FFF;
}

.footer a {
    color: #FFF;
}

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

address {
    margin-bottom: 0;
}

.fn,
.org,
.street-address,
.tel,
.email {
    display: block;
}

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

.footer-logos img {
    margin-bottom: 25px;
}

.logo-brienzersee img {
    width: 95px;
    height: 58px;
}

.logo-tourismus img {
    width: 135px;
    height: 63px;
}


@media (max-width:  575px) {
    .social {
        margin-top: 20px;
    }

}

.imprint {
    margin-top: 20px;
}

.languages.list-unstyled li {
    margin-top: 25px;
    margin-right: 15px;
}

.imprint .list-unstyled li {
    display: inline-block;
    margin-right: 15px;
  
}

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

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

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

img::selection {
    background: 0 0;
}

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

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

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