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

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

html {
    overflow-y: scroll;
}

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

.showIfNoJs {
    display: none;
}

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

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

div {
    position: relative;
}

div.clearfix {
    position: static;
}

img {
    width: 100%;
}

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

.content a {
    color: #da2b82;
}

a:hover {
    color: #da2b82;
}

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

    display: none;
}

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

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

#versionChange {
    position: absolute;
    top: 10px;
    right: 10px;
    text-transform: uppercase;
    color: #6d6d6d;
    letter-spacing: 0.1em;
    font-size: 0.8em;
    text-shadow: white 1px 1px;
}

/* ==========================================================================
   Main
   ========================================================================== */
body {
    background: url("../img/body_bg.png") repeat;
    /*background: #fbf3f0;*/
    background-size: 200px;
    font-family: "brandon-grotesque";
    color: #666;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cbcbcb;
    margin: 1em 0;
    padding: 0;
}

header {
    min-height: 156px;
    background: url("../img/header_bg.png") repeat-x;
    border-bottom: #cbcbcb solid 1px;
}

#logo {
    display: block;
    width: 104px;
    height: 51px;
    background-image: url("../img/pam.png");
    background-size: 104px 51px;
    background-repeat: no-repeat;
    text-indent: -999em;
    float: none;
    margin: 52px 0 22px 0;
}

h1, h2, .tumblr_title{
    color: #da2b82;
    letter-spacing: 2px;
    font-size: 2.5em;
}

h2, .tumblr_title {
    font-size: 2em;
}

.span4 h4 {
    font-size: 1em;
    font-weight: 400;
    text-shadow: 1px 1px white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1px;
}


#headerText {
    text-align: center;
    width: 650px;
    margin: 0 auto;
}

#headerText h2, .row h1 {
    text-transform: uppercase;
    color: #6d6d6d;
    letter-spacing: 0.6em;
    font-size: 1em;
    text-shadow: white 1px 1px;
    margin-bottom: -19px;
    font-weight: 500;
}

#startImageText {
    position: absolute;
    top: 40%;
    right: 0;
    font-size: 2.5em;
    color: white;
    width: 100%;
    text-align: center;
    line-height: 1em;
    font-weight: lighter;
    letter-spacing: 0.3em;
}


.videoVimeo iframe {
    height: 658px;
}


nav {
    float: right;
    margin: 75px 0 0 0;
}

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

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

nav a {
    text-transform: uppercase;
    margin: 0 0 0 15px;
    color: #6d6d6d;
    letter-spacing: 0.2em;
    font-size: 1em;
    text-shadow: white 1px 1px;
}

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

.tumblr {
    background: white;
    padding-left: 30px;
    margin: 30px 0;
}

.tumblr .span4 {
    width: 30%;
}

h1, h2, h3, h4, .tumblr_title {
    color: #da2b82;
    font-weight: 200;
    text-shadow: white 1px 1px;
    font-family: "brandon-grotesque";
}

h3 {
    font-size: 2em;
    line-height: 1em;
}

footer {
    border-top: 1px solid #cbcbcb;
}

.footerBar {
    background: #cacaca;
    height: 50px; /*90*/
    margin: 75px 0 0 0;
    text-align: right;
    padding: 40px 0 0 0;
    font-size: 0.8em;
    letter-spacing: 0.2em;
}

.imageOverlay {
    width: 350px;
    background: white;
    opacity: 0.8;
    padding: 10px;
    font-size: 0.8em;
    font-style: oblique;
    line-height: 1.4em;
}

.imageOverlay.helen {
    height: 62px;
}

.imageOverlay.marina {
    height: 47px;
}

.imageOverlay.verena {
    height: 61px;
}

.imageOverlay.marion.en {
    height: 62px;
}

.serviceLink {
    height: 36px;
    width: 47px;
    display: block;
    background-repeat: no-repeat;
    background-size: 50px;
    background-image: url("../img/button_dual.png");
    padding: 14px 0 0 13px;
    color: #ffffff !important;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px #363636;
    margin-left: 40%;
    margin-bottom: 41px;
    opacity: 0.5;
    margin-top: 17px;
}

.serviceLink:hover,  .serviceLink.active {
    background-position: 0 -50px;
    text-decoration: none;
    color: #ffffff;
    opacity: 1;
}

.reduceMarginAtSmartphone {
    margin-top: -9px;
}

.serviceLink:hover .textServiceLink, .serviceLink.active .textServiceLink {
    color: #da2b82;
    opacity: 1;
    text-shadow: 1px 1px white!important;
}

.textServiceLink {
    font-family: "brandon-grotesque";
    font-size: 0.5em;
    font-weight: 400;
    text-shadow: 1px 1px white;
    width: 176px;
    text-align: center;
    margin-left: -159%;
    margin-top: 30px;
    color: #666;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content {
    font-family: "ff-tisa-web-pro";
}

