/* 
  HTML5 ✰ Boilerplate 
  
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}

nav ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

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

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

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

input, select { vertical-align:middle; }

/* END RESET CSS */


/* fonts.css from the YUI Library: developer.yahoo.com/yui/
   Refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages

  There are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/
body { font:12px/1.231 sans-serif; *font-size:small; -webkit-font-smoothing: antialiased; background: url(../images/main-bg.gif) center top repeat-y #cbcbcb; } /* hack retained to preserve specificity */

select, input, textarea, button { font:99% sans-serif; }

/* normalize monospace sizing 
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }
 

/* 
 * minimal base styles 
 */


body, select, input, textarea {
  color: #222;
  /* set your base font here, to apply evenly */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
h2,h3,h4,h5,h6 { font-weight: normal; }
h1 { font-weight: bold }

/* always force a scrollbar in non-IE */ 
html { overflow-y: scroll; }


/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

a, a:active, a:visited { color: #222; text-decoration: none; outline: 0; }

ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; } 

small { font-size: 85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align: top; } 

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre { 
  padding: 15px; 
  
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
 
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
 
/* webkit browsers add a 2px margin outside the chrome of form elements */  
button, input, select, textarea { margin: 0; }

/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: transparent } 

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 
/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }



/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; } 

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.visuallyhidden { position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;  
} 

.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }






/* Primary Styles */

/** { border: 1px #000 solid !important;}*/

#container {
  width: 934px;
  margin: 0 auto;
  padding: 0 18px;
}

header {
/*    border: 1px red solid;*/
    background: url(../images/innovation-through-design.png) 152px 20px #f5f5f5 no-repeat;
    width: 934px;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 30;
    margin-left: -485px;
    height: 114px;
    padding: 12px 18px 0;
    font-family: Helvetica, Arial, sans-serif;
  }
  .webkit header { margin-left: -484px }
  header #logo {
/*    border: 1px red solid;*/
    width: 75px;
    height: 100px;
    float: left;
  }
  header #logo * {
/*    border: 1px red solid;*/
    height: 100%;
    width: 100%;
    display: block;
  }
  header nav {
/*      border: 1px #000 solid;*/
      position: relative;
      width: 392px;
      height: 50px;
      margin-top: 6px;
      float: right;
    }
    header nav ul {
/*        border: 1px #000 solid;*/
        float: left;
        width: 270px;
      }
      header nav li {
/*          border: 1px red solid;*/
          float: left;
          width: 135px;
          line-height: 1.4em;
        }
        header nav li a, header nav li a:visited {
/*          border: 1px red solid;*/
          display: block;
          color: #666;
          padding-left: 15px;
          background: url(../images/main-nav-item-bg.gif) 0 7px no-repeat;
        }
        header nav li a:hover, header nav li a:active, header nav li.current a {
          color: #e0005a;
          background-position: 0 -9px;
        }
        header nav ul.right {
          width: auto;
          float: left;
        }
        header nav ul.right li {
          color: #7e7e7e;
          width: auto;
          clear: both;
        }
      header nav ul ul {
          border: 1px #000 solid;
          position: absolute;
          top: 163px;
        }

#top-banner-bg {
  /*  border: 1px #000 solid;*/
    width: 970px;
    height: 56px;
    position: fixed;
    top: 126px;
    left: 50%;
    margin-left: -485px;
    z-index: 25;
    background: #ddd;
  }
  .webkit #top-banner-bg { margin-left: -484px }
#top-banner {
/*    border: 1px red solid;*/
    width: 934px;
    height: 56px;
    position: fixed;
    top: 126px;
    left: 50%;
    z-index: 30;
    margin-left: -485px;
    padding: 0 18px;
    color: #000;
    line-height: 52px;
    font-weight: bold;
    background: url(../images/top-banner-bg.png) bottom left repeat-x;
  }
  .webkit #top-banner { margin-left: -484px }
  .js #top-banner {
    cursor: pointer;
  }
  #top-banner .right {
/*    border: 1px #000 solid;*/
    width: 391px;
    height: 100%;
    min-height: 60px;
  }
  .js #top-banner .right {
    -o-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  #top-banner #date-select {
/*      border: 1px #000 solid;*/
      width: 100px;
      height: 1em;
      position: relative;
      top: 19px;
      float: left;
    }
    #top-banner #date-select .mask {
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    #top-banner #date-select .selector {
/*        border: 1px #000 solid;*/
        width: 14px;
        height: 8px;
        position: absolute;
        left: 35%;
        margin-left: -8px;
        display: none;
      }
      #top-banner #date-select .selector.up {
        top: -14px;
        background: url(../images/arrow-up.png) no-repeat center top;
      }
      #top-banner #date-select .selector.down {
        bottom: -15px;
        background: url(../images/arrow-down.png) no-repeat center top;
      }
    #top-banner #date-select .mask .dates {
        display: block;
        position: absolute;
      }
      #top-banner #date-select .mask .dates time {
        display: block;
        line-height: 1em;
      }
  #top-banner #time-select {
