/* http://meyerweb.com/eric/tools/css/reset/
 * v2.0 | 20110126
 * License: none (public domain) */
@import url("https://fonts.googleapis.com/css?family=Work+Sans:300,500,700,900");
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after {
  content: '';
  content: none; }

q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

button {
  background: none; }

* {
  box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0; }

html {
  font-family: 'Work Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; }

main {
  padding: 0 2em; }

@media screen and (max-width: 480px) {
  main {
    padding: 0; } }

a, a:visited {
  color: #4291ed;
  text-decoration: none; }
  a:hover, a:visited:hover {
    color: #555; }

em {
  font-style: italic; }

::selection {
  background: #000;
  color: #fff; }

::-moz-selection {
  background: #000;
  color: #fff; }

.hosted-field {
  height: 2.4em;
  padding: 0.3em 0.6em;
  margin: 0.5em 0;
  background: #fff;
  border: 1px solid #ddd; }

input {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.3em 0.6em;
  margin: 0.5em 0;
  font-size: 1.2em;
  font-weight: 300;
  font-family: 'Work Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; }
  input::placeholder {
    text-transform: uppercase;
    font-weight: 300; }

input[type=text],
input[type=email],
input[type=password],
input[type=submit] {
  width: 100%;
  display: block; }

input[type=submit] {
  margin: 1em 0 0 0;
  cursor: pointer;
  border: none;
  color: #fff;
  background: #4291ed;
  padding: 0.3em 0.5em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  width: auto;
  font-size: 1em; }

.flashes {
  padding: 1em;
  text-align: center;
  background: #4291ed;
  color: #fff; }

.web-error {
  font-size: 2em;
  text-align: center;
  margin: 4em 0; }

.errors {
  margin: 0 0 1em 0; }
  .errors .error {
    background: #ff4040;
    color: #fff;
    padding: 0.2em 0.4em;
    margin: 0.1em 0; }
    .errors .error a, .errors .error a:visited {
      color: #fff;
      text-decoration: underline; }

.security-menu {
  margin: 2em 0 0 0; }
  .security-menu li {
    font-size: 1em;
    margin: 0.4em 0; }

.logo {
  display: block;
  margin: 2em auto;
  width: 180px; }

hr {
  margin: 2em 0;
  border: none;
  height: 2px;
  background: #222; }

h1 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.5em;
  margin: 1em 0; }

h2, label {
  font-weight: 300;
  font-size: 0.9em; }
  h2 a, label a {
    text-transform: uppercase; }

label {
  color: #aaa;
  display: block;
  text-transform: uppercase; }

.caveat {
  margin: 2em 0;
  font-weight: 300;
  color: #888; }

.admin form {
  margin-bottom: 3em;
  padding-bottom: 3em;
  border-bottom: 5px solid #222; }

.admin h3 {
  margin: 0 0 1em 0; }

.admin section {
  margin: 0 0 3em 0; }

.admin-menu {
  padding: 0 0 3em 0;
  margin-bottom: 3em;
  display: flex; }
  .admin-menu li {
    flex: 1;
    text-align: center; }
    .admin-menu li a {
      padding: 0.4em 0.2em;
      margin: 0 0.2em;
      border-bottom: 2px solid #4291ed;
      display: block; }

.data {
  font-family: monospace; }
  .data li {
    margin: 2em 0; }

.center {
  text-align: center;
  margin: 1em 0; }

table.orders, table.data {
  border: 1px solid #d1d1d1;
  width: 100%; }
  table.orders td, table.orders th, table.data td, table.data th {
    padding: 0.5em;
    text-align: left; }
  table.orders select, table.data select {
    margin: 0;
    padding: 0;
    border: 1px solid #222;
    background: #fff; }
  table.orders tr:nth-child(even), table.data tr:nth-child(even) {
    background: #eaeaea; }
  table.orders tr:nth-child(odd), table.data tr:nth-child(odd) {
    background: #fff; }

.status-message {
  padding: 1em;
  text-align: center;
  position: fixed;
  right: 1em;
  bottom: 1em;
  display: none;
  color: #fff; }

.orders-filter-info {
  display: flex; }
  .orders-filter-info h2 {
    flex: 1; }
    .orders-filter-info h2:last-child {
      text-align: right; }

.js-select-all, .js-unselect-all {
  cursor: pointer; }

.js-create-labels {
  cursor: pointer;
  width: 100%;
  padding: 2em 1em;
  background: #222;
  color: #fff;
  text-align: center;
  margin-bottom: 3em; }
  .js-create-labels form {
    display: none; }

.orders-filter {
  margin-bottom: 3em; }

.lookup-subscriptions > li {
  margin: 0 0 1.5em 0;
  background: #eaeaea; }
  .lookup-subscriptions > li > h2:first-child {
    padding: 0.5em;
    background: #555;
    color: #fff;
    font-size: 1em; }
  .lookup-subscriptions > li > div {
    padding: 0.5em; }

.lookup-subscription {
  border: 1px solid #aaa;
  padding: 0.5em;
  margin: 0 0 0.5em 0; }
  .lookup-subscription.sub-canonical {
    border: 4px solid #00a202; }
  .lookup-subscription ul {
    display: flex; }
  .lookup-subscription li {
    flex: 1;
    padding: 2em 1em;
    text-align: center; }
  .lookup-subscription form > div {
    display: none; }
  .lookup-subscription input[type=submit] {
    margin: 0 auto; }

.sub-active {
  background: #5bd165; }

.sub-canceled {
  opacity: 0.4; }

.lookup-suggestions {
  background: #eaeaea;
  padding: 1em; }
  .lookup-suggestions ul {
    list-style-type: disc;
    padding-left: 1em; }

.table-divider {
  border-top: 2px solid #222;
  font-weight: bold; }

select {
  background: none;
  border: 1px solid #ddd;
  margin-top: 0.7em;
  padding: 0.7em;
  width: 100%; }

textarea {
  width: 100%;
  min-width: 100%;
  margin: 1em 0;
  padding: 0.5em;
  min-height: 160px;
  font-family: sans-serif;
  border: 1px solid #ddd; }

.form-shipping-extra {
  display: flex; }
  .form-shipping-extra > * {
    flex: 1;
    padding-right: 1em; }
    .form-shipping-extra > *:last-child {
      padding-right: 0em; }

.subscribe .subscribe-form {
  background: rgba(250, 250, 250, 0.1);
  padding: 1.5em;
  margin: 0 auto 1em auto;
  max-width: 600px; }

.subscribe .form-shipping {
  display: none; }

.subscribe .subscribe-form, .subscribe .subscribe-thanks {
  position: relative;
  z-index: 1; }

.subscribe .subscribe-thanks {
  margin: 2em auto;
  font-size: 1.6em;
  text-align: center;
  padding-bottom: 4em !important; }
  .subscribe .subscribe-thanks h6 {
    font-weight: 300; }
  .subscribe .subscribe-thanks a {
    font-size: 0.8em;
    margin: 1em 0 0 0;
    display: block; }

.subscribe input::placeholder {
  text-transform: none;
  font-family: 'Arial';
  color: #aaa; }

.subscribe h1 {
  font-size: 2.2em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0; }
  .subscribe h1 em {
    display: block; }

.subscribe #cvv {
  width: 4em; }

.subscribe #expiration-date {
  width: 6em; }

.subscribe .subscribe-form-card {
  text-align: right; }
  .subscribe .subscribe-form-card .hosted-field, .subscribe .subscribe-form-card label {
    display: inline-block; }
  .subscribe .subscribe-form-card label {
    vertical-align: top;
    margin: 1.2em 0.2em 0 2em;
    font-size: 0.85em;
    color: #777; }

.subscribe input[type=submit] {
  background: #ff0000;
  font-size: 1.2em;
  display: block;
  width: 100%; }

.subscribe .subscribe-form-plan label {
  display: inline-block;
  color: #000;
  font-size: 1.2em;
  font-weight: 600;
  margin-left: 0.5em;
  cursor: pointer; }

.subscribe .subscribe-form-plan p {
  margin-top: 0.5em;
  font-weight: 300;
  line-height: 1.4; }

.subscribe .subscribe-form-plan .subscribe-form-plan-choice {
  position: relative;
  margin: 1em 1em 2em 1em; }

.subscribe .subscribe-patch {
  width: 160px;
  position: absolute;
  right: -180px;
  top: 0; }

.subscribe .subscribe-background,
.subscribe .gift-background {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 0;
  background: #000; }
  .subscribe .subscribe-background img,
  .subscribe .gift-background img {
    width: 10%; }

.subscribe .gift-background {
  background-image: url("/static/assets/gift_bg.jpg");
  background-size: cover; }

.subscribe .subscribe-content {
  background: #fff;
  border: 8px solid #000;
  max-width: 960px;
  margin: 0 auto 2em auto;
  padding: 1em;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4); }
  .subscribe .subscribe-content h3 {
    text-align: center;
    margin: 1em 0; }

.subscribe .inline-image {
  height: 32px;
  vertical-align: middle; }

.subscribe b {
  font-style: italic; }
  .subscribe b a {
    color: red; }

.subscribe .login {
  text-align: center;
  margin: 3em 0 0 0;
  font-weight: 300;
  color: #777; }

.gift-content p {
  font-weight: 100;
  max-width: 480px;
  margin: 1em auto;
  font-size: 1.2em;
  line-height: 1.2; }

.subscribe-essay {
  padding: 1em 2em;
  background: #111;
  color: #fff;
  font-weight: 300;
  font-size: 1.2em;
  margin: 4em 0 2em 2em;
  z-index: 100;
  line-height: 1.4;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4); }
  .subscribe-essay p {
    margin: 1em 0; }
  .subscribe-essay h2 {
    text-align: center;
    font-size: 1.8em;
    margin: 1em 0;
    font-style: italic; }

@media screen and (max-width: 980px) {
  .subscribe .subscribe-patch {
    display: block;
    position: static;
    margin: 2em auto 1em auto; } }

@media screen and (max-width: 480px) {
  .subscribe-background {
    display: none; }
  .subscribe .subscribe-content {
    padding: 0;
    border: 0;
    box-shadow: none; } }

.manage-menu li {
  font-size: 1.2em;
  margin: 2em 0;
  display: flex; }
  .manage-menu li > h2 {
    line-height: 1.2; }
  .manage-menu li > h2, .manage-menu li label, .manage-menu li div {
    flex: 1; }
  .manage-menu li > .manage-upgrade {
    flex: 2;
    font-weight: 300;
    line-height: 1.2;
    position: relative;
    padding-bottom: 2em; }
    .manage-menu li > .manage-upgrade p {
      padding-right: 140px; }
    .manage-menu li > .manage-upgrade a {
      background: #4291ed;
      color: #fff;
      text-transform: uppercase;
      font-weight: bold;
      font-size: 0.8em;
      padding: 0.2em 0.4em;
      border-radius: 0.3em; }
      .manage-menu li > .manage-upgrade a:hover {
        background: #1676e6; }
    .manage-menu li > .manage-upgrade img {
      position: absolute;
      max-width: 140px;
      max-height: 140px;
      right: 0;
      top: 0; }

.manage-content {
  max-width: 800px;
  padding: 2em;
  margin: 0 auto; }
  .manage-content .subscribe-form-plan {
    margin: 1em 0; }
  .manage-content h3 {
    font-size: 1.2em;
    font-weight: 300; }
  .manage-content h1 {
    margin-top: 0; }

.manage-footer {
  margin-top: 3em;
  font-weight: 300;
  color: #aaa; }

.manage-links {
  text-align: right;
  float: right; }

.manage-form-card #cvv {
  width: 4em; }

.manage-form-card #expiration-date {
  width: 6em; }

.manage-form-card .hosted-field {
  display: inline-block; }

@media screen and (max-width: 720px) {
  .manage-content {
    padding: 1em; }
  .manage-menu li {
    display: block;
    margin: 3em 0; }
    .manage-menu li > h2, .manage-menu li label, .manage-menu li div {
      margin: 1em 0; }
    .manage-menu li > .manage-upgrade p {
      padding-right: 0; }
    .manage-menu li > .manage-upgrade img {
      display: block;
      position: relative;
      margin: 1em auto 0 auto; }
  .manage-links {
    float: none;
    text-align: left;
    margin: 2em 0; } }

.manage-current-plan {
  background: #4291ed;
  color: #fff;
  padding: 1em;
  text-align: center;
  font-size: 1.6em;
  margin: 1em 0 2em 0; }

.manage-current-plan-name {
  font-weight: bold;
  text-transform: uppercase; }

.to-library {
  background: #4291ed;
  color: #fff !important;
  padding: 1em;
  text-align: center;
  font-size: 1.6em;
  display: block;
  border-radius: 0.1em;
  font-weight: 900;
  text-transform: uppercase; }
  .to-library:hover {
    color: #fff !important;
    background: #1676e6; }

.manage-setup p {
  margin-bottom: 1.5em;
  font-weight: 100; }
