* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
}
a > img {
  border: none;
}
/*
p {
  margin: 0;
  line-height: 1.5;
  & + p {
    margin-top: 1rem;
  }
}
*/
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
.hidden {
  display: none !important;
}
.mp0 {
  margin: 0;
  padding: 0;
}
/*
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  > i {
    font-size: 2rem;
  }
}
*/
html {
  background-color: #eee;
  font-family: sans-serif;
  font-size: 16px;
  color: #333;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  padding-right: 3rem;
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-title {
  font-size: 1rem;
  white-space: nowrap;
}
.nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
}
.nav > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  text-decoration: none;
  color: #fff;
}
.main {
  margin-top: 3rem;
  width: 100%;
}
.item {
  background: #fff;
  border-bottom: 1px solid #ccc;
  padding: .5rem;
  overflow: hidden;
}
.item-list {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}
.item-thumb {
  float: left;
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  margin-right: .5rem;
}
.item-thumb > img {
  display: block;
  width: inherit;
  height: auto;
}
.item-data-list {
  float: left;
}
.item-control {
  clear: left;
  padding-top: .5rem;
  display: flex;
  justify-content: flex-end;
}
.item-control > button {
  margin-left: .5rem;
}
.item[data-is-active="0"] .item-data {
  text-decoration: line-through;
}
.login {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}
