/*  Author:   Martin Stettler (https://dieweberei.ch/)
    Version:  10/13/2020 // BS v4.5.3
*/

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

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

@font-face{
        font-family:"DIN Next LT W01 Regular";
        src:url("../fonts/6b4d4830-9c7d-43d2-b5d3-c73f739561b9.woff2") format("woff2"),
        url("../fonts/ccf25ada-6d2a-4133-95dc-deb039e22999.woff") format("woff");
    }
@font-face{
        font-family:"DIN Next LT W01 Medium";
        src:url("../fonts/afabdfcf-432c-49b4-a496-0e5051e87fa9.woff2") format("woff2"),
        url("../fonts/611ea865-db7e-4c05-94b8-bd1675c90576.woff") format("woff");
    }
@font-face{
        font-family:"DIN Next LT W01 Bold";
        src:url("../fonts/03008527-67bd-478e-98e3-3b56dd9a6520.woff2") format("woff2"),
        url("../fonts/557f817d-9c25-4a23-baaf-a3cf84a7cd7c.woff") format("woff");
    }

/* 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: "DIN Next LT W01 Medium", Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.3;
    color: #333;
    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: 25px;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-weight: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto;
}

.layout-services h1 {
    font-size: 33px;
    padding: 10px 0;
    margin-bottom: 50px;
}

.layout-home h1 {
    padding: 40px 10px;
    font-size: 19px;
    font-family: "DIN Next LT W01 Medium", Arial, sans-serif; 
    font-weight: normal;    
}

.layout-home h1 strong {
    display: block;
    font-size: 33px;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-weight: normal;
    margin-top: 20px;
}

h2 {
    font-size: 26px;
}

.layout-services h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.bg-red h2 {
    margin-bottom: 0;
}

h3 {
    font-size: 23px;
}

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

.lead p {
  font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
  font-size: 23px;
  font-weight: normal;
  color: #283583;
}

.bg-blue p,
.bg-blue ul {
    font-size: 23px;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-weight: normal;
}

.bg-red p,
.bg-red ul {
    font-size: 23px;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-weight: normal;
}

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

.main li:before {
    display: inline-block;
    content: "–";
    margin-right: 12px;
}

.bg-red li:first-child:before,
.bg-red li:last-child:before{
    content: "";
    margin-right: 0;
}

b,
strong {
    font-weight: normal;
}

br {
    line-height: 1.5;
}

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

a {
   color: #333; 
}

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

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

.link-element a {
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    color: #c6452c;
}

.link-element a:hover {
    color: #333;
}

.link-element a:before {
    display: inline-block;
    width: 17px;
    height: 14px;
    content: url(../img/arrow-right.svg);
    margin-right: 10px;
}

.link-element a:hover:before {
    content: url(../img/arrow-right-black.svg);
}

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

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

/* Smooth animations */
a,
a:hover,
.link-element a:before,
.link-element a:hover:before {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    padding-top: 15px;
    padding-left: 15px;
}

.logo {
    width: 180px;
    height: auto;
}

.logo span {
    content: url(../img/logo-stucki.svg);
}

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

/* ==========================================================================
   FULLSCREEN OVERLAY NAVIGATION (https://codepen.io/KingKabir/pen/QyPwgG)
   ========================================================================== */

.button_container {
    position: fixed;
    top: 25px;
    right: 15px;
    height: 23px;
    width: 40px;
    cursor: pointer;
    transition: opacity .25s ease;
    z-index: 1081;
}

.button_container:hover {
    opacity: .7;
}

.button_container.active .top {
    transform: translateY(10px) translateX(0) rotate(45deg);
    background: #FFF;
}

.button_container.active .bottom {
    transform: translateY(-10px) translateX(0) rotate(-45deg);
    background: #FFF;
}

.button_container span {
    background: #222;
    border: none;
    height: 4px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 19px;
}

.overlay {
    position: fixed;
    background: #283583;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 1080;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .50s;
}

.overlay.open div.nav-icons {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .55s;
}

.overlay nav {
    position: absolute;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    font-size: calc(35px + (60 - 35) * (100vw - 320px)/(1440 - 320));
    line-height: 1.4;
    text-align: left;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}

.overlay ul li {
    display: block;    
    position: relative;
    white-space: nowrap;
    opacity: 0;
}