/*      border: 1px #000 solid;*/
      width: 264px;
      height: 25px;
      position: relative;
      top: 13px;
      float: right;
      vertical-align: bottom;
    }
    #top-banner #time-select a {
/*        border: 1px #000 solid;*/
        display: block;
        float: left;
        width: 7px;
        height: 1px;
        margin-left: 4px;
        background: url(../images/current-hour-indicator.png) no-repeat -100px -100px #b3b3b3;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        vertical-align: bottom;
        behavior: url(/wp-content/themes/mdl/css/PIE.htc);
      }
      #top-banner #time-select a.current {
        color: #d2235a;
      }
      #top-banner #time-select a span {
/*        border: 1px #000 solid;*/
        display: none;
        width: 50px;
        font-weight: bold;
        position: absolute;
        bottom: 0;
        margin-left: -20px;
        line-height: 1em;
        color: #444;
        text-align: center;
      }
  #top-banner.expanded #time-select, #top-banner #time-select.expanded {
      height: 55px;
    }
    #top-banner.expanded #time-select a:hover, #top-banner.expanded #time-select a.current {
/*        border: 1px #000 solid;*/
        background-position: top center;
      }
      #top-banner.expanded #time-select a:hover span {
          display: block;
        }
    .no-js #top-banner div#time-select a.inactive, .js #top-banner div#time-select a.inactive { background-color: #b3b3b3 }
    .no-js #top-banner #time-select a { cursor: default }
    .no-js #top-banner #time-select a.hour-00, #top-banner.expanded #time-select a.hour-00, #top-banner #time-select a.hour-00.current { background-color: #deb503 }
    .no-js #top-banner #time-select a.hour-01, #top-banner.expanded #time-select a.hour-01, #top-banner #time-select a.hour-01.current { background-color: #e7ac00 }
    .no-js #top-banner #time-select a.hour-02, #top-banner.expanded #time-select a.hour-02, #top-banner #time-select a.hour-02.current { background-color: #eea200 }
    .no-js #top-banner #time-select a.hour-03, #top-banner.expanded #time-select a.hour-03, #top-banner #time-select a.hour-03.current { background-color: #f59500 }
    .no-js #top-banner #time-select a.hour-04, #top-banner.expanded #time-select a.hour-04, #top-banner #time-select a.hour-04.current { background-color: #fc8700 }
    .no-js #top-banner #time-select a.hour-05, #top-banner.expanded #time-select a.hour-05, #top-banner #time-select a.hour-05.current { background-color: #ff7804 }
    .no-js #top-banner #time-select a.hour-06, #top-banner.expanded #time-select a.hour-06, #top-banner #time-select a.hour-06.current { background-color: #ff670c }
    .no-js #top-banner #time-select a.hour-07, #top-banner.expanded #time-select a.hour-07, #top-banner #time-select a.hour-07.current { background-color: #ff5911 }
    .no-js #top-banner #time-select a.hour-08, #top-banner.expanded #time-select a.hour-08, #top-banner #time-select a.hour-08.current { background-color: #ff4818 }
    .no-js #top-banner #time-select a.hour-09, #top-banner.expanded #time-select a.hour-09, #top-banner #time-select a.hour-09.current { background-color: #ff3220 }
    .no-js #top-banner #time-select a.hour-10, #top-banner.expanded #time-select a.hour-10, #top-banner #time-select a.hour-10.current { background-color: #ff1e29 }
    .no-js #top-banner #time-select a.hour-11, #top-banner.expanded #time-select a.hour-11, #top-banner #time-select a.hour-11.current { background-color: #f01e3e }
    .no-js #top-banner #time-select a.hour-12, #top-banner.expanded #time-select a.hour-12, #top-banner #time-select a.hour-12.current { background-color: #f00f47 }
    .no-js #top-banner #time-select a.hour-13, #top-banner.expanded #time-select a.hour-13, #top-banner #time-select a.hour-13.current { background-color: #f00550 }
    .no-js #top-banner #time-select a.hour-14, #top-banner.expanded #time-select a.hour-14, #top-banner #time-select a.hour-14.current { background-color: #e50058 }
    .no-js #top-banner #time-select a.hour-15, #top-banner.expanded #time-select a.hour-15, #top-banner #time-select a.hour-15.current { background-color: #c80564 }
    .no-js #top-banner #time-select a.hour-16, #top-banner.expanded #time-select a.hour-16, #top-banner #time-select a.hour-16.current { background-color: #941873 }
    .no-js #top-banner #time-select a.hour-17, #top-banner.expanded #time-select a.hour-17, #top-banner #time-select a.hour-17.current { background-color: #5a3282 }
    .no-js #top-banner #time-select a.hour-18, #top-banner.expanded #time-select a.hour-18, #top-banner #time-select a.hour-18.current { background-color: #244f90 }
    .no-js #top-banner #time-select a.hour-19, #top-banner.expanded #time-select a.hour-19, #top-banner #time-select a.hour-19.current { background-color: #026599 }
    .no-js #top-banner #time-select a.hour-20, #top-banner.expanded #time-select a.hour-20, #top-banner #time-select a.hour-20.current { background-color: #007c99 }
    .no-js #top-banner #time-select a.hour-21, #top-banner.expanded #time-select a.hour-21, #top-banner #time-select a.hour-21.current { background-color: #0d8e99 }
    .no-js #top-banner #time-select a.hour-22, #top-banner.expanded #time-select a.hour-22, #top-banner #time-select a.hour-22.current { background-color: #239c97 }
    .no-js #top-banner #time-select a.hour-23, #top-banner.expanded #time-select a.hour-23, #top-banner #time-select a.hour-23.current { background-color: #239c97 }

  #intro {
