/*---------------------------------------------------------------------*/
/*  INSTRUCTOR ICONS IN TOOL PANEL, ETC
/*---------------------------------------------------------------------*/

.instructor {
	position: relative;
	max-width: 110px;
}

.instructor h2 a {
	color: #64933A;
	font-weight: 600;
	font-size: 12px;
	margin: 0;
}

.instructor img.spanish-icon {
    position: absolute;
    width: 45px;
    top: 3px;
    right: -6px;
}

.instructor h2 span.play-button {
	box-sizing:border-box;
	display: inline-block;
	margin-top: 5px;
	max-width: 54px;
	border-radius: 6px;
	background-color: #742383;
	color: #FFFFFF;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 7px 3px 7px;
    line-height: 120%;
	cursor: pointer;
}



/*---------------------------------------------------------------------*/
/*  EBOOK TOOLBAR
/*---------------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
	.instructor img.spanish-icon {
	    position: absolute;
	    width: 34px;
	    top: 3px;
	    right: -26px;
	}
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
	.instructor img.spanish-icon {
	    position: absolute;
	    width: 34px;
	    top: 3px;
	    right: -26px;
	}
}

@media only screen and (min-width: 768px) {
	.instructor img.spanish-icon {
	    position: absolute;
    	width: 45px;
	    top: 3px;
    	right: -26px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1079px) {
	.instructor img.spanish-icon {
	    position: absolute;
	    top: 3px;
	    right: -33px;
	}
}

@media only screen and (min-width: 1080px) and (max-width: 1180px) {
	.instructor img.spanish-icon {
	    position: absolute;
	    top: 3px;
	    right: -25px;
	}
}


@media only screen and (max-width: 767px) {
	div.example-box div.row div.col-3 {
		padding-left: 9px !important;
		padding-right: 9px !important;
	}

	.xyz-no-mobile {
		display: none !important;
	}

	.instructor h2 a {
		color: #64933A;
		font-weight: 600;
		font-size: 10px;
		margin: 0;
		white-space: nowrap; 
	}

	.instructor a span {
		border-radius: 1px 0 1px 0;
	    font-size: 9px;
	    font-weight: 500;
	    padding: 0 1px;
	    position: absolute;
	    right: 0px;
	    bottom: 0px;
	    line-height: 120%;
	}

	.instructor h2 span.play-button {
		box-sizing:border-box;
		display: inline-block;
		margin-top: 5px;
		max-width: 54px;
		border-radius: 2px;
		background-color: #742383;
		color: #FFFFFF;
	    font-size: 9px;
	    font-weight: bold;
    	padding: 2px 5px 2px 5px;
	    line-height: 120%;
	}

	.instructor h2 span.play-button i.fa {
        display:none;
    }

	.instructor h2 svg.svg-inline--fa {
        display:none;
    }

    .header {
        -ms-flex-wrap: nowrap !important;
        flex-wrap: nowrap !important;
    }

    #ebook-page-number-control {
    	box-sizing: content-box !important;
    	width: 30px !important;	
    	min-width: 30px !important;	
    	max-width: 30px !important;	
    }
}

@media only screen and (max-width: 1200px) {
	.xyz-hide-below-lg {
		display: none !important;
	}
}


.header.xyz-tabloid-template {
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
}

a.xyz-toolbar-link:hover {
  cursor: pointer;
  text-decoration: none;
}

.xyz-clckable-toolbar-item {
	cursor: pointer;
}

.header ul li.xyz-ebook-toolbar-quiz-button {
    color: #fff;
    text-shadow: 1px 1px 1px #152f4a;
    border-right: #173452 solid 1px;
    border-left: #295c92 solid 1px;
    box-shadow: -1px 0 1px #173452;
    background: #8F1F8B;
}

.header ul li.xyz-ebook-toolbar-quiz-button:hover {
    background: #BB80B7;
}


/*---------------------------------------------------------------------*/
/*  MODAL
/*---------------------------------------------------------------------*/
.modal-header {
	background-color: #204872;
}

