.ember-power-calendar {
  box-sizing: border-box;
  position: relative;
  font-size: 14px;
  line-height: 1.4286;
}

.ember-power-calendar-nav {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  line-height: 2;
}

.ember-power-calendar-nav * {
  box-sizing: border-box;
}

.ember-power-calendar-days,
.ember-power-calendar-days * {
  box-sizing: border-box;
}

.ember-power-calendar-nav-title {
  flex: 1;
  text-align: center;
}

.ember-power-calendar-row {
  display: flex;
  justify-content: space-between;
}

.ember-power-calendar-weekday {
  appearance: none;
  flex: 1 1 100%;
  background-color: transparent;
  background-color: initial;
  border: none;
  border: initial;
  outline: none;
  outline: initial;
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 0;
}

.ember-power-calendar-day {
  appearance: none;
  background-color: transparent;
  background-color: initial;
  border: none;
  border: initial;
  outline: none;
  outline: initial;
  flex: 1 1 100%;
  font-size: inherit;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ember-power-calendar-nav-control {
  appearance: none;
  background-color: transparent;
  background-color: initial;
  border: none;
  border: initial;
  outline: none;
  outline: initial;
  line-height: 1;
  font-size: 150%;
}
.ember-power-calendar-nav-control:focus {
  transform: scale(1.2);
}

.ember-power-calendar-day--selected,
.ember-power-calendar-day--selected:not([disabled]):hover {
  font-weight: bold;
}

.ember-power-calendar-day--interactive[disabled] {
  opacity: 0.4;
}

.date-picker-content {
  background-color: white;
  box-shadow: 2px 2px 1em #333;
  display: inline-block;
  position: absolute;
  margin-top: 20px;
  margin-left: -10px;
  width: 15em;
  z-index: 2;
}
.date-picker-content .ember-power-calendar-nav-title {
  font-weight: bold;
}
.date-picker-content .ember-power-calendar-day {
  padding: 5px;
}
.date-picker-content .ember-power-calendar-day.ember-power-calendar-day--other-month {
  color: rgb(187, 187, 187);
}
.date-picker-content .ember-power-calendar-day.ember-power-calendar-day--current-month {
  color: rgb(101, 109, 120);
  background-color: rgb(245, 247, 250);
}
.date-picker-content .ember-power-calendar-day.ember-power-calendar-day--today, .date-picker-content .ember-power-calendar-day:not([disabled]):hover {
  background-color: rgb(238, 238, 238);
}
.date-picker-content .ember-power-calendar-day.ember-power-calendar-day--selected {
  background-color: #ddeedd;
}
.date-picker-content .ember-basic-dropdown-trigger:focus {
  outline: none;
}

.flash-message {
  margin-left: 5vw;
  margin-right: 5vw;
  padding: 15px;
}
.flash-message.alert {
  background-color: #bf4a40;
  color: white;
}

.task {
  background-color: white;
  border-radius: 3px;
  list-style-type: none;
  margin: 0 0.25em 0.5em 0.25em;
  padding: 0.5em;
}
.task .flex-container {
  align-items: center;
  display: flex;
}
.task .flex-container > div {
  flex: 0;
}
.task .flex-container > div.description {
  flex-grow: 1;
}
.task.pending {
  opacity: 0.33;
}
.task.editing {
  box-shadow: 2px 2px 1em #999;
}
.task[draggable=true] {
  -moz-user-select: none;
  -khtml-user-drag: element;
  cursor: move;
}
.task .state {
  margin-right: 0.25em;
}
.task p {
  margin: 0;
}
.task p.due-date {
  margin-top: 0.5em;
  margin-left: 0.5em;
  font-style: italic;
}
.task textarea {
  background: none;
  border: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10pt;
  height: 100%;
  outline: 0;
  overflow: hidden;
  position: relative;
  resize: vertical;
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #23a08d;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10pt;
  margin: 0;
  overflow: hidden;
  position: fixed;
}
body.testing {
  overflow: visible;
  position: static;
}

div.page-wrapper {
  height: 100vh;
  margin: 8px;
  width: calc(100vw - 8px);
}

nav.top-nav {
  display: flex;
  align-items: center;
  height: 2.5em;
}
nav.top-nav a {
  text-decoration: none;
}
nav.top-nav svg.svg-inline--fa {
  color: black;
  font-size: 1.75em;
}
nav.top-nav > div {
  flex-grow: 1;
}
nav.top-nav .todolist-actions > div {
  display: inline-block;
}
nav.top-nav .flash-messages {
  z-index: 2;
}
nav.top-nav .user-actions {
  text-align: right;
}

.task-list {
  background-color: #e3e3e3;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  margin-right: 0.5em;
  max-height: 100%;
  min-width: 22em;
  padding-top: 1em;
  scroll-snap-align: start;
  -webkit-scroll-snap-align: start;
  vertical-align: top;
  white-space: normal;
}
.task-list.active-drop-target {
  box-shadow: 0px 0px 15px #333;
}
.task-list h1,
.task-list h2 {
  text-align: center;
  margin: 0;
}
.task-list ul {
  max-height: calc(100% - 12em);
  overflow-y: auto;
  padding: 0.25em;
}
.task-list.current {
  background-color: #b2dfda;
}
.task-list.past li:not(.done) {
  color: #bf4a40;
  font-weight: bold;
}
.task-list.past.has-unfinished-tasks h1,
.task-list.past.has-unfinished-tasks h2 {
  color: #bf4a40;
}
.task-list.past:not(.has-unfinished-tasks) {
  opacity: 0.75;
}

.days,
.recurring-task-days {
  display: flex;
  align-items: flex-start;
  height: calc(100vh - 4em);
  -webkit-overflow-scrolling: touch;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-scroll-snap-type: mandatory;
  white-space: nowrap;
}

.days {
  margin-top: 0.5em;
}

.done {
  color: #666;
  opacity: 0.7;
}

.new-task {
  width: 100%;
}
.new-task textarea,
.new-task input[type=text] {
  background-color: white;
}

.new-task-dialog,
.edit-task-dialog {
  background-color: lightgray;
  padding: 0 2em 1em 2em;
}
.new-task-dialog textarea,
.new-task-dialog input[type=text],
.edit-task-dialog textarea,
.edit-task-dialog input[type=text] {
  background-color: white;
}

.login-form {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30vh;
  width: 18em;
}
.login-form td {
  padding: 0.25em;
}
.login-form td[colspan] {
  text-align: center;
}

@media (max-width: 25em) {
  input,
  textarea {
    font-size: 16px !important;
  }
  .task-list {
    width: calc(100vw - 8px - 0.25em);
  }
  .task-list ul {
    max-height: calc(100vh - 16em);
  }
}
.hidden {
  display: none;
}

dialog {
  border-radius: 3px;
  box-shadow: 10px 10px 15px #222;
  width: 25vw;
  min-height: 15em;
  max-height: 50vh;
}
dialog::backdrop {
  background: rgba(128, 128, 128, 0.77);
}

@media (max-width: 1000px) {
  dialog {
    height: 50vh;
    width: 90vw;
  }
}
.w-100 {
  width: 100%;
}

.button-footer {
  margin-top: 2em;
  text-align: right;
}