@charset "utf-8";

/* trajan pro */
@font-face
{
  font-family: TrajanPro;
  src: url('/includes/trajanpro-regular-webfont.eot');
  src: url('/includes/trajanpro-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('/includes/trajanpro-regular-webfont.woff') format('woff'),
    url('/includes/trajanpro-regular-webfont.ttf') format('truetype'),
    url('/includes/trajanpro-regular-webfont.svg#TrajanProRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* source-sans-pro-regular - latin */
@font-face
{
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
       url('/includes/fonts/source-sans-pro-v11-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/includes/fonts/source-sans-pro-v11-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-italic - latin */
@font-face
{
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'),
       url('/includes/fonts/source-sans-pro-v11-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/includes/fonts/source-sans-pro-v11-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-600 - latin */
@font-face
{
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
       url('/includes/fonts/source-sans-pro-v11-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/includes/fonts/source-sans-pro-v11-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-600italic - latin */
@font-face
{
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 600;
  src: local('Source Sans Pro SemiBold Italic'), local('SourceSansPro-SemiBoldItalic'),
       url('/includes/fonts/source-sans-pro-v11-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/includes/fonts/source-sans-pro-v11-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-700 - latin */
@font-face
{
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
       url('/includes/fonts/source-sans-pro-v11-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/includes/fonts/source-sans-pro-v11-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-700italic - latin */
@font-face
{
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 700;
  src: local('Source Sans Pro Bold Italic'), local('SourceSansPro-BoldItalic'),
       url('/includes/fonts/source-sans-pro-v11-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/includes/fonts/source-sans-pro-v11-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body
{
  margin: 0;
  padding: 0;
  font-family: Source Sans Pro, Arial, Helvetica, sans-serif;
  line-height: 150%;
  font-size: 16px;
  background-image: url(/images/2018_background.jpg);
  background-position: 50% 122px;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

@media only screen and (min-width: 1000px)
{
  body
  {
    background-size: cover;
  }
}

img
{
  border: none; !important
}

h1
{
  font-family: TrajanPro, Georgia, Palatino, Times New Roman, 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: TrajanPro, Georgia, Palatino, Times New Roman, 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: TrajanPro, Georgia, Palatino, Times New Roman, 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: TrajanPro, Georgia, Palatino, Times New Roman, serif;
  font-size: 14px;
  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: 82px;
  width: calc(100% - 40px);
  transition: max-height 0.8s ease;
}

#stripe_header.opened
{
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 40px);
}

@media only screen and (min-width: 1000px)
{
  #stripe_header
  {
    height: 82px;
  }
}

#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(/images/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: 5px;
  }

  #mod-nav
  {
    top: 33px;
  }
}

#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: #dfdfe7;
}

#mod-nav li.closed .mod-nav-container ul
{
  display: none;
}

.mod-nav-container a
{
  display: block;
  padding: 10px;
  margin: auto;
  color: #202021;
  text-decoration: none;
}

.mod-nav-container a:hover, .mod-nav-container a:focus
{
  outline: 0;
  color: #fff;
  background-color: #515154;
}

.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 padding and the header and footer height */
    /* this ensures the footer will not show up higher than the bottom of the page */
    min-height: calc(100vh - 40px - 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, Arial, Helvetica, 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: 218px;
  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: TrajanPro, Georgia, Palatino, Times New Roman, serif;
  text-align: center;
}

#right #statbox
{
  font-family: TrajanPro, Georgia, Palatino, Times New Roman, 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: TrajanPro, Georgia, Palatino, Times New Roman, serif;
}

#right #metaright
{
  float: right;
}

#right #moreinfo
{
  text-align: center;
  font-size: 16px;
}

#right a#download_btn
{
  color: #eee;
  width: 150px;
  height: 35px;
  display: block;
  background: url(/images/2018_download.png) no-repeat 0px -45px;
  text-align: center;
  font-family: TrajanPro, Georgia, Palatino, Times New Roman, 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(/images/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;
}