/* DESIGN PACK VERSION: 0.80 */
/* ==============================================================
 *
 *  STYLE RESET
 *
 * ============================================================ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-size: 10px;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ==============================================================
 *
 * RESET GEL DEFAULTS
 *
 * ============================================================ */

.skin-students a:hover, .skin-students a:active, .skin-students a:focus {
  background-color: transparent;
  border-bottom: none;
}

#wrapper {
  height: calc(100% - 78px);
  font-size: 1rem;
  width: 100vw;
}

/* ==============================================================
 *
 *  TYPOGRAPHY
 *
 * ============================================================ */

 @font-face {
  font-family: fsMeRegular;
  font-display: swap;
  src: url(https://cdn-dev.oxfordreadingbuddy.com/fonts/FSMeWeb-Regular.woff)
}

@font-face {
  font-family: fsMeRegular;
  font-weight: 700;
  font-display: swap;
  src: url(https://cdn-dev.oxfordreadingbuddy.com/fonts/FSMeWeb-Bold.woff)
}


/* ==============================================================
 *
 *  MAIN STYLES
 *
 * =========================================================== */

body, html { height: 100%; }

@media screen and (max-width: 700px) {
  html { min-width: unset; overflow-x: hidden; }
}

@media screen and (max-width: 1024px) {
  html { min-width: unset; overflow-x: hidden; }
}

body {
  background: #fff;
  font-family: "fsMeRegular", source-sans-pro, sans-serif;
  line-height: 19px;
  overflow: unset;
}

html.block-scroll, html.block-scroll body {
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  body.responsive { min-width: unset; }
}

.skin-students section.container{
  width: 100%
}

div#background-image {
  width: 100%;
  height: 120%;
  position: fixed;
  top: 0;
  left: 0;
  background: #5ba503 url("../images/background-owlworld.png") repeat-x 0 50%;
  background-position: top center;
}

/* --------------------------------------------------
 * Fixed Header
 * ----------------------------------------------- */
header#masthead {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: rgba(0,0,0,0.5);
}

header#masthead .container {
  height: 48px;
}

header#masthead #owl-logo {
  display: block;
  float: left;
  margin-top: 9px;
}

#home-logo {
  display: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #106892;
  border: 2px solid white;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

#home-logo > img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  margin: -21px 0 0 -20px;
}

#home-logo.show {
  transform: rotate(0deg);
  transition: all 0.8s cubic-bezier(0.605, -0.315, 0.385, 1.315); /* custom */
  transition-timing-function: cubic-bezier(0.605, -0.315, 0.385, 1.315); /* custom */
}

#home-logo:hover {
  transform: rotate(360deg);
}

.header-back-button {
  font-family: "fsMeRegular", source-sans-pro, sans-serif;
}



/* --------------------------------------------------
 * Main Navigation
 * ----------------------------------------------- */

nav#member-nav { float: right; }

nav#member-nav span {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  position: relative;
  top: 2px;
}

nav#member-nav a {
  display: inline-block;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  font-weight: 400;
  padding: 13px 35px 10px 35px;
  background: rgba(0,0,0,0.4);
  border-radius: 20px;
  margin-left: 15px;
  margin-top: 3px;
  transition: all 0.5s ease-in-out;
}

nav#member-nav a:hover { background: rgba(0,0,0,0.7); }

a.class-login-link {
  float: right;
  margin-top: 9px;
}

/* --------------------------------------------------
 * Main Navigation
 * ----------------------------------------------- */

section#main-container {
  position: static;
  min-height: 723px;
  vertical-align: top;
  transition: all 0.8s ease-in-out;
}

section#main-container.no-anim {
  transition: none;
}

section#main-container img#svg-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

div.inner-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.banner-holder {
  background: #6ed5b6 url(../images/tree-bg.svg) repeat-x center 100px;
  min-height: 300px;
  max-height: 600px;
  height: 50vmin;
  background-size: contain;
  background-position: center top;
}

@media screen and (max-width: 1025px) {
  .banner-holder {
    background-size: cover;
  }
}

@media screen and (max-width: 700px) {
  .banner-holder {
    height: auto;
    min-height: unset;
    padding-bottom: 0;
    background: #88d3b8;
  }
}

/* --------------------------------------------------
 * User collections (libraries)
 * ----------------------------------------------- */

.user-collections {
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 60px;
  padding: 0 20px;
}

@media screen and (max-width: 700px) {
  .user-collections {
    padding: 0 10px;
  }  
}

.user-collections h1 {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
}

.user-collections__listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px;
  grid-auto-rows: 258px;
}

@media screen and (max-width: 1024px) {
  body.responsive .user-collections__listing {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 700px) {
  body.responsive .user-collections__listing {
    grid-template-columns: 1fr;
  }
}

.collection-card {
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr max-content;
}

.collection-card:focus {
  outline: 2px solid #cf1c6d;
  box-shadow: inset 0 0 0 2px white;
}

.collection-card[data-page] {
  cursor: pointer;
}

.collection-card__display {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
  flex: 1;
  overflow: hidden;
}

.collection-card__display--teal {
  background-color: #1FBFBF;
}

.collection-card__display--yellow {
  background-color: #FFE800;
}

.collection-card__display--green {
  background-color: #5BA503;
}

.collection-card__display--grey {
  background-color: grey;
}

.collection-card__display--blue {
  background-color: #00b0d8;
}

.collection-card > br {
  display: none;
}

.collection-card__display img {
  width: 50%;
  object-fit: contain;
  max-height: 140px;
}

.collection-card__display img.collection-card__image--full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: unset;
}

.collection-card__details {
  padding: 20px;
  min-height: 104px;
  box-sizing: border-box;
  overflow: hidden;
}

.collection-card__details .line-1 {
  font-size: 20px;
  opacity: 0.6;
  margin-bottom: 14px;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 25px;
  color: #000;
}

.collection-card__details .line-1 .button {
  font-size: 20px;
  color: #000;
}

.collection-card__details .line-2 {
  font-size: 20px;
  font-weight: 800;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #000;
  opacity: 1;
  line-height: 25px;
}

.collection-card__details .line-1 a,
.collection-card__details .line-2 a {
  display: block;
  padding: 0;
  line-height: 25px;
}

/* --------------------------------------------------
 * Content
 * ----------------------------------------------- */

#close-book {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  z-index: 9999;
  cursor: pointer;
}

/* --------------------------------------------------
 * Pages
 * ----------------------------------------------- */

article.page {
  padding: 0;
  transition: none;
}

article.page .single{
  /* position: relative; */
  padding: 10px;
}

article.page .single section{
  border-radius: 10px;
  padding: 0;
  border-width: 0;
  background: #fff;
  margin-bottom: 40px;
}
article.page .single .search-form{
  border-radius: 10px;
}

/* --------------------------------------------------
 * Reusables
 * ----------------------------------------------- */

a.button {
  position: relative;
  display: inline-block;
}

a.button span {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  line-height: 28px;
  color: #fff;
  padding: 5px 50px 3px 20px;
  border-radius: 20px;
  border: 2px solid #5ba503;
  background: #5ba503;
  position: relative;
  box-shadow: 0 4px 0 -2px rgba(0,0,0,0.2), inset 0 4px 0 -2px rgba(255,255,255,0.2);
}

a.button img {
  display: block;
  width: 16px;
  height: auto;
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -12px;
}

a.button:hover span {
  transition: all 0.4s ease-in-out;
  border-color: #376402;
}

body:not(.safari) a.button:hover span {
  transform: rotateX(360deg);
  border-color: #376402;
}


/* --------------------------------------------------
 * Search form
 * ----------------------------------------------- */


.resource-filter-container .stylised-dropdown-container {
  cursor: pointer;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-decoration: none;
  color: #fff;
  padding: 5px 50px 5px 20px;
  margin: 15px 12px 0 0 !important;
  border-radius: 20px;
  border: 2px solid #1a99f1;
  border-bottom: none;
  background: #1a99f1;
  position: relative;
  box-shadow: 0 4px 0 -2px rgba(0,0,0,0.2), inset 0 4px 0 -2px rgba(255,255,255,0.2);
}

.resource-filter-container .stylised-dropdown-container.greyed {
  cursor: default;
}

.stylised-dropdown-container > img {
  display: block;
  width: 16px;
  height: auto;
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -12px;
}

.stylised-dropdown-container .stylised-dropdown-options {
  position: absolute;
  display: block;
  opacity: 0;
  height: 0;
  background: #fff;
  width: 280px;
  max-width: 280px;
  border-radius: 20px 20px 20px 20px;
  border: 2px solid #fff;
  top: 5px;
  overflow: hidden;
  left: -2px;
  box-shadow: 0 4px 0 -2px rgba(0,0,0,0.2);
}

.stylised-dropdown-container.active .stylised-dropdown-options {
  border-radius: 0 20px 20px 20px;
  border-color: #376402;
  opacity: 1;
  height: auto;
  z-index: 999;
  top: 33px;
  padding-bottom: 0;
  transition: top 0.4s ease-in-out,opacity 0.4s ease-in-out;
}

.resource-filter-container {
  overflow: visible;
}

.search-form .stylised-dropdown-container.active {
  border-radius: 8px 8px 0 0;
  transition: top 0.4s ease-in-out;
}

.search-form .stylised-dropdown-container::after {
  content: " ";
  opacity: 0;
  display: block;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  z-index: 1000;
  width: 176px;
  height: 4px;
}


.search-form .stylised-dropdown-container.active::after {
  content: " ";
  opacity: 1;
  display: block;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  z-index: 1000;
  width: 176px;
  height: 4px;
}

.stylised-dropdown-container .stylised-dropdown-options li, .stylised-dropdown-container .stylised-dropdown-options li.selected {
  color: #57585a;
  font-size: 16px;
  display: block;
  padding: 6px 20px;
  text-decoration: none;
  font-weight: 400;
  background-color: #fff;
  transition: all 0.4s ease-in-out;
}

.stylised-dropdown-container .stylised-dropdown-options li:not(.optgroup):hover,
.stylised-dropdown-container .stylised-dropdown-options li.selected:hover {
  background-color: #ececec;
}

.stylised-dropdown-container.active > img {
  transition: all 0.4s ease-in-out;
  transform: rotate(90deg);
}

.search-form {
  position: relative;
  min-height: 120px;
  background: #5ba503;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  padding: 16px;
  padding-right: 0;
  border-radius: 0 10px 0 0;
}

.search-form .search-container {
  background-color: transparent;
  padding: 0;
  margin: 0;
}

.resource-search-selects {
  height: 60px;
  margin-bottom: 10px;
}

.resource-search-selects select:focus {
  outline: 2px solid #bdbdc0;
}

.resource-search-selects .stylised-dropdown-container.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.resource-search-selects .stylised-dropdown-container .stylised-dropdown-options {
  border-width: 1px;
  border-radius: 8px;
  border-top-style: initial;
  border-color: #92c6f2;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  width: auto;
  right: 0;
  max-width: unset;
  margin: 0 -1px 0 1px;
  box-shadow: none;
}

