html {
  width:100%;
  height:101%
}

body {
	margin: 0;
	background-color: #000;
	font-family: "Helvetica Neue", Helvetica, "Segoe UI",Arial,freesans,sans-sarif;
	font-size: 12px;
}

#game {
  width:100%;
  height:100%;
  overflow: hidden;
  background-color: #000;
}

#loadanim{
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  left: 25%;
  width: 50%;
  min-width: 400px;
  display: block;
  overflow: hidden;
}

@media screen and (orientation: landscape) {
	#game canvas {
	  position: fixed;
	  left: 50%;
	  transform: translateX(-50%);
	  margin: 0px;
	  border: 0;
	  top: 0px;
	  height: 100%;
	  overflow: hidden;
	  display: block;
    }
    
	#game .gameCanvasGCM {
	  position: fixed;
	  left: 50%;
	  transform: translateX(-50%);
	  margin: 0px;
	  border: 0;
	  top: 30px;
	  height: calc(100%);
	  overflow: hidden;
	  display: block;
	}
  
	#loadanim{
	  position: absolute;
	  top: 45%;
	  transform: translateY(-50%);
	  left: 25%;
	  width: 50%;
	  display: block;
	  overflow: hidden;
	}
}

@media screen and (orientation: portrait) {
	#game canvas {
	  position: fixed;
	  top: 50%;
	  transform: translateY(-50%);
	  left: 0px;
	  margin: 0px;
	  border: 0;
	  width: 100%;
	  overflow: hidden;
	  display: block;
	}
  
	#loadanim{
	  position: absolute;
	  top: 40%;
	  transform: translateY(-50%);
	  left: 0%;
	  width: 100%;
	  display: block;
	  overflow: hidden;
	}
}

#FSModal {
  position: fixed;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background-color: rgb(255,255,255);
  background-color: rgba(255,255,255,0);
  display: none;
  overflow: auto;
  font-family: "Arial", Gadget, sans-sarif;
  font-size: 24px;
  text-align: center;
  z-index: 30;
}

#HideBarModal {
  position: absolute;
  top:0px;
  left:0px;
  width:100%;
  height:120%;
  background-color: rgb(255,255,255);
  background-color: rgba(255,255,255,0.4);
  display: none;
  overflow: auto;
  font-family: "Arial", Gadget, sans-sarif;
  font-size: 24px;
  text-align: center;
  z-index: 30;
}

#GameName {
  position: fixed;
  top: 0px;
  right: 17%;
  transform: none;
  height: 30px;
  display: block;
  font-family: "Arial", Gadget, sans-sarif;
  line-height: 30px;
  font-size: 21px;
  text-align: right;
  color: rgb(0,0,0);
}

#loadingText {
  position: fixed;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  display: block;
  font-family: "Arial", Gadget, sans-sarif;
  line-height: 40px;
  text-align: center;
  font-size: 38px;
  font-weight: bold;
  color: rgb(239,173,20);
}

#licenseText {
  position: fixed;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  height: 30px;
  display: block;
  font-family: "Arial", Gadget, sans-sarif;
  line-height: 30px;
  text-align: center;
  font-size: 28px;
  color: rgb(0,0,0);
}

