#fullscreenButton {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 16px;
    right: 16px;
    z-index: 20;
    cursor: pointer;
    background-color: rgba(33, 34, 36, .75);
    background-image: url("../img/button-fullscreen.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center center;
}
#playAudioButton {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 16px;
    right: 64px;
    z-index: 20;
    cursor: pointer;
    background-color: rgba(33, 34, 36, .75);
    background-image: url("../img/button-audio.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center center;
}
#animationSelector {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 20;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius: 4px;
    -webkit-box-shadow: 0 3px 0 #000, 0 -1px #000 inset;
    -moz-box-shadow: 0 3px 0 #000, 0 -1px #000 inset;
    box-shadow: 3px 3px 9px 0px #000, 0 -1px rgba(0, 0, 0, 0.12) inset;
    background: #f8f8f8;
    color:#333;
    border:none;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    cursor:pointer;
    font-family: 'Lato', sans-serif;
    font-size: large;
    text-align-last: center;
    text-align: center;
    padding: 6px;
}


label {position:relative}
label:after {
    content:'<>';
    font:11px "Consolas", monospace;
    color:#aaa;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    transform:rotate(90deg);
    right:8px; top:2px;
    padding:0 0 2px;
    border-bottom:1px solid #ddd;
    position:absolute;
    pointer-events:none;
}
label:before {
    content:'';
    right:6px; top:0px;
    width:20px; height:20px;
    background:#f8f8f8;
    position:absolute;
    pointer-events:none;
    display:block;
}

#audioOnButton {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 16px;
    right: 64px;
    z-index: 20;
    cursor: pointer;
    background-color: rgba(33, 34, 36, .75);
    background-image: url("../img/sound-on.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center center;
}
#audioOffButton {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 16px;
    right: 64px;
    z-index: 20;
    cursor: pointer;
    background-color: rgba(33, 34, 36, .75);
    background-image: url("../img/sound-off.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center center;
}
#actionButton {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: 32px;
    left: 16px;
    z-index: 1;
    cursor: pointer;
    background-color: rgba(33, 34, 36, .0);
    background-image: url("../img/fist.png");
    background-size: 64px 64px;
    background-repeat: no-repeat;
    background-position: center center;
}
@media all and (max-width: 640px) {
    #fullscreenButton {
        top: 8px;
        right: 8px;
    }
    #playAudioButton {
        top: 8px;
        right: 48px;
    }
    #audioOnButton {
        top: 8px;
        right: 48px;
    }
    #audioOffButton {
        top: 8px;
        right: 48px;
    }
    #actionButton {
        bottom: 32px;
        left: 8px;
    }
}

body {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    margin: 0;
    color: #666;
}

#stats {
    position: absolute;
    font-size: 12px;
    color: white;
    top: 15px;
    left: 15px;

    z-index: 20;
    font-weight: bold;
    font-family: "Arial Narrow", Arial, sans-serif;
    text-shadow: 2px 2px black;
}

/* Typography */
h1#title {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 3.2em;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
    padding-top: 180px;
    max-width: 300px;
    text-align: center;
    position: relative;
    top: 0px;
}

h1#title span span {
    font-weight: 400;
}

h2 {
    text-transform: uppercase;
    color: white;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 1.4em;
    line-height: 2.8em;
    margin: 0;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: #666;
}

a:hover {
    color: #aeaeae;
}

p.small {
    font-size: 1.0em;
    margin: 20px 0 0;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.4);
    color: #000000;
}

/* Layout */
.ui-container {
    margin: 0;
    padding: 0;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
}

.selected {
    color: #665851 !important;
    transition: 0.5s;
}

.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    position: relative;
}

.center-horizontal {
    transform: translate(-50%, 0%);
    left: 50%;
    margin: 0;
    position: relative;
}

.center-vertical {
    transform: translate(0%, -50%);
    top: 50%;
    margin: 0;
    position: relative;
}
.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
}

.screen-dimmer {
    background-color: black;
    filter: alpha(opacity=80);
    opacity: 0.8;
    -moz-opacity: 0.80;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
    visibility: visible;
    display: none;
}

.unselectable {
    pointer-events: all;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.nametag {
    position: absolute;
    text-align: center;
    color: #ffd426;
    opacity: .9;
    background-color: transparent;
    transform: translate(-50%, -200%);

}

/* Layout */



.login-box {
    background-color: white;
    padding-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 50px rgba(0,0,0,0.4);
    text-align: center;
    z-index: 20;
    max-width: 300px;
    min-width: 300px;
    position: relative;
}



.login-box .box-header {
    background-color: #665851;
    margin-top: 0;
    border-radius: 5px 5px 0 0;
    top:0;
    position:relative;

}

.login-box label {
    font-weight: 700;
    font-size: .8em;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 2em;
}

.login-box input {
    margin-bottom: 20px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: .9em;
    color: #888;

}

.login-box input:focus {
    outline: none;
    border-color: #665851;
    transition: 0.5s;
    color: #665851;
}

.login-box button {
    margin-top: 0px;
    border: 0;
    border-radius: 2px;
    color: white;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.7em;
    letter-spacing: 1px;
    background-color: #665851;
    cursor:pointer;
    outline: none;
}

.login-box select {
    margin-bottom: 20px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: .9em;
    color: #888;
}
.login-box button:hover {
    opacity: 0.7;
    transition: 0.5s;
}

.login-box button:hover {
    opacity: 0.7;
    transition: 0.5s;
}


.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
}
