

/* 
* sx archipelagos theme 
* 
*   _____________  ___  _____   
*  /   _____/\   \/  / /  _  \  
*  \_____  \  \     / /  /_\  \ 
*  /        \ /     \/    |    \
* /_______  //___/\  \____|__  /
*         \/       \_/       \/ 
*
* based on Ed theme by @elotroalex 
* http://elotroalex.github.io/ed/
* ... and the Small Axe Project design 
* by Juliet Lewis
* 
*/


 /*
 * General
 *
 * Update the foundational and global aspects of the page.
 */



* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #444;
  font-size: 18px;
  line-height: 25px
}


html {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

@media (min-width: 38em) {
  html {
    font-size: 20px;
  }
}

body {
  color: #454545;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}

.content {
	margin-bottom: 4rem;
}

/*
 * Wrapper
 *
 * The wrapper is used to position site content when the sidebar is toggled. We
 * use an outter wrap to position the sidebar without interferring with the
 * regular page content.
 */

.wrap {
  position: relative;
  width: 100%;
}

/*
 * Container
 *
 * Center the page content.
 */

.container {
  max-width: 38rem;
  padding-left:  1rem;
  padding-right: 1rem;
  margin-left:  auto;
  margin-right: auto;
}

@media (min-width: 38em) {
  .container {
    max-width: 32rem;
  }
}
@media (min-width: 56em) {
  .container {
    max-width: 38rem;
  }
}

/* links */

/* Another possible color value for links: #810006 */
a {
  color: #D0181F;
  text-decoration: none;    
}

a strong {
  color: inherit;
}

/* `:focus` is linked to `:hover` for basic accessibility */
a:hover,
a:focus {
  text-decoration: underline;
}

span.running-title {
  font-size: 1.2rem;
  font-weight: 200;
}

a.header-title {

  font-weight: 300;
  text-transform: uppercase;
  max-width: 38rem;
  padding-left:  1.4rem;
  padding-right: 1rem;
  margin-left:  auto;
  margin-right: auto;
  font-size: .6rem;
  top: 1.6rem;
  position: absolute;
}

div.language{
  padding-bottom: 0;
  padding-right: 1.5rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}

div.language a.active, p a.active {
  font-weight: 400;
  font-size: 1rem;
}

/* Headings */


h1 {
    color: #D0181F;
    font-size: 48px;
    font-weight: 100;
    margin: 0 0 24px
}


p {
    margin-bottom: 1em;
    letter-spacing: .005rem;

}


h1, h2, h3, h4, h5, h6 {
  margin-bottom: .8rem;
  font-weight: 200;
  color: #444;
  line-height: 1.25;
  margin: 0 0 24px
  text-rendering: optimizeLegibility;
}


h1 {
	font-size: 1.8rem;

}

h1.journal-title {
  color: #D0181F;
  margin-top: 0;
  font-weight: 300;
  text-transform: lowercase;
  margin-bottom: .5rem;
}

h2.tagline {
  color: #939598;
  font-weight: 100;
  font-size: 3rem;
  line-height: 2.6rem;
  margin-bottom: 3rem;
  margin-top:.4rem;
}


h2 {
	margin-top: 1.4rem;
	font-size: 1.2rem;
}

h3 {
	font-size: 1.1rem;
}

h4, h5 {
  font-size: 1rem;
}

h3 {
  margin-top: 1.5rem;

}

h4, h5, h6 {
  margin-top: 1rem;
}

div.project h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

/* Body text */
p {
  margin-top: 0;
  margin-bottom: 1rem;
}

@media (max-width: 42em) {
  .content p, .content ul {
    font-size: 1rem;
  }
}


strong {
  color: #303030;
}

/* Footer */
div.footer-menu {
    margin: auto;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}

ul#footer-menu {
  list-style-type: none;
}

ul#footer-menu li {
  display: inline-block;
  padding-right: .4rem;
  text-transform: uppercase;
  font-size: 0.6rem;
}

a.footer-menu-item {
    color: #939598;
}

a.footer-menu-item-active {
    color: #D0181F;
}

@media (max-width: 46em) {
  ul#footer-menu li {
  padding-right: .2rem;
  font-size: 0.5rem;
}

}

/* Table of contents */