.search-form .stylised-dropdown-container {
  width: 180px;
  background: #fff;
  border-color: #fff;
  color: #57585a;
  font-weight: 400;
  font-size: 18px;
  margin-right: 10px;
  padding: 5px;
}

.stylised-dropdown-container h4.selected-value {
  font-size: 18px;
  color: #808080;
}

.stylised-dropdown-container h3.selected-value-greyed {
  font-size: 18px;
}

.stylised-dropdown-container h4.selected-value:before {
  content: " ";
  position: absolute;
  top: 8px;
  right: 10px;
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("../images/icon-arrow-green-right.svg");
  background-repeat: no-repeat;
}

.stylised-dropdown-container.active h4.selected-value:before {
  top: 11px;
  transform: rotate(90deg);
  transition: all 0.4s ease-in-out;
}

.stylised-dropdown-container h4.selected-value:before {
  content: " ";
  position: absolute;
  top: 4px;
  right: 4px;
  display: block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Cpolygon fill='%231c9af2' points='27.67 22.33 20 30 12.33 22.33 27.67 22.33' /%3E%3Cpolygon fill='%231c9af2' points='12.33 17.67 20 10 27.67 17.67 12.33 17.67' /%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: -5px -4px;
}

.stylised-dropdown-container.active h4.selected-value:before {
  transform: none;
  top: 4px;
}

.autocomplete-suggestions {
  border: 1px solid #999;
  background: #FFF;
  cursor: default;
  overflow: auto;
  box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}

.autocomplete-suggestion {
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
  color: rgb(17, 105, 147);
}

.autocomplete-suggestion mark {
  background-color: transparent;
  color: rgb(17, 105, 147);
  font-weight: bold;
}

.autocomplete-suggestion-found-in {
  float: right;
  font-style: italic;
}

.autocomplete-selected {
  background: #F0F0F0;
}

.autocomplete-suggestions strong {
  font-weight: normal;
  color: #3399FF;
}

.search-form .ebook-search {
  backface-visibility: hidden;
}

#resource-search-field {
  font-family: 'heinemann-special', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: rgba(17,105,147,1);
  padding: 7px 10px 5px 20px;
  border-radius: 20px;
  width: 180px;
  margin: 15px 15px 0 0;
  border: none;
  outline: none;
  background: #d2effd;
  display: inline-block;
  box-sizing: border-box;
  box-shadow: inset 0 2px 0 0 rgba(17,105,147,0.2);
  transition: background-color 0.4s linear;
}

.search-form #resource-search-field:focus {
  outline: 2px solid #bdbdbf;
}

#resource-search-field.hidden {
  display: none !important;
}

#resource-search-field input[type="text"]::-webkit-input-placeholder { color: rgba(17,105,147,1); }
.search-form .ebook-search input[type="text"]:-moz-placeholder { color: rgba(17,105,147,1); }
.search-form .ebook-search input[type="text"]::-moz-placeholder { color: rgba(17,105,147,1); }
.search-form .ebook-search input[type="text"]:-ms-input-placeholder { color: rgba(17,105,147,1); }
.search-form .ebook-search input[type="text"]:hover,
.search-form .ebook-search input[type="text"]:focus { background-color: #FFF; }


.search-form .hide-search input[type=submit]{
  display: none;
}


/* --------------------------------------------------
 * Books search
 * ----------------------------------------------- */

.search-form .stylised-dropdown-container {
  width: calc(100% / 4 - 13px);
}

.search-form #resource-search-field {
  width: 100%;
  margin: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  justify-content: flex-start;
  display: inline-flex;
}

#ebook-search input[type=submit] {
  position: static;
  margin: 0;
  text-indent: -999em;
  width: 70px;
  padding-bottom: 3px;
  background-image: url("../images/streamline-icon-search.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  border: none !important;
  border-radius: 0 20px 20px 0;
}

@media screen and (max-width: 700px) {
  #ebook-search input[type=submit],
  .search-form #resource-search-field {
    border-radius: 20px;
  }
}

/* --------------------------------------------------
 * Rwipupils search
 * ----------------------------------------------- */

.search-form.rwipupils{
  min-height: 65px;
  position: relative;
  padding: 7px 0 1px 16px;
}

.search-form.rwipupils .stylised-dropdown-container::after {
  width: 263px;
}

.search-form.rwipupils::after{
  content: url("../images/characters.png");
  position: absolute;
  z-index: 1;
  bottom: -5px;
  right: 35px;
  display: none;;
}

.search-form.rwipupils .stylised-dropdown-container{
  width: 267px;
}

.search-form.rwipupils .stylised-dropdown-container .stylised-dropdown-options {
  background: #fff;
}

/* --------------------------------------------------
 * Floppy pupils search
 * ----------------------------------------------- */
.search-form.floppy_pupils{
  min-height: 65px;
  position: relative;
  padding: 7px 0 1px 16px;
}
.search-form.floppy_pupils .stylised-dropdown-container{
  width: 267px;
}

.search-form.floppy_pupils::after{
  content: url("../images/dog.png");
  position: absolute;
  z-index: 1;
  bottom: 33px;
  right: 9px;
  display: none;
}

.search-form.floppy_pupils .search-container .resource-search-selects .clear-filters {
  position: relative;
  margin: 0;
  z-index: 10;
}

/* --------------------------------------------------
 * Word sparks search
 * ----------------------------------------------- */
.search-form.word_sparks{
  min-height: 65px;
  position: relative;
  padding: 7px 0 1px 16px;
}
.search-form.word_sparks .stylised-dropdown-container{
  width: 267px;
}

.search-form.word_sparks::after{
  content: url("../images/headerimage.png");
  position: absolute;
  z-index: 1;
  bottom: 33px;
  right: 9px;
  display: none;
}

.search-form.word_sparks .search-container .resource-search-selects .clear-filters {
  position: relative;
  margin: 0;
  z-index: 10;
}


/* --------------------------------------------------
 * Letters And Sounds
 * ----------------------------------------------- */
.search-form.letters_and_sounds{
  min-height: 65px;
  position: relative;
  padding: 7px 0 1px 16px;
}
.search-form.letters_and_sounds .stylised-dropdown-container{
  width: 267px;
}

.search-form.letters_and_sounds .search-container .resource-search-selects .clear-filters {
  position: relative;
  margin: 0;
  z-index: 10;
}

/* --------------------------------------------------
 * Project X Code
 * ----------------------------------------------- */
.search-form.project_x_code{
  min-height: 65px;
  position: relative;
  padding: 7px 0 1px 16px;
}
.search-form.project_x_code .stylised-dropdown-container{
  width: 267px;
}

.search-form.project_x_code .search-container .resource-search-selects .clear-filters {
  position: relative;
  margin: 0;
  z-index: 10;
}

/* --------------------------------------------------
 * Tabs
 * ----------------------------------------------- */

#tabs.single .tab_section {
  border-radius: 10px;
}

#tabs.single #topTabs {
  display: none;
}

#tabs.single .tab_section .search-form {
  border-radius: 10px;
}

#tabs section.tab_section {
  padding: 0;
}

.ui-tabs {
  position: relative;
  padding: .2em;
}

.ui-tabs .ui-tabs-nav {
  position: relative;
  margin: 0;
  padding: 0;
  height: 61px;
  display: block;
}

.ui-tabs .ui-tabs-nav li {
  position: relative;
  list-style: none;
  float: left;
  position: relative;
  top: 0;
  margin: 0 10px 0 0;
  border-bottom-width: 0;
  padding: 0;
  white-space: nowrap;
}

.ui-tabs .ui-tabs-nav a {
  position: relative;
  display: block;
  padding: 21px 40px;
  border-bottom: none;
  text-decoration: none;
  cursor: pointer;
  font-size: 22px;
  font-weight: 600;
  color: #5ba503;
  outline: none;
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: inset 0 -8px 15px -6px rgba(0,0,0,0.2);
  z-index: 500;
  transition: background 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.ui-tabs .ui-tabs-nav :not(.ui-state-active) a:hover {
  padding-bottom: 25px;
  margin-top: -4px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
  position: relative;
  background: #5ba503;
  color: #fff;
  z-index: 500;
  box-shadow: none;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

.ui-tabs .ui-tabs-panel {
  display: block;
  border-width: 0;
  padding: 1em 1.4em;
  background: #fff;
  border-radius: 0 10px 10px 10px;
  margin-bottom: 40px;
}


/* --------------------------------------------------
 * Boxes
 * ----------------------------------------------- */

.box {
  display: block;
  background: #fff;
  border: 2px solid #fff;
}

.box > .box-header {
  display: block;
  background: #333;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  height: 60px;
  line-height: 60px;
  padding-left: 75px;
  position: relative;
  border-radius: 19px 19px 0 0;
}

.box > .box-header:after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 10px;
  width: 55px;
  height: 55px;
  max-height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 40px;
}

.books-box {
  width: 100%
}

.books-box > .box-header {
  background: #5ba503;
}
.books-box > .box-header:after {
  background-image: url("../images/box-icon-books.svg");
}


.box > .box-content { padding: 16px; }

#home-books {
  background-image: url("../images/bookmontage.png");
  background-position: bottom left;
  background-repeat: no-repeat;
  min-height: 150px;
  border-radius: 19px;
}

/* rwipupils box */

.rwipupils-box {
  width: 100%
}

.rwipupils-box > .box-header {
  background: #1a99f1;
}
.rwipupils-box > .box-header:after {
  background-image: url("../images/box-icon-rwipupils.svg");
}

.rwipupils-box > #home-rwipupils {
  background-image: url("../images/characters.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 150px;
  border-radius: 19px;
}

.rwipupils-box > #home-rwipupils > a.button span {
  border: #1a99f1;
  background: #1a99f1;

}

/* floppy-pupils box */

.floppy-pupils-box{
  width: 100%
}

.floppy-pupils-box > .box-header {
  background-color: #0095DA;
}

.floppy-pupils-box > .box-header:after {
  background-image: url("../images/box-icon-floppy_pupils.svg");
}

.floppy-pupils-box > #home-floppy-pupils {
  background-image: url("../images/dog.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 150px;
  border-radius: 19px;
}

.floppy-pupils-box > #home-floppy-pupils > a.button span {
  border: #1a99f1;
  background: #0095DA;

}

/* word-sparks box */

.word-sparks-box{
  width: 100%
}

.word-sparks-box > .box-header {
  background-color: #5ba503;
}

.word-sparks-box > .box-header:after {
  background-image: url("../images/box-icon-word_sparks.svg");
}

.word-sparks-box > #home-word-sparks {
  background-image: url("../images/bookmontage-word-sparks.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 150px;
  border-radius: 19px;
}

.word-sparks-box > #home-word-sparks > a.button span {
  border: #5ba503;
  background: #5ba503;

}

/* letters-and-sounds box */

.letters-and-sounds-box{
  width: 100%
}

.letters-and-sounds-box > .box-header {
  background-color: #e84329;
  font-size: 20px;
}

.letters-and-sounds-box > .box-header:after {
  background-image: url("../images/Tile_Logo_55_55px.svg");
}

