/************************ General ************************/

body {
  font-family: 'Roboto', 'serif';
}
a {
  outline: 0;
}
a:hover,
a:active,
a:focus {
  outline: 0;
}
a.back-to-home {
  background: url('../../images/page-bookroom/back_arrow.png') no-repeat 0 10px transparent;
  font-size: 26px;
  font-weight: 600;
  height: 65px;
  width: 190px;
  padding-left: 80px;
  display: block;
  color: #D1253F;
  line-height: 30px;
  margin-left: 60px;
  margin-top: 25px;
}
a.back-to-home span.black {
  font-size: 34px;
}
span.black {
  font-weight: 900;
}
a.back-to-bookroom, a.back-to-bookroom-nojs {
  background: url('../../images/page-book/back_arrow_gray.png') no-repeat 0 10px transparent;
  font-size: 26px;
  font-weight: 600;
  height: 65px;
  width: 190px;
  padding-left: 80px;
  display: block;
  color: rgb(83, 67, 59);
  line-height: 30px;
  margin-left: 60px;
}

#book-finished-head-ok a.b-back, #quiz-head-ok a.b-back{
  background: none;
  color: black;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-content: center;
}

#book-finished-head-ok a.b-back span,
#quiz-head-ok a.b-back span{
  color: #ea2745;
  font-weight: 600;
  padding-right: 5px;
  padding-bottom: 2px;
}

@media (min-width: 320px) and (max-width: 767px){
  a.back-to-bookroom, a.back-to-bookroom-nojs{
    margin-left: 0;
    margin-top: -10px;
  }
}

a.back-to-bookroom span.black, a.back-to-bookroom-nojs span.black {
  font-size: 34px;
}
a.only-back{
  line-height: 70px;
}
.nav-pills > li > a,
.nav-pills > li:hover,
.nav-pills > li.active > a:focus {
  background-color: #FFF0FF;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}
figure.img-circle {
  background-position: 50% 50%;
  background-size: cover;
}
/************************ Login Page ********************/

#page-login {
  background: url('../../images/page-login/bg_login.png') repeat-x 0 0 transparent;
  min-height: 286px;
}

#page-link-error{
  background: url(../../images/emails/expired-link.jpg) repeat-x 0 0 transparent;
  min-height: 100%;
  background-size: cover;
}

#page-link-error .error-page-link{
  width: 600px;
  height: 400px;
}

@media (max-width: 600px){
  #page-link-error .error-page-link{
    width: 98%;
    height: auto;
    margin-top: 5%;
    margin-bottom: 10%;
  }
  #page-link-error .error-page-link .error-container{
    font-size: 16px !important;
  }
}

#page-link-error .error-page-link .error-container{
  background-color: rgb(255, 255, 255, .6);
  padding: 50px;
  font-size: 18px;
  border-radius: 12px;
}

#page-link-error .error-page-link .error-container .milton-logo{
  width: 150px;
}

#page-link-error .error-page-link .error-container p{
  margin-top: 50px;
}

#page-link-error,
#page-link-error .error-page-link,
#page-link-error .error-page-link .error-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#page-login-sm {
  background: url('../../images/page-login/bg_login_sm.png') repeat-x 0 0 transparent;
  min-height: 190px;
}

#page-login-teacher{
  color: #585752;
  background: url(../../images/page-login/bg_login_teacher.jpg);
  background-size: cover;
  min-height: -webkit-fill-available;
}

#page-login-teacher .teacher-register-content .teacher-password-content{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#page-login-teacher .teacher-register-content .teacher-password-content p{
  color: #8b8d8c;
  line-height: 10px;
}

#page-login-teacher .teacher-register-content .teacher-password-content form{
  width: 50%;
}

#page-login-teacher .teacher-register-content .teacher-password-content form label{
  color: #6f6f71;
  padding: 30px 0px 0px 0px;
  font-weight: 400;
}

#page-login-teacher .teacher-register-content .teacher-password-content form .form-group{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#page-login-teacher .teacher-register-content .teacher-password-content small{
  color: #aa002c;
  padding-top: 8px;
}

