/*
18 logical columns

margin = 3 + 3 = 6
12 columns

margins are always specified from the perspective of 16(+2) columns
apply a top level content id that will give a margin for the whole page
specify widths as percentages
*/
/* ------------------------------
   configure base grid/font sizes
   ------------------------------ */
/* ---------------------------
   configure available palette
   --------------------------- */
/* ---------------------------------
   only use palette colours for site
   --------------------------------- */
/*
*
*  Simple fluid media
*
*/
figure {
  position: relative;
}
figure img,
figure object,
figure embed,
figure video {
  max-width: 100%;
  display: block;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}
/*
*
*	Zoomable baseline grid
*	type size presets
*
*/
body {
  /* 16px / 24px */

  font-size: 1em;
  line-height: 1.5em;
}
.small {
  /* 13px / 18px */

  font-size: 0.8125em;
  line-height: 1.3846153846153846em;
}
.normal, h3 {
  /* 16px / 24px */

  font-size: 1em;
  line-height: 1.5em;
  /* 24 */

}
.large, h2, h1 {
  /* 26 / 36px */

  font-size: 1.625em;
  line-height: 1.3846153846153846em;
}
.huge {
  /* 42px / 48px */

  font-size: 2.625em;
  line-height: 1.1428571428571428em;
}
.massive {
  /* 68px / 72px */

  font-size: 4.25em;
  line-height: 1.0588235294117647em;
}
.gigantic {
  /* 110px / 120px */

  font-size: 6.875em;
  line-height: 1.0909090909090908em;
}
body {
  font-family: 'gentium book basic', serif;
  background: #ffffff;
  color: #073642;
}
pre {
  /* 13px / 18px */

  font-size: 0.8125em;
  line-height: 1.3846153846153846em;
  padding: 1em;
  background: #fdf6e3;
  color: #586e75;
}
::-moz-selection {
  background: #eee8d5;
  color: #002b36;
  text-shadow: none;
}
::selection {
  background: #eee8d5;
  color: #002b36;
  text-shadow: none;
}
/*
*
*  Four-column grid active
*  ----------------------------------------
*  Margin   | #  1   2   3   4   |   Margin
*  5.55555% | %  25  50  75  100 | 5.55555%
*
*/
#site-title a {
  color: #93a1a1;
  text-decoration: none;
}
#site-title a:visited {
  color: #93a1a1;
}
#site-title a:hover {
  color: #93a1a1;
}
a, a:visited, a:hover {
  color: #073642;
}
/* just use the full width of the screen when we're down to a 4 column grid */
/* #front-page-listing  */
article .side-content {
  float: left;
  width: 100%;
  font-family: sans-serif;
}
article .side-content header h1 {
  margin-top: 0.0em;
  margin-bottom: 0em;
}
article .side-content img {
  margin-top: 1em;
}
time {
  color: #93a1a1;
}
/* #front-page-listing */
article section {
  float: left;
  width: 100%;
}
article section p:first-child {
  margin-top: 0.8em;
}
#container {
  margin: 0 5.555555555555555%;
}
h1, h2 {
  font-family: sans-serif;
  margin: 0.9230769230769231em 0 1.3846153846153846em;
}
h2 {
  font-weight: normal;
  /* add to all h2 not just front-page-listing */

  margin-top: 0;
  margin-bottom: 0;
}
h3 {
  margin: 1.5em 0 1.5em;
}
/* spread out the article listings */
#front-page-listing .clearfix {
  margin-bottom: 2em;
}
/*
*  Simple elastic gutters
*  Note: box-sizing will not work in IE6-8
*/
.wrapper {
  padding: 0 0.75em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
/*
*
*  Fixes for IE6-8
*  http://jonikorpi.com/leaving-old-IE-behind/
*
*/
.ie body {
  width: 40em;
  margin: 0 auto;
  font-size: 1.0625em;
}
.ie h1 {
  /* 26 / 36px */

  font-size: 1.625em;
  line-height: 1.3846153846153846em;
  margin: 1.1428571428571428em 0 0.5714285714285714em;
}
/* @media screen and (min-width: 640px) */
@media screen and (min-width: 40em) {
  body {
    /* Zoom baseline grid to 17/16 = 1.0625 */
  
    font-size: 1.0625em;
  }
  h1 {
    /* 26 / 36px */
  
    font-size: 1.625em;
    line-height: 1.3846153846153846em;
    margin: 1.1428571428571428em 0 0.5714285714285714em;
  }
}
/*
*
*  Eight-column grid active
*  ----------------------------------------------------------------------
*  Margin   | #  1     2     3     4     5     6     7     8   |   Margin
*  5.55555% | %  12.5  25.0  37.5  50.0  62.5  75.0  87.5  100 | 5.55555%
*	
*
*/
/* @media screen and (min-width: 720px) */
@media screen and (min-width: 45em) {
  /* 
     start using the 8 column layout, 2 of which will be for extra padding, leaving 6 content-columns
   */
  body {
    /* Reset baseline grid to 16/16 = 1 */
  
    font-size: 1em;
  }
  /* #front-page-listing */
  article .side-content {
    float: left;
    width: 33.333333333333336%;
  }
  /* 	#front-page-listing */
  article section {
    float: left;
    width: 66.66666666666667%;
  }
  #container {
    margin: 0 16.666666666666664%;
  }
}
/* @media screen and (min-width: 888px) */
@media screen and (min-width: 55.5em) {
  body {
    /* Zoom baseline grid to 17/16 = 1.0625 */
  
    font-size: 1.0625em;
  }
  #container {
    margin: 0 16.666666666666664%;
  }
}
/* @media screen and (min-width: 984px) */
@media screen and (min-width: 61.5em) {
  body {
    /* Reset baseline grid to 16/16 = 1.0 */
  
    font-size: 1em;
  }
}
/* @media screen and (min-width: 1200px) */
@media screen and (min-width: 75em) {
  body {
    /* Zoom baseline grid to 17/16 = 1.0625 */
  
    font-size: 1.0625em;
  }
}
/* @media screen and (min-width: 1392px) */
@media screen and (min-width: 87em) {
  body {
    /* Reset baseline grid to 16/16 = 1.0 */
  
    font-size: 1em;
  }
}
/* @media screen and (min-width: 1680px) */
@media screen and (min-width: 105em) {
  body {
    /* Zoom baseline grid to 17/16 = 1.0625 */
  
    font-size: 1.0625em;
  }
}
/*
*
*  Sixteen-column grid active
*  ----------------------------------------------------------------------------------------------------------------------
*  Margin   | #  1     2     3     4     5     6     7     8     9     10    11    12    13    14    15    16  |   Margin
*  5.55555% | %  6.25  12.5  18.75 25.0  31.25 37.5  43.75 50.0  56.25 62.5  68.75 75.0  81.25 87.5  93.75 100 | 5.55555%
*	
*
*/
/* @media screen and (min-width: 1872px) */
@media screen and (min-width: 117em) {
  /* 
  	header, #twoway {
  		margin: 0 @column*1;
  	}
  	
  	header .wrapper {
  		width: 37.5%;
  		margin-left: 25%;
  	} */
  #twoway .wrapper {
    width: 25%;
  }
  #twoway .wrapper:first-child {
    margin-left: 25%;
  }
}
/* @media screen and (min-width: 2080px) */
@media screen and (min-width: 130em) {
  body {
    /* Zoom baseline grid to 18/16 = 1.125 */
  
    font-size: 1.125em;
    max-width: 2560 em;
  }
}

