@charset "UTF-8";

body {
    margin: 0;
}

#footer {
    line-height: 70px;
    text-align: center;
}

#main {
    padding: 20px;
}

#header, #footer {
    height: 70px;
    background: #262626;
    color: #fff;
}

.brand {
    position: absolute;
    padding-left: 20px;
    float: left;
    line-height: 70px;
    text-transform: uppercase;
    font-size: 1.4em;
}

.brand a,
.brand a:visited {
    color: #ffffff;
    text-decoration: none;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    float: left;
    position: relative;
}

nav ul li a,
nav ul li a:visited {
    display: block;
    padding: 0 20px;
    line-height: 70px;
    background: #262626;
    color: #ffffff;
    text-decoration: none;
}

nav ul li a:hover,
nav ul li a:visited:hover {
    background: #2581DC;
    color: #ffffff;
}

nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
    padding-left: 4px;
    content: ' ▾';
}

nav ul li ul li {
    min-width: 190px;
}

nav ul li ul li a {
    padding: 15px;
    line-height: 20px;
}

.nav-dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: #262626;
    height: 70px;
    width: 70px;
}

@media only screen and (max-width: 798px) {
  .nav-mobile {
      display: block;
  }

  nav {
      width: 100%;
      padding: 70px 0 15px;
  }

  nav ul {
      display: none;
  }

  nav ul li {
      float: none;
  }

  nav ul li a {
      padding: 15px;
      line-height: 20px;
  }

  nav ul li ul li a {
      padding-left: 30px;
  }

  .nav-dropdown {
      position: static;
  }
}

@media screen and (min-width: 799px) {
  .nav-list {
      display: block !important;
  }
}

#nav-toggle {
    position: absolute;
    left: 18px;
    top: 22px;
    cursor: pointer;
    padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 35px;
    background: #ffffff;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
    top: -10px;
}

#nav-toggle span:after {
    bottom: -10px;
}

#nav-toggle.active span {
    background-color: transparent;
}

#nav-toggle.active span:before, #nav-toggle.active span:after {
    top: 0;
}

#nav-toggle.active span:before {
    transform: rotate(45deg);
}

#nav-toggle.active span:after {
    transform: rotate(-45deg);
}

.ui-dialog input:not([type='checkbox']):not([type='radio']), .ui-dialog select, .ui-dialog textarea {
 margin-bottom: 0.5em;
 width: 100%;
}

#attempts .attempt {
 float: left;
 padding: 10px;
 text-align: center;
 width: 250px;
}

#attempts .puzzle-image {
 height: 200px;
 cursor: pointer;
}

#attempts .attempt-result {
 width: 100%;
}

.notice {
 color: red;
 font-weight: bold;
}

.wrap {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fafafa;
}

.login-form {
    margin-top: 50px;
    width: 350px;
    margin: 0 auto;
    border: 1px solid #ddd;
    padding: 2rem;
    background: #ffffff;
}

.form-input {
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 12px;
    width: 92%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-button {
    background: #69d2e7;
    border: 1px solid #ddd;
    color: #ffffff;
    padding: 10px;
    width: 100%;
    text-transform: uppercase;
    cursor: pointer;
}

.form-button:hover {
    background: #69c8e7;
}

.form-header {
    text-align: center;
    margin-bottom : 2rem;
}

.form-footer {
    text-align: center;
}
