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

/* ==========================================================================
   DEV STYLES
   ========================================================================== 
table,
tr,
td {
    border: 1px dashed #f227f9;
}
*/
/* ==========================================================================
   BASE STYLES
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #f2ece8;
    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,
.btn-single,
.video-container,
.map-responsive,
table {
    color: #000;
    margin-bottom: 36px;
}

.claim {
    font-family: 'Lora', serif;
    font-size: 24px;
}

.hut-styles .lead h1,
.lead p {
    font-family: 'Lora', serif;
    font-size: 21px;
}

.lead h1 strong,
h2 {
    font-weight: 700;
    font-size: 32px;
    display: block;
    padding-bottom: 5px;
}

.calendar-article h2 {
    margin-bottom: 10px;
    padding-bottom: 0;
}

h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px !important;
}

b,
strong {
    font-weight: 700;
}

br {
    line-height: 1.5;
}

.article ul {
    padding: 0;
}

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

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

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.button-container a,
.btn-single a {
    text-decoration: none !important;
}

.btn-style {
    width: 100%;
    height: 100%;
    min-width: 180px;
    min-height: 52px;
    background: url(../images/button-graphic.svg) no-repeat;
    background-position: center center;
    text-decoration: none;
    color: #000;
    font-family: 'Lora', serif;
    font-size: 21px; 
}

.btn-style:hover {
    filter: invert(100%) brightness(1) sepia(1) hue-rotate(180deg) saturate(5);
}

/* Phone */
a[href^="tel"]{
    text-decoration: underline !important;
}

a[href^="tel"]:hover {
    cursor: pointer !important;
    text-decoration: none !important;
}

/* Correct size for jpg & svg */
img {
    max-width: 100%;
    height: auto;
}

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

/* File icon */
.article .file-icon a[href$=".pdf"]:before,
.article .file-icon a[href$=".doc"]:before,
.article .file-icon a[href$=".docx"]:before,
.article a[href$=".xls"]:before,
.article .file-icon a[href$=".xlsx"]:before {
    position: relative;
    content: "";
    display: inline-block;
    width: 20px;
    height: 25px;
    background: url(../images/file-icon.svg) no-repeat;
    background-color: transparent;
    color: #000;
    margin: 0 8px 0 0;
    text-decoration: none !important;
}

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

/* Smooth animations */
a,
a:hover,
.owl-carousel .owl-prev,
.owl-carousel .owl-next,
.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

/* Tables */
table {
    table-layout: fixed;
}

table>tbody>tr>td {
    font-size: 16px;
    font-size: calc(16px + (18 - 16) * (100vw - 320px)/(1440 - 320));
    vertical-align: top;
    -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 {
    width: auto;
}

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

/* 
https://css-tricks.com/responsive-data-tables/
*/
@media 
only screen and (max-width: 640px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* 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;
	}
	
	tr { 
        border: 1px solid #000; 
        border-bottom: 0px solid #000; 
    }

    tr:last-child { 
        border-bottom: 1px solid #000; 
    }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 5px; 
	}
	
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.section-navigation {
    width:  100%;
}
.navbar {
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  position: absolute;
  width: 100px;
  left: 0;
  right: 0;
  top: 5px;
  text-align: center;
  margin: auto;
}

.navbar-brand span {
    display: block;
    width: 55px;
    height: 75px;
    background: url(../images/Animation_Navigation_Finale@x2.gif);
    background-size: 55px 75px;
    text-indent: -9999px;
    margin: auto;
}

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

body {
    padding-top: 150px;
}

@media (max-width: 575.98px) {

    body {
        padding-top: 80px;
    }

    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 100%;
        right: -250px;
        width: 250px;
        padding-right: 0;
        padding-left: 0;
        border-left: 1px solid #000;
        overflow-y: auto;
        visibility: hidden;
        background-color: #f2ece8;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: right, visibility;
    }

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

    .navbar {
        height: 60px;
    }

    .navbar-nav:first-child {
        margin-top: 60px;
    }

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

    .navbar-nav:last-child {
        margin-bottom: 30px;
    }
}

/* 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: 0px;
    right: 10px;
    z-index: 1080;
    padding: 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-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: #000;
    /* 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: #000;
}

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

.navbar-light {
    background: #FFF;
    border-bottom: 1px solid #000;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Dropdowns */
#dropdown_1 span,
#dropdown_2 span {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    padding: 0 15px;
    margin-left: 15px;
    border: 1px solid #000;
    background: #FFF;
}

