/*=========================================
Reset
=========================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd,
q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot,
thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby, section, summary, time,
mark, audio, video {
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    margin: 0;
    padding: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
    display: block
}

body {
    line-height: 1
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

* , * :before, * :after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

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

.group:after {
    clear: both;
}

.group {
    zoom: 1;
}

/*=========================================
Base
=========================================== */

@font-face {
    font-family: 'Contemporary';
    src: url('../fonts/ContemporarySansWeb-Regular.woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Contemporary';
    src: url('../fonts/ContemporarySansWeb-Light.woff');
    font-weight: bold;
    font-style: bold;
}

body {
    font: 16px / 1 "Contemporary", Helvetica, Arial, sans-serif;
    color: #333a33;
    background: #f1f4f0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Link to Documentation */
a#documentation {
    position: fixed;
    z-index: 100;
    top: 11px;
    right: 10px;
    padding: 8px 12px;
    background: #5badf0;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    border-radius: 3px;
}

#wrapper {
    padding: 100px 40px 100px 40px;
    max-width: 500px;
    margin: 0 auto;
}

#header {
    margin-bottom: 20px;
    padding-bottom: 35px;
    position: relative;
}

#avatar {
    display: inline-block;
    width: 140px;
    height: 140px;
    border-radius: 2%;
    margin-bottom: 20px;
		margin-right: 20px;
		float: left;
}

#badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: 48px;
    width: 48px;
}

/*=========================================
Typography
=========================================== */
/*Accent color*/
a {
    text-decoration: none;
    color: #a05e0f;
    font-weight: 400;
}

h1 {
    font-weight: bold;
    font-size: 42px;
		line-height: 1.8em;
}

h2 {
    font-size: 24px;
    font-weight: normal;
    color: #aaa;
    margin-top: 10px;
}

main {
	max-width: 700px;
	margin: 100px 100px;
	padding: 0 0 50px 0;
}

p {
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 16px;
}

#profileLink {
	position: relative;
}

#profileLink img {
	margin: 24px 0 0 0;
}

label {
    font-weight: bold;
		line-height: 1.2;
		position: absolute;
		bottom: 10px;
		left: 120%;
}

#profileLink li:hover {
    -webkit-transition: all 0.2s ease-out;
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

#profileLink label {
    color: white;
    background: #553;
    display: inline-block;
    white-space: nowrap;
    padding: 4px;
    opacity: 0;
}

#profileLink:hover label {
    opacity: 1;
    -webkit-transition: all 0.3s ease-out;
    -webkit-transform: translateY(3px);
}

@media screen and (max-width:540px)
{
    #wrapper {
        padding: 60px 20px;
    }

    nav li {
        float: none;
        width: auto;
        height: 40px;
    }

    nav li img {
        float: left;
    }

    nav li label {
        padding: 0 8px;
        opacity: 1;
        background: none;
        color: #777;
        line-height: 30px;
        cursor: pointer;
    }

    nav li:hover {
        -webkit-transition: none;
        -webkit-box-shadow: none;
    }

    nav li:hover label {
        -webkit-transition: none;
        -webkit-transform: none;
    }
}



