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

html,
body {
    background-color: #222222;
    overflow: hidden;
}

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;
}

#skinList {
    height: calc(100% - 112px);
    max-height: 446px;
    overflow: auto;
    position: absolute;
    margin-left: 16px;
    margin-right: 16px;
    left: 0;
    right: 0;
    top: 56px;
    overflow-x: hidden;
}

.skinframe {
    width: 140px;
    height: 186px;
    overflow: hidden;
    position: absolute;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
}

.skinframeselected {
    width: 140px;
    height: 186px;
    overflow: hidden;
    position: absolute;
    padding: 8px;
    border-radius: 8px;
    background: rgba(155, 0, 0, 0.6);
}

.skinSelectButton {
    position: absolute;
    bottom: 8px;
    left: 20px;
    width: 120px;
    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: #aa22ff;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

.skinSelectButton:active,
.skinSelectButton:hover {
    bottom: 7px;
    background: #770099;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#skinSelector {
    display: none;
    width: 692px;
    height: 80%;
    max-height: 542px;
    overflow: hidden;
    position: absolute;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #FFF;
    font-size: 12px;
    top: 32px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.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;
}

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

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

.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;
    pointer-events: none;
}

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

#startMenuAd {
    position: absolute;
    display: block;
    width: 260px;
    height: 120px;
    top: 192px;
    right: 25%;
    left: 50%;
    margin-left: 168px;
    background-color: rgba(0, 0, 0, 0.0);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#startMenuAd2 {
    position: absolute;
    display: block;
    width: 300px;
    height: 250px;
    top: 192px;
    right: calc(50% + 40px);
    margin-right: 128px;
}



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

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

#skinSelectDoneButton {
    position: relative;
    width: 128px;
    bottom: 0px;
    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: #009900;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#skinSelectDoneButton:active,
#skinSelectDoneButton:hover {
    bottom: -1px;
    background: #005500;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#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: 100%;
    height: 40px;
}

#customButton {
    position: relative;
    margin: auto;
    margin-top: 10px;
    margin-right: 5%;
    width: 40%;
    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: #8800ff;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
    float: right;
}

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

#skinSelectButton {
    position: relative;
    margin: auto;
    margin-top: 10px;
    margin-left: 5%;
    width: 40%;
    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: #cc2222;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
    float: left;
}

#skinSelectButton:active,
#skinSelectButton:hover {
    top: 1px;
    background: #991111;
    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: #8800ff;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#previousPageBtn:active,
#previousPageBtn:hover {
    top: 525px;
    background: #440088;
    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: #8800ff;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

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

#toggleSecondaryBtn {
    position: absolute;
    width: 128px;
    height: 32px;
    top: 410px;
    right: 24px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #8800ff;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#toggleSecondaryBtn:active,
#toggleSecondaryBtn:hover {
    top: 411px;
    background: #440088;
    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%;
}