#page-login-teacher .teacher-register-content .teacher-password-content small.rpgd{
  color: #83868b;
  font-size: 10px;
  text-align: left;
  padding: 50px 40px 0px 40px;
}

#page-login-teacher .teacher-register-content .teacher-password-content .form-control{
  border: none;
  border-bottom: 1px solid #000000;
  border-radius: 0px;
  box-shadow: none;
  background-color: transparent;
  margin-top: -10px;
}

#page-login-teacher .teacher-register-content .teacher-password-content .btn-default{
  color: white;
  background-color: #aa002c;
  border-color: #aa002c;
  border-radius: 0px;
  font-size: 12px;
  padding: 10px 20px;
}

#page-login-parent{
  background: url(../../images/page-login/bg_login.jpg);
  background-size: cover;
  min-height: -webkit-fill-available;
}

#page-login-parent #validate,
#page-login-teacher .teacher-register-content{
  background: rgba(255,255,255,0.8);
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 20px 0px;
  max-width: 900px;
}

#page-login-parent #validate p{
  line-height: 9px;
}

#page-login-parent #validate img,
#page-login-teacher .teacher-register-content img{
  width: 120px;
  height: auto;
}

#page-login-parent #validate,
#page-login-teacher .teacher-register-content,
#page-login-teacher .teacher-register-content img{
  text-align: center;
}

#page-login-parent #validate h3,
#page-login-teacher .teacher-register-content h3{
  color: #be3a54;
}

#page-login-parent #validate .validate-advise{
  padding-top: 50px;
}

#page-login-parent #validate .validate-advise p{
  line-height: 20px;
}

#page-login-teacher .teacher-register-content .teacher-password-content .success,
#page-login-teacher .teacher-register-content .teacher-password-content .error{
  padding: 1em;
}

#page-login-teacher .teacher-register-content .teacher-password-content .success p{
  line-height: 10px;
}

#login-menu {
  margin-top: 40px;
}
#login-menu li {
  background-color: #FFF;
  margin: 0 12px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  text-align: center;
  font-family: Roboto;
}
#login-menu li a {
  color: #5A4A42;
  font-size: 16px;
  padding: 5px 20px;
  min-width: 80px;
}
#box-user-logged {
  border-style: solid;
  border-width: 14px 10px 18px;
  -moz-border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  -webkit-border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  -o-border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  min-width: 300px;
}
#box-user-logged p {
  color: #848484;
  font-family: 'Roboto';
  font-size: 32px;
}
#box-user-logged p span.teacher-name {
  color: #D1253F;
}
.btn-logout {
  border: none;
  background-color: #D1253F;
  color: #FFF;
  font-weight: bold;
  font-size: 18px;
  min-width: 150px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
  padding: 10px 20px;
}
#box-login {
  background: url('../../images/page-login/bg_box_login.png') no-repeat 0 0px transparent;
  width: 450px;
  height: 227px;
  margin: 70px auto 20px;
}
#box-ribbon {
  background: url('../../images/page-login/bg_ribbon.png') no-repeat 0 0px transparent;
  width: 373px;
  height: 66px;
  margin: 10px auto 20px;
}
#box-ribbon p {
  cursor: auto;
  color: #FFF;
  line-height: 75px;
  font-size: 15px;
  font-weight: 500;
}
input.login-input {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  background-color: #EBEBEB;
  margin-top: 150px;
  margin-left: 20px;
  width: 200px;
  height: 30px;
}
.btn-login {
  background-color: #FDCB0A;
  color: #F7002B;
  font-weight: bold;
  font-size: 20px;
  min-width: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin: -5px -20px 0;
}
a.login-help {
  color: #D1253F;
}
/************************ Class Page ********************/

