@charset "UTF-8";
/* CSS for Dongting book reader */
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/*-------------------------------------------------- */
/* HTML5 DISPLAY DEFINITIONS */
/*-------------------------------------------------- */
article, aside, details, figcaption, figure, footer, header, hgroup,
main, nav, section, summary {
  display: block;
}

audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

/*-------------------------------------------------- */
/* BASE */
/*-------------------------------------------------- */
html {
  font-size: 100%;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

html, button, input, select, textarea {
  font-family: sans-serif;
}

body {
  margin: 0;
}

/*-------------------------------------------------- */
/* LINKS */
/*-------------------------------------------------- */
a:focus {
  outline: thin dotted;
}

a:active, a:hover {
  outline: 0;
}

/*-------------------------------------------------- */
/* TYPOGRAPHY */
/*-------------------------------------------------- */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

dfn {
  font-style: italic;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

mark {
  background: #ff0;
  color: #000;
}

p, pre {
  margin: 1em 0;
}

code, kbd, pre, samp {
  font-family: monospace, serif;
  _font-family: "courier new", monospace;
  font-size: 1em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

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

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/*-------------------------------------------------- */
/* LISTS */
/*-------------------------------------------------- */
dl, menu, ol, ul {
  margin: 1em 0;
}

dd {
  margin: 0 0 0 40px;
}

menu, ol, ul {
  padding: 0 0 0 40px;
}

nav ul, nav ol {
  list-style: none;
  list-style-image: none;
}

/*-------------------------------------------------- */
/* EMBEDDED CONTENT */
/*-------------------------------------------------- */
img {
  border: 0;
  /* 1 */
  -ms-interpolation-mode: bicubic;
  /* 2 */
}

svg:not(:root) {
  overflow: hidden;
}

/*-------------------------------------------------- */
/* FIGURES */
/*-------------------------------------------------- */
figure {
  margin: 0;
}

/*-------------------------------------------------- */
/* FORMS */
/*-------------------------------------------------- */
form {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  /* 1 */
  padding: 0;
  white-space: normal;
  /* 2 */
  *margin-left: -7px;
  /* 3 */
}

button, input, select, textarea {
  font-size: 100%;
  /* 1 */
  margin: 0;
  /* 2 */
  vertical-align: baseline;
  /* 3 */
  *vertical-align: middle;
  /* 3 */
}

button, input {
  line-height: normal;
}

button, select {
  text-transform: none;
}

button, html input[type=button],
input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  *overflow: visible;
  /* 4 */
}

button[disabled], html input[disabled] {
  cursor: default;
}

input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
  *height: 13px;
  /* 3 */
  *width: 13px;
  /* 3 */
}

input[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}

/* end normalize.css */
/*-------------------------------------------------- */
/* STANDARD RESET VALUES */
/*-------------------------------------------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, a, img, strong, sub, sup,
b, i, center, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

td {
  vertical-align: top;
  text-align: left;
}

a, area, select {
  outline: 0 none;
}

/* vars.scss - variables like colors, fonts, sizes, etc. */
/* colors: black/grey/white */
/* $color_ltred: #fee; */
/* $color_ltred: #e0c0c0; */
/* colors: other common colors */
/* was #800 */
/* previous: #c03f11, other choices: #da291c (485), #f9423a (warm red), #ca3604(2349), #cf4520(173), #() */
/* colors: header */
/* colors: footer */
/* colors: special */
/* alt options: #f9f4d6, #f5e7b5 */
/*  fonts */
/* $avenir: 'Avenir Next W01', helvetica, sans-serif; */
/* light */
/* regular */
/* medium */
/* demi */
/* bold */
/* condensed bold */
/* chinese character fonts */
/* z-index values (depth) */
/* responsive screen breakpoints */
/* not sure yet if we will need the following code line or not */
/* $is-hidpi: "(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx)"; */
/*@import "para";*/
/*@import "dict";*/
/*@import "library";*/
/*@import "settings";*/
/*@import "popup";*/
/*@import "footer"; */
/*  rex2.scss is Rex's "overflow css" area */
/* FOR BOOK IMAGES */
/*  ------------------------------------- */
/*  PAGEFLIP ANIMATION                    */
/*  ------------------------------------- */
#bookcoverOpening {
  position: fixed;
  z-index: 9900;
}

#bookcoverOpeningBackdrop {
  position: fixed;
  z-index: 9890;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-image: url('../images/bookcoverbackdrop.png');
  background-repeat: no-repeat;*/
  background-color: #3e5166;
  /* fallback for old browsers */
  background-image: -moz-linear-gradient(#a3bcd4, #3e5166);
  /* Mozilla Firefox */
  background-image: -o-linear-gradient(#a3bcd4, #3e5166);
  /* Opera */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #a3bcd4), color-stop(1, #3e5166));
  /* WebKit (Safari 4+, Chrome 1+) */
  background-image: -webkit-linear-gradient(#a3bcd4, #3e5166);
  /* WebKit (Chrome 11+) */
  background-image: -ms-linear-gradient(#a3bcd4, #3e5166);
  /* IE10 */
  background-image: linear-gradient(#a3bcd4, #3e5166);
  /* W3C */
  opacity: 0;
}

/*  ------------------------------------- */
/*  LOGIN                                 */
/*  ------------------------------------- */
#loginError {
  margin-top: 20px;
  font-size: 20px;
  color: #da291c;
  font-weight: bold;
}

/*  ------------------------------------- */
/*  TOOLTIP                               */
/*  ------------------------------------- */
#tooltip {
  position: fixed;
  z-index: 9960;
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
  font-size: 15px;
  padding: 2px 4px;
}

/*  ------------------------------------- */
/*  EDITOR                                */
/*  ------------------------------------- */
#editHeader {
  padding: 10px 10px 10px 10px;
  border-bottom: 1px solid #999;
  background-color: #cedae6;
}
#editHeader a.btn {
  color: #fff;
  box-shadow: 2px 2px 2px #844;
}
#editHeader a.btn:hover {
  box-shadow: 2px 2px 2px #444;
}
#editHeader a.btn:visited {
  color: #fff;
}
#editHeader a.editbtn {
  margin-top: -5px;
  margin-bottom: 0px;
  padding-top: 5px;
  padding-bottom: 2px;
  float: right;
}
#editHeader .breadcrumbs {
  display: inline;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}
#editHeader .breadcrumbs a {
  color: #da291c;
  text-decoration: underline;
}

#editMain {
  padding: 10px 10px 10px 0px;
}
#editMain .editTable {
  margin-bottom: 20px;
}
#editMain h2 {
  padding-left: 10px;
}
#editMain .editfieldhdr {
  padding: 8px 8px 4px 8px;
  background-color: #ffd880;
}
#editMain .editfieldhdr .editmove {
  display: inline-block;
  margin-top: -4px;
  margin-right: 10px;
  font-size: 20px;
  cursor: move;
}
#editMain .bookcover {
  float: right;
  padding: 10px;
}
#editMain img.libBookCover {
  height: 200px;
  border: 1px solid #000;
  box-shadow: 2px 2px 2px #666;
}
#editMain form input {
  font-size: 10px;
}
#editMain a.hdrlink {
  font-weight: bold;
  text-decoration: underline;
}
#editMain .mainActions, #editMain .tabs {
  margin-top: 16px;
  margin-bottom: 8px;
}
#editMain .mainActions a, #editMain .tabs a {
  color: #000;
  text-decoration: underline;
  padding: 4px 4px 4px 4px;
  margin-right: 10px;
}
#editMain .mainActions a:hover, #editMain .tabs a:hover {
  color: #da291c;
}
#editMain tr.libraryrow td {
  padding: 10px 0 2px 10px;
  border-bottom: 1px solid #999;
}
#editMain tr.libraryrow td a {
  color: #da291c;
  font-weight: bold;
  text-decoration: underline;
}
#editMain tr.libraryrow td a:hover {
  color: #707070;
}
#editMain a.btn {
  text-decoration: none;
}
#editMain .thumbnail {
  height: 80px;
  border: 1px solid #000;
}
#editMain .thumbnail:hover {
  opacity: 0.75;
}
#editMain .editfieldlabel {
  color: #666;
  width: 120px;
  text-align: right;
  padding: 3px 10px 0 0;
  border-bottom: 1px solid #ccc;
}
#editMain .editfieldval {
  text-align: left;
}
#editMain .editfield .fieldderived, #editMain .editfield .fieldcompiledval {
  line-height: 1.4em;
  padding-right: 4px;
  background-color: #f8f8f8;
}
#editMain .editfield .fieldderived {
  color: #707070;
}
#editMain .editfieldblock {
  padding: 3px 0 3px 0;
  border-bottom: 1px solid #ccc;
}
#editMain .editfieldblock input {
  display: inline-block;
  font-size: 1em;
  font-weight: normal;
  padding: 0;
  min-width: 300px;
}
#editMain .editfieldblock textarea {
  min-width: 500px;
  min-height: 4.5em;
}
#editMain .editfieldactions {
  padding-left: 12px;
  color: #800;
  cursor: pointer;
}
#editMain .editfieldactions:hover {
  color: #000;
}

#editMain .editfieldhdrcontainer.dropTarget {
  border-top: 2px solid black;
}

#editActions {
  background-color: #cedae6;
  padding: 10px 10px 10px 10px;
  border-top: 1px solid #999;
  min-height: 80px;
}
#editActions a.btn {
  background-color: #666;
  color: #fff;
  box-shadow: 2px 2px 2px #999;
}
#editActions a.btn.disabled {
  background-color: #000;
  box-shadow: 2px 2px 2px #333;
  color: #999 !important;
  cursor: default;
}
#editActions a.btn:hover {
  background-color: #000;
  box-shadow: 2px 2px 2px #333;
}
#editActions a.btn:visited {
  color: #fff;
}
#editActions img.dongtinglogo {
  height: 60px;
  float: left;
  border: 1px solid #666;
  margin-right: 20px;
}
#editActions #editNewBookFolderName {
  display: inline-block;
  font-size: 14px;
  width: 200px;
  margin-left: 20px;
}

/* IN-PAGE EDITOR */
#editor {
  position: fixed;
  top: 0;
  z-index: 9950;
  width: 100%;
  background-color: #f0f0f0;
  border: 1px solid #000;
  /* Used in hints editor too */
}
#editor #editorHeader {
  background-color: #da291c;
  color: #fff;
  padding: 2px 20px 2px 20px;
}
#editor #editorHeader .title {
  color: #000;
  padding-right: 20px;
}
#editor #editorHeader .editPageTab {
  color: #f0f0f0;
  cursor: pointer;
  padding: 3px 8px;
}
#editor #editorHeader .editPageTab.selected {
  color: #000;
  font-weight: bold;
}
#editor #editorHeader .editPageTab:hover {
  color: #c0c0c0;
}
#editor #editorHeader .editPageTab.selected:hover {
  color: #000;
}
#editor #editorHeader button {
  font-size: 12px;
}
#editor #editorHeader button#editPageSave {
  margin-left: 20px;
}
#editor #editorHeader button#editPageExit {
  float: right;
}
#editor #chineseEditor, #editor #englishEditor, #editor #titleEditor, #editor #pictureEditor, #editor #hintsEditor {
  padding: 4px 20px 8px 20px;
}
#editor #chineseEditor textarea, #editor #englishEditor textarea, #editor #titleEditor textarea, #editor #pictureEditor textarea, #editor #hintsEditor textarea {
  width: 100%;
  min-height: 40px;
}
#editor #chineseEditor input, #editor #englishEditor input, #editor #titleEditor input, #editor #pictureEditor input, #editor #hintsEditor input {
  display: inline;
  font-size: 14px;
  font-weight: normal;
  margin-right: 20px;
  width: 250px;
}
#editor #chineseEditor button, #editor #englishEditor button, #editor #titleEditor button, #editor #pictureEditor button, #editor #hintsEditor button {
  font-size: 12px;
}
#editor #chineseEditor .chineseEditorZhk, #editor #chineseEditor .chineseEditorZp, #editor #englishEditor .chineseEditorZhk, #editor #englishEditor .chineseEditorZp, #editor #titleEditor .chineseEditorZhk, #editor #titleEditor .chineseEditorZp, #editor #pictureEditor .chineseEditorZhk, #editor #pictureEditor .chineseEditorZp, #editor #hintsEditor .chineseEditorZhk, #editor #hintsEditor .chineseEditorZp {
  margin-top: 4px;
}
#editor #audioEditZhTray {
  margin: 0 10px 10px 20px;
  white-space: nowrap;
  overflow-x: auto;
  user-select: none;
}
#editor #audioEditZhTray .audioEditZhTrayChar, #editor #audioEditZhTray .audioEditZhTrayCharMarker {
  display: inline-block;
  padding-right: 2px;
  cursor: pointer;
}
#editor #audioEditZhTray .audioEditZhTrayChar.selected, #editor #audioEditZhTray .audioEditZhTrayCharMarker.selected {
  color: #A00000;
}
#editor #audioEditZhTray .audioEditZhTrayChar.selected:hover, #editor #audioEditZhTray .audioEditZhTrayCharMarker.selected:hover {
  color: #400000;
}
#editor #audioEditZhTray .audioEditZhTrayChar.hint, #editor #audioEditZhTray .audioEditZhTrayCharMarker.hint {
  color: #0000A0;
}
#editor #audioEditZhTray .audioEditZhTrayChar.hint:hover, #editor #audioEditZhTray .audioEditZhTrayCharMarker.hint:hover {
  color: #000040;
}
#editor #audioEditZhTray .audioEditZhTrayChar.hint.selected, #editor #audioEditZhTray .audioEditZhTrayCharMarker.hint.selected {
  color: #A00000;
}
#editor #audioEditZhTray .audioEditZhTrayChar.hint.selected:hover, #editor #audioEditZhTray .audioEditZhTrayCharMarker.hint.selected:hover {
  color: #400000;
}
#editor #audioEditZhTray .audioEditZhTrayChar:hover, #editor #audioEditZhTray .audioEditZhTrayCharMarker:hover {
  color: #aaa;
}
#editor #audioEditor .audioEditCtrls {
  margin: 4px 20px 10px 20px;
}
#editor #audioEditor .audioEditCtrls .audioDuration {
  display: inline-block;
  margin-left: 20px;
  margin-right: 20px;
}
#editor #audioEditor #audioEditPlay {
  margin-right: 10px;
  vertical-align: bottom;
  height: 24px;
  cursor: pointer;
}
#editor #audioEditor #audioEditSave, #editor #audioEditor #audioEditExit {
  float: right;
  background-color: #0000A0;
  color: white;
  font-size: 16px;
}
#editor #audioEditor #audioEditSave:hover, #editor #audioEditor #audioEditExit:hover {
  background-color: #aaa;
}
#editor #audioEditor #audioEditExit {
  background-color: #606060;
  margin-left: 6px;
}
#editor #audioEditor #audioEditMarkerCurrInfo {
  position: absolute;
  top: 2px;
}
#editor #audioEditor .audioScrubberRow {
  position: relative;
  width: 1200px;
  margin: 0 20px 0 20px;
  white-space: nowrap;
}
#editor #audioEditor .audioScrubberRow .audioScrubber {
  display: inline-block;
  height: 30px;
  width: 800px;
  background-color: #aaa;
  border: 1px solid #707070;
  color: #fff;
}
#editor #audioEditor .audioScrubberRow .audioScrubber .audioActive {
  position: absolute;
  width: 0;
  height: 30px;
  background-color: #000;
}
#editor #audioEditor .audioScrubberRow .audioScrubber .audioProgress {
  position: absolute;
  width: 0;
  height: 30px;
  background-color: #da291c;
}
#editor #audioEditor .audioScrubberRow .audioScrubber .audioMarkers {
  position: absolute;
}
#editor #audioEditor .audioScrubberRow .audioScrubber .audioMarkers .audioEditMarker {
  position: absolute;
  background-color: #fff;
  height: 30px;
  width: 1px;
}
#editor #audioEditor .audioScrubberRow .audioScrubber .audioMarkers .audioEditMarkerId {
  position: absolute;
  background-color: #e0e0e0;
  width: 10px;
  text-align: center;
  top: 7px;
  margin-left: -5px;
  padding-top: 1px;
  color: #000;
  border: 1px solid #fff;
  cursor: pointer;
}
#editor #audioEditor .audioScrubberRow .audioScrubber .audioMarkers .audioEditMarkerId.selected {
  background-color: #da291c;
  color: #fff;
}
#editor #audioCurrPosArea {
  position: relative;
  margin: -4px 20px 6px 20px;
  width: 800px;
  height: 24px;
  background-color: #ffe8e8;
  border: 1px solid #ddc8c8;
  cursor: pointer;
}
#editor #audioCurrPosMarker {
  position: absolute;
  font-size: 24px;
  margin-left: -12px;
  left: 0px;
  cursor: pointer;
}
#editor #audioCurrPosMarker.selected {
  color: #da291c;
}

.dictEditPopup {
  cursor: pointer;
}

#editDictPopup.popup {
  padding: 20px 20px 20px 20px;
}
@media only screen and (min-width: 1920px) {
  #editDictPopup.popup {
    min-width: 560px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #editDictPopup.popup {
    min-width: 560px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #editDictPopup.popup {
    min-width: 560px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #editDictPopup.popup {
    min-width: 560px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #editDictPopup.popup {
    min-width: 400px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #editDictPopup.popup {
    min-width: 280px;
  }
}
@media only screen and (max-width: 375px) {
  #editDictPopup.popup {
    min-width: 250px;
  }
}
#editDictPopup .editDictUsageZhkZp {
  margin-left: 65px;
  margin-bottom: 12px;
  color: #707070;
}
#editDictPopup .editDictUsageZhk {
  padding-right: 24px;
}
#editDictPopup input {
  width: 180px;
}
#editDictPopup input.long {
  width: 400px;
}
#editDictPopup input.short {
  width: 80px;
}

.editPopup #editActions {
  min-height: 60px;
}
.editPopup label {
  width: 80px;
  margin-right: 8px;
  text-align: right;
}
.editPopup input {
  display: inline-block;
  width: 330px;
  font-size: 12px;
  font-weight: normal;
  padding-top: 2px;
  padding-bottom: 2px;
}
.editPopup input.short {
  width: 100px;
  margin-right: 20px;
}
.editPopup img.dongtinglogo {
  height: 60px;
  float: left;
  border: 1px solid #666;
  margin-right: 20px;
}
.editPopup p.error {
  color: #da291c;
  font-weight: bold;
  font-size: 1.2em;
}

#editMain button.smallbtn, .editPopup button.smallbtn {
  font-size: 12px;
  margin-bottom: 2px;
}

/* UPLOADER EDIT PAGE */
.uploadListingContainer .uploadFileArea {
  background-color: #f0f0d0;
  padding: 4px 10px;
  border: 1px solid #666;
  margin-bottom: 4px;
}
.uploadListingContainer button.ulupload {
  font-size: 16px;
  margin-bottom: 8px;
}

.uploadListingContainer input, .uploadArea input {
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  margin: 4px 0 2px 0;
}

.uploadArea.inline {
  display: inline-block;
}

table.uploadListing tr:nth-child(even) {
  background-color: #f0f0f0;
}
table.uploadListing tr:nth-child(odd) {
  background-color: #f8f8f0;
}
table.uploadListing tr {
  border-bottom: 1px solid #999;
}
table.uploadListing th, table.uploadListing td {
  text-align: left;
}
table.uploadListing th {
  padding: 4px;
  background-color: #c0c0c0;
  border: 1px solid black;
}
table.uploadListing td {
  padding: 4px 4px;
}
table.uploadListing .ulname {
  width: 200px;
}
table.uploadListing .ulname input {
  width: 180px;
}
table.uploadListing .uldate {
  width: 100px;
}
table.uploadListing .ulsize {
  width: 80px;
}
table.uploadListing .ulactions {
  width: 200px;
}
table.uploadListing .ulactions button {
  font-size: 8px;
  margin-right: 8px;
}

/*  ------------------------------------- */
/*  DICTIONARY                            */
/*  ------------------------------------- */
#dictTable .dictTopRow {
  padding-top: 6px;
}
#dictTable .dictTopRow .dictcode {
  color: #999;
  font-size: 16px;
}

