
/* fonts --------------------- */
    
/*
 * Webfont: Tee Franklin Bold by Suomi
 * URL: http://www.myfonts.com/fonts/suomi/tee-franklin/bold/
 * Licensed pageviews: 10,000
*/

 
@font-face {
  font-family: 'TeeFranklin-Bold';
  src: url('/lib/fonts/1F018F_0_0.eot');
  src: url('/lib/fonts/1F018F_0_0.eot?#iefix') format('embedded-opentype'),
       url('/lib/fonts/1F018F_0_0.woff') format('woff'),
       url('/lib/fonts/1F018F_0_0.ttf') format('truetype');
}
 
/*
 * Webfont: Tee Franklin Book by Suomi
 * URL: http://www.myfonts.com/fonts/suomi/tee-franklin/book/
 * Licensed pageviews: unspecified
  
@font-face {font-family: 'TeeFranklin-Book';src: url('/lib/fonts/1F018F_1_0.eot');src: url('/lib/fonts/1F018F_1_0.eot?#iefix') format('embedded-opentype'),url('/lib/fonts/1F018F_1_0.woff') format('woff'),url('/lib/fonts/1F018F_1_0.ttf') format('truetype');}
*/

/*
 * Webfont: Tee Franklin Medium by Suomi
 * URL: http://www.myfonts.com/fonts/suomi/tee-franklin/medium/
 * Copyright: Copyright (c) Suomi Type Foundry, Suomi Finland, 2001. All rights reserved.
 * Licensed pageviews: 10,000

@font-face {
  font-family: 'TeeFranklin-Medium';
  src: url('/lib/fonts/1F0204_0_0.eot');
  src: url('/lib/fonts/1F0204_0_0.eot?#iefix') format('embedded-opentype'),
  url('/lib/fonts/1F0204_0_0.woff') format('woff'),
  url('/lib/fonts/1F0204_0_0.ttf') format('truetype');
}
*/

/*
 * These fonts are not shareware. 
 * Use of these fonts requires the purchase 
 * of a license from Emigre, www.emigre.com  
 * Please contact sales@emigre.com
 *
 * To purchase a license to use this font go to:
 * http://www.emigre.com/fontpage.php?SMrXLModBk.html
 *
 * Â© 2012 Emigre, Inc
 */

