/*
Title:    Responsive Pattern Library
Version:  1.0
Author:   Chelsea Myers

COLORS
Light Gray: #EFEFEF
Dark Gray:  #444
Link:       darkgreen
Link Hover: darkred
Border:     #BFBFBF

INDEX
- CSS RESET
- GENERAL STYLES
- MEDIA QUERY: 800px & up;
*/



/* ===============
   CSS RESET
   =============== */
html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, a, code,
em, img, small, b, u, i, center, ol, ul, li,
fieldset, form, label, table, tbody, tfoot,
thead, tr, th, td, article, aside, canvas,
footer, header, menu, nav, section, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}



/* ===============
   GENERAL STYLES
   =============== */
* {
    box-sizing: border-box;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.875em;
  line-height: 1.5em;
  margin: 0 auto;
  color: #444;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.btn a, a.btn, button{
    border-radius: 3px;
    border: 1px solid #BFBFBF;
    display: inline-block;
    background: #EFEFEF;
    margin: 0.25em;
    font-size: 1rem;
    position: relative;
    text-decoration: none;
    padding: 0 0.50em;
    font-family: 'Lato', sans-serif;
    color: darkgreen;
}
    .btn a:hover, button:hover {
        background: rgba(0, 0, 0, 0.1);
    }

/*Typography*/
h1 {
  font-size: 1.8em;
  line-height: 1;
}
h2 {
  font-size: 1.5em;
  line-height: 1.3em;
  margin: 0.65em 0;
}
h3 {
  font-size: 1.2em;
  line-height: 1em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
h4 {
  font-size: 1em;
  line-height: 1.5em;
  margin-top: 1.25em;
  margin-bottom: 0.75em;
}

p, ul, ol, pre, table, blockquote {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

.container {
    padding: 1em;
    max-width: 1300px;
    margin: 0 auto;
    overflow: auto;
}

a {
    color: darkgreen;
}

a:hover {
    color: darkred;
}

@media only screen and (min-width: 750px) {
    body {
        font-size: 1em;
    }

    .container {
        padding: 2em;
    }

}


/* ===============
   HEADER & NAVIGATION
   =============== */

header, footer {
    background-color: lightyellow;
    max-height: 2%;
}



.header-inner{
    max-width: 1300px;
    margin:0 auto;
    padding: 1em;
}



nav ul li {
    list-style: none;
}

.btn a, a.btn{
    border-radius: 3px;
    border: 1px solid #BFBFBF;
    display: inline-block;
    background: #EFEFEF;
    margin: 0.25em;
    font-size: 1rem;
    position: relative;
    text-decoration: none;
    padding: 0 0.50em;
}
    .btn:hover {
        background: rgba(0, 0, 0, 0.1);
    }



@media only screen and (min-width: 750px) {
    .header-inner {
        padding: 1em 2em;
    }
}



.active {
    font-weight:900;
}
    .active a:before {
        content: '>';
        margin-right: 5px;
    }

.copyright {
    display: none;
}

@media only screen and (min-width: 750px) {
    nav ul li {
        line-height: 2em;
    }
}


/* ===============
   INDEX STYLES
   =============== */
.index .current-page {
    display: none;
}
.index .btn-back {
    display: none;
}


/* ===============
   PAGE STYLES
   =============== */

.main p {
    max-width: 750px;
}

ul {
    padding-left: 1.2em;
}


/* ===============
   Pattern STYLES
   =============== */

article > h3 {
    margin-top:0;
}

body {
  font-size: 1em;
}

header, section, aside, article {
  padding:0.75em;
}

.header-inner {
    max-width: 1330px;
    overflow: auto;
    margin:0 auto;
}

section h2, aside h3{
    margin-top: 0;
}

aside ul {
    margin:0;
}

@media screen and (min-width: 600px) {
  body {
    font-size: 0.875em;
  }
  header, section {
    padding:1em;
    margin-bottom:1em;
  }
}

nav ul {
    padding:0;
    margin:0;
}