.letters-and-sounds-box > #home-letters-and-sounds {
  background-image: url("../images/letters-and-sounds_460x182px.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 150px;
  border-radius: 19px;
}

.letters-and-sounds-box > #home-letters-and-sounds > a.button span {
  border: #e84329;
  background: #e84329;
}

/* project-x-code */

.project-x-code-box{
  width: 100%
}

.project-x-code-box > .box-header {
  background-color: #FFDD33;
  font-size: 20px;
}

.project-x-code-box > .box-header:after {
  background-image: url("../images/Tile_Logo_55_55px.svg");
}

.project-x-code-box > #home-project-x-code {
  background-image: url("../images/project_x.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 150px;
  border-radius: 19px;
}

.project-x-code-box > #home-project-x-code > a.button span {
  border: #FFDD33;
  background: #FFDD33;

}

/* parent box */

.parents-box {
  width: 311px;
}

.parents-box > .box-header {
  background: #7f82bc;
}

.parents-box > .box-header:after {
  background-image: url("../images/box-icon-parents.svg");
}

#home-parents {
  min-height: 150px;
  border-radius: 19px;
  font-family: source-sans-pro, sans-serif;
  background: url("../images/faded-owl.svg") no-repeat 180px 60px;
}

#home-parents a {
  display: inline-block;
  text-decoration: underline;
  color: #ce1c6d;
}

.home-parents a:hover {
  color: #fff; background: #ce1c6d;
}

.empty-search-box {
  padding: 30px;
  padding-top: 15px;
}

.empty-search-box > p {
  font-size: 18px;
  color: #777;
}

.heading--mb-15 {
  margin-bottom: 15px;
}

.heading--mt-30 {
  margin-top: 30px;
}

.rwipupils_contents-box {
  width:  460px;
}


.wallpaper-box {
  float: right;
  margin-top: 20px;
  width: 311px;
}

.wallpaper-box .box-header {
  background: #1a99f1;
}

.wallpaper-box .box-header:after {
  background-image: url("../images/box-icon-wallpaper.svg")
}

.wallpaper_drop{
  width: 230px;
}



.stylised-dropdown-container.wallpaper_drop.hover {
  border-top: 2px solid #106892;
  border-left: 2px solid #106892;
  border-right: 2px solid #106892;
  border-radius: 20px 20px 0 0;
}

.stylised-dropdown-container.wallpaper_drop .stylised-dropdown-options {
  width: 226px;
  background-color: #1a99f1;
  border-top: 2px solid #106892;
  border-left: 2px solid #106892;
  border-right: 2px solid #106892;
  border-top: none;
  border-radius: 0 0 20px 20px;
}

.stylised-dropdown-container.wallpaper_drop .stylised-dropdown-options li {
  background-color: #1a99f1;
}

.stylised-dropdown-container.wallpaper_drop .stylised-dropdown-options li:hover {
  background-color: #1ba1fe;
}

.stylised-dropdown-container.wallpaper_drop .stylised-dropdown-options li.active {
  background-color: #1789d7;
}

.stylised-dropdown-container.wallpaper_drop .stylised-dropdown-options li a {
  color: #ffffff;
  display: inline-block;
  width: 100%;
}

/* -------------------------------------------------------
| SEARCH
------------------------------------------------------ */

.search-form-line2{
  margin-top:16px;
}

.search-container .clear-filters{
  display: inline-block;
  width: 176px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  font-weight: 300;
  margin-top: 0;
  border-radius: 20px;
  border: 2px solid #569df3;
  padding: 10px 0 10px 0;
  cursor:pointer;
  text-align:center;
  background-color: #5091f1;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 4px 0 -2px rgba(0,0,0,0.2), inset 0 4px 0 -2px rgba(255,255,255,0.2);
  line-height: normal;
}

.search-container .clear-filters a {
  color: #ffffff;
}

.search-container .clear-filters:hover {
  transition: 0s;
}

.search-form-line2 .right{
  margin-left:442px;
}

.search-form-line2 .left{
  float:left;
}

.temp-header {
  width: 100%;
  margin: 20px 0 5px 0;
  color: #57585a;
  font-size: 18px;
  text-align: center;
  background: url("../images/temp-header-lines.png") repeat-x center center;
}

/* --------------------------------------------------
 * Bookshelf
 * ----------------------------------------------- */

ul.bookshelf {
  display: block;
  width: 100%;
  list-style: none;
  padding: 15px 0;
  font-size: 0;
}

ul.bookshelf li {
  display: inline-block;
  text-align: center;
  width: 33.3333%;
  height: 130px;
  margin-bottom: 18px;
}

ul.bookshelf li img {
  max-width: 140px;
  max-height: 120px;
  transition: all 300ms;
  box-shadow: 0 6px 10px -4px rgba(0,0,0,0.5);
  backface-visibility: hidden;
  transform: scale(1) translate3d(0, 0, 0);
}

ul.bookshelf li a:hover img {
  transform: scale(1) translate3d(0, 0, 0);
  box-shadow: 0 6px 12px -4px rgba(0,0,0,0.4);
}

ul.bookshelf li img.hide {
  opacity: 0;
  transform: scale(0) rotateY(360deg) translate3d(0, 0, 0);
}


/* --------------------------------------------------
 * Resource search list
 * ----------------------------------------------- */

ul.resource_search {
  list-style: none;
  padding: 15px 15px;
}

ul.resource_search .row{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  width: 100%;
  margin-top: 2em;
  border-bottom: 2px solid #5ba503;
}

ul.resource_search li {
  width: calc(100%/3);
  box-sizing: border-box;
  padding: 0 27px;
  height: auto;
  min-height: 264px;
  text-align: left;
}

li.resource-file > div {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 20px;
}

ul.resource_search li a {
  display: block;
}

ul.resource_search li a span.resource-title {
  display: block;
  margin: 22px 0 10px 0;
  text-align: left;
  border-bottom: 1px dotted #cf1c6d;
  text-decoration: none;
}

ul.resource_search li a:hover span,
ul.resource_search li a:focus span{
  background-color: #cf1c6d;
  color: #fff;
}

ul.resource_search li img {
  max-width: 200px;
  display: block;
  width: 200px;
  max-height: 134px;
  height: 134px;
  transition: all 300ms;
  box-shadow: 0 6px 10px -4px rgba(0,0,0,0.5);
  backface-visibility: hidden;
  transform: scale(1) translate3d(0, 0, 0);
}

ul.resource_search li.book img {
  margin: auto;
  width: 116px;
}

ul.resource_search li a:hover img {
  transform: scale(1.1) translate3d(0, 0, 0);
  box-shadow: 0 6px 12px -4px rgba(0,0,0,0.4);
}

ul.resource_search li img.hide {
  opacity: 0;
  transform: scale(0) rotateY(360deg) translate3d(0, 0, 0);
}

/* --------------------------------------------------
 * iFrame Stuff
 * ----------------------------------------------- */

#inside-book-container {
  width: 100%;
  overflow: hidden;
  z-index: 999;
  position: fixed;
  top: 50%;
  left: 0;
  height: 0;
  transform: scale(0);
  transition: all 0.6s ease-in-out;
}

#inside-book-container.open {
  transform:   scale(1);
  height: 100% !important;
  top: 0 !important;
  left: 0;
}

#inside-book-container.test {
  transform: scale(1);
}

#inside-book-container #inside-book {
  width: 100%;
  height: 100%;
  background-color: #D9D0C8;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/* --------------------------------------------------
 * resources LO iframe view
 * ----------------------------------------------- */

.skin-students #mission-preview iframe,
.skin-student #mission-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.skin-students #mission-preview,
.skin-student #mission-preview {
  width: 1004px;
  height: 676px;
  bottom: 0;
  margin: auto;
  padding: 0;
  right: 0;
  top: 0;
  left: 0;
  border: none;
}

.skin-students #mission-preview.lightbox-fullscreen,
.skin-student #mission-preview.lightbox-fullscreen {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.skin-students #mission-preview .close-button,
.skin-student #mission-preview .close-button {
  display: none;
}

/* --------------------------------------------------
 * Pagination
 * ----------------------------------------------- */

.pagination {
  padding-bottom: 40px;
  list-style-type: none;
  text-align: center;
  clear: both;
}

.pagination span.disabled {
  display: none;
}

.pagination a, .pagination .current {
  display: inline-block;
  border: 0;
  color: #333333;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  background-color: #dfe0e1;
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #333;
  color: #fff;
}

.pagination .current {
  background-color: #498302 !important;
  color: #fff;
}

.pagination a.previous_page { margin-right: 10px; }
.pagination a.next_page { margin-left: 10px; }

.pagination a.previous_page,
.pagination a.next_page {
  width: auto;
  background: transparent;
}

.pagination a.previous_page:hover,
.pagination a.next_page:hover {
  background: transparent;
  color: #498302;
}

#global-masthead {
  height: 70px;
  background-color: white;
}

#masthead-top {
  height: 100%;
  display: flex;
  background: white;
  align-items: center;
  justify-content: center;
}

#masthead-inner {
  margin: 0;
  width: 100%;
}

#masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

@media screen and (max-width: 700px) {
  #masthead-inner {
    padding: 0 10px;
  }
}

body.responsive #global-masthead .logout-link,
body.responsive #global-masthead .help-link {
  float: none;
  padding: 0;
  background: transparent;
  color: #000;
  font-size: 20px;
  text-decoration: underline;
  margin-left: 20px;
}

body.responsive #global-masthead .logout-link:hover,
body.responsive #global-masthead .logout-link:active,
body.responsive #global-masthead .help-link:hover,
body.responsive #global-masthead .help-link:active {
  background-color: transparent;
  color: #000;
}

#masthead-top .header-logo {
  float: none;
  margin: 0;
  width: 180px;
  height: 43px;
  background: url('../images/owl-logo-pale.svg') no-repeat center;
  background-size: contain;
}

#masthead-top .header-controls {
  font-size: 20px;
  display: flex;
}

#masthead-top .header-controls-user {
  margin: 0;
  display: flex;
  align-items: center;
  color: #000;
}

@media screen and (max-width: 700px) {
  #masthead-top .header-controls-user {
    display: none;
  }
}

@media (max-width: 630px) {
  body.responsive #masthead-inner .platform-menu, body.responsive #masthead-inner .logout-link, body.responsive #masthead-inner nav#member-nav {
    display: block;
  }
}

/* ANZ SPECIFIC CSS */

body.anz #home-books {
  background-image: url("../images/anz_bookmontage.png");
}

#filter_loader {
  border: 2px solid #5ba503;
  background-color: #ffffff;
  color: #5ba503;
}


#large-filter-loader div.ellipsis {
  color: #5ba503;
}

.pupils-ebooks.search-container .clear-filters{
  margin-left: 0;
}

#cover-search-loading{
  z-index: 1010;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.load-more{
  display: none;
}