.dictEntry .dictCharInstr {
  position: absolute;
  top: 40px;
  right: 20px;
  color: #666;
  font-size: 14px;
}
@media (min-width: 480px) and (max-width: 768px) {
  .dictEntry .dictCharInstr {
    font-size: 12px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .dictEntry .dictCharInstr {
    font-size: 12px;
  }
}
@media only screen and (max-width: 375px) {
  .dictEntry .dictCharInstr {
    font-size: 10px;
  }
}

/*  ------------------------------------- */
/*  IMAGE OVERLAY (NOT USED)              */
/*  ------------------------------------- */
/*
.imgOverlayIconThumb {
  position: absolute;
  width: 32px;
  height: 32px;
  top: 16px;
  right: 16px;
  cursor: pointer;
}
.imgOverlayMsg {
  position: absolute;
  font-size: 20px;
}
.imgOverlayIcon {
  position: absolute;
  width: 7%;
  height: 7%;
}
.imgOverlayBox {
  position: absolute;
  margin-top:5%;
  border: 1px solid #000;
  padding: 2px 4px;
  background-color: #fff;
  font-size: 20px;
}
*/
/*  ------------------------------------- */
/*  EXERCISES ANIMATIONS                  */
/*  ------------------------------------- */
/* Shake incorrect choice */
.exerChoiceFrame .exerChoiceButton.incorrect,
.exerDefSentences.buildarea .exerWordButton.incorrect {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
.exerChoiceFrame .exerChoiceButton.correct .feedback {
  animation: scaling2to1 1s;
}

@keyframes scaling2to1 {
  from {
    transform: scale(2);
  }
  to {
    transform: scale(1);
  }
}
/*  ------------------------------------- */
/*  HELP SYSTEM                           */
/*  ------------------------------------- */
.helpInfoBox {
  background-color: #cedae6;
  border: 4px solid #e0e0e0;
  padding-bottom: 10px;
}
.helpInfoBox .helpInfoBoxTitle {
  padding: 8px 0;
  background-color: #111166;
  color: #fff;
  border-bottom: 2px solid #e0e0e0;
  font-weight: bold;
  font-size: 1.6em;
  text-align: center;
}
.helpInfoBox .helpInfoBoxText {
  padding: 10px 10px;
  color: #000;
  font-size: 1.3em;
}
.helpInfoBox .helpInfoButtons .helpInfoButton {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #111166;
  color: #fff;
  cursor: pointer;
}
.helpInfoBox .helpInfoButtons .helpInfoButton:hover {
  background-color: #333333;
}
.helpInfoBox .helpInfoButtons .helpInfoButtonEnd {
  margin-left: 10px;
}
.helpInfoBox .helpInfoButtons .helpInfoButtonNext {
  float: right;
  margin-right: 10px;
}

.helpOverlay {
  position: fixed;
  z-index: 9000;
  width: 64px;
  height: 64px;
}

/*  ------------------------------------- */
/*  MISCELLANEOUS - AMANDA, PLZ REVIEW    */
/*  ------------------------------------- */
/* AMANDA: I ADDED THIS FOR EDITOR AT LEAST, NOT SURE IF USED ELSEWHERE */
span.bold {
  font-weight: bold;
}

/* AMANDA: FIX OR MOVE THIS */
.pagenavctrl.pageleftnav, .pagenavctrl.pagerightnav {
  z-index: 7500;
}

/*
FOR SCREEN SIZE MEDIA QUERIES:
	@include responsive(xwide-screens) {  }
	@include responsive(wide-screens) {  }
	@include responsive(large-screens) {  }
	@include responsive(medium-screens) {  }
	@include responsive(small-screens) {  }
	@include responsive(xsmall-screens) {  }
	@include responsive(mobile-screens) {  }	
*/
/*-------------------------------------------------- */
/* COMMON CSS */
/*-------------------------------------------------- */
html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  background-color: #fff;
}

button {
  /*font-size: 20px;*/
  cursor: pointer;
}

.nolinkstyle {
  color: #000;
  text-decoration: none;
}

.pointer {
  cursor: pointer;
}

a, a:visited, a:hover, a:active {
  text-decoration: none;
}

a, a:visited {
  color: #707070;
}

a:hover, a:active {
  color: #333;
}

a.btn {
  color: #fff;
}

.clear {
  clear: both;
}

a {
  outline: none;
}

p {
  padding: 0 0 12px 0;
  font-size: 1.4em;
  line-height: 1.4em;
  font-family: "AvenirNextWorldThin", helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
}
@media only screen and (min-width: 1920px) {
  p {
    font-size: 1.4em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  p {
    font-size: 1.4em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  p {
    font-size: 1.4em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  p {
    font-size: 1.3em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  p {
    font-size: 1.3em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  p {
    font-size: 1.3em;
  }
}
@media only screen and (max-width: 375px) {
  p {
    font-size: 1.3em;
  }
}
p.intro {
  padding-bottom: 20px;
  font-size: 1.7em;
  line-height: 1.3em;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #668fbc;
}
@media only screen and (min-width: 1920px) {
  p.intro {
    font-size: 1.7em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  p.intro {
    font-size: 1.7em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  p.intro {
    font-size: 1.7em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  p.intro {
    font-size: 1.6em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  p.intro {
    font-size: 1.6em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  p.intro {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 375px) {
  p.intro {
    font-size: 1.5em;
  }
}
p.note {
  padding-top: 12px;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.1em;
  color: #333;
}

h1, h2, h3 {
  color: #da291c;
  line-height: 1.2em;
}

h1 {
  padding: 0 0 12px 0;
  font-size: 2.4em;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
}
@media only screen and (min-width: 1920px) {
  h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  h1 {
    font-size: 2em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  h1 {
    font-size: 2em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  h1 {
    font-size: 2em;
  }
}
@media only screen and (max-width: 375px) {
  h1 {
    font-size: 1.9em;
  }
}

h2 {
  padding: 20px 0 6px 0;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.6em;
}
h2.top {
  padding-top: 10px;
}

/*.number {
	display: block;
	position: absolute; 
	background-color: $color_blue;
	@include rounded(10px);
	width: 12px; 
	height: 12px;
	padding: 4px;
	@include ave7;
	font-size: 12px;
	line-height: 1.0em;
	display: inline-block;
	text-align: center;
	color: $color_white;
	}*/
.zhpBlock.grammar:hover .number {
  background-color: #333;
}

/*-------------------------------------------------- */
/* Z-INDEX */
/*-------------------------------------------------- */
.bookcontents {
  z-index: 1000;
}

/* #footerSlidePanel { z-index: $z_footer_slide_panel; } */
.number {
  z-index: 5000;
}

.sidenav {
  z-index: 7500;
}

.menulink {
  z-index: 6100;
}

img.chapterPictFull {
  z-index: 7560;
}

.settingsBtm {
  z-index: 4500;
}

#swingMenu {
  z-index: 7600;
}

#popupFooterContainer {
  z-index: 7021;
}

/* 1011 */
#popupFooterBackdrop {
  z-index: 7020;
}

/* 1010 */
/*-------------------------------------------------- */
/* PAGE FRAME AND GRID AREA NAMES */
/*-------------------------------------------------- */
/* #root is the target for setting page template types; also creates basic grid division between titlebar and page contents */
#root {
  display: grid;
  min-width: 375px;
  height: 100%;
  overflow: hidden;
  grid-template-columns: auto;
  grid-template-rows: 80px auto;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-areas: "titlebar" "pagecontents";
}
@media only screen and (min-width: 1920px) {
  #root {
    grid-template-rows: 80px auto;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #root {
    grid-template-rows: 80px auto;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #root {
    grid-template-rows: 80px auto;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #root {
    grid-template-rows: 70px auto;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #root {
    grid-template-rows: 70px auto;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #root {
    grid-template-rows: 60px auto;
    grid-column-gap: 4px;
    grid-row-gap: 4px;
  }
}
@media only screen and (max-width: 375px) {
  #root {
    grid-template-rows: 60px auto;
    grid-column-gap: 4px;
    grid-row-gap: 4px;
  }
}

/*-------------------------------------------------- */
/* FORM STYLES */
/*-------------------------------------------------- */
input {
  display: block;
  margin: 0 0 8px 0;
  padding: 6px;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.4em;
  border: 1px solid #999;
  outline: none;
}
input:focus {
  border: 1px solid #333;
}

input[type=radio], input[type=checkbox] {
  display: inline-block;
  margin-right: 8px;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  margin-right: 6px;
  padding: 6px 12px;
  color: #fff;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  border: none;
  background-color: #da291c;
  line-height: 1.4em;
}
.btn.buy {
  font-size: 0.9em;
}
.btn.grey {
  background-color: #999;
}
.btn:hover, .btn.grey:hover {
  background-color: #333;
}
.btn.pagetop {
  display: none;
  float: right;
  margin: 2px 0 10px 20px;
  /* CHECK THIS */
}
@media only screen and (min-width: 1920px) {
  .btn.pagetop {
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .btn.pagetop {
    display: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .btn.pagetop {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .btn.pagetop {
    display: inline-block;
    float: right;
    margin: 2px 0 10px 20px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .btn.pagetop {
    display: inline-block;
    float: right;
    margin: 2px 0 10px 20px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .btn.pagetop {
    display: inline-block;
    float: right;
    margin: 2px 0 10px 20px;
  }
}
@media only screen and (max-width: 375px) {
  .btn.pagetop {
    display: inline-block;
    float: none;
    margin: 2px 0 10px 0;
  }
}

/*-------------------------------------------------- */
/* SIDE MENU */
/*-------------------------------------------------- */
.sidenav {
  height: 100%;
  /* 100% full height */
  width: 0;
  /* 0 width — change this with JavaScript */
  position: fixed;
  /* stay in place */
  top: 0;
  /* stay at the top */
  right: 0;
  background-color: #707070;
  overflow-x: hidden;
  /* disable horizontal scroll */
  transition: 0.5s;
  /* 0.5s transition effect to slide in the sidenav */
  -webkit-box-shadow: -2px 0 40px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: -2px 0 40px rgba(0, 0, 0, 0.4);
  box-shadow: -2px 0 40px rgba(0, 0, 0, 0.4);
}
.sidenav ul {
  /* margin: 120px 50px 20px 50px; */
  margin: 120px 0 20px 0;
}
.sidenav ul li {
  margin: 0 50px 0 50px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #999;
  /*&:hover { background-color: $color-grey; } */
}
.sidenav ul li.last {
  border-bottom: none;
}
.sidenav ul li.current {
  color: #333;
}
.sidenav ul li.current a {
  cursor: default;
}
.sidenav a {
  display: block;
  text-decoration: none;
  font-size: 2em;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #e0e0e0;
  text-align: center;
  /*transition: 0.3s;*/
}
.sidenav a:hover {
  color: #000;
  /* color: $color_white; */
}

/*-------------------------------------------------- */
/* HEADER */
/*-------------------------------------------------- */
.titlebar {
  position: fixed;
  width: 100%;
  display: grid;
  grid-area: titlebar;
  grid-template-columns: 220px auto 80px;
  grid-template-rows: 80px;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-areas: "logo booktitle menulink";
  background-color: #fff;
  z-index: 2000;
  /* previous version below: */
  /*display: grid;
  grid-area: logo;
  background-color: $color_red;
  grid-template-columns: 220px 0;
  grid-template-rows: 80px;
  grid-template-areas: "logobox logobox";
  @include responsive(xwide-screens) {
  	display: grid;
  	grid-template-columns: 220px 0;
  	grid-template-rows: 80px;
  	grid-template-areas: "logobox logobox";
  	.bookinfo { display: none; }
  	}
  @include responsive(wide-screens) {
  	display: grid;
  	grid-template-columns: 220px 0;
  	grid-template-rows: 80px;
  	grid-template-areas: "logobox logobox";
  	.bookinfo { display: none; }
  	}
  @include responsive(large-screens) {
  	display: grid;
  	grid-template-columns: 220px 0;
  	grid-template-rows: 80px;
  	grid-template-areas: "logobox logobox";
  	.bookinfo { display: none; }
  	}
  @include responsive(medium-screens) {
  	display: none;
  	grid-template-columns: 220px auto;
  	grid-template-rows: 80px;
  	grid-template-areas: "logoleft booklinks";
  	.bookinfo { display: flex; }
  	}
  @include responsive(small-screens) {
  	display: none;
  	grid-template-columns: 220px auto;
  	grid-template-rows: 70px;
  	grid-template-areas: "logoleft booklinks";
  	.bookinfo { display: flex; }
  	}
  @include responsive(xsmall-screens) {
  	display: none;
  	grid-template-columns: 220px auto;
  	grid-template-rows: 70px;
  	grid-template-areas: "logoleft booklinks";
  	.bookinfo { display: flex; }
  	}
  @include responsive(mobile-screens) {
  	display: none;
  	grid-template-columns: 220px auto;
  	grid-template-rows: 60px;
  	grid-template-areas: "logoleft booklinks";
  	.bookinfo { display: none; }
  	}*/
  /* don't think these two styles are used anymore: */
  /*.logobox, .bookinfo {
  	display: flex;
  	justify-content: center;
  	flex-direction: column;
  	}
  .bookinfo {
  	display: none;
  	padding-right: 20px;
  	}*/
  /*}*/
  /*.menulink {
  	display: flex;
  	grid-area: menulink;
  	background-color: $color_dkgrey;
  	justify-content: center;
  	flex-direction: column;
  	div { width: 46%; height: 3.5px; margin: 3.5px auto; background-color: $color_white;}
  	}*/
}
@media only screen and (min-width: 1920px) {
  .titlebar {
    grid-template-columns: 220px auto 80px;
    grid-template-rows: 80px;
    grid-template-areas: "logo booktitle menulink";
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar {
    grid-template-columns: 220px auto 80px;
    grid-template-rows: 80px;
    grid-template-areas: "logo booktitle menulink";
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar {
    grid-template-columns: 220px auto 80px;
    grid-template-rows: 80px;
    grid-template-areas: "logo booktitle menulink";
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar {
    grid-template-columns: auto 70px;
    grid-template-rows: 70px;
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    grid-template-areas: "booktitle menulink";
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar {
    grid-template-columns: auto 70px;
    grid-template-rows: 70px;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    grid-template-areas: "booktitle menulink";
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar {
    grid-template-columns: auto 60px;
    grid-template-rows: 60px;
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    grid-template-areas: "booktitle menulink";
  }
}
@media only screen and (max-width: 375px) {
  .titlebar {
    grid-template-columns: auto 60px;
    grid-template-rows: 60px;
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    grid-template-areas: "booktitle menulink";
  }
}
.titlebar .logo {
  /* hidden on screens size medium and smaller; on just chapter page? or others?; 
  if just chapter pages, remove the lines below that turn visibility off at smaller sizes */
  display: flex;
  justify-content: center;
  flex-direction: column;
  grid-area: logo;
  background-color: #da291c;
  width: 220px;
  height: 80px;
}
@media only screen and (min-width: 1920px) {
  .titlebar .logo {
    display: flex;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .logo {
    display: flex;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .logo {
    display: flex;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .logo {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .logo {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .logo {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .logo {
    display: none;
  }
}
.titlebar .logo a {
  text-align: center;
}
.titlebar .logo img {
  max-width: 190px;
  margin: 0 auto;
}
.titlebar .booktitle {
  display: grid;
  grid-area: booktitle;
  grid-template-columns: auto auto;
  grid-template-areas: "fulltitle booklinks";
  padding: 16px 30px 10px 30px;
  color: #fff;
  background-color: #333;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booktitle {
    grid-template-areas: "fulltitle booklinks";
    padding: 16px 30px 10px 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booktitle {
    grid-template-areas: "fulltitle booklinks";
    padding: 16px 30px 10px 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booktitle {
    grid-template-areas: "fulltitle booklinks";
    padding: 16px 30px 10px 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booktitle {
    grid-template-areas: "fulltitle fulltitle";
    padding: 10px 30px 10px 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booktitle {
    grid-template-areas: "fulltitle fulltitle";
    padding: 10px 30px 10px 30px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booktitle {
    grid-template-areas: "fulltitle fulltitle";
    padding: 6px 30px 6px 30px;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booktitle {
    grid-template-areas: "fulltitle fulltitle";
    padding: 6px 30px 4px 30px;
  }
}
.titlebar .booktitle .backarrow {
  display: none;
  position: absolute;
  left: 0;
  top: 10px;
  width: 30px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30 20' style='enable-background:new 0 0 30 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bopacity:0.5;fill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpath class='st0' d='M12,10l15.6-9v18L12,10z'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 22px auto;
  background-position: center left;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booktitle .backarrow {
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booktitle .backarrow {
    display: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booktitle .backarrow {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booktitle .backarrow {
    display: block;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booktitle .backarrow {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booktitle .backarrow {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booktitle .backarrow {
    display: block;
  }
}
.titlebar .booktitle h1 {
  margin: 0;
  padding: 0;
  font-size: 2.4em;
  line-height: 1em;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booktitle h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booktitle h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booktitle h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booktitle h1 {
    font-size: 1.6em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booktitle h1 {
    font-size: 1.5em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booktitle h1 {
    font-size: 1.4em;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booktitle h1 {
    font-size: 1.4em;
  }
}
.titlebar .booktitle h2 {
  padding-top: 10px;
  font-size: 1.8em;
  line-height: 1em;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #fff;
  /*@include responsive(xwide-screens) { padding-top: 10px; }
  @include responsive(wide-screens) { padding-top: 10px; }
  @include responsive(large-screens) { padding-top: 10px; }
  @include responsive(medium-screens) { padding-top: 10px; }
  @include responsive(small-screens) { padding-top: 10px; }
  @include responsive(xsmall-screens) { padding-top: 10px; }
  @include responsive(mobile-screens) { padding-top: 10px; }*/
}
.titlebar .booktitle .fulltitle {
  grid-area: fulltitle;
  display: flex;
  align-items: center;
  padding-left: 0;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booktitle .fulltitle {
    display: flex;
    padding-left: 0;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booktitle .fulltitle {
    display: flex;
    padding-left: 0;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booktitle .fulltitle {
    display: flex;
    padding-left: 0;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booktitle .fulltitle {
    display: grid;
    padding-left: 5px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booktitle .fulltitle {
    display: grid;
    padding-left: 2px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booktitle .fulltitle {
    display: grid;
    padding-left: 3px;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booktitle .fulltitle {
    display: grid;
    padding-left: 3px;
  }
}
.titlebar .booktitle .fulltitle a {
  color: #fff;
}
.titlebar .booktitle .fulltitle a:visited {
  color: #fff;
}
.titlebar .booktitle .fulltitle a.row1 {
  grid-row-start: 1;
  grid-row-end: 2;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booktitle .fulltitle a.row1 {
    padding-top: 0;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booktitle .fulltitle a.row1 {
    padding-top: 0;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booktitle .fulltitle a.row1 {
    padding-top: 0;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booktitle .fulltitle a.row1 {
    padding-top: 2px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booktitle .fulltitle a.row1 {
    padding-top: 2px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booktitle .fulltitle a.row1 {
    padding-top: 3px;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booktitle .fulltitle a.row1 {
    padding-top: 3px;
  }
}
.titlebar .booktitle .fulltitle a.row2 {
  grid-row-start: 2;
  grid-row-end: 3;
}
.titlebar .booktitle .fulltitle h1 {
  font-size: 2.4em;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booktitle .fulltitle h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booktitle .fulltitle h1 {
    font-size: 2.4em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booktitle .fulltitle h1 {
    font-size: 1.9em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booktitle .fulltitle h1 {
    font-size: 1.6em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booktitle .fulltitle h1 {
    font-size: 1.5em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booktitle .fulltitle h1 {
    font-size: 1.4em;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booktitle .fulltitle h1 {
    font-size: 1.4em;
  }
}
.titlebar .booktitle .chapbookTitleBookZh {
  grid-row-start: 2;
  grid-row-end: 3;
  padding-right: 8px;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  /* padding-right: 10px; */
  color: #fff;
}
.titlebar .booktitle .chapbookTitleBookEn {
  grid-row-start: 1;
  grid-row-end: 2;
  font-size: 1.4em;
  line-height: 1em;
  padding-right: 10px;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booktitle .chapbookTitleBookEn {
    font-size: 1.4em;
    line-height: 1em;
    padding-right: 10px;
    font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
    font-weight: 500;
    font-style: normal;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booktitle .chapbookTitleBookEn {
    font-size: 1.4em;
    line-height: 1em;
    padding-right: 10px;
    font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
    font-weight: 500;
    font-style: normal;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booktitle .chapbookTitleBookEn {
    font-size: 1.4em;
    line-height: 1em;
    padding-right: 10px;
    font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booktitle .chapbookTitleBookEn {
    font-size: 0.8em;
    line-height: 1em;
    padding: 7px 10px 5px 2px;
    font-family: "AvenirNextWorldBold", helvetica, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booktitle .chapbookTitleBookEn {
    font-size: 0.8em;
    line-height: 1em;
    padding: 7px 10px 5px 2px;
    font-family: "AvenirNextWorldBold", helvetica, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booktitle .chapbookTitleBookEn {
    font-size: 0.8em;
    line-height: 1em;
    padding: 7px 10px 5px 1px;
    font-family: "AvenirNextWorldBold", helvetica, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booktitle .chapbookTitleBookEn {
    font-size: 0.8em;
    line-height: 1em;
    padding: 7px 10px 5px 2px;
    font-family: "AvenirNextWorldBold", helvetica, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}
.titlebar .booklinks {
  display: flex;
  grid-area: booklinks;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  /*@include responsive(medium-screens) { display: flex; position: absolute; top: 17px; right: 102px; }
  @include responsive(small-screens) { display: flex; position: absolute; top: 17px; right: 102px; } */
}
@media only screen and (min-width: 1920px) {
  .titlebar .booklinks {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booklinks {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booklinks {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booklinks {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booklinks {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booklinks {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booklinks {
    display: none;
  }
}
.titlebar .booklinks p {
  margin: 0;
  padding: 0;
  color: #a3bcd4;
  font-size: 0.86em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  text-align: right;
}
@media only screen and (min-width: 1920px) {
  .titlebar .booklinks p {
    color: #a3bcd4;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .titlebar .booklinks p {
    color: #a3bcd4;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .titlebar .booklinks p {
    color: #a3bcd4;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .titlebar .booklinks p {
    color: #a3bcd4;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .titlebar .booklinks p {
    color: #a3bcd4;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .titlebar .booklinks p {
    color: #a3bcd4;
  }
}
@media only screen and (max-width: 375px) {
  .titlebar .booklinks p {
    color: #a3bcd4;
  }
}
.titlebar .booklinks p a, .titlebar .booklinks p a:visited {
  display: block;
  color: #fff;
  text-decoration: none;
}
.titlebar .booklinks p a:hover, .titlebar .booklinks p a:active {
  display: block;
  color: #e0e0e0;
  text-decoration: none;
}

.menuBurger {
  z-index: 7600;
  position: fixed;
  display: flex;
  justify-content: center;
  flex-direction: column;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  cursor: pointer;
  background-color: #707070;
}
@media only screen and (min-width: 1920px) {
  .menuBurger {
    width: 80px;
    height: 80px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .menuBurger {
    width: 80px;
    height: 80px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .menuBurger {
    width: 80px;
    height: 80px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .menuBurger {
    width: 70px;
    height: 70px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .menuBurger {
    width: 70px;
    height: 70px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .menuBurger {
    width: 60px;
    height: 60px;
  }
}
@media only screen and (max-width: 375px) {
  .menuBurger {
    width: 60px;
    height: 60px;
  }
}
.menuBurger div {
  width: 46%;
  height: 3.5px;
  margin: 3.5px auto;
  background-color: #fff;
}

/*-------------------------------------------------- */
/* FOOTER */
/*-------------------------------------------------- */
#popupFooterContainer {
  position: fixed;
  left: 0px;
  bottom: 0px;
  background-color: #fff;
}

#popupFooterBackdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.01;
}

.popupFooterPanel .footerPick {
  text-align: center;
  border: 1px solid #999;
  cursor: pointer;
}
.popupFooterPanel .footerPick.on {
  background-color: #d0d0d0;
}

.popupFooterFmtPick {
  width: 60px;
  height: 36px;
  font-size: 24px;
}

.popupFooterFontPick {
  width: 30px;
  /* &.xs {font-size: 16px; padding: 4px 0;} */
  /* REX: REMOVED */
  /* &.xl {font-size: 32px;} */
  /* REX: REMOVED */
}
.popupFooterFontPick.s {
  font-size: 20px;
  padding: 2px 0;
}
.popupFooterFontPick.m {
  font-size: 24px;
}
.popupFooterFontPick.l {
  font-size: 28px;
}

/*-------------------------------------------------- */
/* HOME PAGE */
/*-------------------------------------------------- */
#root.page_home, #root.page_splash, #root.page_login {
  /*grid-template-columns: auto;
  grid-template-rows: 80px auto;
  grid-template-areas:
  	"titlebar"
  	"pagecontents";
  .titlebar {
  	.logo, .bannerTitle { display: none; }
  	background-color: transparent;
  	grid-template-columns: auto 76px;
  	grid-template-rows: 76px;
  	grid-template-areas:
  		"logo menulink";
  	}*/
}
#root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
  position: fixed;
  grid-template-columns: auto 80px;
  grid-template-rows: 80px;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-areas: "topbar menulink";
}
@media only screen and (min-width: 1920px) {
  #root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
    grid-template-columns: auto 80px;
    grid-template-rows: 80px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
    grid-template-columns: auto 80px;
    grid-template-rows: 80px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
    grid-template-columns: auto 80px;
    grid-template-rows: 80px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
    grid-template-columns: auto 70px;
    grid-template-rows: 70px;
    grid-column-gap: 6px;
    grid-row-gap: 6px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
    grid-template-columns: auto 70px;
    grid-template-rows: 70px;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
    grid-template-columns: auto 60px;
    grid-template-rows: 60px;
    grid-column-gap: 4px;
    grid-row-gap: 4px;
  }
}
@media only screen and (max-width: 375px) {
  #root.page_home .titlebar, #root.page_splash .titlebar, #root.page_login .titlebar {
    grid-template-columns: auto 60px;
    grid-template-rows: 60px;
    grid-column-gap: 4px;
    grid-row-gap: 4px;
  }
}
#root.page_home .titlebar .logo, #root.page_home .titlebar .bannerTitle, #root.page_splash .titlebar .logo, #root.page_splash .titlebar .bannerTitle, #root.page_login .titlebar .logo, #root.page_login .titlebar .bannerTitle {
  display: none;
}
#root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
  grid-template: topbar;
  width: 100%;
  height: 100%;
  background-color: #333;
}
@media only screen and (min-width: 1920px) {
  #root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
    display: block;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
    display: block;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
    display: block;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  #root.page_home .titlebar .topbar, #root.page_splash .titlebar .topbar, #root.page_login .titlebar .topbar {
    display: block;
  }
}
#root.page_home #pagecontents, #root.page_splash #pagecontents, #root.page_login #pagecontents {
  overflow: hidden;
}

.login {
  position: relative;
  margin: 10px 0 20px 230px;
}
.login .startlogo {
  position: absolute;
  margin: 0 30px 0 -240px;
  width: 200px;
}
@media only screen and (min-width: 1920px) {
  .login {
    margin: 10px 0 20px 230px;
  }
  .login .startlogo {
    margin: 0 30px 0 -238px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .login {
    margin: 10px 0 20px 230px;
  }
  .login .startlogo {
    margin: 0 30px 0 -238px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .login {
    margin: 10px 0 20px 230px;
  }
  .login .startlogo {
    margin: 0 30px 0 -238px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .login {
    margin: 10px 0 20px 230px;
  }
  .login .startlogo {
    margin: 0 30px 0 -238px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .login {
    margin: 220px auto 20px auto;
  }
  .login .startlogo {
    margin: -220px 0 0 -8px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .login {
    margin: 220px auto 20px auto;
  }
  .login .startlogo {
    margin: -220px 0 0 -8px;
  }
}
@media only screen and (max-width: 375px) {
  .login {
    margin: 220px auto 20px auto;
  }
  .login .startlogo {
    margin: -220px 0 0 -8px;
  }
}

.coverlogo {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 86px);
  height: 80px;
  background-color: #333;
}
@media only screen and (min-width: 1920px) {
  .coverlogo {
    width: calc(100% - 86px);
    height: 80px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .coverlogo {
    width: calc(100% - 86px);
    height: 80px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .coverlogo {
    width: calc(100% - 76px);
    height: 70px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .coverlogo {
    width: calc(100% - 76px);
    height: 70px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .coverlogo {
    width: calc(100% - 76px);
    height: 70px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .coverlogo {
    width: calc(100% - 76px);
    height: 70px;
  }
}
@media only screen and (max-width: 375px) {
  .coverlogo {
    width: calc(100% - 66px);
    height: 60px;
  }
}

.centerlogo {
  display: block;
  position: absolute;
  margin: 0;
  top: 120px;
  /*left: 40px;*/
  left: 5%;
  width: 290px;
}
@media only screen and (min-width: 1920px) {
  .centerlogo {
    position: absolute;
    margin: 0;
    top: 120px;
    left: 5%;
    width: 290px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .centerlogo {
    position: absolute;
    margin: 0;
    top: 120px;
    left: 5%;
    width: 250px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .centerlogo {
    position: absolute;
    margin: 0;
    top: 120px;
    left: 5%;
    width: 240px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .centerlogo {
    position: absolute;
    margin: 0;
    top: 120px;
    left: 5%;
    width: 200px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .centerlogo {
    position: relative;
    margin: 20px auto 20px auto;
    top: auto;
    left: auto;
    width: 200px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .centerlogo {
    position: relative;
    margin: 0 auto 20px auto;
    top: auto;
    left: auto;
    width: 180px;
  }
}
@media only screen and (max-width: 375px) {
  .centerlogo {
    position: relative;
    margin: 0 auto 20px auto;
    top: auto;
    left: auto;
    width: 140px;
  }
}

.homeboxes {
  /* replace "homebox" */
  position: relative;
  display: grid;
  margin: 0 auto 50px 0;
  max-width: 1320px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-areas: "currentbook librarybooks librarybooks storebook";
  /* use only on homeboxes, after the "large" screen size as partial override */
}
@media only screen and (min-width: 1920px) {
  .homeboxes {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: "currentbook librarybooks librarybooks storebook";
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .homeboxes {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: "currentbook librarybooks librarybooks storebook";
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .homeboxes {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: "currentbook librarybooks librarybooks storebook";
  }
}
@media (min-width: 1092px) and (max-width: 1200px) {
  .homeboxes {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "currentbook storebook" "librarybooks librarybooks";
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .homeboxes {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "currentbook storebook" "librarybooks librarybooks";
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .homeboxes {
    grid-template-columns: 1fr;
    grid-template-areas: "currentbook" "librarybooks" "librarybooks" "storebook";
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .homeboxes {
    grid-template-columns: 1fr;
    grid-template-areas: "currentbook" "librarybooks" "librarybooks" "storebook";
  }
}
@media only screen and (max-width: 375px) {
  .homeboxes {
    grid-template-columns: 1fr;
    grid-template-areas: "currentbook" "librarybooks" "librarybooks" "storebook";
  }
}
.homeboxes .bookbox {
  position: relative;
  display: block;
  background-color: #cedae6;
  padding: 0 10px 0 10px;
  margin: 0 auto 30px auto;
  max-width: none;
  width: calc(100% - 20px);
}
@media only screen and (min-width: 1920px) {
  .homeboxes .bookbox {
    max-width: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .homeboxes .bookbox {
    max-width: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .homeboxes .bookbox {
    max-width: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .homeboxes .bookbox {
    max-width: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .homeboxes .bookbox {
    max-width: 300px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .homeboxes .bookbox {
    max-width: 300px;
  }
}
@media only screen and (max-width: 375px) {
  .homeboxes .bookbox {
    max-width: 300px;
  }
}
.homeboxes .bookbox.currentbook {
  grid-area: currentbook;
}
.homeboxes .bookbox.librarybooks {
  grid-area: librarybooks;
}
.homeboxes .bookbox.storebook {
  grid-area: storebook;
}
.homeboxes .bookbox .covers {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: row;
  text-align: center;
  width: 100%;
}
@media only screen and (min-width: 1920px) {
  .homeboxes .bookbox .covers {
    flex-direction: row;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .homeboxes .bookbox .covers {
    flex-direction: row;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .homeboxes .bookbox .covers {
    flex-direction: row;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .homeboxes .bookbox .covers {
    flex-direction: row;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .homeboxes .bookbox .covers {
    flex-direction: column;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .homeboxes .bookbox .covers {
    flex-direction: column;
  }
}
@media only screen and (max-width: 375px) {
  .homeboxes .bookbox .covers {
    flex-direction: column;
  }
}
.homeboxes .bookbox .covers img {
  cursor: pointer;
}
.homeboxes .bookbox .homebookcover {
  position: relative;
  display: inline-block;
  margin: 20px 10px 10px 10px;
  width: calc(100% - 20px);
  max-width: 310px;
}
@media only screen and (min-width: 1920px) {
  .homeboxes .bookbox .homebookcover {
    margin: 20px 10px 10px 10px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .homeboxes .bookbox .homebookcover {
    margin: 20px 10px 10px 10px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .homeboxes .bookbox .homebookcover {
    margin: 20px 10px 10px 10px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .homeboxes .bookbox .homebookcover {
    margin: 20px 10px 10px 10px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .homeboxes .bookbox .homebookcover {
    margin: 20px auto 10px auto;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .homeboxes .bookbox .homebookcover {
    margin: 20px auto 10px auto;
  }
}
@media only screen and (max-width: 375px) {
  .homeboxes .bookbox .homebookcover {
    margin: 20px auto 10px auto;
  }
}
.homeboxes .bookbox.librarybooks .homebookcover {
  display: inline-block;
  margin: 20px 10px 10px 10px;
  width: calc((100% - 80px) / 2);
  /* use only on homeboxes, after the "large" screen size as partial override */
}
@media only screen and (min-width: 1920px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: inline-block;
    margin: 20px 10px 10px 10px;
    width: calc((100% - 80px) / 2);
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: inline-block;
    margin: 20px 10px 10px 10px;
    width: calc((100% - 80px) / 2);
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: inline-block;
    margin: 20px 10px 10px 10px;
    width: calc((100% - 80px) / 2);
  }
}
@media (min-width: 1092px) and (max-width: 1200px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: inline-block;
    margin: 20px 10px 10px 10px;
    width: calc((100% - 40px) / 2);
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: inline-block;
    margin: 20px 10px 10px 10px;
    width: calc((100% - 40px) / 2);
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: block;
    margin: 20px auto 10px auto;
    width: calc(100% - 20px);
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: block;
    margin: 20px auto 10px auto;
    width: calc(100% - 20px);
  }
}
@media only screen and (max-width: 375px) {
  .homeboxes .bookbox.librarybooks .homebookcover {
    display: block;
    margin: 20px auto 10px auto;
    width: calc(100% - 20px);
  }
}
.homeboxes .bookbox .homebtnframe {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 10px 0 -20px 0;
  padding: 0;
  width: 100%;
}
.homeboxes .bookbox .homebtn {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 12px 18px;
  color: #fff !important;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.5em;
  letter-spacing: 0.05em;
  border: none;
  background-color: #da291c;
}
.homeboxes .bookbox h2 {
  display: block;
  margin: 0 -10px 0 -10px;
  padding: 8px 8px 8px 15px;
  font-size: 1.2em;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #fff;
  text-align: left;
  background-color: #668fbc;
}
.homeboxes .bookbox h2 .small {
  display: inline;
}
@media only screen and (min-width: 1920px) {
  .homeboxes .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .homeboxes .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .homeboxes .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .homeboxes .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .homeboxes .bookbox h2 .small {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .homeboxes .bookbox h2 .small {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  .homeboxes .bookbox h2 .small {
    display: none;
  }
}

/*
p.welcome {
	font-size: 20px;
	}
a.wideButton {
	display: block;
	height: 24px;
	padding: 4px 10px;
	margin-bottom: 8px;
	text-decoration: none;
	border-radius: 6px;
	font-size: 20px;
	background-color: $color_red;
  	}
  */
/*-------------------------------------------------- */
/* SPLASH SCREEN */
/*-------------------------------------------------- */
#root.page_splash {
  grid-template-rows: auto;
}
#root.page_splash .topbar {
  display: none !important;
}
#root.page_splash .splash_message {
  text-align: center;
  font-size: 20px;
}
#root.page_splash .menuBurger {
  display: none;
}
#root.page_splash .centerlogo {
  display: block;
  position: relative;
  margin: 0 auto 20px auto;
  top: auto;
  left: auto;
  width: 250px;
}
@media only screen and (min-width: 1920px) {
  #root.page_splash .centerlogo {
    position: relative;
    margin: 0 auto 80px auto;
    top: auto;
    left: auto;
    width: 250px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #root.page_splash .centerlogo {
    position: relative;
    margin: 0 auto 80px auto;
    top: auto;
    left: auto;
    width: 250px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #root.page_splash .centerlogo {
    position: relative;
    margin: 0 auto 80px auto;
    top: auto;
    left: auto;
    width: 250px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #root.page_splash .centerlogo {
    position: relative;
    margin: 0 auto 80px auto;
    top: auto;
    left: auto;
    width: 200px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #root.page_splash .centerlogo {
    position: relative;
    margin: 0 auto 80px auto;
    top: auto;
    left: auto;
    width: 200px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #root.page_splash .centerlogo {
    position: relative;
    margin: 0 auto 70px auto;
    top: auto;
    left: auto;
    width: 200px;
  }
}
@media only screen and (max-width: 375px) {
  #root.page_splash .centerlogo {
    position: relative;
    margin: 0 auto 60px auto;
    top: auto;
    left: auto;
    width: 200px;
  }
}

/*-------------------------------------------------- */
/* CONTENT FRAME */
/* Rex: is it correct that this ID is used on several templates? Pretty sure the answer is yes, but just checking. */
/*-------------------------------------------------- */
#subcontent {
  display: block;
  padding: 50px 70px 50px 256px;
}
@media only screen and (min-width: 1920px) {
  #subcontent {
    padding: 90px 230px 50px 256px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #subcontent {
    padding: 80px 70px 50px 116px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #subcontent {
    padding: 80px 70px 50px 116px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #subcontent {
    padding: 50px 70px 50px 100px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #subcontent {
    padding: 50px 45px 50px 60px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #subcontent {
    padding: 50px 20px 50px 30px;
  }
}
@media only screen and (max-width: 375px) {
  #subcontent {
    padding: 50px 20px 50px 30px;
  }
}
#subcontent.homecontent {
  height: 100%;
  background-image: url("../images/dongting_color_edited_watercolor.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 140px;
  padding: 50px 82px 50px 25%;
  overflow: auto;
  /* use only on homeboxes, after the "large" screen size as partial override */
}
@media only screen and (min-width: 1920px) {
  #subcontent.homecontent {
    padding: 50px 82px 50px 25%;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #subcontent.homecontent {
    padding: 50px 82px 50px 380px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #subcontent.homecontent {
    padding: 50px 82px 50px 370px;
  }
}
@media (min-width: 1092px) and (max-width: 1200px) {
  #subcontent.homecontent {
    padding: 30px 122px 50px 370px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #subcontent.homecontent {
    padding: 30px 76px 50px 35%;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #subcontent.homecontent {
    padding: 30px 30px 50px 30px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #subcontent.homecontent {
    padding: 30px 60px 50px 60px;
  }
}
@media only screen and (max-width: 375px) {
  #subcontent.homecontent {
    padding: 30px 60px 50px 60px;
  }
}
#subcontent.librarycontent {
  display: grid;
  grid-template-columns: auto 250px;
  grid-template-rows: auto 56px auto;
  grid-column-gap: 50px;
  grid-row-gap: 10px;
  grid-template-areas: "featuredbooks bookfilters" "allbookstitle bookfilters" "allbooks bookfilters";
}
@media only screen and (min-width: 1920px) {
  #subcontent.librarycontent {
    display: grid;
    grid-template-columns: auto 250px;
    grid-template-rows: auto 56px auto;
    grid-template-areas: "featuredbooks bookfilters" "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #subcontent.librarycontent {
    display: grid;
    grid-template-columns: auto 250px;
    grid-template-rows: auto 56px auto;
    grid-template-areas: "featuredbooks bookfilters" "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #subcontent.librarycontent {
    display: grid;
    grid-template-columns: auto 230px;
    grid-template-rows: auto 56px auto;
    grid-template-areas: "featuredbooks bookfilters" "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #subcontent.librarycontent {
    display: grid;
    grid-template-columns: auto 180px;
    grid-template-rows: auto 56px auto;
    grid-template-areas: "featuredbooks bookfilters" "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #subcontent.librarycontent {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas: "featuredbooks" "bookfilters" "allbookstitle" "allbooks";
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #subcontent.librarycontent {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas: "featuredbooks" "bookfilters" "allbookstitle" "allbooks";
  }
}
@media only screen and (max-width: 375px) {
  #subcontent.librarycontent {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas: "featuredbooks" "bookfilters" "allbookstitle" "allbooks";
  }
}
#subcontent.librarycontent.filtered {
  grid-template-rows: 56px auto;
  grid-template-areas: "allbookstitle bookfilters" "allbooks bookfilters";
}
@media only screen and (min-width: 1920px) {
  #subcontent.librarycontent.filtered {
    grid-template-rows: 56px auto;
    grid-template-areas: "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #subcontent.librarycontent.filtered {
    grid-template-rows: 56px auto;
    grid-template-areas: "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #subcontent.librarycontent.filtered {
    grid-template-rows: 56px auto;
    grid-template-areas: "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #subcontent.librarycontent.filtered {
    grid-template-rows: 56px auto;
    grid-template-areas: "allbookstitle bookfilters" "allbooks bookfilters";
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #subcontent.librarycontent.filtered {
    grid-template-rows: auto;
    grid-template-areas: "bookfilters" "allbookstitle" "allbooks";
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #subcontent.librarycontent.filtered {
    grid-template-rows: auto;
    grid-template-areas: "bookfilters" "allbookstitle" "allbooks";
  }
}
@media only screen and (max-width: 375px) {
  #subcontent.librarycontent.filtered {
    grid-template-rows: auto;
    grid-template-areas: "bookfilters" "allbookstitle" "allbooks";
  }
}

/*-------------------------------------------------- */
/* CHAPTER PAGE GRID */
/*-------------------------------------------------- */
#root.page_chapter, #root.page_exercises {
  display: grid;
  height: 100%;
  overflow: hidden;
  grid-template-columns: auto;
  grid-template-rows: 80px auto;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-areas: "titlebar" "pagecontents";
  /*.titlebar {
  	.logo {
  		@include responsive(medium-screens) { display: none; }
  		@include responsive(small-screens) { display: none; }
  		@include responsive(xsmall-screens) { display: none; }
  		@include responsive(mobile-screens) { display: none; }
  		}
  	.booktitle {
  		@include responsive(medium-screens) { grid-area: logo; }
  		@include responsive(small-screens) { grid-area: logo; }
  		@include responsive(xsmall-screens) { grid-area: logo; }
  		@include responsive(mobile-screens) { grid-area: logo; }
  		}
  	}*/
}
@media only screen and (min-width: 1920px) {
  #root.page_chapter, #root.page_exercises {
    grid-template-rows: 80px auto;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #root.page_chapter, #root.page_exercises {
    grid-template-rows: 80px auto;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #root.page_chapter, #root.page_exercises {
    grid-template-rows: 80px auto;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #root.page_chapter, #root.page_exercises {
    grid-template-rows: 70px auto;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #root.page_chapter, #root.page_exercises {
    grid-template-rows: 70px auto;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #root.page_chapter, #root.page_exercises {
    grid-template-rows: 60px auto;
  }
}
@media only screen and (max-width: 375px) {
  #root.page_chapter, #root.page_exercises {
    grid-template-rows: 60px auto;
  }
}

/*-------------------------------------------------- */
/* PAGE CONTENTS */
/*-------------------------------------------------- */
/* REX - MOVED SOME STUFF UP OUT OF PAGEBODY */
.zharea .zhpBlock {
  display: inline;
  position: relative;
  float: left;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  margin: 6px 0 18px 0;
  /* set line height between rows through this margin */
  /* padding: 2px 1px 3px 3px; */
  padding: 2px 2px 6px 2px;
  /* this will determine space between characters and the grammar outlines */
  letter-spacing: 0.04em;
  border-spacing: 0;
  page-break-inside: avoid;
  border-collapse: collapse;
  border: 2px solid #fff;
  /* setting a white border here will prevent layout jumps when blue border turns on for a grammar hint */
}
@media only screen and (min-width: 1920px) {
  .zharea .zhpBlock {
    margin: 6px 0 18px 0;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .zharea .zhpBlock {
    margin: 6px 0 16px 0;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .zharea .zhpBlock {
    margin: 6px 0 12px 0;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .zharea .zhpBlock {
    margin: 6px 0 8px 0;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .zharea .zhpBlock {
    margin: 4px 0 8px 0;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .zharea .zhpBlock {
    margin: 4px 0 8px 0;
  }
}
@media only screen and (max-width: 375px) {
  .zharea .zhpBlock {
    margin: 4px 0 4px 0;
  }
}
.zharea .zhpBlock .zhpZp {
  margin-bottom: 8px;
  color: #da291c;
  text-align: center;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
.zharea .zhpBlock .zhpZp.grammar {
  border-bottom: 1px solid #da291c;
}
.zharea .zhpBlock .zhpZh {
  color: #000;
  text-align: center;
}
.zharea .zpbox {
  display: inline-block;
  padding: 2px 4px 2px 4px;
  margin: 2px -3px 2px -3px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  /* border: 2px solid $color_white; */
  /* setting a white border here will prevent layout jumps when blue border turns on for a grammar hint */
}
.zharea .zhbox {
  display: inline;
  position: relative;
  float: left;
  margin: 2px 0 5px 0;
  padding: 2px 8px 3px 8px;
  border-spacing: 0;
  border-collapse: collapse;
  border: 2px solid #fff;
  page-break-inside: avoid;
}

.paraPhrase.specialphrase.title {
  margin-bottom: 100px;
  /* adjust based on size of font */
  font-size: 1.2em;
}

.paraPhrase.specialphrase.title::after {
  white-space: pre;
  content: "\a";
  clear: both;
}

/* REX */
#pagebody, .pagebody2 {
  display: block;
  height: 100%;
  /* height: calc(100% - 110px); */
  /*
  	.zhpBlock {
  		display: inline;
  		position: relative;
  		float: left;
  		@include notoserif4;
  		margin: 2px 0 20px 0;
  		padding: 2px 1px 3px 3px;
  		letter-spacing: 0.04em;
  		border-spacing: 0;
  		page-break-inside: avoid;
  		border-collapse: collapse;
  		border: 1px solid $color_white;
  		@include responsive(xwide-screens) { margin: 2px 0 20px 0; }
  		@include responsive(wide-screens) { margin: 2px 0 20px 0; }
  		@include responsive(large-screens) { margin: 2px 0 20px 0; }
  		@include responsive(medium-screens) { margin: 2px 0 16px 0; }
  		@include responsive(small-screens) { margin: 2px 0 8px 0; }
  		@include responsive(xsmall-screens) { margin: 2px 0 8px 0; }
  		@include responsive(mobile-screens) { margin: 2px 0 4px 0; }
  		.zhpZp {
  			margin-bottom: 8px;
  			color: $color_red;
  			text-align: center;
  			@include ave5;
  			&.grammar {
  				border-bottom: 1px solid $color_red;
  				}
  			}
  		.zhpZh {
  			color: $color_black;
  			text-align: center;
  			}
  		}
  	.zpbox {
  		display: inline-block;
  		padding: 1px 4px 1px 4px;
  		margin: 2px -3px 2px -3px;
  		}
  	.zhbox {
  		display: inline;
  		position: relative;
  		float: left;
  		margin: 2px 0 5px 0;
  		padding: 2px 8px 3px 8px;
  		border-spacing: 0;
  		border-collapse: collapse;
  		border: 1px solid $color_white;
  		page-break-inside: avoid;
  		}
  */
}
#pagebody .paraParaZh, .pagebody2 .paraParaZh {
  grid-column-start: zh-start;
  grid-column-end: zh-end;
}
#pagebody .paraParaZh .paraPhrase.playing, .pagebody2 .paraParaZh .paraPhrase.playing {
  background-color: #f6d4d4;
  border-color: #f6d4d4 !important;
}
#pagebody .paraParaZhp, .pagebody2 .paraParaZhp {
  grid-column-start: zh-start;
  grid-column-end: zh-end;
  max-width: 1400px;
}
#pagebody .paraParaZp, .pagebody2 .paraParaZp {
  padding-top: 3px;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
#pagebody .paraParaZp .paraPhrase.playing, .pagebody2 .paraParaZp .paraPhrase.playing {
  background-color: #f6d4d4;
  border-color: #f6d4d4 !important;
}
#pagebody .paraParaEn, .pagebody2 .paraParaEn {
  float: right;
  display: block;
  position: relative;
  margin: 12px 0 30px 50px;
  height: 100%;
  width: 240px;
}
#pagebody .paraParaEn p, .pagebody2 .paraParaEn p {
  padding: 0 0 0 20px;
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  border-left: 6px solid #ebebeb;
}
@media only screen and (min-width: 1920px) {
  #pagebody .paraParaEn, .pagebody2 .paraParaEn {
    display: block;
    width: 440px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagebody .paraParaEn, .pagebody2 .paraParaEn {
    display: block;
    width: 300px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagebody .paraParaEn, .pagebody2 .paraParaEn {
    display: block;
    width: 240px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagebody .paraParaEn, .pagebody2 .paraParaEn {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagebody .paraParaEn, .pagebody2 .paraParaEn {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagebody .paraParaEn, .pagebody2 .paraParaEn {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  #pagebody .paraParaEn, .pagebody2 .paraParaEn {
    display: none;
  }
}
#pagebody .paraParaEn.off, .pagebody2 .paraParaEn.off {
  display: none;
}
#pagebody .number, .pagebody2 .number {
  display: none;
}
#pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
  width: calc(100% - 490px);
}
@media only screen and (min-width: 1920px) {
  #pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
    width: calc(100% - 490px);
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
    width: calc(100% - 350px);
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
    width: calc(100% - 290px);
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
    width: 100%;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
    width: 100%;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
    width: 100%;
  }
}
@media only screen and (max-width: 375px) {
  #pagebody.englishOn .paraParaZhp, #pagebody.englishOn .paraParaZh, .pagebody2.englishOn .paraParaZhp, .pagebody2.englishOn .paraParaZh {
    width: 100%;
  }
}
#pagebody.grammarOn .grammar, #pagebody.grammarOn .zpbox.grammar, #pagebody.grammarOn .zhpBlock.grammar, #pagebody.grammarOn .zhbox.grammar, .pagebody2.grammarOn .grammar, .pagebody2.grammarOn .zpbox.grammar, .pagebody2.grammarOn .zhpBlock.grammar, .pagebody2.grammarOn .zhbox.grammar {
  border: 2px solid #668fbc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /*.number {
  	display: block;
  	top: -6px;
  	right: -10px;
  	}*/
}
#pagebody.grammarOn .grammar.selected, #pagebody.grammarOn .zpbox.grammar.selected, #pagebody.grammarOn .zhpBlock.grammar.selected, #pagebody.grammarOn .zhbox.grammar.selected, .pagebody2.grammarOn .grammar.selected, .pagebody2.grammarOn .zpbox.grammar.selected, .pagebody2.grammarOn .zhpBlock.grammar.selected, .pagebody2.grammarOn .zhbox.grammar.selected {
  border: 2px solid #668fbc;
}
#pagebody.grammarOn .grammar.deselected, #pagebody.grammarOn .zpbox.grammar.deselected, #pagebody.grammarOn .zhpBlock.grammar.deselected, #pagebody.grammarOn .zhbox.grammar.deselected, .pagebody2.grammarOn .grammar.deselected, .pagebody2.grammarOn .zpbox.grammar.deselected, .pagebody2.grammarOn .zhpBlock.grammar.deselected, .pagebody2.grammarOn .zhbox.grammar.deselected {
  border: 2px solid #cedae6;
}
#pagebody.grammarOn .zpbox.grammar, .pagebody2.grammarOn .zpbox.grammar {
  display: inline-block;
  /* regular padding: 2px 4px 2px 4px;*/
  /* regular margin: 2px -3px 2px -3px; */
}
#pagebody.grammarOn .zpbox.grammar.g-start, .pagebody2.grammarOn .zpbox.grammar.g-start {
  -webkit-border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
  padding: 2px 8px 2px 4px;
  margin: 2px -5px 2px -3px;
  border-right: none;
}
#pagebody.grammarOn .zpbox.grammar.g-middle, .pagebody2.grammarOn .zpbox.grammar.g-middle {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 2px 8px 2px 8px;
  margin: 2px -5px 2px -5px;
  border-right: none;
  border-left: none;
}
#pagebody.grammarOn .zpbox.grammar.g-end, .pagebody2.grammarOn .zpbox.grammar.g-end {
  -webkit-border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  padding: 2px 4px 2px 8px;
  margin: 2px -3px 2px -5px;
  border-left: none;
}
#pagebody.grammarOn .zhpBlock.grammar, .pagebody2.grammarOn .zhpBlock.grammar {
  /* regular padding: 2px 2px 6px 2px; */
  /* regular margin: 6px 0 18px 0; */
  /* padding-right needs extra 2px to make up for no right border */
  /* add 2px padding left and right because no right or left borders */
  /* padding-left needs extra 2px to make up for no left border */
}
#pagebody.grammarOn .zhpBlock.grammar.g-start, .pagebody2.grammarOn .zhpBlock.grammar.g-start {
  -webkit-border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
  padding: 2px 4px 6px 2px;
  border-right: none;
}
#pagebody.grammarOn .zhpBlock.grammar.g-middle, .pagebody2.grammarOn .zhpBlock.grammar.g-middle {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 2px 4px 6px 4px;
  border-right: none;
  border-left: none;
}
#pagebody.grammarOn .zhpBlock.grammar.g-end, .pagebody2.grammarOn .zhpBlock.grammar.g-end {
  -webkit-border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  padding: 2px 2px 6px 4px;
  border-left: none;
}
#pagebody.grammarOn .zhbox.grammar.g-start, .pagebody2.grammarOn .zhbox.grammar.g-start {
  -webkit-border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
  padding: 2px 9px 3px 8px;
  border-right: none;
}
#pagebody.grammarOn .zhbox.grammar.g-middle, .pagebody2.grammarOn .zhbox.grammar.g-middle {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 2px 9px 3px 9px;
  border-right: none;
  border-left: none;
}
#pagebody.grammarOn .zhbox.grammar.g-end, .pagebody2.grammarOn .zhbox.grammar.g-end {
  -webkit-border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  padding: 2px 8px 3px 9px;
  border-left: none;
}
#pagebody.grammarOn .paraPhrase.playing .zhpBlock.grammar, .pagebody2.grammarOn .paraPhrase.playing .zhpBlock.grammar {
  border-color: #668fbc !important;
}
#pagebody .paraPhrase.playing .zhpBlock, .pagebody2 .paraPhrase.playing .zhpBlock {
  background-color: #f6d4d4;
  border-color: #f6d4d4 !important;
}

.grammarPanel {
  position: relative;
}
.grammarPanel h2 {
  position: relative;
  color: #fff;
  padding-top: 0px;
}
.grammarPanel .number {
  top: 2px;
  left: -28px;
}

/*-------------------------------------------------- */
/* GRAMMAR AND ENGLISH PANELS */
/*-------------------------------------------------- */
.grammarPanel, .englishPanel {
  display: none;
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border-top: 6px solid #fff;
  padding: 0 20px 0 20px;
  margin-left: -20px;
  width: 100%;
}
.grammarPanel.open, .englishPanel.open {
  position: absolute;
  bottom: 30px;
  overflow-y: auto;
}
.grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
  display: flex;
  height: 40px;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-size: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
}
@media only screen and (min-width: 1920px) {
  .grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
    font-size: 1em;
  }
}
@media only screen and (max-width: 375px) {
  .grammarPanel .setlinkbtm, .englishPanel .setlinkbtm {
    font-size: 0.9em;
  }
}
.grammarPanel .setlinkbtm img, .englishPanel .setlinkbtm img {
  width: 15px;
  height: 10px;
}
.grammarPanel .setlinkbtm img.on, .englishPanel .setlinkbtm img.on {
  display: inline-block;
}

.grammarPanel.open {
  display: block;
  background-color: #a3bcd4;
}
.grammarPanel.open .grammarPanelBody {
  padding: 10px 30px 50px 50px;
}
.grammarPanel.open .grammarPanelBody h2 span {
  display: inline-block;
  padding-left: 10px;
  margin-left: 10px;
  border-left: solid 1px rgba(255, 255, 255, 0.4);
}
@media only screen and (min-width: 1920px) {
  .grammarPanel.open {
    bottom: 30px;
    width: 100%;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .grammarPanel.open {
    bottom: 30px;
    width: 100%;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .grammarPanel.open {
    bottom: 30px;
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .grammarPanel.open {
    width: 100%;
  }
}

.englishPanel.open {
  background-color: #f8eecb;
  /*.panelshadow {   -- may not use this 
  	position: absolute; 
  	bottom: -45px; 
  	left: -30px;
  	width: calc(100% + 60px);
  	height: 30px;
  	@include shadow(0, -10px, 20px, $color_black_50);
  	}*/
}
.englishPanel.open .englishPanelBody {
  padding: 20px 30px 50px 30px;
}
.englishPanel.open .englishPanelBody .paraParaEn p {
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
@media only screen and (min-width: 1920px) {
  .englishPanel.open {
    bottom: 30px;
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .englishPanel.open {
    bottom: 30px;
    display: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .englishPanel.open {
    bottom: 30px;
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .englishPanel.open {
    display: block;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .englishPanel.open {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .englishPanel.open {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  .englishPanel.open {
    display: block;
  }
}

/*-------------------------------------------------- */
/* PAGE CONTENTS: FONT SIZES */
/*-------------------------------------------------- */
#pagecontents, #pagecontents.fontsize-m {
  /* #pagebody { */
  /* REX REMOVED */
  /*	} */
  /* REX REMOVED */
}
#pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
  font-size: 3.5em;
  line-height: 1.7em;
  /* 1.5em */
  /* 1.4em */
  /* 1.3em */
  /* 1.2em */
  /* 1.2em */
  /* 1.2em */
}
@media only screen and (min-width: 1920px) {
  #pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
    font-size: 3.5em;
    line-height: 1.7em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
    font-size: 2.9em;
    line-height: 1.6em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
    font-size: 2.5em;
    line-height: 1.6em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
    font-size: 2.3em;
    line-height: 1.6em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
    font-size: 2em;
    line-height: 1.6em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
    font-size: 2em;
    line-height: 1.6em;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .paraParaZh, #pagecontents.fontsize-m .paraParaZh {
    font-size: 1.8em;
    line-height: 1.6em;
  }
}
#pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
  font-size: 2em;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
    font-size: 2em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
    font-size: 2em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
    font-size: 2em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
    font-size: 2em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
    font-size: 1.8em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
    font-size: 1.7em;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .paraParaZhp, #pagecontents.fontsize-m .paraParaZhp {
    font-size: 1.6em;
  }
}
#pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
  font-size: 2.4em;
  line-height: 1.7em;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
    font-size: 2.4em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
    font-size: 2.4em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
    font-size: 2.4em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
    font-size: 2.2em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
    font-size: 1.8em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .paraParaZp, #pagecontents.fontsize-m .paraParaZp {
    font-size: 1.5em;
  }
}
#pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
  font-size: 1.4em;
  line-height: 1.4em;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
    font-size: 1.4em;
    line-height: 1.4em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
    font-size: 1.4em;
    line-height: 1.4em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
    font-size: 1.4em;
    line-height: 1.4em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
    font-size: 1.3em;
    line-height: 1.4em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
    font-size: 1.3em;
    line-height: 1.4em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
    font-size: 1.3em;
    line-height: 1.3em;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .paraParaEn p, #pagecontents.fontsize-m .paraParaEn p {
    font-size: 1.2em;
    line-height: 1.3em;
  }
}

/*-------------------------------------------------- */
/* EXERCISE STYLES */
/*-------------------------------------------------- */
.exerButtonsFrame {
  position: relative;
  display: block;
  /*bottom: 70px;*/
  /*width: calc(100% - 200px);*/
  margin-top: 10px;
  width: 100%;
  border-top: 6px solid #ebebeb;
  /*margin-top: 80px;
  padding-top: 6px;*/
  /*@include responsive(xwide-screens) { width: calc(100% - 200px); }
  @include responsive(wide-screens) { width: calc(100% - 200px); }
  @include responsive(large-screens) { width: calc(100% - 200px); }
  @include responsive(medium-screens) { width: calc(100% - 90px); }
  @include responsive(small-screens) { width: calc(100% - 60px); }
  @include responsive(xsmall-screens) { width: calc(100% - 60px); }
  @include responsive(mobile-screens) { width: calc(100% - 60px); }*/
}
.exerButtonsFrame .btn {
  color: #fff;
  opacity: 1;
  cursor: pointer;
  float: right;
}
.exerButtonsFrame .btn.left {
  float: left;
}
.exerButtonsFrame .btn.grey {
  background-color: #999;
  /*color: $color_dkgrey;*/
  color: #fff;
}
.exerButtonsFrame .btn:disabled {
  opacity: 0.5;
  background-color: #c3c3c3;
  color: #707070;
  cursor: default;
}

.exerGrid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 20px 50px;
  grid-column-gap: 0;
  grid-row-gap: 0;
}

.btn.exerWordButton {
  position: relative;
  display: inline-block;
  float: left;
  margin: 0 10px 10px 0;
  padding: 10px;
  height: 70px;
  min-width: 80px;
  color: #333;
  background-color: #ebebeb;
  border: 1px solid #999;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  text-transform: none;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  -webkit-box-shadow: 4px 4px 8px rgba(153, 153, 153, 0.5);
  -moz-box-shadow: 4px 4px 8px rgba(153, 153, 153, 0.5);
  box-shadow: 4px 4px 8px rgba(153, 153, 153, 0.5);
  /*&.current {
  	background-color: $color_bggrey3;
  	border: 2px solid $color_bggrey;
  	}
  &.correct {
  	background-color: rgba(123, 186, 140, 0.4);
  	} 
  &.incorrect {
  	background-color: rgb(218, 41, 28);
  }*/
}
.btn.exerWordButton .en {
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
.btn.exerWordButton:hover {
  background-color: #f0f0f0;
}
.btn.exerWordButton.fixed {
  min-width: 40px;
  background-color: transparent;
  border: none;
  cursor: default;
  -webkit-box-shadow: 0 0 0 transparent;
  -moz-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
}
.btn.exerWordButton.fixed:hover {
  background-color: #e0e0e0;
}
.btn.exerWordButton.avail {
  border-color: #dbdbdb;
  background-color: #fcfcfc;
  -webkit-box-shadow: 0 0 0 transparent;
  -moz-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
}
.btn.exerWordButton.current {
  border: 1px solid #aaa;
  background-color: #fff;
}
.btn.exerWordButton.current::before {
  content: "";
  color: #fff;
  display: block;
  position: absolute;
  bottom: 24px;
  width: 58px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23668FBC;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M5,25.3l20.1-20l20,20L40,30.6L28.8,19.4v26h-7.4v-26L10.3,30.6L5,25.3z'/%3E%3C/g%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 45%;
}
.btn.exerWordButton.inuse {
  opacity: 0.2;
  -webkit-box-shadow: 0 0 0 transparent;
  -moz-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
}
.btn.exerWordButton.incorrect {
  color: #da291c;
  background-color: rgba(218, 41, 28, 0.2);
}
.btn.exerWordButton.correct {
  color: #509261;
  background-color: rgba(123, 186, 140, 0.4);
}
.btn.exerWordButton.grey {
  /*border: none;
  @include rounded(0);
  &.disabled {
  	background-color: $color_ltgrey;
  	cursor: default;
  }

  #dragObject & {
  	background-color: black;
  	border-color: #fff;
  }
  &.flash {
  	background-color: $color_red;
  	&.goodflash {
  		background-color: #008000;
  	}
  }
  */
}

.exerDefSentences.buildarea {
  position: relative;
  background-color: #f8f8f8;
  min-height: 60px;
  padding: 15px 15px 5px 15px;
  cursor: pointer;
  -webkit-box-shadow: inset 4px 4px 12px #c3c3c3;
  -moz-box-shadow: inset 4px 4px 12px #c3c3c3;
  box-shadow: inset 4px 4px 12px #c3c3c3;
}

.exerSentenceWordsFrame {
  margin: 50px 20px 20px 20px;
  text-align: center;
}
.exerSentenceWordsFrame .btn.exerWordButton {
  float: none;
  margin: 0 5px 15px 5px;
}
.exerSentenceWordsFrame .exerWordButton.inuse {
  cursor: not-allowed;
  background-color: #e0e0e0;
}
.exerSentenceWordsFrame .exerWordButton.inuse:hover {
  background-color: #e0e0e0;
}

#pagebody .exerWordButton.clone {
  position: absolute;
}

.exerContent.finished .exerWordButton {
  cursor: not-allowed;
}

.btn.dictAudio {
  display: block;
  float: left;
  height: auto;
  padding-right: 14px;
  margin: -4px 12px 6px 0;
}
@media only screen and (min-width: 1920px) {
  .btn.dictAudio {
    float: left;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .btn.dictAudio {
    float: left;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .btn.dictAudio {
    float: left;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .btn.dictAudio {
    float: left;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .btn.dictAudio {
    float: left;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .btn.dictAudio {
    float: none;
  }
}
@media only screen and (max-width: 375px) {
  .btn.dictAudio {
    float: none;
  }
}

.exerProgress {
  position: relative;
  /*bottom: 140px;
  margin: 70px 0 -0 0;*/
  padding: 10px 0 2px 0;
  color: #668fbc;
  font-size: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.exerFeedback {
  float: right;
}
.exerFeedback .incorrect {
  color: #da291c;
}

.exerDefMeaning {
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #da291c;
}
.exerDefMeaning.sentence {
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
}

.exerChoiceFrame {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 30px auto 10px auto;
  /* REX */
  /* REX */
}
@media only screen and (min-width: 1920px) {
  .exerChoiceFrame {
    grid-template-columns: 1fr 1fr;
    margin: 30px auto 10px auto;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .exerChoiceFrame {
    grid-template-columns: 1fr 1fr;
    margin: 20px auto 10px auto;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .exerChoiceFrame {
    grid-template-columns: 1fr 1fr;
    margin: 20px auto 10px auto;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .exerChoiceFrame {
    grid-template-columns: 1fr 1fr;
    margin: 10px auto 10px auto;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .exerChoiceFrame {
    grid-template-columns: 1fr 1fr;
    margin: 10px auto 10px auto;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .exerChoiceFrame {
    grid-template-columns: 1fr;
    margin: 10px auto 10px auto;
  }
}
@media only screen and (max-width: 375px) {
  .exerChoiceFrame {
    grid-template-columns: 1fr;
    margin: 5px auto 10px auto;
  }
}
.exerChoiceFrame .exerChoiceButton {
  position: relative;
  display: inline-block;
  float: left;
  /*margin: 0 10px 20px 10px;*/
  padding: 30px;
  /*width: 40%;
  max-width: 480px;*/
  width: 100%;
  max-width: 480px;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8em;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: 1px solid #999;
  background-color: #ebebeb;
  /*@include responsive(xwide-screens) { width: 40%; max-width: 480px; }
  @include responsive(wide-screens) { width: 40%; max-width: 480px; }
  @include responsive(large-screens) { width: 40%; max-width: 480px; }
  @include responsive(medium-screens) { width: 40%; max-width: 480px; }
  @include responsive(small-screens) { margin: 0 0 20px 0; width: 100%; }
  @include responsive(xsmall-screens) { margin: 0 0 20px 0; width: 100%; }
  @include responsive(mobile-screens) { margin: 0 0 20px 0; width: 100%; }	*/
}
@media only screen and (min-width: 1920px) {
  .exerChoiceFrame .exerChoiceButton {
    padding: 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .exerChoiceFrame .exerChoiceButton {
    padding: 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .exerChoiceFrame .exerChoiceButton {
    padding: 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .exerChoiceFrame .exerChoiceButton {
    padding: 20px 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .exerChoiceFrame .exerChoiceButton {
    padding: 20px 30px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .exerChoiceFrame .exerChoiceButton {
    padding: 10px 30px;
  }
}
@media only screen and (max-width: 375px) {
  .exerChoiceFrame .exerChoiceButton {
    padding: 10px 30px;
  }
}
.exerChoiceFrame .exerChoiceButton .en {
  display: inline-block;
  font-size: 100%;
  line-height: 1.3em;
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  padding-left: 10px;
}
.exerChoiceFrame .exerChoiceButton .feedback {
  position: absolute;
  right: 12px;
  bottom: 0;
  display: block;
  font-size: 12px;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.exerChoiceFrame .exerChoiceButton.incorrect {
  background-color: rgba(218, 41, 28, 0.2);
}
.exerChoiceFrame .exerChoiceButton.incorrect .feedback::before {
  color: #da291c;
  content: "try again";
}
.exerChoiceFrame .exerChoiceButton.correct {
  background-color: rgba(123, 186, 140, 0.4);
  cursor: not-allowed;
  /* REX */
}
.exerChoiceFrame .exerChoiceButton.correct .feedback::before {
  color: #509261;
  content: "correct";
}
.exerChoiceFrame.long {
  max-width: 100%;
  grid-template-columns: 1fr 1fr;
}
.exerChoiceFrame.long .exerChoiceButton .en {
  padding-left: 0;
  padding-top: 4px;
  font-size: 85%;
}
.exerChoiceFrame.long .exerChoiceButton {
  padding: 20px 30px;
  max-width: 100%;
  text-align: left;
}
.exerChoiceFrame.finished .exerChoiceButton {
  cursor: not-allowed;
}

.exerCategorySelector {
  display: flex;
  align-items: flex-start;
  position: relative;
}
@media only screen and (min-width: 1920px) {
  .exerCategorySelector {
    display: flex;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .exerCategorySelector {
    display: flex;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .exerCategorySelector {
    display: flex;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .exerCategorySelector {
    display: flex;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .exerCategorySelector {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .exerCategorySelector {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  .exerCategorySelector {
    display: block;
  }
}
.exerCategorySelector .exerCategory {
  display: inline-block;
  margin: 0 10px 0 0;
  text-align: center;
}
@media only screen and (min-width: 1920px) {
  .exerCategorySelector .exerCategory {
    display: inline-block;
    margin: 0 10px 0 0;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .exerCategorySelector .exerCategory {
    display: inline-block;
    margin: 0 10px 0 0;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .exerCategorySelector .exerCategory {
    display: inline-block;
    margin: 0 10px 0 0;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .exerCategorySelector .exerCategory {
    display: inline-block;
    margin: 0 10px 0 0;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .exerCategorySelector .exerCategory {
    display: block;
    width: 100%;
    margin: 0 auto 0 auto;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .exerCategorySelector .exerCategory {
    display: block;
    width: 100%;
    margin: 0 auto 0 auto;
  }
}
@media only screen and (max-width: 375px) {
  .exerCategorySelector .exerCategory {
    display: block;
    width: 100%;
    margin: 0 auto 0 auto;
  }
}
.exerCategorySelector .exerButtonCatSelector {
  display: block;
  margin: 0 0 8px 0;
  padding: 20px 30px;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.8em;
  line-height: 1.2em;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: 1px solid #999;
  background-color: #ebebeb;
}
.exerCategorySelector .exerButtonCatSelector:hover {
  color: #fff;
  background-color: #333;
  border: 1px solid #333;
}
@media only screen and (min-width: 1920px) {
  .exerCategorySelector .exerButtonCatSelector {
    margin: 0 0 8px 0;
    padding: 20px 30px;
    font-size: 1.8em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .exerCategorySelector .exerButtonCatSelector {
    margin: 0 0 8px 0;
    padding: 20px 30px;
    font-size: 1.7em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .exerCategorySelector .exerButtonCatSelector {
    margin: 0 0 8px 0;
    padding: 20px 30px;
    font-size: 1.6em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .exerCategorySelector .exerButtonCatSelector {
    margin: 0 0 8px 0;
    padding: 20px 30px;
    font-size: 1.5em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .exerCategorySelector .exerButtonCatSelector {
    margin: 0 auto 8px auto;
    padding: 20px 20px;
    width: 100%;
    font-size: 1.5em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .exerCategorySelector .exerButtonCatSelector {
    margin: 0 auto 8px auto;
    padding: 20px 20px;
    width: 100%;
    font-size: 1.5em;
  }
}
@media only screen and (max-width: 375px) {
  .exerCategorySelector .exerButtonCatSelector {
    margin: 0 auto 8px auto;
    padding: 20px 20px;
    width: 100%;
    font-size: 1.5em;
  }
}
.exerCategorySelector .exerScore {
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #668fbc;
}
.exerCategorySelector .exerScore span {
  color: #333;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
}

.exerDefMeaning.sentence {
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
}

/*
  .exerCategory {
    margin-bottom: 10px;
  }

}
.exerProgress {
  font-size: 24px;
  margin-bottom: 20px;
}

.exerInstructions {
  font-style: italic;
  margin-top: 6px;
  margin-bottom: 10px;
}
.exerChoiceList {
  margin-bottom: 6px;
}

.exerChoiceButton {
  display: inline-block;
  text-align: center;
  padding: 4px 10px;
  background-color: $color_dkgrey;
  color: $color_white;
  &.correct {
    background-color: $color_blue;
    cursor: default;
  }
  &.incorrect {
    background-color: $color_red;
    color: $color_medgrey;
    cursor: default;
  }
}

.exerChoiceTextButton {
  display: block;
  background-color: $color_white;
  color: $color_black;
  border: 1px solid $color_medgrey;
  margin-bottom: 6px;
  &.correct {
    background-color: $color_blue;
    color: $color_white;
    cursor: default;
  }
  &.incorrect {
    background-color: $color_red;
    color: $color_medgrey;
    cursor: default;
  }
}

.exerDefMeaning {
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
  padding-left: 16px;
}
div.exerDefMeaning {
  margin-bottom: 10px;
}

.exerPadRight {
  margin-right: 20px;
}
.exerVertMid {
  vertical-align: middle;
}

.exerFeedback {
  margin-top: 10px;
  span {
    font-size: 20px;
  }
}
*/
/*-------------------------------------------------- */
/* ABOUT THIS BOOK */
/*-------------------------------------------------- */
#pageContentsAbout {
  display: grid;
  height: 100%;
  grid-template-columns: 70px auto 240px 70px;
  grid-template-rows: 100px auto 30px;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-areas: "leftmargin bookcontents bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentsidebar pagerightnav" "chapternav chapternav chapternav chapternav";
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout {
    display: grid;
    grid-template-columns: 70px auto 240px 70px;
    grid-template-rows: 100px auto 30px;
    grid-template-areas: "leftmargin bookcontents bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentsidebar pagerightnav" "chapternav chapternav chapternav chapternav";
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout {
    display: grid;
    grid-template-columns: 70px auto 240px 70px;
    grid-template-rows: 100px auto 30px;
    grid-template-areas: "leftmargin bookcontents bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentsidebar pagerightnav" "chapternav chapternav chapternav chapternav";
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout {
    display: grid;
    grid-template-columns: 70px auto 240px 70px;
    grid-template-rows: 100px auto 30px;
    grid-template-areas: "leftmargin bookcontents bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentsidebar pagerightnav" "chapternav chapternav chapternav chapternav";
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout {
    display: block;
    padding: 0 70px 0 70px;
    grid-template-columns: 70px auto 70px;
    grid-template-rows: 80px auto 50px;
    grid-template-areas: "leftmargin bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentbody" "pageleftnav bookcontentbody bookcontentbody";
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout {
    display: block;
    padding: 0 24px 0 24px;
    grid-template-columns: 24px auto 24px;
    grid-template-rows: 80px auto 50px;
    grid-template-areas: "leftmargin bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentbody" "pageleftnav bookcontentbody bookcontentbody";
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout {
    display: block;
    padding: 0 24px 0 24px;
    grid-template-columns: 24px auto 24px;
    grid-template-rows: 80px auto 50px;
    grid-template-areas: "leftmargin bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentbody" "pageleftnav bookcontentbody bookcontentbody";
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout {
    display: block;
    padding: 0 24px 0 24px;
    grid-template-columns: 24px auto 24px;
    grid-template-rows: 180px auto 50px;
    grid-template-areas: "leftmargin bookcontents bookcontents" "pageleftnav bookcontentbody bookcontentbody" "pageleftnav bookcontentbody bookcontentbody";
  }
}
#pageContentsAbout .bookcontents {
  grid-area: bookcontents;
  padding: 50px 50px 0 50px;
}
#pageContentsAbout .bookcontents h1 {
  padding: 0 0 12px 0;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontents h1 {
    padding: 0 0 12px 0;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontents h1 {
    padding: 0 0 12px 0;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontents h1 {
    padding: 0 0 12px 0;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontents h1 {
    padding: 0 0 12px 0;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontents h1 {
    padding: 0 0 8px 0;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontents h1 {
    padding: 0 0 8px 0;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontents h1 {
    padding: 0 0 8px 0;
  }
}
#pageContentsAbout .bookcontents h3.detail {
  padding: 20px 0 4px 0;
  color: #333;
  font-size: 1.1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#pageContentsAbout .bookcontents h3.detail.lvl {
  padding: 0 0 18px 0;
  color: #668fbc;
  font-size: 1em;
  clear: both;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontents h3.detail.lvl {
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontents h3.detail.lvl {
    display: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontents h3.detail.lvl {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontents h3.detail.lvl {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontents h3.detail.lvl {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontents h3.detail.lvl {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontents h3.detail.lvl {
    display: block;
  }
}
#pageContentsAbout .bookcontents .subnav {
  list-style: none;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontents .subnav {
    display: block;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontents .subnav {
    display: block;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontents .subnav {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontents .subnav {
    display: block;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontents .subnav {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontents .subnav {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontents .subnav {
    display: none;
  }
}
#pageContentsAbout .bookcontents .subnav li {
  display: inline-block;
  padding: 0 30px 20px 0;
  cursor: pointer;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
}
#pageContentsAbout .bookcontents .subnav li.active {
  cursor: default;
  color: #333;
  /*background-image: url('images/subnav_pointer.svg');*/
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14.99'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23c3c3c3;%7D%3C/style%3E%3C/defs%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpath class='cls-1' d='M0,0H24L12,15Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 20px auto;
  background-position: calc(50% - 15px) bottom;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontents {
    padding: 50px 50px 0 50px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontents {
    padding: 50px 50px 0 50px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontents {
    padding: 50px 50px 0 50px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontents {
    padding: 40px 40px 0 0;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontents {
    padding: 30px 30px 0 0;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontents {
    padding: 20px 20px 0 0;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontents {
    padding: 20px 20px 0 0;
  }
}
#pageContentsAbout .bookcontents .subnavdrop {
  padding: 8px 30px 7px 12px;
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  border: none;
  background-color: #ebebeb;
}
#pageContentsAbout .bookcontents .subnavdrop option {
  padding-right: 20px;
  color: #707070;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 0.9em;
}
#pageContentsAbout .bookcontents .subnavdrop option.active {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontents .subnavdrop {
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontents .subnavdrop {
    display: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontents .subnavdrop {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontents .subnavdrop {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontents .subnavdrop {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontents .subnavdrop {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontents .subnavdrop {
    display: block;
  }
}
#pageContentsAbout .bookcontentbody {
  grid-area: bookcontentbody;
  display: none;
  padding: 60px 50px 30px 50px;
  overflow: auto;
}
#pageContentsAbout .bookcontentbody h2 span {
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
}
#pageContentsAbout .bookcontentbody .location h2 {
  padding-top: 0;
}
#pageContentsAbout .bookcontentbody .location h2 .zp {
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody {
    padding: 60px 50px 30px 50px;
    height: calc(100% - 130px);
  }
  #pageContentsAbout .bookcontentbody .libBookCover {
    float: right;
    margin: 0 0 0 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody {
    padding: 60px 50px 30px 50px;
    height: calc(100% - 130px);
  }
  #pageContentsAbout .bookcontentbody .libBookCover {
    float: right;
    margin: 0 0 0 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody {
    padding: 60px 50px 10px 50px;
    height: calc(100% - 130px);
  }
  #pageContentsAbout .bookcontentbody .libBookCover {
    float: right;
    margin: 0 0 0 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody {
    padding: 60px 40px 10px 0;
    height: calc(100% - 130px);
  }
  #pageContentsAbout .bookcontentbody .libBookCover {
    float: none;
    margin: 0 0 20px 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody {
    padding: 20px 30px 10px 0;
    height: calc(100% - 130px);
  }
  #pageContentsAbout .bookcontentbody .libBookCover {
    float: none;
    margin: 0 0 20px 30px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody {
    padding: 20px 30px 10px 0;
    height: calc(100% - 130px);
  }
  #pageContentsAbout .bookcontentbody .libBookCover {
    float: none;
    margin: 0 0 20px 30px;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody {
    padding: 20px 30px 30px 0;
    height: calc(100% - 130px);
  }
  #pageContentsAbout .bookcontentbody .libBookCover {
    float: none;
    margin: 0 0 20px 20px;
  }
}
#pageContentsAbout .bookcontentbody #bookdetails {
  display: none;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody #bookdetails {
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody #bookdetails {
    display: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody #bookdetails {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody #bookdetails {
    display: block;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody #bookdetails {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody #bookdetails {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody #bookdetails {
    display: block;
  }
}
#pageContentsAbout .bookcontentbody #bookdetails h3 {
  padding: 12px 0 2px 0;
  color: #333;
  font-size: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#pageContentsAbout .bookcontentbody #bookdetails p {
  font-size: 1.2em;
}
#pageContentsAbout .bookcontentbody p::first-letter {
  text-transform: uppercase;
}
#pageContentsAbout .bookcontentbody.active {
  display: block;
  height: auto;
}
#pageContentsAbout .bookcontentbody#bookcontentsSummary .libBookCover {
  cursor: pointer;
}
#pageContentsAbout .bookcontentbody#bookcontentsContents {
  column-count: 2;
  column-gap: 50px;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents {
    column-count: 2;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents {
    column-count: 2;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents {
    column-count: 2;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents {
    column-count: 2;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents {
    column-count: 1;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents {
    column-count: 1;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents {
    column-count: 1;
  }
}
#pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
  display: grid;
  grid-template-columns: 45px auto;
  grid-template-areas: "tocnumber toctitle" "tocspace toczh";
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
    grid-template-columns: 45px auto;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
    grid-template-columns: 45px auto;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
    grid-template-columns: 45px auto;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
    grid-template-columns: 40px auto;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
    grid-template-columns: 40px auto;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
    grid-template-columns: 40px auto;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock {
    grid-template-columns: 35px auto;
  }
}
#pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
  grid-area: tocnumber;
  padding: 0 0 12px 0;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2em;
  color: #da291c;
  line-height: 1.2em;
  letter-spacing: -0.05em;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
    font-size: 2em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
    font-size: 2em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
    font-size: 2em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
    font-size: 1.9em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
    font-size: 1.9em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .tocnumber {
    font-size: 1.5em;
  }
}
#pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
  grid-area: toctitle;
  padding: 0 0 8px 0;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2em;
  color: #da291c;
  line-height: 1.2em;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
    font-size: 2em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
    font-size: 2em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
    font-size: 2em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
    font-size: 1.9em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
    font-size: 1.9em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toctitle {
    font-size: 1.5em;
  }
}
#pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
  grid-area: toczh;
  padding: 0 0 30px 0;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  color: #333;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
    font-size: 2em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
    font-size: 2em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
    font-size: 2em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
    font-size: 1.9em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
    font-size: 1.9em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody#bookcontentsContents .tocblock .toczh {
    font-size: 1.5em;
  }
}
#pageContentsAbout .bookcontentbody#bookcontentsContents .contentsTitleZh {
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe .paraCast {
  display: grid;
  grid-template-columns: 120px 10px auto;
  min-width: 300px;
  padding-bottom: 20px;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe .paraCast .paraCastImgDiv {
  grid-column-start: 1;
  grid-column-end: 2;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe .paraCast .paraCastImgDiv img {
  width: 100%;
  height: auto;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe .paraCast .paraCastTextDiv {
  grid-column-start: 3;
  grid-column-end: 4;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe .paraCast .paraCastTextDiv h2 {
  padding-bottom: 6px;
  color: #333;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.3em;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe .paraCast .paraCastTextDiv h3 {
  padding-bottom: 6px;
  color: #333;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5em;
}
#pageContentsAbout .bookcontentbody#bookcontentsCharacters .castframe .paraCast .paraCastTextDiv .paraCastEn {
  font-family: "AvenirNextWorldThin", helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.3em;
  line-height: 1.2em;
}
#pageContentsAbout .bookcontentbody .libBookCover {
  float: right;
  width: 50%;
  max-width: 300px;
  min-width: 100px;
  height: auto;
  -webkit-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentbody .libBookCover {
    max-width: 300px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentbody .libBookCover {
    max-width: 300px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentbody .libBookCover {
    max-width: 300px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentbody .libBookCover {
    max-width: 260px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentbody .libBookCover {
    max-width: 220px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentbody .libBookCover {
    max-width: 160px;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentbody .libBookCover {
    max-width: 140px;
  }
}
#pageContentsAbout .bookcontentsidebar {
  grid-area: bookcontentsidebar;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .bookcontentsidebar {
    display: block;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .bookcontentsidebar {
    display: block;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .bookcontentsidebar {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .bookcontentsidebar {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .bookcontentsidebar {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .bookcontentsidebar {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .bookcontentsidebar {
    display: none;
  }
}
#pageContentsAbout .bookcontentsidebar div {
  margin-top: 60px;
  padding-left: 20px;
  border-left: 6px solid #ebebeb;
}
#pageContentsAbout .bookcontentsidebar div .btn {
  margin-top: 0;
}
#pageContentsAbout .bookcontentsidebar h3 {
  padding: 16px 0 2px 0;
  color: #333;
  font-size: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#pageContentsAbout .bookcontentsidebar h3.lvl {
  color: #668fbc;
}
#pageContentsAbout .bookcontentsidebar p {
  font-size: 1.2em;
}
#pageContentsAbout .bookcontentsidebar p::first-letter {
  text-transform: uppercase;
}
#pageContentsAbout .bookcontentsidebar p a {
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #668fbc;
}
#pageContentsAbout .bookcontentsidebar p a:hover, #pageContentsAbout .bookcontentsidebar p a:active {
  color: #333;
}
#pageContentsAbout .paraParaEn {
  /*margin-top: 32px;
  grid-column-start: en-start;
  grid-column-end: en-end;*/
  float: right;
  display: block;
  position: relative;
  margin: 12px 0 30px 50px;
  height: 100%;
  width: 240px;
}
#pageContentsAbout .paraParaEn p {
  padding: 0 0 0 20px;
  font-size: 1.4em;
  line-height: 1.4em;
  font-family: "AvenirNextWorldThin", helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  border-left: 6px solid #ebebeb;
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .paraParaEn p {
    font-size: 1.4em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .paraParaEn p {
    font-size: 1.4em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .paraParaEn p {
    font-size: 1.4em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .paraParaEn p {
    font-size: 1.4em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .paraParaEn p {
    font-size: 1.4em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .paraParaEn p {
    font-size: 1.4em;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .paraParaEn p {
    font-size: 1.4em;
  }
}
@media only screen and (min-width: 1920px) {
  #pageContentsAbout .paraParaEn {
    display: block;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pageContentsAbout .paraParaEn {
    display: block;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pageContentsAbout .paraParaEn {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pageContentsAbout .paraParaEn {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pageContentsAbout .paraParaEn {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pageContentsAbout .paraParaEn {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  #pageContentsAbout .paraParaEn {
    display: none;
  }
}

/*-------------------------------------------------- */
/* SETTINGS POUPUP */
/*-------------------------------------------------- */
#popupContainer {
  z-index: 7551;
  position: fixed;
  left: 50%;
  top: 50%;
  width: auto;
  min-width: 280px;
  transform: translate(-50%, -50%);
  background-color: #fff;
}
@media only screen and (min-width: 1920px) {
  #popupContainer {
    min-width: 280px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #popupContainer {
    min-width: 280px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #popupContainer {
    min-width: 280px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #popupContainer {
    min-width: 280px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #popupContainer {
    min-width: 250px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #popupContainer {
    min-width: 240px;
  }
}
@media only screen and (max-width: 375px) {
  #popupContainer {
    min-width: 230px;
  }
}

#popupBackdrop {
  z-index: 7550;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
}

.popupSection {
  clear: both;
  padding: 10px 10px 0 10px;
}

.popupTitle {
  margin: 0 0 8px 0;
  padding: 16px 0 0 0;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1em;
  color: #da291c;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.popup {
  width: auto;
  height: auto;
  min-width: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 30px 50px 40px 30px;
}
@media only screen and (min-width: 1920px) {
  .popup {
    min-width: 280px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .popup {
    min-width: 280px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .popup {
    min-width: 280px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .popup {
    min-width: 280px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .popup {
    min-width: 250px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .popup {
    min-width: 240px;
  }
}
@media only screen and (max-width: 375px) {
  .popup {
    min-width: 230px;
  }
}

.popupClose {
  position: absolute;
  right: 1px;
  top: 1px;
  padding: 4px 8px;
  font-size: 20px;
  height: 22px;
  cursor: pointer;
}

.popupHeader {
  background-color: #da291c;
  color: #fff;
  height: 30px;
  border-bottom: 1px solid black;
}
.popupHeader h1 {
  font-size: 24px;
  text-align: center;
}

.settingsHeader {
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  color: #da291c;
  margin-bottom: 10px;
}

.settingsBody {
  color: #333;
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-left: 1px;
  margin-bottom: 20px;
  padding-left: 22px;
}
.settingsBody p {
  margin: 0;
  padding: 0 0 4px 0;
  font-size: 1.3em;
  line-height: 1.2em;
}
.settingsBody input {
  margin-left: -21px;
}

.settingsPopupBody .btn {
  margin-top: 0;
}

/*-------------------------------------------------- */
/* DICTIONARY SETTINGS */
/*-------------------------------------------------- */
/* Do popup */
#dictPopup {
  padding: 30px 50px 14px 30px;
}
@media only screen and (min-width: 1920px) {
  #dictPopup {
    padding: 30px 50px 14px 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #dictPopup {
    padding: 30px 50px 14px 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #dictPopup {
    padding: 30px 50px 14px 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #dictPopup {
    padding: 30px 40px 14px 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #dictPopup {
    padding: 30px 30px 14px 20px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #dictPopup {
    padding: 30px 20px 14px 10px;
  }
}
@media only screen and (max-width: 375px) {
  #dictPopup {
    padding: 30px 20px 14px 10px;
  }
}

.dictPopup {
  cursor: pointer;
}

/* Highlight the words you can click for dictionary entry */
/* REX REMOVED #PAGEBODY */
.zhpBlock.dictPopup .zhpZh:hover,
.paraParaZp .dictPopup:hover {
  color: #da291c;
}

/*
#pagebody .zhpBlock.dictPopup .zhpZh:hover,
#pagebody .paraParaZp .dictPopup:hover {
	color: $color_red;
	}
*/
/* Dictionary page */
/* dictTable is the container class for the entries shown
   on the dictionary page */
.dictTable {
  padding-left: 4px;
  padding-right: 4px;
  overflow-y: scroll;
  /* dictEntry is a dictionary entry container.  It is used in 3 places:
  rows in dictionary page, in contents of dict popup, and in the "related"
  section of a dict popup.  This is probably too much and this should be
  broken into separate classes. */
}
.dictTable .dictEntry {
  border-bottom: 1px solid #999;
  margin-top: 6px;
  padding-bottom: 6px;
  min-height: 30px;
  width: 100%;
}
.dictTable .dictEntry.related {
  padding-top: 20px;
  border-top: 1px solid #999;
}

#dictPopup .dictRelated {
  padding-top: 20px;
  /*border-top: 1px solid $color_grey;*/
}
#dictPopup .dictRelated .dictTopRow {
  margin: -30px 0 0 0;
  padding: 10px 0 0 0;
}
#dictPopup .dictRelated .dictZh {
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  padding-bottom: 4px;
  font-size: 20px;
}
#dictPopup .dictRelated .dictZp {
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  padding-top: 4px;
}

#dictPopup .dictUsage {
  padding-top: 4px;
}
#dictPopup .dictUsage .dictZh {
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  padding-bottom: 4px;
  font-size: 20px;
}
#dictPopup .dictUsage .dictZp {
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
}

/* .dictEntry is used in page and popups */
.dictEntry .dictZh {
  cursor: pointer;
}

/* dictZh is for chinese chars, dictZp for pinyin */
.dictZh {
  display: inline-block;
  min-width: 90px;
  font-size: 20px;
  padding-right: 8px;
}

.dictZp {
  display: inline-block;
  min-width: 100px;
  padding-right: 20px;
  font-size: 20px;
}

/* dictAudio class wraps an audio playback icon */
.dictAudio {
  display: inline-block;
  float: left;
  padding-right: 8px;
  cursor: pointer;
  width: 22px;
  height: 22px;
}
.dictAudio img {
  width: 100%;
  height: auto;
}
.dictAudio.exerVertMid {
  margin-top: 6px;
}

/* dictDefs are container for definition entries in dictionary entries/popup,
   which themselves are each of class dictDef. There can be more than one definition. */
.dictTable .dictDefs {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dictDef {
  display: inline-block;
  padding-right: 15px;
}

/* dictPart is the "part of speech" tag in a dict definition */
.dictPart {
  color: #707070;
}

/* dictCastImage class is for the images in special cast member
   dictionary entries. */
img.dictCastImage {
  float: left;
  margin-right: 8px;
  margin-bottom: 2px;
}
@media only screen and (min-width: 1920px) {
  img.dictCastImage {
    float: left;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  img.dictCastImage {
    float: left;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  img.dictCastImage {
    float: left;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  img.dictCastImage {
    float: left;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  img.dictCastImage {
    float: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  img.dictCastImage {
    float: none;
  }
}
@media only screen and (max-width: 375px) {
  img.dictCastImage {
    float: none;
  }
}

/* Dictionary page controls */
.dictControls {
  background-color: #e0e0e0;
  padding: 4px 20px 4px 20px;
  border: 1px solid #999;
  border-bottom: 1px solid #333;
  margin-bottom: 10px;
}
.dictControls span.btn {
  margin-top: 18px;
  margin-left: 10px;
  cursor: pointer;
}
.dictControls span.btn#dictNewEntry {
  margin-left: 20px;
}
.dictControls a.backbutton {
  font-size: 48px;
}
.dictControls input {
  font-size: 1em;
}

/* Dictionary popup */
#dictPopup .dictZh {
  min-width: 60px;
  font-size: 20px;
}
#dictPopup .dictZp {
  /*min-width: 70px;*/
}
#dictPopup .dictDef {
  /*max-width: 300px;*/
}
#dictPopup .dictTopRow {
  margin: -30px -50px 14px -30px;
  padding: 10px 40px 0 40px;
  height: auto;
  background-color: #ebebeb;
}
#dictPopup .dictDefs {
  margin-top: 8px;
  padding: 0 10px 0 10px;
  font-size: 20px;
}
#dictPopup .dictDef {
  display: block;
}
#dictPopup .dictRelatedWords .dictTopRow {
  background-color: inherit;
  border-bottom: none;
}
#dictPopup .dictRelatedWords .dictTopRow .dictDefSummary {
  display: inline-block;
}
#dictPopup .dictAnimateChar {
  display: inline-block;
  width: 70px;
  height: 70px;
  margin: 0 0 0 -10px;
  cursor: pointer;
}
@media (min-width: 480px) and (max-width: 768px) {
  #dictPopup .dictAnimateChar {
    width: 60px;
    height: 60px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #dictPopup .dictAnimateChar {
    width: 50px;
    height: 50px;
  }
}
@media only screen and (max-width: 375px) {
  #dictPopup .dictAnimateChar {
    width: 40px;
    height: 40px;
  }
}
#dictPopup p {
  padding-bottom: 0;
  font-size: 1em;
}
@media only screen and (min-width: 1920px) {
  #dictPopup p {
    font-size: 1em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #dictPopup p {
    font-size: 1em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #dictPopup p {
    font-size: 1em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #dictPopup p {
    font-size: 1em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #dictPopup p {
    font-size: 1 em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #dictPopup p {
    font-size: 1 em;
  }
}
@media only screen and (max-width: 375px) {
  #dictPopup p {
    font-size: 0.9 em;
  }
}

#dictPopup .dictUsage p {
  padding-bottom: 12px;
}

/*-------------------------------------------------- */
/* CONTENTS PAGE */
/*-------------------------------------------------- */
#pagecontents {
  /* REX */
  overflow: auto;
  position: relative;
  /* REX */
  grid-area: pagecontents;
  /* overflow: auto; */
  /*#pageInnerContent {*/
}
#pagecontents .bodyImage {
  display: block;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
}
#pagecontents .pageContentsChapter {
  display: grid;
  height: 100%;
  position: relative;
  /* REX: FOR PAGE ANIMATION */
  grid-template-columns: 70px auto 70px;
  grid-template-rows: 34px auto 90px 0 30px;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-areas: "settings settings settings" "pageleftnav pagebody pagerightnav" "audionav audionav audionav" "grammarenglish grammarenglish grammarenglish" "chapternav chapternav chapternav";
  /*@include responsive(medium-screens) { 
  	grid-template-columns: 70px auto 70px;
  	grid-template-rows: 20px auto 0px 50px;
  	grid-template-areas:
  		"chaptitle chaptitle chaptitle"
  		"pagebody pagebody pagebody"
  		"grammarenglish grammarenglish grammarenglish"
  		"settings settings settings";
  	}*/
  /*#pgbsParaSelectorContainer {*/
  /*#chapternavleft {
  	display: grid;
  	grid-area: chapternavleft;
  	grid-template-columns: 115px 10px 85px;
  	grid-template-rows: 30px 30px;
  	grid-gap: 0;
  	}*/
  /*#chapternavright {
  	grid-area: chapternavright;
  	span { 
  		display: block;
  		width: 100%;
  		height: 30px;
  		background-color: $color_ltgrey;
  		}
  	}*/
  /*.pgbsParaSelector {*/
  /* REX */
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter {
    grid-template-columns: 70px auto 70px;
    grid-template-rows: 34px auto 90px 0 30px;
    grid-template-areas: "settings settings settings" "pageleftnav pagebody pagerightnav" "audionav audionav audionav" "grammarenglish grammarenglish grammarenglish" "chapternav chapternav chapternav";
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter {
    grid-template-columns: 70px auto 70px;
    grid-template-rows: 34px auto 90px 0 30px;
    grid-template-areas: "settings settings settings" "pageleftnav pagebody pagerightnav" "audionav audionav audionav" "grammarenglish grammarenglish grammarenglish" "chapternav chapternav chapternav";
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter {
    grid-template-columns: 70px auto 70px;
    grid-template-rows: 34px auto 80px 0 30px;
    grid-template-areas: "settings settings settings" "pageleftnav pagebody pagerightnav" "audionav audionav audionav" "grammarenglish grammarenglish grammarenglish" "chapternav chapternav chapternav";
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter {
    grid-template-columns: 70px auto 70px;
    /*grid-template-rows: 20px auto 0px 50px;*/
    grid-template-rows: 34px auto 70px 0 30px;
    grid-template-areas: "settings settings settings" "pageleftnav pagebody pagerightnav" "audionav audionav audionav" "grammarenglish grammarenglish grammarenglish" "chapternav chapternav chapternav";
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter {
    grid-template-columns: 70px auto 70px;
    grid-template-rows: 20px auto 0px 50px;
    grid-template-areas: "chaptitle chaptitle chaptitle" "pagebody pagebody pagebody" "grammarenglish grammarenglish grammarenglish" "settings settings settings";
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter {
    grid-template-columns: 70px auto 70px;
    grid-template-rows: 20px auto 0px 50px;
    grid-template-areas: "chaptitle chaptitle chaptitle" "pagebody pagebody pagebody" "grammarenglish grammarenglish grammarenglish" "settings settings settings";
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter {
    grid-template-columns: 70px auto 70px;
    grid-template-rows: 20px auto 0px 50px;
    grid-template-areas: "chaptitle chaptitle chaptitle" "pagebody pagebody pagebody" "grammarenglish grammarenglish grammarenglish" "settings settings settings";
  }
}
#pagecontents .pageContentsChapter.grammarOpen {
  grid-template-rows: 34px auto 90px 240px 30px;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter.grammarOpen {
    grid-template-rows: 34px auto 90px 240px 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter.grammarOpen {
    grid-template-rows: 34px auto 90px 240px 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter.grammarOpen {
    grid-template-rows: 34px auto 90px 240px 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter.grammarOpen {
    grid-template-rows: 34px auto 90px 240px 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter.grammarOpen {
    grid-template-rows: 25px auto 220px 50px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter.grammarOpen {
    grid-template-rows: 20px auto 220px 50px;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter.grammarOpen {
    grid-template-rows: 20px auto 220px 50px;
  }
}
#pagecontents .pageContentsChapter.englishOpen {
  grid-template-rows: 34px auto 90px 0 30px;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter.englishOpen {
    grid-template-rows: 34px auto 90px 0 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter.englishOpen {
    grid-template-rows: 34px auto 90px 0 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter.englishOpen {
    grid-template-rows: 34px auto 90px 0 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter.englishOpen {
    grid-template-rows: 34px auto 90px 0 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter.englishOpen {
    grid-template-rows: 25px auto 220px 50px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter.englishOpen {
    grid-template-rows: 20px auto 220px 50px;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter.englishOpen {
    grid-template-rows: 20px auto 220px 50px;
  }
}
#pagecontents .pageContentsChapter .settingsTop {
  position: fixed;
  width: 100%;
  height: 34px;
  grid-area: settings;
  display: grid;
  grid-template-areas: "chaptitle settingsnav";
  background-color: #ebebeb;
  /*@include responsive(small-screens) { display: none; }
  @include responsive(xsmall-screens) { display: none; }
  @include responsive(mobile-screens) { display: none; }*/
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsTop {
    height: 34px;
    display: grid;
    grid-template-areas: "chaptitle settingsnav";
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsTop {
    height: 34px;
    display: grid;
    grid-template-areas: "chaptitle settingsnav";
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter .settingsTop {
    height: 34px;
    display: grid;
    grid-template-areas: "chaptitle settingsnav";
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter .settingsTop {
    height: 34px;
    display: grid;
    grid-template-areas: "chaptitle settingsnav";
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .settingsTop {
    height: 24px;
    display: grid;
    grid-template-areas: "chaptitle";
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .settingsTop {
    height: 24px;
    display: grid;
    grid-template-areas: "chaptitle";
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .settingsTop {
    height: 24px;
    display: grid;
    grid-template-areas: "chaptitle";
  }
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav {
  grid-area: settingsnav;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: right;
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .settingsTop .settingsnav {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .settingsTop .settingsnav {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .settingsTop .settingsnav {
    display: none;
  }
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p {
  padding: 0 20px 0 0;
  color: #333;
  font-size: 0.86em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsTop .settingsnav p {
    font-size: 0.86em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsTop .settingsnav p {
    font-size: 0.86em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter .settingsTop .settingsnav p {
    font-size: 0.86em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter .settingsTop .settingsnav p {
    font-size: 0.8em;
  }
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink {
  display: inline-block;
  margin-top: -5px;
  padding-left: 20px;
  cursor: pointer;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink a, #pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink a:visited {
  color: #333;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink a:hover, #pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink a:active {
  color: #000;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink:hover {
  color: #000;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink .toggle {
  display: inline-block;
  padding: 2px;
  margin-bottom: -5px;
  width: 30px;
  height: 16px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  background-color: #999;
  overflow: hidden;
  transition-duration: 0.2s;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink .toggle .dot {
  display: inline-block;
  float: left;
  margin: 0;
  width: 16px;
  height: 16px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  background-color: #fff;
  transition-duration: 0.3s;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink .toggle.on {
  background-color: #668fbc;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink .toggle.on .dot {
  margin-left: 7px;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink:hover .toggle {
  background-color: #aaa;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink.langSetting.selected .toggle, #pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink.showGrammar .toggle {
  background-color: #668fbc;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink.langSetting.selected .toggle .dot, #pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink.showGrammar .toggle .dot {
  margin-left: 14px;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink.langSetting.selected:hover .toggle, #pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink.showGrammar:hover .toggle {
  background-color: #668fbc;
}
#pagecontents .pageContentsChapter .settingsTop .settingsnav p .setlink img {
  float: right;
  margin-top: -5px;
  padding-left: 6px;
  height: 22px;
}
#pagecontents .pageContentsChapter .settingsBtm {
  /*position: relative;*/
  position: fixed;
  width: 100%;
  height: 60px;
  bottom: 0;
  left: -20px;
  padding: 0 20px 0 20px;
  /* intentionally making this div 40px wider than 100% */
  grid-area: settings;
  display: grid;
  /*grid-template-columns: 20px 1fr 1fr 1fr 20px;*/
  grid-template-areas: "btmleftmargin setlink1 setlink2 setlink3 btmrightmargin";
  border-top: 4px solid #fff;
  background-color: #ebebeb;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /* grid-column-gap: 6px; */
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsBtm {
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsBtm {
    display: none;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter .settingsBtm {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter .settingsBtm {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .settingsBtm {
    display: grid;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .settingsBtm {
    display: grid;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .settingsBtm {
    display: grid;
  }
}
#pagecontents .pageContentsChapter .settingsBtm .setlink1 {
  grid-area: setlink1;
  background-color: #ebebeb;
  flex-direction: column;
}
#pagecontents .pageContentsChapter .settingsBtm .setlink2 {
  grid-area: setlink2;
  background-color: #ebebeb;
  flex-direction: row;
}
#pagecontents .pageContentsChapter .settingsBtm .setlink3 {
  grid-area: setlink3;
  background-color: #ebebeb;
  flex-direction: column;
}
#pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
  display: flex;
  justify-content: center;
  color: #333;
  font-size: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}
#pagecontents .pageContentsChapter .settingsBtm .setlinkbtm.ftrGrammarLink, #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm.ftrEnglishLink {
  cursor: pointer;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
    font-size: 1em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
    font-size: 0.9em;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .settingsBtm .setlinkbtm {
    font-size: 0.9em;
  }
}
#pagecontents .pageContentsChapter .settingsBtm .setlinkbtm img {
  width: 15px;
  height: 10px;
}
#pagecontents .pageContentsChapter .settingsBtm .setlinkbtm img.off {
  display: inline-block;
}
#pagecontents .pageContentsChapter .settingsBtm .setlinkbtm img.on {
  display: none;
}
#pagecontents .pageContentsChapter .settingsBtm .setlinkbtm.ftrEnglishLink.on img.off {
  display: none;
}
#pagecontents .pageContentsChapter .settingsBtm .setlinkbtm.ftrEnglishLink.on img.on {
  display: inline-block;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr, #pagecontents .pageContentsChapter .settingsBtm .audionavftr {
  display: inline-block;
  margin: auto 0;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr.hidden img, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr.hidden img, #pagecontents .pageContentsChapter .settingsBtm .audionavftr.hidden img {
  opacity: 0;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr.hidden .pageAdv, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr.hidden .pageAdv, #pagecontents .pageContentsChapter .settingsBtm .audionavftr.hidden .pageAdv {
  cursor: default;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr img, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr img, #pagecontents .pageContentsChapter .settingsBtm .audionavftr img {
  width: 38px;
  height: 38px;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr .pageAdv .on, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr .pageAdv .on, #pagecontents .pageContentsChapter .settingsBtm .audionavftr .pageAdv .on {
  display: none;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr .pageAdv .off, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr .pageAdv .off, #pagecontents .pageContentsChapter .settingsBtm .audionavftr .pageAdv .off {
  display: inline-block;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr .pageAdv:hover .on, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr .pageAdv:hover .on, #pagecontents .pageContentsChapter .settingsBtm .audionavftr .pageAdv:hover .on {
  display: inline-block;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr .pageAdv:hover .off, #pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr .pageAdv:hover .off, #pagecontents .pageContentsChapter .settingsBtm .audionavftr .pageAdv:hover .off {
  display: none;
}
#pagecontents .pageContentsChapter .settingsBtm .audionavftr img {
  width: 48px;
  height: 48px;
}
#pagecontents .pageContentsChapter .settingsBtm .pageleftnavftr img {
  padding-right: 10px;
}
#pagecontents .pageContentsChapter .settingsBtm .pagerightnavftr img {
  padding-left: 10px;
}
#pagecontents .pageContentsChapter .settingsBtm .audionavftr .audioCtrl .on {
  display: none;
}
#pagecontents .pageContentsChapter .settingsBtm .audionavftr .audioCtrl .off {
  display: block;
}
#pagecontents .pageContentsChapter .settingsBtm .audionavftr .audioCtrl.selected .on, #pagecontents .pageContentsChapter .settingsBtm .audionavftr .audioCtrl:hover .on {
  display: block;
}
#pagecontents .pageContentsChapter .settingsBtm .audionavftr .audioCtrl.selected .off, #pagecontents .pageContentsChapter .settingsBtm .audionavftr .audioCtrl:hover .off {
  display: none;
}
#pagecontents .pageContentsChapter .chaptitle {
  grid-area: chaptitle;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
#pagecontents .pageContentsChapter .chaptitle p {
  margin: 0;
  padding: 0 0 0 30px;
  color: #333;
  font-size: 0.9em;
  line-height: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter .chaptitle p {
    padding: 0 0 0 30px;
    font-size: 0.9em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter .chaptitle p {
    padding: 0 0 0 30px;
    font-size: 0.9em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter .chaptitle p {
    padding: 0 0 0 30px;
    font-size: 0.9em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter .chaptitle p {
    padding: 0 0 2px 30px;
    font-size: 0.8em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .chaptitle p {
    padding: 0 0 2px 30px;
    font-size: 0.8em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .chaptitle p {
    padding: 0 0 2px 30px;
    font-size: 0.8em;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .chaptitle p {
    padding: 0 0 2px 30px;
    font-size: 0.8em;
  }
}
#pagecontents .pageContentsChapter .chaptitle p span {
  display: inline-block;
  color: #da291c;
  padding-left: 2px;
}
#pagecontents .pageContentsChapter .chaptitle span.pgnum {
  color: #000;
  text-transform: none;
  padding-left: 10px;
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}
#pagecontents .pageContentsChapter #chapterstart {
  /* REX: this is the grid area that is used for chapter title on first page of a chapter only */
  grid-area: chapterstart;
  position: relative;
  display: none;
  margin: 40px 0 10px 60px;
  padding: 0 60px 0 20px;
  border-left: 6px solid #ebebeb;
}
#pagecontents .pageContentsChapter #chapterstart h2 {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1em;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333;
}
#pagecontents .pageContentsChapter #chapterstart h2 span {
  color: #da291c;
}
#pagecontents .pageContentsChapter #chapterstart h3 {
  position: relative;
  margin: 0;
  padding: 8px 0 0 0;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 1em;
  color: #da291c;
}
#pagecontents .pageContentsChapter .chaptertitle {
  display: block;
  position: relative;
  margin: 10px 0 10px 6px;
  padding: 0 60px 0 0;
}
#pagecontents .pageContentsChapter .chaptertitle .dictPopup {
  margin: 0;
}
#pagecontents .pageContentsChapter .chaptertitle .zpbox {
  padding: 1px 0 1px 0;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter .chaptertitle {
    display: block;
    margin: 10px 0 10px 6px;
    padding: 0 60px 0 0;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter .chaptertitle {
    display: block;
    margin: 10px 0 10px 6px;
    padding: 0 60px 0 0;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter .chaptertitle {
    display: block;
    margin: 10px 0 10px 6px;
    padding: 0 60px 0 0;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter .chaptertitle {
    display: block;
    margin: 10px 0 10px 6px;
    padding: 0;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .chaptertitle {
    display: block;
    margin: 10px 0 10px 6px;
    padding: 0;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .chaptertitle {
    display: block;
    margin: 10px 0 5px 6px;
    padding: 0;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .chaptertitle {
    display: block;
    margin: 10px 0 0 6px;
    padding: 0;
  }
}
#pagecontents .pageContentsChapter .chaptertitle h2 {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1em;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #da291c;
}
#pagecontents .pageContentsChapter .chaptertitle h2 span {
  display: inline-block;
  padding-right: 4px;
  color: #333;
}
#pagecontents .pageContentsChapter .chaptertitle h3 {
  position: relative;
  margin: 0;
  padding: 8px 0 0 0;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 1em;
  color: #da291c;
}
#pagecontents .pageContentsChapter .chaptertitle h3 .paraParaEn {
  display: none;
}
#pagecontents .pageContentsChapter .chaptertitle .en {
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: bold;
  color: #da291c;
  letter-spacing: 0.04em;
}
#pagecontents .pageContentsChapter .chaptertitle .en span {
  display: inline-block;
  padding-right: 4px;
  color: #333;
}
#pagecontents .pageContentsChapter .chaptertitle_end {
  clear: both;
}
#pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
  grid-area: chapterstart;
  display: inline-block;
  position: relative;
  padding-left: 20px;
  border-left: 6px solid #ebebeb !important;
  margin-bottom: 40px;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
    padding-left: 20px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
    padding-left: 20px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
    padding-left: 20px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
    padding-left: 16px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
    padding-left: 12px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
    padding-left: 10px;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title {
    padding-left: 10px;
  }
}
#pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title .zhpZh {
  display: none;
}
#pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title .paraPhrase {
  position: relative;
  display: block;
}
#pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title .paraPhrase .zhpBlock {
  margin: 0;
  display: inline-block;
}
#pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title .paraPhrase .zhpBlock.dictPopup:first-child .zhpZp {
  color: #333;
}
#pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title .paraPhrase .zhpBlock.dictPopup:first-child .zhpZp::before {
  content: "Chapter ";
}
#pagecontents .pageContentsChapter .paraSeg.paraPara.paraParaZhp.title .paraPhrase .zhpBlock.dictPopup div {
  margin: 0;
  color: #da291c;
  font-size: 0.6em;
  line-height: 1em;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#pagecontents .pageContentsChapter #chapternav {
  z-index: 4500;
  position: relative;
  display: grid;
  margin-top: -8px;
  margin-right: -6px;
  overflow: hidden;
  grid-area: chapternav;
  /* "grid-template-columns" style attribute will be added from the JS file */
  grid-template-rows: 30px;
  /* why do we need grid here? */
  grid-gap: 0;
  background-color: #fff;
  border-top: 2px solid #fff;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter #chapternav {
    display: grid;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter #chapternav {
    display: grid;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter #chapternav {
    display: grid;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter #chapternav {
    display: grid;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter #chapternav {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter #chapternav {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter #chapternav {
    display: none;
  }
}
#pagecontents .pageContentsChapter .chapternavbox {
  position: relative;
  display: flex;
  padding: 10px;
  height: 10px;
  justify-content: center;
  flex-direction: column;
  background-color: #e0e0e0;
  cursor: pointer;
  /*&.contents {
  	grid-column-start: toc-start;
  	grid-column-end: toc-end;
  	padding-left: 17px
  	}
  &.cast { grid-column-start: cast-start; grid-column-end: cast-end; }*/
  /* REX: this next part is temporary until the number of chapters is corrected */
}
#pagecontents .pageContentsChapter .chapternavbox .chapternumber {
  position: relative;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1em;
}
#pagecontents .pageContentsChapter .chapternavbox .chapterprogressfill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #668fbc;
}
#pagecontents .pageContentsChapter .chapternavbox.completed .chapternumber {
  color: #fff;
}
#pagecontents .pageContentsChapter .chapternavbox.completed .chapterprogressfill {
  width: 100%;
}
#pagecontents .pageContentsChapter .chapternavbox.completed .exLink span {
  background-color: #a3bcd4;
  opacity: 1;
}
#pagecontents .pageContentsChapter .chapternavbox.selected .chapternumber {
  color: #fff;
}
#pagecontents .pageContentsChapter .chapternavbox:hover {
  background-color: #668fbc;
}
#pagecontents .pageContentsChapter .chapternavbox:hover .chapternumber {
  color: #fff;
}
#pagecontents .pageContentsChapter .chapternavbox:hover .exLink span {
  background-color: #a3bcd4;
  opacity: 1;
}
#pagecontents .pageContentsChapter .chapternavbox .exLink {
  position: absolute;
  top: 0;
  right: 0;
  padding: 9px;
  width: 12px;
  height: 12px;
  cursor: pointer;
}
#pagecontents .pageContentsChapter .chapternavbox .exLink span {
  display: inline-block;
  float: left;
  width: 4px;
  height: 4px;
  margin: 1px;
  background-color: #aaa;
  opacity: 0.75;
}
#pagecontents .pageContentsChapter .chapternavbox .exLink:hover {
  background-color: #a3bcd4;
  border-left: 2px solid #fff;
  opacity: 1;
}
#pagecontents .pageContentsChapter .chapternavbox .exLink:hover span {
  background-color: #fff;
}
#pagecontents .pageContentsChapter .chapternavbox.ch9, #pagecontents .pageContentsChapter .chapternavbox.ch10, #pagecontents .pageContentsChapter .chapternavbox.ch11, #pagecontents .pageContentsChapter .chapternavbox.ch12, #pagecontents .pageContentsChapter .chapternavbox.ch13, #pagecontents .pageContentsChapter .chapternavbox.ch14, #pagecontents .pageContentsChapter .chapternavbox.ch15, #pagecontents .pageContentsChapter .chapternavbox.ch16, #pagecontents .pageContentsChapter .chapternavbox.ch17, #pagecontents .pageContentsChapter .chapternavbox.ch18, #pagecontents .pageContentsChapter .chapternavbox.ch19, #pagecontents .pageContentsChapter .chapternavbox.ch20, #pagecontents .pageContentsChapter .chapternavbox.ch21, #pagecontents .pageContentsChapter .chapternavbox.ch22, #pagecontents .pageContentsChapter .chapternavbox.ch23, #pagecontents .pageContentsChapter .chapternavbox.ch24, #pagecontents .pageContentsChapter .chapternavbox.ch25, #pagecontents .pageContentsChapter .chapternavbox.ch26, #pagecontents .pageContentsChapter .chapternavbox.ch27, #pagecontents .pageContentsChapter .chapternavbox.ch28, #pagecontents .pageContentsChapter .chapternavbox.ch29, #pagecontents .pageContentsChapter .chapternavbox.ch30 {
  display: none;
}
#pagecontents .pageContentsChapter #chaptertitle {
  grid-area: chaptertitle;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333;
  padding: 50px 110px 0 120px;
}
#pagecontents .pageContentsChapter #chaptertitle .chaptitle {
  display: flex;
  align-items: center;
  color: #da291c;
}
#pagecontents .pageContentsChapter #chaptertitle .chapbookTitleChapZh {
  padding-top: 10px;
  padding-right: 10px;
  font-size: 2.4em;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0em;
}
#pagecontents .pageContentsChapter #chaptertitle .chapbookTitleChapEn {
  padding-top: 10px;
  font-size: 1.6em;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0em;
}
#pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
  grid-area: pagebody;
  position: relative;
  grid-column-end: 4;
  padding: 80px 120px 30px 50px;
  height: calc(100% - 110px);
  overflow: auto;
}
@media only screen and (min-width: 1920px) {
  #pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
    padding: 80px 120px 40px 50px;
    height: calc(100% - 110px);
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
    padding: 70px 120px 40px 50px;
    height: calc(100% - 100px);
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
    padding: 50px 120px 40px 50px;
    height: calc(100% - 80px);
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
    padding: 30px 80px 40px 10px;
    height: calc(100% - 60px);
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
    padding: 25px 30px 50px 25px;
    height: calc(100% - 75px);
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
    padding: 25px 30px 50px 25px;
    height: calc(100% - 75px);
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter #pagebody, #pagecontents .pageContentsChapter .pagebody2 {
    padding: 25px 30px 50px 25px;
    height: calc(100% - 75px);
  }
}
#pagecontents .pageContentsChapter .pageleftnav {
  grid-area: pageleftnav;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
#pagecontents .pageContentsChapter .pagerightnav {
  grid-area: pagerightnav;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
#pagecontents .pageContentsChapter .audionav {
  grid-area: audionav;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
#pagecontents .pageContentsChapter .pageleftnav.hidden, #pagecontents .pageContentsChapter .pagerightnav.hidden, #pagecontents .pageContentsChapter .audionav.hidden {
  display: none;
}
@media (min-width: 480px) and (max-width: 768px) {
  #pagecontents .pageContentsChapter .pageleftnav, #pagecontents .pageContentsChapter .pagerightnav, #pagecontents .pageContentsChapter .audionav {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #pagecontents .pageContentsChapter .pageleftnav, #pagecontents .pageContentsChapter .pagerightnav, #pagecontents .pageContentsChapter .audionav {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  #pagecontents .pageContentsChapter .pageleftnav, #pagecontents .pageContentsChapter .pagerightnav, #pagecontents .pageContentsChapter .audionav {
    display: none;
  }
}

/*
#pagecontents.firstpage .pageContentsChapter {
	grid-template-rows: 34px minmax(0, 110px) auto 90px 30px;
	@include responsive(xwide-screens) {
		grid-template-rows: 34px minmax(0, 110px) auto 90px 30px;
		}
	@include responsive(wide-screens) { 
		grid-template-rows: 34px minmax(0, 110px) auto 90px 30px;
		}
	@include responsive(large-screens) { 
		grid-template-rows: 34px minmax(0, 110px) auto 90px 30px; 
		}
	@include responsive(medium-screens) { 
		grid-template-rows: 34px minmax(0, 110px) auto 80px 30px; 
		}
	@include responsive(small-screens) { 
		grid-template-rows: 34px minmax(0, 110px) auto 80px 30px; 
		}
	@include responsive(xsmall-screens) { 
		grid-template-rows: 34px minmax(0, 110px) auto 80px 30px; 
		}
	@include responsive(mobile-screens) { 
		grid-template-rows: 34px minmax(0, 110px) auto 80px 30px; 
		}
	#settings .chaptitle {
		display: none;
		}
	#chapterstart {
		display: block;
		}
	#pagebody, .pagebody2 { padding: 20px 50px 30px 50px; }
}
*/
/* REX */
/*
.pagebody2 {
	position: absolute;
	top: 30px;
	left: 0;
}
*/
/* REX */
/* REX */
/* NEED TO REVIEW THESE STYLES: */
/*p.tableOfContents {
  font-size:22px;
  background-color: $color_black;
  color: $color_white;
  margin: 0;
  padding: 0 10px 0 10px;
}
.contentsChapter {
  padding: 8px 10px 8px 10px;
  border-top: 1px solid $color_medgrey;
  border-bottom: 1px solid $color_medgrey;
  background-color: $color_contentsChapter;

  &.disabled {
    background-color: $color_contentsChapter_disabled;
    color: $color_medgrey;
  }
  &:hover {
    background-color: $color_white;
  }
  &.disabled:hover {
    background-color: color_contentsChapter_hover;
  }
}*/
/*.contentsTitleZh {
  font-size: 20px;
}
.contentsTitleZp, .contentsTitleEn {
}*/
/*-------------------------------------------------- */
/* PARAGRAPH STYLES */
/*-------------------------------------------------- */
/* font sizing based on settings */
/*
.fontsize-xs {
	.paraPara, .paraCast { font-size: 12px; }
	.paraParaEn { font-size: 12px; }
	}
.fontsize-s {
	.paraPara, .paraCast { font-size: 16px; }
	.paraParaEn { font-size: 16px; }
	}
.fontsize-m {
	.paraPara, .paraCast { font-size: 20px; }
	.paraParaEn { font-size: 20px; }
	}
.fontsize-l {
	.paraPara, .paraCast { font-size: 24px; }
	.paraParaEn { font-size: 24px; }
	}
.fontsize-xl {
	.paraPara, .paraCast { font-size: 28px; }
	.paraParaEn { font-size: 28px; }
	}*/
/* paragraphs */
/*.paraPara {
	margin-bottom: 8px;
	}*/
/*.paraParaZh {
	display: inline-block;*/
/*  margin-bottom: 4px; */
/*}*/
/*.paraParaZp {
	display: inline-block;*/
/*  margin-bottom: 4px; */
/*	}
.paraSeg.title {
	font-style: bold;
	font-size: 2em;
	}*/
/*.paraParaEn {
  font-size: 20px;
  margin-bottom: 4px;
  padding: 2px 6px;
  background-color: $color_para_en_bkg;
  border: 1px solid $color_medgrey;
}*/
/*.paraPara {
  margin-top: 20px;
  .inline {display: inline;}
}
.paraNew {
  height: 20px;
}*/
/*
.paraPara.playing {
  background-color: linen;
}
*/
/*.paraBreak {
  margin-bottom: 20px;
}
img.bodyImage {
  display: block;
  margin: 15px auto 15px auto;
  width: 80%;
  max-width: 600px;
}*/
/* Hilighting chapter audio */
/*.paraPhrase {
  display: inline;
}*/
/*
.paraParaZhp.playing .paraPhrase.playing .zhpZh {
  background-color: $color_ltblack;
}
.paraParaZhp.playing .paraPhrase.playing .zhpZp {
  background-color: $color_ltblack;
  color: $color_white;
}
.paraParaZp.playing .paraPhrase.playing {
  background-color: $color_ltblack;
  color: $color_white;
}
.paraParaZh.playing .paraPhrase.playing {
  background-color: $color_ltblack;
  color: $color_white;
}
.paraParaZhp.playing .paraPhrase.playing .zhpBlock .zhpZp {
  color: $color_zhpblock_audio_hilite_text;
}
.paraParaZhp.playing .paraPhrase.playing .zhpBlock .zhpZh {
  color: $color_white;
}
*/
/* THESE ARE REPLACEMENTS FOR ABOVE, FOR BS PAGES */
/*
.paraParaZhp .paraPhrase.playing .zhpZh {
  background-color: $color_ltblack;
}
.paraParaZhp .paraPhrase.playing .zhpZp {
  background-color: $color_ltblack;
  color: $color_white;
}
.paraParaZp .paraPhrase.playing {
  background-color: $color_ltblack;
  color: $color_white;
}
.paraParaZh .paraPhrase.playing {
  background-color: $color_ltblack;
  color: $color_white;
}
.paraParaZhp .paraPhrase.playing .zhpBlock .zhpZp {
  color: $color_zhpblock_audio_hilite_text;
}
.paraParaZhp .paraPhrase.playing .zhpBlock .zhpZh {
  color: $color_white;
}*/
/* Cast member paragraphs */
/*.paraCast {
  clear: both;
}
.paraCastImgDiv {
  float: left;
  margin-right: 10px;
}
.paraCastImgDiv img {
  width: 80px;
}
.paraCastTextDiv {
  padding-top: 10px;
}
.paraCastEn {
  margin-top: 15px;
}*/
/* Text paragraph */
/*
.paraText {
  clear: both;
}
.fontsize-xs .paraText { font-size: 12px; }
.fontsize-s .paraText { font-size: 16px; }
.fontsize-m .paraText { font-size: 20px; }
.fontsize-l .paraText { font-size: 24px; }
.fontsize-xl .paraText { font-size: 28px; }
.paraText.title {
  font-style: bold;
  font-size: 2em;
}
.paraText.subtitle {
  font-style: bold;
  font-size: 1.5em;
}

*/
/*-------------------------------------------------- */
/* LIBRARY PAGE STYLES */
/*-------------------------------------------------- */
.librarycontainer {
  grid-area: allbooks;
}

.library {
  display: grid;
  margin-right: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
@media only screen and (min-width: 1920px) {
  .library {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .library {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .library {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .library {
    display: block;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .library {
    display: block;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .library {
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  .library {
    display: block;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .library.store {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .library.store {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.storeboxes {
  grid-area: featuredbooks;
}

h2.allbookstitle {
  grid-area: allbookstitle;
  margin: 0 20px 20px 0;
  padding: 8px 15px 8px 30px;
  font-size: 1.2em;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #fff;
  text-align: left;
  background-color: #668fbc;
}
h2.allbookstitle.inlibrary {
  margin-bottom: 30px;
}
@media only screen and (min-width: 1920px) {
  h2.allbookstitle {
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  h2.allbookstitle {
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  h2.allbookstitle {
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  h2.allbookstitle {
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  h2.allbookstitle {
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  h2.allbookstitle {
    padding: 8px 30px 8px 30px;
  }
}
@media only screen and (max-width: 375px) {
  h2.allbookstitle {
    padding: 8px 30px 8px 30px;
  }
}

.libraryfilters {
  grid-area: bookfilters;
  display: block;
  position: relative;
  margin: 0 0 30px 0;
  height: 100%;
  width: 250px;
}
.libraryfilters h4, .libraryfilters h5 {
  clear: both;
  margin: 0;
  padding: 30px 0 2px 20px;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1em;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #668fbc;
  border-left: 6px solid #ebebeb;
}
.libraryfilters h4.top, .libraryfilters h5.top {
  padding-top: 0;
}
@media only screen and (min-width: 1920px) {
  .libraryfilters h4, .libraryfilters h5 {
    padding: 30px 0 2px 20px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libraryfilters h4, .libraryfilters h5 {
    padding: 30px 0 2px 20px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libraryfilters h4, .libraryfilters h5 {
    padding: 30px 0 2px 20px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libraryfilters h4, .libraryfilters h5 {
    padding: 30px 0 2px 20px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libraryfilters h4, .libraryfilters h5 {
    padding: 30px 0 2px 0;
    border-left: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libraryfilters h4, .libraryfilters h5 {
    padding: 30px 0 2px 0;
    border-left: none;
  }
}
@media only screen and (max-width: 375px) {
  .libraryfilters h4, .libraryfilters h5 {
    padding: 30px 0 2px 0;
    border-left: none;
  }
}
.libraryfilters h5 {
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 0.85em;
  padding-top: 24px;
  padding-bottom: 0;
}
.libraryfilters p {
  float: none;
  padding: 4px 0 0 42px;
  font-family: "AvenirNextWorldLight", helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2em;
  border-left: 6px solid #ebebeb;
}
.libraryfilters p input {
  position: absolute;
  margin: 6px 0 0 -22px;
}
@media only screen and (min-width: 1920px) {
  .libraryfilters p {
    float: none;
    padding: 4px 0 0 42px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libraryfilters p {
    float: none;
    padding: 4px 0 0 42px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libraryfilters p {
    float: none;
    padding: 4px 0 0 42px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libraryfilters p {
    float: none;
    padding: 4px 0 0 42px;
    border-left: 6px solid #ebebeb;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libraryfilters p {
    float: left;
    padding: 4px 12px 0 0;
    border-left: none;
  }
  .libraryfilters p input {
    position: relative;
    margin: 0;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libraryfilters p {
    float: left;
    padding: 4px 12px 0 0;
    border-left: none;
  }
  .libraryfilters p input {
    position: relative;
    margin: 0;
  }
}
@media only screen and (max-width: 375px) {
  .libraryfilters p {
    float: left;
    padding: 4px 12px 0 0;
    border-left: none;
  }
  .libraryfilters p input {
    position: relative;
    margin: 0;
  }
}
@media only screen and (min-width: 1920px) {
  .libraryfilters {
    width: 250px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libraryfilters {
    width: 250px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libraryfilters {
    width: 230px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libraryfilters {
    width: 180px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libraryfilters {
    width: auto;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libraryfilters {
    width: auto;
  }
}
@media only screen and (max-width: 375px) {
  .libraryfilters {
    width: auto;
  }
}

.bookbox {
  float: left;
  position: relative;
  margin: 0 20px 30px 0;
  padding: 0 15px 30px 30px;
  width: calc(50% - 65px);
  display: grid;
  grid-template-columns: 140px auto;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-areas: "storebooktitle storebooktitle" "storebookcover storebookdetails";
  background: #cedae6;
  background-color: rgba(206, 218, 230, 0.5);
}
@media only screen and (min-width: 1920px) {
  .bookbox {
    float: left;
    padding: 0 15px 30px 30px;
    width: calc(50% - 65px);
    display: grid;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .bookbox {
    float: left;
    padding: 0 15px 30px 30px;
    width: calc(50% - 65px);
    display: grid;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .bookbox {
    float: left;
    padding: 0 15px 30px 30px;
    width: calc(100% - 65px);
    display: grid;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .bookbox {
    float: left;
    padding: 0 15px 30px 30px;
    width: calc(100% - 65px);
    display: grid;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .bookbox {
    float: none;
    padding: 0 15px 30px 30px;
    width: calc(100% - 65px);
    display: grid;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .bookbox {
    float: none;
    padding: 0 30px 30px 30px;
    width: auto;
    display: block;
  }
}
@media only screen and (max-width: 375px) {
  .bookbox {
    float: none;
    padding: 0 30px 30px 30px;
    width: auto;
    display: block;
  }
}
.bookbox h2 {
  grid-area: storebooktitle;
  display: block;
  margin: 0 -15px 0 -30px;
  padding: 8px 15px 8px 30px;
  font-size: 1.2em;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #fff;
  text-align: left;
  background-color: #668fbc;
}
@media only screen and (min-width: 1920px) {
  .bookbox h2 {
    margin: 0 -15px 0 -30px;
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .bookbox h2 {
    margin: 0 -15px 0 -30px;
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .bookbox h2 {
    margin: 0 -15px 0 -30px;
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .bookbox h2 {
    margin: 0 -15px 0 -30px;
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .bookbox h2 {
    margin: 0 -15px 0 -30px;
    padding: 8px 15px 8px 30px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .bookbox h2 {
    margin: 0 -30px 0 -30px;
    padding: 8px 30px 8px 30px;
  }
}
@media only screen and (max-width: 375px) {
  .bookbox h2 {
    margin: 0 -30px 0 -30px;
    padding: 8px 30px 8px 30px;
  }
}
.bookbox h2 .small {
  display: inline;
}
@media only screen and (min-width: 1920px) {
  .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .bookbox h2 .small {
    display: inline;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .bookbox h2 .small {
    display: none;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .bookbox h2 .small {
    display: none;
  }
}
@media only screen and (max-width: 375px) {
  .bookbox h2 .small {
    display: none;
  }
}
.bookbox .storebookcover {
  grid-area: storebookcover;
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 220px;
  margin-top: 0;
}
@media only screen and (min-width: 1920px) {
  .bookbox .storebookcover {
    margin-top: 0;
    max-width: 220px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .bookbox .storebookcover {
    margin-top: 0;
    max-width: 220px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .bookbox .storebookcover {
    margin-top: 0;
    max-width: 220px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .bookbox .storebookcover {
    margin-top: 0;
    max-width: 220px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .bookbox .storebookcover {
    margin-top: 0px;
    max-width: 160px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .bookbox .storebookcover {
    margin-top: 10px;
    max-width: 140px;
  }
}
@media only screen and (max-width: 375px) {
  .bookbox .storebookcover {
    margin-top: 10px;
    max-width: 120px;
  }
}
.bookbox .storebookdetails {
  grid-area: storebookdetails;
  position: relative;
  /*display: flex;
  justify-content: center;
  flex-direction: column;*/
  padding: 0 10px 0 0;
}
.bookbox .storebookdetails .btn.buy {
  /*padding: 6px 14px;*/
  font-size: 1em;
}
.bookbox .storebookdetails p.level {
  margin: 0 0 10px 0;
  padding: 10px 0 5px 0;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 0.9em;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #668fbc;
  border-bottom: solid 1px #a3bcd4;
  /*@include responsive(xwide-screens) { padding: 30px 0 10px 0; font-size: 0.9em; }
  @include responsive(wide-screens) { padding: 30px 0 10px 0; font-size: 0.9em; }
  @include responsive(large-screens) { padding: 30px 0 10px 0; font-size: 0.9em; }
  @include responsive(medium-screens) { padding: 30px 0 10px 0; font-size: 0.9em; }
  @include responsive(small-screens) { padding: 20px 0 10px 0; font-size: 0.9em; }
  @include responsive(xsmall-screens) { padding: 20px 0 10px 0; font-size: 0.9em; }
  @include responsive(mobile-screens) { padding: 5px 0 5px 0; font-size: 0.8em; }*/
}
.bookbox .storebookdetails h3.libBookTitleEn {
  margin: 0;
  padding: 0;
  color: #333;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5em;
  line-height: 1.2em;
  margin-bottom: 10px;
}
@media only screen and (min-width: 1920px) {
  .bookbox .storebookdetails h3.libBookTitleEn {
    font-size: 1.5em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .bookbox .storebookdetails h3.libBookTitleEn {
    font-size: 1.5em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .bookbox .storebookdetails h3.libBookTitleEn {
    font-size: 1.4em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .bookbox .storebookdetails h3.libBookTitleEn {
    font-size: 1.3em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .bookbox .storebookdetails h3.libBookTitleEn {
    font-size: 1.3em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .bookbox .storebookdetails h3.libBookTitleEn {
    font-size: 1.3em;
  }
}
@media only screen and (max-width: 375px) {
  .bookbox .storebookdetails h3.libBookTitleEn {
    font-size: 1.3em;
  }
}
.bookbox .storebookdetails h3.libBookTitleZh {
  margin: 0;
  padding: 0;
  color: #333;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.7em;
  line-height: 1.2em;
  /*@include responsive(xwide-screens) { padding: 0 0 12px 0; font-size: 1.2em; }
  @include responsive(wide-screens) { padding: 0 0 12px 0; font-size: 1.2em; }
  @include responsive(large-screens) { padding: 0 0 12px 0; font-size: 1.2em; }
  @include responsive(medium-screens) { padding: 0 0 12px 0; font-size: 1.2em; }
  @include responsive(small-screens) { padding: 0 0 12px 0; font-size: 1.2em; }
  @include responsive(xsmall-screens) { padding: 0 0 6px 0; font-size: 1.1em; }
  @include responsive(mobile-screens) { padding: 0 0 6px 0; font-size: 1.1em; }	*/
}
.bookbox .storebookdetails h3.libBookTitleZp {
  margin: 0;
  padding: 0 0 8px 0;
  font-size: 1.1em;
  color: #333;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
@media only screen and (min-width: 1920px) {
  .bookbox .storebookdetails h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .bookbox .storebookdetails h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .bookbox .storebookdetails h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .bookbox .storebookdetails h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .bookbox .storebookdetails h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .bookbox .storebookdetails h3.libBookTitleZp {
    font-size: 1em;
  }
}
@media only screen and (max-width: 375px) {
  .bookbox .storebookdetails h3.libBookTitleZp {
    font-size: 1em;
  }
}

.libBookShelf {
  display: grid;
  grid-template-columns: 120px auto;
  grid-column-gap: 30px;
  margin: 0 0 20px 0;
  padding: 0 0 20px 0;
  /*border-bottom: solid 1px $color_ltblue;*/
}
@media only screen and (min-width: 1920px) {
  .libBookShelf {
    grid-column-gap: 25px;
    grid-template-columns: 115px auto;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libBookShelf {
    grid-column-gap: 25px;
    grid-template-columns: 100px auto;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libBookShelf {
    grid-column-gap: 25px;
    grid-template-columns: 100px auto;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libBookShelf {
    grid-column-gap: 25px;
    grid-template-columns: 100px auto;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libBookShelf {
    grid-column-gap: 25px;
    grid-template-columns: 100px auto;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libBookShelf {
    grid-column-gap: 20px;
    grid-template-columns: 100px auto;
  }
}
@media only screen and (max-width: 375px) {
  .libBookShelf {
    grid-column-gap: 20px;
    grid-template-columns: 100px auto;
  }
}
.libBookShelf .libBookCoverLink {
  width: 100px;
  grid-column-start: 1;
  grid-column-end: 2;
}
.libBookShelf .libBookCoverLink .libBookCover {
  width: 100%;
  height: auto;
  -webkit-box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2);
}
.libBookShelf .libBookMeta {
  grid-column-start: 2;
  grid-column-end: 3;
  font-size: 18px;
}
.libBookShelf .libBookMeta p.level {
  margin: 0 0 10px 0;
  padding: 10px 0 5px 0;
  font-family: "AvenirNextWorldBold", helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 0.7em;
  line-height: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #668fbc;
  border-bottom: solid 1px #cedae6;
}
@media only screen and (min-width: 1920px) {
  .libBookShelf .libBookMeta p.level {
    padding: 10px 0 5px 0;
    font-size: 0.7em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libBookShelf .libBookMeta p.level {
    padding: 10px 0 5px 0;
    font-size: 0.7em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libBookShelf .libBookMeta p.level {
    padding: 10px 0 5px 0;
    font-size: 0.7em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libBookShelf .libBookMeta p.level {
    padding: 10px 0 5px 0;
    font-size: 0.7em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libBookShelf .libBookMeta p.level {
    padding: 10px 0 5px 0;
    font-size: 0.7em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libBookShelf .libBookMeta p.level {
    padding: 10px 0 5px 0;
    font-size: 0.7em;
  }
}
@media only screen and (max-width: 375px) {
  .libBookShelf .libBookMeta p.level {
    padding: 5px 0 5px 0;
    font-size: 0.7em;
  }
}
.libBookShelf .libBookMeta p.download {
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 8px 0 0 0;
  padding: 10px 0 0 0;
  font-size: 0.8em;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
.libBookShelf .libBookMeta p.download input {
  margin-top: 2px;
}
.libBookShelf .libBookMeta p.download span {
  display: inline-block;
}
.libBookShelf .libBookMeta h2.libBookTitleEn {
  margin: 0;
  padding: 0;
  color: #333;
  font-family: "AvenirNextWorldDemi", helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.1em;
  line-height: 1.2em;
  margin-bottom: 4px;
}
@media only screen and (min-width: 1920px) {
  .libBookShelf .libBookMeta h2.libBookTitleEn {
    font-size: 1.1em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libBookShelf .libBookMeta h2.libBookTitleEn {
    font-size: 1.1em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libBookShelf .libBookMeta h2.libBookTitleEn {
    font-size: 1.1em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libBookShelf .libBookMeta h2.libBookTitleEn {
    font-size: 1.1em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libBookShelf .libBookMeta h2.libBookTitleEn {
    font-size: 1.1em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libBookShelf .libBookMeta h2.libBookTitleEn {
    font-size: 1.1em;
  }
}
@media only screen and (max-width: 375px) {
  .libBookShelf .libBookMeta h2.libBookTitleEn {
    font-size: 1.1em;
  }
}
.libBookShelf .libBookMeta h2.libBookTitleZh {
  margin: 0;
  padding: 0 0 12px 0;
  color: #333;
  font-family: "Noto Serif SC", STXihei, SimSun, "Microsoft YaHei New", "Microsoft Yahei", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4em;
  line-height: 1.2em;
}
@media only screen and (min-width: 1920px) {
  .libBookShelf .libBookMeta h2.libBookTitleZh {
    padding: 0 0 12px 0;
    font-size: 1.2em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libBookShelf .libBookMeta h2.libBookTitleZh {
    padding: 0 0 12px 0;
    font-size: 1.2em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libBookShelf .libBookMeta h2.libBookTitleZh {
    padding: 0 0 12px 0;
    font-size: 1.2em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libBookShelf .libBookMeta h2.libBookTitleZh {
    padding: 0 0 12px 0;
    font-size: 1.2em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libBookShelf .libBookMeta h2.libBookTitleZh {
    padding: 0 0 12px 0;
    font-size: 1.2em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libBookShelf .libBookMeta h2.libBookTitleZh {
    padding: 0 0 6px 0;
    font-size: 1.1em;
  }
}
@media only screen and (max-width: 375px) {
  .libBookShelf .libBookMeta h2.libBookTitleZh {
    padding: 0 0 6px 0;
    font-size: 1.1em;
  }
}
.libBookShelf .libBookMeta h3.libBookTitleZp {
  margin: 0;
  padding: 0 0 12px 0;
  font-size: 1.1em;
  color: #333;
  font-family: "AvenirNextWorldRegular", helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
}
@media only screen and (min-width: 1920px) {
  .libBookShelf .libBookMeta h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .libBookShelf .libBookMeta h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .libBookShelf .libBookMeta h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .libBookShelf .libBookMeta h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .libBookShelf .libBookMeta h3.libBookTitleZp {
    font-size: 1.1em;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .libBookShelf .libBookMeta h3.libBookTitleZp {
    font-size: 1em;
  }
}
@media only screen and (max-width: 375px) {
  .libBookShelf .libBookMeta h3.libBookTitleZp {
    font-size: 1em;
  }
}
.libBookShelf .libBookMeta .btn {
  margin-top: 0;
  font-size: 0.7em;
  /*padding: 4px 12px;*/
}
.libBookShelf .libBookMeta .btn.return {
  padding-left: 0;
  color: #707070;
  background-color: transparent;
}

/*-------------------------------------------------- */
/* CHAPTER PAGE */
/*-------------------------------------------------- */
/* chapter page images */
.chapterPictThumbContainer {
  position: relative;
}

img.chapterPictThumb {
  float: left;
  margin: 0 20px 12px 0;
  width: 30%;
  max-width: 300px;
  min-width: 280px;
  /*border: 6px solid $color_ltgrey;*/
  border: 8px solid #fff;
  -webkit-box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.15);
  box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
@media only screen and (min-width: 1920px) {
  img.chapterPictThumb {
    float: left;
    margin: 0 20px 12px 0;
    border: 8px solid #fff;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  img.chapterPictThumb {
    float: left;
    margin: 0 20px 12px 0;
    border: 8px solid #fff;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  img.chapterPictThumb {
    float: left;
    margin: 0 20px 12px 0;
    border: 8px solid #fff;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  img.chapterPictThumb {
    float: left;
    margin: 0 20px 12px 0;
    border: 6px solid #fff;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  img.chapterPictThumb {
    float: none;
    margin: 0 0 20px 0;
    border: 6px solid #fff;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  img.chapterPictThumb {
    float: none;
    margin: 0 0 20px 0;
    border: 5px solid #fff;
  }
}
@media only screen and (max-width: 375px) {
  img.chapterPictThumb {
    float: none;
    margin: 0 0 20px 0;
    border: 5px solid #fff;
  }
}

.chapterPictBox {
  display: none;
  /* Fixed to the viewport, not to .zharea: the text column is inset on the left
     by the page-nav arrow, which pushed the full-size picture off centre. */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 7560;
}

img.chapterPictFull, .chapterPictFullContainer {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  width: calc(90% - 30px);
  max-width: 1200px;
  z-index: 7560;
  cursor: pointer;
  border: 15px solid #fff;
  -webkit-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
}
@media only screen and (min-width: 1920px) {
  img.chapterPictFull, .chapterPictFullContainer {
    width: calc(90% - 30px);
    border-width: 15px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  img.chapterPictFull, .chapterPictFullContainer {
    width: calc(90% - 28px);
    border-width: 14px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  img.chapterPictFull, .chapterPictFullContainer {
    width: calc(90% - 26px);
    border-width: 13px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  img.chapterPictFull, .chapterPictFullContainer {
    width: calc(90% - 24px);
    border-width: 12px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  img.chapterPictFull, .chapterPictFullContainer {
    width: calc(90% - 20px);
    border-width: 10px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  img.chapterPictFull, .chapterPictFullContainer {
    width: calc(90% - 16px);
    border-width: 8px;
  }
}
@media only screen and (max-width: 375px) {
  img.chapterPictFull, .chapterPictFullContainer {
    width: calc(90% - 16px);
    border-width: 8px;
  }
}

.chapterPictFull2 {
  width: 100%;
  height: 100%;
}

/* page navigation control styles */
.pageleftnav img, .pagerightnav img {
  width: 50px;
}
@media only screen and (min-width: 1920px) {
  .pageleftnav img, .pagerightnav img {
    width: 50px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .pageleftnav img, .pagerightnav img {
    width: 50px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .pageleftnav img, .pagerightnav img {
    width: 50px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .pageleftnav img, .pagerightnav img {
    width: 38px;
  }
}
.pageleftnav .pageAdv .on, .pagerightnav .pageAdv .on {
  display: none;
}
.pageleftnav .pageAdv .off, .pagerightnav .pageAdv .off {
  display: block;
}
.pageleftnav .pageAdv:hover .on, .pagerightnav .pageAdv:hover .on {
  display: block;
}
.pageleftnav .pageAdv:hover .off, .pagerightnav .pageAdv:hover .off {
  display: none;
}

.pageleftnav img {
  padding-left: 20px;
}

.pagerightnav img {
  padding-right: 20px;
  margin: auto;
}
@media only screen and (min-width: 1920px) {
  .pagerightnav img {
    padding-right: 20px;
    margin: auto;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .pagerightnav img {
    padding-right: 20px;
    margin: auto;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .pagerightnav img {
    padding-right: 20px;
    margin: auto;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .pagerightnav img {
    padding-right: 0;
    margin: 0 auto;
  }
}

.pageAdv, .audioCtrl {
  position: relative;
  display: block;
  cursor: pointer;
}

.audionav .audioCtrl {
  width: 70px;
  height: 70px;
  margin: 10px auto;
}
@media only screen and (min-width: 1920px) {
  .audionav .audioCtrl {
    width: 70px;
    height: 70px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .audionav .audioCtrl {
    width: 70px;
    height: 70px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  .audionav .audioCtrl {
    width: 60px;
    height: 60px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  .audionav .audioCtrl {
    width: 48px;
    height: 48px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .audionav .audioCtrl {
    width: 50px;
    height: 50px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  .audionav .audioCtrl {
    width: 50px;
    height: 50px;
  }
}
@media only screen and (max-width: 375px) {
  .audionav .audioCtrl {
    width: 50px;
    height: 50px;
  }
}
.audionav .audioCtrl .on {
  display: none;
}
.audionav .audioCtrl .off {
  display: block;
}
.audionav .audioCtrl.selected .on, .audionav .audioCtrl:hover .on {
  display: block;
}
.audionav .audioCtrl.selected .off, .audionav .audioCtrl:hover .off {
  display: none;
}

/* HIDE AUDIO ON EXERCISE SCREENS, PLUS INCREASE EXERCISE SCREEN REAL ESTATE */
#root.page_exercises #pagecontents .audionav.audionavctrl {
  display: none;
}
#root.page_exercises #pagecontents .pageContentsChapter {
  grid-template-rows: 34px auto 0 0 30px;
}
@media only screen and (min-width: 1920px) {
  #root.page_exercises #pagecontents .pageContentsChapter {
    grid-template-rows: 34px auto 0 0 30px;
  }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  #root.page_exercises #pagecontents .pageContentsChapter {
    grid-template-rows: 34px auto 0 0 30px;
  }
}
@media (min-width: 1092px) and (max-width: 1366px) {
  #root.page_exercises #pagecontents .pageContentsChapter {
    grid-template-rows: 34px auto 0 0 30px;
  }
}
@media (min-width: 768px) and (max-width: 1092px) {
  #root.page_exercises #pagecontents .pageContentsChapter {
    grid-template-rows: 34px auto 0 0 30px;
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  #root.page_exercises #pagecontents .pageContentsChapter {
    grid-template-rows: 20px auto 0px 50px;
  }
}
@media (min-width: 375px) and (max-width: 480px) {
  #root.page_exercises #pagecontents .pageContentsChapter {
    grid-template-rows: 20px auto 0px 50px;
  }
}
@media only screen and (max-width: 375px) {
  #root.page_exercises #pagecontents .pageContentsChapter {
    grid-template-rows: 20px auto 0px 50px;
  }
}

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