.sprite {
    background-image: url(../img/shop/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    background-size: 4216px;
}

.sprite2 {
    background-image: url(../img/shop/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    background-size: 1984px;
}

.sprite-skin1 {
    width: 136px;
    height: 136px;
    background-position: 0 0;
}

.sprite-skin10 {
    width: 136px;
    height: 136px;
    background-position: -136px 0;
}

.sprite-skin11 {
    width: 136px;
    height: 136px;
    background-position: -272px 0;
}

.sprite-skin12 {
    width: 136px;
    height: 136px;
    background-position: -408px 0;
}

.sprite-skin13 {
    width: 136px;
    height: 136px;
    background-position: -544px 0;
}

.sprite-skin14 {
    width: 136px;
    height: 136px;
    background-position: -680px 0;
}

.sprite-skin15 {
    width: 136px;
    height: 136px;
    background-position: -816px 0;
}

.sprite-skin16 {
    width: 136px;
    height: 136px;
    background-position: -952px 0;
}

.sprite-skin17 {
    width: 136px;
    height: 136px;
    background-position: -1088px 0;
}

.sprite-skin18 {
    width: 136px;
    height: 136px;
    background-position: -1224px 0;
}

.sprite-skin19 {
    width: 136px;
    height: 136px;
    background-position: -1360px 0;
}

.sprite-skin2 {
    width: 136px;
    height: 136px;
    background-position: -1496px 0;
}

.sprite-skin20 {
    width: 136px;
    height: 136px;
    background-position: -1632px 0;
}

.sprite-skin21 {
    width: 136px;
    height: 136px;
    background-position: -1768px 0;
}

.sprite-skin22 {
    width: 136px;
    height: 136px;
    background-position: -1904px 0;
}

.sprite-skin23 {
    width: 136px;
    height: 136px;
    background-position: -2040px 0;
}

.sprite-skin24 {
    width: 136px;
    height: 136px;
    background-position: -2176px 0;
}

.sprite-skin25 {
    width: 136px;
    height: 136px;
    background-position: -2312px 0;
}

.sprite-skin26 {
    width: 136px;
    height: 136px;
    background-position: -2448px 0;
}

.sprite-skin3 {
    width: 136px;
    height: 136px;
    background-position: -2584px 0;
}

.sprite-skin4 {
    width: 136px;
    height: 136px;
    background-position: -2720px 0;
}

.sprite-skin5 {
    width: 136px;
    height: 136px;
    background-position: -2856px 0;
}

.sprite-skin6 {
    width: 136px;
    height: 136px;
    background-position: -2992px 0;
}

.sprite-skin7 {
    width: 136px;
    height: 136px;
    background-position: -3128px 0;
}

.sprite-skin8 {
    width: 136px;
    height: 136px;
    background-position: -3264px 0;
}

.sprite-skin9 {
    width: 136px;
    height: 136px;
    background-position: -3400px 0;
}

.sprite-skin0 {
    width: 136px;
    height: 136px;
    background-position: -3536px 0;
}

.sprite-skin27 {
    width: 136px;
    height: 136px;
    background-position: -3672px 0;
}

.sprite-skin28 {
    width: 136px;
    height: 136px;
    background-position: -3808px 0;
}

.sprite-skin29 {
    width: 136px;
    height: 136px;
    background-position: -3944px 0;
}

.sprite-skin30 {
    width: 136px;
    height: 136px;
    background-position: -4080px 0;
}

.sprite2-skin1 {
    width: 136px;
    height: 136px;
    background-position: 0 0;
}

.sprite2-skin10 {
    width: 136px;
    height: 136px;
    background-position: -64px 0;
}

.sprite2-skin11 {
    width: 136px;
    height: 136px;
    background-position: -128px 0;
}

.sprite2-skin12 {
    width: 136px;
    height: 136px;
    background-position: -192px 0;
}

.sprite2-skin13 {
    width: 136px;
    height: 136px;
    background-position: -256px 0;
}

.sprite2-skin14 {
    width: 136px;
    height: 136px;
    background-position: -320px 0;
}

.sprite2-skin15 {
    width: 136px;
    height: 136px;
    background-position: -384px 0;
}

.sprite2-skin16 {
    width: 136px;
    height: 136px;
    background-position: -448px 0;
}

.sprite2-skin17 {
    width: 136px;
    height: 136px;
    background-position: -512px 0;
}

.sprite2-skin18 {
    width: 136px;
    height: 136px;
    background-position: -576px 0;
}

.sprite2-skin19 {
    width: 136px;
    height: 136px;
    background-position: -640px 0;
}

.sprite2-skin2 {
    width: 136px;
    height: 136px;
    background-position: -704px 0;
}

.sprite2-skin20 {
    width: 136px;
    height: 136px;
    background-position: -768px 0;
}

.sprite2-skin21 {
    width: 136px;
    height: 136px;
    background-position: -832px 0;
}

.sprite2-skin22 {
    width: 136px;
    height: 136px;
    background-position: -896px 0;
}

.sprite2-skin23 {
    width: 136px;
    height: 136px;
    background-position: -960px 0;
}

.sprite2-skin24 {
    width: 136px;
    height: 136px;
    background-position: -1024px 0;
}

.sprite2-skin25 {
    width: 136px;
    height: 136px;
    background-position: -1088px 0;
}

.sprite2-skin26 {
    width: 136px;
    height: 136px;
    background-position: -1152px 0;
}

.sprite2-skin3 {
    width: 136px;
    height: 136px;
    background-position: -1216px 0;
}

.sprite2-skin4 {
    width: 136px;
    height: 136px;
    background-position: -1280px 0;
}

.sprite2-skin5 {
    width: 136px;
    height: 136px;
    background-position: -1344px 0;
}

.sprite2-skin6 {
    width: 136px;
    height: 136px;
    background-position: -1408px 0;
}

.sprite2-skin7 {
    width: 136px;
    height: 136px;
    background-position: -1472px 0;
}

.sprite2-skin8 {
    width: 136px;
    height: 136px;
    background-position: -1536px 0;
}

.sprite2-skin9 {
    width: 136px;
    height: 136px;
    background-position: -1600px 0;
}

.sprite2-skin0 {
    width: 136px;
    height: 136px;
    background-position: -1664px 0;
}

.sprite2-skin27 {
    width: 136px;
    height: 136px;
    background-position: -1728px 0;
}

.sprite2-skin28 {
    width: 136px;
    height: 136px;
    background-position: -1792px 0;
}

.sprite2-skin29 {
    width: 136px;
    height: 136px;
    background-position: -1856px 0;
}

.sprite2-skin30 {
    width: 136px;
    height: 136px;
    background-position: -1920px 0;
}