/* 
 * HTML5 Ã¢Å“Â° Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #CB8E62; color: #fff; text-shadow: none; }
::selection { background: #CB8E62; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thick dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 0.5em; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }



/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: Paolo Ciarrocca
   ========================================================================== */

/* global styles */
body {
   background-color: #fffefb;
   font-family: Georgia, 'times new roman', times, serif;
   font-size: 1.5em;
   color: #000;
}

header,article,footer,.posts-container{max-width:40em;margin:0.5em;}
header {margin-top: 1em;}
header img{display: block;margin-bottom: 0.3em;}
article img{max-width: 100%;display: block;}
footer{padding-top: 1em;border-top:1px #000 dashed;margin-bottom: 1em;}
.main-nav {padding-bottom: 1em;border-bottom:1px #000 dashed;margin-top: 0.5em;}
.main-nav ul{list-style:none;padding: 0;margin: 0;}
.main-nav li{display: inline-block;margin-bottom:0.7em;}
.main-nav a{color:#000;text-decoration: none;padding: 0.2em; border: 0.1em #000 solid;}
.main-nav a:hover, a.active{color: #fff; background-color: #000;}
.verbs{display: none;}
.verbs a{color: #fff; text-decoration: none;}
.verb{font-size: 1.2em; padding: 0.2em 0.3em; background-color: #000; margin-left: 0.5em; display: inline;}
.footer-nav{font-size: 0.75em;}
.footer-nav ul{padding: 0;}
.footer-nav li{list-style: none;}

h1,h2,h3,blockquote,.main-nav,.verbs{font-family: 'Telex', 'Helvetica Neue', Arial, Helvetica, sans-serif;}

h1{font-size: 1.5833em; line-height: 1.8947em; margin: 0 0 0.9474em;text-transform: capitalize;}
h2{font-size: 1.4167em; line-height: 1.0588em; margin:0 0 1.0588em;}
h3{font-size: 1.25em; line-height: 1.2em; margin: 0 0 1.2em;}
p {line-height: 1.5em;font-size: 1em;margin: 0 0 1.5em;}

.home-link a{color: #000; text-decoration: none;}

.title{margin-bottom: 0;margin-top: 0.5em;}
.title a{text-decoration: none;color: #000;}
.date {font-size: 0.75em;font-style: italic;}

.listing{border-bottom: 1px #000 solid;padding-bottom: 0.75em;margin-bottom: 0.5em;}
.listing:last-child{border-bottom: none;}
.listing .title{margin: 0;}
.listing p{margin-top: 0.5em;margin-bottom: 0.5em;}

.content {padding-top: 1.5em;}
article code { font: normal 1em monaco, courier, serif;}
article code a {color: #63FF00;}
article code a:hover {color: #fff;}
article pre {color: #63FF00;background: #000;overflow: auto;font: normal 0.5em monaco, courier, serif;margin: 0.9em 0; padding: 0.8em;}

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

form input {
   border: #000 0.3em solid;
   width: 9em;
   font-size: 0.5em;
   padding: 0.5em 1em;
}

form select {
   font-size: 0.5em;
   padding: 0.5em 1em;;
}

form label {
   display: block;
}

form span {
   display: block;
}

label + label {
   margin-top: 1em;
}

form button {
   color: #fff;
   background: #000;
   font-size: 0.75em;
   border: none;
   width: 8em;
   padding: 0.5em 1em;
}

/* ==|== media queries ======================================================
   ========================================================================== */

@media only screen and (min-width: 26em) {
  header img{display: inline;margin-bottom: 0;vertical-align: bottom;}
  .footer-nav ul{list-style:none;padding: 0;margin: 0;}
  .footer-nav li{padding:0 0.4em; border-right: 1px #000 solid;display: inline;}
  .footer-nav li:first-child{padding-left: 0;}
  .footer-nav li:last-child{border-right: none;}
}

@media only screen and (min-width: 40em) {
  .home-link,.verbs{display: inline;zoom: 1;}
  .active{display: none;}
}

@media only screen and (min-width: 61em) {
  header,article,footer,.posts-container{margin:0.5em auto;}
  .main-nav li {margin-bottom: 0;}
  .main-nav a{padding: 0; border: none;}
}

@media only screen and (min-width: 81.75em) {
  body{font-size: 2em;}
}

/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