#page-class {
  background: url('../../images/page-class/bg_page_class.png') repeat-x 0 0 transparent;
  min-height: 186px;
}
#class-menu {
  font-size: 18px;
  font-family: 'Roboto';
  margin-top: 40px;
}
#class-menu li a {
  color: #646464;
}
#class-head {
  margin-bottom: 30px;
}
.class-back-to-home {
  margin-left: 0px !important;
}
#class-box-user-logged {
  border-style: solid;
  border-width: 14px 10px 18px;
  -moz-border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  -webkit-border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  -o-border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  border-image: url('../../images/page-login/bg_user_logged.png') 14 10 18 repeat;
  max-width: 600px;
  min-height: 70px;
  margin-top: 20px;
}
#class-box-user-logged p {
  color: #848484;
  font-family: 'Roboto';
  font-size: 28px;
  float: left;
}
#class-box-user-logged p span.teacher-name {
  color: #D1253F;
}
.btn-class-logout {
  border: none;
  background-color: #D1253F;
  color: #FFF;
  font-weight: bold;
  font-size: 18px;
  min-width: 150px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  padding: 10px 20px;
}
.btn-student {
  border: none;
  background-color: #D1253F;
  color: #FFF;
  font-weight: bold;
  min-width: 150px;
  -webkit-box-shadow: 2px 3px 0px 0px #961b30;
  box-shadow: 2px 3px 0px 0px #961b30;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 120px;
  padding: 0.2em;
  margin-bottom: 10px;
}
span.student-lastname {
  font-size: 12px;
  font-style: italic;
}
.box-student-login {
  background: url('../../images/page-class/users_logo.png') no-repeat 50% 20% #f5f5f5;
  min-height: 200px;
  margin-left: 33px;
}
.box-student-login:hover {
  background-color: #FCEDAE;
}
.box-student-login-form {
  background-color: #544343;
  min-height: 200px;
  margin-left: 33px;
}
.btn-student-login {
  border: none;
  background-color: #FDCB0A;
  color: #544343;
  font-weight: 900;
  font-size: 20px;
  min-width: 150px;
  -webkit-box-shadow: 2px 3px 0px 0px #B39007;
  box-shadow: 2px 3px 0px 0px #B39007;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 20px;
  padding: 0;
}
.input-student-user {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #EBEBEB;
  margin-top: 5px;
  width: 90%;
  height: 30px;
  font-size: 20px;
}
p.type-password {
  color: #FDCB0A;
  margin-top: 20px;
  font-family: 'Roboto';
  font-weight: 900;
  font-size: 22px;
}
.classroom-number {
  background: url('../../images/page-class/bg_classroom_number.png') no-repeat 0 0 transparent;
  height: 173px;
  width: 171px;
  text-align: center;
  font-size: 30px;
  margin: 20px auto;
}
.classroom-number p {
  color: #363636;
  line-height: 18px;
  padding-top: 80px;
}
.class-number {
  font-weight: 600;
}
/************************ Library Page ********************/

