/*** TEXT ***/
body{
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
p{
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  color:#000000;
  margin-bottom: 25px;
  text-align: inherit;
}
li{
  font-size: 16px;
  line-height: 22px;
  color:#000000;
}
h1, h2, h3, h4, h5, h6{
  font-weight: 700;
}
.-large{
  font-size: 45px;
  line-height: 50px;
}
.-medium{
  font-size: 35px;
  line-height: 40px;
}
.-small{
  font-size: 25px;
  line-height: 30px;
}

.superheading{
  display: block;
  font-weight: 500;
  text-transform: uppercase;
  color: #727272;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
}

@media screen and (max-width: 767px){
  .-large{
    font-size: 40px;
    line-height: 45px;
  }
  .-medium{
    font-size: 30px;
    line-height: 35px;
  }
  .-small{
    font-size: 20px;
    line-height: 25px;
  }
}

/*** BORDER RADIUS ***/
.rounded-medium{
  border-radius: 15px;
}
.rounded-large{
  border-radius: 30px;
}

/*** BUTTONS AND LINKS ***/
a{
  color: #0264F7;
  text-decoration: none;
}
a:hover, a:focus{
  color: #0049b8;
}
.text-btn{
  text-decoration: none;
}

.btn{
  font-weight: 600 !important;
  margin: 5px 5px 5px 0;
}

.rounded-pill{
  padding: 10px 25px !important;
}

.btn-primary{
  border-color: #E81111 !important;
  background-color: #E81111 !important;
}
.btn-primary:hover,
.btn-primary:focus{
  border-color: #ce0d0d !important;
  background-color: #ce0d0d !important;
  color: #ffffff !important;
  text-decoration: none;
}

.btn-primary.disabled{
	color: #2E2E2E !important;
	background-color: #C3C3C3 !important;
	border-color: #C3C3C3 !important;
	opacity: 1 !important;
}

.btn-outline-primary{
	border-color: #E81111 !important;
	color: #E81111 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus{
	border-color: #E81111 !important;
	background-color: #E81111 !important;
	color: #ffffff !important;
	text-decoration: none;
}

.btn-choice{
  font-size: 14px;
  line-height: 14px;
  background-color: none;
  border: 1px solid #0862B6;
  color: #0862B6;
  padding: 10px 15px;
  box-sizing: border-box;
}
.btn-choice:hover,
.btn-choice:focus{
  background-color: #004587;
  border: 1px solid #004587;
  color: #ffffff;
}
.btn-choice-active{
  background-color: #0862B6;
  color: #ffffff;
  cursor: default;
}
.btn-choice-active:hover,
.btn-choice-active:focus{
  background-color: #0862B6;
  border: 1px solid #0862B6;
  color: #ffffff;
}

/*** MODALS ***/
.modal{
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
}
.modal-dialog{
  max-width: 900px;
  padding: 20px;
}
.modal-header{
  padding: 0;
}
.modal-content{
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.25);
}
.modal-footer{
  padding: 0;
}
.modal-backdrop{
  background-color: rgba(255, 255, 255, 0.20);
}
.modal-body{
  padding: 0;
}
.modal-header,
.modal-body,
.modal-footer{
  border: none;
}
.modal-title{
	margin: 0 0 5px 0;
}

