@bgColor:                       #FFFFFF;
@primaryColor:                  #E57716;

@headerBGColor:                 #FFFFFF;
@headerSVGColor:                #999999;
@headerSVGHoverColor:           #000000;
@headerLinkColor:               #AAAAAA;
@headerLinkHoverColor:          #000000;
@headerLinkFontWeight:          400;
@headerSubLinkFontWeight:       300;
@headerLinkFontSize:            14px;
@headerSubLinkFontSize:         13px;
@headerMegaTitleColor:          #000000;
@headerMegaTitleSize:           21px;

@asideMegaTitleSize:            18px;
@asideLinkSize:                 15px;
@asideSubLinkSize:              14px;

@footerSVGBGColor:              rgba(0,0,0,0.16);
@footerBottomBorderColor:       rgba(0,0,0,0.06);
@footerColor:                   #000000;
@footerCopyrightColor:          #aaaaaa;
@footerAHoverColor:             #000000;

@footerCopyrightSize:           12px;
@footerCopyrightWeight:         300;
@footerWidgetPSize:             14px;
@footerWidgetPWeight:           300;
@footerWidgetTitleFont:         'Oswald';
@footerWidgetTitleSize:         32px;
@footerWidgetTitleWeight:       400;


@fontFamily:                    'Open Sans';
@contentPSize:                  16px;
@containerWidth:                1180px;

@topbarBGColor:                 #FFFFFF;
@topbarColor:                   #003270;
@topbarHoverColor:              #000000;.boxShadow(@a){
    box-shadow: @a;
    -o-box-shadow: @a;
    -moz-box-shadow: @a;
    -webkit-box-shadow: @a;
    -ms-box-shadow: @a;
}
.borderRadius(@a){
    border-radius: @a;
    -o-border-radius: @a;
    -moz-border-radius: @a;
    -webkit-border-radius: @a;
    -ms-border-radius: @a;
}
.transform(@a){
    transform: @a;
    -o-transform: @a;
    -moz-transform: @a;
    -webkit-transform: @a;
    -ms-transform: @a;
}
.transition(@a){
    transition: @a;
    -o-transition: @a;
    -moz-transition: @a;
    -webkit-transition: @a;
    -ms-transition: @a;
}
.filter(@a){
    filter: @a;
    -moz-filter: @a;
    -webkit-filter: @a;
    -ms-filter: @a;
    -o-filter: @a;
}@mobile: ~"only screen and (min-device-width : 1px) and (max-device-width : 767px)";
@tablet: ~"only screen and (min-device-width : 768px) and (max-device-width : 1223px)";
@pc: ~"only screen  and (min-width : 1224px)";
* {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-touch-callout: none;
  }
  *:focus,
  *:active {
    outline: none;
  }
  *::after,
  *::before,
  *:after,
  *:before {
    box-sizing: border-box;
  }

html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: @fontFamily;
  background-color: @bgColor;
  overflow-y: scroll;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
  &.noscroll{
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: none !important;
  }
}

container, .container{
  position: relative;
  display: block;
  width: 100%;
  max-width: @containerWidth;
  margin: 0 auto;
}
.anim{
  .transition(~"all 0.3s ease-in-out");
}
input, button, select, textarea{
  background-image: none;
  font-family: @fontFamily;
  font-size: 14px;
  font-weight: 300;
}
a{
  text-decoration: none;
  cursor: pointer;
}