.modal-header .modal-title {
	color: #ffffff;
	font-weight: bold;
	text-transform: uppercase;
}

#ebook_modal-message a {
  color: #204872;
}


/*---------------------------------------------------------------------*/
/*  4. BOX - BOX BTNS
/*---------------------------------------------------------------------*/
.box_btn {
  border-bottom: solid 2px ;
  border-bottom-color: #1c3e62;
  color: #fff;
}
.box_btn.video,
.box_btn.mini_lecture {
  color: #ffffff;
  background: #204872;
  border: solid 1px solid #152f4a;
}
.box_btn.video:hover,
.box_btn.mini_lecture:hover {
  background: #152f4a;
}
.box_btn.wolfram {
  background: #cf0011;
  border: solid 1px 1px 6px 1px #9c000d;
  border-bottom: solid 2px ;
  border-bottom-color: #9c000d;
}
.box_btn.wolfram:hover {
  background: #9c000d;
}
.box_btn.try {
  background-color: #ef881a;
  border: solid 1px 1px 1px 1px #c86e0e;
  border-bottom: solid 2px ;
  border-bottom-color: #c86e0e;
}
.box_btn.try:hover {
  background: #c86e0e;
}
.box_btn.answer {
  background: #204872;
  border: solid 1px 1px 6px 1px #152f4a;
}
.box_btn.answer:hover {
  background: #152f4a;
}





/*---------------------------------------------------------------------*/
/*  10. SELF-PACED STUDY
/*---------------------------------------------------------------------*/
/*  a - try-it modal */
#xyz-self-paced-message p {
  text-align: left;
  margin: 0 0 4px 0;
  padding: 0 7px 0 0;
}
#xyz-self-paced-message table {
  width: 100%;
}
#xyz-self-paced-message table td {
  text-align: right;
  padding-right: 7px;
}
#xyz-self-paced-message table td.label-it {
  text-align: left;
  padding-right: 0px;
}
.xyz-self-paced-message-spacer {
  height: 7px;
}
/*  b - progress panel */
.progress.selfpacedreport {
  height: 18px;
}
.progress.selfpacedreport.topbar {
  margin-top: 0;
  margin-bottom: 2px;
}
.progress.selfpacedreport.bottombar {
  margin-top: 2px;
  margin-bottom: 0;
}
table.selfpacedsummary td.section-identifier {
  width: 50px;
  text-align: center;
  vertical-align: middle;
}
.progress-label {
  float: left;
  width: 60px;
  font-size: 11px;
  padding-top: 2px;
  margin-right: 1em;
}
#extra-message p {
  margin-top: 20px;
}



