/*------------------------------------*\
  Colors
\*------------------------------------*/

.gray {
  color: hsl(0, 0%, 50%);}
.bg-gray {
  background-color: hsl(0, 0%, 50%);}
.border-gray {
  border-color: hsl(0, 0%, 50%);}

.olive {
  color: hsl(61, 52%, 40%);}
.bg-olive {
  background-color: hsl(61, 52%, 40%);}
.border-olive {
  border-color: hsl(61, 52%, 40%);}

.red {
  color: hsl(358, 100%, 50%);}
.bg-red {
  background-color: hsl(358, 100%, 50%);}
.border-red {
  border-color: hsl(358, 100%, 50%);}


/*------------------------------------*\
 Typography
\*------------------------------------*/

html {
  font-size: 18px; /* root font for rem calculations */
}

body {
  font-family: "Arial", sans-serif;
  font-size: 1rem; /* base size now uses rem (1rem = 18px) */
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: #e3e2e2;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img, picture, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: hsl(61, 52%, 40%);
  text-decoration: none;}

a:hover,
a:active {
  color: hsl(358, 100%, 50%);
  text-decoration: none;}

.regular {
  font-weight: 400;}

.semi {
  font-weight: 600;}

  /*------------------------------------*\
    BassCss overrides
  \*------------------------------------*/

  .h100 {
    height: 100vh;}

  .w100 {
    width: 100%;}

  .z5 {
    z-index: 5;}

  .z998 {
    z-index: 998;}

  .z999 {
    z-index: 999;}
  .justify-end {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;}

  .mb4 {
    margin-bottom: 64px !important;
    margin-bottom: 4rem !important;}


/*
    body {
        overflow: hidden;
    } */


    /*------------------------------------*\
      Preloader
    \*------------------------------------*/


    #preloader {
        position:fixed;
        top:0;
        left:0;
        right:0;
        bottom:0;
        background-color:#fff; /* change if the mask should have another color then white */
        z-index:99; /* makes sure it stays on top */
    }

    /*#status {
        width:200px;
        height:200px;
        position:absolute;
        left:50%; /* centers the loading animation horizontally one the screen
        top:50%; /* centers the loading animation vertically one the screen
        background-image:url('../images/status.gif'); /* path to your loading animation
        background-repeat:no-repeat;
        background-position:center;
        margin:-100px 0 0 -100px; /* is width and height divided by two
    }
    */


/*------------------------------------*\
  General Classes
\*------------------------------------*/

.bg-image {
  background-image: url('../images/background_big.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto; /* don't scale by default */
}

/* If viewport is wider than the image (adjust threshold if needed), scale to cover */
@media (min-width: 1200px) {
  .bg-image {
    background-size: cover;
  }
}

.header {
  margin-top: 0px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.md-header {
  margin-top: 30px;
  height: 96px;}

nav {
  width: 100%;
  max-width: 30rem;
}

.md-nav {
  z-index: 99999;
  list-style: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  margin-top: 79px;}
.md-nav li:hover, .md-nav li:active, .md-nav li:focus {
  background-color: hsl(61, 52%, 40%);
  cursor: pointer;}

.md-nav li:hover a, .md-nav li:active a, .md-nav li:focus a {
  color: white;}

/* Make the entire mobile nav row clickable: anchors fill their list items */
.md-nav li a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

.menu-open {
  margin-top: 30px;}

.logo {
  width: 100%;
  max-width: 250px;
  float: left;
  top: 0;
  margin-top: 56px;
  margin-left: 0; /* avoid overlapping content */
  z-index: 11;
  position: relative; /* override .absolute from basscss to avoid overlap */
}

.md-logo {
  width: 100%;
  max-width: 200px;
  float: left;
  top: 0;
  margin-top: 20px;
}

/* Ensure logo images keep their intrinsic size on small screens */
@media (max-width:40em) {
  .md-logo img,
  .logo img {
    width: auto;
    max-width: none;
    height: auto;
    display: block;
  }
  /* make sure the desktop logo doesn't use absolute positioning on small screens */
  .logo {
    position: relative;
    margin-left: 0;
  }
}

#menu {
  width: 100%;
  max-width: 410px;
}

/* Desktop: keep navigation items on a single line (no wrap), left-aligned with logo */
@media (min-width:52em) {
  /* header is already left-aligned by base styles */
  header.md-show {
    padding-left: 0;
    padding-right: 0;
  }
  /* logo: same size and margin as mobile */
  .logo {
    max-width: 250px;
    margin-top: 56px;
    margin-bottom: 0.5rem;
    left: 0;
    float: none;
    display: block;
  }
  /* nav container: display block left-aligned, padding matches logo */
  #menu {
    width: 100%;
    max-width: none;
    padding-left: 1rem;
    text-align: left;
    display: block;
  }
  #menu ul {
    -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
    white-space: nowrap;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
  }
  #menu ul li {
    display: inline-block;
  }
  #menu ul li a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Logo consistency across all non-mobile breakpoints */
@media (min-width: 596px) {
  /* keep logo same size and orientation as 52em breakpoint */
  .logo {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 250px;
    margin-top: 56px;
    margin-bottom: 0.5rem;
    margin-left: 0;
    z-index: 11;
  }
}

.reset-list {
  list-style: none;}

.transition {-webkit-transition: all 0.3s cubic-bezier(.25,.8,.25,1);transition: all 0.3s cubic-bezier(.25,.8,.25,1);}

.kontakt {
    margin-left: 0;
    padding-left: 1rem;
}

.kontakt img {
    border: 1px solid #CCC !important;
    max-width: 570px;
    width: 100%;
    height: auto;
}

/* Gallery new */

.lSSlideOuter.vertical {
  margin-left: 0;
  padding-left: 1rem;
}

