@import url(https://fonts.googleapis.com/css?family=EB+Garamond|Lato:400,400i,700,700i|Roboto:400,400i,500,500i,700,700i&subset=cyrillic,cyrillic-ext,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Roboto);
@font-face {
  font-family: 'icomoon';
  src: url(/1/icomoon.7d98de009a6f621fde2d35337ada3560.eot);
  src: url(/1/icomoon.7d98de009a6f621fde2d35337ada3560.eot#iefix) format('embedded-opentype'),
    url(/1/icomoon.a83640ec8f139411327bcea2fd384e31.svg#icomoon) format('svg'),
    url(/1/icomoon.56ba08267fc61e520510d84534d4733d.ttf) format('truetype'),
    url(/1/icomoon.f44a93e8173f8c501df01bebc475efd8.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'robotoBold';
  src: url(/1/Roboto-Bold-webfont.ec969e4dceca893a21eb7cce4bb96b72.eot);
  src: url(/1/Roboto-Bold-webfont.ec969e4dceca893a21eb7cce4bb96b72.eot?#iefix) format('embedded-opentype'),
    url(/1/Roboto-Bold-webfont.e806af2d163b11d8844cd5aedd7b5df9.woff) format('woff');
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'robotoMedium';
  src: url(/1/Roboto-Medium-webfont.6ff2746ef9a387ac1369b6c1151be115.eot);
  src: url(/1/Roboto-Medium-webfont.6ff2746ef9a387ac1369b6c1151be115.eot?#iefix) format('embedded-opentype'),
    url(/1/Roboto-Medium-webfont.bd453e22e36a3ab37f154dacf47ee355.woff) format('woff');
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'robotoRegular';
  src: url(/1/Roboto-Regular-webfont.cfc3cf7f74f9eda4718506f613543139.eot);
  src: url(/1/Roboto-Regular-webfont.cfc3cf7f74f9eda4718506f613543139.eot?#iefix) format('embedded-opentype'),
    url(/1/Roboto-Regular-webfont.ccc2dd0b454fbaab2a3c3f057b1573a7.woff) format('woff');
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(/1/MaterialIcons-Regular.4674f8ded773cb03e824323bfc950537.eot); /* For IE6-8 */
  src: local('Material Icons'), local('MaterialIcons-Regular'),
    url(/1/MaterialIcons-Regular.cff684e59ffb052d72cb8d5e49471553.woff2) format('woff2'),
    url(/1/MaterialIcons-Regular.83bebaf37c09c7e1c3ee52682892ae14.woff) format('woff'),
    url(/1/MaterialIcons-Regular.5e7382c63da0098d634a356ff441614e.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

[class^='icon-'],
[class*=' icon-'] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-bookmark:before {
  content: '\e900';
}
.icon-chapter:before {
  content: '\e901';
}
.icon-close:before {
  content: '\e902';
  color: #a0a0af;
}
.icon-dustbin:before {
  content: '\e903';
}
.icon-ereader-icon:before {
  content: '\e904';
  color: #41c0be;
}
.icon-eye:before {
  content: '\e905';
}
.icon-pencil:before {
  content: '\e906';
}
.icon-speechbubble:before {
  content: '\e907';
}
.icon-text-icon:before {
  content: '\e908';
}

$robotoBold: 'robotoBold';
$robotoMedium: 'robotoMedium';
$robotoRegular: 'robotoRegular';

/* New font declarations */

/* font sizes (large) */

/* font sizes (medium) */

$heading: 2.8rem;
$sub-heading: 1.8rem;
$lower-sub: 1.5rem;
$nav: 1.3rem;
$body: 1.2rem;
$body-fallback: 1rem;
$detail: 1rem;

/* line heights (medium) */

$headingLh: 48px;
$bodyLh: 27.5px;

/* font sizes (small) */

$headingMd: 2.2rem;
$sub-headingMd: 1.5rem;

/* = fontSize * 1.428 (golden ratio) */

$offWhite: #fdfdfd;
$turquoise: #60dad8;
$lightTurquoise: #76e8e8;
$lighterTurquoise: #d5f8f8;
$powderBlue: #d5f8f8;
$arsenic: #404048;
$melon: #ffb7af;
$pastelYellow: #fff293;
$lightCobaltBlue: #87b0ea;
$cadetGrey: #a0a0af;
$lightGrey: #cacad3;
$veryLightGrey: #cbcbd3;
$whiteSmoke: #f5f5fa;
$error: #ff687b;
$success: #00b383;
$darkTurquoise: #28dcdc;

/* settings */
$interestsHighlight: #88b1ea;

/* library color palette */
$perano: #a4c3ef;
$sanMarino: #496ea0;
$easternBlue: #199e9e;
$dandelion: #fcd55f;
$burntSienna: #f07b61;

/* ereader colours */

$darkBlue: #404049;
$sepia: #fcfaf3;
$highlightRed: #ffb7af;
$highlightYellow: #fff293;
$highlightBlue: #a4c3ef;

/* gradients */

$redFallback: #ffcdab;
$redGradient: linear-gradient(to right, #ffb7af, #ffcdab);
$turqFallback: #87b2ea;
$turqGradient: linear-gradient(to right, #62c2e4, #87b2ea);

/* icon hovers */

$facebook: #0077b5;
$twitter: #1da1f2;
$instagram: #e1306c;
$linkedin: #3b5998;

/* November 2018 rebranded colours. */
$currentBrandBlue: #8eb8ff;
$currentBrandBlueLight: #c1d8ff;
$currentBrandBlueDark: #4d8fff;
$currentBrandGreyLight: #f5f5f5;
$currentBrandGreyDark: #808383;
$currentBrandGreyDarker: #979797;
$currentBrandGrey: #c9cdcd;
$currentBrandBlack: #373838;
$currentBrandYellowLight: #fff7b3;
$currentBrandYellowDark: #f2da00;
$currentBrandYellow: #fff174;
$currentBrandRedLight: #ffc9c5;
$currentBrandRed: #ff8a80;
$currentBrandRedDark: #dc564a;
$currentBrandTeal: #a8ffea;
$currentBrandTealLight: #d1fff4;
$currentBrandTealDark: #57eeca;
$currentBrandSepia: #eeece3;
$currentBrandSepiaDark: #dedcd1;

/* November 2018 rebranded highlight colours. */

/* (#blue-dark, 35% opacity) */
$pdfHighlightColour1: rgba(77, 143, 255, 0.35);
/* (#red-dark, 35% opacity) */
$pdfHighlightColour2: rgba(220, 86, 74, 0.35);
/* (#yellow-dark, 35% opacity) */
$pdfHighlightColour3: rgba(242, 218, 0, 0.35);

/* (#teal-dark, 35% opacity) */
$pdfAnnotatedHighlightColour: rgba(87, 238, 202, 0.35);

/* (#blue-light) */
$epubHighlightColour1: rgb(193, 216, 255);
/* (#red-light) */
$epubHighlightColour2: rgb(255, 201, 197);
/* (#yellow-light) */
$epubHighlightColour3: rgb(255, 247, 179);

/* (#teal-light) */
$epubAnnotatedHighlightColour: rgb(209, 255, 244);

/* Special code elements style. */
$orange: #ff3002;
$orangeLight: #ff6340;

html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  font-size: 16px !important;
  top: 0px;
  color: $currentBrandBlack;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

/* footer font-awesome icon */

.fa {
  padding-top: 5px;
}

a {
  text-decoration: none;
}

[type='checkbox'] {
  outline: none !important;
}

input[type=radio] {
  /* This is to override bootstrap css making our PUI radio buttons look like googley eyes */
  padding: 2px;
}

epub\:case {
  display: none;
}

@charset "UTF-8";
@font-face {
  font-family: 'ereader';
  src: url(/1/ereader.9b1f0afaf4b91b112f99767e7888bc79.eot);
  src: url(/1/ereader.9b1f0afaf4b91b112f99767e7888bc79.eot?#iefix) format('embedded-opentype'),
    url(/1/ereader.47f13697ec4770ef5d5f5d888603fe0b.woff) format('woff'),
    url(/1/ereader.ea5c6040a1b586efe3b482c87eaf4e20.ttf) format('truetype'),
    url(/1/ereader.b470a79aff89dbd1c616b05603794611.svg#ereader) format('svg');
  font-weight: normal;
  font-style: normal;
}

[data-icon]:before {
  font-family: 'ereader' !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^='icon-']:before,
[class*=' icon-']:before {
  font-family: 'ereader' !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-commenting:before {
  content: '\62';
}

.icon-bookmark:before {
  content: '\61';
}

.icon-chapter:before {
  content: '\67';
}

.icon-close:before {
  content: '\68';
}

.icon-text-icon:before {
  content: '\6d';
}

.icon-bookmark-solid:before {
  content: '\61';
}

.icon-bookmark-solid-2:before {
  content: '\65';
}

.icon-bookmark-solid-3:before {
  content: '\66';
}

.icon-bookmark2:before {
  content: '\63';
}

.icon-speechbubble:before {
  content: '\64';
}

.icon-pencil:before {
  content: '\69';
}

.icon-dustbin:before {
  content: '\6a';
}

$offWhite: #fdfdfd;
$turquoise: #60dad8;
$lightTurquoise: #76e8e8;
$lighterTurquoise: #D5F8F8;
$arsenic: #404048;
$powderBlue: #D5F8F8;
$melon: #ffb7af;
$pastelYellow: #fff293;
$lightCobaltBlue: #87b0ea;
$cadetGrey: #a0a0af;
$lightGrey: #cacad3;
$whiteSmoke: #f5f5fa;
$success: #00b383;
$error: #ff687b;
$iconGrey: #cbcbd3;
$veryLightGrey: #CBCBD3;
$hoverTurquoise: #abf1f1;
$buttonGreen: #28dcdc;

/* settings */
$interestsHighlight: #88b1ea;

/* library color palette */
$perano: #a4c3ef;
$sanMarino: #496ea0;
$easternBlue: #199e9e;
$dandelion: #fcd55f;
$burntSienna: #f07b61;

/* gradients */
$redFallback: #ffcdab;
$redGradient: linear-gradient(to right, #ffb7af, #ffcdab);
$turqFallback: #87b2ea;
$turqGradient: linear-gradient(to right, #62c2e4, #87b2ea);

/* icon hovers */
$facebook: #0077b5;
$twitter: #1da1f2;
$instagram: #e1306c;
$linkedin: #3b5998;

/* ereader colours */

$darkBlue: #404049;
$sepia: #FCFAF3;
$highlightRed: #FFB7AF;
$highlightYellow: #FFF293;
$highlightBlue: #A4C3EF;

@font-face {
  font-family: 'Roboto Bold';
  src: url(/1/Roboto-Bold-webfont.ec969e4dceca893a21eb7cce4bb96b72.eot);
  src: url(/1/Roboto-Bold-webfont.ec969e4dceca893a21eb7cce4bb96b72.eot?#iefix) format('embedded-opentype'),
    url(/1/Roboto-Bold-webfont.e806af2d163b11d8844cd5aedd7b5df9.woff) format('woff');
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Roboto Medium';
  src: url(/1/Roboto-Medium-webfont.6ff2746ef9a387ac1369b6c1151be115.eot);
  src: url(/1/Roboto-Medium-webfont.6ff2746ef9a387ac1369b6c1151be115.eot?#iefix) format('embedded-opentype'),
    url(/1/Roboto-Medium-webfont.bd453e22e36a3ab37f154dacf47ee355.woff) format('woff');
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Roboto Regular';
  src: url(/1/Roboto-Regular-webfont.cfc3cf7f74f9eda4718506f613543139.eot);
  src: url(/1/Roboto-Regular-webfont.cfc3cf7f74f9eda4718506f613543139.eot?#iefix) format('embedded-opentype'),
    url(/1/Roboto-Regular-webfont.ccc2dd0b454fbaab2a3c3f057b1573a7.woff) format('woff');
  font-style: normal;
  font-stretch: normal;
}

$robotoBold: 'robotoBold';
$robotoMedium: 'robotoMedium';
$robotoRegular: 'robotoRegular';

/* font declarations */

$lower-sub: 1.5rem;
$nav: 1.3rem;
$body-fallback: 1rem;

$punchy: 4rem;
$marketingHeading: 3rem;
$heading: 2.25rem;
$sub-heading: 1.5rem;
$marketingBody: 1.25rem;
$body: 1rem;
$detail: 0.875rem;

/* line heights (medium) */
$headingLh: 48px;
$bodyLh: 22.5px;

/* font sizes (small) */
$headingMd: 2.2rem;
$sub-headingMd: 1.5rem;

@define-mixin extraSmall {
  @media (min-width: 400px) {
    @mixin-content;
  }
}

@define-mixin small {
  @media (min-width: 768px) {
    @mixin-content;
  }
}

@define-mixin smallMedium {
  @media (min-width: 900px) {
    @mixin-content;
  }
}

@define-mixin medium {
  @media (min-width: 992px) {
    @mixin-content;
  }
}

/* mobile view breakpoint */
@define-mixin mobile {
  @media (min-width: 900px) {
    @mixin-content;
  }
}

@define-mixin mediumLarge {
  @media (min-width: 1092px) {
    @mixin-content;
  }
}

@define-mixin large {
  @media (min-width: 1200px) {
    @mixin-content;
  }
}

@define-mixin clearFix {
  &::after {
    content: '';
    clear: both;
    display: table;
  }
}

/* Required to fix TITLES issues for very small mobile from 0px - 390px */
@define-mixin mobile-titles-xs {
  @media (min-width: 375px) {
    @mixin-content;
  }
}

@define-mixin mobile-titles-s {
  @media (min-width: 390px) {
    @mixin-content;
  }
}

/* legacy code dependency */
@define-mixin smallMedium {
  @media (min-width: 900px) {
    @mixin-content;
  }
}

@define-mixin mediumLarge {
  @media (min-width: 1092px) {
    @mixin-content;
  }
}

.text {
  &--punchy {
    font-weight: bold;
    font-size: $punchy;
    font-family: $robotoRegular;
  }
  &--marketing-heading {
    font-size: $marketingHeading;
    font-family: $robotoBold;
  }
  &--heading {
    font-size: $headingMd;
    font-family: $robotoBold;
    @mixin small {
      color: $arsenic;
    }
    @mixin large {
      font-size: $heading;
    }
  }
  &--sub-heading {
    font-family: $robotoBold;
    font-size: $sub-headingMd;
    color: $arsenic;
    @mixin large {
      font-size: $sub-heading;
    }
  }
  &--sub-heading-white {
    font-family: $robotoBold;
    font-size: $sub-headingMd;
    color: white;
    @mixin large {
      font-size: $sub-heading;
    }
  }
  &--sub-heading-light {
    font-size: $sub-headingMd;
    color: $arsenic;
    @mixin large {
      font-size: $sub-heading;
    }
  }
  &--sub-heading-grey {
    font-family: $robotoBold;
    font-size: $sub-headingMd;
    color: $cadetGrey;
    @mixin large {
      font-size: $sub-heading;
    }
  }
  &--body {
    font-size: $body;
    font-family: $robotoRegular;
    color: $currentBrandBlack;
    line-height: $bodyLh;
  }
  &--body-white {
    font-size: $body;
    font-family: $robotoRegular;
    color: white;
    line-height: $bodyLh;
    &:hover {
      color: white;
    }
  }
  &--body-turq {
    font-size: $body;
    font-family: $robotoRegular;
    color: $turquoise;
    line-height: $bodyLh;
  }
  &--body-grey {
    font-size: $body;
    font-family: $robotoRegular;
    color: $cadetGrey;
    line-height: $bodyLh;
  }
  &--body-red {
    font-size: $body;
    font-family: $robotoRegular;
    color: $error;
    line-height: $bodyLh;
  }
  &--detail {
    color: $arsenic;
    font-family: $robotoRegular;
    font-size: $detail;
  }
  &--detail-grey {
    color: $cadetGrey;
    font-family: $robotoRegular;
    font-size: $detail;
  }
  &--bold {
    font-weight: bold;
  }
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  font-size: 16px !important;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: $iconGrey;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: $iconGrey;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: $iconGrey;
}

a {
  text-decoration: none !important;
  &:hover {
    text-decoration: none !important;
  }
}
.utils {
  &--hidden-important {
    display: none !important;
  }
  &--hidden {
    display: none;
  }
  &--showing {
    display: block;
  }
  &--invisible {
    visibility: hidden;
  }
  &--visible {
    visibility: visible;
  }
  &--white-important {
    color: white !important;
  }
  &--bold {
    font-weight: bold;
  }
  &--turquoise {
    color: $turquoise !important;
  }
}

.bold {
  font-weight: bold;
}

.block {
  display: block;
}

/*$mainBlue: #2f5572;*/



/* Text styles ported over from the main web platform. (Only support for Roboto regular, medium and bold, no Canela) */
.text {

  &__t2 {
    font-family: $robotoRegular;
    font-size: 1.375rem;
    @mixin smallMedium {
      font-size: 1.625rem;
    }
    @mixin mediumLarge {
      font-size: 1.875rem;
    }
  }
  
  &__t3 {
    font-family: $robotoRegular;
    font-size: 1.5rem;
    @mixin smallMedium {
      font-size: 2rem;
    }
    @mixin mediumLarge {
      font-size: 2.5rem;
    }
  }
  
  &__t4 {
    font-family: $robotoRegular;
    font-size: 1.25rem;
    @mixin smallMedium {
      font-size: 1.5rem;
    }
    @mixin mediumLarge {
      font-size: 1.625rem;
    }
  }
  
  &__t4--medium {
    font-family: $robotoMedium;
    font-size: 1.25rem;
    @mixin smallMedium {
      font-size: 1.5rem;
    }
    @mixin mediumLarge {
      font-size: 1.625rem;
    }
  }
  
  &__t4--bold {
    font-family: $robotoBold;
    font-size: 1.25rem;
    @mixin smallMedium {
      font-size: 1.5rem;
    }
    @mixin mediumLarge {
      font-size: 1.625rem;
    }
  }
  
  &__t5 {
    font-family: $robotoRegular;
    font-size: 1.125rem;
    @mixin smallMedium {
      font-size: 1.375rem;
    }
    @mixin mediumLarge {
      font-size: 1.5rem;
    }
  }
  
  &__t6 {
    font-family: $robotoRegular;
    font-size: 1.125rem;
    @mixin smallMedium {
      font-size: 1.25rem;
    }
    @mixin mediumLarge {
      font-size: 1.375rem;
    }
  }
  
  &__bxl {
    font-family: $robotoRegular;
    font-size: 1.063rem;
    @mixin smallMedium {
      font-size: 1.188rem;
    }
    @mixin mediumLarge {
      font-size: 1.25rem;
    }
  }
  
  &__bxl--medium {
    font-family: $robotoMedium;
    font-size: 1.063rem;
    @mixin smallMedium {
      font-size: 1.188rem;
    }
    @mixin mediumLarge {
      font-size: 1.25rem;
    }
  }
  
  &__bxl--bold {
    font-family: $robotoBold;
    font-size: 1.063rem;
    @mixin smallMedium {
      font-size: 1.188rem;
    }
    @mixin mediumLarge {
      font-size: 1.25rem;
    }
  }
  
  &__bl {
    font-family: $robotoRegular;
    font-size: 1rem;
    @mixin smallMedium {
      font-size: 1.125rem;
    }
    @mixin mediumLarge {
      font-size: 1.125rem;
    }
  }
  
  &__bl--bold {
    font-family: $robotoBold;
    font-size: 1rem;
    @mixin smallMedium {
      font-size: 1.125rem;
    }
    @mixin mediumLarge {
      font-size: 1.125rem;
    }
  }
  
  &__bm {
    font-family: $robotoRegular;
    font-size: 0.875rem;
    @mixin smallMedium {
      font-size: 1rem;
    }
    @mixin mediumLarge {
      font-size: 1rem;
    }
  }
  
  &__bm--medium {
    font-family: $robotoMedium;
    font-size: 0.875rem;
    @mixin smallMedium {
      font-size: 1rem;
    }
    @mixin mediumLarge {
      font-size: 1rem;
    }
  }
  
  &__bm--bold {
    font-family: $robotoBold;
    font-size: 0.875rem;
    @mixin smallMedium {
      font-size: 1rem;
    }
    @mixin mediumLarge {
      font-size: 1rem;
    }
  }
  
  &__bs {
    font-family: $robotoRegular;
    font-size: 0.75rem;
    @mixin smallMedium {
      font-size: 0.875rem;
    }
    @mixin mediumLarge {
      font-size: 0.875rem;
    }
  }
  
  &__bs--medium {
    font-family: $robotoMedium;
    font-size: 0.75rem;
    @mixin smallMedium {
      font-size: 0.875rem;
    }
    @mixin mediumLarge {
      font-size: 0.875rem;
    }
  }
  
  &__bs--bold {
    font-family: $robotoBold;
    font-size: 0.75rem;
    @mixin smallMedium {
      font-size: 0.875rem;
    }
    @mixin mediumLarge {
      font-size: 0.875rem;
    }
  }
  
  &__bxs {
    font-family: $robotoRegular;
    font-size: 0.625rem;
    @mixin smallMedium {
      font-size: 0.75rem;
    }
    @mixin mediumLarge {
      font-size: 0.75rem;
    }
  }
  
}

.nav-bar {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 70px;
  z-index: 8;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) !important;
  transition: height 300ms ease-out;
  /* transition: all ease 0.3s; */
  &--black {
    background-color: $whiteSmoke !important;
  }

  &--pdf {
    @mixin smallMedium {
      background-color: white !important;
    }
  }

  @mixin smallMedium {
    left: -30px;
    width: 70px;
    height: 100vw;
    background-color: transparent;
    box-shadow: none !important;
    overflow: visible;
  }

  &__icons {
    position: relative;
    right: 15px;
    text-align: center;
    @mixin smallMedium {
      right: 0;
      .nav-bar__icon-container {
        &:nth-child(3),
        &:nth-child(4) {
          margin-bottom: 60px;
        }
      }
    }
  }
  &__icon-container {
    position: relative;
    float: right;
    width: 60px;
    height: 35px;
    @mixin extraSmall {
      width: 60px;
    }
    @mixin smallMedium {
      clear: both;
      float: none;
      height: 35px;
      width: 100%;
      margin-left: 40px;
      margin-bottom: 50px;
    }
    &--zoom {
      height: 24px;
      margin-bottom: 60px;
    }
    &--black {
      color: #f5f5fa;
    }
    &--sepia {
      color: #404049;
    }
    &--logo {
      position: relative;
      bottom: 1px;
      height: 35px;
      float: left;
      transform: translateY(50%);
      width: 23px;
      left: 20px;

      @mixin smallMedium {
        clear: both;
        float: none;
        margin-top: 15px;
        margin-bottom: 70px;
        left: 5px;
      }
    }

    .tooltip {
      margin-top: 20px;
      @mixin smallMedium {
        margin-top: 0px;
      }
    }
  }
  &__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    cursor: pointer;
    &--list {
      margin-top: 27px;
      margin-left: 0px;
      font-size: 1rem;
      @mixin extraSmall {
        font-size: 1.1rem;
        margin-top: 25px;
      }
      @mixin smallMedium {
        margin-left: 0px;
        margin-top: 0px;
        font-size: 1.125rem;
      }
    }
    &--zoom {
      font-size: 1.5rem;
      width: 40px;
      height: auto;
      top: 10px;
      &__text {
        position: absolute;
        font-family: $robotoMedium;
        font-size: 0.75rem;
        left: 50%;
        top: 5px;
        transform: translateX(-50%);
      }
    }
    &--text {
      margin-left: 0;
      margin-top: 22px;
      font-size: 1.25rem;
      @mixin extraSmall {
        margin-top: 20px;
        font-size: 1.5rem;
      }
      @mixin smallMedium {
        font-size: 1.25rem;
        margin-top: 0px;
      }
    }
    &--eye {
      font-size: 2rem;
      margin-top: 18px;
      margin-left: 0;
      @mixin extraSmall {
        font-size: 2.25rem;
        margin-top: 16px;
      }
      @mixin smallMedium {
        margin-top: 0px;
        margin-left: 0px;
      }
    }
    &--bookmark {
      margin-left: 0;
      font-size: 1.75rem;
      margin-top: 20px;
      @mixin extraSmall {
        font-size: 2rem;
        margin-top: 18px;
      }
      @mixin smallMedium {
        font-size: 2.25rem;
        margin-top: 0px;
      }
    }
  }
}

.book-detail {
    position: relative;
    cursor: default;
    width: 100%;
    height: auto;
    @mixin smallMedium {
        height: 140px;
    }
    &__image-container {
        height: 100px;
        width: 75px;
        float: left;
        border: 1px solid $cadetGrey;
        display: none;
        @mixin smallMedium {
            display: inline;
            height: 127.5px;
            width: 85px;
        }
    }
    &__image {
        width: 100%;
        height: 100%;
    }
    &__title {
        color: $cadetGrey;
        position: relative;
        top: 3px;
        left: 20px;
        display: block;
        padding-right: 10px;
        font-family: $robotoRegular;
        font-size: 0.875rem;
        @mixin small{
            font-size: 1rem;
        }
    }
    &__link {
        position: relative;
        top: 10px;
        left: 20px;
        display: block;
        padding-right: 10px;
        &:link, &:hover, &:visited, &:active {
            color: $currentBrandBlueDark;
        }
    }
    &__description {
        font-weight: bold;
        position: relative;
        top: -2px;
        left: 20px;
        display: block;
        font-family: $robotoBold;
        font-size: 1.125rem;
        @mixin small{
            font-size: 1.25rem;
            max-width: 400px;
        }
        @mixin mediumLarge {
            font-size: 1.375rem;
        }

        &--black {
            color: #F5F5FA;
        }
        &--sepia {
            color: #404049;
        }
    }
}
.bookmark {
  font-style: normal;
  &__close {
    cursor: pointer;
    background-color: black;
    border-radius: 5px;
    width: 80px;
    text-align: right;
    color: white;
    font-size: 14px;
    padding-right: 10px;
  }
  &__remove {
    position: relative;
    right: 4px;
    background-color: black;
    padding-top: 0;
    border-radius: 5px;
  }
}

/* .bookmark--blue {
    pointer-events: none;
} */

.wrapper {
  &__nav {
    @mixin smallMedium {
      margin-left: 31px;
    }
  }
  &__book-detail {
    margin: 0 20px 0 20px;
    @mixin smallMedium {
      margin: 0 48px 0 48px;
    }
  }
  &__book-detail--inner {
    height: 100%;
    width: 90%;
    margin: 25px 35px 25px 35px;
    @mixin smallMedium {
      margin: 45px 35px 0 35px;
    }
  }
  &__font-size {
    margin: 0 auto;
  }
}

.annotations {
    &__heading {
        width: 100%;
        padding: 20px 20px 0px 0px;
        overflow: hidden;
        position: relative;
        transition: .35s all ease;
        cursor: pointer;
    }
    &__heading-text {
        color: $lightGrey;
        font-size: 0.875rem;
        @mixin small{
            font-size: 1rem;
        }
    }
    &__heading-text-underline {
        position: absolute;
        content: "";
        display: block;
        width: 96%;
        border-bottom: 1px solid $lightGrey;
    }
    &__container {
        width: 100%;
        height: calc(100% - 140px);
        overflow-y: scroll;
        @mixin smallMedium {
            height: calc(100% - 248px);
        }
    }
    &__item {
        min-height: 72px;
        width: 100%;
        padding: 20px 20px 20px 35px;
        overflow: auto;
        position: relative;
        transition: .35s all ease;
        cursor: pointer;
        &:hover {
            background-color: $currentBrandGreyLight;
            color: $currentBrandBlack !important;
        }
    }
    &__content {
        min-height: 25px;
        min-width: 200px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;

        &--black {
            color: #F5F5FA;
        }
    }
    &__text {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 100px;
    }
    &__icon {
        position: absolute;
        top: 26px;
    }
    &__remove-icon {
        &--image {
            font-size: 1rem;
            margin-top: 6px;
        }
    }
    &__icon-image {
        position: absolute;
        &--bookmark {
            font-size: 1.45rem !important;
            top: 1px;
            position: relative;
            &--black {
                color: #F5F5FA;
            }
        }
        &--highlight {
            width: 19px;
            top: 3px;
            left: 2px;
            height: 19px;
            border-radius: 50%;
            background-color: lightcoral;
            position: relative;
        }
        &--note {
            max-height: 25px;
            max-width: 25px;
            & > img {
                height: 20px;
                position: relative;
                top: 2px;
                left: 1px;
            }
            &--black {
                color: #F5F5FA;
            }
        }
    }
    &__content {
        position: static;
        margin-left: 35px;
        margin-right: 35px;
        line-height: 200%;
    }
    &__remove-icon {
        position: absolute;
        top: 22px;
        right: 10px;
        font-size: 18px;
        transition: .3s all ease-in-out;
        height: 30px;
        width: 30px;
    }
}

.colourScheme--black {
    .annotations {
        &__heading-text {
            color: $currentBrandGrey;
        }
        &__item {
            &:hover {
                color: #F5F5FA !important;
                background-color: $currentBrandGreyDark;
            }
        }
    }
}

.colourScheme--white, .colourScheme--sepia {
    .annotations {
        &__heading-text {
            color: $currentBrandGreyDark;
        }
    }
}
.general {
  &--init {
    height: 13px;
    width: 13px;
    border: 1px solid $currentBrandGrey;
    border-radius: 50%;
  }
  &--hide {
    display: none;
  }
  &--read {
    color: $currentBrandBlack;
    font-size: 15px;
    &--black {
      color: white;
    }
  }
  &--center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  &--absolute {
    position: absolute;
  }
  &--line-clamp {
    overflow: hidden;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 51px;
    @mixin smallMedium {
      margin-top: 10px;
    }
  }
}

#general {
  &--reader {
    min-height: 100%;
  }
}

.fa-check-circle {
    color: $veryLightGrey;
}

.fa-trash-o {
    color: inherit;
}

.icon-close {
    font-family: ereader;
    content: "\68";
    position: relative;
    right: 5px;
    top: 3px;
}
.content {
  font-family: Georgia, Times, 'Times New Roman', serif;
  margin: 0 auto;
  float: none;
  max-width: 100%;
  padding-right: 30px;
  padding-left: 30px;
  overflow-wrap: break-word;
  overflow-anchor: none;
  padding-bottom: 120px;
  @mixin smallMedium {
    max-width: 700px;
    padding-right: 0;
  }
}

::selection {
  background: rgba(152, 152, 152, 0.4);
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}
::-moz-selection {
  background: rgba(152, 152, 152, 0.4);
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}

#p0--0 {
  justify-content: center;
  display: flex;
}

.ReactVirtualized__List {
  min-height: 100vh;
}

.popover {
    background-color: #FFF;
    border-radius: 0;
    box-shadow: -2px 2px rgba(64, 64, 73, 0.2);
    &--sepia {
        background-color: $currentBrandSepia !important;
    }
    &--black {
        background-color: $currentBrandBlack !important;
    }
}

#circle-black {
    border: 1px solid $currentBrandGreyDark;
}

.arrow {
    visibility: hidden;
}

.colour-scheme {
    width: 247px;
    margin: 0 auto;
    &__selector {
        display: inline-block;
        position: relative;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin: 6px;
        cursor: pointer;
        &--white {
            color: $currentBrandBlack;
            background-color: white;
            border: 1px solid $currentBrandGrey;
        }
        &--sepia {
            color: $currentBrandBlack;
            background-color: $currentBrandSepia;
            border: 1px solid $currentBrandSepiaDark;
        }
        &--black {
            color: white !important;
            background-color: $currentBrandBlack;
            font-size: $body;
            font-family: $robotoMedium;
            line-height: $bodyLh;
            border: 1px solid #404049;
            font-size: 0.875rem;
            border: 1px solid $currentBrandBlack;
            @mixin small{
                font-size: 1rem;
            }
        }
    }
}
.font-size {
    height: 70px;
    &__size-selector {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid $lightGrey;
        padding-top: 15px;
        padding-bottom: 15px;
        text-align: center;
        height: 50px;
    }
    &__size-selector--mobile {
        padding-left: 15px;
        padding-right: 15px;
        height: 70px;
    }
    &__plus {
        font-family: $robotoBold;
        margin-right: 15px;
        font-size: 24px;
    }
    &__minus {
        font-family: $robotoBold;
        margin-left: 15px;
    }
    &__text-demo {
        font-family: $robotoRegular;
        position: relative !important;
        bottom: 10px;
        margin: 5px 10px 5px 10px;
        color: $arsenic;
        display: inline-block;
        cursor: pointer;
        &--small {
            font-size: 1.1rem;
            bottom: 10px;
        }
        &--medium {
            font-size: 1.3rem;
            bottom: 10px;
        }
        &--large {
            font-size: 1.5rem;
            bottom: 9px;
        }
    }
    &__family-selector {
        display: block;
        width: 100%;
        background-color: lightcoral;
    }
    &__style-one {}
    &__style-two {}
    &__style-three {}
}

.font-size__size-selector--mobile > div {
    margin-top: 9px;
}
.font-family {
  position: relative;
  padding-top: 10px;
  width: 253px;
  bottom: 15px;
  @smallmedium {
    width: auto;
  }
  &--mobile {
    width: 100%;
    bottom: 0;
    padding-top: 0;
  }
  &__container {
    text-align: center;
    display: inline-block;
    width: 32%;
    height: auto;
    cursor: pointer;
    margin: auto;
    &--black {
      color: #f5f5fa;
    }
    &--sepia {
      color: #404049;
    }
    &--mobile {
      width: 50%;
      height: 60px;
      position: relative;
      border: 1px solid #cbcbd3;
      &--default {
        min-width: 100%;
        border-bottom: none !important;
      }
    }
    /* not sure if this margin affects the element on mobile */
    @mixin smallMedium {
      margin: 10px auto;
      display: block;
    }
  }
  &__selector--mobile {
    position: relative;
    top: 17px;
  }
  &__georgia {
    font-family: Georgia, Times, 'Times New Roman', serif;
    display: inline-block;
    cursor: pointer;
  }
  &__arial {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    display: inline-block;
    cursor: pointer;
  }
  &__default {
    display: inline-block;
  }
  &--selected {
    color: $currentBrandBlueDark;
  }
  &--selected--mobile {
    color: $currentBrandBlueDark;
    border: 1px solid $currentBrandBlueDark;
  }
}

.note {
  &__wrapper {
    font-family: $robotoRegular;
    padding: 15px;
    border-radius: 2px;
    overflow: hidden;
    height: 95%;
    @mixin smallMedium {
      box-shadow: 0 4px 10px 0 rgba(55, 56, 56, 0.2);
      border-radius: 3px;
      padding: 10px;
      height: initial;
    }
  }
  &__body-wrapper {
    max-width: 700px;
    margin: auto;
    position: relative;
    @mixin smallMedium {
      max-width: auto;
    }
  }
  &__body {
    background-color: white;
    padding-bottom: 5px;
    width: 100%;
    resize: none;
    border-bottom: 0;
    border: none;
    line-height: 1.25;
    display: inline-block;
    cursor: default !important;
    min-height: 100px;
    word-wrap: break-word;
    &:focus {
      outline: 0;
    }
    @mixin smallMedium {
      min-height: 0;
    }
  }
  &__time-button-wrapper {
    padding-top: 15px;
  }
  &__icon {
    margin: 15px auto;
    width: 30px;
    height: 30px;
  }
  &__icon-image {
    width: 100%;
    height: 100%;
  }
  &__text {
    display: block;
    margin: 15px 0;
  }
  &__edit-button {
    width: 64px;
    font-size: 16px;
    font-weight: 500;
    position: absolute;
    right: 0;
    bottom: 3px;
    border: 1px solid $currentBrandGreyDarker;
    border-radius: 2px;
    background-color: transparent;
    transition: opacity 0.1s linear;
    height: 30px;
    @mixin smallMedium {
      width: 40px;
      height: 20px;
      font-size: 12px;
      line-height: 12px;
    }
  }
  &__time {
    color: $currentBrandGreyDark;
    font-size: 14px;
    @mixin smallMedium {
      font-size: 11px;
    }
  }
}

.highlight-popup {
  z-index: 100;

  height: 100%;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  box-shadow: 0 4px 10px 0 rgba(55, 56, 56, 0.2) !important;

  border-radius: 3px;

  .slideIn {
    transition: transform 270ms ease-in;
    position: fixed;
    width: calc(100% + 1px);
  }

  .slideOut {
    transition: transform 400ms ease-out;
    position: fixed;
  }

  &__arrow {
    padding-top: 17px;
    padding-bottom: 12px;
    width: 32px;
    display: block;
    height: 60px;
    background: #f5f5f5;
    cursor: pointer;
    text-align: center;

    @mixin smallMedium {
      height: 62px;
      width: 38px;
      padding-top: 13px;
    }

    & img {
      margin: auto;
      display: block;
      width: 22px;
      height: 22px;

      @mixin smallMedium {
        height: initial;
        width: initial;
      }
    }
  }

  #hover-image:hover .highlight-popup__arrow_image {
    margin-right: 5px;
  }

  &__options {
    display: flex;
  }
  &__annotations__remove-icon {
    position: absolute;
    color: $arsenic;
  }
  &__option {
    position: relative;
    display: inline-block;
    cursor: pointer;
    float: left;
    width: 16.5%;
    text-align: center;
    height: 60px;

    @mixin smallMedium {
      height: 62px;
    }

    &__container {
      position: relative;

      margin: auto;
      margin-top: 17px;

      @mixin smallMedium {
        position: initial;
        margin-top: 13px;
      }
    }

    &__text {
      font-family: 'Roboto', sans-serif;
      color: #373838;
      font-size: 14px;
      display: inline-block;
      margin-left: 5px;
      margin-top: 5px;
      margin-right: 5px;
      font-weight: 500;

      @mixin smallMedium {
        font-size: 16px;
      }
    }

    #hover-image {
      width: 100%;
      height: 100%;
      display: block;
    }

    .highlight-popup__image_off,
    #hover-image:hover .highlight-popup__image_on {
      display: none;
    }
    .highlight-popup__image_on,
    #hover-image:hover .highlight-popup__image_off {
      display: inline-block;
    }

    #hover-image:hover .highlight-popup__option__container {
      margin-top: 16px;
      @mixin smallMedium {
        margin-top: 12px;
      }
    }
    #hover-image:hover .highlight-popup__highlightColour {
      height: 26px;
      width: 26px;
      @mixin smallMedium {
        width: 34px;
        height: 34px;
      }
    }
  }

  &__colourPalletteOption {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    height: 60px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;

    @mixin smallMedium {
      height: 62px;
    }

    &__container {
      position: relative;
      height: 64px;
      margin: auto;
      background: white;
      transition: all 0.3s;
      -webkit-transition: all 0.3s;
      z-index: 1;

      @mixin smallMedium {
        height: 62px;
      }
    }

    &__colourPallette {
      height: 24px;
      width: 24px;
      border-radius: 50%;
      background-color: #f5f5f5;
      display: inline;
      position: absolute;
      transition: all 0.3s;
      transition-duration: 0.3s;
      -webkit-transition-duration: 0.3s;
      -ms-transition-duration: 0.3s;
      -moz-transition-duration: 0.3s;
      margin-top: 17px;

      @mixin smallMedium {
        height: 32px;
        width: 32px;
      }
    }
  }

  &__noteOption {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    height: 60px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;

    &__button {
      display: flex;
      padding: 20px 11px;
      cursor: pointer;
      background: transparent;
      border: none;
    }
  }

  &__text-option {
    position: relative;
    cursor: pointer;
    height: 60px;
    width: 16.6%;
    font-family: 'Roboto', sans-serif;
    color: #c9cdcd;
    font-size: 10px;
    text-align: center;

    @mixin smallMedium {
      width: 64px;
      font-size: 12px;
      height: 64px;
    }

    & > img {
      display: block;
      margin: auto;
      margin-top: 8px;
      width: 24px;
      height: 24px;

      @mixin smallMedium {
        width: initial;
        height: initial;
        margin-top: 6px;
      }
    }

    & > div {
      margin-top: 7px;
      display: block;
    }
  }
  &__text-option:hover {
    color: #373838;
  }

  &__highlightColour {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background-color: #f5f5f5;
    margin: auto;

    @mixin smallMedium {
      height: 32px;
      width: 32px;
    }
  }
}

.add-note {
  width: calc(100% - 32px);
  float: left;
  position: relative;
  left: -1px;

  @mixin smallMedium {
    width: 332px;
  }
  &__body {
    margin: 12px;
    margin-bottom: 0px;
    width: calc(100% - 32px);
    resize: none;
    height: 102px;
    border: none;
    @mixin smallMedium {
      width: 310px;
    }

    &:focus {
      outline: 0;
    }
  }
  &__options {
    margin-left: 6px;
    margin-right: 6px;
    height: 37px;
    margin-bottom: 18px;

    @mixin smallMedium {
      margin-bottom: 12px;
    }

    &__colourPallette {
      display: inline-block;
      float: left;
    }

    &__buttons {
      display: inline-block;
      float: right;
      margin-top: 12px;
      margin-left: 6px;

      @mixin smallMedium {
        float: left;
      }

      &__button {
        width: 48px;
        height: 30px;
        padding-top: 5px;
        margin-right: 6px;
        border-radius: 2px;
        font-family: Roboto;
        font-size: 14px;
        font-weight: 500;
        font-style: normal;
        display: inline-block;
        border: solid 1px #979797;
        text-align: center;
        cursor: pointer;
        @mixin smallMedium {
          width: 55px;
          font-size: 16px;
          padding-top: 2px;
          height: 25px;
        }
      }
    }
  }
}

.write-note {
  top: 2%;
  overflow: hidden;
  background-color: white;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  border-radius: 3px;
  box-shadow: 0 4px 10px 0 rgba(55, 56, 56, 0.2);

  &__body {
    background-color: white;
    width: 100%;
    resize: none;
    height: 160px;
    border-bottom: 0;
    border: none;
    &:focus {
      outline: 0;
    }
  }
  &__options {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    border-top: 1px solid $lightGrey;
    &--edit {
    }
  }
  &__left-option {
    cursor: pointer;
    width: 50%;
    text-align: center;
    height: 100%;
    border-right: 1px solid #cacad3;
    padding-top: 8px;
    &--create {
      width: 50%;
      text-align: center;
      height: 100%;
      padding-top: 8px;
      border-right: 1px solid #cacad3;
      cursor: pointer;
    }
  }
  &__right-option {
    cursor: pointer;
    width: 50%;
    text-align: center;
    height: 100%;
    padding-top: 8px;
    &--create {
      width: 50%;
      text-align: center;
      height: 100%;
      padding-top: 8px;
      cursor: pointer;
    }
  }
  &__icon {
    color: $arsenic;
    position: relative;
    right: 3px;
    height: 18px;
  }
}

[contenteditable='true']:empty:before {
  content: attr(placeholder);
  display: block;
  color: $lightGrey;
  /* For Firefox */
}

.annotation-icon {
  &__bookmark {
    position: absolute;
    z-index: 40;
    height: 80px;
    transform: rotate(90deg);
    &-icon {
      height: 80px;
    }
    &--blue {
    }
    &--yellow {
    }
    &--red {
    }
  }
  /* &__speech-bubble {
        position: absolute;
        width: 20px;
         z-index: 40;
         top: 10px;
        &__icon {
            height: 30px;
         }
         &::after {
             background-color: lightblue;
             height: 60px;
             width: 60px;
             cursor: pointer;
            content: url('~@assets/images/icons/speechbubble.svg');
         }
     } */
  &__remove-item {
  }
}

.bookmark {
  font-style: normal;
  &__close {
    cursor: pointer;
    background-color: black;
    border-radius: 5px;
    width: 80px;
    text-align: right;
    color: white;
    font-size: 14px;
    padding-right: 10px;
  }
  &__remove {
    position: relative;
    right: 4px;
    background-color: black;
    padding-top: 0;
    border-radius: 5px;
  }
}

/* .bookmark--blue {
    pointer-events: none;
} */

.chapter-status {
    position: absolute !important;
    left: 33px;
    margin-top: 4px;
}

.misc {
    &--bookmark-added {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: -100px;
        width: 200px;
        height: 50px;
        background-color: #28dcdc;
        z-index: 500;
        text-align: center;
        opacity: 0.8;
        padding-top: 15px;
        border-radius: 5px;
        transition: all ease 0.4s;
        &--active {
            top: 30px;
            transition: all ease 0.4s;
        }
    }
}

.tooltiptext {
    width: 130px !important;
    height: 50px !important;
    background-color: $currentBrandBlueDark !important;
    text-align: center !important;
    opacity: 0.8 !important;
    padding-top: 11px !important;
    border-radius: 5px !important;
    color: white !important;
}
.colourScheme {

    &--white {
        &::-webkit-scrollbar-track {
            border-radius: 6px;
            background-color: white;
        }
        
        &::-webkit-scrollbar {
            width: 12px;
            background-color: white;
        }
        
        &::-webkit-scrollbar-thumb {
            border-radius: 6px;
            border: 2px solid white;
            background-color: $currentBrandGrey;
        }
    }

    &--black {
        &::-webkit-scrollbar-track {
            border-radius: 6px;
            background-color: $currentBrandBlack;
        }
        
        &::-webkit-scrollbar {
            width: 12px;
            background-color: $currentBrandBlack;
        }
        
        &::-webkit-scrollbar-thumb {
            border-radius: 6px;
            border: 2px solid $currentBrandBlack;
            background-color: $currentBrandGreyDark;
        }
    }

    &--sepia {
        &::-webkit-scrollbar-track {
            border-radius: 6px;
            background-color: $currentBrandSepia;
        }
        
        &::-webkit-scrollbar {
            width: 12px;
            background-color: $currentBrandSepia;
        }
        
        &::-webkit-scrollbar-thumb {
            border-radius: 6px;
            border: 2px solid $currentBrandSepia;
            background-color: $currentBrandGreyDark;
        }
    }
}
.empty-chapter {
  display: flex;
  justify-content: center;
  align-items: center;
  &__title {
    font-family: $robotoRegular;
    font-size: 2rem;
    max-width: 700px;
  }
}

.skipto {
  height: 50px;
  position: fixed;
  bottom: 25px;
  left: 20px;
  width: 50px;
  text-align: center;
  background: transparent;
  z-index: 9;
  &--input {
    width: 48px;
    height: 28px;
    border: none;
    font-family: $robotoRegular;
    font-size: 16px;
    text-align: center;
    background-color: $currentBrandGreyLight;
    color: $currentBrandBlack;
  }
  &--sum {
    font-family: $robotoRegular;
    color: $currentBrandGreyDark;
    font-size: 16px;
  }
}

.colourScheme--black {
  .skipto {
    &--sum {
      color: $currentBrandGreyLight;
    }
  }
}

.shared {
  &__bg--white {
    background-color: white;
  }

  &__bg--black {
    background-color: $currentBrandBlack;
  }

  &__bg--sepia {
    background-color: $currentBrandSepia;
  }

  &__bg__mobile--white {
    background-color: white;
    @mixin smallMedium {
      background-color: transparent;
    }
  }

  &__bg__mobile--black {
    background-color: $currentBrandBlack;
    @mixin smallMedium {
      background-color: transparent;
    }
  }

  &__bg__mobile--sepia {
    background-color: $currentBrandSepia;
    @mixin smallMedium {
      background-color: transparent;
    }
  }

  &__text--black {
    font-size: 0.875rem;
    @mixin small {
      font-size: 1rem;
    }
    color: $currentBrandGreyLight;
  }

  &__text--white {
    font-size: 0.875rem;
    @mixin small {
      font-size: 1rem;
    }
  }

  &__icon--hover {
    color: $currentBrandBlueDark;
  }
}

.read-highlight {
  background: cadetblue;
  display: inline-block;
  /* inline block hack for IE 6&7 */
  zoom: 1;
  *display: inline;
  margin-right: -5px;
  padding-right: 5px;
}

code {
  color: $orange;
}

.black-style code {
  color: $orangeLight;
}

/* Code blocks are inverse colours and we only want to apply 
   the orange "special" colour for code snippets inline with paragraph text. */

pre code {
  color: white;
}

.black-style pre code {
  color: $currentBrandBlack;
}

.grecaptcha-badge {
  z-index: 21002;
}

.modal-content {
  border: none !important;
}

.referencing-modal--black .modal-body {
  background-color: $currentBrandBlack;
}

.referencing-modal--sepia .modal-body {
  background-color: $currentBrandSepia;
}

.referencing-modal-backdrop--black {
  background-color: #293133 !important;
}
.bookmark-saved {
  top: 34px;
  left: -22px;
  width: 73px;
  height: 36px;
  &__check-icon {
    margin-right: 6px;
  }
}

.bookmark-saved .tooltip-inner {
  background-color: $currentBrandBlueDark;
}

.bookmark-saved .tooltip-arrow {
  border-bottom-color: $currentBrandBlueDark !important;
}

.VerticalPanel {
  position: absolute;
}

.icon {
  &-wrapper {
    height: 30px;
    width: 30px;
    border: 1px solid $currentBrandGreyLight;
    border-radius: 3.5px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    transition: 0.35s all ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);

    &--bookmark {
      opacity: 1;
    }
  }

  &--note {
    display: block;
    width: 20px;
    height: 20px;
    margin: auto;
    margin-top: 4px;
  }
  &--bookmark {
    display: block;
    height: 23px;
    width: 18px;
    margin: auto;
    margin-top: 3px;
  }
}

.eyesaver {
  &--black {
    background-color: #2c2c2c !important;
  }
  &--sepia {
    background-color: $currentBrandSepia !important;
  }
  &--white {
    background-color: #ffffff !important;
  }
  &--paper {
    background-color: #f9f8f6 !important;
  }

  &--text {
    &--black {
      color: $currentBrandGreyLight !important;
    }
  }

  &--text-grey {
    &--black {
      color: $currentBrandGrey !important;
    }
  }
}

/* cyrillic-ext */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.gstatic.com/s/roboto/v15/sTdaA6j0Psb920Vjv-mrzH-_kf6ByYO6CLYdB4HQE-Y.woff2)
      format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}

/* cyrillic */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.gstatic.com/s/roboto/v15/uYECMKoHcO9x1wdmbyHIm3-_kf6ByYO6CLYdB4HQE-Y.woff2)
      format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.gstatic.com/s/roboto/v15/tnj4SB6DNbdaQnsM8CFqBX-_kf6ByYO6CLYdB4HQE-Y.woff2)
      format('woff2');
  unicode-range: U+1F00-1FFF;
}

/* greek */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.gstatic.com/s/roboto/v15/_VYFx-s824kXq_Ul2BHqYH-_kf6ByYO6CLYdB4HQE-Y.woff2)
      format('woff2');
  unicode-range: U+0370-03FF;
}

