.game_container {
  display: none;
}

header {
    padding: 60px 0 30px 0;
}

.section-divider {
    float: left;
    width: 100%;
    background-color: rgb(237, 237, 240);
    height: .188em;
    margin-top: .313em;
}

.icon {
    padding: 10px;
    background-color: #1F5497;
}

.main-image img {
    padding: .0 0 .8em 0;
}

.small-image {
    width: 71px;
    height: 40px;
}

footer {
    margin-top: 1em;
}

.footer-content {
    margin-top: 1.5em;
}

.color-gray {
    color: gray;
}

.other-game {
    margin-bottom: 10px;
}

.other-game img {
    margin-right: 10px;
}

.other-game-section-divider {
    margin-bottom: 10px;
}

/* from legacy app.css */

.hidden-link {
  color: black;
  text-decoration: none;
}

#canvas::selection {
    background:transparent;
}

#canvas::-moz-selection {
    background:transparent;
}

#canvas::-webkit-selection {
    background:transparent;
}

#canvas {
   margin: 0;
   padding: 0;
   border: 0px none;
   clear: both;

  -webki t-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.canvas_container {
    position: relative;
    margin: auto;
}

.canvas_overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    display: table;
}

.click_to_start {
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    display: table-cell;
}

.click_to_start .huge {
    font-size: 4em;
    font-weight: bold;
    text-decoration: underline;
    display: block;
}

.canvas_overlay .loader {
  background: url(../../img/loading.gif) no-repeat center center;
  cursor: progress;
  vertical-align: middle;
  text-align: center;
  display: none;
}

.loader .info {
  position: relative;
  top: 150px;
  width: 500px;
  margin: 0 auto;
}

.loader .status {
  font-size: 2em;
  margin-bottom: 15px;
}

.loader .progressbar {
}

.ui-dialog {
  overflow: visible;
}

.login_modal {
  display: none;
  overflow: visible !important;
}

p.social {
  margin: 0;
  font-size: 0.9em;
}

form.login label {
  display: block;
  overflow: hidden;
}

form.login input {
  width: 100%;
  font-size: 1.5em !important;
}

form.login div.input {
  padding-left: .2em;
  margin-bottom: 10px;
}

form.register label {
  display: block;
  overflow: hidden;
}

form.register input {
  width: 300px;
  font-size: 1.5em !important;
}

form.register div.input {
  padding-left: .2em;
  margin-bottom: 10px;
}

.progress_modal {
  background: rgba(255, 255, 255, 0.5) url(../../img/loading.gif) no-repeat center center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
}

.left {
  float: left;
}

.right {
  float: right;
}

.margin-bottom {
  margin-bottom: 30px;
}

.display_none {
  display: none;
}

div.error {
  background: rgb(255, 187, 187);
  display: inline-block;
  padding: 15px;
  -moz-box-shadow: 1px 2px 3px rgba(0,0,0,.5);
  -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,.5);
  box-shadow: 1px 2px 3px rgba(0,0,0,.5);
}

.fatal {
  font-size: 1.5em;
  color: red;
}

.registration_error {
  background: rgb(255, 200, 200);
  padding: 5px;
  border-radius: 5px;
}


/* openxcom */

.openxcom {
    width: 960px;
    height: 600px;
    background: url(../../xcom/canvas_bg.jpg) center center;
}

.openxcom canvas {
  cursor: none;
    width: 960px;
    height: 600px;
}

.game_description_openxcom {
  background: url(../../xcom/game-logo.png) left center no-repeat;
}

.openxcom_eula, .dialog {
  display: none;
}

.openxcom_eula label {
  display: block;
  font-weight: bold;
}

.openxcom_eula input, .dialog input {
  display: block;
  width: 600px;
  font-size: 1.2em;
  padding: 5px;
}

.openxcom_eula .label {
  margin-bottom: 5px;
}

.openxcom_eula .data_link {
  background: rgb(200, 255,200);
  padding: 5px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 5px;
  border: 1px dashed black;
  margin-bottom: 5px;
  text-align: center;
}

.dialog .label, .dialog label  {
  display: block;
  font-weight: bold;
  margin: 2px 0;
}

.select-file-dialog-saves {
  max-height: 150px;
  overflow: auto;
}

.select-file-dialog-saves {
  margin: 0;
  padding: 5px 0;
  background: #F0F0F0;
  border: 1px solid #CCC;
}

.select-file-dialog-saves span {
  text-align: center;
  width: 100%;
  display: inline-block;
}

.select-file-dialog-saves li {
  padding: 0;
  margin: 4px 0px 0px 20px;
  list-style-type: none;
  cursor: pointer;
  text-decoration: underline;
  color: blue;
}

/* opendune */

.game_description_opendune {
  background: url(../../dune2/dune2.png) left center no-repeat;
}

.opendune, .opendune-ru, .opendune-en {
  width: 600px;
  height: 400px;
  background: url(../../dune2/canvas_bg.jpg) no-repeat center center;
}

.opendune canvas {
  cursor: default;
  width: 600px;
  height: 400px;
}

.opendune-toggle-sound {
  width: 32px;
  height: 32px;
  margin: 15px auto;
  cursor: pointer;
  display: none;
  float: left;
}

.opendune-mute {
  background: url(/dune2/mute.png);
}

.opendune-unmute {
  background: url(/dune2/unmute.png);
}

.opendune-house-container {
  margin: 0 auto;
  width: 510px;
}

.opendune-house {
  float: left;
  width: 124px;
  height: 136px;
  display: block;
  cursor: pointer;
  margin: 0 20px 30px 20px;
  opacity: 0.5;
  transition: opacity 300ms;
  -webkit-transition: opacity 300ms;
}

.opendune-house:hover {
  opacity: 1.0;
}

.opendune-h-house {
  background: url("/dune2/h_house.png") no-repeat center center;
}

.opendune-a-house {
  background: url("/dune2/a_house.png") no-repeat center center;
}

.opendune-o-house {
  background: url("/dune2/o_house.png") no-repeat center center;
}

.opendune-select-house {
  text-align: center;
  margin: 15px 0;
  font-weight: bold;
}

/* openttd */

.game_description_openttd {
  background: url(../../ttd/ttd.png) left center no-repeat;
}

.ttd {
  width: 600px;
  height: 450px;
  background: url(../../ttd/canvas_bg.jpg) no-repeat center center;
}

.ttd canvas {
  cursor: default;
}

.ttd-multiplayer {
  margin-top: 10px;
  font-size: 1.2em;
}

.caesaria {
  width: 960px;
  height: 600px;
  background: url(../../caesaria/bg.jpg) no-repeat center center;
}

.caesaria canvas {
  cursor: default;
  width: 960px;
  height: 600px;
}


.android_links {
  text-align: left;
}

.android_links a {
  margin: 10px 0;
  font-size: 2em;
}

.android_links img {
  margin: 30px 0;
}

.android_links h2 {
  margin: 5px 0;
}


.under-maintenance {
  background: #ff3019;
  background: -moz-linear-gradient(top,  #ff3019 0%, #cf0404 100%);
  background: -webkit-linear-gradient(top,  #ff3019 0%,#cf0404 100%);
  background: linear-gradient(to bottom,  #ff3019 0%,#cf0404 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 );
  padding: 15px;
  font-weight: bold;
  color: white;
}