@font-face {
    font-family: 'MrsEavesXLSerRRegular';
    src: url('/lib/fonts/mrseavesxlserr-071211001EmigreWebOnly.eot');
    src: url('/lib/fonts/mrseavesxlserr-071211001EmigreWebOnly.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/mrseavesxlserr-071211001EmigreWebOnly.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* main ---------------------- */

body {
  font-family: 'MrsEavesXLSerRRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.1em;
  line-height: 1.5em;
  color: #111;
  text-rendering: optimizeLegibility;
  -moz-font-feature-settings: "liga=1,kern=1";
  -ms-font-feature-settings: "liga" 1, "kern" 1;
  text-align: left;
}
h1, h2, h3, h4, h5, h6, pre {
  font-family: 'TeeFranklin-Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: normal;
  -moz-font-feature-settings: "swsh=1,cswh=1,liga=1,kern=1";
  -ms-font-feature-settings: "swsh" 1, "cswh" 1, "liga" 1, "kern" 1;
}
h1, .subtitle {
  font-weight: normal;
}
.example, code, pre, .spec {
  font-family: "Lucida Console", Courier, monospace;
}
pre {
  overflow-x: scroll;
}

/* blocks -------------- */

body {
  width: 820px;
  padding: 0px 36px;
  background-color: #fff;
  margin: 72px auto;
}


p { margin-top: .5em; }

blockquote p, blockquote {
  margin-top: 0;
  margin-bottom: .5em;
  line-height: 1.4em;
}


/* width control ---------------- */

#main {
  max-width: 600px;
}


/* links -------------- */

a:link, a:visited, a:active {
  color: #303ab6;
  text-decoration: none;
  background-color: transparent;
}
a:visited {
  color: #b63a30;
}
.navtop a:visited, .navigation a:visited {
  color: #303ab6;
}
a:active {
  color: #303a86;
  background-color: #acf; 
}
a.offsite:hover {
  background-color: #99A;
  color: white;
  text-decoration: none;
  border-bottom: none;
  padding: 0.2em 0;
}

@media screen {
  a[type="application/pdf"]:after {
    content: " pdf";
    vertical-align: super;
    font-size: 0.75em;
  }
}

img { max-width: 100%; }

a img { border: none; }

h1 [id]:hover:after
, h2 [id]:hover:after
, h3 [id]:hover:after
, h4 [id]:hover:after {
  content: " #" attr(id) " ";
  font-size: 75%;
  line-height: 75%;
  color: #ccc;
  text-decoration: none;
}

/* headings -------------- */

h1, h2, h3, h4, h5, h6 {
  color: #111;
  background-color: transparent;
  text-transform: uppercase;
  margin: 1em 0 0 0;
  padding: 0;
  line-height: 1em;
  page-break-after: avoid;
  page-break-inside: avoid;
}

h1 { 
  font-size: 2.8em;
  margin-top: 1em;
  display: inline-block;
}
h2 { font-size: 1.5em; }
h3 { font-size: 1.1em; }
h4 { font-size: 0.95em; }
h5 { font-size: 0.95em; }

h1 + p { margin-top: .5em; }

h1 + .subtitle {
  font-size: 0.85em;
  line-height: 1.2em;
  text-align: left;
  max-width: 16em;
  display: inline-block;
  margin-left: 0.5em;
}



/* tables -------------- */

table.grid th {
  font-weight: normal;
  text-align: right;
  color: white;
  background-color: #333;
  padding: 3px 6px;
}

table.grid td {
  background-color: #d0dbe7;
  padding: 3px 6px;
}

/* lists -------------- */

ul {
  list-style-type: disc;
  margin: .5em 0;
  padding-left: 1.5em;
}
p + ul, div + ul {
  margin: -.5em 0 .5em 0;
}

@media screen {
  ul { list-style-type: none; padding-left: 0; }
  ul li:before { content: '\22C6  '; color: #411; font-size: 1.5em; }
  ul li {
    text-indent: -1em;
    padding-left: 1em;
  }
}

/* inline lists */
ul.inline { list-style-type: none; }
ul.inline li { display: inline; margin-right: 1em; white-space: nowrap}
ul.inline li:before { content: ''; }

/* sep lists */
ul.sep li {
  list-style: none;
  border-bottom: 1px #ccc dotted;
  padding: 4pt 0pt;
  text-indent: 0;
}
ul.sep li:last-of-type {
  border-bottom: none;
}
ul.sep li:before { content: ''; }

/* definition lists */
dt { font-weight: bold; }
dd { padding-bottom: .5em; }


/* other redefinitions -------------- */

@media screen {
  strike { text-decoration: none; }
  strike:after { content: "^H^H^H^H^H"; }
}

acronym:hover, abbrev:hover { cursor: help; }
abbrev[title], acronym[title], span[title] {
  border-bottom: thin dotted;
  cursor: help;
}

input[type='text'], textarea, select {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  margin: 2px 1px;
  padding: 1px;
}

b, strong {
  font-weight: 550;
}

hr {
  border-style: none;
  background-color: #ddd;
  padding: 1px;
}

/* hack for apache directory listings */
h1 + pre hr { visibility: hidden; }

blockquote {
  border-style: solid;
  border-color: #d2dcdf;
  border-width: 0 0 0 .25em;
  padding-left: .5em;
  margin: 0.5em 1.5em;
}

q { quotes: '\201C' '\201D' '\2018' '\2019'; }
q:before, q:after {
  font-size: 2em;
  line-height: 1px;
  position: relative;
  top: 8px;
  opacity: .7;  
}
q:before {
  content: "\201C";
  content: open-quote;
}
q:after {
  content: "\201D";
  content: close-quote;
}

/* specialisations -------------- */

.hilite {
}

.intro {
  font-size: 1.25em;
  line-height: 1.3em;
  font-weight: 300;
  page-break-inside: avoid;
}

.intro a {
  font-weight: bolder;
}

h1 + .intro {
  max-width: 100%;
}

.callout {
  width: 200px;
  font-weight: 500;
  line-height: 1.5em;
  padding: 0 15px;
  page-break-inside: avoid;
  text-align: left;
  float: right;
  margin: .5em -40px .5em 1em;
  border-left: #B50 solid thin;
}

.ad1 { margin: 1em 0; }

.banner {
  margin: 2em 0;
  padding: 1em;
  background-color: #ececda;
}

.footnote {  /* piddling detail */
  font-size: .9em;
  margin-top: 0px;
}

.button { /* one of those little buttons that say I'm a good boy */
  text-align: right;
}

.entry-author-comment {
  background-color: #eaefef;
  padding: 0.1em 1em;
  border-radius: 1em;
  margin-top: 0.5em;
}
.entry-author-comment > blockquote {
    border-left: none;
}

/* text-based button */
.textbutton, a.textbutton:link, a.textbutton:visited, a.textbutton:active, a.textbutton:hover {
  border: 1px solid;
  border-color: #FC9 #630 #330 #F96;
  padding: 0 3px;
  font: bold 10px verdana,sans-serif;
  color: #fff;
  background: #F60;
  text-decoration: none;
}

/* local navigation banner */
p.navtop {
  text-align: right;
  position: absolute;
  top: 2.4em;
  width: 550px;
  right: 36px;
  z-index: 5;
}

/* global navigation banner */
p.navigation {
  font-family: 'TeeFranklin-Bold', sans-serif;
  color: #333;
  margin: 0;
  padding: .5em 0;
  background-color: rgba(255,255,255,0.9);
  text-align: right;
  text-transform: uppercase;
  border-bottom: #ccc solid 1px;
  position: fixed;
  top: 0;
  right: 36px;
  width: 320px;
  float: right;
  z-index: 10;
}

p.navigation *, p.navtop * {
  margin-left: 6px;
  padding: 1px 6px;
}

p.navigation .hilite {
  background-color: #def;
  border-radius: 5px;
  padding: .25em .4em;
}

.detail {
  font-size: .9em;
  page-break-inside: avoid;
}

.bio {
  font-size: .8em;
  line-height: 1.6em;
  padding-left: 6px;
  margin-right: -2em;
  color: #666;
}

.warning {
  background-color: #F60;
  border: #C30 solid 1px;
  padding: 3px;
  text-align: center;
}

.version {
  text-align: right;
  font-style: italic;
  font-size: .9em;
  margin: 0pt;
  padding-top: 12px;
  color: #999;
}

.date {
  font-family: 'TeeFranklin-Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: .5em 0 -1.5em 0;
  color: #333;
  font-size: 0.7em;
}

.example {
  font-size: .9em;
  line-height: 1.25em;
  background: #d2dcdf;
  margin: 0.25em;
  padding: .5em 1em;
  overflow: auto;
}

.spec {
  font-size: .9em;
  margin-left: 1.2em;
  margin-right: 1.2em;
  overflow: auto;
}

.story + .story { margin-top: 2em; }

.right {
  float: right;
}

/* images -------------- */

.image, .galsubtitle { text-align: center; }

.galimg img, .flickr_badge_image img, .image img, img.image {
  background-color: white;
  padding: 8px 8px 10px 8px;
  border: solid 1px #bbb;
  margin: 7px;
}

.galimg a:hover img, .flickr_badge_image a:hover img {
  border-style: inset;
  border-color: blue;
  border-width: 1px;
}

.galimg a:hover, .flickr_badge_image a:hover { background-color: transparent; }
.galimg:hover:after, div:hover:after { display: none; }

/* for /personal/ */
.image[align=left] { margin-right: 24px; }
.image[align=left] + h2 { margin-top: 0; }



/* print -------------- */

@media print {
  html {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  body {
/*    margin: 24pt; */
    font: 12pt/14pt Palatino Linotype, palatino, Book Antiqua, serif;
  }
  #main { 
    width: 100%;
  }
  .callout {
    width: 30%;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0.25em 0em 0.25em 2em;
  }
  .example, .spec {
    overflow: visible;
  }
  form, .navtop, .navigation, a.textbutton, .imgnav, .ad1, #sidebar {
    display: none;
  }
}


/* iPhone, Wii, etc... -------------------- */

@media screen and (max-device-width: 900px) {
  #main {
    max-width: 900px;
  }
  body {
    font-size: 1.5em;
    line-height: 1.4em;
  }
  p.navigation {
    width: 550px;
  }
  p.navtop {
    width: 800px;
  }
  h1 + .subtitle {
    font-size: 0.85em;
    max-width: inherit;
    display: block;
    margin-left: 0;
    margin-top: 0;
  }
  #sidebar {
    display: none;
  }

}

/* ADDITIONS */

img.desaturate {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
}

img.desaturate:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
}

.resize {
  transform: scale(1);
  transition: all .5s ease-in;
}

.resize:hover {
  transform: scale(1.25);
  transition: all .5s ease-in;
}