/* ==========================================================================
   Generals
   ========================================================================== */
::-moz-selection {
    background: #bd9b10;
    text-shadow: none;
    color: #fff;
}

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

html {
    overflow-y: scroll;
}

.centerThis, .content {
    max-width: 1170px;
    margin: 0 auto;
}

body {
    padding: 125px 0 64px 0;
    -webkit-backface-visibility: hidden; /*Try to avoid flickering content on animations ins safari/mac environment*/
}

.showIfNoJs {
    display: none;
}

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

.chromeframe {
    text-align: center;
    background: #ffffff;
    position: absolute;
}

div {
    position: relative;
    -webkit-backface-visibility: hidden; /*Try to avoid flickering content on animations ins safari/mac environment*/
}

div.clearfix {
    position: static;
}

img {
    width: 100%;
}

a {
    color: #3f3f3f;
    text-decoration: none;
    outline: none !important;
}

.content a {
    color: #3f3f3f;
    font-weight: bold;
}

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

.versionDebug {
    position: fixed;
    top: 0;
    left: 50%;
    margin: 0 0 0 -125px;
    width: 250px;
    height: 20px;
    font-size: 1.5em;
    color: #ffffff;
    background: #000000;
    text-align: center;
    z-index: 10000;

    display: none;
}

.versiontext:after {
    content: "DESKTOP";
}

.content .row {
    margin-top: 30px;
    margin-bottom: 30px;
}


/* ==========================================================================
   Main
   ========================================================================== */
body {
    background: #fff;
    font-family: "effra";
    color: #3f3f3f;
    font-size: 15px;
}

header {
    min-height: 115px;
    width: 100%;
    background: url("../img/header_bg.png") repeat-x  #f9f9f9;
    position: fixed;
    top: 0;
    z-index: 1;
    overflow: hidden;
}

#logo {
    display: block;
    width: 113px;
    height: 85px;
    background-image: url("../img/logo01.png");
    background-repeat: no-repeat;
    background-size: 112px;
    text-indent: -999em;
    float: none;
    margin: 6px 0 0 0;
}

nav {
    float: left;
    margin: 45px 0 0 45px;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li{
    list-style: none;
    float: left;
}

nav a {
    text-transform: uppercase;
    color: #6d6d6d;
    letter-spacing: 0.1em;
    background: url('/img/nav_bg.png') no-repeat;
    display: block;
    margin: 0 0 0 15px;
    padding: 0 0 0 22px;
    height: 52px;
}

nav a span.subTitle {
    font-family: "ff-meta-serif-web-pro";
    font-size: 0.8em;
    text-transform: none;
    font-style: italic;
    display: block;
    line-height: 1.2em;
    letter-spacing: 0.08em;
}

nav a:hover span.subTitle,
nav a.active span.subTitle{
    color: #6d6d6d;
}

nav a:hover,
nav a.active {
    text-decoration: none;
    color: #b89526;
}

#navCollapse {
    position: fixed;
    top: 19px;
    right: 21px;
    display: none;
}

footer {
    min-height: 34px; /*46px;*/
    width: 100%;
    background: url("../img/footer_bg.png") repeat-x;
    font-size: 0.8em;
    padding: 12px 0 0 0;
    position: fixed;
    bottom: 0;
    z-index: 1;
}

.backToTop {
    display: inline-block;
    height: 20px;
    width: 56px;
    background: url("/img/arrow.png") no-repeat right;
    font-weight: bold;

}

footer .backToTop {
    margin: 0 50px 0 0;
}


#stocretec, #sto, #wolff, #mapei, #floorbridge, #ankoe {
    width: 122px;
    height: 22px;
    display: block;
    text-indent: -999em;
    float: left;
    margin: -5px 20px 0 0;
}

#ankoe{
    background: url("/img/ankoe.png") no-repeat;
}

#floorbridge{
    background: url("/img/floorbridge.png") no-repeat;
}

#mapei{
    background: url("/img/mapei.png") no-repeat;
}

#stocretec {
    background: url("/img/sto_cretec.png") no-repeat;
}

#sto {
    background: url("/img/sto.png") no-repeat;
}

#wolff{
    background: url("/img/wolff_logo.png") no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    margin-top: -9px;
}


/* ==========================================================================
   Content
   ========================================================================== */
h1 {
    font-weight: 100;
    color: #bd9b10;
    font-size: 1.133em;
    text-transform: uppercase;
    background: url("/img/heading_bg.png") no-repeat;
    background-position-y: 20px;
    background-position-x: 80px;
    margin: 15px 0 55px 0;
}

