/*  Author:   Martin Stettler (https://www.dieweberei.ch/)
    Version:  05/04/2021 // based on Bootstrap v5.0.1
*/

/* ==========================================================================
   DEV STYLES
   ========================================================================== */


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

/* Bootstrap CSS */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #484848;
    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 {
    margin-top: 0;
    margin-bottom: 8px; }

h1,
h2 {
    font-size: 60px;
    font-size: calc( 28px + (60 - 28) * (100vw - 320px)/(1440 - 320));
    color: #c5ab8f;
    margin-bottom: 0; }


h3 {
    font-size: 20px;
    color: #c5ab8f;
    font-weight: 700;
}

h3+ul {
    margin-top: -5px;
}

.img-container h3 {
    margin-bottom: 10px;
}

p {
    margin-top: 0;
    margin-bottom: 25px; }

.slogan p {
    font-size: 36px;
    font-size: calc( 20px + (36 - 20) * (100vw - 320px)/(1440 - 320));
    color: #c5ab8f;
    line-height: 1.25;
}

p.link-element  {
    padding-left: 20px;
}

b,
strong {
    font-weight: bold; }

br {
    line-height: 1.5;
}

ul {
    margin-top: 0;
    margin-bottom: 25px; }

.main ul {
    padding: 0;
    list-style: none;
}

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

.main li:before,
.link-element a:before {
    position: relative;
    display: block;
    top: 0;
    left: -20px;
    height: 0;
    content: ">";
    color: #c5ab8f !important;
    margin-bottom: 1px; }

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

.unit img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 25px; }

.unit img:last-child {
    margin-bottom: 0 }

a:focus,
button:focus {
    outline: none; }

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

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

.bg-dark a,
.bg-dark a[href^="tel"] {
    color: #000;
}

.bg-dark a:hover {
    color: #c5ab8f;
    text-decoration: none;
}

.link-element a {
    text-decoration: none;
}

.bg-dark .link-element a:before {
    color: #000;
}

.bg-dark .link-element a:hover:before {
    color: #c5ab8f;
}

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

/* File icon */
.main a[href$=".pdf"],
.main a[href$=".doc"],
.main a[href$=".docx"],
.main a[href$=".xls"],
.main a[href$=".xlsx"] {
    color: #c5ab8f;
}

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

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


/* Smooth animations */
a,
a:hover,
.navbar-brand .logo-img,
.navbar-brand.shrink .logo-img,
.logo-title {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
        transition: all 0.5s; }

:focus {
    outline: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}
/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: relative;
    width: 100% !important;
    z-index: 10; }

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

.logo-img {
    display: block;
    width: 120px;
    height: 60px;
    background: url(../img/logo-schreinerei-lauener.svg) no-repeat;
    background-size: 100% 100%;
    text-indent: -9999px;
}

.navbar-brand.shrink .logo-img {
    transform: translateY(-300px);
    height: 0;
}

.logo-title {
    display: block;
    width: 122px;
    height: 25px;
    background: url(../img/logo-schreinerei-lauener-text.svg) no-repeat;
    background-size: 100% 100%;
    text-indent: -9999px;
    margin-top: 7px;
    margin-left: 3px;
}

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

/* Offcanvas menu
-------------------------------------------------- */
html,
body {
    overflow-x: hidden; } /* Prevent scroll on narrow devices */

body {
    padding-top: 128px; }

@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 100%; /* left for collapse-left */
        right: -250px; /* left for collapse-left */
        width: 250px;
        padding-right: 0;
        padding-left: 0;
        border-left: 6px solid #c5ab8f;
        overflow-y: auto;
        visibility: hidden;
        background-color: rgba(255, 255, 255, 0.9);
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: right, visibility; } /* left for collapse-left */

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

    .navbar-nav {
        margin-top: 60px;
        padding-left: 15px; }

    .navbar-toggler {
        position: fixed;
        top: 20px;
        right: 18px;
    }
}

/* Hamburger
-------------------------------------------------- */
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    z-index: 1080;
    padding: 0; /* 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: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: #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); }


/* Bootstrap CSS */

.navbar {
  border-top: 6px solid #c5ab8f;
}

.navbar.shrink {
    border-bottom: 1px solid #c5ab8f;
}

.navbar-brand {
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 15px;
    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); }

.nav-link {
  display: block;
  padding: 5px 20px; }

