#card-text {
  bottom: 0;
  border-radius: 6px;
  border: solid 1px #aaa;
}
.contextmenu {
  opacity: 0;
  background: #fff;
  position: absolute;
  padding: 0.4em 0;
  float: left;
  border: 1px solid #aaa;
  z-index: 1000;
  font-size: smaller;
  -webkit-transition: opacity;
  transition: opacity;
  cursor: pointer;
  pointer-events: none;
  width: 150px;
}
.contextmenu.open-contextmenu {
  pointer-events: auto;
  opacity: 1;
}
.contextmenu-item {
  padding: 0.4em 1em;
}
.contextmenu-item:hover {
  background: #ddd;
}
.game-component.counter {
  border-radius: 50%;
}
.game-component-value {
  width: 100%;
  height: 100%;
  display: table;
}
.counter-value {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
.game-component.dice {
  border-radius: 3px;
}
.dice-face {
  width: 100%;
  height: 100%;
  display: table;
}
.dice-face-text {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
#editor,
#playmat,
#tool-pane,
#property-pane {
  height: 100%;
  position: relative;
}
#editor {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#playmat {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
#tool-pane {
  width: 200px;
  background: #37424b;
  color: #fff;
}
#property-pane {
  width: 280px;
  background: #444;
  color: #fff;
}
#no-property {
  padding: 1em;
}
.pane-title {
  padding: 8px;
}
#component-list {
  padding: 8px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.component-list-item {
  border-top: solid 1px #aaa;
  border-bottom: solid 1px #222;
}
.component-adder {
  cursor: pointer;
}
.component-list-item {
  margin: 0;
}
.component-adder-label {
  padding: 8px 12px;
  font-weight: bolder;
}
.component-adder-label:hover {
  background: rgba(255,255,255,0.2);
}
.component-adder-help {
  height: 0;
  padding: 0px 12px;
}
.component-adder-help-line {
  margin: 0.5em;
}
.component-adder-button {
  border-radius: 3px;
  border: solid #fff 1px;
  margin: 1em 0.5em;
  padding: 0.5em 1em;
  text-align: center;
}
.component-adder-button:hover {
  background: rgba(255,255,255,0.2);
}
.input-form {
  margin: 0;
  cursor: pointer;
}
.file-select-button {
  color: #fff;
  margin-left: 12px;
}
.file-select-button:hover {
  color: #fff;
}
.image-name {
  display: block;
  float: left;
  max-width: 45%;
  text-overflow: ellipsis;
  margin-right: 15px;
}
.file-select-button {
  display: block;
  font-size: smaller;
  margin: 0;
  padding: 0 5px;
}
.counter .game-component-value {
  text-align: center;
}
.counter.dec-counter .game-component-value {
  -webkit-animation: dec-counter 300ms;
          animation: dec-counter 300ms;
}
.counter.inc-counter .game-component-value {
  -webkit-animation: inc-counter 250ms;
          animation: inc-counter 250ms;
}
.shuffle.card:nth-child(even) {
  -webkit-animation: shuffle-r 300ms;
          animation: shuffle-r 300ms;
}
.shuffle.card:nth-child(odd) {
  -webkit-animation: shuffle-l 300ms;
          animation: shuffle-l 300ms;
}
.shuffle.tile:nth-child(4n) {
  -webkit-animation: shuffle-r 300ms;
          animation: shuffle-r 300ms;
}
.shuffle.tile:nth-child(4n+1) {
  -webkit-animation: shuffle-l 300ms;
          animation: shuffle-l 300ms;
}
.shuffle.tile:nth-child(4n+2) {
  -webkit-animation: shuffle-u 300ms;
          animation: shuffle-u 300ms;
}
.shuffle.tile:nth-child(4n+3) {
  -webkit-animation: shuffle-d 300ms;
          animation: shuffle-d 300ms;
}
.rolling-dice:nth-child(even) {
  -webkit-animation: diceroll 500ms;
          animation: diceroll 500ms;
}
.rolling-dice:nth-child(odd) {
  -webkit-animation: diceroll-rev 500ms;
          animation: diceroll-rev 500ms;
}
.rolling-dice .dice-face {
  -webkit-animation: dicefaceroll 500ms;
          animation: dicefaceroll 500ms;
}
.rolling-dice-rev:nth-child(even) {
  -webkit-animation: diceroll-rev 500ms;
          animation: diceroll-rev 500ms;
}
.rolling-dice-rev:nth-child(odd) {
  -webkit-animation: diceroll 500ms;
          animation: diceroll 500ms;
}
.rolling-dice-rev .dice-face {
  -webkit-animation: dicefaceroll 500ms;
          animation: dicefaceroll 500ms;
}
.flip {
  -webkit-animation: flip 300ms;
          animation: flip 300ms;
}
.floating-information {
  margin: 0.4em 1em;
  padding: 0.6em 1em;
  line-height: 2;
  position: fixed;
  right: 280px;
  cursor: default;
  -webkit-transition: all 200ms;
  transition: all 200ms;
}
.floating-information:hover,
.floating-information:active {
  opacity: 0.85;
  color: #fff;
  z-index: 1000;
  background: #222;
}
.game-component-handle {
  position: absolute;
  overflow: visible;
  float: left;
  box-sizing: content-box;
  -webkit-transition-duration: 200ms;
          transition-duration: 200ms;
}
.game-component-handle.ui-draggable-dragging {
  -webkit-transition-duration: 0s;
          transition-duration: 0s;
  opacity: 0.75;
  z-index: 102;
}
.game-component-handle.card.selected,
.game-component-handle.tile.selected,
.game-component-handle.figure.selected,
.game-component-handle.dice.selected {
  z-index: 100;
}
.game-component-handle.card.deck-content,
.game-component-handle.tile.deck-content,
.game-component-handle.figure.deck-content,
.game-component-handle.dice.deck-content {
  z-index: auto;
}
.game-component-handle * {
  -webkit-transition-duration: 200ms;
          transition-duration: 200ms;
}
.game-component {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: 1px solid #ccd;
  box-shadow: 0 0 2px 0px #ccd;
  box-sizing: border-box;
  overflow: visible;
  font-size: smaller;
  background-repeat: no-repeat;
  background-size: contain;
}
.game-component.card {
  border-radius: 5px;
}
.game-component.selected,
.game-component:hover {
  box-shadow: 0 0 2px 1px #7098ff;
}
.game-component * {
  cursor: inherit;
}
.game-component.tile,
.game-component.figure {
  padding: 0px;
  border-color: transparent;
  box-shadow: 0 0 2px 1px transparent;
}
.game-component.tile.selected,
.game-component.figure.selected,
.game-component.tile:hover,
.game-component.figure:hover {
  box-shadow: 0 0 2px 1px #7098ff;
}
.game-component.tile .name,
.game-component.figure .name {
  margin: -25px 0 3px 0;
}
.name {
  overflow: visible;
  white-space: nowrap;
  font-size: 12px;
  margin-top: -25px;
  margin-left: -8px;
  margin-bottom: 6px;
  text-align: left;
  color: #fff;
  background-color: rgba(0,0,0,0.4);
}
.fore-text,
.back-text {
  width: 100%;
  height: 70%;
  padding: 6px;
/*
    &.selected,&:hover
        min-width: 300px
        min-height: 100%
        height: auto
        padding: 8px
        border: 1px solid gray
        background: #fff6
    */
}
.fore-text .card-text-line,
.back-text .card-text-line {
  margin: 0;
  line-height: 1.6;
}
.grid-cell {
  border: 1px solid #ccd;
}
.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: inherit;
}
.face-down {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.face-down .background-container {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.dice-face {
  background-repeat: no-repeat;
  background-size: contain;
}
* {
  background: transparent;
  overflow: hidden;
}
html,
body,
#app {
  overflow: visible;
  height: 100%;
}
a {
  color: inherit;
}
svg.icon {
  width: 24px;
  height: 24px;
  pointer-events: none;
}
svg.icon path {
  fill: #606271;
}
.clickable-icon-button {
  border-radius: 0;
  line-height: 0;
}
.clickable-icon-button:hover,
.clickable-icon-button.selected {
  background-color: #ccc;
}
.clickable-icon-button:hover svg path,
.clickable-icon-button.selected svg path {
  fill: #2e303b;
}
.ellipsis {
  width: 100%;
  text-overflow: ellipsis;
  text-overflow: "...";
  white-space: nowrap;
}
.hidden {
  display: none;
}
[disabled] {
  opacity: 0.5;
  cursor: default;
}
li {
  list-style-type: none;
}
li a {
  display: inline-block;
}
p > a {
  display: inline;
}
button {
  padding: 6px 8px;
  border: solid 1px #aaa;
  cursor: pointer;
}
input {
  padding: 8px;
  border: solid 1px #aaa;
  vertical-align: baseline;
}
input[type=file] {
  padding: 0;
  border: 0;
}
input[type=color] {
  padding: 0;
  border: 0;
  vertical-align: middle;
}
.file-input {
  display: none;
}
option {
  padding: 4px;
}
select {
  border: 1px solid #aaa;
  padding: 4px;
  cursor: pointer;
}
.bordering-bottom {
  padding: 16px;
  border-bottom: 1px solid #ccc;
}
.centering {
  text-align: center !important;
}
.align-left {
  text-align: left !important;
}
.align-right {
  text-align: right !important;
}
.fill-white path {
  fill: #fff;
}
.button {
  font-size: 14px;
}
.auth-button {
  font-size: 12px;
}
.auth-button svg {
  margin-top: 6px;
}
.clickable-icon-button {
  border-style: none;
  margin: 0;
  padding: 0;
}
.horizontal-menu {
  display: block;
}
.horizontal-menu li {
  height: 100%;
  float: left;
  display: block;
  line-height: 0;
}
.delete-button {
  background-color: #d13f19;
  border-style: none;
  color: #fff;
}
.delete-button:hover {
  background-color: #f13f19;
  color: #fff;
  border-style: none;
}
.ps-scrollbar-x,
.ps-scrollbar-y {
  background-color: #46464d !important;
}
.modal-overlay {
  display: none;
  background-color: rgba(0,0,0,0.6);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  -webkit-animation: fade-in 200ms linear;
          animation: fade-in 200ms linear;
}
.modal-window {
  position: absolute;
  overflow: visible;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1001;
  width: 30%;
  min-width: 420px;
  height: 320px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 0 4px 0 #ccc;
  padding: 20px;
  -webkit-animation: slide-down 300ms ease;
          animation: slide-down 300ms ease;
}
.modal-toolbar {
  text-align: right;
  margin: -40px -40px 0 0;
}
.modal-toolbar-button {
  background-color: #9a9a9a;
  height: 53px;
  padding: 14px;
  border-style: none;
  border-radius: 50%;
  box-shadow: 0 0 2px 0 #ccc;
}
.modal-toolbar-button:hover {
  background-color: #f0f0f2;
  box-shadow: 0 0 6px 0 #000;
  border-style: none;
}
.loading-modal {
  display: block !important;
  z-index: 10000 !important;
  background-color: #161a1e !important;
  opacity: 1 !important;
}
.loading-modal-window {
  color: #fff !important;
  background-color: #161a1e !important;
  box-shadow: none;
}
.loading-modal-content {
  position: relative;
  top: 30%;
}
.loading-modal-content img {
  display: block;
  position: relative;
  width: 100%;
}
.loading-modal-content span {
  display: block;
  text-align: center;
  position: relative;
  top: 100%;
}
strong.attention {
  color: #c93c52;
}
#dashboard {
  background: #f2f2f2;
  display: block;
  margin: auto;
}
.dashboard-header {
  width: 100%;
}
.account-screen-name {
  margin-right: 12px;
}
.account-icon {
  height: 48px;
  border-radius: 2px;
  margin-right: 12px;
}
#instruction {
  opacity: 0.7;
  margin: 0.4em 1em;
  padding: 0.6em 1em;
  line-height: 2;
  position: fixed;
  right: 280px;
  cursor: default;
