/** Generated: Sunday, 1st of June 2025, 10:17:54 AM // Powered by AIOM+ (All In One Minify) created by FlipZoom Media Inc. - David Karich (flipzoom.de) **/
/* medium screen */
@media all and (min-width: 786px){

	.align_left {
		/* for images placed in rich text editor */
		float: left;
		margin: 0 1.5% 0.5em 0;
		position: relative;
		max-width: 49%;
	}
	.align_right {
		/* for images placed in rich text editor */
		float: right;
		margin: 0 0 0.5em 1.5%;
		max-width: 49%;
	}
	.align_middle {
		/* for images placed in rich text editor */
	    float: left;
		margin: auto;
	    margin: 0 1.5% 0.5em 1%;
		max-width: 48%;
	}
	.align_center {
		/* for images placed in rich text editor */
		display: block;
		margin: 1em auto;
		position: relative;
	}
	.grid2UP{
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	}
	.grid3UP{
	    display: grid;
	    grid-template-columns: 1fr 1fr 1fr;
	}
	.one_third{
	    width: 32%;
	}
	.grid2thirds1third{
	    display: grid;
	    grid-template-columns: 2fr 1fr;
	}
}

@supports(display:grid){
    .grid2UP > div,
    .grid3UP > div,
    .grid2thirds1third > div{
        max-width: 100% !important;
        width: auto;
    }
}

/**
 * 	Created by Ben Byford
 *
 * 	main.less
 *
 *	Variables
 *	General HTML tags
 *	Masthead area
 *	Main content and sidebar
 *	Footer
 *	Helper Classes
 *	Print
 *
 */
