body {
  padding: 20px;
  height: 100%;
  margin: 0 auto;
  font-family: 'Slabo 27px', serif;
  background: #dbf4f7;
}

#name {
  padding-top: 10px;
  font-size: 24px;
  text-align: center;
  color: #454545;
}

#filler{
  height: 25px;
}

#screenlock {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
}

img.icon {
  vertical-align: text-bottom;
  height: 20px;
  margin-right: 7px;
}

#header {
  font-size: 120%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #2b566b;
  font-weight: bold;
  color: white;
  z-index: 5000;
}
#header .inner {
  margin: 10px 15px;
}
#menu {
  float: right;
}

#menu .button {
  display: inline-block;
  color: white;
  font-size: 90%;
  cursor: pointer;
  margin-right: 15px;
}
#menu .button:last-child {
  margin-right: 5px;
}
#menu .button:hover {
  text-decoration: underline;
}

#title {
  display: inline-block;
}

.popup {
  background: white;
  border-radius: 5px;
  position: absolute;
  overflow: hidden;
  z-index: 4999;
}

.popup .button.close {
  position: absolute;
  right: 6px;
  cursor: pointer;
}
.popup.name .button.close {
  top: 6px;
}
.popup .button.close img {
  height: 10px;
}

.popup.name {
  top: 55px;
  right: 10px;
  border: 1.5px solid white;
}
.popup.name input {
  width: 200px;
  padding: 10px;
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
}

.popup.states {
  width: 150px;
  top: 55px;
  right: 10px;
}
.popup.states .title {
  background: #2c576b;
  color: white;
  padding: 5px 10px;
}
.popup.states .state {
  display: block;
  color: inherit;
  padding: 10px;
  border-bottom: 1px solid #d9e1e4;
}
.popup.states .state:last-child {
  border-bottom: none;
}
.popup.states .state:hover {
  background: #f4fafb;
}

#stack {
  margin-top: 20px;
  margin-bottom: 20px;
  border: none;
}

#stack .button.add textarea {
  border: none;
  outline: none;
  color: #444;
  background: none;
  font-family: inherit;
  font-size: 100%;
  width: 146px;
  height: 96px;
}

.card {
  display: inline-block;
  width: 150px;
  height: 100px;
  border-radius: 4px;
  padding: 5px;
  margin: 0 10px 10px 0;
  vertical-align: top;
  text-align: center;
  font-size: 120%;
  cursor: pointer;
  color: white;
  background-color: #444;
}

.card:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  background-color: #4c4c4c;
}

.card.selected {
  color: yellow;
}
.card.selected .inner {
  border-color: yellow;
}

.card .inner {
  border: 2px dashed transparent;
  border-radius: 3px;
  height: 80px;
  padding: 8px;
}

#stack .button {
  border: 1px dashed #79a5bb;
  color: #79a5bb;
  background: none;
}
#stack .button:hover {
  box-shadow: none;
  transform: none;
}
#stack .button .icon {
  font-size: 250%;
  display: block;
}

.group {
  margin-bottom: 20px;
  color: #2b566b;
  border: 1px dashed #2b566b;
  border-radius: 4px;
  min-height: 150px;
}

.group .title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  padding: 5px;
  border-bottom: 1px dashed #83a5b1;
  background: #cae5ef;
  cursor: pointer;
}
.group input {
  background: none;
  outline: none;
  border: none;
  text-align: center;
  color: #2b566b;
  font-size: 24px;
  font-weight: bold;
  font-family: inherit;
}

.group .cards {
  min-height: 130px;
  margin-top: 0;
  padding: 10px;
  padding-bottom: 0;
  border-radius: 3px;
}

.group .cards.drop-active {
  background: rgba(0, 0, 0, 0.05);
}

#newGroup {
  width: 300px;
  color: #79a5bb;
  border: 1px dashed #79a5bb;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  margin: 0 auto;
  font-size: 150%;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 50px;
}

#newGroup input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 100%;
  font-weight: bold;
  text-align: center;
  background: none;
  color: #2b566b;
  font-family: inherit;
}

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 5px;
  background: #2b566b;
  color: #ffffff;
  text-align: center;
  font-size: 90%;
}
#footer a {
  color: inherit;
}

.display-none {
  display: none !important;
}