/*      border: 1px #000 solid;*/
      position: fixed;
      left: 50%;
      top: 180px;
      z-index: 25;
      width: 934px;
      height: 187px;
      margin-left: -485px;
      padding: 0 18px;
      background: #ddd;
    }
    .webkit #intro { margin-left: -484px }
    #intro h3 {
/*        border: 1px #000 solid;*/
        font-family: "TypewriterURWLight";
        font-size: 11.94em;
        line-height: 125px;
        margin: 0 0 10px -4px;
        color: #fff;
      }
    #intro p {
        width: 420px;
        position: absolute;
        left: 439px;
        top: 45px;
        font-family: "TypewriterURWMedium";
        font-size: 1.08em;
        color: #666;
      }
    #intro .lower {
/*        border: 1px #000 solid;*/
        border-top: 1px #858585 dotted;
        border-bottom: 1px #858585 dotted;
        position: absolute;
        top: 135px;
        width: 934px;
        height: 52px;
        line-height: 52px;
        font-weight: bold;
        color: #000;
        background: #ddd;
      }
      #intro .lower.stand-alone {
        border-top: 0;
      }
      #intro .lower #feed-loading-indicator {
        display: none;
        float: right;
        padding-right: 35px;
        background: url(../images/loader-animation.gif) no-repeat right center;
      }

#expanded-feed-article {
    position: absolute;
    z-index: 20;
    display: none;
    width: 470px;
    height: 275px;
    padding: 30px 20px;
    background: #fff;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    -moz-box-shadow: 0 0 7px rgba(50, 50, 50, 0.6);
    -webkit-box-shadow: 0 0 7px rgba(50, 50, 50, 0.6);
    -o-box-shadow: 0 0 7px rgba(50, 50, 50, 0.6);
    box-shadow: 0 0 7px rgba(50, 50, 50, 0.6);
    behavior: url(/wp-content/themes/mdl/css/PIE.htc);
  }
  #expanded-feed-article .close {
    display: block;
    width: 12px;
    height: 11px;
    margin-bottom: 20px;
    background: url(../images/close-button.png);
  }
  #expanded-feed-article .left {
      width: 100px;
      margin-right: 15px;
      height: 100%;
      line-height: 1.6em;
      font-weight: bold;
    }
    #expanded-feed-article .left time {
      display: block;
    }
  #expanded-feed-article .right {
      width: 355px;
      height: 100%;
      float: left;
      overflow: hidden;
    }
    #expanded-feed-article .right * {
/*      border: 1px #000 solid;*/
      width: auto;
      max-width: 100%;
    }
    #expanded-feed-article .right .article {
      float: left;
      width: 100%;
    }
    #expanded-feed-article .right .type {
      font-weight: bold;
      margin-bottom: 15px;
    }
    #expanded-feed-article .right h2 {
        font-size: 24px;
        font-family: "TypewriterURWRegular";
        font-weight: normal;
        margin-bottom: 15px;
      }
      #expanded-feed-article .right h2 a {
        color: #000;
      }
    #expanded-feed-article .right p {
      margin: 0 0 1.3em;
      line-height: 1.4em;
      font-size: 1.1em;
    }

.main {
/*  border: 1px #000 solid;*/
  position: relative;
  top: 125px;
  margin-bottom: 163px;
  height: auto;
}
#feed {
/*    border: 1px blue solid;*/
/*    padding-top: 261px;*/
/*    top: 232px;*/
    padding-top: 262px !important;
/*    z-index: 40;*/
  }
  #feed.test { border: 1px #000 solid; z-index: 40 }
  .no-js #feed {
    padding-top: 253px;
    width: 940px;
    padding-bottom: 18px;
  }
  #feed article {
