/* #Basic Styles
================================================== */
	
body {
	
	background: #FFF;
	font: 18px/1.9 "Lato", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	color: #333;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}


/* #Typography
================================================== */
		
h1, h2, h3, h4, h5, h6 {
	font-family: "Lato", "Helvetica Neue", Helvetia, Arial, sans-serif;
	color: #222;
	font-weight: 600;
	margin: 0;
	letter-spacing: .01em;
}

h1 {
    font-size: 3.7em;
    line-height: 1.2em;
    font-weight: 900 !important;
}

h2 {
	font-size: 3em;
	line-height: 1.1em;
	border-bottom: 2px solid transparent !important;
}

h2:hover {
    border-bottom: 2px solid #000 !important;
}

h3 {
	font-size: 1.5em;
	line-height: 1.25;
	margin-bottom: 27px;
}

h4, h5 {
	text-transform: none !important;
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 27px;
}

h5 {
	color: #333
}

h6 { 
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 27px;
}

p {
	margin: 0 0 27px 0;
}


/* #Links
================================================== */		

a {
	color: #4A90E2;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
	outline: 0;
	
	-webkit-transition: all 0.25s ease-out; 
	   -moz-transition: all 0.25s ease-out; 
	        transition: all 0.25s ease-out;
}

a:active {
	outline: 0;
}

a:hover { 
	color: #3c3d4b; 
	border-bottom: 1px solid #000;
	
	-webkit-transition: all 0.25s ease-in; 
	   -moz-transition: all 0.25s ease-in; 
	        transition: all 0.25s ease-in;
}

/* #Lists
================================================== */		

ul {
	margin: 27px 0;
	list-style: none;
	padding: 0;
}

li {
	margin: 0 0 7px 0;
	padding: 0;
}

ul li:last-child {
	margin-bottom: 0;
}

ol {
	list-style: decimal;
	color: #999999;
}

ol, ul.square, ul.circle, ul.disc {
	margin-left: 27px;
}

ul.square {
	list-style: square outside;
}

ul.circle {
	list-style: circle outside;
}

ul.disc {
	list-style: disc outside;
}

/* #Quotes
================================================== */		

blockquote {
	font-family: Georgia, serif;
	margin: 0 0 27px;
	padding: 0 27px;
}

blockquote, blockquote p {
	color: #999;
	font-style: italic;
}


/* #Layout
================================================== */		

.container {
	width: 80%;
	max-width: 1000px;
	margin: 0 auto;
}


/* #Header
================================================== */		

#mast-head {
	background: #000 url('http://assets.creativesomething.net/images/background.jpg') top left no-repeat;
	background-size: cover;
	color: #FFF !important;
	padding: 30px;
	text-align: center;
}


/* #Logo
================================================== */		

#mast-head #logo {
	padding: 0;
	margin: 0;
	margin-top: 40px;
	color: #FFF;
} 

#mast-head #logo a {
	color: inherit;
	border: 0;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1.5px;
}

#mast-head #logo img {
	max-width: 100%;
}


/* #Navigation
================================================== */		

.nav ul {
	height: 4em;
	width: 100%;
	margin: 0 auto;
	display: block;
	text-align: center;
}

.nav ul li {
    display: inline;
	margin-right: 20px;
	line-height: 1em;
	padding: 2em 0;
}

.nav ul li a {
	line-height: 27px;
	color: inherit;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	border: 0;
	letter-spacing: 1.5px;
}

.nav ul li a:hover {
	color: inherit;
	opacity: 0.6;
}

.nav ul li:last-child {
	margin-right: 0; 
}

/* #Page Head
================================================== */

header.page-head {
	margin-bottom: 79px;
	text-align: center;
}

header.page-head h4 {
	
	margin: 0;
	color: #333;

}

/* #Content and Posts
================================================== */
			
#main { margin-bottom: 120px; }
		
.post {
	margin-bottom: 100px;
	padding-bottom: 3em;
	border-bottom: 3px solid #bbb;
}

#main article:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
	border: 0;
	
}

.post .content {
	width: 70%;
	max-width: 900px;
	min-width: 300px;
	margin: 0 auto;
}

.post .content *:last-child {
	margin-bottom: 0;
}


/* #Post Meta
================================================== */

.post .date {
    font-size: 13px;
    margin-bottom: 4em !important;
}

.post .post-footer {
	width: 70%;
	margin: 0 auto;
	margin-top: 39px;
}

.post .post-footer a {
	font-size: 14px;
	line-height: 1.3em;
	color: #999;
}

.post .post-footer a:hover {
	color: #3c3d4b;
}

.post .post-footer .tags {
	display: block;
	margin: 39px 0 0 0;
}

.post .post-footer .tags li {
	display: inline-block;
	margin-right: 6px;
}

.post .post-footer .tags li a:before {
	content: '#';
}

.post .post-footer .date {
	float: right;
}

.post .post-footer .note-count {
	float: left;
	margin-right: 9px;
}		

/* #Text Posts
================================================== */		

.post .headline, .post .headline a {
	color: #222;
	border: 0;
}

.post .headline a:hover {
	color: #3c3d4b;
}

/* #Photo Posts
================================================== */

.post.photo .photo {
	display: block;
	text-align: center;
	margin-bottom: 39px;
	border: 0;
}

.post.photo .photo img {
	max-width: 100%;
}


/* #Quote Posts
================================================== */

.post.quote {
	font-size: 2em;
	line-height: 1.4em;
}

.post.quote .source {
    font-size: 16px;
    line-height: 1.4em;
}


