/*
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
INIT
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/


html {
	font-size: 16px;
    font-family: sans-serif;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    }

article,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
    }

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }

a {
    background-color: transparent;
    text-decoration: none;
    }

a:active,
a:hover { outline: 0; }

a[href] { cursor: pointer; }

::-moz-selection {
    background: #C5CAD4;
    outline: none;
    }

::selection {
    background: #C5CAD4;
    outline: none;
    }

img {
    border: 0;
    height:auto !important;
    max-width:100%;
    vertical-align: middle;
    width:100%;
    }

html, body { height: 100%; }

ul, li, dl, dt, dd {
    list-style: none;
    list-style-type: none;
    text-indent:0;
    margin:0;
    padding:0;
    }





/*
 * Legal Disclaimer
 *
 * These Fonts are licensed only for use on these domains and their subdomains:
 * chadrenard.com
 *
 * It is illegal to download or use them on other websites.
 *
 * While the @font-face statements below may be modified by the client, this
 * disclaimer may not be removed.
 *
 * Lineto.com, 2015
 */

@font-face {
    font-family: "Circular-Book";
    src:url("fonts/lineto-circular-book.eot");
    src:url("fonts/lineto-circular-book.eot?#iefix") format("embedded-opentype"),
        url("fonts/lineto-circular-book.woff") format("woff"),
        url("fonts/lineto-circular-book.ttf") format("truetype"),
        url("fonts/lineto-circular-book.svg#lineto-circular-book") format("svg");
    font-weight: normal;
    font-style: normal;
}





/*
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
GLOBAL
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/


body {
    background: #333639;
	color:#FFF;
	font-family: "Circular-Book";
	font-size:16px;
	line-height:24px;
	margin: 0;
    padding: 0;
	overflow-x: hidden;
	vertical-align:baseline;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	}

#home {
    background: #2c2e30;
    }

p {
    font-size: 1em;
    line-height:1.5em;
    padding: 0 0 0.75em 0;
    margin:0;
    }

a { color: rgba(255,255,255,1); }

del { display: none; }





/*
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
HEADERS
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/


header,
section,
footer > div,
main {
    margin: 0 auto;
    position:relative;
    }

#navigation {
    height:5em;
    background-color: #FFF;
    padding:1.18em 0 0 0;
    position:fixed;
    top:0;
    width:100%;
    z-index:1;
    }

main { padding-top:5em; }





/*
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
NAV
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/


section,
aside,
#globalnav { text-align:justify; }

section:after,
aside:after,
#globalnav:after {
    content:"";
    display:inline-block;
    width:100%;
    }

#globalnav {
    display:block;
    margin: 0 auto;
    padding-left:1.25em;
    padding-right:1.25em;
    height:100%;
    }

nav ul { display:inline-block; }

    nav li {
        font-size:1em;
        display:inline-block;
        margin:0 0 0 3px;
        }

    nav li:first-child { margin:0; }

        nav a,
        #toggle span {
            display:block;
            line-height:0;
            padding:1.125em 0.625em 1.25em 0.625em;
            color:#2c2e30;
            border:2px solid transparent;
            text-align:center;
            -webkit-transition: all 200ms ease;
	                transition: all 200ms ease;
            }

        #toggle span { cursor: pointer; }

        @media all and (min-width:680px) {

            nav a:hover,
            #toggle span:hover {
                color:#2c2e30;
                background-color:transparent;
                border-color:#333639;
                }

            }

        nav a.current {
            color:#FFF;
            background-color:#333639;
            border-color:#333639;
            }

        nav ul:first-of-type a.current,
        #toggle.open span {
            color:#FFF;
            background-color:#2c2e30;
            border-color:#2c2e30;
            }





/*
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
GRID
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/


.grid,
.grid > div { width: 100%; }

.grid {
    font-size:0;
    line-height:0;
    text-align:justify;
    }

    .grid:after {
        content: '';
        display: inline-block;
        width: 100%;
        }

figure {
    display: inline-block;
    margin:0;
    overflow:hidden;
    padding:0;
    position:relative;
    text-align:left;
    -webkit-backface-visibility: hidden;
   	backface-visibility: hidden;
    *zoom: 1;
    }

    figure:before {
        content: '';
        display: inline-block;
        width: 100%;
        }





/*
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
FOOTER
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/


footer {
    background-color: #2c2e30;
    padding-top:5%;
    padding-bottom:5%;
    width:100%;
    }

footer > div {
    text-align:center;
    width:50%;
    }

footer p {
    color: rgba(255,255,255,0.3);
    display:block;
    font-size:14px;
    padding-top:1.5em;
    text-align:center;
    }





/*
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
MEDIA QUERIES
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/

@media all and (min-width: 1792px){

    section, footer > div { width:100% ; }

    }

@media all and (min-width: 1320px){

    section, footer > div { width:1280px; }

    }

@media all and (max-width: 1319px) and (min-width: 1000px){

    section, footer > div { width:960px; }

    }


@media all and (max-width: 999px) {

    footer:not(.quotes) div { width:100%; }

    }

@media all and (max-width: 999px) and (min-width: 680px){

    section:not(.grid), footer > div { width:640px; }

    }

@media all and (min-width: 680px){

    section:not(.grid), footer > div {
        padding-left:0;
        padding-right:0;
        }

    }

@media all and (max-width: 679px) {

    #navigation {
        padding:0.75em 0 0 0;
        height:3.75em;
        }

    main { padding-top:3.75em; }

    header, #globalnav, section, footer > div { width:100%; }

    section:not(.grid), footer > div {
        padding-left:8%;
        padding-right:8%;
        }

    #globalnav {
        padding-left:3%;
        padding-right:3%;
        }

    nav li { font-size:0.875em; }

    footer {
        padding-top:9%;
        padding-bottom:9%;
        }

    footer p { font-size:12px; }

    }


