html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  font-family: Verdana;
}

#gameboy_shell {
  height: 100%;
  min-height: 480px;
  min-width: 320px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 45px;
  box-shadow: inset -15px 16px 6px -12px rgba(255,255,255, 0.5), inset 15px -11px 6px -11px rgba(0,0,0,0.5);
}

#on_off {
  margin-left: 0%;
  font-size: 0pt;
  text-shadow: 0px 0px 0px #000;
}
#savestate {
  margin-left: 2%;
  font-size: 10pt;
  float:left;
  display: inline-block;
  margin-top: 5px;
  font-family: verdana;
}
#loadstate, #loadstate2, #loadstate3, #loadstate4, #loadstate5, #loadstate6, #loadstate7, #loadstate8, #loadstate9 {
  margin-right: 1%;
  font-size: 5pt;
  /*text-shadow: 0px 0px 2px #000;*/
  float:right;
  /*display: inline-block;*/
  margin-top: 1px;
  font-family: verdana;
}
#suppstate {
  margin-left: 2%;
  font-size: 10pt;
  float:left;
  display: inline-block;
  margin-top: 5px;
  font-family: verdana;
}

#screen_cover {
  background-color: #525E59;
  width: 100%; 
  height: 261px;
  margin: 0px;
  border: 1px solid black;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 30px;
}

#power {
  float: right;
  position: relative;
  top: 96%;
  font-size: 8pt;
  color: white;
  padding-right: 5px;
  display: none;
}

.two_column {
  width: 30px;
  height: 15px;
}

#power_light {
  float: left;
  position: static;
  width: 10px;
  height: 10px;
  background-color: red;
  margin-left: 5px;
  margin-top: 2px;
  border-radius: 10px;
}

#power_light +div {
  float: right;
}

#canvas_container {
  width: 360px;
  margin: 12px auto 0 auto;
      margin-left: -1px;
}

#screen_cover > div:last-child {
  position: relative;
  left: 15%;
  width: 120px;
  font-size: 10pt;
  text-align: center;
  color: white;
  font-style: oblique;
}

#pocket {
  color: #525E59;
  background-color: white;
  font-size: 8pt;
}

#nintendo {
  border-radius: 10px;
  width: 29%;
  text-align: center;
  margin: 0px auto 0 auto;
  padding: 0 5px;
  text-shadow: 0px 0px 2px #000;
  box-shadow: 0px 0px 2px #000, inset 0px 0px 2px #000;
  background-color: white;
  font-size: 15px;
}
#nintendo a:visited{
  color:grey;
}

#d_pad {
  width: 140px;
  height: 140px;
  position: relative;
  left: 8%; 
  top:2%;
}

#d_pad > div {
  background-color: #525E59;
}

#d_pad_up {
  box-shadow: inset -15px 10px 10px -12px rgba(255,255,255, 0.5), inset 15px -11px 6px -11px rgba(0,0,0,0.5);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: 28%;
  height: 28%;
  margin: 0 auto; 
}

#d_pad_left_right {
  box-shadow: inset -15px 10px 10px -12px rgba(255,255,255, 0.5), inset 15px -11px 6px -11px rgba(0,0,0,0.5);
  border-radius: 5px;
  height: 28%;
  margin: 0 auto;
  width: 84%;
}

#d_pad_down {
  box-shadow: inset -15px 10px 10px -12px rgba(255,255,255, 0.5), inset 15px -11px 6px -11px rgba(0,0,0,0.5);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  width: 28%;
  height: 28%;
  margin: 0 auto;
}

#d_pad_left {
  width: 28%;
  height: 100%;
  float: left;
}

#d_pad_center {
  border: 1px solid black;
  height: 20px;
  width: 20px;
  margin: 0 auto;
  border-radius: 20px;
  /*box-shadow: inset 5px -5px 6px 0px rgba(255,255,255, 0.5);*/
  box-shadow: inset -15px 10px 10px -12px rgba(0,0,0, 0.5), inset 15px -11px 6px -11px rgba(255,255,255,0.5);
}

#d_pad_right {
  width: 28%;
  height: 100%;
  float: right;
}

#arrow_up, #arrow_down, #arrow_left, #arrow_right {
  width: 0;
  height: 0;
  margin: 0 auto;
}

#arrow_up {
  /*border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid black;*/
  height:40px;
  width:40px;
}

#arrow_up_left {
  /*border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid black;*/
  height:40px;
  width:40px;
}

#arrow_up_right {
  /*border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid black;*/
  height:40px;
  width:40px;
}

#arrow_left {
  /*border-top: 10px solid transparent;
  border-right: 20px solid black;
  border-bottom: 10px solid transparent;
  margin-top: 10px;*/
  height: 40px;
  width: 40px;
}

#arrow_right {
  /*border-left: 20px solid black;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-top: 10px;*/
  height: 40px;
  width: 40px;
}
#arrow_down {
  /*border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid black;*/
  height:40px;
  width: 40px;
}

#a_button_group {
  left: 75%;
  top: 55%;
}

#b_button_group {
  left: 55%;
  top: 60%;
}

#game_button_group {
    left: 0%;
    top: 91%;
    z-index: 3;
    width: 98%;
}
#xvitesse, #xvolume{
  border: 1px solid white;
  border-radius: 3px;
  font-family: verdana;
}
.cursorgb{
  float:right;
  display:inline-block;
}
#game-select{
  margin-top:3px;
  font-size: 15px!important;
  border: grey 1px solid;
  border: grey 2px solid;
  border-radius: 8px;
  font-family: verdana;
}

#run_cpu_clicker {
  left: 7%;
  top: 81%;
  display:none;
  text-shadow: none;
  color:orange;
}

#pause_cpu_clicker{
  left:7%;
  top: 81%;
  padding-left: 2px;
}
#run_cpu_clicker .flat_button{
  border: red 2px solid;
  color:red;
  height:13px;
}

#select_button_group {
  left: 38%;
  top: 81%;
}

#start_button_group {
  right: 30%;
  top: 81%
}

.button_group {
  position: absolute;
  text-align: center;
  font-size: 10pt;
  text-shadow: 2px 2px 2px black;
  color: white;
}

.button_group div {
  width: 50px;
  background-color: #525E59;
  border-radius: 29px;
  margin: 0 auto 10px auto;
  box-shadow: inset -15px 10px 10px -12px rgba(255,255,255, 0.5), inset 15px -11px 6px -11px rgba(0,0,0,0.5);
}

.button_group .round_button {
  height: 50px;
}

.button_group .flat_button {
  height: 15px;
}

#speaker {
  position: relative;
  left: 70%;
  top: 15%;
}