.hidden{
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}.blocks{
    position: relative;
    display: block;
    letter-spacing: 0;
    font-size: 0;
    margin-top: 10px;
    &:before{
        content: "";
        background-color: #eee;
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 10px;
        background-image: url('../.theme/images/stahl1.jpg');
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .block{
        position: relative;
        display: inline-block;
        vertical-align: top;
        width: 25%;
        
        letter-spacing: normal;
        font-size: 16px;
        background-color: #333;
        padding-bottom: 19vw;

        @media @tablet{
            width: 50%;
            padding-bottom: 45vw;
        }
        @media @mobile{
            width: 100%;
            padding-bottom: 80vw;
        }
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        cursor: pointer;
        &:nth-child(1){
            background-image: url('../.theme/images/box1.jpg')
        }
        &:nth-child(2){
            background-image: url('../.theme/images/box2.jpg')
        }
        &:nth-child(3){
            background-image: url('../.theme/images/box3.jpg')
        }
        &:nth-child(4){
            background-image: url('../.theme/images/box4.jpg')
        }
        &:nth-child(5){
            background-image: url('../.theme/images/box5.jpg')
        }
        &:before{
            position: absolute;
            display: block;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.46);
            content: "";
            z-index: 1;
        }
        h3{
            text-align: center;
            position: absolute;
            z-index: 3;
            left: 0;
            right: 0;
            top: 50%;
            .transform(~"translate(0,-50%)");
            display: block;
            color: #fff;
            font-family: "Oswald";
            text-transform: uppercase;
            font-size: 28px;
            font-weight: 500;
            text-shadow: 0 0 10px rgba(0,0,0,0.5);
            @media @tablet{
                font-size: 21px;
            }
            span{
                position: relative;
                display: block;
            }
        }
    }
}
content{
    position: relative;
    display: block;
    padding-top: 160px;
}
body {
    font-family: @fontFamily;
    background-color: @bgColor;
    overflow-y: scroll;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    &.noscroll{
      overflow-y: hidden !important;
      -webkit-overflow-scrolling: none !important;
    }
  }
  img{
      max-width: 100%;
      height: auto;
      border: 0;
  }
  .abs{
    position: relative;
    display: block;
    padding: 100px 0;
    background-color: #fff;
    
    @media @mobile{
        padding: 40px 0;
    }
}
.abs2{
    position: relative;
    display: block;
    padding: 100px 0;
    background-color: #f0f0f0;
    @media @mobile{
        padding: 40px 0;
    }
}
p{
    padding: 10px 20px;
    font-size: 16px;
    @media @mobile{
        font-size: 14px;
    }
    font-weight: 300;
    line-height: 1.68em;
    a{
        color: @primaryColor;
        text-decoration: none;
        cursor: pointer;
        &:hover{
            color: #000;
        }
    }
}
ul, ol{
    padding: 10px 40px;
    font-size: 16px;
    @media @mobile{
        font-size: 14px;
    }
    font-weight: 300;
    line-height: 1.68em;
}
hr{
    border: 0;
    height: 1px;
    background-color: #eee;
}
p.big{
    font-size: 18px;
    line-height: 1.68em;
    font-weight: 300;
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    padding: 10px 20px;
    @media @mobile{
        font-size: 16px;
        padding: 10px 30px;
    }
}
h1{
    font-family: "Oswald";
    font-size: 46px;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 300;
    padding: 10px 20px;
    @media @mobile{
        font-size: 42px;
    }
}
h2{
    font-family: "Oswald";
    font-size: 28px;
    line-height: 1.1em;
    font-weight: 300;
    padding: 10px 20px;
    color: @primaryColor;
    @media @mobile{
        font-size: 19px;
    }
}