/* vietnamese */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.gstatic.com/s/roboto/v15/NJ4vxlgWwWbEsv18dAhqnn-_kf6ByYO6CLYdB4HQE-Y.woff2)
      format('woff2');
  unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB;
}

/* latin-ext */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.gstatic.com/s/roboto/v15/Ks_cVxiCiwUWVsFWFA3Bjn-_kf6ByYO6CLYdB4HQE-Y.woff2)
      format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.gstatic.com/s/roboto/v15/oMMgfZMQthOryQo9n22dcuvvDin1pK8aKteLpeZ5c0A.woff2)
      format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
    U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */

.options {
  text-align: right;
}

.options > .option {
  width: 55px;
  height: 55px;
  background: #c3c3c3;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}

.page-number {
  text-align: center;
  padding: 17px 0px;
  position: absolute !important;
  font-family: 'Roboto', sans-serif;
  color: #a8a9aa;
  cursor: default;
}

/* Mobile navigation */

#nav-icon {
  width: 33px;
  height: 25px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  padding-right: 5px;
}

#nav-icon:hover #nav-icon span {
  background: #000;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 50%;
  background: #c1c7cd;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon span:nth-child(even) {
  left: 50%;
  border-radius: 0 5px 5px 0;
}

#nav-icon span:nth-child(odd) {
  left: 0px;
  border-radius: 5px 0 0 5px;
}

