body {
	font:16px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.5em;
    letter-spacing: -0.1px;
	color: #666;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
    background: url(/images/shutterstock_526617874.jpg) fixed;
    margin:0;
}

#sendComments {
    padding-top: 36px;
}
#sendComments div {
    color: #888;
    font-size: 0.85em;
    /*background: #f0dec6;*/
    background: #fff6e9;
    border: 1px dashed #f4dec6;
    padding: 16px;
}

/* layout */
.main {
    background: white;
    padding: 16px;
}

#footer {
    padding:16px;
}

.wrapper {
    margin: 0 auto;
    width: 620px;
}

/* typography */
a {
    color: #d86902;
    text-decoration: none;

	-webkit-transition: all 0.15s ease;
	-moz-transition: all 0.15s ease;
	-ms-transition: all 0.15s ease;
	-o-transition: all 0.15s ease;
	transition: all 0.15s ease;
}

a:hover {
    color: #222;
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-weight: normal;
    line-height: 1em;
    color:#444;
}

h1 {
    color: #222;
}

p, h1, h2, h3, h4, table {
    margin: 24px 0 16px 0;
}

pre {
    overflow: auto;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
}

code {
    background: #f8f8f8;
    color: black;
    border-radius: 4px;
    border:1px solid #ddd;
    display:inline;
    padding: 0 4px;
    font-size: 0.9em;
}
pre code {
    padding: initial;
    background: initial;
    border: none;
}

/* navigation */
#main-nav {
    text-align: right;
    background:#2f2f2f;
    position: fixed;
    top:0;
    width: 100%;
    box-shadow: 0px 0px 12px #000;
}
#main-nav #branding {
    display:block;
    float:left;
    background:none;

    font-weight:bold;
    font-size: 1.1em;
    text-shadow: 2px 2px 5px black;
}

#main-nav a {
    display: inline-block;
    padding: 8px;
    margin: 8px;
    border-radius: 8px;
    
    text-decoration: none;
    font-size: 0.9em;
    color: #d86902;
}

#main-nav a.rss {
    color:white;
    background: #d86902;
}
#main-nav a.rss:hover {
    color: white;
    background: #0094FF;
    text-decoration: none;
}
#main-nav a:hover {
    color: white;
}

/* header */
#home-header {
    margin: 120px auto 64px auto;
    text-align: center;
    text-shadow: 0px 0px 8px #fff;
}

.avatar {
    border-radius: 50%;
    box-shadow: -4px 4px 12px #000;
}

#home-header p {
    font-size: 1.5em;
}

#home-header p a {
    display: inline-block;
    padding: 0 8px;
}

/* footer */
#footer img {
    vertical-align: middle;
    float: right;
    margin: 0 0 16px 16px;
}

/* lists */
.home-list {
    list-style:none;
    padding-left:0;
}

.home-list li {
    margin: 16px 0;
    padding: 16px 0;
    border-bottom: 1px solid #aaa;
}

.home-list li aside {
    float: right;
    margin-top: 24px;
}

.traininglog-list {
    list-style:none;
    padding-left:0;
}

.traininglog-list li {
    margin: 4px 0;
    padding: 4px 0;
    border-bottom: 1px solid #aaa;
}

/* tables */

table {
    border-collapse: collapse;
}

th {
    border-bottom:1px solid #aaa;
    text-align: left;
    vertical-align: bottom;
}

th, td {
    padding: 0px 4px;
}

tbody tr:nth-child(odd) {
    background: #eee;
}

/* Pagination */

.pagination li { display: inline; list-style: none; }
.pagination .active a { color: gray; font-weight: bold; }

/* responsive */
@media only screen and (max-width: 767px) {
    .wrapper {
        max-width: 288px;
    }
    
    .main .wrapper img {
        max-width: 288px;
    }

    .home-list li aside.dates {
        margin-top: initial;
        float: initial;
    }

    .traininglog-list li a {
        display:block;
    }

    /* responsive navigation */
    .mobile-menu {
        height: 56px
    }
    #hamburger {
        position: relative;
        display:block;
        width: 32px;
        height: 32px;
        cursor: pointer;
        margin: 12px;
        float: right;
    }
    
    #hamburger span {
        position: absolute;
        top:50%;
    }
    #hamburger span, 
    #hamburger span:before,
    #hamburger span:after {
    cursor: pointer;
    border-radius: 4px;
    height: 5px;
    width: 32px;
    background: #888;
    position: absolute;
    display: block;
    content: '';
    }
    #hamburger span:before {
    top: -10px;
    }
    #hamburger span:after {
    bottom: -10px; 
    }

    #main-nav {
        text-align: left;
    }
    #main-nav a {
        display:none;
        background: #333;
    }
    #main-nav.open a {
        display: block;
    }
}