/* TODO: this has a lot of shared stuff from base.css: drop it */


/* Shared
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
  position: relative;
  margin: 0;
  padding-bottom: 2rem;
  min-height: 100%;
}

a {
  text-decoration: none;
}

/* Menu / Logo / Login
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.menu {
  padding-top: 1rem;
  height: 4rem;
}

.one-halfsies-left {
  width: 50%;
}
.one-halfsies-right {
  width: 50%;
}

.logo {
  color: #9f8e7d;
}

.login {
  padding-top: 0.5rem;
  font-weight: bold;
}

/* Sections
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.section {
  text-align: center;
}

/* Hero
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hero {
  background-image: url("../images/signup-hero-bg-mobile.4d77fb085fea.jpg");
  background-size: cover;
  padding-bottom: 6rem;
}

.hero-heading {
  font-size: 3rem;
}

.button-container {
  margin-top: 5rem;
}

.amazon-button {
  background-color: #f79b34;
  padding: 0;
  border: 0px;
  height: 32px;
  width: 156px;
  box-shadow: 0 0 20px #144a77;
}

.amazon-button:hover {
    box-shadow: 0px 0px 60px white;
}

.email-link {
  color: white;
  font-size: 12px;
  text-transform: none;
  font-weight: bold;
  text-decoration: underline;
  letter-spacing: 0;
  text-shadow: 1px 1px 1px black;
  padding: 0;
  border: 0;
}

.explanation {
  display: none;
}


/* Steps
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.steps {
  padding: 3rem 0;
}

.step {
  margin-top: 1rem;
}

.icon {
  height: 3rem;
  width: 3rem;
  margin-bottom: 0.5rem;
}

#step-heading {
  margin-top: 20px;
}


/* Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Larger than mobile (phablet) */
@media (min-width: 550px) {
  .logo {
    font-size: 2.4rem;
  }

  .hero {
    padding-top: 1.5rem;
    background-image: url("../images/signup-hero-bg-tablet.25fbf2a69130.jpg");
    padding-bottom: 6rem;
  }

  .button-container {
    padding-left: 28rem;
    margin-top: 3rem;
    padding-bottom: 3rem;
  }

  .step h5 {
    font-size: 2rem;
  }

}

/* Larger than phablet (tablet) */
@media (min-width: 750px) {
  .button-container {
    padding-left: 38rem;
    margin-top: 5rem;
    padding-bottom: 6rem;
  }
  .explanation {
    display: block;
    line-height: 1.2;
    font-size: 2rem;
    font-weight: bold;
  }

}

/* Larger than tablet (desktop) */
@media (min-width: 1000px) {
  .hero {
    background-image: url("../images/signup-hero-bg.7e99350910c9.jpg");
  }
  .hero-heading {
    margin-top: 2rem;
  }
  .hero-heading.preferences-heading {
    margin-top: 1rem;
  }
  .button-container {
    padding-left: 52rem;
    margin-top: 5rem;
    padding-bottom: 11rem;
  }
  .amazon-button {
    height: 40px;
    width: 195px;
  }
  .icon {
    height: 5rem;
    width: 5rem;
  }
}

/* Widescreen */
@media (min-width: 1250px) {
  .button-container {
    padding-left: 60rem;
    margin-top: 12rem;
    padding-bottom: 18rem;
  }
}

.menu .column {
    margin-left: 0%;
}

#get-highlights {
  margin-left: auto;
  margin-right: auto;
}

#success-heading {
  font-size: 3.5rem;
}

.success-explain {
  font-size: 2rem;
}

.smiley {
  font-family: Georgia, serif;
}