/*---------------------------------------------------------------------*/
/*  8. BOX/CROCODOC 
/*---------------------------------------------------------------------*/
.ebook-viewer-size {
  overflow-y: hidden;
}
.box-viewer-page_nav_buttons {
  height: 50px;
  width: 105%;
  margin: -19px;
  padding: 0;
}
.box-viewer-page_nav_buttons a {
  font-size: 50px;
  color: #000;
}
#box-viewer-target {
	width: 99%;
}
.crocodoc-viewport {
  height: 100%;
  position: static;
  width: 100%;
}
.crocodoc-page-loading .crocodoc-page-content {
  background: #EDEDED url('/assets/img/25.gif') center center no-repeat;
}
.crocodoc-page-inner {
  box-shadow: 0px 0px 5px #d6dddd !important;
}
.box_supplements {
  width: 260px;
}
.box_supplements a {
  display: block;
  float: left;
  width: 70px;
  padding: 0 !important;
  border: none;
  margin-right: 13px !important;
}
.box_supplements a img.img-thumbnail {
  width: 62px;
}
.box_supplements .divider {
  height: 10px;
}
.popover-content .cell-instructor {
  max-width: 100%;
  padding: 2px 2px 10px 2px;
  z-index: 200;
  zoom: 90%;
}
.popover {
  max-width: 350px;
}
.xyz-box-page-links {
  width: 110pt;
}
.xyz-box-page-links .box_btn {
  float: right;
  font-size: 13px;
  margin-left: 5pt;
}
.xyz-box-page-problemsetlinks {
  margin-top: 20px;
  width: 110pt;
}
.xyz-box-page-problemsetlinks .box_btn {
  float: right;
  font-size: 13px;
  margin-left: 5pt;
}
.xyz-box-page-take5links {
  width: 110pt;
}
.xyz-box-page-take5links .box_btn {
  float: right;
  font-size: 13px;
  margin-left: 5pt;
}
a.box_btn {
  border-radius: 4px!important;
  display: block;
  padding: 2px 4px!important;
}
a.box_btn img {
  height: 24px;
  opacity: 1;
  width: 24px;
}
a.box_btn:hover {
  cursor: pointer;
  text-decoration: none;
}
img.xyz_box {
  bottom: 10px;
  height: 20px;
  position: absolute;
  right: 15px;
  z-index: 1000;
}
.supplements {
  background-image: url('https://schools.mathtv.com/images/worksheets/icon_matched_probs0.jpg');
  background-size: 65px 80px;
  height: 80px;
  position: relative;
  width: 65px;
}
.supplements i {
  color: #ffffff;
  left: 15px;
  opacity: .5;
  position: absolute;
  top: 35px;
}
.supplements i:hover {
  opacity: 1;
}
.box_btn.mini_lecture {
  float: left;
  margin-bottom: ;
  margin-bottom: 14px;
  margin-right: 14px;
  margin: 10px;
  position: relative;
}
.box_btn.mini_lecture span {
  font-size: 10px;
}
.box_btn.answer {
  float: left;
  margin-bottom: 14px;
  margin-right: 14px;
  margin: 10px;
  position: relative;
}
.box_btn.answer span {
  font-size: 10px;
}
.box_btn.video.take5 {
  margin: 10px;
}
.box_btn.video.take5 span {
  font-size: 10px;
}
.cc_icon {
  background: #545454;
  border-bottom: 0px;
  border-radius: 4px;
  line-height: 11px;
  opacity: .4;
  padding: 0px 2px 0px 5px!important;
  position: absolute;
  right: -14px;
  top: 15px;
  z-index: -100;
}
.cc_icon img {
  height: 12px;
  padding: 0px;
  width: 12px;
}


/*---------------------------------------------------------------------*/
/*  LATEX MATH IN EBOOK
/*---------------------------------------------------------------------*/
.cell-problem-text {
  margin: 0px 10px 10px 10px;
  color: #101010 !important;
}
.cell-problem-text embed, .cell-problem-text img {
  max-width:90% !important;
}
.cell-problem-text table td {
  padding: 5px;
}
.cell-problem-text table th {
  border-bottom: 1px solid #333333;
  text-align: center !important;
}
@media only screen and (max-width: 1280px) {
  .cell-problem-text {
    font-size: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .cell-problem-text {
    font-size: 13px;
  }
}
@media only screen and (max-width: 480px) {
  .cell-problem-text {
    font-size: 11px;
  }
}
.cell-problem-text ol,
.cell-problem-text ul {
  font-weight: bold;
  list-style-position: outside;
  margin-left: 0;
  padding-left: .8em;
}
.cell-problem-text ol > li,
.cell-problem-text ul > li {
  padding-left: .8em;
}
.cell-problem-text ol p,
.cell-problem-text ul p {
  font-weight: normal;
}

/*
a.nav-link:not(.active) img.video-icon {
	content:'';
	display: inline-block;
	background-image: url('/assets/img/ebooks/mathtv_video_icon_flattened.png');
	background-size: 22px;
}

a.nav-link.active img.video-icon, a.nav-link:not(.active):hover img.video-icon {
	content:'';
	display: inline-block;
	background-image: url('/assets/img/ebooks/mathtv_video_icon_flattened_reversed.png');
	background-size: 22px;
}
*/