        /*Temporary*/
.main-holder tooltip {color: magenta;} 

.force-clear {
    clear: both;
}

 :root{
    --readaloud-color: #885737;
    --book-header-color-1: #5f2802; /*dark red brown*/
    --book-off-black: #58585a;
    --book-accent-color-1: #787639; /*green brown*/
    --book-accent-color-2: #885737; /*ruddy oragne*/
    /*-----*/
    --book-header-font-1: "GoodOT-Bold";
    --book-header-font-2: "GoodOT-Bold";
    --book-header-font-3: "Flower Power"; /*Book Title Font*/
    --book-handout-font-1: "Ex Ponto";
     /*-----*/
  --base-font: 18px;
  --font-scale: 1.2;

  --font-size-1: var(--base-font);

  --font-size-2: calc(var(--base-font) * var(--font-scale));

  --font-size-3: calc(var(--font-size-2) * var(--font-scale));

  --font-size-4: calc(var(--font-size-3) * var(--font-scale));

  --font-size-5: calc(var(--font-size-4) * var(--font-scale));

  --font-size-6: calc(var(--font-size-5) * var(--font-scale));

  --font-size-7: calc(var(--font-size-6) * var(--font-scale));

  --font-size-8: calc(var(--font-size-7) * var(--font-scale));

  --font-size-small-1: calc(var(--base-font) / var(--font-scale));

  --font-size-small-2: calc(var(--font-size-small-1) / var(--font-scale));

  --font-size-small-3: calc(var(--font-size-small-2) / var(--font-scale));
}

/*Fonts*/

