*
{
    margin: 0;
    padding: 0;
}
@font-face
{
    font-family: badaboom;
    src: url(../Fonts/badabb.ttf);
}

@font-face
{
    font-family: adventure;
    src: url(../Fonts/Adventure.ttf);
}

@font-face
{
    font-family: DINE;
    src: url(../Fonts/DINEngschriftStd.ttf);
}
@font-face
{
    font-family: Times;
    src: url(../Fonts/times.ttf);
}

@font-face
{
    font-family: Calibri;
    src: url(../Fonts/calibri.ttf);
}
body {
    text-align: center;
    background-color: black;
    color: white;
}
div#gameView {
    position: absolute;
    width: 100%;
    height: 100%;
}
#svgCanvas{font-family:Times;}

#GameCanvas, #FloorCanvas, #svgCanvas, #splashImage
{
    display: inline-block;
    left: 0;
    position: absolute;
    top: 0;
}

#GameCanvas, #FloorCanvas, #svgCanvas, svg * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transform-style: preserve-3d;
}

#GameCanvas, #svgCanvas{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transform: translateZ(5000px);
}

#FloorCanvas.perspective
{
    transform: perspective(500px) translate(0px, 0px) rotateX(85deg) scale(1.8, 1.8);
    -webkit-transform: perspective(500px) translate(0px, 0px) rotateX(85deg) scale(1.8, 1.8);
}

#svgCanvas
{
    pointer-events: none;
}

#svgCanvas.performanceMode
{
    text-rendering: optimizeSpeed;
    color-rendering: optimizeSpeed;
    image-rendering: optimizeSpeed;
    shape-rendering: optimizeSpeed;
}

#GameCenter
{
    display: inline-block;
    height: 556px;
    overflow: hidden;
    position: absolute;
    width: 988px;
    margin-left: -494px;
    left: 50%;
    top: 50%;
    margin-top: -278px;

    -webkit-overflor-scrolling: touch;
}

svg, canvas {
    pointer-events: none;
}

svg * {
    pointer-events: visible;
}

html, div, body, span, text, tspan
{
    //font-family: DINE;
}

 .powerSlot, .slotbg {
 }

 .powerSlot, .slotfg {
 }

 .powerSlot, .slotempty {
 }

.powerSlot.selected .slotbg {
    fill: #4870B6;
}

.powerSlot.selected .slotfg {
}

.powerSlot.selected .slotempty {
}

.gameButton {
	cursor : pointer;
}

#debugBox {
    background-color: #DEDEDE;
    border-color: #FFFFFF #FFFFFF #555555 #555555;
    border-style: solid;
    border-width: 2px;
    height: 500px;
    left: 5px;
    position: fixed;
    top: 5px;
    width: 425px;
    display: none;
}

#debugWatchBox {
    background-color: #EFEFEF;
    border-color: #555555 #555555 #FFFFFF #FFFFFF;
    border-style: solid;
    border-width: 1px;
    display: inline-block;
    height: 150px;
    margin-top: 5px;
    overflow: auto;
    width: 400px;
    color: black;
    font-family: sans-serif;
}

path {
    stroke-linecap: round;
}

.powerSlot:not([data-speedpower]) > .removeButton {
    display: none;
}

.helpTitle, .powerUpTitle{
    font-family: badaboom;
}

.helpContentText, .powerUpContentText {
    color: #000000;
    font-family: DINE;
    font-size: 24px;
    padding: 50px;
    text-align: left;
    -webkit-text-size-adjust: none;
}

#lab_tutorial_highlights  * {
    pointer-events: none;
    display: none;
}

#lab_tutorial_highlights .tutorialVisible {
    display: inline;
}

/** ipad Portrait 
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) { 
	#gamepage {
		position: absolute;
		width: 99%;
		height: 99%;
	} 
}**/
/** ipad-mini Portrait 
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 1)  { 
	#gamepage {
		position: absolute;
		width: 99%;
		height: 99%;
	} 
}**/
/** iphone Portrait 
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : portrait) { #gamepage {
		position: absolute;
		width: 90%;
		height: 90%;
	} }
	#splashImage{width:100%; height:auto;}**/