.dropdown-menu {
    min-width: 150px;
    padding: 0;
    margin: 0;
    margin-top: 0px !important;
    font-size: 16px;
    color: #000;
    text-align: left;
    list-style: none;
    background-color: #f2ece8;
    border: 0;
    border-radius: 0;
}

#dropdown_2 .dropdown-menu {
    right: 0;
}

@media (max-width: 575.98px) {
    .open-on-mobile {
        display: block !important;
    }
}

/* Caret */
.dropdown-toggle:after {
    content: none;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 4px 30px 4px 15px;
    clear: both;
    font-weight: 400;
    color: #000;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border-bottom: 1px solid #000;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
    color: #000;
    background-color: #FFF;
}

.dropdown-item.active {
    color: #000;
    font-weight: 700;
    background-color: #f2ece8;
}

/* Services */
.instagram span,
.facebook span {
    display: block;
    width: 25px;
    height: 25px;
    background: url(../images/icon-instagram.svg);
    text-indent: -9999px;
    margin: 0 5px;
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.image-container {
    position: relative;
}

@media (max-width: 575px) {
    .section-multimood.px-section,
    .image-container {
        padding: 0;
    }
}

.title {
    position: absolute;
    width: 40%;
    height: auto;
    opacity: 0;
    animation: slideUp 1s;
    animation-delay: 1s;
    animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 500ms forwards;
}

@keyframes slideUp {
    0% { transform: translateY(20px); opacity: 0 }
    100% { transform: translateY(0); opacity: 1  }
  }

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.px-section {
    padding-left: 10px;
    padding-right: 10px;
}
/*
.section-multimood.px-section {
    padding: 0;
}
*/
.unit {
    margin-top: 25px;
    margin-bottom: 25px;
}

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

.booking {
    position: fixed;
    left: 1px;
    top: 68px;
    z-index: 1000;
}

.booking a {
    padding: 10px 10px;
    background: #FFF;
    font-family: 'Lora', serif;
    font-size: 18px;
    border: 1px solid #000;
    text-decoration: none;
}

.booking a:hover {
    background: #000;
    color: #FFF;
}

@media (min-width:480px) {
    .booking {
        top: 28px;
        right: 8px;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        transform-origin: bottom right;
    }
}

/* Teaser */
.hovereffect {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: default;
    background: rgba(0, 0, 0, 1);
}

.hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    -ms-flex-direction: column;
    flex-direction: column;
}

.hovereffect img {
    display: block;
    position: relative;
    -transition: opacity 0.35s, -webkit-transform 0.35s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    margin-bottom: 0;
    opacity: 0.75; /* hover layer only 25% opacity on touch devices */
    filter: alpha(opacity=75);
}