.navbar-light .navbar-nav .nav-link {
    color: #484848; }

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: #c5ab8f; }

.navbar-light .navbar-nav .nav-link.disabled {
    color: rgba(0, 0, 0, 0.3); }

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color: #c5ab8f; }

.navbar-light .navbar-toggler {
    color: transparent;
    border: 0; }

.bg-light {
    background-color: rgba(255, 255, 255, 0.9) !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 {
    text-align: left;
    font-weight: 700;
    font-size: 20px;
    padding-right: 10px;
    padding-left: 10px; }

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

.anchor {
    display: block;
    height: 55px; /* OPL adjust */
    margin-top: -55px; /* OPL adjust */
    visibility: hidden; }

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
section {
    position: relative;
    padding-top:  20px;
    padding-bottom: 20px;
}

.bg-dark {
    background-color: rgba(197, 171, 143, 0.2) !important;
}

.main * {
    z-index: 5;
}

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

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

.img-container,
.fb-image-container {
    margin-bottom: 40px;
}

.img-container:last-child,
.fb-image-container:last-child {
    margin-bottom: 0;
}

.tree-rings-1 span,
.tree-rings-2 span,
.tree-rings-3 span {
    position: absolute;
    display: block;
    background: url(../img/tree-rings.svg) no-repeat;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    opacity: 0.2;
    z-index: 0;
}

@media (min-width: 768px) {
    .tree-rings-1 span {
        top: -85%;
        right: -45%;
    }
}

.tree-rings-2 span {
    top: -25%;
    right: -40%;
}

.tree-rings-3 span {
    top: -60%;
    left: -40%;
}

/* Fancybox */
.fancybox-caption__body {
    font-family: Raleway, sans-serif;
    font-size: 16px; }

.fb-image-container {
    position: relative; }

.fb-image-container div {
    overflow: hidden; }

.fb-image-container img {
    max-width: 100%;
    height: auto; }

.fb-image-container:hover img {
    transform: scale(1.1); }

.fb-image-container img,
.fb-image-container:hover img {
    -webkit-transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1);
    transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1); }

.fb-zoom-indicator {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 5px;
    width: 24px;
    height: 24px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: 12px 12px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url(../img/fb-zoom-white.svg);
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1);
    transition: all 0.3s cubic-bezier(0.05, 0.8, 0.5, 1); }

.fb-image-container:hover .fb-zoom-indicator {
    opacity: 1;
    transform: scale(1); }

.address {
    margin-bottom: 40px;
}
/* Google map */
#map {
    border: 1px solid #FFF;
    width: 100%;
    padding-top: 66.66%; 
}

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

.help-block {
    margin: 0; }

#contact-form div {
    margin-bottom: 8px; }

#contact-form .form-group input,
#contact-form .form-group textarea {
    width: 100%;
    font-size: 16px;
    padding: 5px 5px; 
    height: auto;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    font-weight: normal;
    color: #000;}

label {
    font-size: 16px;
    font-weight: normal;
    padding-top: 5px;
    padding-left: 0px; }

.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 #F00 !important;
    margin-bottom: 10px; }

.has-error .help-block {
  color: #ed2939; }

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

.form-send {
    display: inline-block;
    border-color: transparent;
    background-color: #c5ab8f;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 15px;
    color: #fff;
    border-radius: 0;
    border: 0;
    margin-top: 20px;
    -webkit-transition: background linear 300ms; }

.form-send:hover,
.form-send:focus,
.form-send.active {
    border-color: transparent;
    background-color: #000;
    color: #FFF;
    -webkit-transition: background linear 300ms; }

.messages {
    background: #FFF;
    color: #000; }

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

footer {
    background-color: #484848; 
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.footer a{
    color: #fff;
    text-decoration: none;
}

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

.vcard .email,
.vcard .tel {
    display: block;
}

.service-links ul {
    padding-top: 20px;
}

.service-links li{
    display: inline-block;
}

.service-links li:after{
    display: inline-block; 
    content: "|"; 
    margin-left: 10px;
    margin-right: 6px;  
}

.service-links li:last-child:after{
    content: "";  
}

.facebook span {
    display: inline-block;    
    width: 42px;
    height: 42px;
    background: url(../img/facebook-brown.svg) no-repeat;
}

.facebook:hover span {
    background: url(../img/facebook-beige.svg) no-repeat;
}

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