#nav-icon span:nth-child(1),
#nav-icon span:nth-child(2) {
  top: 0px;
}

#nav-icon span:nth-child(3),
#nav-icon span:nth-child(4) {
  top: 10px;
}

#nav-icon span:nth-child(5),
#nav-icon span:nth-child(6) {
  top: 20px;
}

#nav-icon.open span:nth-child(1),
#nav-icon.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(2),
#nav-icon.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(1) {
  left: 3px;
  top: 7px;
}

#nav-icon.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 7px;
}

#nav-icon.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon.open span:nth-child(5) {
  left: 2px;
  top: 17px;
}

#nav-icon.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 17px;
}

.skip-to {
  width: 60px;
  border: solid 2px #c3c3c3;
  border-radius: 30px;
  padding: 5px 15px;
  font-family: 'Roboto', sans-serif;
  color: #a8a9aa;
  text-align: center;
  margin: 0px 0px 0px 10px;
}

.skip-to:focus {
  outline: none;
}

.skip-to-label {
  font-family: 'Roboto', sans-serif;
  color: #a8a9aa;
  cursor: default;
}

.alert {
  position: fixed;
  z-index: 10;
  width: 350px;
  left: 50%;
  margin-left: -175px;
  display: none;
}

/* Progress Bar */

.reading-progress {
  background: $currentBrandGreyLight;
  height: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 65;
  transition: all ease 0.4s;
}