@media screen and (max-width: 500px) {
  body.responsive {
    min-width: unset;
    overflow-x: hidden;
    overflow: unset;
  }

  body.responsive section#main-container {
    width: auto;
  }

  body.responsive div.inner-container {
    width: auto;
  }

  body.responsive .resource-search-selects {
    height: auto;
    padding: 0 10px;
    margin: 0;
  }

  body.responsive article.page .single .search-form {
    padding: 15px;
  }

  body.responsive article.page .single .search-form {
    padding: 15px;
  }

  body.responsive #ebook-search {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  body.responsive section#main-container {
    min-width: unset;
    width: auto;
  }

  body.responsive section#main-container img#svg-background {
    display: none;
  }
}

/**
 * Home page tiles
**/
.notification-container {
  max-width: 1300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  margin: -130px auto 60px auto;
  padding: 0 20px;
}

@media screen and (max-width: 700px) {
  body.responsive .notification-container {
    grid-template-columns: 1fr;
    width: auto;
    background: #f1f1f1;
    padding: 20px 10px;
    margin: 0;
    grid-gap: 20px;
    margin-bottom: 20px;
  }
}

.notification-card {
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: grid;
  grid-template-columns: 120px 1fr;
  height: 154px;
  border: 3px solid white;
}

.notification-card:focus {
  outline: 2px solid #cf1c6d;
  box-shadow: inset 0 0 0 2px white;
}

.notification-card__image {
  height: 100%;
  background: #eee;
  padding: 5px;
  box-sizing: border-box;
}

.notification-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 154px;
  vertical-align: middle;
}

.notification-card--placeholder {
  cursor: auto;
}

.notification-card--placeholder .notification-card__image {
  display: flex;
  background: #eee;
  margin: 2px;
  height: auto;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.notification-card--placeholder .notification-card__image img {
  width: 60px;
  height: 60px;
  vertical-align: middle;
  justify-self: center;
  margin: auto;
}

.notification-card .tag-highlight {
  margin-bottom: 12px;
}

.notification-card__text {
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

.notification-card .line-1 {
  font-size: 20px;
  opacity: 0.6;
  margin-bottom: 12px;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 23px;
}

.notification-card .line-2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #000;
  min-height: 23px;
}

.tag-highlight {
  background-color: #dadada;
  padding: 5px 10px;
  width: max-content;
  border-radius: 5px;
  font-size: 20px;
  color: #000;
}

.tag-highlight.tag-highlight--progress {
  background-color: #9FDB68;
}

.tag-highlight.tag-highlight--homework {
  background-color: #78DEFD;
}

@media screen and (max-width: 700px) {
  .notification-card {
    position: relative;
    height: auto;
    grid-template-columns: 1fr;
  }

  .notification-card .tag-highlight {
    font-size: 16px;
  }

  .notification-card__image {
    padding: 0;
  }

  .notification-card__image img {
    position: absolute;
    width: auto;
    top: 10px;
    right: 10px;
    height: 64px;
  }

  .notification-card__text {
    justify-content: flex-start;
    padding: 10px;
  }

  .notification-card .line-1 {
    order: 2;
    font-size: 16px;
  }

  .notification-card .line-2 {
    order: 3;
    margin: 0;
    white-space: normal;
    line-height: normal;
    font-size: 16px;
  }
}

.book-item-details {
  position: absolute;
  left: 0;
  background: #f1f1f1;
  right: 0;
  color: #000;
  font-size: 14px;
  text-align: left;
  z-index: 2;
  margin-top: 15px;
  padding: 1em;
  box-sizing: border-box;
  display: none;
  border-radius: 0;
}

.book-item-details-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

.book-finish-container {
  position: absolute;
  left: 3px;
  background: #f1f1f1;
  right: 0;
  color: #000;
  font-size: 14px;
  text-align: left;
  z-index: 2;
  margin-top: 15px;
  padding: 1em;
  box-sizing: border-box;
  display: none;
  border-radius: 0;
}

.book-item-details-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

@media screen and (max-width: 700px) {

  /*
  * Updates
  **/
  .book-item-details {
    padding: 0;
    background: white;
  }

  .book-item-details .book-data {
    margin: -1em;
    padding: 16px;
  }

  .book-item-details .book-data h3 {
    height: 56px;
    margin: 0;
    line-height: 56px;
    margin-top: -14px;
    margin-left: -14px;
    padding-left: 10px;
    width: calc(100vw - 66px);
    background: #f1f1f1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
  }

  body.skin-students .book-item-details .book-data .close-details {
    width: 56px;
    height: 56px;
    top: 0;
    right: 0;
    border-radius: 0;
  }

  body.skin-students .book-item-details .book-data .close-details svg {
    width: 18px;
    height: 18px;
  }

  /*
  * Updates
  **/
  .book-item-details {
    padding: 0;
    background: white;
  }

  .book-item-details .book-data {
    margin: -1em;
    padding: 16px;
  }

  .book-item-details .book-data h3 {
    height: 56px;
    margin: 0;
    line-height: 56px;
    margin-top: -14px;
    margin-left: -14px;
    padding-left: 10px;
    width: calc(100vw - 66px);
    background: #f1f1f1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
  }

  body.skin-students .book-item-details .book-data .close-details {
    width: 56px;
    height: 56px;
    top: 0;
    right: 0;
    border-radius: 0;
  }

  body.skin-students .book-item-details .book-data .close-details svg {
    width: 18px;
    height: 18px;
  }
}

.book-item[data-item-state="expanded"] .book-item-details {
  display: block;
}

.book-item-details-wrap {
  padding: 1em;
  box-sizing: border-box;
}

.book-data {
  font-size: 16px;
  line-height: normal;
}

.book-data h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: normal;
}

.book-data > div:not(.book-data-button-wrap) {
  margin-top: 10px;
}

.book-data-button-wrap {
  margin: 25px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.book-data-button,
.book-data-button:hover,
.book-data-button:active {
  border: none;
  background-color: #1c9af2 !important;
  border-radius: 40px;
  height: 40px;
  color: white !important;
  font-size: 20px;
  padding: 0 24px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.book-data-button.book-data-link {
  background-color: transparent !important;
  text-decoration: underline;
  color: #000 !important;
  font-weight: normal;
}

.book-data-button.secondary {
  background-color: white !important;
  color: #000 !important;
  border: 1px solid #ccc;
}

.book-data-button svg {
  margin-right: 8px;
  width: 34px;
}

.book-data-button.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.book-item-button,
.book-item-button:hover,
.book-item-button:active {
  border: none;
  background-color: #1c9af2;
  border-radius: 40px;
  height: 40px;
  color: white;
  font-size: 18px;
  padding: 0 24px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.book-item-button.secondary {
  background: #fff;
  color: #000;;
  border: 1px solid #333;
}

.book-item-button.secondary:hover {
  background: #fff;;
}

.book-item-button:disabled,
.book-item-button.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.book-item-details-wrap .close-details {
  position: absolute;
  top: 1em;
  right: 1em;
  width: 30px;
  height: 30px;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  cursor: pointer;
  border: none;
  background: #1c9af2;
  border-radius: 50px;
  padding: 0;
}

.book-item-details-wrap .close-details svg {
  width: 14px;
  height: 14px;
  color: white;
}

.book-item[data-item-state="expanded"] a.js-digital-book-opener {
  position: relative;
  display: block;
}

.book-item[data-item-state="expanded"] a.js-digital-book-opener::after,
.dynamic-resource.book-item[data-item-state="expanded"] .dynamic-resourse-body::after {
  content: '';
  width: 14px;
  height: 14px;
  position: absolute;
  background-color: #f1f1f1;
  transform: rotate(45deg);
  left: 20px;
  top: 100%;
  margin-top: 52px;
}

.dynamic-resource.book-item[data-item-state="expanded"] .dynamic-resourse-body::after {
  margin-top: 18px;
  left: 0;
}

.book-item-title {
  font-size: 20px;
  font-weight: 400;
  margin-top: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 25px;
  text-align: left;
}

.book-metadata {
  background-color: transparent;
  display: none;
  font-weight: 400;
  margin: 20px 0 -27px;
  padding: 20px 0;
  position: relative;
}

.book-metadata::before {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #c0c0c0;
  content: '';
  margin-top: -16px;
}

.book-metadata-items {
  display: flex;
  flex-wrap: wrap;
  color: #000;
}

.book-metadata-items span {
  line-height: normal;
}

.book-metadata-items span::after {
  content: '|';
  margin: 0 10px;
  color: #000;
}

.book-metadata-items span:last-of-type::after {
  display: none;
  content: none;
}

.book-metadata strong {
  font-weight: 700;
  color: #000;
}

.book-additional-info[data-block-state="expanded"] [data-action="expand"] {
  display: none;
}

.book-additional-info[data-block-state="expanded"] .book-metadata {
  display: block;
}

.book-metadata-link a {
  color:#000;
  text-decoration: underline;
  display: inline-block;
}

.book-metadata-link a:hover {
  color: #000;
}

.book-metadata .book-metadata-link {
  margin-top: 16px;
}

@media screen and (max-width: 700px) {
  body.responsive .book-item-details {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    margin: 0;
    z-index: 10000;
  }
}

/*
 * Fixes for dynamic-resource mobile
*/

@media screen and (max-width: 700px) {
  .dynamic-resource .book-data h3 {
    white-space: nowrap;
    background: #f1f1f1;
    height: 56px;
    margin-top: -14px;
    margin-left: -14px;
    width: calc(100vw - 66px);
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
    line-height: 56px;
    padding-left: 10px;
  }

  body.skin-students .dynamic-resource .close-details {
    width: 56px;
    height: 56px;
  }

  body.skin-students .dynamic-resource .close-details svg {
    width: 18px;
    height: 18px;
  }

  .dynamic-resource .book-item-details {
    background: white;
  }
}

.navItem {
  border-radius: 10px;
  line-height: 70px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
  height: 50px;
  width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skin-students a.navItem.active,
.skin-student a.navItem.active,
.skin-progress a.navItem.active {
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: #000 !important;
}

.top-menu {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  height: 78px;
  padding: 0 4px;
  grid-gap: 16px;
}

.top-menu.homework .navItem.active {
  background: #C8F2FE;
}

.top-menu .link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-menu  .homework-counter {
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  border-radius: 40px;
  height: 40px;
  width: 40px;
}

.top-menu  .homework-counter-value {
  font-size: 22px;
}

/** Student Books **/
.section-header {
  padding: 50px 0;
  background-color: green;
  min-height: 240px;
  box-sizing: border-box;
  display: flex;
}

.section-header__name {
  color: #000;
}

.section-header__name h1 {
  font-size: 40px;
  line-height: normal;
  font-weight: bold;
}

.section-header__name h2 {
  font-size: 25px;
  line-height: normal;
  font-weight: 600;
}


@media screen and (max-width: 700px) {
  .section-header__name {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .section-header__name h1,
  .section-header__name h2 {
    font-size: 24px;
  }
}

.section-header.section-header--green {
  background-color: #478300;
}

.section-header.section-header--project_x_code, .section-header.section-header--yellow {
  background-color: #fce84e;
}

.section-header.section-header--rwipupils, .section-header.section-header--teal {
  background-color: #5abcbe;
}

.section-header.section-header--project_x_code .section-header__name {
  color: #000;
}

.section-header .section-header--black {
  color: #000;
}

.section-header__content {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.section-filters {
  background: #f1f1f1;
  padding: 30px 0;
  margin-bottom: 40px;
}

.section-filters .search-form {
  border: none;
  border-radius: 0;
  background: transparent;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

#ebook-search {
  margin-bottom: 20px;
}

#ebook-search-inner {
  float: none;
}

.search-form #resource-search-field {
  float: none;
  border: 1px solid #92c6f2;
  background: white;
  box-shadow: none;
}

#ebook-search-inner input[type="submit"] {
  box-shadow: none;
  background-color: #1c9af2;
  border: #1c9af2;
  bottom: 0;
}

.resource-search-selects {
  grid-template-columns: 1fr 1fr auto;
  display: grid;
  grid-gap: 20px;
  align-items: center;
  height: auto;
  margin: 0;
}

@media screen and (max-width: 700px) {
  .resource-search-selects {
    grid-template-columns: 1fr;
    padding: 0 1em;
  }

  #ebook-search {
    padding: 0 1em;
  }

  .section-filters {
    padding: 20px 0;
  }

  .section-filters .search-form {
    margin: 0;
    padding: 0;
  }
}

.resource-search-selects .stylised-dropdown-container {
  float: none;
  margin: 0 !important;
  width: 100% !important;
  display: block;
  position: relative;
  border-radius: 10px;
  border: 1px solid #92c6f2;
  box-shadow: none;
}

article.page .resource-search-selects .stylised-dropdown-container::after {
  display: none;
}

.resource-search-selects .clear-filters {
  float: none;
  margin: 0;
  justify-self: flex-start;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: -webkit-auto;
  padding: 0;
}

.resource-search-selects .clear-filters a {
  color: #000;
  text-decoration: underline;
  font-weight: 400;
}

.top-menu.progress {
  margin-bottom: 28px;
}

/*
 * Header Navigation
 */
.header-navigation {
  width: 100%;
}

.header-navigation .top-menu {
  position: relative;
  overflow: hidden;
  height: 100px;
}

.header-navigation__owl {
  position: absolute;
  bottom: -44px;
  right: 0;
  width: 140px;
  pointer-events: none;
  display: none;
}

@media screen and (min-width: 700px) {
  .header-navigation {
    justify-content: center;
    display: flex;
  }

  .header-navigation .top-menu {
    display: inline-grid;
  }
}

@media screen and (max-width: 700px) {
  .header-navigation__owl {
    display: block;
  }
}

.header-navigation--transparent {
  background-color: transparent;
}

.header-navigation--blue {
  background-color: #79DEFD;
}

.header-navigation--green {
  background-color: #9FDB68;
}

.header-navigation .top-menu {
  max-width: 960px;
  margin: 0 auto;
}

@media screen and (max-width: 700px) {
  .header-navigation {
    padding: 0;
  }

  .header-navigation .top-menu {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    height: auto;
    padding: 0;
  }
}

.header-navigation .top-menu .link .navItem {
  background-color: transparent;
  color: #000;
  font-size: 28px;
  height: 70px;
  user-select: none;
  font-weight: bold;
}

.header-navigation .top-menu .link .navItem:focus {
  outline: 2px solid #cf1c6d;
  box-shadow: inset 0 0 0 2px white;
  border-radius: 0;
}

.header-navigation .top-menu .link .navItem.active {
  pointer-events: none;
}

@media screen and (max-width: 700px) {
  .header-navigation .top-menu {
    grid-gap: 0;
  }

  .header-navigation .top-menu .link .navItem {
    width: 100%;
    justify-content: flex-start;
    padding: 0 10px;
    border-radius: 0;
  }
}

.header-navigation .top-menu .link .navItem:not(.active):hover {
  background-color: transparent !important;
  color: #000 !important;
}


/* 
 * Homework
 */

#wrapper {
  height: auto;
  width: 100%;
}

article#homework {
  min-height: calc(100vh - 70px - 78px);
}

