@media screen and (max-width: 980px) {

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	.pagewidth {
		width: 100%;
		padding: 3% 0;
		}
		
	/* content */
	#content {
		padding-left: 3%;
		max-width: 64.8%;
		}
	
	/* sidebar */
	#sidebar {
		padding-right: 3%;
		max-width: 23.2%;
		}
		
	.sidebar-none #content {
		padding-right: 3%;
		width: 94%;
		}
		
	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2,
	.col4-3,
	.col3-1,
	.col3-2,
	.col2-1{
		margin-left: 2%;
		}
	.first {
		margin-left: 0;
		}
	.col4-1 {
		max-width: 23%;
		}
	.col4-2, .col2-1 {
		max-width: 48%;
		}
	.col4-3 {
		max-width: 72%;
		}
	.col3-1 {
		max-width: 31%;
		}
	.col3-2 {
		max-width: 62%;
		}
		
	/************************************************************************************
	FOOTER
	*************************************************************************************/
	
	#footer-cols{
		width: 94%;
		padding: 3%;
		}
	
}

@media screen and (max-width: 760px) {
	
	/************************************************************************************
	GENERAL STYLING
	*************************************************************************************/
	
	body{
		font-size: .75em;
		}

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	
	#content,
	#sidebar{
		max-width: 94%;
		padding: 0 3%;
		float: none;
		clear: both;
		}
	
	#sidebar {
		width: auto;
		margin-top: 2em;
		}
	
	/************************************************************************************
	HEADER
	*************************************************************************************/
	#header{
		text-align: center;
		}
		
	#site-logo{
		
		}
		
	#site-description{
		float: none !important;
		margin-right: .25em;
		margin-left: .25em;
		}
	
	/* header */
	#header {
		height: auto;
		padding-top: 20px;
		max-width: 100%;
		}
	
	/* nav bar */
	#nav-bar {
		display: none;
		}

	/************************************************************************************
	MAIN NAV
	*************************************************************************************/
	#main-nav {
		height: auto;
		margin: 10px 0;
		text-align: left;
		}
		
	#main-nav li{
		float: none;
		display: inline-block;
		margin: 0;
		}
		
	#main-nav a {
	    padding: 0.7em 10px;
    	}
		
}

@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
	
	/************************************************************************************
	GENERAL STYLING
	*************************************************************************************/
	
	body{
		font-size: .71em;
		}
		
	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	
	#body{
		padding-top: 15px;
		padding-bottom: 15px;
		}
		
	#content{
		min-height: 0;
		}

	#content,
	.sidebar-none #content,
	#sidebar{
		padding: 0 4%;
		width: 92%;
		}
	
	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2, .col2-1,
	.col4-3,
	.col3-1,
	.col3-2	 {
		margin-left: 0;
		width: 100%;
		max-width: 100%;
		}
	
	/************************************************************************************
	HEADER
	*************************************************************************************/
	#header{
		padding: 0;
		width: 100%;
		max-width: 100%;
		}

	/************************************************************************************
	MOBILE NAV BUTTON
	*************************************************************************************/
	.mobile-button {
		position: absolute;
		width: 32px;
		height: 30px;
		margin-bottom: 3px;
		margin-right: 3px;
		display: block;
		right: 10px;
		top: 20px;
		cursor: pointer;
		}
		
	.mobile-button:after {

		}

	/************************************************************************************
	MAIN NAV (MOBILE)
	*************************************************************************************/
	#main-nav-wrap {
		
		}
	
	/* menu icon */
	#menu-icon {
		background: transparent url(images/menu-icon.png) no-repeat center center;
		}
	
	/* main nav */
	#main-nav {
		display: none;
		font-size: 1.4em;
		}
	
	#main-nav li{
		display: block;
		border-top: 1px solid #111;
		float: none;
		margin: 0;
		}
		
	#main-nav li:first-child{
		border-top: none;
		}
		
	#main-nav a, 
	#main-nav ul a {
		padding: .4em 4%;
		line-height: 1.5em;
		}
		
	#main-nav a:hover, 
	#main-nav ul a:hover {
	
		}
	
	/* dropdown */
	#main-nav ul {
		display: none;
		}
	
	/************************************************************************************
	SEARCH FORM
	*************************************************************************************/
	/*
	#searchform-wrap {
		position: absolute;
		top: 5px;
		right: 40px;
		z-index: 1000;
	}
	#search-icon {
		background: url(images/search-icon.png) no-repeat center center;
	}*/
	/*
	#header #searchform {
		clear: both;
		width: auto;
		position: static;
		overflow: hidden;
		background: #fff;
		border: solid 1px #999;
		padding: 5px;
		display: none;
		
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		
		-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.3);
		-moz-box-shadow: 0 1px 2px rgba(0,0,0,.3);
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
	}
	#header #searchform #s {
		background: #eee;
		color: #444;
		padding-left: 8px;
	}
	*/
	/************************************************************************************
	LAYOUT
	*************************************************************************************/
	/* post */
	.post {
		width: 100%;
		margin-left: 0;
		float: none;
	}
	
	/************************************************************************************
	POST NAV
	*************************************************************************************/
	.post-nav .prev, .post-nav .next {
		display: block;
		width: 100%;
		clear: both;
		margin-bottom: 10px;
	}
	
	/************************************************************************************
	COMMENTS
	*************************************************************************************/
	.commentlist {
		padding-left: 0;
	}
	.commentlist .commententry {
		clear: left;
	}
	.commentlist .avatar {
		float: left;
		width: 40px;
		height: 40px;
		margin: 0 10px 10px 0;
	}
	
	/************************************************************************************
	FOOTER
	*************************************************************************************/
	
	#footer{
		padding-top: 10px;
		padding-bottom: 0;
		}
	
	#footer-cols{
		width: 100%;
		padding: 0;
		}
		
	#footer .col3-1{
		padding-left: 4%;
		padding-right: 4%;
		padding-top: 1em;
		padding-bottom: 1em;
		max-width: 92%;
		width: 92%;
		border-top-width: 2px;
		border-top-style: solid;
		}
		
	#footer .col3-1:first-child{
		border: none;
		}
		
	#footer h4{
		font-size: 2em;
		margin-top: 0;
		}
	
	#footer ul{
		font-size: 1.5em;
		}
		
	.social-widgets{
		padding-top: 10px;
		padding-bottom: 10px;
		border-bottom-style: solid;
		border-bottom-color: #222;
		}
	
	.footer-text div{
		padding: 5px;
		}
		
	/* searchform */
	
	#footer #searchform #s,
	#footer #searchform #b{
		-webkit-appearance:none;
		}
		
	#footer #searchform #s {
		width: 70%;
		padding-left: 8%;
		padding-right: 2%;
		float: left;
		}
		
	#footer #searchform #b{
		width: 20%;
		padding-left: 2%;
		padding-right: 2%;
		}

}