/*structure*/

main {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
}

.controls {
  flex-basis: 60%;
  text-align: left;
}

.outputs {
  flex-basis: 40%;
  margin: 2em;
  text-align: center;
  z-index: 9;
}

.sticky {
  position: sticky;
  top: 1rem;
}

.normal-control {
  padding: .5em 2em;
}

.advance-control {
  display: none;
  padding: .5em 2em;
}

#qrcode-output {
  margin: 2em 0 4em;
}

#donate {}


/*others*/

#banner {
  color: #666;
  font-family: Georgia, "Xin Gothic", "PingFang TC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei", sans-serif;
  font-size: 2em;
  font-weight: 900;
  line-height: 50px;
  text-align: center;
  margin: 10px 0 0;
}

.gen_options {
  display: inline-block;
}

figure {
  text-align: left;
}

label {
  font-size: 1em;
  color: #999 !important;
}

#vcard_phone_type1,
#vcard_phone_type2 {
  position: absolute;
  right: 0;
  color: #999;
}

hr {
  margin: 12px 0 0;
  padding: 0;
  border: none;
  height: 1px;
  background-color: #000;
  opacity: 0.1;
}

#img-buffer {
  display: none;
}

.mdl-textfield {
  margin: 0 10px;
}

#powered_by {
  padding: 2em;
}

@media screen and (max-width: 1183px) {
  #banner {
    text-align: left;
    margin-left: 1em;
  }
}

@media screen and (max-width: 650px) {
  main {
    display: block;
  }
  .controls {
    position: relative;
  }
  .outputs {
    position: relative;
    top: 0;
  }
  figure {
    text-align: center;
  }
}