* {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);	
}

html,
body,
#scoreboard,
#submit-score,
#src-code {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#preloader {
    width: 100%;
    height: 100%;
    background-image: url('ajax-loader.gif');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

body {
    background: #232927;
}

@font-face {
    font-family: bauhaus_93;
	src: url('./BAUHS93.eot');
	src: local('BAUHS93'), url('./BAUHS93.woff') format('woff'), url('./BAUHS93.ttf') format('truetype');
}

#swiffycontainer {
    position: relative;
    width: 550px;
    height: 500px;
    transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
}

#scoreboard,
#submit-score,
#src-code h1,
#src-code .btn {
    font-family: bauhaus_93;
}

#scoreboard,
#submit-score,
#src-code {
    position: absolute;
    z-index: 1;
    top: 0;
    display: none;
    background: rgba(255,255,255,0.5);
}

#src-code {
    overflow: hidden;
}

#src-code > section {
    background: white;
    overflow: hidden;
}

#src-code > section > div {
    margin: 0;
    padding: 0 1em;
    height: 400px;
    font-size: 22px;
    background: white;
    overflow-x: hidden;
    overflow-y: auto;
}

#scoreboard > .list > table {
    width: 500px;
    background: #FFF;
    border-collapse: collapse;
    border: 0;
    text-align: center;
    word-break: break-all;
}

#src-code > section,
#scoreboard > .list {
    width: 500px;
    background-color: white;
    margin: 20px auto 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#scoreboard > .list {
    margin: 54px auto 0;
    height: 400px;
}

.btn,
#src-code h1,
#scoreboard > .list > table > thead {
    background: #333;
    display: block;
    color: white;
    line-height: 34px;
    font-size: 24px;
    text-transform: uppercase;
    color: yellow;
    text-align: center;
}

.btn {
    cursor: pointer;
    width: 100px;
}

#scoreboard > .list > table > thead {
    position: absolute;
    top: 20px;
}

#scoreboard > .list td {
    padding: 0;
}

#scoreboard > .list tbody tr {
    font-size: 22px;
    border-bottom: 1px solid #333;
}

#scoreboard > .list tbody tr:first-child {
    color: red;
}

#scoreboard > .list col:nth-of-type(1),
#scoreboard > .list thead td:nth-of-type(1) {
    width: 30px;
}

#scoreboard > .list col:nth-of-type(2),
#scoreboard > .list thead td:nth-of-type(2) {
    width: 60px;
}

#scoreboard > .list col:nth-of-type(3),
#scoreboard > .list thead td:nth-of-type(3) {
    width: 200px;
}

#scoreboard > .list col:nth-of-type(4),
#scoreboard > .list thead td:nth-of-type(4) {
    width: 120px;
}

#scoreboard > .list thead td:nth-of-type(5) {
    width: 90px;
}

#scoreboard > .list tbody td:nth-of-type(5) {
    text-align: right;
    padding-right: 20px;
}

.checkbox {
    position: relative;
    margin: auto;
    background: white;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    outline: 3px solid grey;
    background: white;
}

.checked .checkbox {
    background: grey;
}

#scoreboard > .scoreboard-btns {
    position: relative;
    width: 500px;
    margin: 0 auto;
}

#scoreboard .close-btn {
    right: 0;
}

#scoreboard > .scoreboard-btns > .btn {
    position: absolute;
}

#submit-score.displayed,
#scoreboard.displayed,
#src-code.displayed {
    display: block;
}

#src-code h1 {
    margin: 0;
    text-align: center;
}

#src-code .close-btn {
    margin: 0 auto;
}

#sponsor-link {
    position: absolute;
    margin: 8px 12px;
    z-index: 1;
}

#sponsor-link a:link,
#sponsor-link a:visited,
#sponsor-link a:active {
    color: #F6748A;
    font-size: 20px;
    font-weight: bolder;
    -webkit-text-stroke: 1px #E33A58;
    text-stroke: 1px #E33A58;
}

#submit-score > div:first-child {
    position: relative;
    width: 300px;
    margin: 200px auto 0;
    padding: 2ex 50px;
    background: white;
}

#submit-score > div:first-child > * {
    display: block;
    margin: 0 auto;
    font-size: 22px;
    text-align: center;
}

#submit-score .btn {
    margin: 0 auto;
}

#submit-score input {
    margin: 0 auto;
}

#submit-score input ,
#submit-score label {
    width: 100%;
}