.choose-books .choose-books-title{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.book-item {
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
  display: flex;
}

.book-item .crossed-out{
  color: #cccccc;
  text-decoration: line-through;
}

.book-item .book-name {
  line-height: 40px;
  font-size: 18px;
  margin-left: 14px;
  margin-top: -2px;
}

.book-item .toggle {
  cursor: pointer;
  text-align: center;
  width: 40px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  border: none; /* Mobile Safari */
  background-color: transparent;
  color: transparent;
}

.book-item .toggle:after {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="-10 -18 100 135"><circle cx="50" cy="50" r="50" fill="none" stroke="#cccccc" stroke-width="3"/></svg>');
}

.book-item .toggle:checked:after {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="-10 -18 100 135"><circle cx="50" cy="50" r="50" fill="none" stroke="#9dc8c1" stroke-width="3"/><path fill="#5dc2af" d="M72 25L42 71 27 56l-4 4 20 20 34-52z"/></svg>');
}

.choose-books .toggle:focus {
  outline: none;
  background-color: #eeeeee;
}

.saved-status {
  position: fixed;
  right: 10px;
  top: 10px;
  font-weight: bold;
  opacity: 1;
}

.saved-status.transition{
  -webkit-transition: opacity 1.5s ease-out;
  -moz-transition: opacity 1.5s ease-out;
  -ms-transition: opacity 1.5s ease-out;
  -o-transition: opacity 1.5s ease-out;
}

.saved-status.hide{
  opacity: 0;
}

#use-chrome {
  display: none;
}

