/* ==========================================================================
   GENERALS
   ========================================================================== */

::-moz-selection {
    background: #576280;
    text-shadow: none;
    color: #fff;
}

::selection {
    background: #576280;
    text-shadow: none;
    color: #fff;
}

html {
    overflow-y: scroll;
}

body {
    -webkit-backface-visibility: hidden; /*Try to avoid flickering content on animations in safari/mac environment*/
}

.showIfNoJs {
    display: none;
}

html.no-js .showIfNoJs {
    display: block;
}

.chromeframe {
    background: #ffffff;
    border-bottom: #000000 10px solid;
    font-weight: bold;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 999;
}

div {
    position: relative;
}

div.clearfix {
    position: static;
}

a {
    text-decoration: none;
    outline: none !important;
    color: inherit;
}

.underline{
    text-decoration: underline;
}

a:hover, a:active, a:focus{
    text-decoration: none;
    color: inherit;
}

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

.no-padding{
    padding: 0;
}

.fullHeight{
    height: 100%;
}

/* ==========================================================================
   Scrollbar-Styles for Chrome and Safari
   ========================================================================== */
::-webkit-scrollbar {
    background:transparent;
    overflow:visible;
    width:15px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(35, 35, 35, 0.20); border:solid #fff;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(87, 98, 128);
}

::-webkit-scrollbar-thumb:horizontal {
    border-width:4px 6px;
    min-width:40px;
}

::-webkit-scrollbar-thumb:vertical {
    border-width:0px 0px;min-height:40px;
}

::-webkit-scrollbar-track-piece{
    background-color:#fff;
}

::-webkit-scrollbar-corner {
    background:transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #cdcdcd;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #576280;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#home #slidesWrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

body{
    font-family: "aktiv-grotesk",sans-serif;
    font-size: 15px;
    line-height: 1.3em;
}

header, footer{
    width: 100%;
}

header{
    position: relative;
}

#background{
    height: 100%;
    background: url("../img/bg.jpg") no-repeat;
    background-size: cover;
    text-align: center;
    position: fixed;
}

#home #background{
    display: none;
}

#background img{
    width: 18%;
    margin-top: 30px;
}

.next, .prev{
    display: block;
    width: 28px;
    height: 53px;
    text-indent: -10000px;
    background-repeat: no-repeat;
    margin: 25px;
}

article h2{
    font-size: 24px;
}

.next{
    background: url("../img/next.png");
}

.prev{
    background: url("../img/prev.png");
}

.slides-pagination a{
    border-color: #FFFFFF;
}

.slides-pagination a.current {
    background: #FFFFFF;
}

.articleWrapper{
    margin-left: 50%;
}

article{
    background: #ffffff;
    padding: 30px;
    color: #3c3c3b;
}

article a{
    color: #576280;
}

.red, .active, .active:hover, footer a:hover{
    color: #ffffff;
}

footer img{
    max-height: 103px;
}

.top-buffer{
    margin-top:20px;
}

.top-buffer-medium{
    margin-top:40px;
}

.top-buffer-big{
    margin-top:60px;
}

h3{
    font-size: 19px;
}

.blueBar{
    width: 100%;
    height: 20px;
    background: #545e7b;
    position: absolute;
    z-index: 10000;
}

/* NAVIGATION */
#navLine{
    padding-top: 40px;
}

nav{
    font-family: 'alte_din_1451_mittelschriftRg', serif;
    text-transform: uppercase;
    color: #3c3c3b;
    font-size: 1.2em;
    margin-top: 40px;
}

.navbar-default{
    background: transparent;
    border: none;
}


.navbar-default .navbar-nav>li>a{
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
}

.navbar-default .navbar-nav>li>a:after{
    content: "·";
    color: #FFFFFF;
    margin: 0 10px;
}

