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

html,
body {
    background-color: #003300;
    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;
}

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

.skinframeselected {
    width: 140px;
    height: 216px;
    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;
}

.skinLockedButton {
    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: #2266bb;
    border: 0;
    cursor: default;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

.skinBuyButton {
    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: #aa1111;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

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

#confirmBuyButton {
    position: absolute;
    bottom: 1px;
    width: 192px;
    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: #aa1111;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

#confirmBuyButton:active,
#confirmBuyButton:hover {
    bottom: 0px;
    background: #770000;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#confirmBuyDialog {
    display: none;
    width: 256px;
    height: 192px;
    overflow: hidden;
    position: absolute;
    padding: 8px;
    border-radius: 8px;
    border: 2px solid #bbbbbb;
    background: rgba(255, 255, 255, 0.9);
    color: #FFF;
    font-size: 12px;
    top: 64px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

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

#startMenuLogin {
    position: absolute;
    width: 260px;
    height: 210px;
    top: 216px;
    right: 25%;
    left: 50%;
    margin-left: -468px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
}

#startMenuLogin2 {
    display: none;
    position: absolute;
    width: 260px;
    height: 210px;
    top: 216px;
    right: 25%;
    left: 50%;
    margin-left: -468px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
}

#startMenuAd {
    position: absolute;
    display: block;
    width: 260px;
    height: 144px;
    top: 216px;
    right: 25%;
    left: 50%;
    margin-left: 168px;
}

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

#startMenuAdBottom {
    position: absolute;
    width: 728px;
    height: 90px;
    bottom: 32px;
    right: 25%;
    left: 50%;
    margin-left: -364px;
}

#buyCoinsButton {
    position: relative;
    width: 192px;
    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;
}

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

#buyCoinsButtonMain {
    position: relative;
    width: 96px;
    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;
}

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

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

#skinSelectButton {
    position: relative;
    margin: 15%;
    margin-top: 4px;
    width: 70%;
    height: 48px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #009000;
    border: 0;
    cursor: pointer;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    margin-bottom: 10px;
}

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

#skinSelectButton2 {
    position: absolute;
    margin: auto;
    bottom: 16px;
    width: 260px;
    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: #ff4444;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#skinSelectButton2:active,
#skinSelectButton2:hover {
    bottom: 15px;
    background: #991111;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#mobileBox {
    position: absolute;
    display: none;
    width: 192px;
    left: 0px;
    margin-left: 5%;
    bottom: 16px
}

.quotes {
    display: none;
    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);
}

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

#kills {
    display: none;
    position: absolute;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    color: #FFF;
    font-size: 16px;
    bottom: 10px;
    left: 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: 32px;
    left: 16px;
    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;
    top: 16px;
    left: 16px;
}

#startMenuTeams {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 15%;
    max-width: 256px;
}



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

#startMenu {
    position: relative;
    margin: auto;
    margin-top: 144px;
    width: 300px;
    padding: 24px;
    padding-top: 24px;
    padding-bottom: 16px;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    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 #cdcdcd;
    transition: box-shadow 0.3s, border 0.3s;
    box-sizing: border-box;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    margin-bottom: 4px;
    outline: none;
}

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

#startButton {
    position: relative;
    margin: 15%;
    margin-top: 4px;
    width: 70%;
    height: 48px;
    box-sizing: border-box;
    font-size: large;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #900000;
    border: 0;
    cursor: pointer;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    margin-bottom: 10px;
}

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

#logo {
    width: 45%;
    max-width: 660px;
    height: auto;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 32px;
    margin: auto;
}

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

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

#startMenuMoreIO {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: #009000;
    padding: 6px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
}

#startMenuMoreIO:active,
#startMenuMoreIO:hover {
    bottom: 11px;
    background: #007700;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.sprite {
    background-image: url(../img/shop/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    background-size: 2176px;
    position: absolute;
    top: 32px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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