.overlay ul li a {
    display: inline-block;
    position: relative;
    color: #FFF;
    text-decoration: none;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
}

.overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;    
    height: 3px;
    background: #FFF;
    transition: .35s;
}

.nav-logo span {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 60px;
    content: url(../img/logo-stucki-white.svg);
}

.nav-icons {
    position: relative;
    margin-top: 4vw;
    opacity: 0;
}

.nav-icons span {
    display: inline-block;
    margin-right: 30px;
}

.nav-icon-phone {    
    width: 45px;
    height: 50px;
    content: url(../img/icon-phone-white.svg);
}

.nav-icon-email {    
    width: 48px;
    height: 32px;
    content: url(../img/icon-mail-white.svg);
    margin-bottom: 12px;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.main {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 576px) {
    .main {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.p-extra {
    padding-top: 20px;
    padding-bottom: 60px;
}

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

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

.bg-blue {
    background-color: #283583;
}

.bg-red {
    background-color: #b70e0c;
}

.heading-container {
   margin-top: -40px;
   border-left: 15px solid #fff;
   border-right: 15px solid #fff;
}

.border-15 {
    border-left: 15px solid #fff;
    border-right: 15px solid #fff;
}

.icon-box {
    width: 225px;
    height: auto;
}

.content-icons span {
    display: inline-block;
    margin-right: 30px;
}

.icon-phone24 {    
    width: 55px;
    height: 54px;
    content: url(../img/icon-phone24-white.svg);
}

.icon-truck {    
    width: 56px;
    height: 38px;
    content: url(../img/icon-truck-white.svg);
    margin-bottom: 8px;
}

.icon-tools {    
    width: 47px;
    height: 47px;
    content: url(../img/icon-tools-white.svg);
    margin-bottom: 3px;
}

/* Owl Carousel */
button:focus {
    outline: none;
}


.owl-carousel {
    position: relative;
    margin:  0; }

.owl-carousel:hover .owl-prev span,
.owl-carousel:hover .owl-next span {
    opacity: 1;
}

.owl-carousel img {
    margin: 0;
}

.owl-nav {
    position: absolute;
    width: 100%;
    height: 37px;
}

.owl-prev {
    position: absolute;
    left: 0;
    margin-left: 15px;
}

.owl-next {
    position: absolute;
    right: 0;
    margin-right: 15px;
}

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

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

.owl-prev,
.owl-prev:hover,
.owl-next,
.owl-next:hover {
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s;
}

.owl-prev span,
.owl-next span {
    content: " ";
    display: block;
    opacity: 0;
    width: 66px;
    height: 12px;
    padding: 12px;
    background-image: url(../img/rwd.svg);
    background-repeat: no-repeat;
    background-size: 66px 30px;
    background-position: center center;
    text-indent: -9999px;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s;
}

.owl-next span {
    background-image: url(../img/fwd.svg);
    background-repeat: no-repeat;
}


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

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

.footer {
    background-color: #ccc;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-weight: normal;
    color: #283583;
    padding-top: 40px;
    padding-bottom: 20px;
}

.footer p,
.footer ul {
    font-size: 18px;
}

.footer a {
    color: #283583;
}

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

@media (min-width: 576px) {
    .vcard div>span:first-child:after {
        display: inline-block;
        content: "·";
        margin-left: 10px;
        margin-right: 10px;
    }
}

.vcard .street-address,
.vcard .tel {
    display: block;
}

@media (min-width: 576px) {
    .vcard .street-address,
    .vcard .tel {
        display: inline-block;
    }
}

.vcard .phone {
    margin-bottom: 30px;
}

.vcard .email {
    font-size: 18px;
}

.footer-logo {
    width: 59px;
    height: 83px;
    margin-bottom: 30px;
}

.service-items li,
.service-links li {
    font-size: 18px;
    display: inline-block;
}

.service-items li:after,
.service-links li:after {
    display: inline-block;
    content: "/";
    margin-left: 6px;
    margin-right: 4px;
}

.service-items li:last-child:after,
.service-links li:last-child:after {
    display: none;
}

.service-links a,
.service-links li:after {
    color: #999;
}

.service-links a:hover {
    color: #283583;
}

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

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

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

img::selection {
    background: 0 0;
}

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

body {
    webkit-tap-highlight-color: #283583;
}

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