.navbar-default .navbar-nav>li:last-of-type>a:after{
    content: "";
    margin: 0;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>.active {
    color: #ffffff;
    background-color: transparent;
}

.myNavbar{
    border: none;
    box-shadow: none;
}

.navbar-default .navbar-toggle {
    border: none;
    width: 32px;
    z-index: 2;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #3C3C3B;
}

nav .container-fluid, .myNavbar{
    padding: 0;
}

.col-xs-12{
    max-width: 800px;
}

/* FORM */
input, textarea, button{
    border: none;
    outline: none;
    border: 3px solid #F5F5F5;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 15px;
}

input:focus, textarea:focus{
    background: #E2E2E2;
}

::-webkit-input-placeholder{
    color: #a1a1a1;
    text-transform: uppercase;
    font-size: 15px;
}

:-moz-placeholder{
    color: #a1a1a1;
    text-transform: uppercase;
    font-size: 15px;
}

::-moz-placeholder{
    color: #a1a1a1;
    text-transform: uppercase;
    font-size: 15px;
}

:-ms-input-placeholder{
    color: #a1a1a1;
    text-transform: uppercase;
    font-size: 15px;
}

input{
    height: 50px;
}

textarea{
    height: 200px;
    resize: none;
}

#submit{
    width: 145px;
    text-transform: uppercase;
    border: 3px solid #F5F5F5;
    float: right;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: transparent;
}

#submit.active{
    color: #000000;
}

input.half, textarea.half{
    width: 48%;
    margin-right: 26px;
}

input.half:nth-of-type(2n), textarea.half:nth-of-type(2n){
    margin-right: 0;
}


#home h1{
    color: white;
    text-align: center;
}

.slides-navigation{
    top: 10%;
}

.slides-navigation nav{
    margin-top: 0;
    margin-bottom: 5%;
}

.slides-navigation img{
    width: 15%;
    margin-bottom: 5%;
}

#pageName{
    color: white;
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    margin: 0;
    left: 0;
}

.mainnav{
    position: absolute;
    bottom: 10px;
}

.contactButton{
    display: block;
    width: 100%;
    color: white;
    padding: 20px 10px;
    background: #576280;
    text-align: center;
    margin: 20px auto;
}

.contactButton:hover{
    background: #e8e8e8;
}

h2{
    font-weight: 600;
}


@media (max-width:991px){
    #background{
        position: inherit;
        height: 100px;
    }

    .articleWrapper {
        margin-left: 0;
    }

    .myNavbar ul{
        margin: 0;
    }

    #background{
        padding: 0;
        position: fixed;
        width: 100%;
        z-index: 10;
    }

    input.half, textarea.half{
        width: 100%;
    }

    article {
        padding: 130px 0 30px 0;
    }

    #background img {
        width: 90px;
        margin-top: 10px;
    }

    .mainnav{
        bottom: -41px;
    }
}

@media (max-width:767px){
    .slides-navigation img{
        width: 40%;
        margin-bottom: 5%;
    }

    .navbar-nav>li>a {
        font-size: 13px;
    }

    article h2{
        font-size: 20px;
    }

    article{
        font-size: 14px;
    }
}

@media (max-width:400px){
    .navbar-nav>li>a {
        font-size: 11px;
    }
}

@media (max-width: 568px){

}


/* ==========================================================================
   Loading Animation
   ========================================================================== */
#loading {
    font-family: arial, sans-serif;
    display: block;
    font-size: 60px;
    left: 50%;
    margin-left: -28px;
    position: absolute;
    top: 50%;
    z-index: 1;
}

.no-js #loading {
    display: none;
}

@-webkit-keyframes opacity {
    0% { opacity: 1; }
    100% { opacity: 0; }
}
@-moz-keyframes opacity {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

#loading span {
    -webkit-animation-name: opacity;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: opacity;
    -moz-animation-duration: 1s;
    -moz-animation-iteration-count: infinite;
}

#loading span:nth-child(2) {
    -webkit-animation-delay: 100ms;
    -moz-animation-delay: 100ms;
}

#loading span:nth-child(3) {
    -webkit-animation-delay: 300ms;
    -moz-animation-delay: 300ms;
}

.fader {
    opacity: 0;
}

/* ==========================================================================
   Page Fade-In
   ========================================================================== */
@-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@-moz-keyframes fadeIn { from { opacity :0; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fade {
    opacity:0;  /* make things invisible upon start */
    -webkit-animation: fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animation ease-in and repeat it only 1 time */
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;

    -webkit-animation-fill-mode: forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;

    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

.no-cssanimations .fade {
    opacity: 1;
}

.fade:first-child {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

.fade:nth-child(2n) {
    -webkit-animation-delay: 1.6s;
    -moz-animation-delay: 1.6s;
    animation-delay: 1.6s;
}

.navbar-collapse.collapse {
    display: block!important;
    visibility: visible;
    border: none;
    box-shadow: none;
}

.navbar-nav>li, .navbar-nav {
    float: left !important;
}

.navbar-nav.navbar-right:last-child {
    margin-right: -15px !important;
}

.navbar-right {
    float: right!important;
}
