html, body {
    height: 100%;
}

body {
    background-color: #fff;
    font-size: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
}

img {
    border: none;
}

.clear {
    clear: both;
}

strong {
    font-weight:800;
}

/* Outer Wrapper */

#outer-wrapper {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.segment-block a, #footer a {
    color: #00456C;
    text-decoration: underline;
}

.segment-block a:hover, #footer a:hover {
    text-decoration: underline;
}

/* H-Tags */

h1, h2, h3, h4, h5 {
    font: 300 15.625em/0.8 'BenchNine',sans-serif;
    letter-spacing: -2px;
    margin: 0;
    text-transform: uppercase;
}

h2 span {
    color: #027BC0;
}

h3 {
    font-size: 2.75em;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

.head-bumper {
    margin: 1em 0 0.5em;
}

#segment-news h3, #segment-presse h3 {
    clear: both;
    width: 64%;
    margin: 0.5em 0 0;
}

h4 {
    font: 400 1.125em/1.5 'Titillium Web',sans-serif;
    text-transform: none;
    color: #027BC0;
    letter-spacing: 0.02em;
}

#c45 h4 {
    font-size: 1em;
}

h5 {
    font: 400 0.85em/1.5 'Titillium Web',sans-serif;
    text-transform: none;
    letter-spacing: 0.02em;
}

.subheadline {
    font: 700 2.75em/1 'BenchNine',sans-serif;
    text-transform: uppercase;
    margin: 0 0 0.5em;
}

.subheadline .medium {
    font-weight: 300;
    color: #027BC0;
}

/* Logo */

#logo {
    position: absolute;
    width: 16%;
    height: 200px;
    top: 60px;
    right: 60px;
    background:transparent url('/fileadmin/templates/layout_img/fairplayer-logo.svg') no-repeat 0 0;
    background-size: 100% auto;
    z-index: 1;
}

#logo img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* Navigation */

#navigation {
    font: 400 1.75em/85px 'BenchNine',sans-serif;
    text-transform: uppercase;
    line-height: 85px;
    height: 85px;
    width: 100%;
    overflow: hidden;
    background-color: rgba(2, 123, 192, 0.8);
    z-index: 999;
    position: absolute;
}

#navigation-mobile {
    display: none;
}

#nav-wrapper {
    display: block;
    width: 914px;
    margin: 0 auto;
}

#navigation ul, #navigation-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navigation li {
    float: left;
    border-right: #fff 1px solid;
}

#navigation-mobile li {
    text-align: center;
    border-bottom: #fff 1px solid;
}

#navigation li.no-border, #navigation-mobile li.no-border {
    border: none;
}

#navigation a {
    color: #fff;
    text-decoration: none;
    padding: 0 20px;
    display: block;
}

#show, #hide {
    display: none;
    text-align: center;
}

/* Segment Start */

#segment-start {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
    background: #ccd5dc url("/fileadmin/templates/layout_img/slider-bg-desktop.png") repeat-x 0 0;
    background-size: auto 100%;
}

#start-pic img {
    position: absolute;
    left: 0;
    bottom: 0;
    max-height: 100%;
    height: 100%;
    width: auto;
}

#segment-start ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.start-box {
    bottom: 0;
}

#start-buttons {
    bottom: 45px;
    height: 160px;
    position: absolute;
    right: 0;
    width: 15%;
    z-index: 2;
}

#start-buttons a.award {
    display:block;
    width: 45%;
    height: 100%;
    background:transparent url('/fileadmin/templates/layout_img/icons/ausgezeichnet.svg') no-repeat 0 0;
    background-size: 100% auto;
    float:left;
}

#start-buttons a.fb {
    display:block;
    width: 13%;
    height: 100%;
    background:transparent url('/fileadmin/templates/layout_img/icons/fb.jpg') no-repeat 0 0;
    background-size: 100% auto;
    float:left;
    margin: 30% 8% 0 0;
}
/* Segmete */

.segment-block {
    display: block;
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 8em;
    overflow: hidden;
}

#segment-mediathek-gallery {
    width: 100%;
    max-width: 100%;
    padding-top: 2em;
    height: 860px;
}

/* Parallax */

