/*
 * 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
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio, canvas, iframe, img, svg, video {
  vertical-align: middle; }

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical; }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0; }

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%; }

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px; }

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
    background: rgba(150,150,150,0.3); }

/* Custom page CSS
-------------------------------------------------- */
/* These styles are not required the sticky footer */
body { font-family: 'Droid Serif', serif; }

.navbar-default .navbar-nav a { position: relative; text-decoration: none; }

.navbar-default .navbar-nav a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #337ab7;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.navbar-default .navbar-nav a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

body > .container {
    padding: 120px 15px 240px;
}

.container img { width: 100%; }

.container .text-muted {
  margin: 20px 0; }

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
    font-size: 12px;
}

code {
  font-size: 80%; }

.navbar-brand {
    text-indent: -9999px;
    width: 100px;
    height: 119px;
    margin-left: 15px;
    background: url('../images/scott_200.png') no-repeat;
    background-size: 100px;
}

.nav-back {
    background: rgba(230,230,230,0.8);
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0px;
    z-index: 10;
}

.navbar-default { z-index: 20; }

.navbar-default .navbar-nav > li > a {
    font-size:15px;
    color: #58595b;
    transition: all 0.9s;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent;
    color: #468dd8;
}
.navbar-default .navbar-nav > li > a:hover {
    color: #468dd8;
}

aside {
    position: absolute;
    bottom: 70px;
    width: 100%;
    padding-left: 15px;
}
aside > h2 {
    font-size: 16px;
    color: #468dd8;
    text-align: center;
    width: 160px;
}
aside > ul {
    padding-left: 0px;
    margin-left: 0px;
}
aside > ul > li {
    list-style-type: none;
    padding-left: 20px;
    line-height: 20px;
    margin-bottom: 10px;
}

.icon-bar > a { float: left; margin-right: 20px; margin-bottom: 20px; }
    .icon-bar > a img { transition: all 0.4s ease-in-out; width: 100px }
    .icon-bar > a:hover img { transform: scale(1.2); }

.acquia-cert {
    position: fixed;
    bottom: 72px;
    left: 20px;
    display: none;
}

.container .feeds { margin-top: 30px; }

.container > .comments { margin-top: 60px; }

canvas { display: none; }

@media (min-width: 768px) {
    body {
        background: url('../images/background.jpg') no-repeat bottom right;
        background-size: 1000px;
        background-attachment: fixed;
    }
    .navbar-default {
        background-color: transparent;
        border: none;
        height: 179px;
        padding: 10px 16px;
    }
    .navbar-brand {
        width: 150px;
        height: 179px;
        background: url('../images/scott_300.png') no-repeat;
        background-size: 150px;
        margin-left: 0px;
    }
    .navbar-nav {
        margin: 32px 80px;
    }
    .acquia-cert {
        display: block;
    }
    body > .container {
        padding-left: 150px;
    }
    .container img { width: auto; }
    .footer > .container { font-size: 14px; }
    aside {
        position: fixed;
        top: 200px;
        left: 15px;
        width: 180px;
        padding-left: 0px;
    }
    aside > h2 {
        font-size: 24px;
    }
    aside > ul {
        margin-top: 20px;
    }

    canvas {
        position: fixed;
        z-index: 100;
    }
}

@media (min-width: 1500px) {
    body > .container {
        padding-left: 0px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */
.hidden {
  display: none !important;
  visibility: hidden; }

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.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:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

/*
 * Hide visually and from screen readers, 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; }

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *, *:before, *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after, a[href^="javascript:"]:after {
    content: ""; }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }
  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group; }
  tr, img {
    page-break-inside: avoid; }
  img {
    max-width: 100% !important; }
  p, h2, h3 {
    orphans: 3;
    widows: 3; }
  h2, h3 {
    page-break-after: avoid; } }