.grid{
    position: relative;
    display: block;
    letter-spacing: 0;
    font-size: 0;
    .column{
        position: relative;
        display: inline-block;
        vertical-align: top;
        letter-spacing: normal;
        font-size: @contentPSize;
        
        @media @pc{
            &.hd-1{ width: ~"calc(100% / 12 * 1)"; }
            &.hd-2{ width: ~"calc(100% / 12 * 2)"; }
            &.hd-3{ width: ~"calc(100% / 12 * 3)"; }
            &.hd-4{ width: ~"calc(100% / 12 * 4)"; }
            &.hd-5{ width: ~"calc(100% / 12 * 5)"; }
            &.hd-6{ width: ~"calc(100% / 12 * 6)"; }
            &.hd-7{ width: ~"calc(100% / 12 * 7)"; }
            &.hd-8{ width: ~"calc(100% / 12 * 8)"; }
            &.hd-9{ width: ~"calc(100% / 12 * 9)"; }
            &.hd-10{ width: ~"calc(100% / 12 * 10)"; }
            &.hd-11{ width: ~"calc(100% / 12 * 11)"; }
            &.hd-12{ width: ~"calc(100% / 12 * 12)"; }
        }
        @media @tablet{
            &.md-1{ width: ~"calc(100% / 12 * 1)"; }
            &.md-2{ width: ~"calc(100% / 12 * 2)"; }
            &.md-3{ width: ~"calc(100% / 12 * 3)"; }
            &.md-4{ width: ~"calc(100% / 12 * 4)"; }
            &.md-5{ width: ~"calc(100% / 12 * 5)"; }
            &.md-6{ width: ~"calc(100% / 12 * 6)"; }
            &.md-7{ width: ~"calc(100% / 12 * 7)"; }
            &.md-8{ width: ~"calc(100% / 12 * 8)"; }
            &.md-9{ width: ~"calc(100% / 12 * 9)"; }
            &.md-10{ width: ~"calc(100% / 12 * 10)"; }
            &.md-11{ width: ~"calc(100% / 12 * 11)"; }
            &.md-12{ width: ~"calc(100% / 12 * 12)"; }
        }
        @media @mobile{
            &.sd-1{ width: ~"calc(100% / 12 * 1)"; }
            &.sd-2{ width: ~"calc(100% / 12 * 2)"; }
            &.sd-3{ width: ~"calc(100% / 12 * 3)"; }
            &.sd-4{ width: ~"calc(100% / 12 * 4)"; }
            &.sd-5{ width: ~"calc(100% / 12 * 5)"; }
            &.sd-6{ width: ~"calc(100% / 12 * 6)"; }
            &.sd-7{ width: ~"calc(100% / 12 * 7)"; }
            &.sd-8{ width: ~"calc(100% / 12 * 8)"; }
            &.sd-9{ width: ~"calc(100% / 12 * 9)"; }
            &.sd-10{ width: ~"calc(100% / 12 * 10)"; }
            &.sd-11{ width: ~"calc(100% / 12 * 11)"; }
            &.sd-12{ width: ~"calc(100% / 12 * 12)"; }
        }
    }
  }
a.lightbox{
    position: relative;
    text-decoration: none;
    cursor: pointer;
}  