#library-head {
  min-height: 100px;
}
.book-buttons {
  margin-top: 10px;
}
.img-book {
  padding: 15px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  border: 3px solid #D9D9D9;
}
.btn-book {
  background-color: #f5c45b;
  color: #a3730a;
  font-weight: bold;
  font-size: 18px;
  min-width: 83px;
  -webkit-box-shadow: 0px 2px 0px 0px #a3730a;
  box-shadow: 0px 2px 0px 0px #a3730a;
  padding: 8px 20px !important;
}
.btn-book[disabled] {
  background-color: #dbdbdb;
  color: #a7a7a7;
  -webkit-box-shadow: 0px 2px 0px 0px #a1a1a1;
  box-shadow: 0px 2px 0px 0px #a1a1a1;
}
.img-book-done {
  opacity: 0.4;
  filter: alpha(opacity=40);
}
.img-book-overlay {
  content: '';
  display: block;
  z-index: 1;
  background: url('../../images/page-bookroom/book_done.png') no-repeat 50% 50% transparent;
  width: 50%;
  height: 50%;
  position: absolute;
  top: 20%;
  left: 25%;
}
#user-info {
  color: #504040;
  background: url('../../images/page-bookroom/users_logo.png') no-repeat 0 0 transparent;
  min-height: 90px;
  width: 400px;
}
#user-info .user-points-row {
  margin-left: 60px;
  font-size: 26px;
  font-weight: 600;
  text-align: right;
}
#user-info .user-points-star {
  background: url('../../images/page-bookroom/star.png') no-repeat 0 2px transparent;
  width: 26px;
  height: 26px;
  margin-right: 5px;
  display: inline-block;
}
#user-info .user-name-row {
  margin-left: 60px;
  font-size: 23px;
  font-weight: 600;
  text-align: right;
}
#user-info .user-name-row .user-name {
  color: #D12542;
}
#user-info .user-progress-bar .progress {
  width: 80%;
  height: 17px;
  float: right;
  background-color: #504040;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#user-info .user-progress-bar .progress .progress-bar {
  line-height: 12px;
  height: 13px;
  margin: 2px;
  width: 50%;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  background: url('../../images/page-bookroom/progress_bar.png') repeat-x 0 0 transparent;
}
.bar-side {
  color: #FFF;
  font-family: 'Helvetica';
  font-size: 10px;
  font-weight: 600;
}
.a-side {
  float: left;
  margin-left: 10px;
}
.b-side {
  float: right;
  margin-right: 10px;
  line-height: 17px;
}
img.go-to-classwall {
  max-width: 90px;
  margin-bottom: 20px;
}
/************************* Book Page **********************/
/*#page-book { background: url('../../images/page-book/bg_book_page.png') repeat-x 0 0px transparent; }*/

#book-head {
  z-index: 10;
  min-height: 80px;
}
#book-head .book-head-buttons {
  margin-top: 10px;
}
.btn-quiz {
  background-color: #FFF;
  color: #D1253F;
  font-weight: bold;
  font-size: 20px;
  min-width: 100px;
  -webkit-box-shadow: 0px 3px 0px 0px #961b30;
  box-shadow: 0px 3px 0px 0px #961b30;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
}
.btn-play,
.btn-ebook-index,
.btn-pause {
  background-color: #FFF;
  color: #D1253F;
  font-weight: bold;
  font-size: 20px;
  min-width: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
}

.btn-nav-book, .btn-nav-book:active {
  background: url('../../images/page-book/book_navigation_gray.png') no-repeat;
  width: 91px;
  height: 91px;
  margin-top: 70%;
}

.btn-nav-book-left,.btn-nav-book-left:active {
  background-color: rgba(242,242,242,1);
  background-position: 5px 0;
}
.btn-nav-book-right, .btn-nav-book-right:active {
  background-color: rgba(242,242,242,1);
  background-position: -87px 0;
}
.book-pages-info {
  font-size: 20px;
  font-weight: 600;
}

div#ebook-page-content {
  text-align: center;
  margin: auto;
  max-width: 400px;
  height: 650px;
}

div.checkbox {
  margin-bottom: 7px;
}

.book-content .divider-book-margin {
  margin-top: 70px;
}

div#bookroom-image-wrapper {
  min-height: 330px;
}

div#bookroom-image-wrapper img {
  max-height:400px;
}

@media (max-width: 767px) {
  div#bookroom-image-wrapper {
    min-height: 270px;
  }

}

/************************* Quiz Page **********************/