/*      border: 1px #000 solid;*/
      float: left;
      overflow: hidden;
      margin: 10px 10px 0 0;
      color: #000;
      word-wrap: break-word;
      background: no-repeat;
    }
    .no-js #feed article {
      margin: 9px 9px 0 0;
    }
    #feed article a {
/*        border: 1px #000 solid;*/
        color: #000;
        display: block;
        height: 92%;
        width: 100%;
        overflow: hidden;
        word-wrap: break-word;
        position: relative;
      }
      #feed article a div {
          position: absolute;
        }
      #feed article a:hover .excerpt {
        color: rgba(0, 0, 0, 1);
      }
    .js #feed article {
      position: absolute;
      left: -1000px;
    }
    #feed article.small {
        width: 125px;
        height: 125px;
      }
      #feed article.small .excerpt {
        font-size: 13px;
      }

    #feed article.medium {
        width: 260px;
        height: 260px;
      }
      #feed article.medium .excerpt {
        font-size: 24px;
      }
    #feed article.large {
        width: 534px;
        height: 530px;
      }
      #feed article.large .excerpt {
        font-size: 36px;
      }
      #feed article.large a {
        height: 475px;
      }

    #feed article .type, #feed article .excerpt {
    /*      border: 1px #000 solid;*/
        display: block;
        margin: 10px;
      }
      #feed article .type {
        font-weight: bold;
      }
      #feed article .excerpt {
        top: 25px;
        font-family: "TypewriterURWRegular";
        color: rgba(0, 0, 0, 0.5);
      }

footer {
/*    border: 1px #000 solid;*/
    border-top: 1px #292929 dotted;
    width: 934px;
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 30;
    margin: 18px 0 0 -466px;
    font-size: 0.9em;
    color: #000;
  }
  footer .inner {
/*      border: 1px #000 solid;*/
      height: 31px;
      margin: 0 -18px;
      padding: 6px 18px 0;
      background: #ddd;
    }
    footer .inner a, footer .inner a:visited {
      color: #e0005a;
    }

/**
 * Custom fonts
 */
@font-face {
  font-family: "TypewriterURWRegular";
  src: url("fonts/typewriterurw-reg-webfont.eot");
  src: url("fonts/typewriterurw-reg-webfont.eot?iefix") format("eot"),
       url("fonts/typewriterurw-reg-webfont.woff") format("woff"),
       url("fonts/typewriterurw-reg-webfont.ttf") format("truetype"),
       url("fonts/typewriterurw-reg-webfont.svg#webfontwj45aRGo") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "TypewriterURWLight";
  src: url("fonts/typewriterurw-lig-webfont.eot");
  src: url("fonts/typewriterurw-lig-webfont.eot?iefix") format("eot"),
       url("fonts/typewriterurw-lig-webfont.woff") format("woff"),
       url("fonts/typewriterurw-lig-webfont.ttf") format("truetype"),
       url("fonts/typewriterurw-lig-webfont.svg#webfontaMm19a2t") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "TypewriterURWMedium";
  src: url("fonts/typewriterurw-med-webfont.eot");
  src: url("fonts/typewriterurw-med-webfont.eot?iefix") format("eot"),
       url("fonts/typewriterurw-med-webfont.woff") format("woff"),
       url("fonts/typewriterurw-med-webfont.ttf") format("truetype"),
       url("fonts/typewriterurw-med-webfont.svg#webfontTdBk2bKU") format("svg");
  font-weight: normal;
  font-style: normal;
}

.typewriter-regular {
  font-family: "TypewriterURWRegular";
  font-size: 24px;
}

.left {
  float: left;
}
.right {
  float: right;
}




/*
 * Media queries for responsive design
 * These follow after primary styles so they will successfully override. 
 */

@media all and (orientation:portrait) { 
  /* Style adjustments for portrait mode goes here */
  
}

@media all and (orientation:landscape) { 
  /* Style adjustments for landscape mode goes here */
  
}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)  
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  
  
  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
     j.mp/textsizeadjust 
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/* 
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ 
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
  
  nav { display: none }
  * { border: none !important }
  #main h1 { display: none }
  #main p { font-size: 1.5em; line-height: 1.5em }
  #main ol li { list-style-type: decimal !important }
  #main ul li { list-style-type: disc !important }
  #main ol, #main ul { list-style-position: outside !important }
  #main ol, #main li { display: list-item !important; float: none !important; }
  #main ol li h4 span, #main ul li h4 span { display: none !important }
  #main h4 { font-size: 1.5em; text-transform: none; }
}

@media only screen and (max-width: 970px) {
  body { background-position: left top }
  header, #top-banner, #intro { left: 0; margin-left: 0 }
  footer { left: 0; margin-left: 18px !important }
}