body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    display: block;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    top: 0;
    left: 0;
}

.outerWrapper {
    background: #000000;
    /*background: #233a4c;*/
    /*background: -moz-radial-gradient(center, ellipse cover, #233a4c 0%, #080f15 100%);*/
    /*background: -webkit-radial-gradient(center, ellipse cover, #233a4c 0%,#080f15 100%);*/
    /*background: radial-gradient(ellipse at center, #233a4c 0%,#080f15 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#233a4c', endColorstr='#080f15',GradientType=1 );*/
    width: 100%;
    height: 100%;
    display: table;
    white-space: nowrap;
    position: absolute;
}

.autostartPanel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.innerWrapper {
    vertical-align: middle;
    z-index: 99998;
    left: 0;
    padding: 0;
    top: 0;
    margin: 0 auto;
    display: table-cell;
    font-size:0;
}

#loaderStatic {
    background-image: url(../images/loader_bg.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

#controlButtons {
    position: fixed;
    z-index: 99999;
    width: 100%;
}

#controlButtons > div {
    float: right;
    padding: 10px;
}

#onscreenClockWrapper {
    position: fixed;
    z-index: 99999;
    width: 100%;
}

#onscreenClockWrapper > div {
    padding: 10px;
}

.onscreenClock {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    height: 40px;
    width: 120px;
    font-size: 16px;
    font-family: sans;
    color: white;
    position: absolute;
    left: 0px;
    top: 10px;
}

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

.sessionInfo {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    height: 50px;
    width: 390px;
    text-align: left;
    font-size: 16px;
    font-family: sans;
    color: white;
    position: absolute;
    left: 130px;
    top: 10px;
}

.sessionInfoTimer {
    top: 32%;
    left: 60%;
    position: relative;
    transform: translate(-50%, -50%);
}

.sessionInfoTimerIcon {
    top: 7px;
    left: 15px;
    position: absolute;
    height: 16px;
}

.sessionInfoResult {
    top: 35%;
    left: 54%;
    position: relative;
    transform: translate(-50%, -50%);
}

.controlButton {
    background-image: url(../images/control_icons.png);
    background-position: 0 0;
    display: inline-block;
    width: 41px;
    height: 40px;
    cursor: pointer;
    opacity: 0.7;
    display: none;
}

.controlButton:hover {
    opacity: 1;
}

.menu{
    font-size: 16px;
    font-family: sans;
    display: inline-block;
    position: relative;
    opacity: 0.7;
    border-radius: 999px;
    color: #EEE;
}
#controlButtons .menu.open:after{
    content: '';
    position: absolute;
    right: 100%;
    margin-right: -8px;
    bottom: -8px;
    width: 8px;
    height: 8px;
    border-right: 8px solid #111;
    border-bottom: 8px solid #111;
    border-bottom-right-radius: 16px;
}
#controlButtons .menu.open{
    border-radius: 999px 999px 0 0;
}
.menu.open{
    background-color: #111;
    opacity: 1;
}
.menu.open>div{
    display: block;
    cursor: default;
}

.menu>div{
    display: none;
    position:absolute;
    top:100%;
    right: 0;
    width: 16em;
    background: #111;
    border-radius: 8px;
}
#controlButtons .menu>div{
    border-radius: 8px 0 8px 8px;
}
.menu div>div:not(:first-child){
    border-top: 1px solid #FFF;
}
.menu div>div{
    padding: 0.5em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    text-align: center;
    text-transform: uppercase;
}
.menu header{
  margin-bottom: 0.5em;
  margin-top: 0.25em;
}
.menu label{
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    text-transform: none;
    font-variant: small-caps;
}

.switch{
  font-size: 1.1em;
}
.switch i{
    display: inline-block;
    position:relative;
    width: 4em;
    height: 1.5em;
    vertical-align: middle;

    border: 1px solid #EEE;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 0.1em;
    border-radius: 1em;
    margin: 0 0.5em;
}
.switch input{
    display:none;
}
.switch i:after{
    display: block;
    position: absolute;
    left: -0.2em;
    right: auto;
    height: 2em;
    width: 2em;
    top: calc(-0.25em - 1px);
    background: #EEE;
    border-radius: 999px;
    content: ' ';
}
.switch:hover i:after{
    -webkit-box-shadow: 0 0 3px 1px #0FF;
            box-shadow: 0 0 3px 1px #0FF;
}
.switch input:checked + i:after{
    right: -0.2em;
    left: auto;
}

.option{
    display: inline-block;
    width: 50%;
    padding: 0.2em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.option span{
    display: inline-block;
    width: 100%;
    border: 1px solid #EEE;
    border-radius: 0.5em;
    line-height: 2em;
}
.option input{
    display:none;
}
.option input:checked+span{
    text-shadow: 0 0 3px #0FF;
    -webkit-box-shadow: 0 0 3px 3px #0FF;
            box-shadow: 0 0 3px 3px #0FF;
    border-color: transparent;
}
.option input:not(:checked)+span:hover{
    -webkit-box-shadow: 0 0 2px 1px #0FF;
            box-shadow: 0 0 2px 1px #0FF;
    border-color: transparent;
}
.menu .optional{
    display: inline-block;
    width: 100%;
    height: 1.5em;
}
.menu .optional>label{
    float: left;
}
.menu .optional>label>input{
    vertical-align: middle;
    margin-left: 0.5em;
}
.menu .optional>input{
    float: right;
    width: 35%;
    text-align: right;
    border:none;
}
.menu .optional>input:disabled{
    background: #AAA;
    text-decoration: line-through;
}

.debugLayer{
	position: absolute;
	left: 0px;
    text-align: left;
    font-family: monospace;
	top: 0px;
	background: white;
	opacity: 0.5;
	width: 100%;
	height: 100%;
	overflow: scroll;
}