#homework .homework-root {
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 1300px;
  margin-top: 20px;
  padding-top: 20px;
}

#homework .homework-list {
  list-style-type: none;
  margin-bottom: 20px;
}

#homework .homework-list__paging,
#progress .progress-list__paging {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* #homework .homework-list__paging button, */
#progress .progress-list__paging button {
  height: 40px;
  border: 1px solid #000;
  color: #000;
  border-radius: 40px;
  padding: 10px 16px;
  font-size: 16px;
  margin-top: 20px;
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  font-family: inherit;
  line-height: 16px;
  cursor: pointer;
}

#homework .homework-list .homework-list__item[data-ui-state] [data-details] {
  display: none;
}

#homework .homework-list .homework-list__item[data-ui-state="expanded"] [data-details] {
  display: block;
  background-color: #f1f1f1;
  padding: 20px 40px;
  margin-top: 20px;
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 0;
  max-width: unset;
}

@media screen and (max-width: 700px) {
  body.responsive #homework .homework-list .homework-list__item[data-ui-state="expanded"] [data-details] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    margin: 0;
    background: white;
    padding: 20px;
    padding-top: 70px;
  }
}

#homework .homework-item,
#homework .homework-item-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#homework .homework-item {
  cursor: pointer;
}

#homework .homework-list__item {
  margin-bottom: 40px;
}

#homework .homework-item__poster,
.skin-students .book-item__poster {
  width: 150px;
  min-width: 150px;
  min-height: 100px;
  margin-right: 20px;
  position: relative;
}

.skin-students .book-item__poster::after {
  content: '';
  top: 100%;
  margin-top: 10px;
  width: 20px;
  height: 20px;
  background-color: #f1f1f1;
  transform-origin: center;
  transform: rotate(45deg);
  left: 50%;
  margin-left: -10px;
  z-index: 1;
  display: none;
  position: absolute;
}

#homework .homework-item__finish-book .homework-item__poster::after,
#homework .homework-item__submission .homework-item__poster::after {
  background-color: #d6f5fe;
}

#homework .homework-list .homework-list__item[data-ui-state="expanded"] .homework-item__poster::after,
.skin-students .book-list .book-list__item[data-ui-state="expanded"] .book-item__poster::after {
  display: block;
}

#homework .homework-item__poster img,
.skin-students #book--item__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#homework .homework-item__details,
.skin-students .book-item__details {
  padding: 0;
}

#homework .homework-item__details h2,
.skin-students .book-item__details h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  word-break: break-word;
  color: #000;
  line-height: normal;
}

#homework .homework-item__details p,
.skin-students .book-item__details p {
  font-size: 20px;
  margin-bottom: 6px;
  color: #000;
  line-height: normal;
}

#homework .homework-item__details small,
.skin-students .book-item__details small {
  color: rgba(0,0,0,0.6);
  font-size: 20px;
  line-height: normal;
}

@media screen and (max-width: 700px) {
  #homework .homework-item__details h2,
  #homework .homework-item__details p,
  #homework .homework-item__details small {
    font-size: 16px;
  }
}

#homework .homework-item__data,
.skin-students .book-item__data {
  position: relative;
  border-radius: 3px;
}

#homework .homework-item__data h2,
.skin-students .book-item__data h2 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: normal;
}

#homework .homework-item__data-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

#homework .homework-root .close-details,
.skin-students .book-item__finish-book .book-item__panel-title .close-details,
.skin-students .book-item-details-wrap .book-item__panel-title .close-details {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  cursor: pointer;
  border: none;
  background: #1c9af2;
  border-radius: 50px;
  padding: 0;
}

#homework .homework-root .close-details {
  margin: 0;
}

@media screen and (max-width: 700px) {
  body.responsive #homework .homework-root .close-details,
  body.skin-students .close-details {
    width: 50px;
    height: 50px;
    top: 0;
    right: 0;
    border-radius: 0;
    z-index: 1;
    margin-right: 0;
  }
}

#homework .homework-root .close-details svg,
.skin-students .close-details svg {
  width: 14px;
  height: 14px;
  color: white;
}

#homework .homework-item__description h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

@media screen and (max-width: 700px) {

  #homework .homework-item__description h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  #homework .homework-item__panel-title h4 {
    white-space: nowrap;
    width: calc(100vw - 66px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.responsive #homework .homework-item__description h2 {
    line-height: 56px;
    white-space: nowrap;
    background: #f1f1f1;
    position: absolute;
    left: 0;
    top: 0;
    height: 56px;
    right: 56px;
    display: block;
    align-items: center;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0;
  }

  #homework .homework-root .close-details svg, .skin-students .close-details svg {
    width: 18px;
    height: 18px;
  }
}

#homework .homework-item__description p {
  line-height: normal;
}

#homework .homework-item__description {
  margin-bottom: 20px;
}

#homework .homework-quote.teacher-comment {
  display: block;
  margin-bottom: 20px;
}

#homework .homework-quote.teacher-comment small {
  color: rgba(0,0,0,0.6);
  font-size: 15px;
}

.assignment-quote__text,
.homework-quote__text {
  background-color: #77defd;
  color: #000;
  padding: 10px 12px;
  border-radius: 6px;
  position: relative;
  margin-bottom: 12px;
  word-break: break-word;
  line-height: normal;
  max-width: 600px;
  line-height: 1.5;
}

.homework-quote__actor,
.assignment-quote__actor {
  color: rgba(0,0,0,0.6);
}

.assignment-quote__text::after,
.homework-quote__text::after {
  content: '';
  width: 14px;
  height: 14px;
  display: block;
  background-color: #77defd;
  position: absolute;
  top: 100%;
  left: 15px;
  transform: rotate(45deg);
  transform-origin: center;
  margin-top: -7px;
}

#homework .homework-item__buttons {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin-top: 20px;
}

/* #homework .homework-root button,
#homework .homework-root input[type="submit"], */
#select-file {
  position: relative;
  border: none;
  background-color: #1c9af2;
  border-radius: 40px;
  height: 40px;
  color: white;
  font-size: 18px;
  padding: 0 24px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-right: 20px;
  white-space: nowrap;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#select-file {
  margin: 15px 0 0;
}

.homework-root button.secondary {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.homework-root button.secondary:hover {
  background: #fff;
}

#homework .homework-root  button a {
  color: #fff;
  width: 100%;
  height: 100%;
  line-height: 2.4rem;
}

#homework .homework-root button:hover,
#homework .homework-root  button a:hover,
#homework .homework-root  button a:focus {
  background: #1c9af2;
}

#homework .homework-root .homework__finish-ebook {
  color: #000;
  text-decoration: underline;
  text-decoration: underline;
  line-height: 2.2rem;
}

@media screen and (max-width: 700px) {
  #homework .homework-root .homework__finish-ebook {
    border-left: none;
  }

  .homework-root .ui-helper-popup__buttons .book-item-button {
    font-size: 16px;
  }
}

#homework .homework-root .homework__finish-ebook:hover,
#homework .homework-root .homework__finish-ebook:focus {
  background: initial;
  border-right: none;
  border-bottom: none;
  border-top: none;
}

#homework .homework-root  button svg {
  width: 30px;
  color: #fff;
}

#homework .due-date-indicator {
  margin-bottom: 20px;
}