.onboarding-button {
  padding: 0 36px;
  font-size: 1.2rem;
  height: 45px;
  border:1px solid #4593d6;
  color: white;
  background-color: #73aee0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#73aee0), to(#0E7FDE));
  background-image: -webkit-linear-gradient(top, #73aee0, #0E7FDE);
  background-image: -moz-linear-gradient(top, #73aee0, #0E7FDE);
  background-image: -ms-linear-gradient(top, #73aee0, #0E7FDE);
  background-image: -o-linear-gradient(top, #73aee0, #0E7FDE);
  background-image: linear-gradient(to bottom, #73aee0, #0E7FDE);
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#73aee0, endColorstr=#0E7FDE); 
}

.onboarding-button:hover {
  color: white;
    border:1px solid #2b7dc2;
  background-color: #4996d7; background-image: -webkit-gradient(linear, left top, left bottom, from(#4996d7), to(#0b64ae));
  background-image: -webkit-linear-gradient(top, #4996d7, #0b64ae);
  background-image: -moz-linear-gradient(top, #4996d7, #0b64ae);
  background-image: -ms-linear-gradient(top, #4996d7, #0b64ae);
  background-image: -o-linear-gradient(top, #4996d7, #0b64ae);
  background-image: linear-gradient(to bottom, #4996d7, #0b64ae);
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#4996d7, endColorstr=#0b64ae);
}

.onboarding-button:focus {
  color: #e1e1e1;
}

.progress-circle {
  text-align: center;
  display: block;
  cursor: initial;
}

.progress-circle.book-item input{
  cursor: initial;
}

.your-email {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 100px;
}

.change-email-input {
    position: absolute;
    width: 90%;
    margin-top: 5px;

    display: none;
}

.change-email-input .button {
    margin-left: 0;
    border-radius: 0 5px 5px 0;
}
.change-email-input input {
    border-radius: 5px 0 0 5px;
}

.book-item .one.column {
  width: inherit;
}

.reason-label {
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.checkmark {
    display:inline-block;
    width: 22px;
    height: 16px;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
}

.checkmark:before {
    content: "";
    position: absolute;
    width:3px;
    height:9px;
    background-color: #1cad29;
    left:11px;
    top:6px;
}

.checkmark:after {
    content:"";
    position: absolute;
    width:3px;
    height:3px;
    background-color: #1cad29;
    left:8px;
    top:12px;
}

#submitButton:disabled {
  color: rgb(202, 195, 195);
}

.reason-checkbox {
  margin-bottom: 0.5rem;
  vertical-align: middle;
}

ul.choose-books {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

li.book {
  /*font: 200 20px/1.5 Helvetica, Verdana, sans-serif;*/
  border-bottom: 1px solid #ccc;
}

li.book:last-child {
  border: none;
}

li.book a {
  text-decoration: none;
  color: #000;

  -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
  -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
  -o-transition: font-size 0.3s ease, background-color 0.3s ease;
  -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
  transition: font-size 0.3s ease, background-color 0.3s ease;
  display: block;
  /*width: 200px;*/
}

li.book a:hover {
  /*font-size: 30px;*/
  background: #f6f6f6;
}

span.badge {
  position: relative; 
  padding-left: 10px;
}

span.badge[data-badge]:after {
    content: attr(data-badge);
    position: absolute;
    font-size: 9px;
    background: aliceblue;
    color: #302F4A;
    padding-left: 4px;
    text-align: center;
    line-height: 18px;
    bottom: 0;
    padding-right: 4px;
    white-space: nowrap;
}

a.dashboard-back-link {
  color: #9f8e7d;
}

a.dashboard-back-link:hover {
  color: lightskyblue; 
  /*background: #f6f6f6;*/
}

.daily-review-button {
    margin-top: 6rem;
}

.dz-message-click-here {
  font-size: 1.85rem;
}

.other-preferences-title {
  font-size: 2rem;
  text-align: left;
  font-weight: bold;
  margin-bottom: 12px;
  margin-top: 20px;
}

.other-preferences {
  text-align: left;
  margin-bottom: 3rem;
}

.preferences-item {
  line-height: 40px;
  font-size: 18px;
  margin-bottom: 0.5rem;
  margin-left: 14px;
}

form.num-highlights-form {
  margin-bottom: 0;
}

form.num-highlights-form select{
  margin-bottom: 0.5rem;
}

@media (max-width: 550px) {
  /* Swap the order of the login/signup buttons on mobile */
  .dashboard-button-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
  }
  .library-link {
    order: 2;
  }
  .library-link button{
    order: 2;
    width: 240px;
  }
  .daily-review-link{
    order: 1;
  }
  .daily-review-link button.onboarding-button {
    width: 240px;
  }
  .search-tooltip {
    max-width: 100%;
  }

  .onboarding-subheader {
    font-size: 14px;
    margin-bottom: 2rem;
  }
}

.homescreen-instructions img{
  margin-bottom: 12px;
  margin-right: 20px;
  box-shadow: 1px 1px 8px #888888;
}

#timezone-picker {
  border: 0px; 
  color: gray;
  -webkit-appearance: none;
  cursor: pointer;
  height: 50px;
  font-size: 16px;
}

#timezone-picker:hover {
  color: black;
}

.loader {
    border: 2px solid #cccccc;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.6s linear infinite;
    border-top: 2px solid lightskyblue;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display:inline-block;
    position: relative;
    top: 4px;
    margin-right: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dashboard.container {
  text-align: left;
  margin-top: 2rem;
}

.dashboard-title {
  text-align: left;
  margin-bottom: 1rem;
}

.dashboard-sub {
  color: #9f8e7d;
}

.top-dashboard-sub {
  font-size: 1.5rem;
}

h2.dashboard-title {
  font-size: 3.5rem;
  text-indent: -4px;
}

h4.dashboard-title {
  border-bottom: 1px solid lightgrey;
  font-size: 2.6rem;
  letter-spacing: 0.05rem;
}

h5.dashboard-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  margin-bottom: 1.1rem;
  color: #222;
}
h5.dashboard-title:hover {
  color: #666;
}

h5.dashboard-title.important-title {
  background-color: #eaf2fb;
  border-radius: 4px;
  padding: 4px;
  margin-left: -4px;
}
h5.dashboard-title.important-title:hover {
  background-color: #e0eefd;
  color: black;
}

h5.dashboard-title .dashboard-sub {
  text-transform: initial;
  letter-spacing: 0rem;
  font-size: 1.5rem;
}
h5.dashboard-title:hover .dashboard-sub{
  color: #6f5a45;
}

.inline-form {
  display: inline;
}
.dashboard-preferences-row {
  margin-bottom: 1.5rem;
}

@media (min-width: 550px){
  .preferences-input-column.columns {
    margin-left: -10px;
  }
}

.dashboard-preferences-row .dashboard-title {
  margin-bottom: 0;
  margin-top: 6px;
}

.preferences-input {
  font-size: 1.8rem;
}
.highlights-select {
  min-width: 60px;
}
.frequency-select {
  min-width: 140px;
}
.ui-timepicker-select {
  font-size: 1.8rem;
  vertical-align: top;
}

.hidden {
  display: none;
}

.choose-books-select-all {
  float: right;
  font-weight: initial;
  font-size: 1.6rem;
  line-height: 3rem;
}

.onboarding-header {
  text-align: left;
  margin-bottom: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.onboarding-subheader {
  text-align: left;
  margin-bottom: 3rem;
  font-size: 16px;
}