.read-bar {
  background: $currentBrandBlue;
  height: 10px;
  width: 0px;
}

.reading-progress .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  bottom: 20px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.reading-progress:hover .tooltiptext {
  visibility: visible;
}

/* Reading section */
.moved-reading-section {
  margin-left: 0px !important;
}

.reading-section p:not(:first-child) {
  margin: 30px 0px;
}

.col-centered {
  float: none !important;
  margin: 0 auto;
}

/* Size Control */

.size-control {
  position: fixed !important;
}

.size-control a {
  display: block;
  width: 33px;
  height: 33px;
  background-color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #c3c3c3;
  text-decoration: none;
  transition: 0.3s all;
}

.size-control a:hover {
  background: #28a6f5;
  color: #fff;
}

/* Mobile menu */

#cover-thumbnail {
  height: 80px;
  position: absolute;
  margin-top: 20px;
  margin-left: 30px;
}

#bookinfo-author {
  position: absolute;
  margin-top: 80px;
  margin-left: 110px;
}

#bookinfo-title {
  display: block;
  width: 250px;
  word-wrap: break-word;
  position: absolute;
  top: 20px;
  left: 110px;
}

/* Chapters */

.current-chapter {
  color: #fff;
  text-decoration: none;
  background: #28a6f5;
  width: 100%;
  padding: 15px 35px;
  display: block;
}

