/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

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

::selection {
    background: #99d9e9;
    text-shadow: none;
}

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

/*
    Makes images in the content body fluid. We may decide this isn't
    flexible enough but will work until we need more.
*/
article img {
    width: 100%;
}

code {
  /*
      TODO: normalize.min.css is imported after this file which
      is wrong. Will look into fixing that and removing this
      !important rule later
  */
  font-size: .9em !important;
  background: rgba(0,0,0,0.03);
  padding: 5px;
}

pre code {
    line-height: 1.2;
    display: block;
    overFlow: scroll;
    padding: 10px;
    border-left: solid rgba(0,0,0,.08) 5px;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 95%;
    margin: 0 5%;
}

.logo img {
    max-width: 450px;
    width: 100%;
    margin-top: 20px;
}

/* ===================================================
                CHANGE THEME COLORS HERE
   =================================================== */

/* COLOR BORDERS */

.header-container {
    border-bottom: 20px solid #004371;
    background: #fff;
}

.footer-container,
.main aside {
    border-top: 20px solid #004371;

}

.footer-container,
.main aside {
    background: #e2e2e2;
}

.main aside {
    border-radius: 5px;
}
/* MAIN TEXT BODY */

.title {
    color: white;
}

h1 a {
    color: #000;
}

h2 a {
    color:#004371;
}

h3 a {

    color:#0971ab;
}

h4 a, h5 a, p a {
    color:#065b88;
}

body{
    color:#000;
    background-color: #f0f0f0;
}

body a {
    text-decoration: none;
}

/* TABLE OF CONTENTS SECTION */

aside a:hover {
    text-decoration: underline;
}

aside a {
    text-decoration: none;
    color: #000;
}

aside a:hover {
    color: #0971ab;
}

.main aside {
    color: #004371;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: #0971ab;}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}


.footer-container footer {

    padding: 4px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        width: 60%;
        float: left;
    }

    .main aside {
        float: right;
        width: 25%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

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