.iflex {
  display: -webkit-inline-flex;
  display: -webkit-inline-box;
  display: -moz-inline-flex;
  display: -ms-inline-flex;
  display: -o-inline-flex;
  display: inline-flex;
}
.flex {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.flex.horz {
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
}
.flex.vert {
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}
.flex.rev-vert {
  -webkit-flex-direction: column-reverse;
  -webkit-box-orient: vertical-reverse;
  -moz-flex-direction: column-reverse;
  -ms-flex-direction: column-reverse;
  -o-flex-direction: column-reverse;
  flex-direction: column-reverse;
}
/* main axis */
.flex.center {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
}
.flex.right {
  -webkit-justify-content: flex-end;
  -moz-justify-content: flex-end;
  -ms-justify-content: flex-end;
  -o-justify-content: flex-end;
  justify-content: flex-end;
}
.flex.space {
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  -o-justify-content: space-between;
  justify-content: space-between;
}
.flex.evenly {
  -webkit-justify-content: space-evenly;
  -moz-justify-content: space-evenly;
  -ms-justify-content: space-evenly;
  -o-justify-content: space-evenly;
  justify-content: space-evenly;
}
/* cross-axis */
.flex.top {
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  -o-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
}
.flex.middle {
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}
.flex.bottom {
  -webkit-align-items: flex-end;
  -moz-align-items: flex-end;
  -ms-align-items: flex-end;
  -o-align-items: flex-end;
  align-items: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
}
.flex.stretch {
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  -o-align-items: stretch;
  align-items: stretch;
  -webkit-box-pack: stretch;
  -ms-flex-pack: stretch;
}
.flex.content.top {
  -webkit-align-content: flex-start;
  -moz-align-content: flex-start;
  -ms-align-content: flex-start;
  -o-align-content: flex-start;
  align-content: flex-start;
}
.flex1 {
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
}
.flex.shrink {
  flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -moz-flex-shrink: 1;
  -o-flex-shrink: 1;
  -ms-flex-shrink: 1;
}
.flex.wrap {
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flex.nowrap {
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.fullscreen {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.gc_wait {
  text-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}
.gc_wait .body {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: inline-block;
  border-radius: 0.5em;
  padding: 1em;
  width: 50%;
  max-width: 60%;
}
.gc_wait img {
  width: 1em;
}
.flexBox {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}
body {
  margin: 0;
  background-color: #2e2e33;
  background-image: url(/gc/sm/static/images/games/bg.png);
  font-family: Helvetica;
}
@font-face {
  font-family: "Sanchez";
  src: url("/gc/sm/static/css/sanchez.woff");
}
a {
  text-decoration: none;
}
a:focus {
  outline: 1px solid #4CA9FF;
}
.limitWidth {
  max-width: 600px;
  margin: auto;
}
#header {
  background-color: #333;
  background-image: url(/gc/sm/static/images/games/header_bg.png);
  background-size: 55px;
}
#header h1 {
  font-size: 1em;
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
}
#header a {
  font-size: 1em;
  color: #016d8c;
  text-decoration: underline;
}
#header .content {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  background-color: #32d3f0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-top: 2px solid #67e8ff;
  padding: 0.5em;
  font-family: "Sanchez";
  color: #016d8c;
}
#header .content > * {
  display: block;
  margin: 0 0.25em;
}
#header .content #logout {
  display: none;
}
#header .content > * {
  vertical-align: middle;
}
#header .logo {
  width: 1.5em;
  height: 1.5em;
}
#footer {
  background-color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top: 2px solid white;
  margin-top: 1px;
  padding: 1em 0;
  text-align: center;
  font-size: 0.9em;
  line-height: 1.5;
}
#footer a {
  color: #3a3a3a;
}
#footer a:active,
#footer a:focus {
  text-decoration: underline;
  color: #fa293d;
}
.game {
  border-top: 1px solid #dfdfdf;
  background-color: white;
  overflow: auto;
  padding: 0.25em;
}
.game:active,
a:active .game,
a:focus .game {
  border-top: 1px solid #a6e3ed;
  border-bottom: 0 solid #a6e3ed;
  background-color: #e2fafe;
}
.game .portrait {
  margin: 0.5em;
  border-radius: 2px;
}
.game .portrait img {
  width: 2.5em;
  height: 2.5em;
}
.game .title {
  text-shadow: 0 1px 1px white;
  color: #3a3a3a;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.125em;
  margin-block-start: 0;
}
.game .desc {
  text-shadow: 0 1px 1px white;
  color: #888;
  font-size: 0.8em;
}