/*
    border: #0008 solid 1px
    padding: 0.4em 0.8em
    float: left
    &:empty
        display: none
    */
  -webkit-transition: all 200ms;
  transition: all 200ms;
}
#instruction:hover,
#instruction:active {
  opacity: 0.85;
  color: #fff;
  z-index: 1000;
  background: #222;
  border-radius: 6px;
}
@-webkit-keyframes diceroll {
  from {
    -webkit-transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
            transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
  }
  to {
    -webkit-transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
            transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
  }
}
@keyframes diceroll {
  from {
    -webkit-transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
            transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
  }
  to {
    -webkit-transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
            transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
  }
}
@-webkit-keyframes diceroll-rev {
  from {
    -webkit-transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
            transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
  }
  to {
    -webkit-transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
            transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
  }
}
@keyframes diceroll-rev {
  from {
    -webkit-transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
            transform: rotateX(360deg) rotateY(360deg) rotate(360deg);
  }
  to {
    -webkit-transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
            transform: rotateX(0deg) rotateY(0deg) rotate(0deg);
  }
}
@-webkit-keyframes dicefaceroll {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dicefaceroll {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes shuffle-r {
  33% {
    -webkit-transform: translate(60%, 0);
            transform: translate(60%, 0);
  }
  67% {
    -webkit-transform: translate(-60%, 0);
            transform: translate(-60%, 0);
  }
}
@keyframes shuffle-r {
  33% {
    -webkit-transform: translate(60%, 0);
            transform: translate(60%, 0);
  }
  67% {
    -webkit-transform: translate(-60%, 0);
            transform: translate(-60%, 0);
  }
}
@-webkit-keyframes shuffle-l {
  33% {
    -webkit-transform: translate(-60%, 0);
            transform: translate(-60%, 0);
  }
  67% {
    -webkit-transform: translate(60%, 0);
            transform: translate(60%, 0);
  }
}
@keyframes shuffle-l {
  33% {
    -webkit-transform: translate(-60%, 0);
            transform: translate(-60%, 0);
  }
  67% {
    -webkit-transform: translate(60%, 0);
            transform: translate(60%, 0);
  }
}
@-webkit-keyframes shuffle-u {
  33% {
    -webkit-transform: translate(0, 60%);
            transform: translate(0, 60%);
  }
  67% {
    -webkit-transform: translate(0, -60%);
            transform: translate(0, -60%);
  }
}
@keyframes shuffle-u {
  33% {
    -webkit-transform: translate(0, 60%);
            transform: translate(0, 60%);
  }
  67% {
    -webkit-transform: translate(0, -60%);
            transform: translate(0, -60%);
  }
}
@-webkit-keyframes shuffle-d {
  33% {
    -webkit-transform: translate(0, -60%);
            transform: translate(0, -60%);
  }
  67% {
    -webkit-transform: translate(0, 60%);
            transform: translate(0, 60%);
  }
}
@keyframes shuffle-d {
  33% {
    -webkit-transform: translate(0, -60%);
            transform: translate(0, -60%);
  }
  67% {
    -webkit-transform: translate(0, 60%);
            transform: translate(0, 60%);
  }
}
@-webkit-keyframes inc-counter {
  50% {
    -webkit-transform: scale(1.7);
            transform: scale(1.7);
  }
}
@keyframes inc-counter {
  50% {
    -webkit-transform: scale(1.7);
            transform: scale(1.7);
  }
}
@-webkit-keyframes dec-counter {
  50% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}
@keyframes dec-counter {
  50% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}
@-webkit-keyframes flip {
  to {
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}
@keyframes flip {
  to {
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}
@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
}
@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
}
@-webkit-keyframes slide-down {
  0% {
    opacity: 0.3;
    -webkit-transform: translate(0, -5%);
            transform: translate(0, -5%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
}
@keyframes slide-down {
  0% {
    opacity: 0.3;
    -webkit-transform: translate(0, -5%);
            transform: translate(0, -5%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
}
@-webkit-keyframes new-chat-message {
  0% {
    opacity: 0.5;
    background-color: #fff;
  }
}
@keyframes new-chat-message {
  0% {
    opacity: 0.5;
    background-color: #fff;
  }
}
.property-section-title {
  padding: 8px;
  background: #666;
}
.property-line {
  padding: 12px 8px;
  display: block;
}
.property-line>button {
  margin: 0 8px 0 0;
}
.property-line input {
  margin: 0;
  background-color: #444;
}
.property-line select {
  margin: 0;
  background-color: #444;
}
.property-line textarea {
  margin: 0;
  background-color: #444;
}
.property-button {
  margin: 1ex;
  color: #fff;
}
.property-button:hover {
  background-color: #909090;
}
.property-dice-face {
  padding: 0 8px;
  border-top: 1px solid #aaa;
}
.property-dice-face input[type=text] {
  width: 50%;
}
.property-description {
  font-size: 14px;
}
.left-label {
  margin-right: 8px;
}
.right-label {
  margin-left: 8px;
}
#property-pane textarea {
  display: block;
  background: #fff;
  color: #222;
  padding: 8px;
  width: 100%;
}
#property-pane input {
  max-width: 50%;
}
#property-pane option {
  background: #444;
}
#property-pane path {
  fill: #fff;
}
.room-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}
#left-pane {
  position: relative;
  width: 200px;
  border-right: 1px solid #4d5d6a;
  box-shadow: 0 0 2px 0 #ccc;
  background-color: #37424b;
  color: #fff;
}
.left-pane-header {
  border-bottom: 1px solid #4d5d6a;
}
#bgengine-logo.left-pane-header-logo {
  margin: 24px 0;
  float: none;
}
#bgengine-logo.left-pane-header-logo .left-pane-logo-image {
  height: 42px;
  margin: auto;
  display: block;
}
#right-pane {
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 200;
  background-color: #f2f2f2;
  border-left: 1px solid #ccc;
  box-shadow: 0 0 2px 0 #ccc;
}
.right-pane-header {
  height: 72px;
  border-bottom: 1px solid #828587;
}
.right-pane-action-bar {
  width: 100%;
  border-bottom: 1px solid #828587;
}
.right-pane-action li,
.right-pane-social-action li {
  margin-bottom: 0;
}
.right-pane-action {
  float: right;
}
.right-pane-social-action {
  float: left;
}
.room-name {
  text-align: center;
  font-weight: 200;
  font-size: 18px;
  margin: 0;
  background-color: #d5dce0;
  padding: 6px;
  letter-spacing: 0;
}
.tab-pane {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1 1;
          flex: 1 1;
}
#members,
#settings {
  position: relative;
  height: calc(100% - 72px);
}
.user-setting-section {
  border-bottom: 1px solid #ccc;
}
.user-list-section {
  position: relative;
  padding: 8px;
  width: 100%;
}
#chat {
  height: calc(100% - 72px);
}
#chat-messages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: column-reverse nowrap;
      flex-flow: column-reverse nowrap;
  position: relative;
  width: 100%;
}
.chat-messages-container {
  position: relative;
  height: calc(100% - 147px);
  width: 100%;
}
.chat-from {
  margin-right: 16px;
  font-size: smaller;
}
.player-line {
  margin: 8px;
}
.member-line {
  margin: 8px;
}
.member-line .username {
  margin-left: 40px;
}
.member-name {
  margin: 8px;
  width: 150px;
}
input#my-name {
  border-width: 1px;
  background-color: #fff;
  padding: 6px;
  width: 150px;
  margin: 0 8px;
}
.member-name,
.player-index,
.chat-msg-line {
  font-size: 14px;
}
.chat-msg-line {
  padding: 8px;
  overflow: hidden;
  line-height: 2;
  -webkit-animation: new-chat-message 1000ms;
          animation: new-chat-message 1000ms;
}
.chat-msg-line:nth-child(even) {
  background-color: #d6dbdf;
}
#chat-message-box {
  display: block;
  padding: 12px;
  width: 100%;
  height: 147px;
  border-top: 1px solid #828587;
}
#chat-message-box-input {
  display: block;
  background-color: #fff;
  border-radius: 0;
  margin: 0 auto 6px auto;
  width: 100%;
  height: 64px;
  font-size: smaller;
  resize: none;
}
.room-setting-section {
  margin: 8px;
  padding: 8px;
}
.room-setting-section-header {
  margin: 0;
  margin-bottom: 13px;
  padding: 4px 6px;
  font-size: 14px;
  font-weight: 100;
  border-bottom: 1px solid #828587;
}
.room-setting-item-header {
  margin: 0;
  margin-bottom: 12px;
  padding-left: 6px;
  font-size: 14px;
  font-weight: 100;
  border-left: 3px solid #6a67cc;
}
ul.player-list {
  margin: 6px 0;
}
ul.player-list li {
  border-bottom: 1px solid #ccc;
  margin-bottom: 12px;
}
.player-setting-header {
  padding-left: 8px;
}
.player-setting-property {
  margin: 0;
}
.player-property-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row nowrap;
      flex-flow: row nowrap;
  width: 100%;
  margin: 8px 0;
  padding: 0 12px 0 12px;
}
.player-property-line label {
  display: block;
  margin: 0;
  padding: 0;
  font-weight: 100;
  min-width: 130px;
  line-height: 1.7em;
}
.player-property-line select {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  margin: 0;
  background-color: #fff;
  border-radius: 1px;
  padding: 2px;
  height: 2em;
}
.player-property-line input {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  margin: 0;
  background-color: #fff;
  width: 38px;
  cursor: pointer;
}
.submit-button {
  float: right;
  background-color: #6a67cc;
  border: none;
  border-radius: 1px;
  color: #fff;
  font-weight: 200;
}
.submit-button:hover {
  color: #fff;
  background-color: #8f8cf6;
}
#chat-submit {
  height: 35px;
  line-height: 34px;
  border-radius: 1px;
}
.waiting-overlay {
  display: block !important;
  width: calc(100% - 480px);
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 100;
  position: fixed;
  top: 0;
  left: 200px;
  -webkit-animation: fade-in 300ms ease;
          animation: fade-in 300ms ease;
}
.waiting-overlay-text {
  color: #050505;
  position: absolute;
  overflow: visible;
  margin: auto;
  top: 0;
  bottom: 0;
  z-index: 101;
  width: 100%;
  height: 96px;
  box-shadow: 0 0 4px 0 #ccc;
  background-color: rgba(255,255,255,0.7);
  -webkit-animation: slide-down 300ms ease;
          animation: slide-down 300ms ease;
}
.waiting-overlay-text span {
  display: block;
  margin: auto;
  text-align: center;
  position: relative;
  top: 36px;
}
.join-button,
.leave-button {
  border-radius: 1px;
  margin: 35px 0;
  display: block;
}
.join-button {
  float: left;
  padding: 0 49px;
}
.leave-button {
  float: right;
  padding: 0 12px;
}
.join-user-data .member-line {
  display: block;
  width: 90%;
  margin: 16px auto;
}
#room-note {
  margin: 0 8px;
}
#room-note-header {
  margin: 6px 0;
}
#room-note > button {
  color: #fff;
}
div#room-note-text {
  margin: 8px 0 0 12px;
}
textarea#room-note-text {
  color: #222;
  width: 99%;
  height: auto;
  max-height: 20em;
}
.room-note-line {
  min-height: 1rem;
}
.tutorial-section.top-section {
  padding: 30px 0 20px 0;
}
.section.tutorial-section:nth-child(2n+1) {
  background-color: #fbfcfc;
}
.tutorial-image {
  width: 100%;
}
.tutorial-description {
  text-align: left;
}
.tutorial-order-list li {
  list-style-type: decimal;
}
.ol-label {
  text-align: left;
  margin-right: 12px;
}
.ol-item {
  display: inline;
}
.tutorial-list li {
  padding: 4px 10px;
  margin-bottom: 22px;
}
.tutorial-list.object-list li {
  float: left;
  margin: 2px;
}
.ul-label {
  margin-right: 12px;
}
.ul-item {
  display: inline;
  margin-bottom: 6px;
}
.section-item-header {
  border-bottom: 1px solid #ccc;
  padding-left: 6px;
}
* {
  font-size: 14px;
}
ul {
  margin: 0;
}
.pane {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 2px 2px #ccd;
}
.pane #make-new-game-button {
  float: right;
  margin: 0;
}
.pane input,
.pane label {
  margin-bottom: 10px;
  width: 50%;
  float: left;
}
.pane label {
  font-size: 15px;
  padding: 8px;
  clear: both;
}
.pane li {
  border: 0 solid #aaa;
  border-top-width: 1px;
  margin-bottom: 1em;
  padding-top: 1em;
}
.pane li:first-child {
  border-width: 0;
}
.pane-heading {
  font-size: 16px;
  font-weight: bold;
  background: #7491d1;
  color: #fff;
  padding: 8px;
}
.game-operation,
.room-operation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.game-operation button,
.room-operation button {
  display: block;
  margin: 16px 0 0 8px;
}
.operation-caption {
  color: #323232;
  font-size: 16px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1em;
}
.pict-btn {
  -webkit-transition-duration: 200ms;
          transition-duration: 200ms;
  border: 0;
  margin: 0;
  padding: 8px;
}
.pict-btn:hover {
  background: rgba(0,0,0,0.533);
  color: #fff;
}
#header {
  border-bottom: 1px solid #ccc;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#header * {
  fill: #222;
}
#bgengine-logo {
  float: left;
  font-size: larger;
  line-height: 1;
  margin: 12px 0;
}
#bgengine-logo img {
  height: 48px;
}
#header-gap {
  -webkit-box-flex: 1;
      -ms-flex: 1 1;
          flex: 1 1;
}
#header-twitter-btn {
  height: 40px;
  padding: 8px;
}
#header-twitter-btn:hover {
  background: rgba(0,0,0,0.533);
}
.section {
  text-align: center;
  padding: 100px 0;
}
.icon {
  margin: 6px;
  width: 24px;
  float: left;
}
.button {
  text-transform: none;
}
.lp-login-button {
  color: #fff;
  background-color: #1e5799;
  border-style: none;
}
.lp-login-button:hover {
  background-color: #64a1e8;
  color: #fff;
}
.auth-button {
  border-style: none;
  width: 90%;
  max-width: 267px;
  padding: 0 12px;
}
.auth-button:hover {
  border-style: none;
}
.auth-button .icon {
  margin-right: 5px;
}
.twitter-color {
  color: #fff;
  background-color: #00aced;
}
.twitter-color svg path {
  fill: #fff;
}
.twitter-color:hover {
  color: #fff;
  background-color: #7ddbff;
}
.google-color {
  color: #fff;
  background-color: #dd4b39;
}
.google-color svg path {
  fill: #fff;
}
.google-color:hover {
  color: #fff;
  background-color: #f78b7d;
}
.github-color {
  background-color: #e5e5e5;
  border: 1px solid #ccc;
  color: #000;
}
.github-color svg path {
  fill: #000;
}
.github-color svg path:hover {
  fill: #000;
}
.github-color:hover {
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  color: #000;
}
#footer {
  height: 64px;
  border-top: 1px solid #ccc;
}
.section-footer {
  margin-top: 15px;
  font-size: 15px;
}
.lp-header {
  border-bottom: 1px solid #ddf;
  box-shadow: 0 0 2px 0px #ccd;
}
.lp-footer {
  border-top: 1px solid #ccc;
  text-align: center;
  padding-top: 12px;
}
.header-menu {
  margin: 12px 0 0 12px;
  float: right !important;
}
.header-menu li {
  margin: 0;
  float: left;
}
.section-hero {
  background: url("/img/gear.png") 45% no-repeat, -webkit-linear-gradient(#1e5799, #74a3db);
  background: url("/img/gear.png") 45% no-repeat, linear-gradient(#1e5799, #74a3db);
  box-shadow: 0 0 2px 0px #ccd;
}
.section-feature {
  background-color: #f9fbff;
  box-shadow: 0 0 2px 0px #ccd;
}
.section-header {
  font-size: larger;
  font-weight: bold;
}
.hero-heading {
  text-align: left;
  color: #fff;
}
.hero-description {
  text-align: left;
  color: #fff;
  padding-top: 70px;
}
.section-description {
  font-size: normal;
  text-align: left;
}
.content {
  position: relative;
  height: 260px;
}
.content .section-description {
  position: relative;
  top: 150px;
}
.make-components {
  background-image: url("/img/components.png");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center top;
}
.online-test {
  background-image: url("/img/online.png");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center top;
}
.section-login-form {
  padding-top: 40px;
  background: -webkit-linear-gradient(#1e5799, #74a3db);
  background: linear-gradient(#1e5799, #74a3db);
}
.section-login-header {
  font-size: 17px;
  font-weight: bold;
  text-align: center;
}
.login-pane {
  padding: 40px;
  background-color: rgba(255,255,255,0.86);
  box-sizing: border-box;
  width: 70%;
  margin: 0 auto;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.pane-container {
  padding: 30px 0;
}
.section-new-game,
.section-game-list,
.section-room {
  padding: 12px;
  text-align: left;
}
.room-list-item {
  vertical-align: middle;
}
.game-row,
.room-row {
  font-size: 17px;
}
.toolbar-header {
  padding: 12px;
}
.toolbar-header.logo {
  line-height: 1;
  margin: 0;
}
.toolbar-header.logo img {
  height: 40px;
}
.login-button {
  width: 50%;
}