.parallax-block {
    background-color: transparent;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% auto;
    height: 340px;
    margin: 8em auto 4em;
    padding: 0;
    border-bottom: 10px solid rgba(255, 255, 255, 0.3);
    border-top: 10px solid rgba(255, 255, 255, 0.3);
    display: block;
    cursor: default;
    z-index: -1;
    position: relative;
}

.parallax-text {
    text-align: center;
    font: 300 3.5em/1.5 'BenchNine',sans-serif;
    color: #027BC0;
    text-transform: uppercase;
    display: block;
    margin-top: 140px;
    opacity: 0;
}

.parallax-text strong {
    font-weight: 700;
}

#parallax-1, #parallax-2, #parallax-3, #parallax-4, #parallax-5, #parallax-6, #parallax-7, #parallax-8 {
    background-image:url('/fileadmin/templates/layout_img/parallax-bilder/parallax-desktop.jpg');
}

/* Accordion */

.ref_title, .acc-text h3 {
    padding-left:0.5em;
    cursor: pointer;   
    background: transparent url('/fileadmin/templates/layout_img/fairplayer-sitesprite.svg') no-repeat left 0.375em;
}

#content_2col .active, .acc-text div.active h3 {
    background-position: -996px 0.34em;
}


.acc-container {
    width:100%;
}

.acc-container:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.acc-column {
    width:17%;
    float:left;
    margin-left: 0.75em;
    margin-top: 3.25em;
}

.acc-column:first-child {
    margin-left:0px;
}

.acc-trigger {
    background-color: #027BC0;
    color: #FFFFFF;
    font: 700 1.5em/1 'BenchNine',sans-serif;
    height: 3.25em;
    padding-top: 1.4em;
    width:100%;
    text-align: center;
    transition: background-color 0.5s ease 0s;
    text-transform: uppercase;
}

.acc-trigger:hover {
    cursor: pointer;
    background-color:#22afff;         
}

.acc-trigger.active {
    background-color:#22afff;
}

.acc-text {
    margin-top: 2em;
    min-width: 350%;
}

.acc-text h3 {
    margin-bottom: 0.3em;
}

.acc-text h3:hover {
    cursor: pointer;
    color: #027BC0;
}

.acc-text div.active h3, .acc-trigger-sport div.active h3  {
    color: #027BC0;    
}

.lm1 {
    margin-left: -105%;
}

.lm2 {
    margin-left: -210%;
}
.lm3 {
    margin-left: -316%;
}
.lm4 {
    margin-left: -422%;
}

#segment-fairplayer .content-block .col-1, #segment-fairplayer .content-block .col-2, #segment-fairplayer .content-block .col-3 {
    margin-top:0px;    
}

#segment-presse b {
    border-bottom: 1px dotted black;
    font-weight: 600;
}
#segment-presse .bodytext {
    margin: 0 0 0.3em;
}


/* Start */

#segment-start .mobile-pic {
    display: none;
}

/* Content */

.content-block {
    display: block;
    margin-top: 0.75em;
}

.content-box img {
    max-width: 100%;
    width: 100%;
    height: auto;
    background:transparent url('/fileadmin/templates/layout_img/loader.gif') no-repeat center center;
}
img.fifty {
    width:50%;
}

.bodytext, #segment-kontakt p, .Statname, .Statbar, fieldset, fieldset input, fieldset textarea, .statwuerfel, #footer, #segment-mediathek-gallery, .inline-right p {
    font: 300 1.125em/1.5 'Titillium Web',sans-serif;
    letter-spacing: 0.02em;
}

.helpline {
    font-family: 'BenchNine', sans-serif;
}

.content-block .col-1, .content-block .col-2, .content-block .col-3 {
    float: left;
    margin-top: 2em;
}

#content_2col .col-1 {
    width: 64%;
    clear: both;
    float: left;
}

#content_2col .col-2 {
    width: 31%;
    float: right;
}

#content_3col .col-1, #content_3col .col-2, #content_3col .col-3 {
    width: 32%;
}

#content_3col .col-1 {
    clear: both;
    float: left;
}

#content_3col .col-2 {
    margin: 2em 2% 0;
}

.content-block .bodytext {
    margin: 0 0 2em;
}