label {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input[type=checkbox].css-checkbox {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
input[type=checkbox].css-checkbox + div > label.css-label {
  padding-left: 20px;
  height: 18px;
  display: inline-block;
  line-height: 18px;
  background-repeat: no-repeat;
  background-position: 0 0;
  vertical-align: middle;
  cursor: pointer;
  font-size: 26px;
  font-weight: 400;
  padding: 10px;
}
input[type=checkbox].css-checkbox:checked + div > label.css-label {
  background-position: 0 -15px;
}
.vlad {
  background-image: url('../../images/page-quiz/bg_checkbox.png');
}
input[type=checkbox].css-checkbox.med + div > label.css-label.med {
  padding-left: 22px;
  height: 17px;
  display: inline-block;
  line-height: 17px;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 15px;
  vertical-align: middle;
  cursor: pointer;
}
input[type=checkbox].css-checkbox.med:checked + div > label.css-label.med {
  background-position: 0 -17px;
}
input[type=checkbox].css-checkbox.sme + div > label.css-label.sme {
  padding-left: 22px;
  height: 16px;
  display: inline-block;
  line-height: 16px;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 15px;
  vertical-align: middle;
  cursor: pointer;
}
input[type=checkbox].css-checkbox.sme:checked + div > label.css-label.sme {
  background-position: 0 -16px;
}
input[type=checkbox].css-checkbox.lrg + div > label.css-label.lrg {
  padding-left: 40px;
  height: 60px;
  display: inline-block;
  line-height: 55px;
  background-repeat: no-repeat;
  background-position: 35px 12px;
  font-size: 26px;
  vertical-align: middle;
  cursor: pointer;
  font-weight: 400;
  padding-top: 5px;
}
input[type=checkbox].css-checkbox.lrg:checked + div > label.css-label.lrg {
  background-position: 35px -50px;
}
#quiz-head {
  z-index: 10;
  min-height: 100px;
}
.quiz-header-gray {
  height: 80px;
  background-color: rgba(243,243,243,1);
  width: 100%;
  border-bottom: 1px solid rgba(187, 187, 187, 0.6);
}
#quiz-head .book-head-buttons {
  margin-top: 10px;
}
.btn-again {
  background-color: #FFF;
  color: #D1253F;
  font-weight: bold;
  font-size: 20px;
  min-width: 100px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
}
.quiz-title {
  color: #a4a4a4;
  font-size: 26px;
}
.question-title {
  color: #000;
  font-size: 30px;
  font-weight: 400;
}
div.checkbox label {
  color: #000;
  font-size: 26px;
  font-weight: 400;
  line-height: 18px;
  margin-left: 10px;
}
input[type="checkbox"] {
  -ms-transform: scale(1.8);
  -moz-transform: scale(1.8);
  /* FF */

  -webkit-transform: scale(1.8);
  /* Safari and Chrome */

  -o-transform: scale(1.8);
  /* Opera */
}
span.checkbox-circle {
  margin-left: -70px;
  margin-right: 70px;
  font-weight: 600;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  width: 55px;
  height: 55px;
  display: inline-block;
  background-color: #D12542;
  color: #FFF;
  font-size: 20px;
  text-align: center;
}
.btn-nav-quiz-prev,
.btn-nav-quiz-next {
  border: none;
  background-color: #D1253F;
  color: #FFF;
  font-weight: bold;
  font-size: 20px;
  min-width: 150px;
  -webkit-box-shadow: 2px 3px 0px 0px #961b30;
  box-shadow: 2px 3px 0px 0px #961b30;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
}
.btn-nav-quiz-prev {
  text-align: right;
  margin-right: 5px;
  padding-right: 25px;
}
.btn-nav-quiz-next {
  text-align: left;
  margin-left: 5px;
  padding-left: 25px;
  margin-bottom: 25px;
}

.btn-nav-quiz-next:focus, .btn-nav-quiz-prev:focus{
  color: #fff;
}

.btn-nav-quiz-next:active, .btn-nav-quiz-prev:active{
  color: #363636;
}

.btn-nav-quiz-prev .glyphicon {
  float: left;
  top: 5px;
}
.btn-nav-quiz-next .glyphicon {
  float: right;
  top: 5px;
}
.btn-nav-quiz-prev span.nav-text {
  float: right;
}
.btn-nav-quiz-next span.nav-text {
  float: left;
}
div.checkbox-ko span.label-text {
  text-decoration: line-through;
  color: #FF0000;
}
div.checkbox-ko label {
  background-position: 35px -110px !important;
}
div.checkbox-ko span.checkbox-circle {
  background-color: #FF0000;
}
div.checkbox-ok label {
  background-position: 35px -180px !important;
}
div.checkbox-ok span.checkbox-circle {
  background-color: #49C927;
}
/************************* Quiz KO Page **********************/