modal{
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    background-color: #000;
    .bg{
        position: absolute;
        display: block;
        left: -50px;
        top: -50px;
        right: -50px;
        bottom: -50px;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        opacity: 0.75;
        .filter(~"grayscale(50%) blur(10px)");
        z-index: 1;
    }
    .picture{
        position: absolute;
        display: block;
        left: 0px;
        top: 0px;
        right: 0px;
        bottom: 0px;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 2;
    }
    .close{
        position: absolute;
        display: block;
        z-index: 3;
        top: 0;
        right: 0;
        width: 48px;
        height: 48px;
        &:before{
            content: "";
            position: absolute;
            display: block;
            background-color: #fff;
            left: 12px;
            right: 12px;
            top: 50%;
            height: 2px;
            .transform(~"rotate(45deg) translate(0,-50%)");
        }
        &:after{
            content: "";
            position: absolute;
            display: block;
            background-color: #fff;
            left: 12px;
            right: 12px;
            top: 50%;
            height: 2px;
            .transform(~"rotate(-45deg) translate(0,-50%)");
        }
    }
}footer{
    position: relative;
    display: block;
    background-color: #F0F0F0;
    border-top: 10px solid @primaryColor;
    color: #000;
    padding: 40px 20px;
@media @pc{
    padding: 40px 0px;
padding-bottom: 0;
}
    padding-bottom: 0;
    h3{
        position: relative;
        display: block;
        padding: 10px 20px;
        font-family: 'Oswald';
        text-transform: uppercase;
        font-size: 27px;
        font-weight: 300;
        letter-spacing: -1px;
        line-height: 1.1em;

        @media @mobile{
            font-size: 24px;
        }
    }
    p{
        padding: 10px 20px;
        line-height: 1.6em;
        font-size: 14px;
        font-weight: 300;
        span{
            position: relative;
            display: inline-block;
            width: 80px;
        }
        
    }
    nav{
        position: relative;
        display: block;
        padding: 10px 20px;
        item{
            position: relative;
            display: block;
            a{
                position: relative;
                display: block;
                font-size: 14px;
                font-weight: 300;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                padding: 4px 0;
                border-bottom: 1px dashed rgba(0,0,0,0.1);
                &:after{
                    position: absolute;
                    display: block;
                    content: "";
                    right: 2px;
                    top: 50%;
                    margin-top: -3px;
                    border-style: solid;
                    border-width: 1px 1px 0 0;
                    transform: rotate(45deg);
                    -o-transform: rotate(45deg);
                    -moz-transform: rotate(45deg);
                    -webkit-transform: rotate(45deg);
                    -ms-transform: rotate(45deg);
                    width: 4px;
                    height: 4px;
                    border-color: @primaryColor;
                }
            }
            &:last-child{
                a{
                    border-bottom: 0;
                }
            }
        }
    }
    a{
        color: @primaryColor;
        text-decoration: none;
        cursor: pointer;
        &:hover{
            color: #000;
        }
    }

    @media @mobile{
        padding: 10px 0px;
        padding-bottom: 0;
    }

    .copy{
        margin-top: 40px;
        position: relative;
        display: block;
        line-height: 42px;
        background-color: #f5f5f5;
        font-size: 12px;
        font-weight: 400;
        color: #aaa;
        .container{
            padding: 0 20px;
        }
    }
}.topbar{
    position: relative;
    display: block;
    height: 36px;
    overflow: visible;
    z-index: 99;
    background-color: @primaryColor;
    .logo{
        position: relative;
        display: inline-block;
        vertical-align: top;
        width: 140px;
        padding: 10px;
        background-color: #fff;
        margin: 0 20px;
        .boxShadow(~"0 5px 15px 2px rgba(0,0,0,0.1)");
        img{
            max-width: 100%;
            height: auto;
        }
    }
    .toRight{
        float: right;
        position: relative;
        display: block;
        a{
            position: relative;
            display: inline-block;
            vertical-align: top;
            padding: 0 20px;
            line-height: 36px;
            text-decoration: none;
            cursor: pointer;
            color: #FFF;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            @media @mobile{
                padding: 0 10px;
            }
            svg{
                position: relative;
                display: inline-block;
                vertical-align: middle;
                margin-right: 5px;
                margin-top: -3px;
                width: 16px;
                height: 16px;
                fill: #FFF;
                @media @mobile{
                    margin-right: 0;
                }
            }
            &:hover{
                color: #FFF;
                svg{
                    fill: #FFF;
                }
            }
            span{
                @media @mobile{
                    display: none;
                }
            }
        }
    }
}.small-header{
    position: relative;
    display: block;
    height: 35vh;
    overflow: hidden;
    background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
    &:before{
        content: "";
        position: absolute;
        display: block;
        z-index: 2;
        left: 0;
        right: 0;
        top: 0;
        height: 200px;
        background: rgb(0,0,0);
        background: -moz-linear-gradient(180deg, rgba(0,0,0,0.8127626050420168) 0%, rgba(0,0,0,0) 100%);
        background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.8127626050420168) 0%, rgba(0,0,0,0) 100%);
        background: linear-gradient(180deg, rgba(0,0,0,0.8127626050420168) 0%, rgba(0,0,0,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
    }
}
.pageslider{
    position: relative;
    display: block;
    height: 100vh;
    overflow: hidden;
    margin-top: -160px;
    &:before{
        content: "";
        position: absolute;
        display: none;
        z-index: 2;
        left: 0;
        right: 0;
        top: 0;
        height: 200px;
        background: rgb(0,0,0);
        background: -moz-linear-gradient(180deg, rgba(0,0,0,0.8127626050420168) 0%, rgba(0,0,0,0) 100%);
        background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.8127626050420168) 0%, rgba(0,0,0,0) 100%);
        background: linear-gradient(180deg, rgba(0,0,0,0.8127626050420168) 0%, rgba(0,0,0,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
        
    }
&:after{
   content: "";
   background-color: rgba(0,0,0,0);
   left: 50%;
   bottom: 50px;
   margin-left: -15px;
   width: 30px;
   height: 65px;
   position: absolute;
   display: block;
   z-index: 99;
   background-image: url(../scroll.gif?a=2);
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: contain;
.anim;
}
&.scrolled{
  &:after{ opacity:0; }
}
    .wrapper{
        z-index: 1;
        position: relative;
        display: block;
        height: 100%;
        letter-spacing: 0;
        font-size: 0;
        .slide{
            position: relative;
            display: inline-block;
            vertical-align: top;
            height: 100%;
            color: #fff;
            
            width: 100vw;
            .picture{
                position: absolute;
                display: block;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                background-position: center bottom;
                background-repeat: no-repeat;
                background-size: cover;
                z-index: 1;
                container{
                    height: 100%;
                    text-shadow:
                        0 1px 0 rgba(0,0,0,0.3),
                        0 -1px 0 rgba(0,0,0,0.3),
                        1px 0 0 rgba(0,0,0,0.3),
                        -1px 0 0 rgba(0,0,0,0.3),
                        0 0 100px rgba(0,0,0,1),
                        0 0 50px rgba(0,0,0,1)
                    ;
                    .text{
                        position: absolute;
                        display: block;
                        left: 20px;
                        bottom: 140px;
                        font-family: @footerWidgetTitleFont;
                        font-size: 40px;
                        font-weight: 300;
                        letter-spacing: normal;
                        @media @mobile{
                            font-size: 18px;
                            left: 50px;
                            right: 50px;
                            text-align: center;
                            bottom: 90px;
                        }
                    }
                    .title{
                        position: absolute;
                        display: block;
                        left: 20px;
                        bottom: 195px;
                        text-transform: uppercase;
                        font-family: @footerWidgetTitleFont;
                        font-size: 60px;
                        font-weight: 600;
                        letter-spacing: normal;
                        span{
                            font-size: 40px;
                            font-weight: 300;
                            text-transform: none;
                        }
                        @media @mobile{
                            font-size: 36px;
                            left: 50px;
                            right: 50px;
                            text-align: center;
                            bottom: 160px;
                            line-height: 1.2em;
                        }
                    }
                }
            }
        }
    }
    .prev{
        position: absolute;
        display: block;
        left: 0;
        top: 50%;
        width: 96px;
        height: 96px;
        
        cursor: pointer;
        background-color: rgba(255,255,255,0);
        z-index: 4;
        .transform(~"translate(0,-50%)");
        &:after{
            position: absolute;
            display: block;
            content: "";
            right: -5px;
            top: 50%;
            border-style: solid;
            border-width: 4px 4px 0 0;
            border-color: rgba(255,255,255,0.75);
            .transform(~"rotate(-135deg) translate(0,-50%)");
            margin-top:-35px;
            width: 42px;
            height: 42px;
            @media @mobile{
                width: 26px;
                height: 26px;
                right: 20px;
            }
            .anim;
        }
        &:hover{
            &:after{
                border-color: rgba(255,255,255,1);
            }
        }
    }
    .next{
        position: absolute;
        display: block;
        right: 0;
        top: 50%;
        width: 96px;
        height: 96px;
        cursor: pointer;
        background-color: rgba(255,255,255,0);
        z-index: 4;
        .transform(~"translate(0,-50%)");
        &:after{
            position: absolute;
            display: block;
            content: "";
            left: -10px;
            top: 50%;
            border-style: solid;
            border-width: 4px 4px 0 0;
            border-color: rgba(255,255,255,0.75);
            .transform(~"rotate(45deg) translate(0,-50%)");
            margin-top:-7px;
            width: 42px;
            height: 42px;
            .anim;
            @media @mobile{
                width: 26px;
                height: 26px;
                left: 20px;
                margin-top:-14px;
            }
        }
        &:hover{
            &:after{
                border-color: rgba(255,255,255,1);
            }
        }
    }
}