body {
    margin: 0px 0px 0px 0px; /* the extra 1px allows the iOS inner/outer check to work */
    background: #000;
}

#orientation {
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../assets/ui/hanafuda/orientation2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgb(0, 0, 0);
    z-index: 999;
    display: none;
}

canvas {
  margin-left: auto !important;
  margin-right: auto !important;

}

#scoreResult {
    position: absolute;
    display: none;
    width: 90%;
    top: 10px;
    left: 5%;
    margin: 0 auto;
    background-color: white;
    border-radius: 12;
}

#zumba-ad {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}

#footer-ad {
    position: absolute;
    bottom: 0px;
    width: 320px;
    margin: 0 auto;
    display: none;
    height: 50px;
    left: 0;
    right: 0;
}

#iframe-rectangle-ad {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#aeriaGamesAd {
    background-color: white;
}

#menu-button {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 1%;
    top: 50px !important;
    bottom: auto !important;
    background-image: url("../assets/images/hanafuda/menu_icon.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size:100%;
}

#menu-content {
    position: absolute;
    margin-width: 0px;
    padding:0;
}

.howto {
  margin-left: auto;
  margin-right: auto;
}
.howto-image {
  width: 100%;
  max-width: 640px;
}

#yjg-menu {
  border: 8px gray solid;
}

#menu_yg {
    z-index: 11000;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #AAA;
}

#side-menu {
    height: 100%;
}

#menu-header {
    height: 0% !important;
    margin-bottom: 0px !important;
    border-bottom: 0px !important;
}

.howto-content {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.yaku-img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

  html {
      overflow: scroll !important;
      -webkit-overflow-scrolling: touch !important;
  }

  .mfp-iframe-scaler iframe {
      height: 100% !important;
  }

.mfp-iframe-holder .mfp-close {
    right: -18px !important;
    text-align: left !important;
}