#segment-schueler {
    overflow: visible;
}

/* Kummer-Nummer + Mobbingfone */

.helpline {
    line-height: 0.8;
}

.helpline .medium {
    color: #027BC0;
    font-size: 3.444444444444444em;
    text-transform: uppercase;
}

.helpline .small {
    font-size: 2.888888888888889em;
    font-weight: 300;
}

.helpline .mediumBold {
    font-size: 3.444444444444444em;
    font-weight: 700;
    text-transform: uppercase;
}

.helpline a {
    text-decoration: none;
}

.helpline a .mediumBold {
    color: #00456C;
}

/* Statistik */

.Statname {
    font-size: 0.6875em;
    text-transform: uppercase;
    margin: 0;
}

.Statbar {
    display: block;
    height: 1.5em;
    padding: 0.2777777777777778em;
    margin-bottom: 0.75em;
    color:#fff;
    font-size: 1em;
}

.rot { background-color: #e27b6d;}
.gruen { background-color: #84E2A1}
.blau { background-color: #81a1e2}

/* Wuefel */

.statwuerfel {
    background-color: #027BC0;
    color: #FFFFFF;
    margin: 3em 0.8% 0 0;
    width: 16%;
    height:auto;
    text-align:center;
    float: left;
    cursor: default;
}

.cube-inside {
    margin: 2em;
}

.prozent {
    display: block;
    width: 100%;
    font-size: 2.25em;
}

.cube-6 {
    margin-right: 0;
}

p.percent {
    float: right;
    margin: 0 6px 0 5px;
    text-align: right;
    transition: all 0.6s ease-in 0s;
}
.ie8 p.percent {
    display: none;
}
.teamSkill:hover p.percent {
    opacity: 1;
}
.ie8 .teamSkill:hover p.percent {
    display: block;
}
.statsWrap {
    float: left;
    margin: 10px;
    width: 130px;
}
.stats {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease-in-out 0s;
    width: 100%;
}
.statDummy {
    margin-top: 100%;
}
.statInfo {
    background-color: #027BC0;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}
.statNumberSmall {
    font-size: 36px;
    margin-bottom: 0;
    transition: all 0.5s ease-in-out 0s;
}
.statText {
    color: #FFFFFF;
    line-height: 1;
    margin-top: -10px;
    padding: 0;
    transform: scale(0);
    transition: all 0.5s ease-in-out 0s;
}
.stats:hover {
    transform: scale(1.5);
    z-index: 10;
}
.stats:hover .statNumber {
    padding-top: 20px;
    transform: scale(0.8);
}
.stats:hover .statText {
    opacity: 1;
    transform: scale(0.8);
}

/* Bilderzoom */

.teamImage {
    margin-bottom: 20px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}

.teamImage img {
    transform: scale(1);
    transition: all 0.7s ease-in-out 0s;
}
.teamImage .teamName {
    background-color: #027BC0;
    height: 99%;
    left: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    transition: all 0.5s linear 0s;
    width: 100%;
}

.teamImage h4 {
    color: #FFFFFF;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s linear 0s;
    margin: 30% 0 0 25%;
    text-transform: uppercase;
    line-height: 1;
    width: 50%;    
}

.teamImage h5 {
    color: #FFFFFF;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s linear 0s;
    text-transform: uppercase;
    margin: 15% 0 0 25%;
    width: 50%;
}

#segment-fairplayer h4 {
    font-size: 0.85em;    
}

#segment-fairplayer h5 {
    font-size: 1em;
    line-height: 1;
    margin-top: 8%;
}
.teamImage:hover img {
    opacity: 0;
}
.teamImage:hover .teamName {
    opacity: 1;
}
.ie8 .teamImage:hover .teamName {
    display: block;
}
.teamImage:hover h4, .teamImage:hover h5 {
    opacity: 1;
    transform: scale(1.5);    
}
.teamImage:hover .socialLinksTeam {
    opacity: 1;
    transform: scale(1);
}

/* Kontakt */

.adresse {
    display: block;
    float: left;
    width: 32%;
    padding-left:17px;
    background: url("/fileadmin/templates/layout_img/fairplayer-sitesprite.svg") no-repeat scroll -2000px 0.3em;
}

.kontaktdaten {
    display: block;
    float: left;
    width: 35%;
}

.phone {
    background: url("/fileadmin/templates/layout_img/fairplayer-sitesprite.svg") no-repeat scroll -3200px 0.3em;
    padding-left:17px;
}

.email {
    background: url("/fileadmin/templates/layout_img/fairplayer-sitesprite.svg") no-repeat scroll -2600px 0.5em;
    padding-left:17px;
}

.tx-powermail h3, .powermail_legend {
    display:none;
}

.tx-powermail {
    margin-top: 3em;	
}
fieldset {
    border: 0;
}

.powermail_label {
    display: block;
    width: 100%;
}

.powermail_field {
    width: 100%;
    max-width:100%;
    max-height:100%;
}

.powermail_fieldwrap {
    width: 30%;	
    height: 4em;
}

#powermail_fieldwrap_4 {
    float: right;
    height: 12em;
    margin: -12em 37% 0 0;
}

#powermail_fieldwrap_5 {
    float: right;
    margin-right: 37%;
    width:10%
}