/*********************************************************************
* Variables
*
*/
.subnav,
a,
button {
  transition: all 0.15s ease-in;
  -webkit-transition: all 0.15s ease-in;
}
header {
  animation: clouds 130s infinite linear;
  -webkit-animation: clouds 130s infinite linear;
}
.footer-inner {
  animation: moveRight 20s infinite linear;
  -webkit-animation: moveRight 20s infinite linear;
}
a.current {
  animation: alert 0.8s 1;
  -webkit-animation: alert 0.8s 1;
}
.side-character,
.side-character h3 {
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.description,
.event,
.event::after {
  transition: all 0.4s ease-out;
  -webkit-transition: all 0.4s ease-out;
}
section {
  transition: all 1s ease-out;
  -webkit-transition: all 1s ease-out;
}
a.flex-prev:hover {
  -webkit-animation: moveBack 1s both ease 2;
  animation: moveBack 1s ease infinite backwards;
}
a.flex-next:hover {
  -webkit-animation: moveForward 1s both ease 2;
  animation: moveForward 1s ease infinite backwards;
}
.aside-right img:hover {
  -webkit-animation: shake 1s ease forwards 1;
  animation: shake 1s ease forwards 1;
}
#logo {
  -webkit-animation: bgDown 1.5s ease forwards 1;
  animation: bgDown 1.5s ease forwards 1;
}
@keyframes bgDown {
  0% {
    background-position: 0 -100%;
  }
  100% {
    background-position: 0 100%;
  }
}
@-webkit-keyframes bgDown {
  0% {
    background-position: 0 -100%;
  }
  100% {
    background-position: 0 100%;
  }
}
@keyframes shake {
  0% {
    transform: rotateZ(0);
  }
  25% {
    transform: rotateZ(10deg);
  }
  75% {
    transform: rotateZ(-10deg);
  }
  92% {
    transform: rotateZ(3deg);
  }
  100% {
    transform: rotateZ(0deg);
  }
}
@-webkit-keyframes shake {
  0% {
    transform: rotateZ(0);
    -webkit-transform: rotateZ(0);
  }
  25% {
    transform: rotateZ(10deg);
    -webkit-transform: rotateZ(10deg);
  }
  75% {
    transform: rotateZ(-10deg);
    -webkit-transform: rotateZ(-10deg);
  }
  92% {
    transform: rotateZ(3deg);
    -webkit-transform: rotateZ(3deg);
  }
  100% {
    transform: rotateZ(0deg);
    -webkit-transform: rotateZ(0deg);
  }
}
@keyframes alert {
  0% {
    transform: rotateZ(0);
  }
  25% {
    transform: rotateZ(10deg);
  }
  75% {
    transform: rotateZ(-10deg);
  }
  92% {
    transform: rotateZ(3deg);
  }
  100% {
    transform: rotateZ(0deg);
  }
}
@-webkit-keyframes alert {
  0% {
    transform: rotateZ(0);
    -webkit-transform: rotateZ(0);
  }
  25% {
    transform: rotateZ(10deg);
    -webkit-transform: rotateZ(10deg);
  }
  75% {
    transform: rotateZ(-10deg);
    -webkit-transform: rotateZ(-10deg);
  }
  92% {
    transform: rotateZ(3deg);
    -webkit-transform: rotateZ(3deg);
  }
  100% {
    transform: rotateZ(0deg);
    -webkit-transform: rotateZ(0deg);
  }
}
@keyframes clouds {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2800px -200px;
  }
}
@-webkit-keyframes clouds {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2800px -200px;
  }
}
@keyframes moveRight {
  0% {
    background-position: -10% 97%;
  }
  100% {
    background-position: 110% 97%;
  }
}
@-webkit-keyframes moveRight {
  0% {
    background-position: -10% 97%;
  }
  100% {
    background-position: 110% 97%;
  }
}
@keyframes moveBack {
  0 {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(-40%);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes moveForward {
  0 {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(40%);
  }
  100% {
    transform: translateX(0%);
  }
}
/*********************************************************************
* General HTML tags
*
*/
* {
  box-sizing: border-box;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
body {
  margin: 0 auto;
}
body,
td,
input[type=text],
textarea {
  font-family: 'Nunito', gothom rounded, verdana sans-serif;
  font-size: 105%;
  line-height: 1.45em;
  color: #444;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 120%;
  word-break: keep-all;
  font-family: 'Amatic SC', Impact, comic sans MS;
  margin: 0;
}
h1 {
  font-size: 2.6em;
  padding: 0.2em 0 0.6em;
}
h2 {
  font-size: 1.8em;
  padding: 1em 0 1.2em;
}
h3 {
  font-size: 1.6em;
  padding: 0.6em 0 1em;
}
h4 {
  font-size: 1.4em;
  padding: 0.5em 0 0.8em;
}
h5 {
  font-size: 1.3em;
  padding: 0.4em 0 0.7em;
}
h6 {
  color: #ccc;
  margin-bottom: 1em;
}
a {
  color: #ec4626;
  word-break: normal;
}
a:visited {
  color: #d43f22;
}
a:hover {
  color: #bd381e;
  text-decoration: none;
}
a:active,
a:focus {
  color: #ff703d;
}
p {
  margin: 0.3em 0 0.5em;
}
aside {
  display: inline-block;
}
@media all and (min-width: 786px) {
  aside {
    width: 28%;
    margin-right: 2%;
  }
}
blockquote {
  font-size: 140%;
  line-height: 140%;
  color: white;
  clear: left;
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-family: 'Sue Ellen Francisco', 'Amatic SC', comic sans MS;
  background: url(/site/templates/img/quoteBG.png) no-repeat;
  background-size: cover;
}
blockquote p:last-child {
  margin: none;
}
@media all and (min-width: 786px) {
  blockquote {
    font-size: 150%;
    padding: 1em 2em;
  }
}
pre,
code {
  background: #eee;
  border: 1px solid #ddd;
}
pre {
  font-size: 14px;
  line-height: 1.4em;
  padding: 1em;
  border-left: 4px solid #ddd;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
hr.border-bottom {
  border: 0;
  margin: 0 auto;
  height: 30px;
  background-color: white;
  background-image: url(/site/templates/img/line1.png);
  background-position: bottom center;
  background-repeat: repeat-x;
  position: relative;
  width: calc(100%-92px);
}
hr.border-bottom:after {
  border: 0;
  margin: 0;
  height: 30px;
  width: 46px;
  content: " ";
  display: block;
  position: absolute;
  right: 0;
  background-color: white;
  background-image: url(/site/templates/img/line1-right.png);
  background-position: bottom center;
  background-repeat: no-repeat;
}
hr.border-bottom:before {
  border: 0;
  margin: 0;
  height: 30px;
  width: 46px;
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  background-color: white;
  background-image: url(/site/templates/img/line1-left.png);
  background-position: bottom center;
  background-repeat: no-repeat;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*********************************************************************
 * 2. nav area
 *
 */
header {
  background: #bbe6f9 url(/site/templates/img/clouds.png) repeat-x;
  background-size: cover;
  background-position: 0 0;
}
header .header-inner {
  padding: 0 2.5% 0.25em;
  position: relative;
  margin-bottom: 1em;
}
.social {
  position: absolute;
  top: 1em;
  right: 1%;
  text-align: right;
  width: 200px;
}
.social nav {
  margin: 0;
  width: auto;
  display: block;
  column-count: 1;
}
.social .twitter,
.social .facebook,
.social .instagram {
  display: inline-block;
  height: 19px;
  width: 19px;
  margin-left: 4%;
  background-repeat: no-repeat;
  background-size: 100%;
}
.social .twitter {
  background-image: url(/site/templates/img/icon-twitter.svg);
}
.social .facebook {
  background-image: url(/site/templates/img/icon-facebook.svg);
}
.social .instagram {
  background-image: url(/site/templates/img/instagram.svg);
}
.white-head {
  background: transparent url(/site/templates/img/page-head-bg.png) repeat-x;
  height: 50px;
  margin-top: -50px;
  width: 100%;
}
#topnav {
  padding-top: 1.2em;
}
@media all and (min-width: 786px) {
  #topnav {
    height: 4em;
  }
}
@media all and (max-width: 786px) {
  nav {
    column-count: 2;
    -webkit-column-count: 2;
  }
}
@media all and (min-width: 786px) {
  nav {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: end;
    -webkit-justify-content: end;
  }
  nav > div {
    align-items: center;
    -webkit-align-items: center;
  }
}
@media all and (min-width: 900px) {
  nav {
    width: 60%;
    margin-left: 40%;
  }
}
nav div {
  position: relative;
  width: 100%;
}
nav div a {
  font-size: 1.36em;
  font-family: 'Amatic SC', Impact, comic sans MS;
  font-weight: bold;
  display: inline-block;
  z-index: 8;
  color: black !important;
  text-decoration: none;
  padding: 0.48em 0.84em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media all and (min-width: 786px) {
  nav div a {
    font-size: 1.7em;
  }
}
nav div a:hover,
nav div a.current {
  background-image: url(/site/templates/img/yellow-button.png);
}
nav div a:active {
  opacity: 0.5;
}
nav div a.list-page-submenu {
  cursor: text;
}
nav .books {
  display: none;
}
@media all and (min-width: 786px) {
  nav .books {
    display: inline-block;
  }
}
@media all and (min-width: 786px) {
  nav .subnav {
    position: absolute;
    left: 0;
    z-index: 100;
    display: none;
    opacity: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.5em;
    width: 120%;
  }
}
nav .subnav a {
  display: block;
  width: auto;
  width: -moz-fit-content;
  width: fit-content;
}
nav .sub:hover .subnav {
  display: block;
  opacity: 1;
}
/*********************************************************************
 * 3. Main content and sidebar
 *
 */
#page {
  position: relative;
}
#page,
.header-inner {
  min-width: 320px;
  max-width: 1400px;
  margin: 0 auto;
}
.container {
  margin: 0 auto;
  padding: 2%;
}
@media all and (min-width: 786px) {
  .container {
    padding: 0 1em;
  }
}
@media all and (min-width: 900px) {
  .center-container {
    width: 80%;
    margin: auto;
  }
}
@media all and (min-width: 1260px) {
  .center-container {
    width: 70%;
  }
}
#main {
  clear: both;
  z-index: 2;
}
.side-character {
  display: none;
  z-index: 1;
  position: absolute;
  top: 8em;
  left: -120px;
  transform: rotateZ(20deg);
  -webkit-transform: rotateZ(20deg);
}
@media all and (min-width: 1260px) {
  .side-character {
    display: block;
  }
}
.side-character img {
  max-width: 200px;
}
.side-character h3 {
  opacity: 0;
  margin-left: 20px;
  max-width: 200px;
}
.side-character:hover {
  left: -10px;
  transform: rotateZ(0deg);
  -webkit-transform: rotateZ(0deg);
}
.side-character:hover h3 {
  opacity: 1;
}
#logo {
  text-indent: -9999px;
  background: url(/site/templates/img/logo.gif) no-repeat;
  background-size: 240px 60px;
  background-position: 0 100%;
  margin: 0;
  height: 100px;
  width: 100%;
}
@media all and (min-width: 460px) {
  #logo {
    background-size: 450px 97px;
  }
}
@media all and (min-width: 786px) {
  #logo {
    height: 160px;
    width: 90%;
    background-size: 675px 145.5px;
  }
}
section {
  padding-bottom: 1.5em;
  padding-top: 1.5em;
  clear: left;
}
section h1,
section > h2 {
  text-align: center;
}
section h1::after,
section > h2::after {
  margin-top: 5px;
  display: block;
  content: ' ';
  width: 100%;
  height: 15px;
  background: url(/site/templates/img/line-orange.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
section#books-list h1::after,
section#characters-list h1::after,
section#recommended-books h1::after,
section#books-list > h2::after,
section#characters-list > h2::after,
section#recommended-books > h2::after {
  height: 8px;
  background-image: url(/site/templates/img/line-black.jpg);
}
section.notSeen {
  transform: scale(0.9);
  -webkit-transform: scale(0.9);
}
#content {
  background: white;
}
.text-content {
  padding: 0.6em;
}
.profile-image {
  background: url(/site/templates/img/frame.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 18px;
  margin: 0 2em 1em;
  width: 200px;
}
@media all and (max-width: 786px) {
  .profile-image {
    margin: auto;
    clear: both;
    display: block;
    float: none;
  }
}
.list .flex-anchor {
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
}
.list img {
  min-width: 180px;
  width: 100%;
  max-width: 240px;
}
.list.chapter-books img {
  min-width: 180px;
  width: 100%;
  max-width: 200px;
}
.list .body {
  padding: 0 0.6em;
}
.list a {
  padding: 0.726em;
  display: block;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
}
.list a:hover {
  transform: scale(1.05) rotateZ(1deg);
}
.list a:active {
  transform: scale(1.025) rotateZ(0deg);
}
.list a:hover:nth-child(2n) {
  transform: scale(1.05) rotateZ(-2deg);
}
.list a:hover:nth-child(5n) {
  transform: scale(1.05) rotateZ(3deg);
}
.list .flex-anchor > div {
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
}
.list .flex-anchor > div:hover {
  transform: scale(1.05) rotateZ(1deg);
}
.list .flex-anchor > div:active {
  transform: scale(1.025) rotateZ(0deg);
}
.list .flex-anchor > div:hover:nth-child(2n) {
  transform: scale(1.05) rotateZ(-2deg);
}
.list .flex-anchor > div:hover:nth-child(5n) {
  transform: scale(1.05) rotateZ(3deg);
}
.slider {
  position: relative;
  overflow: hidden;
}
@media all and (min-width: 786px) {
  .slider {
    overflow: visible;
  }
}
.slider ul,
.slider li {
  margin: 0;
  padding: 0;
}
.slider .slides {
  position: relative;
  overflow: hidden;
}
.slider .slides ul,
.slider .slides li {
  position: relative;
}
.slider .description {
  position: absolute;
  bottom: 0;
  opacity: 0.8;
  width: 50%;
  background: white;
  border-top-right-radius: 10px;
  padding: 1em;
  transform: translateY(100%);
  -webkit-transform: translateY(100%);
}
.slider a {
  height: 100%;
}
.slider a:hover .description {
  opacity: 1;
  transform: translateY(0%);
  -webkit-transform: translateY(0%);
}
.flex-direction-nav {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50%;
  z-index: 99;
}
.flex-direction-nav a {
  position: absolute;
  bottom: 0%;
  width: 30px;
  height: 15px;
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: -9999px;
}
.flex-direction-nav a:active {
  opacity: 0.4;
}
@media all and (min-width: 786px) {
  .flex-direction-nav a {
    width: 60px;
    height: 30px;
  }
}
.flex-direction-nav .flex-prev {
  left: 0.6em;
  background-position: left top;
  background-image: url(/site/templates/img/arrow_left.png);
}
.flex-direction-nav .flex-next {
  right: 0.6em;
  background-position: right top;
  background-image: url(/site/templates/img/arrow_right.png);
}
@media all and (min-width: 786px) {
  .flex-direction-nav {
    display: block;
  }
}
/*********************************************************************
 * Section specific
 *
 */
#activities .flex-anchor img {
  transition: box-shadow 0.2s ease;
  -webkit-transition: box-shadow 0.2s ease;
  box-shadow: 2px 3px 4px #ccc;
}
#activities .flex-anchor img:hover {
  box-shadow: 1px 2px 3px #aaa;
}
#characters .flex-anchor {
  max-width: 1000px;
  margin: 0 auto;
}
#book .center-container {
  position: relative;
}
.aside-right {
  text-align: center;
}
@media all and (min-width: 786px) {
  .aside-right {
    float: right;
  }
}
@media all and (min-width: 900px) {
  .aside-right {
    margin-right: -10%;
  }
}
@media all and (min-width: 1260px) {
  .aside-right {
    margin-right: -15%;
  }
}
.aside-right.buy-right a {
  background: url(/site/templates/img/button1.png);
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0.6em 0.8em;
}
.aside-right.buy-right a:nth-child(2n) {
  background-image: url(/site/templates/img/button2.png);
}
.aside-right a {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  font-family: 'Sue Ellen Francisco', 'Amatic SC', comic sans MS;
  font-size: 160%;
  color: white;
  margin: 0.6em;
}
.aside-right a:hover {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  color: #eee;
}
.aside-right a:active {
  transform: scale(0.95);
  -webkit-transform: scale(0.95);
  color: #111;
}
@media all and (min-width: 786px) {
  .aside-right a {
    display: block;
    margin: 0 0 0.6em;
  }
}
@media all and (min-width: 900px) {
  .aside-right a {
    padding: 0.78em 1.2em;
    margin-bottom: 0.6em;
    font-size: 180%;
  }
}
.aside-right a img {
  max-width: 150px;
  padding: 0.9em;
  background: url(/site/templates/img/frame.png);
  background-repeat: repeat;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.post-content,
.event-content {
  display: inline-block;
  vertical-align: top;
}
@media all and (min-width: 786px) {
  .post-content,
  .event-content {
    width: 70%;
  }
}
.post-content .event,
.event-content .event {
  cursor: pointer;
}
.post-content .event::after,
.event-content .event::after {
  margin-top: 0.6em;
  display: block;
  content: ' ';
  width: 100%;
  height: 15px;
  background: url(/site/templates/img/line-orange.jpg);
  background-position: 0 center;
  background-size: contain;
  background-repeat: no-repeat;
}
.post-content .event.active::after,
.event-content .event.active::after {
  background-position: 15px center;
}
.post-content .event > :nth-child(2),
.event-content .event > :nth-child(2) {
  color: #ec4626;
  font-size: 90%;
}
.post-content .event .summary,
.event-content .event .summary {
  margin-bottom: 1em;
}
.post {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ffde43;
}
.post .date,
.post .tags {
  font-size: 80%;
  margin-top: 0;
  color: #aaaaaa;
}
.MarkupPagerNav li {
  display: inline;
}
.MarkupPagerNav .MarkupPagerNavOn {
  font-weight: bold;
}
.calendar {
  display: none;
}
@media all and (min-width: 786px) {
  .calendar {
    display: block;
  }
}
.calendar td {
  padding: 0.3em;
  font-size: 80%;
}
.calendar .event {
  background-color: #ffde43;
  height: 25px;
  width: 25px;
  text-align: center;
  border-radius: 50%;
  display: table-cell;
  vertical-align: middle;
  cursor: pointer;
}
.calendar .event.active {
  background: #ec4626;
}
.calendar .calendar-day-head {
  color: #aaaaaa;
}
/*********************************************************************
 * 4. Footer
 *
 */
#footer {
  margin-top: 2em;
  clear: both;
  padding-top: 50px;
  background: url(/site/templates/img/footer-bg.png) repeat-x top center;
  font-family: 'Amatic SC', Impact, comic sans MS;
}
#footer .footer-inner {
  padding: 1em 1em 5em;
  background: #ffcd35;
  background-image: url(/site/templates/img/mouse_footer.gif);
  background-position: -2% 97%;
  background-size: 85.5px 85px;
  background-repeat: no-repeat;
}
#footer .footer-inner .grid3UP a {
  font-size: 120%;
}
#footer .footer-inner .center-container {
  max-width: 1400px;
}
/*********************************************************************
* 4. Helper classes
*
*/
.cf:before,
.cf:after {
  content: " ";
  display: table;
}
.cf:after {
  clear: both;
}
.cf {
  *zoom: 1;
}
.hide,
.hidden {
  display: none;
}
.no-opacity {
  opacity: 0;
}
.opacity {
  opacity: 1;
}
.absolute {
  position: absolute;
}
.textRight {
  text-align: right;
}
.full-width {
  width: 100%;
}
.half {
  display: inline-block;
  vertical-align: top;
}
@media all and (min-width: 460px) {
  .half {
    width: 50%;
  }
}
.flex-anchor {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
}
.flex-anchor > div {
  align-items: center;
  -webkit-align-items: center;
}
.hover-opacity:hover {
  opacity: 0.7;
}
.hover-opacity:active {
  opacity: 0.5;
}
.border-top {
  background-image: url(/site/templates/img/line.png);
  background-position: top center;
  background-repeat: repeat-x;
}
.enlarge-onhover {
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
}
.enlarge-onhover:hover {
  transform: scale(1.05) rotateZ(1deg);
}
.enlarge-onhover:active {
  transform: scale(1.025) rotateZ(0deg);
}
.enlarge-onhover:hover:nth-child(2n) {
  transform: scale(1.05) rotateZ(-2deg);
}
.enlarge-onhover:hover:nth-child(5n) {
  transform: scale(1.05) rotateZ(3deg);
}
/* ==========================================================================
Print styles
========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
  }
  thead {
    display: table-header-group;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  pre,
  blockquote,
  h2,
  h3,
  tr,
  img {
    page-break-after: avoid;
  }
}