#slider h3 {
    font-size: 2em;
    font-weight: bold;
    display: inline;
    color: #000000;
}

#slider {
    font-size: 1.667em;
    line-height: 1.5em;
}

#slider img {
    margin: 33px 0 0 0;
}

h2 {
    font-family: "ff-meta-serif-web-pro";
    font-size: 4em;
    font-weight: 500;
    font-style: italic;
    color: #000000;
    word-wrap: break-word;
    line-height: 1em;
}

.headerText {
    font-size: 1.333em;
    margin: 55px 0 10px 0;
}

h3 {
    font-size: 1.8em;
    color: #bd9b10;
    margin-bottom: -0.4em;
    text-align: center;
    line-height: 1em;
}

h4 {
    font-family: "ff-meta-serif-web-pro";
    font-size: 1em;
    font-style: italic;
    font-weight: 500;
    text-align: center;
}

img {
    margin-bottom: 20px;
}

#Leistung h3, #Leistung h4, #Kontakt h3, #Kontakt h4 {
    text-align: left;
}

.flexslider .flex-control-nav {
    display: none;
}

#Referenzen ul {
    margin: 0;
}

#portfolioMenu li {
    float: left;
    list-style: none;
}

#portfolioMenu li a{
    color: #bd9b10;
    text-transform: uppercase;
    width: 100px;
    text-decoration: none;
    margin: 0 15px 0 0;
    font-weight: normal;
}

#portfolioMenu li a:hover, #portfolioMenu li.active a{
    color: #000000;
}

#portfolio .mix {
    opacity: 0;
    display: none;
}

#Kontakt {
    margin: 0 0 30% 0;
}

#Referenzen h1 {
    background-position-x: 105px;
}



/* Thumb Info */
.thumb-info {
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    max-width: 100%;
}

.thumb-info:hover .thumb-info-action-icon {
    right: 0;
    top: 0;
}

.thumb-info:hover .thumb-info-action {
    filter: alpha(opacity=100);
    opacity: 1;
}

.thumb-info:hover .thumb-info-title {
    background: transparent;
}

.thumb-info .thumb-info-action-icon {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    background: #CCC;
    border-radius: 0 0 0 25px;
    display: inline-block;
    font-size: 25px;
    height: 50px;
    line-height: 50px;
    position: absolute;
    right: -100px;
    text-align: center;
    top: -100px;
    width: 50px;
}

.thumb-info .thumb-info-action-icon i {
    font-size: 24px;
    left: 3px;
    position: relative;
    top: -4px;
}

