/*
 * Globals
 */

body {
  font-family: BookSanity;
  color: #000000;
  font-size: .317cm;
    background-image: url('/images/phb_bg.png');
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: .2em;
  margin-bottom: .2em;
  font-family: MrJeeves;
  font-weight: 800;
  color: #58180D;
}


h1 {
  column-span: all;
  font-size: .987cm;
  -webkit-column-span: all;
  -moz-column-span: all;
}
@supports not (column-span: all) {
  h1 {
    width: 864px;
    word-wrap: normal;
  }
}
h2 {
  font-size: 0.705cm;
}
h3 {
  font-size: .529cm;
  border-bottom: 2px solid #c9ad6a;
}
h4 {
  margin-bottom: 0;
  font-size: 0.458cm;
}
h5 {
  margin-bottom: .2em;
  font-family: ScalySansSmallCaps;
  font-size: .423cm;
  font-weight: 900;
}
p {
  font-family: BookSanity;
  color: #000000;
  font-size: .4cm;
}
blockquote {
  font-family: ScalySans;
  box-sizing: border-box;
  margin-bottom: 2.5em;
  margin-top: 3.2em;
  padding: 5px 10px;
  background-color: #e0e5c1;
  border-style: solid;
  border-width: 11px;
  border-image: url('/images/note-wrap.png') 11;
  border-image-outset: 9px 0;
  box-shadow: 1px 4px 14px #888;
}
li {
  -webkit-column-break-inside: avoid;
  column-break-inside: avoid;
  margin-top: .1em;
  text-indent: -1em;
  list-style-type: none;
}
li:nth-child(1) {
  margin-top: 1.5em;
}
li:nth-last-child(1) {
  margin-bottom: 1.5em;
}
/*
 * Override Bootstrap's default container.
 */

/* @media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}*/ 


/*
 * Masthead for nav
 */
.blog-masthead {  
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 80;
 /* margin-left: .025em;
  margin-right: .025em; */
  margin-top: 29px; 
  background-image: url('/images/left-scroll-large-80.png'), url('/images/right-scroll-large-80.png'); 
  background-position: left top, right  top;
  background-repeat: no-repeat, no-repeat;
  z-index: 6;
}
.blog-masthead-background {
  font-family: ScalySans;
  position: relative;
  top: 0;
  left: 4.8em;
  width: calc(100% - 9.6em);
  height: 80px; 
  z-index: -1;
  background-image: url('/images/center-scroll-large-80.png') ; 
  background-position: left center ;
  /* background-repeat: repeat-x; */
  -webkit-background-size: calc(100%) 80px;
  -moz-background-size: calc(100%) 80px;
  -o-background-size: calc(100%) 80px;
  background-size: calc(100%) 80px;
  /*padding: 17px 15px 4px 15px;
  margin-left: -39px;
  margin-right: -41px;*/
  padding: 0px 0px;
  line-height: 60px;
}

/* Nav links */
.blog-nav-item {
  position: relative;
  /*float: left;*/
  /* margin-left: -30px; */
  /*display: inline-block;*/
  display: block;
  padding: 3px 30px 3px 5px;
  font-weight: 650;
  color: #005248;
  font-size: 0.358cm;
  font-family: MrJeeves;
    background-color: none;
  margin-bottom: 0px;
  border: 0px;
      margin-left: 0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px

}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #93524A;
  font-size: 0.529cm;
  text-decoration: none;
    background-color: none;
  margin-bottom: 0px;
  border: 0px;
}
.blog-nav .active {  
  font-family: MrJeeves;
  font-size: 0.529cm;
  font-weight: 800;
  color: #58180D;
}


/* Active state gets a caret at the bottom */
/* 
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: top;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}
*/

/*
 * Blog name and description
 */

.blog-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description {
  font-size: 20px;
  color: #999;
}


/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 18px;
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
    margin-bottom:1em;
    background-color:#faf7ea;
    font-family:ScalySans;
    border-style:solid;
    border-width:7px;
    border-image:url('/images/sidebars.png') 12 stretch;
    border-image-outset:4px;
    box-shadow:0 0 6px #faf7ea
}
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

.blog-post {
  margin-bottom: 60px;
}
.blog-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}
.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
}
.blog-post-meta + p::first-letter {
  float: left;
  font-family: Solberry;
  font-size: 10em;
  color: #222;
  line-height: 0.8em;
}

/*
 * Footer
 */

.blog-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
/*
 * Old Paper
 */
.topborder {
  position: relative;
  z-index: 2;
  height: 45px, 45px;
  background-image:url('/images/pagetopleft.gif'), url('/images/pagetopright.gif');
  background-position:left bottom, right bottom;
  background-repeat:no-repeat, no-repeat;
  padding: 25px 55px;
  margin-bottom: -8px;
  margin-top: -45px;
}
.topinnerborder {
  position: relative; 
  top: 25px;
  left: -10px;
  width: calc(100% + 21px);
  height: 45px;
  z-index: -1;
  background-image: url('/images/pagetopcenter.gif');
  background-position: left bottom;
  background-repeat: repeat-x;
  padding: 0px 0px;
}
.middleborder {
  top: 0;
  left: 45;
  background-image:url('/images/pagemiddleleft.gif'), url('/images/pagemiddleright.gif');
  background-position:left top, right top;
  background-repeat: repeat-y, repeat-y;
  margin-bottom: -10px;
}
.middleinnerborder {
  position: relative;
  top: 0;
  left: 2.5em;
  width: calc(100% - 89px);
  z-index: -1;
  background-image: url('/images/pagemiddlecenter.gif');
  background-position: left top;
  background-repeat: repeat;
  padding: 0px 0px;
}
.bottomborder {
  position: relative;
  z-index: 2;
  height: 45px, 45px;
  background-image:url('/images/pagebottomleft.gif'), url('/images/pagebottomright.gif');
  background-position:left top, right top;
  background-repeat:no-repeat, no-repeat;
  padding: 25px 55px;
  margin-bottom: -45px;
}
.bottominnerborder {
  position: relative; 
  top: -25px;
  left: -10px;
  height: 45px;
  background-image: url('/images/pagebottomcenter.gif');
  background-position: left top;
  background-repeat: repeat-x;
  padding: 0px 0px;
  width: calc(100% + 21px);
}
/* Rotate + enlarge */
.hover06 figure:hover img {
  -webkit-transform: rotate(15deg) scale(1.4);
  transform: rotate(15deg) scale(1.4);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.hover06 figure img {
  -webkit-transform: rotate(0) scale(1);
  transform: rotate(0) scale(1);
}
/* Rotate only */
.hover05 figure:hover img {
  -webkit-transform: rotate(15deg) scale(1);
  transform: rotate(15deg) scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.hover05 figure img {
  -webkit-transform: rotate(0) scale(1);
  transform: rotate(0) scale(1);
}
.pa li {
  -webkit-column-break-inside: avoid;
  column-break-inside: avoid;
  margin-top: .1em;
  text-indent: -1em;
  list-style-type: none;
  color: #783498;
}
.pa li:nth-child(1) {
  margin-top: 1.5em;
}
.pa li:nth-last-child(1) {
  margin-bottom: 1.5em;
}