.book-item-details-wrap .due-date-indicator h3,
#homework .due-date-indicator h3 {
  line-height: 20px;
  font-weight: bold;
  background: transparent;
  height: auto;
  line-height: normal;
}

#homework .homework-item__info a,
#homework .homework-item__info a:hover,
#homework .homework-item__info a:active {
  color: #000;
  font-size: 16px;
  border: none;
  text-decoration: underline;
  background-color: transparent;
}

#homework .homework-item__info-data {
  margin-top: 10px;
  border-top: 1px solid #aaa;
  padding-top: 10px;
  margin-bottom: 20px;
}

#homework .homework-item__submission, #homework .homework-item__finish-book,
.book-item__submission, .book-item__finish-book {
  margin: 20px 0;
  display: none;
}

.skin-students .book-item__submission-files {
  background-color: #f1f1f1;
  padding: 20px;
  margin: 30px 0;
  text-align: center;
}

.homework-item__files-list .remove {
  cursor: pointer;
  width: fit-content;
}

.homework-item__files-list h4 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #000;
}

.homework-item__files-list .file-item,
.homework-item__cta {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 30px;
  column-gap: 10px;
}

.homework-item__cta {
  margin: 15px 0 30px;
  height: 50px;
}

.homework-item__cta > div {
  display: flex;
  align-items: center;
}

.homework-item__cta > div input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.homework-item__files-list,
.homework-item__cta,
.homework-item__files-errors {
  padding: 0;
}

@media screen and (max-width: 700px) {
  .homework-item__files-list,
  .homework-item__cta,
  .homework-item__files-errors {
    padding: 0 20px;
  }
}

.homework-item__files-list .homework-item__no-files {
  margin: 25px 0;
  font-size: 20px;
  color: #000;
}

.homework-item__files-list .file-item .name {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 18px;
}

.homework-item__files-list .file-item .remove,
.homework-submission__cancel {
  color: #000;
  text-decoration: underline;
  font-size: 18px;
}

.homework-submission__cancel:hover {
  color: #000;
}

.homework-item__files-dropper {
  background: #f1f1f1;
  height: 180px;
  display: flex;
  font-size: 20px;
  padding: 40px 0;
  line-height: 1.5;
  color: #000;
}

.homework-item__files-dropper .ui-helper-popup__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.homework-item__files-dropper svg {
  margin-bottom: 6px;
}

.homework-item__files-dropper.drag-over {
  background: #d9d9d9;
}

.homework-item__files-errors {
  color: #FFFFFF;
  font-size: 16px;
  display: none;
}

.homework-item__files-errors-banner {
  background-color: #e52626;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-gap: 16px;
  width: 60%;
  padding: 16px;
}

.errors-banner-icon {
  border-right: 1px solid #00000020;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 16px;
}

.errors-banner-icon .icon {
  display: flex;
}

.icon.medium svg {
  width: 27px;
  height: 27px;
}

.errors-banner-text {
  display: inline-flex;
  align-items: center;
}

.errors-banner-help-link {
  color: #FFFFFF;
  text-decoration: underline;
}

.errors-banner-help-link:hover {
  color: inherit;
  background-color: transparent;
}

.homework-item__files-help-link {
  color: #000000;
  text-decoration: underline;
}

.homework-item__files-help-link:hover {
  color: inherit;
  background-color: transparent;
}

.homework-item__files-errors:not(:empty) {
  margin-bottom: 20px;
}

#homework .homework-item__submission-files .homework-item__files-errors,
#file-uploader,
.skin-students .book-item__submission-files .book-item__files-errors {
  display: none;
}

.homework-item__files-dropper {
  margin-bottom: 30px;
}

.skin-students .book-item__files-dropper {
  margin: 30px 0;
  text-align: center;
}

#homework .homework-item__panel-data,
.skin-students .book-item__panel-data {
  margin: 20px 0;
}

#homework .homework-item__panel-title,
.skin-students .book-item__panel-title{
  background-color: #78defd;
  padding: 20px;
}

#homework .homework-item__panel-body,
.skin-students .book-item__panel-body {
  background-color: #d6f5fe;
  padding: 20px;
}

.book-item__notes {
  margin: 30px 40px 40px;
}

.book-item__notes textarea {
  width: 60%;
  margin-top: 10px;
  resize: none;
  font-family: inherit;
  padding: 10px;
  box-sizing: border-box;
  font-size: 16px;
}

@media screen and (max-width: 700px) {
  .book-item__notes textarea {
    width: 100%;
  }
}

#homework .homework-item__mood,
.skin-students .book-item__mood {
  margin: 0 30px;
  position: relative;
}

#homework .homework-item__mood-icon,
.skin-students .book-item__finish-book img.book-item__mood-icon {
  width: 40px;
  height: 40px;
}

#homework .homework-item__finish-book,
.skin-students .book-item__finish-book {
  position: relative;
}

#homework .homework-item__book-feedback,
.skin-students .book-item__book-feedback {
  margin: 40px 0 30px;
}

#homework .homework-item__book-rating,
.skin-students .book-item__book-rating {
  display: flex;
  padding: 0 40px 20px;
  flex-wrap: wrap;
  justify-content: center;
}

#homework .homework-item__book-rating input[type=radio],
.skin-students .book-item__book-rating input[type=radio] {
  visibility: visible;
  position: absolute;
  bottom: -20px;
  left: 8px;
}

#homework .homework-item__book-actions,
.skin-students .book-item__book-actions {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

#homework .homework-item__book-actions p,
.skin-students .book-item__book-actions p {
  margin-bottom: 10px;
}

/* #homework .homework-item__book-feedback-submit, */
.book-item__book-feedback-submit {
  display: none;
}

#homework .homework-item__finish-book,
.book-item__finish-book,
#homework .homework-upload-popup {
  margin: 0 !important;
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 768px;
  background: white;
  z-index: 100;
  box-shadow: 0 0 0 100vw rgba(0,0,0,0.5);
}

#homework .homework-item__submission {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: #00000003;
}

#homework .homework-item__submission .homework-item__panel-data {
  margin: 0;
}

.book-item__finish-book .book-item__mood img {
  width: 50px;
  min-width: unset;
  height: auto;
  min-height: unset;
}

.book-item-details-wrap .books__finish-book,
.book-item-details-wrap .books__finish-book:hover,
.book-item-details-wrap .books__finish-book:active {
  margin: 7px 0;
  margin-left: 16px;
  color: #000;
  text-decoration: underline;
}

.book-item__finish-book .book-item {
  display: flex;
}

@media screen and (max-width: 700px) {
  .book-item__finish-book .close-details.book-item__finish-book-cancel {
    top: 0;
    right: 0;
    border-radius: 0;
  }

  .book-item__finish-book .book-item__mood img {
    width: 50px;
    min-width: unset;
  }

  .book-item__finish-book .book-item__panel-title h4 {
    white-space: nowrap;
    max-width: calc(100vw - 56px);
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 60px;
  }

  .homework-item__files-errors-banner {
    width: auto;
  }
}

#homework  .homework-submission__cancel:hover {
  text-decoration: underline;
  background: transparent;
  color: #000;
}

@media screen and (max-width: 700px) {
  #homework .homework-item__finish-book,
  .book-item__finish-book,
  .skin-students .book-item__finish-book {
    bottom: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    z-index: 1000;
    border: none;
    transform: none;
    width: 100%;
  }

  #homework .homework-upload-popup {
    z-index: 1001;
    top: 0;
    bottom: 0;
    transform: none;
    left: 0;
    width: 100%;
  }

  #homework .homework-upload-popup .homework-item__poster {
    min-width: 70px;
  }

  #homework .homework-item__panel-title,
  .skin-students .book-item__panel-title {
    padding: 0;
    height: 56px;
  }

  #homework .homework-item__panel-title h4,
  .skin-students .book-item__panel-title h4 {
    height: 56px;
    line-height: 56px;
    padding-left: 10px;
    font-size: 20px;
    padding-right: 0;
  }

  body.responsive #homework .homework-root .close-details,
  body.skin-students .close-details {
    width: 56px;
    height: 56px;
  }

  #homework .homework-list .homework-list__item[data-ui-state="expanded"] .homework-item__poster::after,
  .skin-students .book-list .book-list__item[data-ui-state="expanded"] .book-item__poster::after {
    background-color: #d6f5fe;
  }

  #homework .homework-item__book-rating,
  .skin-students .book-item__book-rating {
    margin-bottom: 40px;
    padding: 10px 20px;
  }
}

.flipped-horizontal {
  transform: scaleX(-1) !important;
}

[data-toggle-content] {
  display: none;
}

[data-toggle-state="visible"] [data-toggle-content] {
  display: block;
}

#progress.page {
  min-height: calc(100vh - 78px - 70px);
}

#progress .progress-root.container {
  max-width: 1340px;
  margin: 0 auto;
  width: 100%;
}

#progress .progress-root .progress-records {
  display: grid;
  grid-gap: 80px;
  margin: 20px 0;
  padding: 0 16px;
  box-sizing: border-box;
  max-width: 100vw;
}

#progress .progress-root .progress-record {
  display: grid;
  grid-column-gap: 30px;
  grid-template-columns: 180px 1fr;
  grid-template-areas:
      'display data'
      'display stamp';
}

@media screen and (max-width: 700px) {

  #progress .progress-root .progress-records {
    grid-gap: 20px;
  }

  #progress .progress-root .progress-record {
    overflow: hidden;
    grid-template-columns: 100px 1fr;
    border-bottom: 1px solid #c0c0c0;
    padding-bottom: 20px;
    grid-column-gap: 20px;
    grid-template-areas: 'display data'
                         'stamp stamp';
  }
}

#progress .progress-record__display {
  grid-area: display;
}

#progress .progress-record__display img {
  width: 100%;
}

#progress .progress-record__data {
  grid-area: data;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

#progress .progress-record__data h2 {
  font-size: 24px;
  margin-bottom: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  color: #000;
}

#progress .progress-record__meta-wrap {
  display: flex;
}

#progress .progress-record__meta {
  color: #000;
  display: flex;
  align-items: center;
  margin: 5px 0;
  font-size: 20px;
}

#progress a.progress-record__meta:hover,
#progress a.progress-record__meta:focus,
#progress a.progress-record__meta:active {
  background-color: transparent;
}

#progress .progress-record__mood img {
  width: 100%;
}

#progress .progress-record__meta span {
  width: 48px;
  height: 48px;
  border-radius: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  font-size: 18px;
  text-decoration: none;
  background-color: #eee;
}

#progress .progress-record__meta--score {
  margin-right: 16px;
}

@media screen and (max-width: 700px) {
  .progress-record__meta-wrap {
    flex-direction: column;
  }

  #progress .progress-record__meta--score {
    margin-right: 0;
  }
}

#progress .progress-record__meta--score span {
  background-color: #000;
  color: white;
}

#progress .progress-record__meta--score p {
  font-size: 20px;
  line-height: normal;
}

#progress .progress-record__meta--score p small {
  display: block;
  color: rgba(0,0,0,0.6);
  font-size: 20px;
  line-height: normal;
}