.system-dialog-wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 20;
    border-radius: 1em;
    box-shadow: 0 -4px 10px rgba(0,0,255,0.6),0 4px 10px rgba(128,0,128,0.6);
    background: #00f;
    background: -moz-linear-gradient(top,#00f 0%,#c500ff 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#00f),color-stop(100%,#c500ff));
    background: -webkit-linear-gradient(top,#00f 0%,#c500ff 100%);
    background: -o-linear-gradient(top,#00f 0%,#c500ff 100%);
    background: -ms-linear-gradient(top,#00f 0%,#c500ff 100%);
    background: linear-gradient(to bottom,#00f 0%,#c500ff 100%);
    padding: 2px;
    box-sizing: border-box
}

@media only screen and (min-device-width: 768px) and (orientation:landscape) {
    .system-dialog-wrapper {
        transform:translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        top: 50%;
        left: 50%;
        height: auto;
        width: auto;
        min-width: 600px;
        max-width: 95%
    }

    .dialog-details {
        margin-top: 2rem
    }
}

#system-dialog-curtain {
    width: 100%;
    height: 100%;
    display: hidden;
    position: absolute;
    background: rgba(0,0,0,0.8);
    z-index: 10
}

.dialog-options-wrapper {
    overflow: hidden;
    margin-top: 1rem
}

.system-dialog-wrapper {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.system-dialog {
    height: 100%;
    width: 100%;
    background-color: #000;
    border-radius: .9em;
    padding: 1.5em;
    box-sizing: border-box;
    color: #fff;
    overflow: hidden
}

.dialog-btn-exit {
    color: #fff;
    box-shadow: 0 0 6px #00f,0 0 5px #00f,0 0 5px #00f;
    border: 1px solid #00f;
    position: absolute;
    padding: 10px 15px;
    border-radius: 50%;
    right: 20px;
    top: 20px;
    background: #000;
}

.dialog-btn-exit:hover {
    background: #333;
    cursor: pointer
}

.dialog-button-wrapper {
    float: left;
    width: 50%;
}

.dialog-button-wrapper.full {
    width: 100%
}

.dialog-button-wrapper.wide {
    width: 75%
}

.dialog-button-wrapper > div {
    width: 33%
}

.dialog-button-wrapper.full .button-big {
    min-width: auto;
    margin-left: auto;
    margin-right: auto;
    font-size: 11px;
    padding-left: 13px;
    margin-top: 10px;
    padding-right: 13px
}

button.button-big {
    padding: 10px 26px 5px;
    min-width: 120px;
	margin-bottom: 6px
}

button.button-small {
    padding: 10px 13px 5px
}

button.dialog-button {
    font-size: 13px;
    font-family: TradeGothic;
    margin: 0 .5em;
    font-weight: bold;
    color: #fff;
    background-color: #000;
    border: 2px solid #c000d8;
    text-shadow: 0 0 4px #000,0 0 6px #000;
    border-radius: 5px;
    background: #1f1f1f;
    background: -moz-linear-gradient(top,#1f1f1f 0%,#565656 9%,#595959 50%,#1d1d1d 51%,#060606 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#1f1f1f),color-stop(9%,#565656),color-stop(50%,#595959),color-stop(51%,#1d1d1d),color-stop(100%,#060606));
    background: -webkit-linear-gradient(top,#1f1f1f 0%,#565656 9%,#595959 50%,#1d1d1d 51%,#060606 100%);
    background: -o-linear-gradient(top,#1f1f1f 0%,#565656 9%,#595959 50%,#1d1d1d 51%,#060606 100%);
    background: -ms-linear-gradient(top,#1f1f1f 0%,#565656 9%,#595959 50%,#1d1d1d 51%,#060606 100%);
    background: linear-gradient(to bottom,#1f1f1f 0%,#565656 9%,#595959 50%,#1d1d1d 51%,#060606 100%);
}

button.dialog-button:hover {
    cursor: pointer;
    background: #383838;
    background: -moz-linear-gradient(top,#383838 0%,#6d6d6d 9%,#707070 50%,#353535 51%,#1e1e1e 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#383838),color-stop(9%,#6d6d6d),color-stop(50%,#707070),color-stop(51%,#353535),color-stop(100%,#1e1e1e));
    background: -webkit-linear-gradient(top,#383838 0%,#6d6d6d 9%,#707070 50%,#353535 51%,#1e1e1e 100%);
    background: -o-linear-gradient(top,#383838 0%,#6d6d6d 9%,#707070 50%,#353535 51%,#1e1e1e 100%);
    background: -ms-linear-gradient(top,#383838 0%,#6d6d6d 9%,#707070 50%,#353535 51%,#1e1e1e 100%);
    background: linear-gradient(to bottom,#383838 0%,#6d6d6d 9%,#707070 50%,#353535 51%,#1e1e1e 100%)
}

button.dialog-button:focus {
    outline: 0
}

button.dialog-button:active {
    background: #4f4f4f;
    background: -moz-linear-gradient(top,#4f4f4f 0%,#848484 9%,#878787 50%,#4c4c4c 51%,#353535 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#4f4f4f),color-stop(9%,#848484),color-stop(50%,#878787),color-stop(51%,#4c4c4c),color-stop(100%,#353535));
    background: -webkit-linear-gradient(top,#4f4f4f 0%,#848484 9%,#878787 50%,#4c4c4c 51%,#353535 100%);
    background: -o-linear-gradient(top,#4f4f4f 0%,#848484 9%,#878787 50%,#4c4c4c 51%,#353535 100%);
    background: -ms-linear-gradient(top,#4f4f4f 0%,#848484 9%,#878787 50%,#4c4c4c 51%,#353535 100%);
    background: linear-gradient(to bottom,#4f4f4f 0%,#848484 9%,#878787 50%,#4c4c4c 51%,#353535 100%)
}

.dialog-details {
    font-family: sans-serif;
    display: none;
    margin-top: 0
}

.hidden {
    display: none !important
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right;
}

.block-center {
    margin: 0 auto
}

.option {
    min-width: 240px;
}