ul#vertical {
    max-width: 572px;
}

.lSSlideOuter.vertical .lightSlider > * {
  width: auto !important;
}

.lSSlideOuter.vertical .lSGallery {
  margin-left: 8px !important;
  width: 149px !important;
  height: 392px !important;
  -webkit-transition-duration: 400ms;
          transition-duration: 400ms;
  -webkit-transform: translate3d(0px, 0px, 0px);
          transform: translate3d(0px, 0px, 0px);
  position: absolute !important;
  top: 0 !important;
  left: 570px !important;
  -webkit-column-count: 2 !important;
     -moz-column-count: 2 !important;
          column-count: 2 !important;
  -webkit-column-fill: auto !important;
     -moz-column-fill: auto !important;
          column-fill: auto !important;
  -webkit-column-gap: 5px !important;
     -moz-column-gap: 5px !important;
          column-gap: 5px !important;}


.lSSlideOuter.vertical .lSGallery > section {
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;}

  .lSSlideOuter .lSPager.lSGallery li,
  .lSSlideOuter .lSPager.lSGallery li {
    opacity: .6;}

.lSSlideOuter .lSPager.lSGallery li.active,
.lSSlideOuter .lSPager.lSGallery li:hover {
  border-radius: 0 !important;
  opacity: 1;}

.lslide img {
  border: 1px solid #CCC !important;}

.lSPager.lSGallery li {
  border: 1px solid #CCC !important;
  margin-bottom: 2px !important;
  height: 44px !important;}

.lSSlideOuter .lSPager.lSGallery img {
  display: inline-block !important;}

/* gallery navigation */
.lSAction {
  width: 572px !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;}

.lSAction > a {
  background-image: none !important;
  opacity: 0 !important;}

.lSAction > a:hover {
  opacity: 1 !important;}

.lSSlideOuter.vertical .lSAction > .lSPrev {
    position: absolute !important;
    background-image: url(../images/left-arrow.png) !important;
    background-position: 5% !important;
    background-repeat: no-repeat !important;
    bottom: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 50% !important;
    margin: auto auto !important;
    left: 0 !important;
    z-index: 997;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;}

.lSSlideOuter.vertical .lSAction > .lSNext {
  position: absolute !important;
  background-image: url(../images/right-arrow.png) !important;
  background-position: 95% !important;
  background-repeat: no-repeat !important;
  bottom: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: 50% !important;
  margin: auto auto !important;
  right: 0 !important;
  z-index: 997;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;}


/*------------------------------------*\
  Responsive
\*------------------------------------*/

@media (min-width:52em) {
  .info {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .lSSlideWrapper {
    min-height: 370px !important;
  }
}

/* For large screens, limit content width for better readability */
@media (min-width: 1200px) {
  .info,
  .kontakt {
    max-width: 820px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

@media (max-width:52em) {
  .fotorama.detalle {
    width: 100%;}

  .info {
    width: 90% !important;
    margin: auto;}

    .kontakt {
      margin-left: 0 !important;}

.kontakt .clearfix.ml1 {
  margin-left: 0 !important;}

  #wedesign {
    bottom: 0;
    position: absolute;
    padding-bottom: 1rem;}

/* Size of gallery on mobile */
/*
#glas-gallery .lSSlideOuter.vertical {
  height: 100% !important;
} */

  .lSSlideWrapper {
    width: 100%;
  }

  .lSSlideOuter.vertical {
          max-width: 572px !important;
          width: 88%;
          height: auto;
          position: relative;
          margin: 0 auto !important;
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          padding-bottom: 10rem !important;}

  .lSSlideOuter.vertical .lSGallery {
        margin-left: 0 !important;
        width: 99% !important;
        max-width: 99% !important;
        height: auto !important;
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
            -ms-flex-wrap: wrap !important;
                flex-wrap: wrap !important;
        -webkit-transition-duration: 400ms;
        transition-duration: 400ms;
        -webkit-transform: translate3d(0px, 0px, 0px);
        transform: translate3d(0px, 0px, 0px);
        position: absolute !important;
        left: 0 !important;
        margin: 70% auto 0 auto !important;
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-fill: auto;
        -moz-column-fill: auto;
        column-fill: auto;
        -webkit-column-gap: 5px !important;
        -moz-column-gap: 5px !important;
        column-gap: 5px !important;
        padding-left: 1rem !important;
  }

  /* make prev/next areas fill half of slider on small screens */
  .lSSlideOuter .lSAction {
    width: 100% !important;
  }
  .lSSlideOuter .lSAction > .lSPrev,
  .lSSlideOuter .lSAction > .lSNext {
    position: absolute !important;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    z-index: 997;
  }
  .lSSlideOuter .lSAction > .lSPrev {
    left: 0;
    background-image: url(../images/left-arrow.png) !important;
    background-position: 5% !important;
    background-repeat: no-repeat !important;
  }
  .lSSlideOuter .lSAction > .lSNext {
    right: 0;
    background-image: url(../images/right-arrow.png) !important;
    background-position: 95% !important;
    background-repeat: no-repeat !important;
  }
/* Size of thumbnails */
     .lSPager.lSGallery li {
        border: 1px solid #CCC !important;
        margin-bottom: 2px !important;
        height: 11.45% !important;
        width: 68px !important;
        height: 45px !important;
        margin-right: 2px;}

    /* Size of nav buttons */
    .lSAction {
        width: auto !important;
    }

}

@media(max-width:40em) {

.ml3 {
  margin-left: 0;}

  .sm-ml4 {
    margin-left: 4rem;}

.fotorama__wrap {
    min-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

.fotorama__img {
  width: 100% !important;
  height: auto !important;
  left: 0 !important;
}
  .fotorama__caption {
    font-size: 0.7778rem; /* ~14px relative to 18px root */
  }

}
