@font-face {
  font-family: 'droidsans';
  src: url('../font/droid_sans.ttf');
}

.subpage {display: none;}
#startPage{display: block;}
#startFooter{display: block;}

a{
    color:black;
}

a:focus {
    outline: none;
    color:black;
}

a:hover{
    text-decoration: none;
    color:black;
}


/* Layout */
body, html{
    height: 100%;
    font-family: "droidsans";
}

#content {
    width: 100%;
    min-height: 100%;
    /*padding: 10px 30px 0 30px;*/
    height: auto;
    background-image: -ms-linear-gradient(top, #F7EECE 0%, #FFE78F 100%);
    background-image: -moz-linear-gradient(top, #F7EECE 0%, #FFE78F 100%);
    background-image: -o-linear-gradient(top, #F7EECE 0%, #FFE78F 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #F7EECE), color-stop(1, #FFE78F));
    background-image: -webkit-linear-gradient(top, #F7EECE 0%, #FFE78F 100%);
    background-image: linear-gradient(to bottom, #F7EECE 0%, #FFE78F 100%);
}

.subpage{
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.no-padding{
    padding: 0 !important;
}
/* start page */

.logoContainer{
	display: flex;
	justify-content: space-between;
    position: absolute;
	padding-top: 15px;
    height: 80px;
    width: 100%;
    left: 0;
}

.swrLogo{
    width: 94px;
    height: 80px;
}

.osLogo{
    width: 104px;
	height: 80px;
}

.planetSchuleLogo{
    width: 163px;
    height: 80px;
}



/* difficulty select page */

.difficultyContent{
    font-family: "droidsans";
    font-size: 20px;
}

.difficultySelectContainer{
    padding-top: 10px;
}

.gameModeSelectContainer{
    
}

.infoBtn, .impressumBtn{
    display: block;
    height: 42px;
    width: 50px;
    position: absolute;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left top;
}

.infoBtn{
    background-image: url("../gfx/hilfe_icon.png");
}
.infoBtn:hover, .infoBtn:active{
    background-image: url("../gfx/hilfe_icon_pressed.png");
}

.impressumBtn{
    background-image: url("../gfx/button_imprint_normal.png");
}
.impressumBtn:hover, .impressumBtn:active{
    background-image: url("../gfx/button_imprint_pressed.png");
}

/* team select page */

.chooseTeamsText{
    text-align: center;
    font-size: 25px;
    line-height: 30px;
    font-family: "droidsans";
}

.teamOptionBox{
    cursor: pointer;
    height: 25%;
    width: 100%;
}

.teamOptionBox input{
    display: none;
}

.teamOptionBox span{
    font-family: "droidsans";
    display: block;
    color: white;
}

label{
    font-weight: normal;
    text-align: left;
    display: inline-block;
    width: 125px;
}

.teamSelectIndicator{
    height: 20%;
    width: 20%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.teamOptionBox .teamSelectIndicator{
    display:none;
}

.teamOptionBox.teamSelected .teamSelectIndicator{
    display:block;
}

#teamSelectPage .teamGelb .teamSelectIndicator{
    background-image: url("../gfx/select_teams_indicator_yellow.png");
}
#teamSelectPage .teamGruen .teamSelectIndicator{
    background-image: url("../gfx/select_teams_indicator_green.png");
}
#teamSelectPage .teamRot .teamSelectIndicator{
    background-image: url("../gfx/select_teams_indicator_red.png");
}
#teamSelectPage .teamBlau .teamSelectIndicator{
    background-image: url("../gfx/select_teams_indicator_blue.png");
}

/* question select "table" */

.questionSelectPage{
    padding-bottom: 150px;
}

#categoryPageBackButton{
    background-image: url("../gfx/button_universal.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
    height: 40px;
    width: 250px;
    color: white;
    text-align: center;
    line-height: 40px;
    display: block;
    margin-top: 10px;
    font-size: 20px;
    font-family: "droidsans";
}

#categoryPageBackButton:hover, #categoryPageBackButton:active{
    background-image: url("../gfx/button_universal_pressed.png");
}

.boardBg {
    background-image: url("../gfx/board_background.png");
    background-repeat: no-repeat;
    padding: 1% 2% 2% 2%;
}

.paperBg{
    background: url("../gfx/grid_background.png") left 80px no-repeat;
    background-size: 100% 100%;
    padding: 0 0.3%;
    position: relative;
}

.missingPageBg{
    background: url("../gfx/grid_overlay.png") left top no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 80px;
    width: 99.4%;
    left: 0.3%;
    z-index: 100;
    height: 15px;
}

.questionSelectColumn {
    margin-bottom: 20px;
}

.categoryHead{
    height: 80px;
    padding-bottom: 5px;
}

.categoryHead img {
    margin: auto;
    display: block;
}

#categoryTableContentHolder .questionSelectColumn:first-of-type .questionSelectCell{
    border-left: none;
}

