/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {background-color: #fff;}
.wrapper {
    margin: 0 auto;
    max-width: 960px;
    padding: 0.5em 0.5em 0.3em;
}

body,
.body,
.pure-g [class *= "pure-u"],
.pure-g-r [class *= "pure-u"] {
    font-family: "myriad-pro", "Myriad Pro", "Gill Sans", sans-serif;
    font-size: 100%;
    line-height: 1.562em;
    color: #303132;
}

h1, h2, h3, h4, h5, h6, .title {
    font-family: "myriad-pro", "Myriad Pro", "Gill Sans", sans-serif;
    font-weight: 600;
    line-height: 1.25em;
}
h5 {font-size: 14px;}
h6 {
    color: #777777;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 1em;
}
strong {font-weight: 600;}
menu, ol, ul {padding: 0 0 0 24px;}
ul {list-style: square;}
ul.notes li {margin-bottom: 0.5em;}
pre {
    font-family: "Source Code Pro", "Consolas", "Lucida Console", monospace;
    font-size: 12px;
    background: #f0f1f2;
    padding: 0.5em 1em;
    border-left: 5px solid #F9B132;
}
code {
    font-family: "Source Code Pro", "Consolas", "Lucida Console", monospace;
    font-size: 13px;
    background: #F9B132;
    color: #fff;
    border-radius: 2px;
    padding: 0.125em 0.5em;
}
.quote {
  background-color: #006935;
  text-align: center;
  
}

blockquote {
    font-style: italic;
    font-weight: normal;
    font-size: 1.4em;
    font-family: "myriad-pro", "Myriad Pro", "Gill Sans", sans-serif;
    margin: 1em 1em 0.5em;
    color: #000000;
}
blockquote + .author {
    color: #000000;
    font-size: 1.5em;
    margin: 0 2.5em 1em;
    float: right;
}
small {line-height: 1em;}
p {margin-top: 0;}
a {
    color: #4AA8FD;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
}
a:hover {
    border-bottom-color: #4AA8FD;
}
.pure-g > div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.l-box {
    padding: 1em;
}

.masthead {
    background-color: #4AA8FD;
    border-bottom: 3px solid #4295E0;
    color: #ffffff;
    box-shadow: rgba(0,0,0,0.2) 0 1px 3px;
}
.masthead .wrapper {
    position: relative;
}
.masthead .logo {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    color: #4AA8FD;
    width: 256px;
    text-indent: 100%;
    overflow: hidden;
    margin: 0;
}
.masthead .logo a {
    overflow: hidden;
    display: block;
    max-height: 52px;
    border: none;
}
.masthead .hashtag {
    color: #fff;
    border-bottom-color: #4AA8FD;
    position: absolute;
    top: 1.25em;
    right: 0.5em;
}
.masthead .hashtag:hover {
    border-bottom-color: rgba(255,255,255,0.5);
}

.splash {
    text-align: center;
    margin: 0.5em;
}
.primary {
    font-family: "myriad-pro", "Myriad Pro", "Gill Sans", sans-serif;
    margin-bottom: 0.25em;
    font-size: 1.75em;
    color: #303132;
}
.primary + p {margin-bottom: 0;}

.big-red-sign {
    background-image: url(../img/carcantwait.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: 100%;
    height: 48px;
    overflow: hidden;
    white-space: nowrap;
}

.cta .primary {font-size: 1.35em;}

.cta-box {
    margin: 2em 0;
    text-align: center;
}
.cta-box .pure-button {
    font-size: 2em;
}

.note,
.container {color: #898989; margin: 0; text-align: center; font-size: 13px; position: relative;}
.tooltip {border-bottom-style: dotted;}


.content a {color: #3498DB; text-decoration: none;}
.content a:visited {color: #52BFFF;}
.content a:hover {color: #0192ff; border-bottom: 1px solid #52BFFF;}

.content {padding-top: 0;}
.content h2 + p,
.content h3 + p,
.content h4 + p,
.content h5 + p,
.content h6 + p {
    margin-top: 0.5em;
}

.contributions {
    list-style: none;
    margin: 0;
    padding: 0;
}
.contributions li {
    position: relative;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #C8E5FE;
    padding-left: 4em;
}
.contributions li:first-child {
    margin-top: 0;
}
.contributions li:last-child {
    padding-bottom: 9px;
    margin-bottom: 6px;
    border-bottom: 1px solid #C8E5FE;
}
.contributions li span {
    position: absolute;
    left: 0;
    top: 18px;
    font-size: 2em;
    font-weight: bold;
}
.contributions .minor span {color: #57BDFD;}
.contributions .medium span {color: #4AA8FD;}
.contributions .major span {color: #4295E0;}

.tip {font-weight: bold; text-align: center;}

.cta {text-align: center; padding: 1em 0 0.5em;}

.section-title {
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #dedede;
}
.section-center {text-align: center;}

.social {padding-bottom: 3em;}
.social h6 {margin-top: 0;}
.social > div {
    display: inline-block;
    vertical-align: top;
    line-height: 1;
    margin-right: 1em;
}
.social > div:last-child {margin-right: 0;}

.footer {
    border-top: 1px solid #f0f0f0;
    color: #909192;
    padding: 0.5em;
    text-align: center;
    font-size: 13px;
}
.footer p {
    margin: 0;
}


/* ==========================================================================
   Section colours & typography
   ========================================================================== */
.alternate {background-color: #f6f6f6;}

.sans {font-family: "myriad-pro", "Myriad Pro", "Gill Sans", sans-serif;}
.serif {font-family: "ff-meta-serif-web-pro", "Georgia", "Times New Roman", serif;}

.type-light {font-weight: 300;}
.type-medium {font-weight: 400;}
.type-medium-i {font-weight: 400; font-style: italic;}
.type-semi {font-weight: 600;}
.type-semi-i {font-weight: 600; font-style: italic;}
.type-bold {font-weight: 700;}
.type-bold-i {font-weight: 700; font-style: italic;}

.type-sizes {text-align: center; margin: 4em 0;}
.type-sizes .label {
    font-size: 16px;
    font-weight: bold;
    color: #184679;
    margin-bottom: 0;
}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 456px) {
  .contributions li span {
    top: 8px;
    font-size: 1.5em;
  }
}
@media only screen and (min-width: 600px) {
    .primary,
    .cta .primary {font-size: 2em;}
    .footer .links {float: right;}
    .footer .copyrights {float: left;}
}
@media only screen and (min-width: 768px) {
    .primary {font-size: 2.5em;}
    .masthead .hashtag {
        top: 16px;
        font-size: 1.5em;
        line-height: 1.35em;
    }
    .quote {
        background-color: #fff;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .quote .l-box {padding: 4em 4em;}
    .quote blockquote {
      font-size: 1em;
      line-height: 1.4em;
      margin: 0 0;
      font-weight: normal;
    }
    .contributions li span {
        top: 12px;
        font-size: 2em;
    }
}
@media only screen and (min-width: 928px) {
  .quote .l-box {
    padding: 4em 4em;
  }
  .quote blockquote {
    font-size: 1.2em;
    line-height: 1.5em;
    margin: 0 0;
  }
  .contributions li span {
    top: 20px;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .masthead .logo {background-image: url(../img/logo@2x.png);}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dppx) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}