/*** BOOK TILES ***/
.fa-canadian-maple-leaf{
  color: #cc0000;
}
.books .grid-view .grid-view-hide{
  display: none;
}
.books .list-view .list-view-hide{
  display: none;
}
.missing-img{
    width:100%;
    height:80%;
    background-color:#eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#4F4F4F;
}
#books-product .missing-img{
  max-height: 500px;
}
.books-bookitem{
}
.grid-view .books-bookitem .fleurdelis{
  width: auto;
  height: 15px;
  margin: -3px 0 0 0;
}
.list-view .books-bookitem .fleurdelis{
  width: auto;
  height: 30px;
  margin: -7px 0 0 0;
}
.books .list-view .books-bookitem{
  align-items: center !important;
}
.books-bookitem-image{
  transition: all 150ms;
  box-shadow: -4px 4px 10px rgba(0,0,0,0.10);
}
.books .grid-view{
  justify-content: left;
  gap: 3%;
  display: flex;
  flex-wrap: wrap;
}
.books .grid-view .books-bookitem{
  flex: 0 0 17%;
  text-align: center;
  margin-bottom: 40px;
}
.books .books-bookitem:hover .books-bookitem-image,
.books .books-bookitem:focus .books-bookitem-image{
  transform: scale(1.02);
  box-shadow: -8px 8px 25px rgba(0,0,0,0.10);
}
.books .grid-view .books-bookitem-image-container {
  width: 100%;
  height: 250px;
  position: relative;
  text-align: center;
  margin-bottom: 10px;
}
.books .list-view .books-bookitem{
  width: 100%;
  display: flex;
  margin-bottom: 40px;
}
.books .title a,
#books-product-name{
  color: #000000;
}
.books .list-view .description{
  margin-bottom: 20px;
}
.books .list-view .books-bookitem-image-container {
  width: 17%;
  min-height: 295px;
  max-height: 400px;
  position: relative;
  text-align: center;
  margin-right: 30px;
}
.books .list-view .books-bookitem-coverimage{
  margin: 0;
  padding: 0;
  line-height: 1px;
  height: 100%;
}
.books .list-view .books-bookitem-image{
  max-width: 100%;
  max-height: 100%;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  border: 1px solid #bdbdbd;
}
.books .list-view .title{
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
}
.books-bookitem-coverimage{
  margin: 0;
  padding: 0;
  line-height: 1px;
}
.books-bookitem-image{
  max-width: 100%;
  max-height: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  border: 1px solid #bdbdbd;
}
.books .list-view .books-bookitem .book-info{
  width: 83%;
}
.books-bookitem .book-name{
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.books-bookitem .author{
 font-size: 14px;
 line-height: 18px;
 font-weight: 300; 
}
.books-bookitem .category{
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
}
.books-bookitem .category a{
  color: #737373;
}
.books-bookitem .category a:hover, .books-bookitem .category a:focus{
  color: #0049b8;
}

/*** TAGS ***/
.tag-pill{
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  
  border-radius: 500px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 700;
  display: inline-block;
  min-width: 30px;
  text-align: center;
  color: #000000;
}

a.tag-pill{
  color: #000000;
}
a.tag-pill:hover,
a.tag-pill:focus{
  color: #ffffff;
  background-color: #e81111 !important;
}

#books-product-name .tag-pill{
  font-size: 20px;
  line-height: 20px;
  vertical-align: super;
}
.tag-12plus{
  color: #000000;
  background-color: #FFD029;
}

/*** BADGES ***/
.badges-container,
.badge-link{
  display: inline-block;
  width: fit-content;
}
.badge-container-detailed:last-child{
  margin-bottom: 0 !important;
}
.books .grid-view .badge-label{
  justify-content: center !important;
}
.badge-circle{
  border-radius: 200px;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 20px;
  padding: 7px 0 0 0;
  box-sizing: border-box;
  vertical-align: middle;
  color: #ffffff;
  text-align: center;
}
.badge-label{
  width: fit-content;
}
.badge-label-designation{
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  height: 30px;
  color: #ffffff;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-sizing: border-box;
  padding: 0 0 0 10px;
}
.badge-label-designation-text{
  margin: 0 2px 0 5px;
  font-size: 12px;
  line-height: 12px;
}
.badge-label-end{
  display: inline-block;
}
.badge-award-text{
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
}
#books-product .badge-award-text{
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
}
.badge-award-winner .badge-circle, 
.badge-award-winner .badge-label-designation{
  background-color: #4E378F;
}
.badge-award-shortlisted .badge-circle, 
.badge-award-longlisted .badge-circle, 
.badge-award-commended .badge-circle, 
.badge-award-runnerup .badge-circle, 
.badge-award-nomination .badge-circle,
.badge-award-shortlisted .badge-label-designation,
.badge-award-longlisted .badge-label-designation,
.badge-award-commended .badge-label-designation,
.badge-award-runnerup .badge-label-designation,
.badge-award-nomination .badge-label-designation{
  background-color: #20806F;
}
.badge-award-winner .badge-label-end path{
  fill: #4E378F;
}
.badge-award-shortlisted .badge-label-end path, 
.badge-award-longlisted .badge-label-end path, 
.badge-award-commended .badge-label-end path, 
.badge-award-runnerup .badge-label-end path, 
.badge-award-nomination .badge-label-end path{
  fill: #20806F;
}

.badge-category .badge-label-designation{
  background-color: #e81111;
}
.badge-category .badge-label-designation-text{
  margin-left: 0;
}
.badge-category .badge-label-end path{
  fill: #e81111;
}

