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

/* LAYOUT CSS */
#layout {
    padding-left: 25%; /* "left col (nav + list)" width */
    position: relative;
}

body {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	/*font-weight: 300;*/
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
}

a {
	color: #356aa0;
	text-decoration: none;
	font-style: bold;
}

img {
	height: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 25%;
    margin-left: -25%;
    background: #356aa0;
    color: #356aa0;
	border-right: 0.4em solid #636363;
}

.header {
	margin: 0em 2em 0em 0em;
    text-align: right;
}

.mobile-nav {
	display: none;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
	text-align: center;
}
.nav-item {
    *display: inline;
    zoom: 1;
	padding: 1em;
}
.nav-item a {
    background: transparent;
    color: #fff;
    margin-top: 1em;
}
.nav-item a:hover,
.nav-item a:focus {
    /*color: rgb(142, 142, 214);*/
    text-decoration: none;
}

.content {
    padding: 2em 3em 0;
	line-height: 1.5;
}

.post {
    padding-bottom: 2em;
}

h1 {
    font-size: 2em;
	color: #356aa0;
    margin-bottom: 0.2em;
}

h2 {
	font-size: 1.5em;
}

.post-meta {
    color: #999;
    font-size: 90%;
    margin: 0;
}

.footer {
    text-align: center;
    padding: 1em 0;
}

.prev {
	text-align: left;
}

.next {
	text-align: right;
}

.footer {
    text-align: center;
    padding: 1em 0;
    color: #ccc;
    font-size: 80%;
}
.footer a {
    color: #bbb;
}

#logo {
	/*float: left;*/
	/*width: 400px;
	height: 186px;*/
	width: 300px;
	height: 140px;
}

@media (max-width: 1024px) {
	.content {
		padding: 5em 3em 0;
	}
}

@media (max-width: 767px) {
    .sidebar {
        width: 100%;
        position: relative;
        margin: 0;
		border-right: 0;
		border-bottom: 0.4em solid #636363;
		height: 120px;
    }

    .header {
        text-align: center;
        top: auto;
        margin: 0em auto;
        position: static;
    }
			
	.nav-item {
		display: inline-block;
	}

    #layout {
        padding: 0;
    }
	
	.content {
		padding: 2em 2em 0;
	}
	
	#logo {
		float: left;
	}
}

@media (max-width: 480px) {
    .content {
        padding: 0em 1em 0;
	}
	.nav {
		display: none;
	}
	.mobile-nav {
		display: inline;
	}
	.nav-item a {
	    background: transparent;
	    color: #000;
	    margin-top: 1em;
	}
	.nav-item a:hover,
	.nav-item a:focus {
	    /*color: rgb(142, 142, 214); */
	    text-decoration: none;
	}
}