.current-chapter > .chapter-status {
  color: #fff !important;
}

.current-chapter:hover {
  color: #fff;
  text-decoration: none;
}

/*
.chapters a:not(.current-chapter):hover {
    color: #FFF;
    text-decoration: none;
    background: rgba(40, 166, 245, .4);
}
*/

/* NEW */

#zoom-icon-plus {
  width: 38px;
  height: 32px;
  margin-top: -3px;
  cursor: pointer;
  font-size: 28px;
  color: rgb(193, 199, 205);
}

#zoom-icon-minus {
  width: 38px;
  height: 32px;
  margin-top: -3px;
  cursor: pointer;
  font-size: 28px;
  color: rgb(193, 199, 205);
}

#bookmarks-icon {
  width: 38px;
  height: 32px;
  margin-top: -4px;
  margin-left: 3px;
  cursor: pointer;
}

#close-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: absolute;
  margin-top: -5px;
  right: 5px;
  font-size: 28px;
  color: #c1c7cd;
}

/* Bookmarks */

.bookmarks {
  overflow-y: auto;
  height: 100%;
}

.bookmarks a .bookmark-title {
  width: 100%;
  padding: 10px 40px;
  display: block;
  font-family: 'Roboto';
  color: #000;
  text-decoration: none;
  transition: 0.3s all;
  font-weight: bold;
  margin-top: 15px;
  font-size: large;
  cursor: pointer;
}