#categoryTableContentHolder .questionSelectColumn .questionSelectCell:last-of-type{
    border-bottom: none;
}

.questionSelectCell {
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.questionSelectCell a {
    
    display: block;
    height: 100%;
    text-align: center;
    color: black;
    text-decoration: none;
}

.footerElement{
    height: 100px; 
    margin: -100px auto;
	max-width: 650px;
    display: none;
}

.footerElement a:hover, .footerElement a{
    color: black;
}

.teamScoreContent{
    margin: 0 auto; 
    max-width: 1000px; 
    width: 94%; 
    background: url('../gfx/board_team_background.png') left top no-repeat; 
    background-size: 100% 100%;
    height: 100px;
    padding: 40px 2% 0 2.5%;
}

.singleTeamScore{
    height: 50px;
    background-size: 100% 100%;
    line-height: 55px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: left top;
    color: white;
    position: relative;
    font-family: "droidsans";
    font-size: 15px;
}

.teamScore .teamGelb{
    background-image: url("../gfx/team_yellow.png");
}

.teamScore .teamRot{
    background-image: url("../gfx/team_red.png");
}

.teamScore .teamGruen{
    background-image: url("../gfx/team_green.png");
}

.teamScore .teamBlau{
    background-image: url("../gfx/team_blue.png");
}

.activeTeamArrow{
    width: 80%;
    position: absolute;
    left: 0;
    background: url("../gfx/team_indicator.png") center top no-repeat;
}

#teamScore .activeTeamArrow{
    display: none;
}
#teamScore .activeTeam .activeTeamArrow{
    display: block;
}

.questionSelectColumn .teamGelb, .questionSelectColumn .teamRot, 
.questionSelectColumn .teamGruen, .questionSelectColumn .teamBlau{
    background-repeat: no-repeat;
    background-position: center top;
    background-size: auto 100%;
}
.questionSelectColumn .teamGelb{
     background-image: url("../gfx/cross_yellow.png");
}
.questionSelectColumn .teamRot{
     background-image: url("../gfx/cross_red.png");
}
.questionSelectColumn .teamGruen{
     background-image: url("../gfx/cross_green.png");
}
.questionSelectColumn .teamBlau{
     background-image: url("../gfx/cross_blue.png");
}

/* Question page */
.questionBox{
    padding: 0 0 2% 0; 
    margin: 0 auto;
}

#questionHead, .questionHead{
    height: 80px;
    margin-bottom: 20px;
}

#teamQuestion{
    background-size: 100% 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: left top;
    color: white;
    font-size: 24px;
    font-family: "droidsans";
}

#teamQuestion.teamGelb{
    background-image: url("../gfx/team_yellow.png");
}
#teamQuestion.teamBlau{
    background-image: url("../gfx/team_blue.png");
}
#teamQuestion.teamRot{
    background-image: url("../gfx/team_red.png");
}
#teamQuestion.teamGruen{
    background-image: url("../gfx/team_green.png");
}

#secondeSubmitAnswerBtn{
    display: block;
    height: 36px;
    width: 36px;
    background-image: url("../gfx/eingabe_check.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
}

.questionImageBox{
    text-align: center;
    max-width: 340px; 
    width: 100%;
    margin:auto;
}

.questionImageBox.hasAnswer{
    background: url("../gfx/answer_background.png") left top no-repeat;
    background-size: 100% 100%;
}