#progress .progress-record__stamp {
  grid-area: stamp;
  padding-top: 8px;
  border-top: 1px solid #eee;
  margin-top: 12px;
}

#progress .progress-record__stamp h4 {
  font-size: 20px;
  line-height: normal;
  color: #000;
}

#progress .progress-record__stamp p {
  color: rgba(0,0,0,0.6);
  margin: 0;
  font-size: 20px;
  line-height: normal;
}

@media screen and (max-width: 700px) {
  #progress .progress-record__data {
    justify-content: center;
  }

  #progress .progress-record__stamp {
    border: none;
    margin: 0
  }

  #progress .progress-record__data h2 {
    white-space: normal;
    line-height: normal;
    word-break: break-word;
  }

  #progress .progress-record__data h2,
  #progress .progress-record__meta,
  #progress .progress-record__meta--score p,
  #progress .progress-record__meta--score p small,
  #progress .progress-record__stamp h4,
  #progress .progress-record__stamp p {
    font-size: 16px;
  }

}

/*
 *  Student Privacy Policy page
 */

#student-privacy-policy.page {
  min-height: calc(100vh - 78px - 70px);
}

#student-privacy-policy .student-privacy-policy-root.container {
  margin: 0 auto;
  width: 100%;
}

#student-privacy-policy .student-privacy-policy__header {
  height: 150px;
  background-color: #6ed5b6;
  padding: 30px;
}

#student-privacy-policy .student-privacy-policy__container {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0 auto;
  max-width: 1300px;
}

#student-privacy-policy .student-privacy-policy__logo {
  transform: scaleX(-1);
}

#student-privacy-policy .student-privacy-policy__title {
  margin-left: 30px;
}

#student-privacy-policy .student-privacy-policy__body {
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

#student-privacy-policy p {
  padding: 20px 0;
  font-size: 20px;
  line-height: 1.6;
  color: #000;
}

@media screen and (max-width: 700px) {
  #student-privacy-policy p {
    font-size: 16px;
  }
}

#student-privacy-policy a {
  color: #000;
  text-decoration: underline;
}

#student-privacy-policy a:hover, #student-privacy-policy a:focus {
  background-color: transparent;
  text-decoration: none;
}

#student-privacy-policy input[type="submit"], #student-privacy-policy button {
  display: block;
  padding: 10px 20px;
  border-radius: 40px;
  background-color: #1b9af2;
  color: white;
  border: none;
  -webkit-appearance: none;
  font-size: 18px;
  min-width: 100px;
  text-align: center;
  outline: none;
  line-height: normal;
  cursor: pointer;
  font-family: inherit;
}

#student-privacy-policy input[type="submit"]:hover, #student-privacy-policy button:hover,
#student-privacy-policy input[type="submit"]:focus, #student-privacy-policy button:focus {
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2);
}

#student-privacy-policy input[type="submit"]:disabled, #student-privacy-policy button:disabled {
  opacity: 0.5;
}


/*
 * Student collections
 */

.skin-students .book-item .book-description {
  margin-bottom: 20px;
}

.skin-students .book-item .assignment-quote.teacher-comment {
  display: block;
  margin-bottom: 20px;
}

.skin-students .book-item .assignment-quote.teacher-comment small {
  color: rgba(0,0,0,0.6);
  font-size: 15px;
}

.skin-students .book-item .assignment-quote.teacher-comment .assignment-quote__text {
  background-color: #77defd;
  color: #000;
  padding: 10px 12px;
  border-radius: 6px;
  position: relative;
  margin-bottom: 12px;
}

.skin-students .book-item .assignment-quote.teacher-comment .assignment-quote__text::after {
  content: '';
  width: 14px;
  height: 14px;
  display: block;
  background-color: #77defd;
  position: absolute;
  top: 100%;
  left: 15px;
  transform: rotate(45deg);
  transform-origin: center;
  margin-top: -7px;
}

.skin-students .book-item .due-date-indicator {
  margin-bottom: 20px;
}

.skin-students .book-item .due-date-indicator h3 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 20px;
}

.skin-students .book-item .books__finish-book {
  color: #000;
  text-decoration: underline;
  padding-left: 20px;
  border-left: 2px solid #000;
  line-height: 2.2rem;
}

.skin-students .book-item .books__finish-book:hover,
.skin-students .book-item .books__finish-book:focus {
  background: initial;
  border-right: none;
  border-bottom: none;
  border-top: none;
}

.skin-students .book-item__finish-book {
  display: none;
}

.skin-students .book-item__finish-book .book-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

/* responsive overrides */
@media screen and (max-width: 700px) {

  .section-header__content {
    flex-direction: column;
  }

  .top-icon {
    display: none;
  }

  ul.resource_search{
    margin-top: 2em;
  }

  ul.resource_search .row {
    margin: 0;
    border: none;
  }

  .inner-container ul.resource_search .row{
    border: none;
  }

  ul.resource_search li {
    min-height: unset;
    width: 100%;
  }

  ul.resource_search li img {
    margin: 0 auto;
    box-shadow: none;
    max-width: unset;
    object-fit: cover;
  }

  ul.resource_search li a span.resource-title{
    text-align: center;
    font-size: 20px;
    color: #000;
    border: none;
  }

  li.resource-file > div {
    text-align: center;
  }
}

.ebook-filters #ebook-search.hide-search {
  display: none;
}

.ebook-filters #ebook-search-inner {
  display: flex;
  justify-content: space-between;
}

.ebook-filters #resource-search-field {
  float: none;
  margin: 0;
}

.ebook-filters #ebook-search-inner input[type="submit"] {
  float: none;
  margin: 0;
}

.section-filters .search-form {
  min-height: unset;
}

#ebook-search-inner {
  width: 50%;
}

@media screen and (max-width: 700px) {
  #ebook-search-inner {
    flex-direction: column;
    width: 100%;
  }

  .ebook-filters #resource-search-field {
    margin-bottom: 10px;
  }

  .ebook-filters #resource-search-field,
  .ebook-filters #ebook-search-inner input[type="submit"] {
    width: 100%;
  }
}

ul.resource_search li {
  width: 100%;
  max-width: unset;
  min-height: unset;
  overflow: hidden;
  padding: 0;
}

ul.resource_search li[data-item-state="expanded"] {
  overflow: visible;
}

.dynamic-resourse-body {
  position: relative;
}

ul.resource_search li img {
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: none;
  max-height: unset;
  height: 180px;
  max-width: 100%;
}

ul.resource_search li.book img {
  width: 100%;
}

ul.resource_search li a span.resource-title {
  font-size: 20px;
  font-weight: 400;
  margin-top: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 25px;
  text-align: left;
  color: #000;
  border: none;
}

ul.resource_search li a span.resource-title:hover,
ul.resource_search li a:hover span, ul.resource_search li a:focus span {
  background-color: transparent;
}

ul.resource_search li a:hover img, ul.resource_search li a:focus img {
  box-shadow: none;
  transform: scale(1) translate3d(0, 0, 0);
}

li.resource-file > div {
  margin: 0;
}

.filter-select-box {
  height: 40px;
  border-radius: 10px;
  padding: 0 20px;
  padding-right: 50px;
  border: 1px solid #1c9af2;
  background-repeat: no-repeat;
  color: #58595b;
  font-size: 20px;
  appearance: none;
  -webkit-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: right;
  appearance: none;
  background-position: right 20px top 0;
  background-image: url('../images/dropdown-toggle.svg');
  cursor: pointer;
  background-color: white;
}

.filter-select-box:focus,
.filter-select-box:active {
  outline: none;
}

.resource-search-selects .filter-select-box {
  width: 100%;
}




/*
* New Layout for all kind of book/resource displays
**/
.inner-container {
  max-width: 1300px;
  box-sizing: border-box;
}

.ui-resource-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 40px 20px;
}

.ui-resource-grid--homework {
  grid-template-columns: 1fr;
  grid-gap: 40px;
}

.ui-resource-item {
  overflow: hidden;
  margin: 0;
}

.ui-resource-item__hook {
  position: absolute;
  width: 1px;
  height: 20px;
  display: block;
  margin-top: -20px;
}

.ui-resource-item:focus:not(:active) {
  outline: 2px solid #bdbdc0;
}

.ui-resource-item:empty {
  display: none;
}

.ui-resource-item > a {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: flex-start;
  text-overflow: ellipsis;
}

.ui-resource-item > a:focus {
  outline: 2px solid #bdbdc0;
  outline-offset: -2px;
}

.ui-resource-item > a:hover .ui-resource-item__text {
  text-decoration: underline;
}

.ui-resource-item__image {
  height: 180px;
  width: auto;
  vertical-align: middle;
  margin: 0;
  margin-bottom: 20px;
  max-height: 180px;
  max-width: 180px;
  object-fit: contain;
}

.ui-resource-item__text {
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  color: #000;
  align-self: flex-start;
  max-width: 100%;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  min-height: 50px;
  word-break: break-word;
  line-height: 25px;
}

.ui-resource-item__details {
  position: absolute;
  left: 0;
  right: 0;
  background: #f1f1f1;
  color: #000;
  font-size: 20px;
  text-align: left;
  z-index: 2;
  margin-top: 15px;
  padding: 50px 16px;
  box-sizing: border-box;
  display: none;
  border-radius: 0;
  z-index: 2;
  overflow: auto;
}

.ui-resource-item__details:focus {
  outline: none;
}

.ui-resource-item__details .inner-container {
  position: relative;
}

@media screen and (max-width: 700px) {
  .ui-resource-item__details .inner-container {
    position: static;
  }
}

.ui-resource-item[data-state="expanded"] {
  overflow: visible;
  max-width: calc(100vw - 20px);
}

.ui-resource-item[data-state="expanded"] .ui-resource-item__details {
  display: block;
}

.ui-resource-item[data-state="expanded"] > a {
  position: relative;
  overflow: visible;
}

.ui-resource-item > a::after {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 10px;
  top: 100%;
  background-color: #f1f1f1;
  transform: rotate(45deg);
  transition: all 60ms linear;
  content: '';
  margin-top: 20px;
  opacity: 0;
  content: ''
}

.ui-resource-item[data-state="expanded"] > a::after {
  margin-top: 6px;
  opacity: 1;
}

.ui-resource-item__close {
  position: absolute;
  top: -34px;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background-color: #1c9af2;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ui-resource-item__close svg {
  width: 14px;
  height: 14px;
  color: white;
}

.ui-book-data__heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: normal;
}

.ui-book-data__line {
  margin-bottom: 20px;
  line-height: 1.5;
}

.ui-book-data__line strong {
  font-weight: bold;
}

