/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}
figcaption {
  margin-top: -1.5em;
  margin-bottom: 1.5em;
  font-size: 0.75em;
  line-height: 1.5em;
}

.float {
  display: inline;
  max-width: 100%;
  float: right;
  vertical-align: top;
  margin: 0.5em 0 0.5em 1.5em;
	}
	
#homephoto {
  height: 267px;
  margin-top: -1.5em;
  margin-bottom: 1.5em;
  background: white  url(../images/cover.jpg) center no-repeat;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #e94e1b;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "Source Sans Pro", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.5em;
  background: #fff;
  color: #222;
}


/* Header
-------------------------------------------------- */
.header {
  margin-bottom: 1.5em;
}
.titlebox {
  background-color: #eee;
}
.title {
  max-width: 33.333em;
  font-variant: small-caps;
  font-size: 1.5em;
  padding: 0.5em 1.0em;
  margin: 0 auto;
}
.navbox {
  background-color: #222;
}
nav {
  max-width: 50em;
  margin: 0 auto;
}

.menu {
    float: left;
}
.menu ul {
    max-width: 50em;
}
.menu a {
  display: block;
  color: white;
}
.menu a:hover {
  color: #e94e1b;
  text-decoration: none;
}
.menu .active {
  color: #e94e1b;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
  float: left;
}
.menu > li > a {
  margin: 0em;
  font-weight: 400;
  padding: 1em 0.4em 1em 1.6em;
  border: 0;
}
.menu > li:hover .submenu {
    display: block;
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  background: #222;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}


/* Footer
-------------------------------------------------- */
.copyrightbox {
  background-color: #222;
}
.copyright {
  font-size: 0.75em;
  max-width: 66.67em;
  margin: 0 auto;
  color: white;
  padding: 0.5em 2em;
}
.copyright a {
  color: white;
  text-decoration: none;
}
.copyright a:hover {
  color: #e94e1b;
  text-decoration: none;
}
.colophonbox {
  background-color: #eee;
}
.colophon {
  max-width: 50em;
  margin: 0 auto;
}
.colophon a {
  color: black;
}
.fmenu {
  padding: 0.5em 2em;
  float: right;
}
.fmenu li {
  float: left;
  list-style: none;
  padding: 0em 0.5em 0em 1.5em;
}
.fmenu li a:hover {
  color: #e94e1b;
  text-decoration: none;
}
.fsubmenu li {
  float: left;
  clear: left;
  padding: 0em;
}
.fsubmenu {
  margin-bottom: 9em;
}
.fsubmenu li a {
}

  
/* Navigation
-------------------------------------------------- */

/* Headings
-------------------------------------------------- */
h1 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 400;
  margin-bottom: .5em;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: #e94e1b;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: #e94e1b;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}


/* Main
-------------------------------------------------- */
.main {
  padding: 0 1.5em 1.5em 1.5em;
  max-width: 50em;
  margin: 0 auto; 
}}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}

post ul {
  margin-left: 2em;
}

.main blockquote {
  margin: 0 1.5em;
}

.main ul.biblist {
  margin-left: 0em;
  margin-bottom: 0em;
}

.main .biblist li {
  list-style-type: none;
  padding-bottom: 1em;
}

.main ul.smlist {
  margin-bottom: 0em;
}

.main .smlist li {
  list-style-type: none;
  padding: 1em 0 0 0;
  line-height: 1.25em;
  border-bottom: 1px solid gray;
}

.main a {
  border-bottom: 2px solid #ddd;
}
.main a:hover {
  border-color: #222;
}

.main .list li {
  padding-bottom: 0.1em;
}
.main .list ul>li {
  list-style-type: none;
}
.main .list ol>li {
  margin-left: 1em;
  padding-left: 0.25em
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}

figure.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 1.5em;
}
.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

figure.center img{
    display: block;
    margin: 0 auto;
	}