/*** FORM ELEMENTS ***/
.form-check:hover .form-check-input,
.form-check-input:focus{
  border-color: #0C5AC6;
  box-shadow: none !important;
  outline: none !important;
}
.form-check-input:checked{
  box-shadow: none;
  outline: none;
}
.form-check-input{
  width: 20px;
  height: 20px;
}
.form-check-label{
  font-size: 15px;
  line-height: 20px;
  margin: 4px 0 0 5px;
}
input[type=range] {
  -webkit-appearance: none;
  margin: 20px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  animate: 0.2s;
  background: #03a9f4;
  border-radius: 25px;
}
input[type=range]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px 0 rgba(0,0,0, 1);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #03a9f4;
}
.range-wrap{
  width: 100%;
  position: relative;
  padding: 1.25rem 0.77rem 0.25rem;
}
.range-value{
  position: absolute;
  top: 0%;
}
.range-value span{
  width: 30px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #03a9f4;
  color: #fff;
  font-size: 12px;
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 6px;
}
.range-value span:before{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 10px solid #03a9f4;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  margin-top: -1px;
}

.input-with-inset-button{
  position: relative;
  width: 100%;
}
.btn-inset{
  position: absolute;
  right: 5px;
  bottom: 1px;
}

/*** FOOTER ***/
#schca-footer{
  position: relative;
  z-index: 10;
}
#schca-footer p,
#schca-footer li{
  font-size: 14px;
  line-height: 14px;
}
#schca-footer p.small,
#schca-footer li.small{
  font-size: 12px;
  line-height: 15px;
}
#schca-footer-main{
	background-color: #E81111;
	color: #ffffff;
}
.schca-mainfooter-section-heading{
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px !important;
	line-height: 14px !important;
	color: #ffffff;
	margin: 0 0 20px 0;
	display: block;
}
#schca-footer-main li{
  color: #ffffff;
  margin-bottom: 10px;
}
#schca-footer-main li:last-child{
	margin-bottom: 0;
}
#schca-footer-main a{
	color: #ffffff;
	text-decoration: none;
}
#schca-footer-main a:hover,
#schca-footer-main a:focus{
	color: #ffffff;
	text-decoration: underline;
}
#schca-footer-secondary{
	background-color: #333333;
	color: #C2C2C2;
}
#schca-footer-secondary p{
  color: #C2C2C2;
}
#schca-footer-secondary a{
	color: #C2C2C2;
  text-decoration: none;
}
#schca-footer-secondary a:hover,
#schca-footer-secondary a:focus{
	color: #ffffff;
  text-decoration: none;
}
#schca-mainfooter-secondary-links li{
	display: inline-block;
	margin: 0 10px 0 0;
}

#schca-mainfooter-social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
}
#schca-mainfooter-social-icons li {
  display:inline-block;
  margin-right: 15px;
}
#schca-mainfooter-social-icons li a {
  font-size: 20px;
  line-height: 20px;
}

/*** MEDIA QUERIES ***/
@media screen and (max-width: 1200px){
  
}
@media screen and (max-width: 992px) {
  /*** BOOK TILES ***/
  .books .list-view .books-bookitem-image-container {
    width: 100%;
    min-height: 275px;
    max-height: 400px;
    position: relative;
    text-align: center;
    margin-right: 30px;
  }
  
  .books .list-view .books-bookitem{
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
  .books .list-view .learn-more{
    display: block;
  }
  .books .list-view .book-info{
    margin-top: 30px;
  }
  
  .books .list-view .books-bookitem .book-info{
    width: 100%;
  }
  
  .books .grid-view .books-bookitem{
    flex: 25%;
  }
  .books-grid-view-small{
    overflow-x: auto;
    overflow-y: hidden;
    white-space:nowrap;
  }
  .books-grid-view-small > .books-bookitem {
    width: auto!important;
    display: inline-block;
    padding: 10px;
    text-wrap: wrap;
  }
}

@media screen and (max-width: 768px){
  /*** BOOK TILES ***/
  .books .grid-view .books-bookitem{
    flex: 47%;
  }
  
  .books .list-view .books-bookitem-coverimage{
    height: auto;
  }
  
  .books .grid-view .books-bookitem-image-container{
    max-height: 150px;
  }
  
  /*** MODALS ***/
  .modal-dialog{
    padding: 15px;
  }
  .modal-content{
    padding: 20px;
  }
}