#page-quiz-ko {
  background: url('../../images/page-quiz/bg_quiz_page.png') repeat-x 0 0px transparent;
}
#quiz-head-ko {
  z-index: 10;
  min-height: 100px;
}
#quiz-head-ko .book-head-buttons {
  margin-top: 10px;
}
.btn-read-again {
  border: none;
  background-color: #D1253F;
  color: #FFF;
  font-weight: bold;
  font-size: 22px;
  width: 100%;
  max-width: 210px;
  -webkit-box-shadow: 2px 3px 0px 0px #961b30;
  box-shadow: 2px 3px 0px 0px #961b30;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
  padding: 10px 20px;
}
#go-to-test, #go-read-again {
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background-color: #D1253F;
  color: #FFF;
  font-weight: bold;
  font-size: 22px;
  /* width: 50%; */
  -webkit-box-shadow: 2px 3px 0px 0px #961b30;
  box-shadow: 2px 3px 0px 0px #961b30;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
  padding: 10px 20px;
}

.quiz-ok-options{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
}

.quiz-ok-options span{
  font-size: 18px;
  font-weight: 500;
}

#quiz-ko-container p {
  color: #363636;
  font-size: 26px;
  font-weight: 600;
}

/* Related exercises in QUIZ OK page */

.related-content{
  border-radius: 10px;
  background-color: #f7f7f7;
  margin-bottom: 30px;
}

.related-content .title{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.related-content .title img{
  max-height: 40px;
}

.related-content .title h2{
  color: #454545;
  font-size: 25px;
  padding-left: 10px;
}

.card-content{
  display: inline-block
}

.card-content .card-info{
  width: 200px;
  margin: auto;
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 20px;
}

.card-content .card-info .hexagon{
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: auto;
}

.card-content .card-info .hexagon a{
  color: white;
  font-weight: 100;
}

#ko-box{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#ko-box p{
  color: #e40004;
  padding-left: 10px;
}

#book-finished-box,
#ko-box {
  color: #94d90b;
  padding: 10px 20px;
  font-size: 35px;
  font-weight: 500;
  margin: 30px auto 0px auto;
  letter-spacing: 0.5px;
}
#book-finished-box #book-scored{
  padding-left: 10px;
}
#book-finished #book-finished-head-ok .quiz-header-gray .title-content{
  padding: 25px 80px;
  font-weight: bold;
  font-size: 18px;
}
@media (min-width: 375px) and (max-width: 768px)  {
  #go-to-test, #go-read-again{
    font-size: 14px;
  }
  #book-finished #book-finished-head-ok .quiz-header-gray .title-content{
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/************************* Quiz OK Page **********************/

#page-quiz-ok,
#book-finished {
  background: url('../../images/page-quiz/bg_quiz_page.png') repeat-x 0 0px transparent;
}
#quiz-head-ok,
#book-finished {
  z-index: 10;
  min-height: 100px;
}
#quiz-head-ok .book-head-buttons,
#book-finished .book-head-buttons {
  margin-top: 10px;
}
#book-finished p,
#quiz-ok-container p {
  color: #363636;
  font-size: 26px;
  font-weight: 600;
}
#book-finished p.points,
#quiz-ok-container p.points {
  color: #94d90b;
  font-size: 35px;
  font-weight: 400;
}
#ok-box {
  color: #94d90b;
  font-size: 35px;
  font-weight: 400;
}
.congrats-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.congrats-container .quiz-scored{
  color: #94d90b;
  display: block;
  font-size: 35px;
  padding-top: 10px;
  padding-left: 10px;
}
/************************* Student License **********************/

p.message-alert {
  font-size: 26px
}
/**** MISCELANEUS ****/

h2 {
  /*color: #f3203e; */ /* remove this because the new editor in content can add you own styles */
}
span.bar-side.a-side {
  min-width: 100px;
  text-align: left;
}
/* RATING STARS */