@media screen and (max-width: 700px) {
  .ui-resource-item > a {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .ui-resource-item__image {
    margin: 0;
    margin-right: 20px;
    max-width: 180px;
    min-width: 180px;
    max-height: unset;
    height: auto;
  }

  .ui-resource-item__text {
    align-self: center;
    overflow: visible;
    white-space: normal;
    -webkit-line-clamp: unset;
  }
}

@media screen and (max-width: 700px) {

  .ui-resource-item__close {
    top: 0;
  }

  .ui-book-data__heading {
    margin-bottom: 0;
    position: absolute;
    top: 0;
    height: 56px;
    line-height: 56px;
    left: 0;
    right: 56px;
    padding: 0 10px;
    background: #f1f1f1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
  }

  .ui-resource-item__text {
    -webkit-line-clamp: unset;
    min-height: unset;
    font-size: 16px;
  }

  .ui-resource-item__details {
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 50px 16px;
    padding-top: 66px;
    z-index: 1000;
  }

  .ui-resource-details__wrapper {
    max-width: 800px;
    font-size: 16px;
  }

  .ui-resource-item__close {
    width: 56px;
    height: 56px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
  }

  .ui-resource-item__close svg {
    width: 18px;
    height: 18px;
  }

  .ui-book-data-button-wrap .book-data-button {
    font-size: 16px;
  }

  .ui-book-data-button-wrap {
    flex-direction: column;
    align-items: flex-start !important;
  }
  
  .book-item-details-wrap .due-date-indicator h3,
  #homework .due-date-indicator h3 {
    font-size: 16px;
  }
}

.ui-book-data__extra {
  padding: 20px 0;
}

.ui-book-metadata {
  background-color: transparent;
  font-weight: 400;
  position: relative;
}

.ui-book-metadata::before {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: transparent;
  content: '';
  margin-top: -16px;
}

.ui-book-metadata-items {
  display: none;
  flex-wrap: wrap;
  color: #000;
  margin-bottom: 10px;
}

.ui-book-data__extra.visible .ui-book-metadata-items {
  display: flex;
}

.ui-book-data__extra.visible .ui-book-metadata::before {
  background-color: #c0c0c0;
}

.ui-book-metadata-items span {
  line-height: normal;
}

.ui-book-metadata-items span::after {
  content: '|';
  margin: 0 10px;
  color: #000;
}

.ui-book-metadata-items span:last-of-type::after {
  display: none;
  content: none;
}

.ui-book-metadata strong {
  font-weight: 700;
  color: #000;
}

.ui-book-metadata-link a,
.ui-book-metadata-link a:hover,
.ui-book-metadata-link a:active {
  font-size: inherit;
  color: #000;
  text-decoration: underline;
  background: transparent;
}

.ui-book-data-button-wrap {
  margin: 25px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ui-book-data-button-wrap > *:not(:last-child) {
  margin-right: 15px;
}

@media screen and (max-width: 700px) {
  .ui-book-data-button-wrap > * {
    margin-bottom: 10px;
  }
}

.ui-book-data-button-wrap > button {
  margin-right: 16px;
}

.ui-book-data-button-wrap .books__finish-book,
.ui-book-data-button-wrap .books__finish-book:hover,
.ui-book-data-button-wrap .books__finish-book:active {
  font-size: inherit;
  color: #000;
  text-decoration: underline;
  background: transparent;
}

.ui-book-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: center;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1001;
  overflow: auto;
}

.ui-book-modal.ui-book-modal--fullscreen {
  padding: 0;
}

.ui-book-modal[data-state="open"] {
  display: flex;
}

@media screen and (max-width: 1025px) {
  .ui-resource-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ui-resource-grid.ui-resource-grid--homework {
    grid-template-columns: 1fr;
  }
}

.ui-helper-popup {
  background: white;
  width: 700px;
  margin: auto 0;
}

.ui-book-modal.ui-book-modal--fullscreen .ui-helper-popup,
.ui-book-modal.ui-book-modal--fullscreen .books__finish-container,
.ui-book-modal.ui-book-modal--fullscreen .books__upload-container {
  width: 100%;
  height: 100%;
}

.ui-helper-popup__header {
  background-color: #78defd;
  display: flex;
  align-items: center;
  height: 70px;
  justify-content: space-between;
  padding: 0 20px;
}

.ui-helper-popup__container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.ui-helper-popup__header .ui-helper-popup__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-helper-popup__header h3 {
  font-size: 28px;
  font-weight: bold;
  line-height: normal;
  color: #000
}

.ui-helper-popup__header .ui-helper-popup__close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: #1c9af2;
  border-radius: 30px;
  padding: 0;
}

.ui-helper-popup__header .ui-helper-popup__close svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.ui-helper-popup__buttons {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

.ui-helper-popup__buttons button {
  margin-top: 15px;
  height: auto;
  padding: 6px 24px;
  min-height: 40px;;
}

.ui-helper-popup__buttons button svg {
  margin-right: 0;
  margin-left: 8px;
  width: 20px !important;
}

.ui-helper-popup__buttons button[type="submit"] {
  display: none;
  margin-bottom: 30px;
}

.ui-helper-popup__buttons .book-data-link {
  margin-top: 15px;
}

/* feedback */
.ui-feedback {
  padding: 40px;
  margin-bottom: 30px;
  background-color: #d6f5fe;
}

.ui-feedback .ui-helper-popup__container {
  justify-content: flex-start;
  display: flex;
  align-items: center;
}

.ui-feedback--nomargin {
  margin-bottom: 0;
}

.ui-feedback__image {
  margin-right: 30px;
}

.ui-feedback__image img {
  width: 150px;
  height: auto;
  vertical-align: middle;
}

.ui-feedback__text {
  font-size: 16px;
  line-height: normal;
}

.ui-feedback__text h2 {
  font-size: 24px;
  line-height: normal;
  color: #000;
}

.ui-feedback__text p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  margin-top: 10px;
  color: #000;
  max-width: 600px;
}

.ui-mood-selector {
  display: flex;
  justify-content: space-around;
  max-width: 370px;
  margin: 0 auto;
  margin-bottom: 32px;
  width: 100%;
}

.ui-mood-selector .book-item__mood label {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-mood-selector .book-item__mood label::before {
  display: none;
}

.ui-mood-selector .book-item__mood label input[type=checkbox],
.ui-mood-selector .book-item__mood label input[type=radio] {
  visibility: visible;
  position: static;
}

.book-item__radio input[type="radio"] {
  display: none;
}

.book-item__radio input[type="radio"] + span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  background: #1c9af2;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.book-item__radio input[type="radio"] + span::before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 22px;
}

.book-item__radio input[type="radio"]:checked + span::before {
  width: 8px;
  height: 8px;
}

.ui-mood-selector .book-item__mood-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.due-date-indicator h3 {
  font-size: 20px;
  line-height: normal;
}

.due-date-indicator small {
  font-size: 20px;
  color: rgba(0,0,0,0.6);
  line-height: normal;
}

.ui-book-modal .books__finish-container,
.ui-book-modal .books__upload-container {
  background-color: white;
  width: 700px;
  margin: auto 0;
}

.ui-helper-popup__body {
  overflow: auto;
  background: white;
}

.ui-helper-popup__body.upload-result {
  display: none;
}

.ui-helper-popup__body .homework-progress-link {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
} 

@media screen and (max-width: 700px) {

  .ui-mood-selector {
    flex-direction: column;
  }

  .book-item__mood.book-item__radio {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .ui-mood-selector .book-item__mood label {
    flex-direction: row;
  }

  .ui-mood-selector .book-item__mood-icon {
    margin: 0;
    margin-right: 16px;
  }

  .ui-book-modal {
    padding: 0;
  }

  .ui-helper-popup__body {
    overflow: auto;
    max-height: calc(100vh - 56px);
  }

  .ui-book-modal .books__finish-container,
  .ui-book-modal .books__upload-container {
    height: 100%;
    background-color: white;
  }

  .ui-helper-popup {
    width: 100%;
    height: 100%;
  }

  .ui-helper-popup__header {
    height: 56px;
    position: relative;
    padding: 0;
  }

  .ui-helper-popup__header h3 {
    height: 100%;
    display: block;
    padding-right: 10px;
    padding-left: 10px;
    line-height: 56px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 56px;
    font-size: 20px;
  }

  .ui-helper-popup__header .ui-helper-popup__close {
    width: 56px;
    height: 56px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
  }

  .ui-helper-popup__header .ui-helper-popup__close svg {
    width: 18px;
    height: 18px;
  }

  .ui-resource-grid {
    grid-template-columns: 1fr;
  }

  .ui-book-data-button-wrap > button {
    margin-right: 0;
  }

  .ui-book-data-button-wrap .books__finish-book {
    margin-top: 16px;
  }

  .ui-feedback__image img {
    width: 90px;
  }

  .due-date-indicator h3,
  .due-date-indicator small {
    font-size: 16px;
  }
}

.owl-pagination__indicator {
  display: none;
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: #a1a1a1;
}

.load-more + .owl-pagination__indicator span {
  display: none;
}

.load-more.loading + .owl-pagination__indicator,
.load-more.loading + .owl-pagination__indicator .owl-pagination__indicator--loading {
  display: block;
}

.ui-resource-grid + .owl-pagination__indicator,
.ui-resource-grid + .owl-pagination__indicator .owl-pagination__indicator--end {
  display: block;
}

.ui-resource-grid + .owl-pagination__indicator .owl-pagination__indicator--loading {
  display: none;
}

/* Speech bubble */
.speech-bubble {
  display: flex;
  flex-direction: column;
  background-color: #78defd;
  border-radius: 15px;
  padding: 20px;
  max-width: 600px;
  margin: 15px 0;
}

.speech-bubble.hidden {
  display: none;
}

.speech-bubble .speech-bubble__audio {
  margin-bottom: 15px;
}

.speech-bubble .speech-bubble__button {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: #1c9af2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.speech-bubble .speech-bubble__button::before {
  content: '';
  width: 20px;
  height: 20px;
  background-size: contain;
}

.speech-bubble .speech-bubble__button--play::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cpath d='M13.417 19.25v102.083c0 4.667 4.083 8.75 8.75 8.75 1.166 0 2.916-.583 4.083-1.166l95.083-50.75c4.084-2.334 5.834-7.584 3.5-11.667-.583-1.75-2.333-2.917-3.5-3.5L26.25 11.083c-4.083-2.333-9.333-.583-11.667 3.5-.583 1.75-1.166 2.917-1.166 4.667z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center;
}

.speech-bubble .speech-bubble__button--pause::before {
  background: url("data:image/svg+xml,%3Csvg id='f33e9ddb-d1ba-4047-9a6b-3409eb4d33e1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78.75 96.25'%3E%3Cdefs%3E%3Cstyle%3E.b22b8dcf-25f1-477c-a35d-13d3150f6c51%7Bfill:%23fff%7D%3C/style%3E%3C/defs%3E%3Cpath class='b22b8dcf-25f1-477c-a35d-13d3150f6c51' d='M30.625 21.875h26.25v96.25h-26.25zM83.125 21.875h26.25v96.25h-26.25z' transform='translate(-30.625 -21.875)'/%3E%3C/svg%3E") no-repeat center;
}

.speech-bubble .speech-bubble__text {
  color: #000;
  font-size: 24px;
  line-height: 1.4;
  font-weight: bold;
}

@media screen and (max-width: 700px) {
  .speech-bubble .speech-bubble__text {
    font-size: 20px;
  }
}