#headerText h2 {
    font-family: "brandon-grotesque";
    line-height: 1.5em;
    margin-bottom: 10px;
}

.noTopMargin {
    margin-top: -6px;
}


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


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

.second-image-row {
    padding-top: 13px;
}



input, textarea {
    width: 97%;
}

form img {
    width: auto;
}

#captcha_code {
    width: 215px;
}

#DevelopmentDesign,
#ProductionLogisticts,
#QualityManagementLab,
#CoopsPartner {
    display: none;
}


/* ==========================================================================
   Google Maps Styles
   ========================================================================== */
#maps {
    height: 400px;
}

#maps img {
    max-width: none;
}

#maps h1 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1em;
    letter-spacing: 1px;
    margin: 10px 0 0;
    color: #da2b82;
}

#maps p {
    margin-bottom: 0;
    margin-top: 0;
}

#maps .content {
    margin-top: -13px;
    height: 82px;
    line-height: 1.3em;
    overflow: hidden;
}


/* ==========================================================================
   Tumblr Styles
   ========================================================================== */
#tumblr {
    font-family: "brandon-grotesque";
}

#tumblr ol {
    list-style: none;
}

.tumblr_body {
    font-family: "ff-tisa-web-pro";
}

.tumblr_title {
    margin-top: 50px;
    margin-bottom: 10px;
    line-height: 1em;
}

.tumblr_video iframe {
    max-width: 100%;
}


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

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

    .videoVimeo iframe {
        height: 528px;
    }

    .textServiceLink {
        font-size: 0.46em;
        letter-spacing: 0;
    }

    .imageOverlay {
        line-height: 1.5em;
        width: 280px;
    }

    .imageOverlay.helen {
        height: 83px;
    }

    .imageOverlay.marina {
        height: 50px;
    }

    .imageOverlay.verena {
        height: 83px;
    }

    .imageOverlay.marion {
        height: 83px !important;
    }
}


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

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

    .videoVimeo iframe {
        height: 407px;
    }

    #startImageText {
        font-size: 2em;
    }

    .textServiceLink {
        width: 119px;
        margin-left: -97%;
        font-size: 0.5em;
    }

    .serviceLink {
        margin-bottom: 80px;
    }

    .imageOverlay {
        font-size: 0.7em;
        line-height: 1.4em;
        width: 208px;
    }

    .second-image-row {
        padding-top: 4px;
    }

    .lt-ie9 nav {
        width: 570px;
    }

    .imageOverlay.helen {
        height: 93px;
    }

    .imageOverlay.marina {
        height: 53px;
    }

    .imageOverlay.verena {
        height: 80px;
    }

    .imageOverlay.marion {
        height: 80px !important;
    }
}


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

    body {
        padding: 0;
    }

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

    nav {
        float: none;
        margin: 0 0 0 -15px;
        width: 470px;
    }

    nav a {
        margin: 0 0 0 13px;
        font-size: 0.8em;
    }

    .tumblr .span4 {
        width: 95.5%;
    }

    #startImageText {
        font-size: 4.5em;
        top: 35%;
        width: 100%;
    }

    .videoVimeo iframe {
        margin-top: 30px;
    }

    .tumblr {
        margin: 0;
    }

    .row div {
        margin-bottom: 30px;
    }

    .content .row {
        margin-top: 0;
        margin-bottom: 0;
    }

    #headerText {
        width: auto;
    }

    .serviceLink {
        background: none;
        text-indent: -999em;
        margin: 0;
        width: 0;
        height: 0;
    }

    .textServiceLink {
        text-indent: 0;
        text-align: left;
    }

    #serviceSwitcher div {
        margin: 0 0 10px 0;
    }

    #serviceSwitcher {
        height: 120px;
    }

    .reduceMarginAtSmartphone {
        margin-top: 41px;
    }

    .imageOverlay {
        width: 94%;
        background: transparent;
    }

    #maps {
        height: 200px;
    }

    #maps .gmnoprint {
        display: none;
    }

    /* Firefox Fix (http://css-tricks.com/snippets/css/css-hacks-targeting-firefox/) */
    @-moz-document url-prefix() {
      nav {
         width: 460px;
         margin: 0 0 0 -16px
      }
}
}


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

    nav {
        float: none;
        margin: 0 ;
    }

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

    nav ul li a {
        margin: 0;
    }

    .tumblr .span4 {
        width: 89%;
    }

    #startImageText {
        font-size: 2.5em;
    }

    .reduceMarginAtSmartphone {
        margin-top: 2px;
    }

    .imageOverlay {
        width: 94%;
        background: transparent;
    }

    #serviceSwitcher {
        height: 159px;
    }
}


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

.lt-ie9 body {
    background: url("../img/body_bg_iefix.png") repeat;
}

.lt-ie9 .serviceLink {
    background-image: url("../img/button_dual_iefix.png");
}


.tmblr-iframe{
    display: none;
}