.hovereffect .overlay h2 {
    position: relative;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-size: calc( 24px + (32 - 24) * (100vw - 320px)/(1440 - 320));
    font-weight: 400;
    line-height: 1.4;
    color: #FFF;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

/* Styles for hover-able devices (https://css-irl.info/detecting-hover-capable-devices) 
@media (hover: hover) {

    .hovereffect img {
        opacity: 1;
        filter: alpha(opacity=1);
    }

    .hovereffect:hover img {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

    .hovereffect .overlay h2 {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .hovereffect:hover h2 {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    }
}*/

/* Adding this to our media query successfully detects touch input on Android devices: */
@media (hover: hover) and (pointer: fine) {
    .hovereffect img {
        opacity: 1;
        filter: alpha(opacity=1);
    }

    .hovereffect:hover img {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

    .hovereffect .overlay h2 {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .hovereffect:hover h2 {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, -webkit-transform 0.35s;
    }
}

.teaser-container {
    margin-bottom: -22px
}

.teaser {
    padding-bottom: 30px;
}

.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%;
    margin-top: 5px;
}

/* Hut Graphics */
.hut-graphic {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 30vw;
    height: auto;
    opacity: 0;
    animation: fadeIn 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

 @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.berghaus .hut-graphic {
    width: 45vw;
}

.ischboden .hut-graphic {
    bottom: -30px;
    width: 30vw;
}

.schneit .hut-graphic {
    width: 40vw;
}

.kirschbaum .hut-graphic,
.grindelwald .hut-graphic {
    bottom: -30px;
    width: 20vw;
}

.ischboden .hut-graphic span {
    display: block;
    background: url(../images/Animatin_Ischboden_Finale@x3.gif) no-repeat;
    height: 333px;
    background-size: 100%;
    background-position: bottom;
}

.schneit .hut-graphic span {
    display: block;
    background: url(../images/Animation_AlpSchneit_Finale@x2.gif) no-repeat;
    height: 333px;
    background-size: 100%;
    background-position: bottom;
}

.kirschbaum .hut-graphic span {
    display: block;
    background: url(../images/Animation_Kirschbaumhuette_Finale@x2.gif) no-repeat;
    height: 333px;
    background-size: 100%;
    background-position: bottom;
}

.weidhaus .hut-graphic span {
    display: block;
    background: url(../images/Animation_Weidhaus_Finale@x2.gif) no-repeat;
    height: 333px;
    background-size: 100%;
    background-position: bottom;
}

.wasserfall .hut-graphic span {
    display: block;
    background: url(../images/Animatino_Wasserfall_Finale@x2.gif) no-repeat;
    height: 333px;
    background-size: 100%;
    background-position: bottom;
}

.grindelwald .hut-graphic span {
    display: block;
    background: url(../images/Animation_AlphuetteGrindelwald_Finale@x2.gif) no-repeat;
    height: 333px;
    background-size: 100%;
    background-position: bottom;
}

.berghaus .hut-graphic span {
    display: block;
    background: url(../images/Animation_Waldhaus_Finale@x2.gif) no-repeat;
    height: 333px;
    background-size: 100%;
    background-position: bottom;
}

/* Owl Carousel */
.owl-carousel {
    position: relative;
}

.owl-carousel .owl-nav  {
    position: absolute;
    top: calc(50% - 19px);
    width: 100%;
    height: 19px;
}

.owl-carousel .owl-prev {
  position: absolute;
  left: 10px;
}

.owl-carousel .owl-next {
    position: absolute;
    right: -10px;
}

.owl-carousel .owl-prev:hover {
    margin-left: -10px;
}

.owl-carousel .owl-next:hover {
    margin-right: -10px;
}

.owl-carousel .owl-prev span,
.owl-carousel .owl-next span {
    content: " ";
    display: block;
    width: 22px;
    height: 37px;
    padding: 20px;
    background-image: url(../images/rwd.svg);
    background-repeat: no-repeat;
    background-size: 50% 50%;
    text-indent: -9999px;
}

.owl-carousel .owl-next span {
    background-image: url(../images/fwd.svg);
}

.calendar-container {
    max-width: 1205px;
}

.calendar-legend span {
    display:  inline-block;
    margin-right: 20px;
    line-height: 20px;
}

.calendar-legend span.available:before,
.calendar-legend span.booked:before,
.calendar-legend span.switch:before {
    content: '';
    display:  inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #649b7d;
}

.calendar-legend span.booked:before {
    background-color: #5D1511;
}

.calendar-legend span.switch:before {
    background-color: #5D1511;
    background-image: -webkit-linear-gradient(-45deg, #649b7d 50%, #5D1511 50%);
}

.calendar-mobile {
    display: block;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 50%;
    height: 0;
    border: 1px solid #000;
}

.map-responsive div:nth-child(1) {
    position: absolute;
}

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

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

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

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

input[type="date"] {
    width: 100% !important;
}

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

.text-red {
    color: #d44f4c;
    margin-top: 5px;   
}

.bg-red {
    color: #d44f4c;
    font-weight: 700;
    background: #f7dada;
    border-top: 1px solid #f7dada;
    border-bottom: 1px solid #f7dada;
    margin-bottom: 20px;
}

.bg-green {
    color: #438633;
    font-weight: 700;
    background: #c5ecbf;
    border-top: 1px solid #c5ecbf;
    border-bottom: 1px solid #c5ecbf;
    margin-bottom: 20px;
}

input.hidden {
    display: none;
}

.form-send {
    color: #000;
    padding: 10px 20px;
    background: #FFF;
    font-weight: 700;
    font-size: 21px;
    border: 1px solid #000;
    text-decoration: none;
}

.form-send:hover,
.form-send:focus,
.form-send.active {
    background: #000;
    color: #FFF;
}

/*
.text-muted {
  color: #000 !important;
}

.help-block {
    margin: 0;
}

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

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

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

.alert {
    margin-top: 40px;
}

.messages {
    background: #FFF;
    color: #000;
    margin-top: 40px;
}
*/
/* ==========================================================================
   FOOTER
   ========================================================================== */
.section-footer {
    margin-top: 30px;
    border-top: 1px solid #000;
    font-size: 16px;
}

.fn {
    display: block;
}

.email,
.tel {
    display: inline-block;
}

.email:after {
    content: ',';
}
/* ==========================================================================
   SELECTION
   ========================================================================== */
::-moz-selection {
    text-shadow: none;
    background: #000;
    color: #FFF;
}

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

img::selection {
    background: 0 0;
}

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