* {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
}

html,
body {
    background-color: #002239;
}

html,
body,
canvas {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

div {
    -webkit-user-select: none;
    /* webkit (safari, chrome) browsers */
    -moz-user-select: none;
    /* mozilla browsers */
    -khtml-user-select: none;
    /* webkit (konqueror) browsers */
    -ms-user-select: none;
    /* IE10+ */
}

.fade {
    opacity: 0.8;
    transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -webkit-transition: opacity .15s ease-in-out;
}

.fade:hover {
    opacity: 1;
}

.quotes {
    display: none;
    text-align: center;
}

#status {
    position: absolute;
    padding: 10px;
    background: rgba(0, 0, 0, 0);
    color: #FFF;
    font-size: 16px;
    top: 10px;
    right: 10px;
    text-align: center;
}

#credits2 {
    position: absolute;
    padding: 0px;
    height: 48px;
    background: rgba(0, 0, 0, 0);
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    bottom: 176px;
    left: 10px;
    display: none;
}

#credits {
    position: absolute;
    padding: 0px;
    height: 160px;
    background: rgba(0, 0, 0, 0);
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    bottom: 10px;
    left: 10px;
    display: none;
}

#credits a {
    display: block;
    margin: 4px;
}

#scoreline1 {
    color: #ff8888;
}

.scorelineme {
    color: #88ff88;
}

.scoreline {
    color: #ffffff;
}

#score {
    color: #ffffaa;
    font-weight: bold;
}

#endMenuWrapper {
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
    overflow: hidden;
    display: block;
}

#endMenu {
    position: relative;
    margin: auto;
    margin-top: 12px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    overflow: hidden;
    display: none;
}

#endMenu p {
    padding: 0;
    text-align: center;
    font-size: x-large;
    font-weight: bold;
}

#startMenuSM {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

#startMenuTeams {
    position: absolute;
    top: 128px;
    right: 16px;
    width: 15%;
    max-width: 200px;
    height: 50%;
    max-height: 196px;
    overflow: auto;
}

#superspinposter {
    position: absolute;
    width: 320px;
    bottom: 48px;
    right: 25%;
    left: 50%;
    margin-left: -160px;
}

#startMenuAd {
    position: absolute;
    width: 300px;
    height: 250px;
    top: 192px;
    right: 25%;
    left: 50%;
    margin-left: -468px;
}

#startMenuAd2 {
    position: absolute;
    display: block;
    width: 300px;
    height: 250px;
    top: 192px;
    left: calc(50% - 464px);
}

#partnerlist {
    width: calc(100% - 16px);
}

.partnerlistelement {
    cursor: pointer;
    float: left;
    width: 100%;
    color: #ffffff;
    text-decoration: none;
}


@media screen and (max-width: 912px) {
    #startMenuAd2 {
        display: none;
    }
}

#startMenuContact {
    position: relative;
    width: 120px;
    float: right;
}

#startMenuContact3 {
    position: relative;
    width: 120px;
    float: left;
}

#startMenuContact2 {
    position: absolute;
    width: 250px;
    bottom: 8px;
    right: 25%;
    left: 50%;
    margin-left: -125px;
}

.infobox {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -khtml-user-select: auto;
    -ms-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    display: none;
    width: 50%;
    max-height: 500px;
    overflow: hidden;
    position: absolute;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFF;
    font-size: 12px;
    top: 96px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: left;
}

#startMenuDownload {
    position: relative;
    margin: auto;
    margin-top: 64px;
    width: 640px;
    padding: 20px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    box-sizing: border-box;
}

#startMenu {
    position: relative;
    margin: auto;
    margin-top: 128px;
    width: 350px;
    padding: 20px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    box-sizing: border-box;
}

#startMenu p {
    padding: 0;
    text-align: center;
    font-size: x-large;
    font-weight: bold;
}

#playerNameInput {
    width: 100%;
    text-align: center;
    padding: 10px;
    border: solid 1px #dcdcdc;
    transition: box-shadow 0.3s, border 0.3s;
    box-sizing: border-box;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
    outline: none;
}

#playerNameInput:focus,
#playerNameInput.focus {
    border: solid 1px #CCCCCC;
    box-shadow: 0 0 3px 1px #DDDDDD;
}

#startButton {
    position: relative;
    margin: auto;
    margin-top: 10px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #55aaff;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

#startButton:active,
#startButton:hover {
    top: 1px;
    background: #0077ff;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#customButtonWrapper {
    position: relative;
    margin: auto;
    margin-top: 10px;
    width: 60%;
}

#customButton {
    position: relative;
    margin: auto;
    margin-top: 10px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #55aa00;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

#customButton:active,
#customButton:hover {
    top: 1px;
    background: #007700;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#logo {
    width: 65%;
    max-width: 960px;
    height: auto;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 54px;
    margin: auto;
}

#doneMenu {
    position: relative;
    margin: auto;
    margin-top: 32px;
    width: 192px;
    padding: 20px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    box-sizing: border-box;
}

#doneButton {
    position: relative;
    margin: auto;
    margin-top: 10px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #55aaff;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

#doneButton:active,
#doneButton:hover {
    top: 1px;
    background: #0077ff;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#bigCustomWrapper {
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
    overflow: hidden;
    display: none;
    width: 100%;
}

#startMenuWrapper {
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
    overflow: hidden;
    display: none;
}

#startMenu h3 {
    padding-bottom: 0;
    margin-bottom: 0;
}

#startMenu ul {
    margin: 10px;
    padding: 10px;
    margin-top: 0;
}

#startMenu .input-error {
    text-align: center;
    color: red;
    opacity: 0;
    font-size: 12px;
}

#startMenuWrapper {
    z-index: 2;
}

#previousPageBtn {
    position: absolute;
    width: 96px;
    height: 32px;
    top: 526px;
    left: 32px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #aa4422;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#previousPageBtn:active,
#previousPageBtn:hover {
    top: 525px;
    background: #882200;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#nextPageBtn {
    position: absolute;
    width: 96px;
    height: 32px;
    top: 526px;
    left: 214px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #aa4422;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#nextPageBtn:active,
#nextPageBtn:hover {
    top: 525px;
    background: #882200;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#customWrapper {
    position: absolute;
    color: white;
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
    overflow: hidden;
    z-index: 3;
    top: 38px;
    left: 32px;
}

#flagsDiv {
    float: left;
    width: 380px;
    height: 78px;
}

#flagname {
    font-size: 20px;
    color: white;
}

#flagnameInput {
    width: 128px;
    padding: 10px;
    border: solid 1px #dcdcdc;
    transition: box-shadow 0.3s, border 0.3s;
    box-sizing: border-box;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 4px;
    outline: none;
}

#flagnameInput:focus,
#flagnameInput.focus {
    border: solid 1px #CCCCCC;
    box-shadow: 0 0 3px 1px #DDDDDD;
}

#game {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}