.bookmarks a .bookmark-description {
  width: 100%;
  padding: 15px 40px;
  display: block;
  font-family: 'Roboto';
  color: #a8a9aa;
  text-decoration: none;
  transition: 0.3s all;
  margin-top: -25px;
  cursor: pointer;
}

.bookmark-arrow {
  color: #b4b5b5;
  position: absolute;
  display: block;
  padding: 10px;
  cursor: pointer;
}

.bookmark-this {
  display: inline-block;
  text-align: center;
  margin: 10px 10px 0px 45px;
  border-radius: 30px;
  border: solid 2px #c3c3c3;
  padding: 10px 80px;
  font-size: 13px;
  color: #a8a9aa;
  transition: 0.3s all;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
}

.bookmark-this:hover {
  color: #fff;
  border: solid 2px #28a6f5;
  background: #28a6f5;
  text-decoration: none;
}

.bookmark-delete {
  cursor: pointer;
}

.bookmark-delete-section {
  width: 100%;
  display: block;
  padding: 15px 40px;
  text-align: right;
}

.bookmark-delete-section:hover {
  color: red;
}

.settings-subtitle {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 14px !important;
  text-transform: uppercase;
  font-weight: bold;
}

.settings-items {
  margin-left: 35px;
  margin-top: 15px;
}