.rating {
  unicode-bidi: bidi-override;
  direction: rtl;
  text-align: center;
  font-size: 3em;
}
.rating > span {
  display: inline-block;
  position: relative;
  width: 1.1em;
}
.rating.active > span:hover,
.rating.active > span:hover ~ span {
  color: transparent;
}
.rating.active > span:hover:before,
.rating.active > span:hover ~ span:before {
  content: "\2605";
  position: absolute;
  left: 0;
  color: gold;
}
.rating > span.rated:before,
.rating > span.rated ~ span.rated:before {
  content: "\2605";
  position: absolute;
  left: 0;
  color: gold;
}
.rating > span.rated,
.rating > span.rated ~ span {
  color: transparent;
}
/* MODAL ERROR */

div.modal-error {
  text-align: center;
}
div.modal-error div.modal-header {
  background-color: rgb(255, 148, 148);
}
div.modal-error p.alert-msg {
  font-size: 1.1em;
  font-weight: bold;
}

.btn-play,
.btn-pause,
.btn-again,
.btn-ebook-index,
.btn-quiz {
  border: 2px solid #c0c0c0;
}

.about-col{
  margin: auto;
  text-align: center;
}

.about-col-image img {
  height: 150px;
  margin: 5px 5px 15px 5px;
}

.about-col-title {
  color: #f3203e;
}

.about-col-list {
  margin-top: 10px;
  text-align: left;
  min-height: 300px;
}

.about-col-list ul {
  padding-left: 10px;
}

.about-col-button a {
  background-color:#f3203e;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  height: 60px;
  padding-top: 15px;
  width: 90%;
  margin-bottom: 15px;
  vertical-align: middle;
}

.title-img {
  height: 60px;
  padding-bottom: 4px;
}

table#bookroom-levels {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
}

table#bookroom-levels td {
  text-align: center;
}

table#bookroom-levels th{
  text-align: center;
  vertical-align: middle;
}

/* Disabled books when has bookroom-limit-reached class and when exceed the daily limit */
section#bookroom.bookroom-limit-reached .go-to-book img{
  opacity: 0.4;
}

/* Fixed for blank columns on bootstrap */
@media (min-width: 768px) and (max-width: 1280px){
  section#bookroom #bookroom-content{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
  }
}

table#trainer-levels {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  font-size: 12px;
}

table#trainer-levels td {
  text-align: center;
}

table#trainer-levels th{
  text-align: center;
  vertical-align: middle;
}

/** loader **/
.loader {
  font-size: 10px;
  margin: 10px auto;
  text-indent: -9999em;
  width: 5em;
  height: 5em;
  border-radius: 50%;
  background: #A4D2F4;
  background: -moz-linear-gradient(left, #a4d2f4 10%, rgba(164, 210, 244, 0) 42%);
  background: -webkit-linear-gradient(left, #a4d2f4 10%, rgba(164, 210, 244, 0) 42%);
  background: -o-linear-gradient(left, #a4d2f4 10%, rgba(164, 210, 244, 0) 42%);
  background: -ms-linear-gradient(left, #a4d2f4 10%, rgba(164, 210, 244, 0) 42%);
  background: linear-gradient(to right, #a4d2f4 10%, rgba(164, 210, 244, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #A4D2F4;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #ffffff;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media (min-width: 767px) and (max-width:991px) {
  #submit-child-name {
    margin-top: 20px;
  }
}

#btn-display-links  {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position:fixed;
  bottom: 10px;
  right: 10px;
  border:1px solid #000;
  border-radius: 5px;
  height: 25px;
  background-color: #c0c0c0;
  opacity: 0.8;
  z-index: 3;
}

#ebook-swipe-proxy .ol-links{
  display: none;
  z-index: 2;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #f5f5de;
  margin: auto;
  border-top: 2px solid #c0c0c0;
  box-sizing: border-box;
  text-align: center;
}

#ebook-swipe-proxy .ol-links div{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #dcdcdc;
  width: 98%;
  height: 30px;
  border: 1px solid #000;
  display: block;
  margin: 3px;
  padding: 3px;
  box-sizing: border-box;
  font-size: 18px;
}