.powermail_textarea {
    height: 80%;
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
    background-color: #E5E5E5;
    border: medium none;
    border-radius: 3px;
    color: #222222;      
    outline: medium none;  
}

.powermail_submit {
    background: none repeat scroll 0 0 #027BC0;
    border: medium none;
    border-radius: 3px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 13px;
    line-height: 21px;
    padding: 4px 12px;
    text-decoration: none;

}

/* Footer */

#footer {
    display: block;
    max-width: 1200px;
    width: 96%;
    font-size: 0.875em;
    margin: 3em auto;
    padding-left: 2%;
}

#footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .info, #footer li {
    float: left;
}

/* Media Querie: Tablet Hochformat / 10 Zoll */

@media screen and (max-width: 1100px) {

    body {
        font-size: 90%;
    }

    #logo {
        width: 25%;
        top: 3em;
        right: 3em;
    }

    #start-buttons {
        width: 18%;
        right: 0;
        bottom: 1em;
    }

    /* H-Tags */

    h2 {
        font-size: 12em;
    }

    .subheadline {
        font-size: 2.5em;
    }

    /* Navigation */

    #navigation {
        /*transition: all 0.4s linear;
        -moz-transition: all 0.4s linear;
        -webkit-transition: all 0.4s linear;*/
    }

    #navigation a {
        padding: 0 9px;
    }

    #nav-wrapper {
        width: 680px;
    }

    .parallax-block {
        background-attachment: scroll;
        background-size: 100%;
    }

    #parallax-1, #parallax-2, #parallax-3, #parallax-4, #parallax-5, #parallax-6, #parallax-7, #parallax-8 {
        background-image:url('/fileadmin/templates/layout_img/parallax-bilder/parallax-tablet.jpg'); 
    }

    /* Content */

    .segment-block {
        width: 94%;
    }

    #segment-mediathek-gallery {
        height: auto;
    }

    /* Kontakt */

    .adresse, .kontaktdaten {
        width: 45%;
    }

    .powermail_fieldwrap {
        width: 40%;
    }

    #powermail_fieldwrap_4, #powermail_fieldwrap_5 {
        margin-right: 0;
        width: 50%;
    }

    #segment-start {
        background: none;
        background-color: #c5cfd9;
    }

    start-pic img {
        margin-left: -2em;
    }

}

/* Media Querie: Tablet Hochformat / 10 Zoll */

@media screen and (max-width: 980px) {

    #start-pic img {
        margin-left: 0;
        max-width: 100%;
        max-height: none;
        height: auto;
        width: 100%
    }

    .parallax-block {
        margin: 4em auto 0;
        border-color: rgba(0,0,0,0);
    }

    /* Wuerfel */

    .statwuerfel {
        margin: 3em 2% 0 0;
        width: 32%;
    }

    .cube-3, .cube-6 {
        margin-right: 0;
    }

    #footer {
        width: 92%;
    }

}

/* Media Querie: Tablet Hochformat / 10 Zoll */