@font-face {
  font-family: "Flower Power";
  src: url("https://content.demiplane.com/fonts/Flower Power Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Herbert Lemuel";
  src: url("https://content.demiplane.com/fonts/Herbert Lemuel Sans.ttf")
    format("truetype");
}

@font-face {
  font-family: "Auriol";
  src: url("https://content.demiplane.com/fonts/AuriolLTStd-Bold.otf")
    format("opentype");
}

@font-face {
  font-family: "Ex Ponto";
  src: url("https://content.demiplane.com/fonts/Ex Ponto Pro Regular.otf")
    format("opentype");
}

.reader-container .body-background {
background: linear-gradient(rgba(237,235,230,0.3), rgba(237,235,230,0.5)), url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/tott-bg-1.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: bottom !important;
}

.main-holder > h1 {
    font-family: var(--book-header-font-3);
    text-align: center;
    color: var(--book-header-color-1);
    font-size: var(--font-size-7);
    text-transform: none;
    background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/PZO15207-SC Border-Chapter Header-inner.png");
    background-size: cover;
    background-position: center;
    padding: 1em 10px 1.3em;
    background-repeat: no-repeat;
    margin-top: -10px;
    margin-bottom: 30px;
    z-index: 9001;
    display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-image-slice:
106 157 120;
border-image-width:
60px 50px 65px;
border-image-outset:
50px 20px 5px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/PZO15207-SC Border-Chapter Header-hollow-2.png");

}

.main-holder > h1 > span {
    font-size: var(--font-size-3);
    line-height: 1;
}

.main-holder > h1 .campaign-npc {
    font-size: var(--font-size-2);
    color: var(--book-accent-color-1);
    font-style: italic;
    padding-top: 10px;
}

@media only screen and (max-width: 500px) {
    
    .main-holder > h1 {
        font-size: var(--font-size-5);
    }
    
    .main-holder > h1 > span {
        font-size: var(--font-size-2);
    }
    
    .main-holder > h1 .campaign-npc {
        font-size: var(--font-size-1);
    }
}

.main-holder .npc {
    margin-top: 70px;
}

.main-holder > h2 {
    color: var(--book-header-color-1);
    font-family: var(--book-header-font-3);
    line-height: 1;
    font-size: var(--font-size-3);
    text-transform: uppercase;
}

.main-holder > .adv-summary {
    color: var(--book-off-black);
    font-family: var(--book-header-font-1);
    line-height: 1;
    font-size: calc(var(--font-size-2)*1.1);
    text-transform: none;
    margin-bottom: -5px;
}

.main-holder > h3 {
    font-family: var(--book-header-font-2);
    color: var(--book-accent-color-1);
    text-transform: none;
    font-size: var(--font-size-3);
}

.main-holder > h4 {
    color: var(--book-accent-color-2);
    font-family: var(--book-header-font-2);
    line-height: 1;
    font-size: var(--font-size-2);
    text-transform: uppercase;
}

.main-holder > h5 {
    font-family: GoodOT-CondBold;
    font-size: var(--font-size-2);
}

.main-holder > .book-styled-block, .main-holder > .sidebar {
    background-color: #f3ebdd; /*fallback*/
    background: url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/PZO90207-SC Sidebar-full length bg.jpg");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    padding: 30px 25px 20px;
    margin: 60px;
    border-radius: 0px;
    
     border-image-slice:
116 47 130;
border-image-width:
90px 20px 91px;
border-image-outset:
35px 5px 25px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/PZO90207-SC Sidebar-full length hollow-2.png");
}


@media only screen and (max-width: 500px) {
    .main-holder > .book-styled-block, .main-holder > .sidebar {
        margin: 60px 20px;
    }
}

.main-holder > .book-styled-block p, .main-holder > .sidebar p {
    font-family: GoodOT;
    color: var(--book-off-black);
}

.main-holder > .book-styled-block h5 {
    font-family: GoodOT-CondBold;
    font-size: var(--font-size-2);
    text-align: center;
}

.main-holder > .sidebar h5 {
    font-family: var(--book-header-font-2);
    color: var(--book-off-black);
    text-align: center;
    font-size: var(--font-size-2);
}

.main-holder > .book-styled-block > .trait-holder {
    background-color: #f3f2f2;
}



.main-holder > .split-header {
    font-size: var(--font-size-3);
    font-weight: normal;
    color: var(--book-header-color-1);
    font-family: var(--book-header-font-3);
    text-align: left;
    text-transform: uppercase;
    border-bottom: 0px;
}

.main-holder .standard-table th, .main-holder table th {
    background-color: #12310a;
    font-family: GoodOT;
    font-size: var(--font-size-1);
}

.main-holder > .standard-table td, .main-holder table td {
    font-family: GoodOT;
    color: var(--book-off-black);
}

.main-holder > .standard-table td strong, .main-holder table td strong {
    font-family: GoodOT-CondBold;
}

.main-holder > .standard-table td, .main-holder table td {
    border-right: 1px solid #d7c48d;
}

.main-holder > .adv-track {
   background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/adv-track-inner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 35px 30px 10px;
    color: var(--book-off-black);
    margin: 100px auto;
    
    
    border-image-slice:
120 157 106;
border-image-width:
50px 50px;
border-image-outset:
5px 20px 50px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/adv-track-hollow.png");
}


.main-holder > .adv-track h5 {
    text-align: center;
    font-family: GoodOT-Bold;
    font-size: var(--font-size-3);
}

.main-holder > .adv-track p {
    text-align: center;
}

.main-holder > .adv-track table {
    background-color: transparent;
    text-align: left !important;
}

.main-holder > .adv-track td {
    border: none;
    text-align: left !important;
}

.main-holder > .adv-track table p {
    
    text-align: left !important;
}

.main-holder > .adv-track td:not(:last-child) {
    font-size: var(--font-size-6);
    font-family: var(--book-header-font-3);
    color: var(--book-header-color-1);
    letter-spacing: -3px;
}

/* Images & Subtitles */

.image-so {
  shape-margin: 8px;
  padding: 0px;
  position: relative;
}

.book-image-center {
  margin-left: auto;
  margin-right: auto;
}

.force-image-left {
  float: left;
}

.force-image-right {
  float: right;
}

.image-with-subtitle-center {
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px !important;
}

.main-holder > .image-with-subtitle-center p, .main-holder > .image-with-subtitle-left p, .main-holder > .image-with-subtitle-right p {
    color: var(--book-off-black);
}

.image-with-subtitle-left {
    margin-right: 10px;
}

.main-holder > .image-with-subtitle-center p {
    
    font-family: var(--book-header-font-2);
}

.main-holder > .image-with-subtitle-center a,
.main-holder > .image-with-subtitle-left a, 
.main-holder > .image-with-subtitle-right a {
    font-family: var(--book-header-font-2);
    color: var(--book-header-color-1);
}

.image-so > p {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: 50px;
  font-family: var(--book-header-font-3);
  font-size: var(--font-size-small-1);
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  color: var(--book-header-color-1) !important;
  background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/triumph-of-the-tusk-the-resurrection-flood/css/caption-bar-2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0px 0px 0px black !important;
  z-index: 1001;
}

.image-so.alt > p {
  background-image: none;
  color: white;
  box-shadow: none;
}

@media only screen and (max-width: 600px) {
  .book-image-right {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .force-image-right {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .image-with-subtitle-right {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .book-image-left {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .force-image-left {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .image-with-subtitle-left {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

/* Handouts */

.book-handout-1 {
    margin: 10px 0px;
    border-radius: 20px;
    padding: 25px;
    background-image: url(https://content.demiplane.com/compendium/pathfinder-2e/curtain-call-stage-fright/css/handout-bg.jpg?format=webp);
    background-size: cover;
    background-position: bottom;
}

.book-handout-1 p {
    font-family: var(--book-handout-font-1);
    color: black;
    font-size: var(--font-size-3);
    letter-spacing: 1px;
}

.book-handout-1 h5 {
    text-align: right;
    opacity: 50%;
    padding: 0px;
    margin: -8px;
}

/* Other */

.main-holder .map-left {
    margin-right: 20px;
    margin-bottom: -10px;
}

.main-holder .signature {
    text-align: right;
}
/*Image Wizard Styles*/
