:root {
  font-family: system-ui, sans-serif;
  color: #333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header,
footer {
  padding: 1rem;
}

main {
  width: 35rem;
  padding: 1rem;
  margin: 0 auto;
}

footer {
  text-align: center;
}

p,
h1 {
  margin-top: 0;
}

a,
:visited {
  color: #085e8e;
}

a:not(.button):hover {
  color: #3e92c4;
}

header,
footer {
  background: #fff;
}

label,
input,
img,
textarea {
  display: block;
  width: 100%;
}

input,
select,
textarea,
.html-editor {
  border: 1px solid rgba(0, 0, 0, .3);
  border-radius: .1rem;
  padding: .5rem;
  font-size: 1rem;
}

.html-editor {
  padding: 0;
}

textarea {
  margin-top: .5rem;
  min-height: 342px;
  resize: vertical;
}

label + input,
label + select,
label + img,
label + .html-editor {
  margin-top: .5rem;
}

input + label,
select + label,
img + label {
  margin-top: 1.5rem;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.button {
  display: block;
  min-width: 6rem;
  text-align: center;
  background: #f2f2f2;
  font-size: 1rem;
  padding: .6rem .8rem;
  border: 1px solid rgba(0, 0, 0, .3);
}

.button,
.template-list-item {
  display: block;
  border-radius: .25rem;
  text-decoration: none;
  color: #333;
}

.button--primary {
  background-color: #94ba66;
  border: 1px solid #7aa14b;
  color: #fff;
}

.button:hover {
  background-color: #eaeaea;
}

.button--primary:hover {
  background-color: #8aae5e;
}

.template-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-gap: 1rem;
}

.template-list-item {
  width: 100%;
  height: 100%;
}

.template-list-item:hover {
  color: #000;
}

.template-list-item__heading {
  margin: 0 0 1rem;
}

.template-list-item__details {
  margin: 1rem 0 0;
}

.box {
  overflow: hidden;
  padding: 1rem;
  background: #fff;
  border-radius: .25rem;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
}

.hidden {
  display: none;
}

.pell-actionbar {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
}

.pell-button {
  font-size: 1rem;
  height: auto;
  width: auto;
  padding: .4rem;
}

.pull-right {
  float: right;
}

.m-t-1 {
  margin-top: 1rem;
}

.m-t-1\.5 {
  margin-top: 1.5rem;
}

.full-width {
  width: 100%;
}