.toc-title {
	font-size: 1.2rem;
	font-weight: 200;
}
.toc-issue {
	margin-bottom: 1.4rem;
}

.toc-issue p {
	line-height: 1.2rem ;
}

.alt-link {
  color: #939598;
}

/* Lists */
ul {
	list-style: circle;
}

ul, ol, dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

dt {
  font-weight: bold;
}
dd {
  margin-bottom: .5rem;
}

/* Misc */

hr {
  margin-top: 60px;
  position: relative;
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #fff;
}

abbr {
  font-size: 85%;
  font-weight: bold;
  color: #555;
  text-transform: uppercase;
}
abbr[title] {
  cursor: help;
  border-bottom: 1px dotted #e5e5e5;
}

/* Search Highlihting */

mark {
    color: white;
    background-color: #841212;
}

/* Quotes */

blockquote {
	padding: 0rem 1.5rem 0rem 2rem;
	margin: 0 0 20px 0; 
  	color: #454545;
	border-left: none;
	font-style: italic;
}

blockquote p:last-child {
  margin-bottom: 0;
}

@media (min-width: 30em) {
  blockquote {
    padding-right: 5rem;
    padding-left: 1.25rem;
  }
}



/* Images */

p:has(img) {
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  margin: 1.4rem 0 1rem;
  border-radius: 5px;
}

img.project-image {
  width: 100%;
  margin-bottom: 1rem;
}

img.project-image-toc {
  width: 50%;
}


span.caption, figcaption {
  color: #939598;
  margin-top: -.66rem;
  font-size: .5rem;
  text-align: right;
  padding-left: 20%;
  float: right;
  margin-bottom: 1.6rem;
  line-height: .8rem;
  width: 100%;
}







/* Tables */
table {
  table-layout: auto;
  margin-bottom: 1rem;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-collapse: collapse;
  border-spacing: 0;
  display: block;
  overflow-x:auto;
  margin-top: 2rem;
}


td,
th {
  padding: .25rem .5rem;
  border: 1px solid #e5e5e5;
  border-top: 1px solid #ddd;
  padding: 4px 8px;
}
tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
  background-color: #f9f9f9;
}

/*
 * Custom type
 *
 * Extend paragraphs with `.lead` for larger introductory text.
 */

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}


/*
 * Messages
 *
 * Show alert messages to users. You may add it to single elements like a `<p>`,
 * or to a parent if there are multiple elements to show.
 */

.message {
  margin-bottom: 1rem;
  padding: 1rem;
  color: #717171;
  background-color: #f9f9f9;
}

/*
 * Masthead
 *
 * Super small header above the content for site name and short description.
 */

a#logo {
	display: inline-block;
	margin-left: 3rem;
  margin-top: .2rem;
	margin-bottom: -.33rem;
}

a#logo > img {
	margin: 0;
}


.masthead {
  margin-bottom: 2rem;
  text-align: left;
  padding-top: .8rem;
}



ul#main-nav, ul#main-nav-small {
  list-style-type: none;
  display: inline-block;
  margin: 0;
  margin-top: 10px;
  padding: 0;
  padding-right: 1rem;
  font-size: .5rem;
	font-weight: 400;
	text-transform: uppercase; 
}

ul#main-nav {
    margin-left: 10px;
}

ul#main-nav-small {
  display: none;
  margin-left: 0px;
}


ul#main-nav > li {
	display: inline-block;
	margin: 0px 6px;
}

ul#main-nav-small > li {
  display: inline-block;
  margin: 0px 6px;
  font-size: .6rem;
}

ul#main-nav li:not(.active) > a {
	color: #444;
}

ul#main-nav li.active {
	color: #D0181F;	
}


ul#main-nav-small a {
  color: #939598;
}

ul#main-nav-small li.active a {
  color: #D0181F; 
}

ul#footer-nav {
  list-style-type: none;
  margin: auto;
  padding: 10px;
  font-size: .8rem

}

ul#footer-nav li {
  display: inline-block;
}

@media (max-width: 46em) {


  ul#main-nav {

    font-size: 1rem;
    margin: 0 auto;
  }

  ul#main-nav > li {
    display: none;
  }

  ul#main-nav-small {
    display: inline-block;
  }

  ul#footer-nav {
  font-size: .6rem
  }

  a#logo {
    margin-left: 1rem;
  }

  .header-title {
    display: none;
  }
}



