/* =Mixins
----------------------------------------------- */
/* =Reset
-------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  overflow-y: scroll;
  /* Keeps page centred in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

ol, ul {
  list-style: none;
}

table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: separate;
  border-spacing: 0;
}

caption, th, td {
  font-weight: normal;
  text-align: left;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: "" "";
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
  outline: 0;
}

a img {
  border: 0;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: #f5f5f5;
}

body,
button,
input,
select,
textarea {
  color: #6a6a6a;
  font-family: "InspireTWDC", sans-serif;
  font-size: 1rem;
  line-height: 1.5625;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight: normal;
  font-family: "InspireTWDC", sans-serif;
  font-weight: 500;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

/* Text elements */
p {
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

b, strong {
  font-weight: bold;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  padding: 1.6em;
  overflow: auto;
  max-width: 100%;
}

code, kbd, tt, var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: 0.5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

figure {
  margin: 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

th {
  font-weight: bold;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

/* Links */
a,
a:visited,
a:hover,
a:focus,
a:active {
  color: #0034f9;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  vertical-align: baseline;
  /* Improves appearance and consistency in all browsers */
  *vertical-align: middle;
  /* Improves appearance and consistency in all browsers */
}

.button,
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background-color: #0034f9;
  color: #fff;
  text-align: center;
  font-family: "InspireTWDC", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.04875rem;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  cursor: pointer;
  -webkit-appearance: none;
}
.button:hover, .button:visited, .button:focus, .button:active,
button:hover,
button:visited,
button:focus,
button:active,
html input[type=button]:hover,
html input[type=button]:visited,
html input[type=button]:focus,
html input[type=button]:active,
input[type=reset]:hover,
input[type=reset]:visited,
input[type=reset]:focus,
input[type=reset]:active,
input[type=submit]:hover,
input[type=submit]:visited,
input[type=submit]:focus,
input[type=submit]:active {
  color: #fff;
  text-decoration: none;
}
.button.button-transparent,
button.button-transparent,
html input[type=button].button-transparent,
input[type=reset].button-transparent,
input[type=submit].button-transparent {
  background-color: transparent;
  color: #0034f9;
}
.button.button-white,
button.button-white,
html input[type=button].button-white,
input[type=reset].button-white,
input[type=submit].button-white {
  background-color: #fff;
  color: #0034f9;
}
.button.button-black,
button.button-black,
html input[type=button].button-black,
input[type=reset].button-black,
input[type=submit].button-black {
  background-color: #000;
  color: #fff;
}
.button.button-small,
button.button-small,
html input[type=button].button-small,
input[type=reset].button-small,
input[type=submit].button-small {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}
.button.button-smaller,
button.button-smaller,
html input[type=button].button-smaller,
input[type=reset].button-smaller,
input[type=submit].button-smaller {
  padding: 0.45rem 0.875rem;
  font-size: 0.875rem;
}
.button.button-uppercase,
button.button-uppercase,
html input[type=button].button-uppercase,
input[type=reset].button-uppercase,
input[type=submit].button-uppercase {
  text-transform: uppercase;
}
.button.button-black-text,
button.button-black-text,
html input[type=button].button-black-text,
input[type=reset].button-black-text,
input[type=submit].button-black-text {
  color: #000;
}
.button.button-outline,
button.button-outline,
html input[type=button].button-outline,
input[type=reset].button-outline,
input[type=submit].button-outline {
  background-color: transparent;
  color: #0034f9;
  border: 2px solid rgba(0, 52, 249, 0.25);
}
.button.button-outline:hover, .button.button-outline:focus,
button.button-outline:hover,
button.button-outline:focus,
html input[type=button].button-outline:hover,
html input[type=button].button-outline:focus,
input[type=reset].button-outline:hover,
input[type=reset].button-outline:focus,
input[type=submit].button-outline:hover,
input[type=submit].button-outline:focus {
  border-color: #0034f9;
}

input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  /* Addresses box sizing set to content-box in IE8/9 */
  padding: 0;
  /* Addresses excess padding in IE8/9 */
}

input[type=search] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */
}

input[type=search]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
}

input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
textarea:focus {
  color: #111;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=url],
input[type=password],
input[type=search] {
  padding: 3px;
}

textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */
  padding-left: 3px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */
  width: 98%;
}

/* Book Lists */
.dpw-book-list {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-left: -0.625rem;
  margin-right: -0.625rem;
}
.dpw-book-list.book-list-justified {
  justify-content: space-between;
}
.dpw-book-list.book-list-centered {
  justify-content: center;
}
.dpw-book-list .dpw-book-list-block {
  padding: 0.625rem;
}

/* Single Block in a list */
.dpw-book-list-block .book-thumb-holder {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0.75rem;
}
.dpw-book-list-block .book-thumb-holder img {
  display: block;
  width: auto;
  height: 254px;
  margin: 0 auto;
  box-shadow: 0px 36px 24px -32px rgba(0, 0, 0, 0.4);
}
.dpw-book-list-block .coming-soon-label {
  margin-bottom: 0.5rem;
  padding: 2px 6px;
  background-color: #0034f9;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dpw-book-list-block .book-title {
  margin: 0 0 0.625rem;
  padding: 0;
  font-family: "InspireTWDC", sans-serif;
  font-weight: bold;
  font-size: 0.875rem;
  letter-spacing: 0.03375rem;
  line-height: 1.357142857;
}
.dpw-book-list-block .book-author,
.dpw-book-list-block .book-illustrator {
  display: block;
  margin: 0 0 0.25rem;
  color: #7a7a7a;
  font-family: "InspireTWDC", sans-serif;
  font-weight: bold;
  font-size: 0.625rem;
  letter-spacing: 0.04375rem;
  line-height: 1.4;
}
.dpw-book-list.size-small .dpw-book-list-block .book-thumb-holder img {
  height: 200px;
}
@media screen and (max-width: 900px) {
  .dpw-book-list-block .book-thumb-holder img {
    height: 200px;
  }
}
@media screen and (max-width: 600px) {
  .dpw-book-list-block .book-thumb-holder img {
    height: 175px;
  }
}
.dpw-book-list-block.fixed-width {
  width: 200px;
}
.dpw-book-list-block.fixed-width .book-thumb-holder img {
  height: auto;
}