.reset-settings {
  margin-top: 20px;
}

#timer {
  position: fixed;
  left: 0px;
  bottom: 0px;
  color: white;
  font-size: 20px;
  background: black;
  padding: 20px 50px;
}

.errorpage {
  width: 100%;
  height: 100%;
  background: white;
  z-index: 21000;
  position: fixed;
  top: 0;
  left: 0;
}

.errorpage .logo {
  z-index: 21002;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 3%;
}

.errorpage .text {
  text-align: center;
}

.loadingpage {
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 21000;
  position: fixed;
  top: 0;
  left: 0;
}

.delete-bookmark-text {
  padding: 5px;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
}

#highlightlayer {
  width: 100%;
  height: 100vh;
  z-index: 20000;
  opacity: 0.2;
  position: absolute;
  background-color: brown;
}

#dropdown-colorpicker i {
  cursor: pointer;
  font-size: 35px;
  margin: 5px;
}

#colorpicker-cyan {
  color: rgb(143, 195, 239);
}

#colorpicker-magenta {
  color: rgb(255, 142, 147);
}

#colorpicker-yellow {
  color: rgb(255, 242, 147);
}

.sidebaricon {
  font-size: 30px;
  margin-top: 10px;
  color: #ccc;
}

.annotations-icon {
  font-size: 30px;
  margin-top: 7px;
  color: #ccc;
}

/*I have CSS for this feature from here*/

/* Sidebar Bookmark Items */

.markitem {
  display: -webkit-inline-box;
  width: 100%;
}

.markicon {
  margin-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 25px;
}

.marktext {
  margin-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: -webkit-inline-box;
}

.deleteicon {
  right: 0px;
  margin-right: 25px;
  font-size: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Custom text */

plgoblockquote {
  background: white;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: '\201C''\201D''\2018''\2019';
}

plgoblockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

plgoblockquote p {
  display: inline;
}

/* Bookmark Icon */

#page-bookmark-icon-show {
  z-index: 1000;
  display: block;
  position: fixed;
  font-size: 40px;
  margin-top: -12px;
  transform: rotate(-90deg);
  top: 50%;
  transition: 0.3s all ease-in-out;
  opacity: 1;
}

#page-bookmark-icon-hide {
  display: block;
  position: fixed;
  font-size: 40px;
  margin-top: -12px;
  transform: rotate(-90deg);
  top: 50%;
  transition: 0.3s all ease-in-out;
  opacity: 0;
}

.yellow-highlighted::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  background: #ffff00;
  margin-left: -40px;
  border-radius: 100%;
}

.cyan-highlighted::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  background: #00ffff;
  margin-left: -40px;
  border-radius: 100%;
}

.cyan-highlighted::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  background: #ff00ff;
  margin-left: -40px;
  border-radius: 100%;
}

#sidebaricon-magenta::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  margin-left: -40px;
  border-radius: 100%;
  background: #ff00ff;
}

#sidebaricon-cyan::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  margin-left: -40px;
  border-radius: 100%;
  background: #00ffff;
}

#sidebaricon-yellow::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  margin-left: -40px;
  border-radius: 100%;
  background: #ffff00;
}