/* #Video Posts
================================================== */

.post.video .video {
	margin-bottom: 39px;
}

.post.video .video iframe, .post.video .video embed, .post.video .video video {
	width: 100% !important;
	min-height: 350px;
	display: block;
	margin: 0;
	padding: 0;
}


/* #Audio Posts
================================================== */
.post.audio .audio {
	margin-bottom: 39px;
}

.post.audio .audio > span {
	display: block;
}

.post.audio .audio iframe, .post.audio .audio embed {
	width: 100% !important;
	display: block;
	margin: 0;
	padding: 0;
}

.post.audio .audio .tumblr_audio_player {
	height: 81px;
}


/* #Answer Posts
================================================== */

.post.answer .question span.asker {
	display: block; 
	line-height: 27px; 
	margin-bottom: 16px;
}

.post.answer .question span.asker .asker-portrait { 
	display: inline-block;
	vertical-align: middle;
	margin-right: 9px;
	-webkit-border-radius: 50%;
 	-moz-border-radius: 50%;
    border-radius: 50%;
}

.post.answer .question {
	margin-bottom: 27px;
	padding-bottom: 27px;
	border-bottom: 1px solid #ddd;
}

.post.answer .question p {
	font-family: "Lato", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	color: #222;
	margin: 0;
	font-size: 18px;
	line-height: 1.4;
}

.post.answer .answer p:last-child {
	margin: 0;
}


/* #Notes & Comments (Disqus)
================================================== */

#notes, #disqus_thread {
	width: 70%;
	margin: 38px auto 0 auto;
	padding-top: 38px;
	border-top: 1px solid #ddd;
	
}

#disqus_thread iframe {
	display: block;
	margin: 0;
	padding: 0;
}

#notes ol.notes {
	list-style: none;
	margin: 0;
	padding: 0;
}
		
#notes ol.notes li {
	font-size: 12px;
	margin-bottom: .5em;
}

#notes ol.notes li:last-child {
	margin-bottom: 0;
}

#notes ol.notes .avatar_frame {
	margin-right: 9px;
	border: 0;
	display: inline-block;
}

#notes ol.notes .avatar {
	border-radius: 50%;
	vertical-align: middle;
}


/* #Pagination
================================================== */

#pagination {
	margin-top: 54px;
	padding-top: 54px;
	border-top: 1px solid #ddd;
}

.btn {
	font-weight: 900;
	letter-spacing: 1.5px;
	text-align: center;
	text-transform: uppercase;
	font-size: 13px;
	color: 222;
	line-height: 42px;
	height: 42px;
	display: inline-block;
	border: 3px solid #e4e4e4;
	border-radius: 400px;
	padding: 0 12px;
	min-width: 140px;
}

.btn:hover {
	border-color: #3c3d4b;
	background: #3c3d4b;
	color: #FFF;
}

#pagination .prev-page {
	float: left;
}

#pagination .next-page {
	float: right;
}


/* #Media Queries
================================================== */

@media only screen and (max-width: 767px) {
	#mast-head { 
		overflow: hidden;
	}

	#mast-head #logo {
		padding: 20px 0;
	}
	
	h2 {
	    font-size: 3em;
	}
	
	.nav {
		text-align: center;
	}
		
	.nav ul {
		height: auto;
	}	
		
	.nav ul li {
		display: inline-block;
		margin: 0 9px;
		padding: 12px 0;
	}
	
	.container {
		margin: 39px; width: auto;
	}
	
	.post .content, .post .post-footer, #notes, #disqus_thread {
		width: auto;
	}
	
	#pagination .btn {	
		float: none;
		display: block;
		margin-bottom: 16px;
	}
	
	#pagination .next-page {
		margin-bottom: 0;
	}	

}

.nav li:first-child {
	display: none;
}

@media only screen and (max-width: 600px) {
    #mast-head {
        padding-bottom: 3em;
    }
    
    h1 {
        font-size: 3em;
        line-height: 1.2em;
        text-align: center;
    }
    
    .nav {
        display: block;
        height: 1.4em;
        overflow: hidden;
        line-height: 1em;
    }
    
    .nav ul {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .nav ul li {
        display: block;
        padding: .2em;
        margin: 0;
    }
    
    .nav .mobileactive {
        height: 15em;
    }
    
    .nav li:first-child {
    	display: block;
    }
}

/* #Helpers
================================================== */

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

.clear:after {
    clear: both;
}

/* #Library
================================================== */

.bookcover { display: block; position: inherit; float: left; width: 20%; height: auto; margin: 1%; background-color: #eee; border: .5em solid #ddd !important; padding: 0 !important; transition: border-color 0.5s ease; }
.bookcover:hover { cursor: pointer; border-color: #000 !important; }
.bookcover img { display: block; position: relative; float: left; width: 100%; border: 0; padding: 0; margin: 0 !important; }

.bookoverlay { position: absolute; top: 0; left: 0; background-color: rgba(0,0,0,0.7); width: 100%; height: 70%; padding-top: 45%; z-index: 9999; color: #FFF; text-align: center; font-size: 1.5em; font-weight: bold; display: none; }
.bookcover:hover .bookoverlay { display: inline; }

@media all and (max-width: 1153px) {
    .bookcover { width: 29%; }
}

@media all and (max-width: 997px) {
    .bookcover { width: 27%; }
}

@media all and (max-width: 905px) {
    .bookcover { width: 44%; }
}

@media all and (max-width: 500px) {
    .bookcover { width: 44%; margin: 4px; }
}