.header, .header * {
  box-sizing: border-box; }

.header {
  width: 100%;
  position: fixed;
  top: 0;
  padding: 0 20px;
  color: white;
  height: 40px;
  background-color: #333333;
  left: 0;
  z-index: 2000;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1; }
  .header #logo {
    position: absolute;
    top: 0;
    left: 20px;
    margin: 13px 0;
    width: 230px;
    height: 14px;
    color: transparent;
    background: url("../images/sprite.png") no-repeat left -49px; }
  .header #account {
    min-width: 130px;
    float: right;
    text-align: right; }
    .header #account a {
      display: block;
      color: #cccccc;
      text-decoration: none;
      text-transform: uppercase; }
      .header #account a:hover {
        color: white; }
    .header #account .auth-icon-in {
      overflow: hidden;
      background-image: url("../images/sprite.png");
      background-repeat: no-repeat;
      display: inline-block;
      background-position: -184px 0;
      display: inline-block;
      width: 16px;
      height: 16px;
      margin: 12px 8px 12px 0;
      vertical-align: -14px; }
    .header #account .auth-icon-out {
      overflow: hidden;
      background-image: url("../images/sprite.png");
      background-repeat: no-repeat;
      display: inline-block;
      background-position: -200px 0;
      display: inline-block;
      width: 16px;
      height: 16px;
      margin: 12px 8px 12px 0;
      vertical-align: -14px; }
    .header #account .auth-status {
      height: 40px;
      line-height: 40px; }
    .header #account .show-login {
      cursor: pointer; }
    .header #account ul {
      display: none;
      margin: 0;
      padding: 10px 0;
      background-color: #333333;
      text-align: left; }
      .header #account ul li {
        display: block; }
        .header #account ul li a {
          padding: 10px 0 10px 24px; }
    .header #account:hover ul {
      display: block; }

.quizStatus img {
  float: left; }

@media screen and (max-width: 500px) {
  .header {
    padding-left: 20px;
    padding-right: 20px;
    background-color: black; }
    .header #account {
      min-width: 0; }
      .header #account .auth-icon-in, .header #account .auth-icon-out {
        margin-right: 0; }
      .header #account .auth-text {
        display: none; }
      .header #account ul li a {
        padding: 10px; } }
