html, body, div {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

html {
    height: 100%;
}

body {
    overflow: hidden;
    background-color: #000;
    height: 100%;
    font-family: sans-serif;
    font-size: 0.9em;
}

ul {
    margin: 30px;
    padding: 0px;
}

p {
    margin: 0px;
    padding-top:10px;
    padding-bottom:10px;
}

h3 {
    margin: 0px;
    padding-top:20px;
    padding-bottom:10px;
}

canvas {
    -webkit-tap-highlight-color: transparent;
}

#main {
    position: fixed;
    left:     50%;
    top:      50%;
}

#ttgScreenCanvas, #ttgErrorCanvas
{
    position:absolute;
    left:0px;
    top:0px;
}

#ttgBarCanvas
{
    position:absolute;
    left:0px;
}

/* Error Styles */
#error {
    color: #2F4F4F;
    height: 100%;
    padding: 20px;
    background-color: #FFF;
}

#errorTitle {
    font-weight: bold;
    font-size: 1.3em;
    padding-bottom: 10px;
}

#errorMessage {
    font-size: 1.2em;
    font-weight: bold;
}

#errorCode {
    font-size: 0.8em;
    font-weight: bold;
    padding-top: 10px;
}

#errorDebug {
    padding-top: 15px;
    font-size: 0.8em;
}

.textButton {
    background-color: #FFFFFF;
    border: none;
    color: black;
    padding: 15px 32px;
    margin: 0px 32px;
    width: 320px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px #999;
    border: 2px solid #F0F0F0;
    outline: none;
}

.textButton:active {
    background-color: #000000;
    color: white;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

#demo-mode-main {
    width: 50%;
    /*background-color: red;*/
}

#demo-mode-options {
    overflow-y: auto;
    scrollbar-width: thin;
    /*background-color: red;*/
}

#demo-mode-button, #demo-mode-rtp-button, .demo-mode-option, .demo-mode-rtp-option{
    color: #FFFFFF;
    background-color: #000000;
    padding: 8px;
    opacity: 80%;
    margin: 4px;
    border-radius: 8px;
    font-family: "Yantramanav";
    font-style: normal;
    font-weight: bold;
}

#demo-mode-error {
    font-size: 20px;
    width: 320px;
    height: 140px;
}

@font-face
{
    font-family: "Yantramanav";
    font-style: normal;
    font-weight: 400;
    src: local("Yantramanav"), local("Yantramanav-Regular"), url("../fonts/Yantramanav.woff2") format("woff2");
}

@font-face
{
    font-family: "Futura";
    font-style: all;
    font-weight: 400;
    src: local("Futura_medium"), url("../fonts/NotoSans-Medium.woff2") format("woff2");
}

@font-face
{
    font-family: "Futura_bold";
    font-style: all;
    font-weight: 600;
    src: local("Futura_bold"), url("../fonts/NotoSans-Bold.woff2") format("woff2");
}

@font-face
{
    font-family: "Noto";
    font-style: all;
    font-weight: 400;
    src: local("Noto"), url("../fonts/NotoSans-Medium.woff2") format("woff2");
}

@font-face
{
    font-family: "Noto Sans";
    font-style: all;
    font-weight: 400;
    src: local("Noto Sans"), url("../fonts/NotoSans-Medium.woff2") format("woff2");
}

@font-face
{
    font-family: "Noto_medium";
    font-style: all;
    font-weight: 400;
    src: local("Noto_medium"), url("../fonts/NotoSans-Medium.woff2") format("woff2");
}

@font-face
{
    font-family: "Noto_bold";
    font-style: all;
    font-weight: 600;
    src: local("Noto_bold"), url("../fonts/NotoSans-Bold.woff2") format("woff2");
}

@font-face
{
    font-family: "Noto_semi_bold";
    font-style: all;
    font-weight: 500;
    src: local("Noto_semi_bold"), url("../fonts/NotoSans-Bold.woff2") format("woff2");
}

@font-face
{
    font-family: "Noto_extra_bold";
    font-style: all;
    font-weight: 600;
    src: local("Noto_extra_bold"), url("../fonts/NotoSans-Bold.woff2") format("woff2");
}

@font-face
{
    font-family: "Noto_black";
    font-style: all;
    font-weight: 600;
    src: local("Noto_black"), url("../fonts/NotoSans-Black.woff2") format("woff2");
}