.questionAnswer, #questionAudio, #solution{
    width: 100%;
    margin: 0 auto;
    font-family: "Arial";
}

#solution{
    text-align: center;
    font-size: 20px;
    height: 35px;
    line-height: 35px;
}

.questionAnswer{
    background-position: 75% top;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.questionAnswerLeft{
    width: 35px;
    float:left;
}

.questionAnswerRight{
    width: 35px;
    float:right;
}

.questionAnswerCenter{
    padding: 0 35px;
    
}

.questionAnswer.rightAnswer{
    background-image: url("../gfx/answer_right.png");
}

.questionAnswer.wrongAnswer{
    background-image: url("../gfx/answer_wrong.png");
}

#rightAnswer{
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    height: 30px;
}

.questionAnswer input {
    width: 40%;
    margin: auto;
    border-width: 0 0 1px 0;
    border-color: grey;
    background-color: transparent;
    padding: 5px 10px;
    display: block;
}

#questionAudio{
    overflow: hidden;
    width: 130px;
    margin: 10px auto 0 auto;
    
}

#playAudio{
    display: block;
    width: 73px;
    height: 40px;
    background: url("../gfx/play.png") left top no-repeat;
    background-size: 100% auto;
    float:right;
    text-indent: -99999px;
}

#playAudio:hover, #playAudio.active {
    background-image: url("../gfx/play_hl.png")
}

#stopAudio{
    display: block;
    width: 34px;
    height: 37px;
    background: url("../gfx/stop.png") left top no-repeat;
    background-size: 100% auto;
    float:left;
    text-indent: -99999px;
}

#stopAudio:hover, #stopAudio.active {
    background-image: url("../gfx/stop_hl.png")
}

.bottomBtnContainer{
    display: none;
    height: 100px;
    padding-top: 20px;
}

.buttonBottomRight, .buttonBottomLeft{
    background-size: 100% 100%;
    background-position: left top;
    background-repeat: no-repeat;
    line-height: 30px;
    display: inline-block;
    color: black;
    max-width: 48%;
    text-align: center;
}

.buttonBottomRight{
    float: right;
    background-image: url("../gfx/button_universal_footer_right.png");
}

.buttonBottomLeft{
    float: left;
    background-image: url("../gfx/button_universal_footer_left.png");
    padding: 30px 50px 20px 70px;
}

.buttonBottomRight:hover, .buttonBottomRight:focus{
    text-decoration: none;
    background-image: url("../gfx/button_universal_footer_right_pressed.png");
}

.buttonBottomLeft:hover, .buttonBottomLeft:focus{
    text-decoration: none;
    background-image: url("../gfx/button_universal_footer_left_pressed.png");
}

/* result page */
#resultPage{
    
}

.resultContent{
    background: url("../gfx/starfield.png") left top no-repeat;
    background-size: 100% 100%;
}

.resultRow{
    overflow: hidden;
    height: 33%;
    
}

.resultCol{
    width: 33%;
    float: left;
    height: 100%;
}

.resultTeamScore{
    text-align: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
}

#winnerText{
    text-align: center;
    font-size: 20px;
}

.resultCol.teamGelb{
    background-image: url("../gfx/winner_team_yellow.png");
}
.resultCol.teamRot{
    background-image: url("../gfx/winner_team_red.png");
}
.resultCol.teamBlau{
    background-image: url("../gfx/winner_team_blue.png");
}
.resultCol.teamGruen{
    background-image: url("../gfx/winner_team_green.png");
}

.resultCol .centeredText{
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    line-height: 20px;
    font-size: 20px;
    margin-top: -10px;
}

/* info page */
.infoTextBox{
    padding: 10px 10px 10px 10px; 
    margin: 0 auto;
    overflow: auto;
    font-family: "Arial";
}

.infoTextBox h1{
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.boardHeadline{
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    margin: 0;
    color: white;
    padding-left: 2%;
}

/* 5 column bootstrap row */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 0;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}


/* tracking */
.planet_schule_de_tracking{
    position:absolute;
    left:0;
    top:0;
    z-index: 99999999;
}

embed {
    position:absolute;
    top: 0;
}