/* Page and Posts */

.page {
  margin-bottom: 4em;
}

.page-title {
  color: #939598;
  margin-top: 0;
  margin-bottom: .2rem;
  font-weight: 100;
  letter-spacing: .1rem;
}


/*
 * Sidebar
 *
 * The sidebar is the drawer, the item we are toggling with our handy hamburger
 * button in the corner of the page.
 *
 * This particular sidebar implementation was inspired by Chris Coyier's
 * "Offcanvas Menu with CSS Target" article, and the checkbox variation from the
 * comments by a reader. It modifies both implementations to continue using the
 * checkbox (no change in URL means no polluted browser history), but this uses
 * `position` for the menu to avoid some potential content reflow issues.
 *
 * Source: http://css-tricks.com/off-canvas-menu-with-css-target/#comment-207504
 */

/* Style and "hide" the sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -14rem;
  width: 14rem;
  visibility: hidden;
  overflow-y: auto;
  line-height: 1rem;
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  background-color: #202020;
  font-weight: 200;
  letter-spacing: .05rem;
  -webkit-transition: all .3s ease-in-out;
          transition: all .3s ease-in-out;
}

.sidebar-title {
	color: #fff;
	margin-bottom: 0;
  font-size: .8rem;
}



h1.article-title {
  font-size: .8rem;
  color: white;
  margin-bottom: .4rem;
}



.sidebar a {
  font-weight: 300;
  letter-spacing: .025rem;
  color: #fff;
}
.sidebar-item, .sidebar-footer {
  padding: 1rem;
}

.sidebar-footer {
	font-size: .6rem;
}


.sidebar-item p:last-child {
  margin-bottom: 0;
}

/* Sidebar nav */
.sidebar-nav {
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-nav-item {
  display: block;
  padding: .5rem 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-weight: 100;
  text-transform: uppercase;
  font-size: .6rem;
}

a.sidebar-nav-item-toc {
  color: rgba(255,255,255,.8);
}

.sidebar-nav-item.active,
a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
  text-decoration: none;
  background-color: rgba(255,255,255,.1);
  border-color: transparent;
}

@media (min-width: 48em) {
  .sidebar-item {
    padding: 1.5rem;
  }
  .sidebar-nav-item {
    padding-left:  1.5rem;
    padding-right: 1.5rem;
  }

}

/* Hide the sidebar checkbox that we toggle with `.sidebar-toggle` */
.sidebar-checkbox {
    display: none;
}

/* Style the `label` that we use to target the `.sidebar-checkbox` */
.sidebar-toggle {
  position: absolute;
  top: 1rem;
  left: 2rem;
  display: block;
  padding: .5rem .5rem .25rem .5rem;
  color: #505050;
  background-color: #fff;
  border-radius: .5rem;
  cursor: pointer;
}

