/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.icon {
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
}

.icon-offline {
  content: -webkit-image-set( url(assets/default_100_percent/100-error-offline.png) 1x, url(assets/default_200_percent/200-error-offline.png) 2x);
  position: relative;
}

.hidden {
  display: none;
}


/* Offline page */

.offline .interstitial-wrapper {
  color: #2b2b2b;
  font-size: 1em;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 640px;
  padding-top: 100px;
  width: 100%;
}

.offline .runner-container {
  height: 150px;
  max-width: 640px;
  overflow: hidden;
  position: absolute;
  top: 35px;
  width: 44px;
}

.offline .runner-canvas {
  height: 150px;
  max-width: 640px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 2;
}

.offline .controller {
  background: rgba(247, 247, 247, .1);
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 1;
}

#offline-resources {
  display: none;
}

@media (max-width: 420px) {
  .suggested-left > #control-buttons, .suggested-right > #control-buttons {
    float: none;
  }
  .snackbar {
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
}

@media (max-height: 350px) {
  h1 {
    margin: 0 0 15px;
  }
  .icon-offline {
    margin: 0 0 10px;
  }
  .interstitial-wrapper {
    margin-top: 5%;
  }
  .nav-wrapper {
    margin-top: 30px;
  }
}

@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation:landscape) {
  .interstitial-wrapper {
    margin-bottom: 100px;
  }
}

@media (min-height: 240px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-bottom: 90px;
  }
  .icon-offline {
    margin-bottom: 20px;
  }
}

@media (max-height: 320px) and (orientation: landscape) {
  .icon-offline {
    margin-bottom: 0;
  }
  .offline .runner-container {
    top: 10px;
  }
}

@media (max-width: 240px) {
  .interstitial-wrapper {
    overflow: inherit;
    padding: 0 8px;
  }
}



body {
  color: #535353;
  padding-top: 3%;
}

h1 {
  line-height: inherit;
}

h1.mobile {
  display: none;
}
.runner-container {
  z-index: 9999;
  background: white;
  position: relative;
}

.NotFound_div {
  width: 100%;
  padding: 13% auto;
  position: absolute;
  text-align: center;
  padding-top: 5%;
}

.NotFound_div h1 {
  font-size: 4.5em;
}

.NotFound_div p {
  font-size: 15px;
  padding: 30px 15px;
}

.Not-Found-game {
  width: 640px;
  margin: 40px auto;
}

.Not-Found-game span {
  position: relative;
  text-align: left;
  font-size: 14px;
  color: #6a6a6a;
  float: left;
  top: -10px;
}

.interstitial-wrapper {
  position: relative;
}


@media screen and (max-width:1200px){
  .interstitial-wrapper {
    position: relative;
    top: -15px;
    left: 10px;
  }
}

@media screen and (max-width:720px){
  .interstitial-wrapper {
    position: relative;
    top: -40px;
    left: 10px;
  }
  .Not-Found-game {
    width: 100%;
    padding-left: 5px;
  }
  h1.mobile {
    display: block;
  }
  h1.web {
    display: none;
  }
}

@media screen and (min-width:1440px){
  .interstitial-wrapper {
    position: relative;
    top: 32px;
  }
}

@media screen and (min-width:1440px){
  .interstitial-wrapper {
    position: relative;
    top: 15px;
  }
}

@media screen and (min-width:1600px){
  .interstitial-wrapper {
    position: relative;
    top: 20px;
  }
}

@media screen and (min-width:1780px){
  .interstitial-wrapper {
    position: relative;
    top: 32px;
  }
}
