
@charset "utf-8";

/* anti-IPS countermeasures */

.ipsItemControls
{
  border-top: none;
}

.ipsType_pageTitle
{
  color: #fff
}

.ipsPager_prev, .ipsPager_title, .ipsPager_type
{
  line-height: 100%;
}

.ipsApp .ipsButton_fullWidth
{
  width: auto; 
}

.ipsBox
{
  border: none;
  border-radius: none;
}

h2.ipsType_reset
{
  margin: 0;
}

#mainbody a[data-mentionid] {background-color:transparent; border:1px dotted #fff;}
#mainbody a[data-mentionid]
{
  background: rgba(0, 0, 38, 0.8);
  color: #dfdfe7;
  border: none;
  border-radius: 7px;
}

#mainbody a[data-mentionid]:hover
{
  background-color: rgba(0, 0, 112, 0.8);
  color: #fff;
}

/* embedded IPS content */

.ipsApp.websiteEmbed .ipsDataItem_meta #sub-nav
{
  display: none;
}

.ipsApp.websiteEmbed .ipsButton_link
{
  background: #fff;
}

/* regular website css below this point */

body
{
  margin: 0;
  padding: 0;
  font-family: Source Sans Pro, sans-serif;
  line-height: 150%;
  font-size: 16px;
  background-image: url(//content.invisioncic.com/u284679/pages_media/0_2018_background.jpg);
  background-size: cover;
  background-position: 50% 122px;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

img
{
  border: none; !important
}

h1
{
  font-family: Cinzel, serif;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
  margin: 0.5em;
  color: #fff;
  font-weight: normal;
  text-shadow: #000 1px 1px;
}

@media only screen and (min-width: 1000px)
{
  h1
  {
    font-size: 48px;
  }
}

h2
{
  font-family: Cinzel, serif;
  font-size: 26px;
  color: #009;
  font-weight: normal;
  margin: 1.5em auto 1em;
}

/* reduce top margin if h2 is first element (excluding the #right floated content) */
h2:first-child, #right + h2
{
  margin-top: 0.5em;
}

@media only screen and (min-width: 1000px)
{
  h2
  {
    font-size: 28px;
  }
}

h3
{
  /*
  font-family: Cinzel, serif;
  font-size: 22px;
  color: #009;
  font-weight: normal;
  font-variant-caps: small-caps;
  margin: 1em auto;
  */
  font-weight: 600;
  margin: 0.5em auto;
  font-size: 20px;
}

h4
{
  font-weight: bold;
  margin: 0.5em auto;
}

a
{
  font-weight: 600;
  text-decoration: none;
}

a:hover
{
  text-decoration: none;
}

strong a, strong a:hover
{
  font-weight: bold;
}

h1 a, h1 a:hover
{
  font-weight: normal;
  color: #fff;
  text-decoration: underline;
}

h2 a, h3 a
{
  font-weight: normal;
}

h4 a
{
  font-weight: bold;
}

.wrapper
{
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
  text-align: left;
}

#stripe_header
{
  background: #000;
  position: fixed;
  top: 0;
  margin: 0;
  padding: 20px;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  z-index: 100;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Chrome and Opera */
  overflow: hidden;
  max-height: 122px;
  transition: max-height 0.8s ease;
}

#stripe_header.opened
{
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 100vh;
}

@media only screen and (min-width: 1000px)
{
  #stripe_header
  {
    height: 122px;
  }
}

#stripe_header a
{
  font-weight: normal;
}

#menu-controls
{
  line-height: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

@media only screen and (min-width: 1000px)
{
  #menu-controls
  {
    width: auto;
  }
}

#logo img
{
  width: 194px;
  height: 68px;
}

@media only screen and (min-width: 350px)
{
  #logo img
  {
    width: 234px;
    height: 82px;
  }
}

@media only screen and (min-width: 1000px)
{
  .hamburger
  {
    display: none;
  }
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after
{
  background-color: #eee;
}

@media only screen and (min-width: 1000px)
{
  #menu-controls
  {
    float: left;
  }
}

#logo
{
  z-index: 300;
}

#nav
{
  z-index: 200;
  visibility: hidden;
}

#stripe_header.opened #nav
{
  visibility: visible;
}

@media only screen and (min-width: 1000px)
{
  #nav
  {
    height: 82px;
    background-image: url(//content.invisioncic.com/u284679/pages_media/0_2018_navline.gif);
    background-position: calc(50% + 137px) 50%;
    background-repeat: no-repeat;
    visibility: visible;
  }
}

#site-nav, #mod-nav
{
  overflow: hidden;
}

@media only screen and (min-width: 1000px)
{
  #site-nav, #mod-nav
  {
    margin: 0 20px 0 0;
    position: relative;
    left: 20px;
  }

  #site-nav
  {
    top: 4px;
  }

  #mod-nav
  {
    top: 30px;
  }
}

#site-nav a, #mod-nav button
{
  cursor: pointer;
  box-sizing: border-box;
  color: #eee;
  display: block;
  padding: 10px;
  margin: auto;
  text-decoration: none;
  width: 100%;
  background-color: #000; /* needed for IE */
}

@media only screen and (min-width: 1000px)
{
  #site-nav a, #mod-nav button
  {
    display: inline-block;
    padding: 0 6px;
    width: unset;
  }
}

#site-nav a:hover, #mod-nav button:hover, #site-nav a:focus, #mod-nav button:focus
{
  outline: 0;
  color: #fff;
  background-color: #202021;
}

#site-nav > ul, #mod-nav > ul
{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media only screen and (min-width: 1000px)
{
  #site-nav > ul, #mod-nav > ul
  {
    margin: 0 -2px 0 0;
  }
}

#mod-nav > ul
{
  overflow-x: hidden;
  overflow-y: auto;
}

#site-nav > ul > li, #mod-nav > ul > li
{
  flex: 1 0 100%;
  text-align: center;
}

@media only screen and (min-width: 1000px)
{
  #site-nav > ul > li, #mod-nav > ul > li
  {
    border-right: 1px solid #999;
    flex: 1 0 auto;
  }
}

.mod-nav-container
{
  z-index: 100;
  text-align: center;
  display: block;
  overflow: hidden;
}

@media only screen and (min-width: 1000px)
{
  .mod-nav-container
  {
    position: fixed;
    top: 122px;
    -ms-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    left: 50%;
    width: 90vw;
    max-width: 970px;
    border-left: 3px solid #313133;
    border-right: 3px solid #313133;
    border-bottom: 3px solid #313133;
    border-radius: 0px 0px 15px 15px;
    -moz-border-radius: 0px 0px 15px 15px;
  }
}

#mod-nav li.opened .mod-nav-container
{
  opacity: 1;
  transition: max-height 1.5s ease;
  max-height: calc(30 * (20px + 1.5em)); /* height of 30 mod listings */
}

@media only screen and (min-width: 1000px)
{
  #mod-nav li.opened .mod-nav-container
  {
    max-height: calc(100vh - 140px);
  }
}

#mod-nav li.closed .mod-nav-container
{
  opacity: 0.5;
  max-height: 0;
  visibility: hidden;
}

.mod-nav-container ul
{
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  background-color: #b3b3cc;
}

#mod-nav li.closed .mod-nav-container ul
{
  display: none;
}

.mod-nav-container a
{
  display: block;
  padding: 10px;
  margin: auto;
  color: #000;
  text-decoration: none;
}

.mod-nav-container a:hover, .mod-nav-container a:focus
{
  outline: 0;
  color: #e0e0eb;
  background-color: #39396a;
}

.mod-nav-container li
{
  flex-basis: 100%;
}

@media only screen and (min-width: 1000px)
{
  .mod-nav-container li
  {
    flex-basis: calc(100% / 3);
  }
}

#mod-nav button
{
  background: unset;
  border: none;
  font: inherit;
  margin-left: auto;
  margin-right: auto;
}

#mod-nav li.closed button::before, li.opened button::before
{
  content: "";
	background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  height: 18px;
  width: 18px;
  top: 4px;
}

@media only screen and (min-width: 1000px)
{
  #mod-nav li.closed button::before, li.opened button::before
  {
    display: none;
  }
}

#mod-nav li.closed button::before
{
  /* octicons chevron-right */
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%228%22%20height%3D%2216%22%20viewBox%3D%220%200%208%2016%22%3E%3Cpath%20fill%3D%22%23eee%22%20fill-rule%3D%22evenodd%22%20d%3D%22M7.5%208l-5%205L1%2011.5%204.75%208%201%204.5%202.5%203l5%205z%22/%3E%3C/svg%3E');
}

#mod-nav li.opened button::before
{
  /* octicons chevron-down */
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2210%22%20height%3D%2216%22%20viewBox%3D%220%200%2010%2016%22%3E%3Cpath%20fill%3D%22%23eee%22%20fill-rule%3D%22evenodd%22%20d%3D%22M5%2011L0%206l1.5-1.5L5%208.25%208.5%204.5%2010%206l-5%205z%22/%3E%3C/svg%3E');
}

#stripe_content
{
  position: relative;
  margin: 122px auto auto auto;
  text-align: center;
  padding: 20px;
}

@supports (position: sticky)
{
  #stripe_header
  {
    position: sticky;
  }
  
  #stripe_content
  {
    margin: 0 auto;
  }
}


@media only screen and (min-width: 1000px)
{
  #stripe_content
  {
    /* always take up at least the entire visible screen, minus the header and footer height */
    /* this ensures the footer will not show up higher than the bottom of the page */
    min-height: calc(100vh - 122px - 25px);
  }
}

#introtext
{
  font-style: italic;
  padding: 5px 20px;
  border-radius: 15px;
  -moz-border-radius: 15px; /* Firefox 3.6 and earlier */
  color: #eee;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 20px 0;
}

#introtext a
{
  color: #b9b9f1;
  font-weight: 600;
}

#introtext a:hover
{
  text-decoration: underline;
}

#sub-nav
{
  text-align: center;
  margin: 18px 0 10px 0;
}

#sub-nav a
{
  font-family: Source Sans Pro, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: 5px 20px;
  border-radius: 7px;
  -moz-border-radius: 7px; /* Firefox 3.6 and earlier */
  color: #dfdfe7;;
  background-color: rgba(0, 0, 38, 0.8);
  margin: 4px;
  display: inline-block;
}

#sub-nav a:hover
{
  background-color: rgba(0, 0, 112, 0.8);
  color: #fff;
}

#stripe_footer
{
  position: relative;
  bottom: 0;
  background-color: #202021;
  font-size: 10px;
  line-height: 15px;
  margin: 0;
  padding: 5px 10px;
  color: #fff;
}

@media only screen and (min-width: 1000px)
{
  #stripe_footer
  {
    position: sticky;
  }
}

#stripe_footer .wrapper
{
  text-align: center;
}

#stripe_footer p
{
  margin: 0;
}

#mainbody
{
  font-size: 18px;
  padding: 20px 20px 5px;
  border-radius: 15px;
  -moz-border-radius: 15px; /* Firefox 3.6 and earlier */
  color: #111;
  background-color: rgba(223, 223, 231, 0.95);
  overflow: auto;
  line-height: 170%;
}

#mainbody a
{
  color: #0000cd;
  text-decoration: none;
}

#mainbody a:hover
{
  color: #0000cd;
  text-decoration: underline;
}

#mainbody .anchor
{
  position: relative;
}

#mainbody .anchor a
{
  position: relative;
  top: -122px;
}

#mainbody p
{
  margin: 0.5em 0 1.5em;
}

#right
{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  padding: 15px;
  width: 248px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  -moz-border-radius: 15px; /* Firefox 3.6 and earlier */
}

@media only screen and (min-width: 600px)
{
  #right
  {
    margin-left: 15px;
    margin-right: 0px;
    float: right;
  }
}


#right p
{
  margin: 1em auto;
}

#right #portrait
{
  margin-left: auto;
  margin-right: auto;
  width: 218px;
  text-align:center;
}

#right #portrait img
{
  border: 4px inset #ccc;
}

#right #infobox
{
  font-size: 14px;
  line-height: 100%;
}

#right #class
{
  font-family: Cinzel, serif;
  text-align: center;
}

#right #statbox
{
  font-family: Cinzel, serif;
  padding: 0px 25px;
}

#right #statleft
{
  float: left;
}

#right #statright
{
  float: right;
}

#right #meta
{
  color: #000000;
  padding: 0 10px;
}

#right #metaleft
{
  float: left;
  font-family: Cinzel, serif;
}

#right #metaright
{
  float: right;
}

#right #moreinfo
{
  text-align: center;
  font-size: 16px;
}

#right a#download_btn
{
  color: #eee;
  width: 150px;
  height: 45px;
  display: block;
  background: url(//content.invisioncic.com/u284679/pages_media/0_2018_download.png) no-repeat 0px -45px;
  text-align: center;
  font-family: Cinzel, serif;
  font-size: 18px;
  text-decoration: none;
  padding-top: 10px;
  margin-left: auto;
  margin-right: auto;
  line-height: 150%;
}

#right a#download_btn:hover
{
  color: #fff;
  background: url(//content.invisioncic.com/u284679/pages_media/0_2018_download.png) no-repeat 0px 0px;
  text-decoration: none;
}

.clearfix:before, .clearfix:after
{
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearfix:after
{
  clear: both;
}

.clearfix
{
  zoom: 1;
}  

.floatclear
{
  clear: both;
  display: block;
}

/* tables */
table
{
  border-collapse: collapse;
  min-width: 300px;
  display: block;
  overflow: auto;
  margin: 0.5em 0 1.5em;
}

table th
{
  color: #fff;
  background-color: #009;
  padding: 5px;
  border: 1px solid #666;
  text-align: center;
}

table td
{
  border-bottom: 1px solid #bbb;
  padding: 3px;
  text-align: center;
}

td.leftalign, th.leftalign
{
  text-align: left;
}

/* mod-specific styling below */

/* fixpack styling */
.bg2fp_beta
{
  color: #f00 !important;
}

h3.bg2fp_beta
{
  color: #900 !important;
}

.bg2fp_modder
{
  display:none;
}

/* kit mod stuff */
.kit_description
{
  position: relative;
  display: block;
  background-color: #f0f0f0;
  border-left: 4px solid #ccc;
  border-top: 1px dotted #ccc;
  padding: 15px 15px 1px;
  margin-bottom: 2em;
}

/* iwdification styling */  
.spell_description, .spell_description_cleric, .spell_description_druid
{
  position: relative;
  display: block;
  background-color: #eee;
  border-left: 4px solid #ccc;
  border-top: 1px dotted #ccc;
  padding: 10px 15px;
  margin: 20px;
}

.spell_description_druid
{
  border-color: #005a13;
  background-color:#ccded0;
}

.spell_description_cleric
{
  border-color: #000676;
  background-color: #cccde4;
}

.spell_description img, .spell_description_druid img, .spell_description_cleric img
{
  float:right;
  padding:10px;
}

/* geomantic sorcerer styling */
ul.portraits
{
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

ul.portraits li
{
  list-style-type: none;
  display: inline-block;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  margin: 5px;
  width: 195px;
}

ul.portraits li img
{
  display: block;
  width: 110px;
  height: 170px;
  margin: auto;
}

ul.portraits li .caption
{
  text-align: center;
}