html,body {
  font-family: 'Open Sans', sans-serif;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Default */
.nominations {
  margin: 20px;
}

.nomination {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100px;
  margin: 10px;
  padding: 10px;
}

.nomination .image {
  width: 80px;
  height: 80px;
  padding: 10px;
}

.nomination .image img {
  width: 80px;
  height: 80px;
  border-radius: 40px;
}

.nomination .image.empty img {
  border-radius: 0
}

.nomination .title, .nomination .name {
  font-size: 12px;
  overflow-wrap: break-word;
}

.nomination .title {
  font-weight: 700;
}

@media (max-width: 399px) {
  .nominations {
    margin: 0;
  }

  .nomination {
    width: 48px;
    margin: 4px;
    padding: 4px;
  }

  .nomination .image {
    width: 48px;
    height: 48px;
    padding: 8px 0;
  }

  .nomination .image img {
    width: 48px;
    height: 48px;
    border-radius: 24px;
  }

  .nomination .title, .nomination .name {
    font-size: 7px;
  }
}

@media (min-width: 400px) and (max-width: 499px) {
  .nominations {
    margin: 0;
  }

  .nomination {
    width: 64px;
    margin: 4px;
    padding: 4px;
  }

  .nomination .image {
    width: 64px;
    height: 64px;
    padding: 8px 0;
  }

  .nomination .image img {
    width: 64px;
    height: 64px;
    border-radius: 32px;
  }

  .nomination .title, .nomination .name {
    font-size: 7px;
  }
}

@media (min-width: 500px) and (max-width: 739px) {
  .nominations {
    margin: 0;
  }

  .nomination {
    width: 80px;
    margin: 5px;
    padding: 5px;
  }

  .nomination .image {
    width: 64px;
    height: 64px;
    padding: 8px;
  }

  .nomination .image img {
    width: 64px;
    height: 64px;
    border-radius: 32px;
  }

  .nomination .title, .nomination .name {
    font-size: 9px;
  }
}

.container {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.nominations {
  display: flex;
  /* justify-content: center; */
  align-items: stretch;
  /* flex-wrap: wrap; */
  overflow-x: auto;
  max-width: 100%;
}

.nomination {
  border-radius: 10px;
}

.nomination:hover {
  background: #c0c0c0;
}

.nomination.selected {
  background: #c1d1f0;
}

.nomination .title, .nomination .name {
  color: #555555;
  text-align: center;
}

.current-nomination {
  margin: 20px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.current-nomination .title {
  font-size: 42px;
  text-align: center;
}

.group {
  display: inline-block;
}

.group-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.selected-avatar {
  width: 256px;
  height: 256px;
  padding: 10px;
  flex-shrink: 0;
}

.selected-avatar img {
  width: 256px;
  height: 256px;
  border-radius: 128px;
}

.selected-avatar.empty img {
  border-radius: 0;
}

.select {
  min-width: 250px;
  position: relative;
  cursor: text;
  display: inline-block;
  border: 1px solid #c0c0c0;
  border-radius: 3px;
  flex-shrink: 0;
}

.select .search {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 38px;
  left: 0;
  top: 0;
  outline: 0;
  border: none;
  background: none;
  padding: 7px 13px;
  line-height: 24px;
  font-size: 18px;
}

.select .text {
  position: relative;
  left: 1px;
  padding: 7px 13px;
  line-height: 24px;
  font-size: 18px;
}

.select .text.filtered {
  visibility: hidden;
}

.select:hover {
  border: 1px solid #808080;
}

.select.active .text, .select .default {
  color: #c0c0c0;
}

.select .menu {
  position: absolute;
  display: none;
  overflow: auto;
  max-height: 200px;
  min-width: 100%;
  width: 100%;
  z-index: 100;
  bottom: 38px;
  background: white;
}

.select.active {
  border: 1px solid #3366cc;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.select.active .menu {
  border: 1px solid #3366cc;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  margin: 0 -1px;
}

.select .menu.visible {
  display: initial;
}

.item {
  cursor: pointer;
  min-height: 50px;
  display: flex;
  align-items: center;
  border-top: 1px solid #e8e8e8;
}

.item.disabled {
  opacity: 0.3;
}

.item:hover, .item.active {
  background: #e8e8e8;
}

.item.filtered {
  display: none;
}

.item .avatar {
  width: 40px;
  height: 40px;
  padding: 5px;
}

.item .avatar img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
}

.item .name {
  padding: 5px;
}

.item.selected .name {
  font-weight: bold;
}

.token {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error {
  padding: 20px;
  color: tomato;
}

input[name=token] {
  margin: 0;
  padding: 7px 13px;
  border-radius: 3px 0 0 3px;
  font-size: 16px;
  border: 1px solid #c0c0c0;
  border-right: none;
  -webkit-appearance: none;
}

input[type=submit] {
  margin: 0;
  padding: 7px 13px;
  border-radius: 0 3px 3px 0;
  font-size: 16px;
  background: #3366cc;
  color: white;
  border: 1px solid #c0c0c0;
  border-left: none;
  -webkit-appearance: none;
}

.hidden {
  display: none;
}

.toast-container {
  position: fixed;
  text-align: center;
  bottom: 0;
  left: 0;
  right: 0;
}

.toast {
  display: inline-block;
  min-width: 200px;
  border-top: none;
  border-radius: 0 0 5px 5px;
  padding: 7px 13px;
  color: white;
  box-shadow: 0 0 3px #808080;
}

.toast.error {
  background: red;
}

.toast.success {
  background: limegreen;
}

.toast.warning {
  background: orange;
}