.thumb-info .thumb-info-action {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    background: rgba(36, 27, 28, 0.9);
    bottom: 0;
    color: #FFF;
    filter: alpha(opacity=0);
    height: 100%;
    left: 0;
    opacity: 0.0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.thumb-info .thumb-info-inner {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    white-space: nowrap;
}

.thumb-info .thumb-info-title {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    background: transparent;
    bottom: 10%;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    left: 0;
    letter-spacing: -1px;
    padding: 9px 11px 9px;
    position: absolute;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    z-index: 1;
}

.thumb-info .thumb-info-type {
    background-color: #CCC;
    border-radius: 2px;
    display: inline-block;
    float: left;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    margin: 8px -2px -15px -2px;
    padding: 2px 9px;
    text-transform: none;
}

.thumb-info img {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
    border-radius: 3px;
    position: relative;
}

.thumb-info:hover img {
    -webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

/* Thumb Info Caption	*/
.thumb-info-caption {
    padding: 10px 0;
}

.thumb-info-caption p {
    font-size: 0.9em;
    line-height: 20px;
    margin: 0 0 8px;
    padding: 10px;
}

/* Thumb Info Social Icons */
.thumb-info-social-icons {
    border-top: 1px dotted #DDD;
    margin: 0;
    padding: 15px 0;
    display: block;
}

.thumb-info-social-icons a {
    background: #CCC;
    border-radius: 25px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
}

.thumb-info-social-icons a:hover {
    text-decoration: none;
}

.thumb-info-social-icons a span {
    display: none;
}

.thumb-info-social-icons a i {
    color: #FFF;
    font-size: 0.9em;
    font-weight: normal;
}

/* Thumb Info Secundary */
.thumb-info.secundary .thumb-info-title {
    background: transparent;
    bottom: auto;
    left: 0;
    right: 0;
    top: 35%;
    text-align: center;
    opacity: 0;
}

.thumb-info.secundary .thumb-info-type {
    float: none;
}

.thumb-info.secundary:hover .thumb-info-title {
    top: 42%;
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .thumb-info .thumb-info-title {
        font-size: 14px;
    }

    .thumb-info .thumb-info-more {
        font-size: 11px;
    }
}


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

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

::-webkit-scrollbar-thumb:hover {
    background:rgba(0,0,0,0.4);
}

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

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


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


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


/* ==========================================================================
   Media Queries (Netbook)
   ========================================================================== */
@media (min-width: 979px) and (max-width: 1200px) {
    .versiontext:after{
        content: "NETBOOK";
    }

    .centerThis, .content {
        max-width: 940px;
        margin: 0 auto;
    }

    nav a span.subTitle {
        display: none;
    }

    nav a {
        background: none;
        margin: 30px 0 0 15px;
        height: 18px;
    }

    .backToTop {
        margin: 0 -3px 0 0;
        text-indent: -999em;
        width: 20px;
    }

    footer .backToTop {
        margin: 0 12px 0 0;
    }

    .normHeader {
        height: 80px;
    }
}


/* ==========================================================================
   Media Queries (Tablet)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 979px) {
    .versiontext:after{
        content: "TABLET";
    }

    .centerThis, .content {
        max-width: 724px;
        margin: 0 auto;
    }

    nav {
        width: 630px;
        overflow: hidden;
    }

    nav a span.subTitle {
        display: none;
    }

    nav a {
        background: none;
        margin: 30px 0 0 0;
        height: 18px;
    }

    .backToTop {
        margin: 0 -3px 0 0;
        text-indent: -999em;
        width: 20px;
    }

    footer .backToTop {
        margin: 0 12px 0 0;
    }

    .normHeader {
        height: 100px;
    }

    .fancybox-nav span {
        visibility: visible !important;
    }
}


/* ==========================================================================
   Media Queries (Mobile Landscape)
   ========================================================================== */
@media (max-width: 767px) {
    .versiontext:after{
        content: "MOBILE LANDSCAPE";
    }

    body {
        padding: 79px 0 64px 0;
    }

    .centerThis, .content {
        padding: 0 20px;
    }

    h2 {
        font-size: 2em;
    }

    #slider {
        font-size: 1em;
    }

    #logo {
        background-image: url("../img/logo_portrait.png");
        margin: 2px auto;
        background-size: 200px;
        width: 200px;
        height: 60px;
        float: left;
    }

    header {
        background-image: none;
        border-bottom: 1px dashed black;
        min-height: 95px;
    }

    nav {
        float: left;
        margin: -3px 0 9px 6px;
        width: 550px;
    }

    nav a {
        /*font-size: 1em;*/
        background: none;
        /*margin: 7px 0 0 -6px;*/
        height: 18px;
        font-size: 0.9em;
        margin: 7px 0 0 -20px;
    }

    nav a span.subTitle {
        display: none;
    }

    .fancybox-nav span {
        visibility: visible !important;
    }
}


/* ==========================================================================
   Media Queries (Mobile Portrait)
   ========================================================================== */
@media (max-width: 480px) {
    .versiontext:after{
        content: "MOBILE PORTRAIT";
    }

    body {
        padding: 59px 0 64px 0;
    }

    h1 {
        margin: 15px 0 5px 0;
    }

    h2 {
        font-size: 2em;
    }

    .headerText {
        margin: 15px 0 10px 0;
    }

    #slider {
        font-size: 1em;
    }

    header {
        background-image: none;
        border-bottom: 1px dashed black;
        min-height: 68px;
    }

    nav {
        float: none;
        margin: 85px 0 0 -7px;
        text-align: left;
        width: auto;
    }

    nav a {
        font-size: 1em;
    }

    nav ul li{
        float: none;
        margin: 0 0 25px 0;
    }

    nav ul li a {
        margin: 0;
    }

    #navCollapse {
        display: inline;
    }

    .flex-direction-nav {
        display: none;
    }

    header {
        height: 68px;
    }

    nav {
        float: none;
        margin: 85px 0 0 -7px;
        text-align: left;
        width: auto;
    }



    nav ul li{
        float: none;
        margin: 0 0 25px 0;
    }

    nav ul li a {
        margin: 0;
    }

    #navCollapse {
        display: inline;
    }


}


/* ==========================================================================
   Internet Explorer Fixes
   ========================================================================== */
.lt-ie9 #logo {
    background-image: url("../img/sklensky.png");
}