.highlight-wrap {
  width: 33px;
  height: 100%;
  display: inline-block;
  margin-top: -1px;
  vertical-align: top;
  margin-right: 5px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.user-message {
  width: 420px;
  padding: 20px;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  background: rgba(105, 171, 222, 0.9);
  font-weight: bold;
  border-radius: 15px;
  text-align: center;
  position: fixed;
  left: 50%;
  margin-left: -210px;
  top: 72px;
  z-index: 1000;
  color: #fff;
}

.user-message i {
  position: absolute;
  left: 20px;
  font-size: 22px;
  top: 19px;
}

/* ANNOTATIONS */

.annotations {
  height: 100%;
  overflow-y: auto;
}

.annotations-item {
  width: 100%;
  padding: 20px 20px 20px 35px;
  background: #fff;
  overflow: auto;
  position: relative;
  transition: 0.3s all ease-in-out;
}

.annotations-item:hover {
  background: rgba(169, 219, 251, 0.3);
  cursor: pointer;
}

.annotation-icon {
  position: absolute;
  top: 22px;
  font-size: 18px;
}

.annotations-item.bookmark > .annotation-icon {
  color: #c1c7cd;
}

.annotations-item.highlight-cyan > .annotation-icon {
  color: cyan;
  /* this will be the colour that you picked before and will be inline */
}

.annotations-item.highlight-magenta > .annotation-icon {
  color: #ff00ff;
  /* this will be the colour that you picked before and will be inline */
}

.annotations-item.highlight-yellow > .annotation-icon {
  color: yellow;
  /* this will be the colour that you picked before and will be inline */
}

.annotations-item.note > .annotation-icon {
  color: #c1c7cd;
}

.remove-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px;
  font-size: 18px;
  transition: 0.3s all ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.annotations__item:hover .remove-icon {
  @mixin smallMedium {
    pointer-events: auto;
    opacity: 0.6;
  }
}

.loadingmodal {
  position: fixed;
  bottom: 20%;
  margin-left: -38px;
  margin-top: -38px;
  left: 50%;
  padding: 5px;
  height: 1px;
  width: 1px;
  z-index: 21001;
  visibility: hidden;
}

.loadingmodal.visible {
  visibility: visible !important;
}

.loadingmodal.overlaymodal {
  position: fixed;
  top: 75px;
  left: 0;
  height: calc(100vh - 60px);
  width: 100vw;
  margin-left: 0;
  margin-top: 0;
  background: #fff;
}

.loadingmodal.central {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100vh - 70px);
  width: 100vw;
  margin-left: 0;
  margin-top: 0;
}

.loadingmodal.fullheight,
.loadingmodal.overlaymodal.fullheight,
.loadingmodal.central.fullheight {
  position: fixed;
  top: 0;
  height: 100vh;
  z-index: 21001;
}

.loadingmodal.overlaymodal > img,
.loadingmodal.central > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loadingicon {
  z-index: 21002;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
}

.loadingpage > .loadingmodal {
  z-index: 21001;
  top: 50%;
  left: 50%;
  margin-left: -38px;
  margin-top: -38px;
  width: 75px;
  height: 75px;
}

.hide-menu {
  opacity: 0;
}

/* Chapter levels */

.level-0 {
  color: #000000 !important;
}

.level-1 {
  padding: 15px 35px 15px 65px !important;
}

.level-2 {
  padding: 15px 35px 15px 75px !important;
}

.level-3 {
  padding: 15px 35px 15px 75px !important;
}

.level-4 {
  padding: 15px 35px 15px 75px !important;
}

.level-5 {
  padding: 15px 35px 15px 75px !important;
}

#blank {
  background-color: #ccc;
}

.nav-container {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.placeholder {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.placeholder img {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  transition: opacity 1s linear;
}

.placeholder img.loaded {
  opacity: 1;
  max-width: 95%;
}

.absolute-center {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes placeHolderShimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

.linear-background {
  background: #f5f5fa;
  background-size: 1000px 104px;
  position: relative;
  overflow: hidden;
  height: 16px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
}

.linear-background-limited {
  max-width: 63% !important;
}

.pdfplaceholder {
  margin: 20px 50px 20px;
  width: calc(100% - 100px) !important;
  max-width: calc(100% - 100px) !important;
}

.epubplaceholder {
  margin: 20px 0px 0px;
}

/* Add Note */

#add-note-input {
  resize: none;
}

#dropdown-fontchanger {
}

#font-size-placeholder {
  width: 110px;
  border-bottom: 1px solid black;
}

#font-size-placeholder i {
  font-size: 24px;
  padding: 8px;
}

#font-size-placeholder span {
  font-weight: bold;
  font-size: 24px;
}

#font-type-placeholder > div {
  text-align: center;
  font-size: 16px;
  padding: 5px;
}

#background-layer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10000;
}

/* Eye Saver Mode */

.sepia-style {
  background-color: $currentBrandSepia;
}

.sepia-style-toolbar-v2 {
  background-color: #e9e7e3;
}

.paper-style {
  background-color: #f9f8f6;
}

.black-style {
  background-color: #2c2c2c;
}

body.modal-open {
  overflow: hidden;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

.example-enter {
  opacity: 0.01;
}

.example-enter.example-enter-active {
  opacity: 1;
  transition: opacity 500ms ease-in;
}

.example-leave {
  opacity: 1;
}

.example-leave.example-leave-active {
  opacity: 0.01;
  transition: opacity 300ms ease-in;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */

.options {
  text-align: right;
}

.options > .option {
  width: 55px;
  height: 55px;
  background: #c3c3c3;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}

.page-number {
  text-align: center;
  padding: 17px 0px;
  position: absolute !important;
  font-family: 'Roboto', sans-serif;
  color: #a8a9aa;
}

/* Mobile navigation */

.toggle-mobile-nav {
  width: 33px;
  height: 25px;
  display: inline-block;
  margin-top: 16px;
  vertical-align: top;
}

#nav-icon {
  width: 33px;
  height: 25px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#nav-icon:hover #nav-icon span {
  background: #000;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 50%;
  background: #c1c7cd;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon span:nth-child(even) {
  left: 50%;
  border-radius: 0 5px 5px 0;
}

#nav-icon span:nth-child(odd) {
  left: 0px;
  border-radius: 5px 0 0 5px;
}

#nav-icon span:nth-child(1),
#nav-icon span:nth-child(2) {
  top: 0px;
}

#nav-icon span:nth-child(3),
#nav-icon span:nth-child(4) {
  top: 10px;
}

#nav-icon span:nth-child(5),
#nav-icon span:nth-child(6) {
  top: 20px;
}

#nav-icon.open span:nth-child(1),
#nav-icon.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(2),
#nav-icon.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(1) {
  left: 3px;
  top: 7px;
}

#nav-icon.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 7px;
}

#nav-icon.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon.open span:nth-child(5) {
  left: 2px;
  top: 17px;
}

#nav-icon.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 17px;
}

.skip-to {
  width: 60px;
  border: solid 2px #c3c3c3;
  border-radius: 30px;
  padding: 5px 15px;
  font-family: 'Roboto', sans-serif;
  color: #a8a9aa;
  text-align: center;
  margin: 0px 0px 0px 10px;
}

.skip-to:focus {
  outline: none;
}

.skip-to-label {
  font-family: 'Roboto', sans-serif;
  color: #a8a9aa;
}

.alert {
  position: fixed;
  z-index: 10;
  width: 350px;
  left: 50%;
  margin-left: -175px;
  display: none;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* Reading progress */

.reading-progress {
  background: $currentBrandGreyLight;
  height: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 65;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.read-bar {
  background: $currentBrandBlue;
  height: 10px;
  width: 0px;
  transition: width 0.35s;
}

.reading-progress .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: $currentBrandBlack;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  bottom: 20px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

/* Reading section */

.moved-reading-section {
  margin-left: 0px !important;
}

.reading-section p:not(:first-child) {
  margin: 30px 0px;
}

.col-centered {
  float: none !important;
  margin: 0 auto;
}

/* Size Control */

.size-control {
  position: fixed !important;
}

.size-control a {
  display: block;
  width: 33px;
  height: 33px;
  background-color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #c3c3c3;
  text-decoration: none;
  transition: 0.3s all;
}

.size-control a:hover {
  background: #28a6f5;
  color: #fff;
}

/* Chapters */

.current-chapter {
  color: #fff;
  text-decoration: none;
  background: #28a6f5;
  width: 100%;
  padding: 15px 35px;
  display: block;
}

.current-chapter > .chapter-status {
  color: #fff !important;
}

.current-chapter:hover {
  color: #fff;
  text-decoration: none;
}

#trigger {
  opacity: 0;
}

/* Referencing Modal */
.modal-content {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f5f5fa;
  border-radius: 0px;
  min-height: 200px;
  /* max-height: 200px; */
}

.modal-lg {
  top: 35%;
  min-height: 200px;
  max-height: 200px;
}

.referencing-modal-table-row {
  height: 80px;
}

.referencing-modal-table-row > td {
  vertical-align: text-top;
  padding-top: 25px;
}

.perlego-font-default {
  font-family: Roboto, sans-serif;
  font-size: 1rem;
}

.perlego-font-medium {
  font-family: 'Roboto Medium', sans-serif;
}

.perlego-font-with-color {
  color: $currentBrandBlueDark;
  font-size: 0.875rem;
  @mixin small {
    font-size: 1rem;
  }
}

.perlego-font-with-color-grey {
  color: $currentBrandGreyDark;
  font-size: 0.875rem;
  @mixin small {
    font-size: 1rem;
  }
}

.pointer-on {
  cursor: pointer;
}

.modal-backdrop {
  background-color: white;
}

.referencing-icon {
  font-size: 1.25rem;
  font-weight: bold;
  margin-left: 2px;
}

.black-style .highlighted {
  color: rgb(64, 64, 72);
}

.sepia-style .highlighted,
.sepia-style-toolbar-v2 .highlighted {
  color: rgb(64, 64, 72);
}

.black-style .skipto--input {
  background-color: #606068;
  color: #f5f5fa;
}

/* base */

/* @import "normalize.css"; */
/* @import "base/_variables";
@import "base/_mixins";
@import "base/_text"; */

/* modules */

/* original components */

