body {
  padding: 0;
  margin: 0;
  font-family: 'Droid Serif', serif;
  font-size: 18px;
  line-height: 30px;
}

section {
  width: 100%;
}

section.cover {
  min-height: 100vh;
}

section.split {
  display: flex;
  flex-direction: row;
}

section.cover .book-cover {
  width: 100%;
  height: auto;
}

section.cover .left, section.cover .right {
  min-height: 100vh;
}

section .left, section .right {
  flex: 1;
}

section.cover .left {
  display: flex;
  align-items: center;
  justify-content: center;
}

section.cover {
  font-family: 'Open Sans Condensed', sans-serif;
  text-align: center;
}

section .light {
  background: #efefef;
}

section .dark {
  background: #111;
  color: #fff;
}

section .dark a {
  color: white;
}

section .dark a:hover {
  color: #43b1e8;
}

section .in {
  padding: 2em;  
}

section.blue {
  background: #43b1e8;
  color: white;
}

section.blue .in {
  padding-top: 3em;
  padding-bottom: 3em;
}

section.footer {
  font-family: 'Open Sans Condensed', sans-serif;
  color: #bbb;
  text-align: center;
}

section.footer a {
  color: #a6a6a6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans Condensed', sans-serif;
}
h1 {
  font-size: 3em;
  line-height: 1.2em;
}
h2 {
  font-size: 2em;
}

@media(max-width: 760px) {
  section.split {
    display: block;
  }
}


.rfc-book .left {
  background: url(/https/oauth2simplified.com/images/rfc-book.jpg);
  background-position: center;
  background-size: cover;
}

.dzone-refcard .right {
  background: url(/https/oauth2simplified.com/images/rfc-book.jpg);
  background-position: center;
  background-size: cover;
}


.about-the-author .right {
  display: flex;
  min-height: 760px;
}
.about-the-author .author-photo {
  flex: 1;
  background: url(/https/oauth2simplified.com/images/aaron-parecki.jpg);
  background-size: cover;
  background-position: center;
}

.tweet-me {
  font-size: 60px;
  line-height: 80px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Open Sans Condensed', sans-serif;
}


section.chapters .chapter-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}
@media(max-width: 760px) {
  section.chapters .chapter-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}
ul.chapter-outline {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
ul.chapter-outline li {
  font-family: 'Open Sans', sans-serif;
  vertical-align: middle;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1em;
}
ul.chapter-outline li span {
  line-height: 37px;
  text-decoration: none;
  color: #222;
}
ul.chapter-outline li span:before {
  content: attr(data-section);
  background: #4ba3d3;
  display: block;
  line-height: 30px;
  margin: 1px 7px 0 0;
  height: 30px;
  width: 30px;
    position: relative;
    top: -1.3px;
    color: #fff;
    float: left;
    border-radius: 100%;
    text-align: center;
    padding: 5px;
    font-size: 19px;
    font-weight: bold;
    margin-right: 5px;    
}


.buy-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
@media(max-width: 400px) {
  .buy-buttons {
    grid-template-columns: 100%;
  }
}
a.buy-button {
  font-family: 'Open Sans Condensed', sans-serif;
  display: block;
  padding: 1em 2.5em;
  margin: 0.5em 0.5em;
  border: 2px #fff solid;
  color: white;
  text-decoration: none;
  background: #0077B4;
  position: relative;
}
a.buy-button .new {
  position: absolute;
  top: -35px;
  right: -30px;
}
section .dark a.buy-button:hover {
  background: #2E9FD9;
  color: white;
}
section a.buy-button:hover {
  background: #2E9FD9;
  color: white;
}


.sticker-preview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}
@media(max-width: 400px) {
  .sticker-preview {
    grid-template-columns: 100%;
  }
}
.sticker-preview a {
  position: relative;
  line-height: 0;
  border: 6px #888 solid;
}
.sticker-preview img {
  max-width: 100%;
  width: 100%;
}
.sticker-preview .buy-now {
  line-height: 1.4em;
  position: absolute;
  top: 20px;
  right: 0;
  background: #ffde00;
  color: black;
  padding: 2px 20px;
}


/* Mailchimp Form */
#mc_embed_signup {
}

.mc-field-group {
  margin-bottom: 0.5em;
}

.mc-field-group label {
  display: block;
}

#mc_embed_signup input {
  background: #000;
  color: white;
  border: 2px #fff solid;
  padding: 12px;
  min-width: 220px;
  font-size: 1em;
}

#mc_embed_signup .button {
  display: inline-block;
  padding: 1em;
  border: 2px #fff solid;
  cursor: pointer;
  background: black;
  color: white;
  text-decoration: none;
  margin-top: 1em;
}
#mc_embed_signup .button:hover {
  background: #222;
}