.sidebar-toggle:before {
  display: inline-block;
  width: 1.8rem;
  height: 1rem;
  content: "";
  background-image: -webkit-linear-gradient(to bottom, #444, #444 20%, #fff 20%, #fff 40%, #444 40%, #444 60%, #fff 60%, #fff 80%, #444 80%, #444 100%);
  background-image:    -moz-linear-gradient(to bottom, #444, #444 20%, #fff 20%, #fff 40%, #444 40%, #444 60%, #fff 60%, #fff 80%, #444 80%, #444 100%);
  background-image:     -ms-linear-gradient(to bottom, #444, #444 20%, #fff 20%, #fff 40%, #444 40%, #444 60%, #fff 60%, #fff 80%, #444 80%, #444 100%);
  background-image:         linear-gradient(to bottom, #444, #444 20%, #fff 20%, #fff 40%, #444 40%, #444 60%, #fff 60%, #fff 80%, #444 80%, #444 100%);
}

.sidebar-toggle:active,
#sidebar-checkbox:focus ~ .sidebar-toggle,
#sidebar-checkbox:checked ~ .sidebar-toggle {
  color: #fff;
  background-color: #555;
}

.sidebar-toggle:active:before,
#sidebar-checkbox:focus ~ .sidebar-toggle:before,
#sidebar-checkbox:checked ~ .sidebar-toggle:before {
  background-image: -webkit-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
  background-image:    -moz-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
  background-image:     -ms-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
  background-image:         linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
}

@media (min-width: 30.1em) {
  .sidebar-toggle {
    position: absolute;
  }
  .layout-reverse .sidebar-toggle {
  left: auto;
  right: 1rem;
  }
}

@media print {
  .sidebar-toggle {
    display: none;
  }
}

/* Slide effect
 *
 * Handle the sliding effects of the sidebar and content in one spot, seperate
 * from the default styles.
 *
 * As an a heads up, we don't use `transform: translate3d()` here because when
 * mixed with `position: fixed;` for the sidebar toggle, it creates a new
 * containing block. Put simply, the fixed sidebar toggle behaves like
 * `position: absolute;` when transformed.
 *
 * Read more about it at http://meyerweb.com/eric/thoughts/2011/09/12/.
 */

.wrap,
.sidebar,
.sidebar-toggle {
  -webkit-backface-visibility: hidden;
      -ms-backface-visibility: hidden;
          backface-visibility: hidden;
}
.wrap,
.sidebar-toggle {
  -webkit-transition: -webkit-transform .3s ease-in-out;
          transition: transform .3s ease-in-out;
}

#sidebar-checkbox:checked + .sidebar {
  z-index: 10;
  visibility: visible;
}
#sidebar-checkbox:checked ~ .sidebar,
#sidebar-checkbox:checked ~ .wrap,
#sidebar-checkbox:checked ~ .sidebar-toggle {
  -webkit-transform: translateX(14rem);
      -ms-transform: translateX(14rem);
          transform: translateX(14rem);
}

/*
 * Reverse layout
 *
 * Flip the orientation of the page by placing the `.sidebar` and sidebar toggle
 * on the right side.
 */

.layout-reverse .sidebar {
  left: auto;
  right: -14rem;
}
.layout-reverse .sidebar-toggle {
  left: auto;
  right: 2rem;
}

.layout-reverse #sidebar-checkbox:checked ~ .sidebar,
.layout-reverse #sidebar-checkbox:checked ~ .wrap,
.layout-reverse #sidebar-checkbox:checked ~ .sidebar-toggle {
  -webkit-transform: translateX(-14rem);
      -ms-transform: translateX(-14rem);
          transform: translateX(-14rem);
}


/*
 * Themes
 *
 * Apply custom color schemes by adding the appropriate class to the `body`.
 * Based on colors from Base16: http://chriskempson.github.io/base16/#default.
 */

/* Red */
.theme-base-08 .sidebar,
.theme-base-08 .sidebar-toggle:active,
.theme-base-08 #sidebar-checkbox:checked ~ .sidebar-toggle {
  background-color: #ac4142;
}
.theme-base-08 .container a,
.theme-base-08 .sidebar-toggle,
.theme-base-08 .related-posts li a:hover {
  color: #ac4142;
}

/* Orange */
.theme-base-09 .sidebar,
.theme-base-09 .sidebar-toggle:active {
  background-color: #d28445;
}
.theme-base-09 .container a,
.theme-base-09 .sidebar-toggle,
.theme-base-09 .related-posts li a:hover {
  color: #d28445;
}

/* Yellow */
.theme-base-0a .sidebar,
.theme-base-0a .sidebar-toggle:active {
  background-color: #f4bf75;
}
.theme-base-0a .container a,
.theme-base-0a .sidebar-toggle,
.theme-base-0a .related-posts li a:hover {
  color: #f4bf75;
}

/* Green */
.theme-base-0b .sidebar,
.theme-base-0b .sidebar-toggle:active {
  background-color: #90a959;
}
.theme-base-0b .container a,
.theme-base-0b .sidebar-toggle,
.theme-base-0b .related-posts li a:hover {
  color: #90a959;
}

/* Cyan */
.theme-base-0c .sidebar,
.theme-base-0c .sidebar-toggle:active {
  background-color: #75b5aa;
}
.theme-base-0c .container a,
.theme-base-0c .sidebar-toggle,
.theme-base-0c .related-posts li a:hover {
  color: #75b5aa;
}

/* Blue */
.theme-base-0d .sidebar,
.theme-base-0d .sidebar-toggle:active {
  background-color: #6a9fb5;
}
.theme-base-0d .container a,
.theme-base-0d .sidebar-toggle,
.theme-base-0d .related-posts li a:hover {
  color: #6a9fb5;
}