@media screen and (max-width: 760px) {

    #nav-wrapper {
        width: 100%;
        height: 100%;
    }

    #navigation-mobile #nav-wrapper {
        height: 50px;
    }

    #navigation ul {
        display: none;
    }

    #navigation li {
        border-right: none;
        float: none;
        display: block;
    }

    #navigation {
        height: 50px;
    }

    .parallax-block {
        height: 200px;
    }

    .parallax-text {
        font-size: 2em;
        margin-top: 12%;
    }

    /* Content */

    .segment-block {
        width: 90%;
    }

    .acc-trigger {
        font-size:1em;        
    }


    #inhalt h2 {
        font-size: 5em;        
    }

    #segment-schule iframe {
        height:30em;
    }
}

/* Media Querie: Garantierechner Zwischenschritt */

@media screen and (max-width: 640px) {

    /* Start */

    #segment-start .mobile-pic {
        display: block;
    }

    #segment-start .desktop-pic {
        display: none;
    }

    #segment-start {
        /*margin-bottom: -50px;*/
    }

    .segment-block {
        padding-top: 4em;
    }

    #start-buttons {
        display: none;
    }

    /* Navigation */

    #show, #hide {
        display: block;
        background:transparent url('/fileadmin/templates/layout_img/nav-bg-mobile.svg') no-repeat center center;
    }

    #hide {
        background-image:url('/fileadmin/templates/layout_img/nav-bg-mobile-close.svg');
    }

    .smartnav-trigger {
        display: block;
        height: 100%;
        width: 100%;
    }

    #navigation-mobile {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 1200px;
        background-color: rgba(2, 123, 192, 0.9);
        z-index: 999;
        font: 400 2em/1.5 'BenchNine',sans-serif;
        text-transform: uppercase;
    }

    #navigation-mobile a {
        color: #fff;
        text-decoration: none;
    }

    /* H-Tags */

    h2 {
        font-size: 6em;
    }

    .subheadline, h3 {
        font-size: 2em;
    }

    /* Parallax */

    .parallax-block {
        margin: 3em auto 2em;
    }

    .parallax-text strong {
        display: block;
    }

    #parallax-1, #parallax-2, #parallax-3, #parallax-4, #parallax-5, #parallax-6, #parallax-7, #parallax-8 {
        background-image:url('/fileadmin/templates/layout_img/parallax-bilder/parallax-mobile.jpg'); 
    }

    .content-block .col-1, .content-block .col-2, .content-block .col-3 {
        float: none;
        display: block;
    }

    #content_2col .col-1, #content_2col .col-2, #content_3col .col-1, #content_3col .col-2, #content_3col .col-3 {
        width: 100%;
        float: none;
    }

    #content_3col .col-2 {
        margin: 0;
    }

    /* Kontakt */

    .adresse, .kontaktdaten {
        width: 90%;
        float: none;
        margin-left: 5%;
    }

    .powermail_fieldwrap {
        width: 100%;
        float: none;
    }

    #powermail_fieldwrap_4, #powermail_fieldwrap_5 {
        margin: 0;
        width: 100%;
    }  




    .acc-text {
        min-width: 515%;
        padding-left: 0.3125em;
    }

    .acc-column {
        margin-left:0.2em;
        width: 19%;
    }

    .lm4 {
        margin-left: -410%;
    }

    .lm3 {
        margin-left: -308%;
    }

    .ref_title, .acc-text h3 {
        background-position: 0 0.25em;
    }

    #content_2col .active, .acc-text div.active h3 {
        background-position: -998px 0.16em;
    }

    .gallerySelectorList li {
        font-size: 0.7em;
    }

    #segment-schule iframe {
        height:20em;
    }


}


/* Media Querie: Smartphone / 4 Zoll */

@media screen and (max-width: 480px) {

    #logo {
        width: 35%;
        right: 2em;
        top: 2em;
    }

    /* Wuerfel */

    .statwuerfel {
        margin: 2em 4% 0 0;
        width: 48%;
    }

    .cube-2, .cube-4, .cube-6 {
        margin-right: 0;
    }

    .acc-trigger {
        text-transform: none;
        font-size:0.8em;        
    }

}


@media screen and (max-width: 400px) {
    .gallerySelectorList li a {
        line-height: 1.2;
    }

    .acc-trigger {        
        word-wrap: break-word;
    }

}