.dpw-book-link {
  display: flex;
}
.dpw-book-link .book-thumb-holder {
  flex: 1;
  margin-right: 1.25rem;
}
.dpw-book-link .book-thumb-holder img {
  display: block;
  margin: 0 auto;
  box-shadow: 0px 36px 24px -32px rgba(0, 0, 0, 0.4);
}
.dpw-book-link .book-title {
  margin: 0 0 0.625rem;
  padding: 0;
  font-family: "InspireTWDC", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.03375rem;
  line-height: 1.357142857;
}
.dpw-book-link .book-author,
.dpw-book-link .book-illustrator {
  display: block;
  margin: 0 0 0.25rem;
  color: #7a7a7a;
  font-family: "InspireTWDC", sans-serif;
  font-weight: bold;
  font-size: 0.625rem;
  letter-spacing: 0.04375rem;
  line-height: 1.4;
}
.dpw-book-link .dpw-book-link-content {
  flex: 2;
}
.dpw-book-link .button {
  display: inline-block;
  margin-top: 2rem;
}
@media screen and (max-width: 500px) {
  .dpw-book-link {
    display: block;
  }
  .dpw-book-link .book-thumb-holder {
    margin-right: 0;
  }
}

body {
  font-family: "InspireTWDC", sans-serif;
}

tw-story {
  padding: 0;
  background: #f5f5f5;
  color: #000;
  font-family: "InspireTWDC", sans-serif;
}
tw-story br {
  display: none;
}

tw-sidebar {
  position: static;
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  width: 100%;
  margin: 0 -0.5rem 1rem;
}
tw-sidebar tw-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0.5rem;
  background-size: 100%;
  background-repeat: no-repeat;
  text-indent: -99999px;
  overflow: hidden;
  opacity: 1;
}
tw-sidebar tw-icon.undo {
  background-image: url("../images/arrow-circle-left-outline-blue.svg");
}
tw-sidebar tw-icon.redo {
  background-image: url("../images/arrow-circle-right-outline-blue.svg");
}

.dpw-bookbot-options {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem -0.5rem 0;
}

tw-expression {
  flex: 0 calc( 50% - 1rem );
  display: block;
  position: relative;
  margin: 0.5rem;
  z-index: 1;
}

tw-link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0.9rem 1.5rem;
  background-color: #0034f9;
  color: #fff;
  font-size: 1rem;
  font-family: "InspireTWDC", sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.04875rem;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  cursor: pointer;
  -webkit-appearance: none;
}
tw-link:hover, tw-link:visited, tw-link:focus, tw-link:active, tw-link.visited, tw-link.visited:hover, tw-link.visited:focus {
  color: #fff;
  text-decoration: none;
}

.dpw-bookbot-recommendations .section-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  line-height: 1.2;
}
.dpw-bookbot-recommendations .dpw-book-list {
  justify-content: center;
}
.dpw-bookbot-recommendations .dpw-book-list.first-recommendation {
  align-items: flex-start;
}
.dpw-bookbot-recommendations .dpw-book-list.first-recommendation .dpw-book-list-block {
  flex: 1;
}
.dpw-bookbot-recommendations .dpw-book-list.first-recommendation .dpw-book-list-block:first-child {
  text-align: right;
}
.dpw-bookbot-recommendations .first-recommendation-info {
  margin-bottom: 1rem;
}
.dpw-bookbot-recommendations .first-recommendation-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.2;
}
.dpw-bookbot-recommendations tw-expression {
  margin: 0;
  padding: 0;
}

.bookbot-start-over {
  position: fixed;
  right: 0;
  top: 0;
}
.bookbot-start-over tw-link {
  background: none;
  color: #0034f9;
  text-transform: uppercase;
}
.bookbot-start-over tw-link:hover, .bookbot-start-over tw-link:focus, .bookbot-start-over tw-link:visited {
  color: #0034f9;
}

@media screen and (max-width: 760px) {
  .dpw-bookbot-options {
    flex-direction: column;
  }

  .dpw-bookbot-recommendations .first-recommendation-title,
.dpw-bookbot-recommendations .section-title {
    font-size: 1rem;
  }
}
@media screen and (max-width: 500px) {
  .dpw-bookbot-recommendations .dpw-book-list.first-recommendation .dpw-book-list-block {
    flex: auto;
  }
  .dpw-bookbot-recommendations .dpw-book-list.first-recommendation .dpw-book-list-block:first-child {
    text-align: center;
  }
  .dpw-bookbot-recommendations .first-recommendation-info {
    width: 100%;
    margin-bottom: 1.5rem;
    padding-top: 0;
    text-align: center;
  }
}

/*# sourceMappingURL=bookbot.css.map */