/* Magenta */
.theme-base-0e .sidebar,
.theme-base-0e .sidebar-toggle:active {
  background-color: #aa759f;
}
.theme-base-0e .container a,
.theme-base-0e .sidebar-toggle,
.theme-base-0e .related-posts li a:hover {
  color: #aa759f;
}

/* Brown */
.theme-base-0f .sidebar,
.theme-base-0f .sidebar-toggle:active {
  background-color: #8f5536;
}
.theme-base-0f .container a,
.theme-base-0f .sidebar-toggle,
.theme-base-0f .related-posts li a:hover {
  color: #8f5536;
}


/*
 * Overlay sidebar
 *
 * Make the sidebar content overlay the viewport content instead of pushing it
 * aside when toggled.
 */

.sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}
.sidebar-overlay #sidebar-checkbox:checked ~ .sidebar-toggle {
  box-shadow: 0 0 0 .25rem #fff;
}
.sidebar-overlay #sidebar-checkbox:checked ~ .sidebar {
  box-shadow: .25rem 0 .5rem rgba(0,0,0,.1);
}

/* Only one tweak for a reverse layout */
.layout-reverse.sidebar-overlay #sidebar-checkbox:checked ~ .sidebar {
  box-shadow: -.25rem 0 .5rem rgba(0,0,0,.1);
}


/*                    */
/* ED SPECIAL LAYOUTS */
/*                    */

p.centered {
  text-align: center;
}

p.larger {
  font-size: 1.6rem;
}

p.large {
  font-size: 1.4rem
}

p.small {
  font-size: 0.8rem;
}

div.poem, div.narrative {
  margin-bottom: 5rem;
}

div#toc {
  margin-bottom: 4rem;
}

div#toc ul {
  margin-bottom: 2rem;
}

div#toc ul li {
  margin-bottom: 1rem;
}


/* Poem styles */

/* If you want your lines not to wrap on small screens, add the rule "white-space: nowrap;"; If you want you want to remove the hanging indent, reset the padding-left to 0 and erase text-indent */

.poetry ul, ul.poetry {
	list-style: none;
	list-style-type: none;
	padding-left: 1rem;
	text-indent: -1rem;
}


/* This snippet helps us reset the margin for all spans with the indent- class */

.poetry span[class^='indent-']{
    margin: 0; /* reset browsers default margin styles*/
}

/* To set line indentation for poetry wrap the line in a span, with a class="indent-x" attribute. The x is represents an rem (root em) value */

.indent-1 {
	font-style: normal;
	padding-left: 1rem;
}

.indent-2 {
	font-style: normal;
	padding-left: 2rem;
}

.indent-3 {
	font-style: normal;
	padding-left: 3rem;
}

.indent-4 {
	font-style: normal;
	padding-left: 4rem;
}

.indent-5 {
	font-style: normal;
	padding-left: 5rem;
}

.indent-6 {
	font-style: normal;
	padding-left: 6rem;
}

.indent-7 {
	font-style: normal;
	padding-left: 7rem;
}

.indent-8 {
	font-style: normal;
	padding-left: 8rem;
}

.indent-9 {
	font-style: normal;
	padding-left: 9rem;
}

.indent-10 {
	font-style: normal;
	padding-left: 10rem;
}

.poetry .citation {
	font-style: italic;
	font-size: .9rem;
	color: gray;
}

div.epigraph p.citation {
  font-size: .9rem;
  text-align: right;
  margin-bottom: 2rem;
}

/* Abstracts */

.abstract {
  font-size: .8rem;

}


/* Footnotes */

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

.footnotes {
	line-height: 1.2rem;
	font-size: 0.9rem;
	letter-spacing: .01rem;

}

.footnotes .foot-block {
	display: inline-block;
	padding: 0 4rem 0 2rem;
	margin-bottom: .8rem;
	font-style: italic;
}

a.footnote {
	padding-left: .05rem;
	font-size: .66rem;
}

.footnotes a {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/*Bibliography styles*/

ol.bibliography {
	list-style-type:none;
	padding-left: 1rem;
	text-indent: -1rem;
}


/* Audio */

audio {
  margin-bottom: 0;
}

p.audio-title {
  margin-top: 0;
  font-size: .66rem;
}











