	@media screen and (max-width: 980px) {

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	#welcome-message {
		display:none;
	}
	.post-image-container {
		max-width: 100%;
		height:auto;
	}
	.home-highlightswrap {
		padding:5px;
	}
	.details, single-details {
		display:none;
		height:auto;
	}
	#filterhome {
		display:none;
	}
	
	#customizer {
		display:none;
	}
	#accountnav {
		display:none;
	}
	.flex-control-nav {
		display:none!important;
	}
	#customizer {
		display:none;
	}
	#details {
		display:none;
	}
	#welcome-message {
		display:none!important;
	}
	#slider {
		width:auto!important;
	}
	#sliderwrap {
		width:auto!important;
	}
	#body {
		padding:0;
		margin:0;
		width:100%;
	}
	body {
		margin:0;
		padding:0;
	}
	#pagewrap {
		margin:0;
		width:100%;
		padding-left:3px;
	}
	#post-image-container {
		width:100%;
		height:auto;
	}
	.post-image {
		width:100%!important;
		max-width:100%!important;
	}
	#post img {
		width:100%!important;
		max-width:100%!important;
	}
	.post-image .lightbox {
		width:100%!important;
	}
	#header {
		width:auto!important;
	}
	#headerwrap {
		width:auto!important;
	}
	#footerwrap {
		width:auto!important;
	}
	.post-video {
		position: relative;
		padding-bottom: 300px!important;
		padding-top: 0!important;
		height: 0;
		overflow: hidden;
		font-size:.9em;
		margin:0;
	}
	.post-video iframe,  
	.post-video object,  
	.post-video embed {
		position: absolute;
		top: 0;
		left: 0;
		width: auto!important;
	}
	#footer-nav {
	width:auto!important;
	clear:both;
	position:static;
	}
	.sortable {
		width:auto!important;
	}
	.post {
	width: 100%!important;
	height:auto!important;
	}
	.post img {
	width: auto!important;
	}
	.footer-text {
		margin-left:0!important;
	}
	#post {
	width: auto!important;
	margin: 0 auto!important;
	height:auto!important;
	}
	.slides .slide-content-wrap {
		display:none!important;
	}
	#filter {
		display:none;
	}

	.pagewidth {
		max-width: 97%;
	}
	.post-image img {
		width:100%!important;
	}
		
	/* content */
	#content {
		width: 67.8%;
	}
	
	/* sidebar */
	#sidebar {
		width: 26.2%;
	}
	#sidebar .secondary {
		width: 47%;
	}
	.grid2 .details {
		height:auto;
	}
	.sidebar1 .grid2 .details {
		height: auto;
	}
	.grid3 .details {
		height:auto;
	}
	.sidebar1 .grid3 .details {
		height: auto;
	}
	.grid4 .details {
		height:auto;
	}
	.sidebar1 .grid4 .details {
		height: auto;
	}
	
	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2,
	.col4-3,
	.col3-1,
	.col3-2,
	.col2-1
	{
		margin-left: 2%;
	}
	.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%;
	}
	
}

@media screen and (max-width: 768px) {

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	#content {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
	}
	
	/* sidebar */
	#sidebar {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
	}
	#sidebar .secondary {
		width: 48%;
	}
	
	/************************************************************************************
	HEADER
	*************************************************************************************/
	/* reset absolute elements to static */
	#header .social-widget, #site-logo, #site-description  {
		position: static !important;
		float: none;
		clear: both;
	}
	
	/* social-wrap */
	#social-wrap {
		position: static;
	}
	#header .social-widget {
		margin-left: 0;
	}
					
	/* site logo */
	#site-logo {
		text-align: left;
		padding: 30px 0 3px;
	}
	#site-logo a {
		font-size: 30px;
	}

	/* site description */
	#site-description {
		margin: 0 0 10px;
	}

	/************************************************************************************
	MOBILE NAV BUTTON
	*************************************************************************************/
	.mobile-button {
		position: relative;
		width: 32px;
		height: 30px;
		margin-bottom: 3px;
		margin-right: 3px;
		display: block;
		float: right;
		margin-top:23px;
		cursor: pointer;
	}
	.mobile-button:after {
		padding: 1px;
		content: "";
		width: 100%;
		height: 100%;
		position: absolute;
		top: -1px;
		left: -1px;
		z-index: -1;

		background-image: -moz-linear-gradient(top,  #2b2b2b 0%, #101010 100%);
		background-image: -webkit-linear-gradient(top,  #2b2b2b 0%,#101010 100%);
		background-image: linear-gradient(top,  #2b2b2b 0%,#101010 100%);
		
		-webkit-box-shadow: inset 0 0 1px rgba(255,255,255,.4), inset 0 1px rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.2);
		-moz-box-shadow: inset 0 0 1px rgba(255,255,255,.4), inset 0 1px rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.2);
		box-shadow: inset 0 0 1px rgba(255,255,255,.4), inset 0 1px rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.2);
		
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}

	/************************************************************************************
	MAIN NAV (MOBILE)
	*************************************************************************************/
	#main-nav-wrap {
		position: absolute;
		top: 10px;
		right: 0;
		z-index: 1000;
	}
	
	/* menu icon */
	#menu-icon {
		background: url(images/menu-icon.png) no-repeat center center;
	}
	
	/* main nav */
	#main-nav {
		clear: both;
		float: right;
		position: static;
		width: 160px;
		z-index: 1000;
		padding: 10px 5px;
		background: #fff !important;
		border: solid 1px #999 !important;
		display: none; /* visibility will be toggled with jquery */
		
		-webkit-box-shadow: 1px 2px 0 rgba(0,0,0,.2);
		-moz-box-shadow: 1px 2px 0 rgba(0,0,0,.2);
		box-shadow: 1px 2px 0 rgba(0,0,0,.2);
		
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}
	#main-nav li {
		clear: both;
		float: none;
		margin: 5px 0 5px 10px !important;
		padding: 0 !important;
		border: none !important;

		-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
		box-shadow: none !important;
	}
	#main-nav a, 
	#main-nav ul a {
		font: inherit !important;
		text-transform: inherit !important;
		background: none !important;
		width: auto !important;
		display: inline !important;
		padding: 0 !important;
		color: #666 !important;
		border: none !important;

		text-shadow: none !important;

		-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
		box-shadow: none !important;
	}
	#main-nav a:hover, 
	#main-nav ul a:hover {
		background: none !important;
		color: #000 !important;
	}
	
	/* dropdown */
	#main-nav ul {
		position: static;
		display: block;
		margin: 0;
		padding: 0;
		background: none;
		border: none;
		
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	
	/************************************************************************************
	SEARCH FORM
	*************************************************************************************/
	#searchform-wrap {
		position: absolute;
		top: 10px;
		right: 42px;
		z-index: 1000;
	}
	#search-icon {
		background: url(images/search-icon.png) no-repeat center center;
	}
	
	#headerwrap #searchform {
		clear: both;
		float: right;
		width: auto;
		min-width: 65px;
		max-width: 160px;
		position: static;
		overflow: hidden;
		background: #fff;
		border: solid 1px #999;
		padding: 5px;
		display: none; /* visibility will be toggled with jquery */
		
		-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);
	}
	#headerwrap #searchform #s {
		background: #ddd !important;
		color: #444 !important;
		padding-left: 8px;
		width: 140px\9; /* for IE */
	}

	/************************************************************************************
	POST
	*************************************************************************************/
	/* list large image */
	.list-large-image .post-image {
		float: none;
		margin-right: 0;
	}
	.list-large-image .post-content {
		overflow: visible;
		float: none;
	}

}

@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2, .col2-1,
	.col4-3,
	.col3-1,
	.col3-2	 {
		margin-left: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
			
	/************************************************************************************
	LOOPS WRAPPER
	*************************************************************************************/
	.loops-wrapper {
		margin-left: 0;
	}

	/************************************************************************************
	POST
	*************************************************************************************/
	/* post */
	.post {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		float: none !important;
	}
	
	/* post title */
	.post-title {
		margin: 0 0 2px !important;
		font-size: 2em !important;
	}

	/* post image */
	.post-image {
		float: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	/* post content */
	.post-content {
		overflow: visible !important;
		float: none !important;
	}

	/************************************************************************************
	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-logo {
		position: static;
	}
	.footer-nav {
		padding: 0;
	}

}

@media screen and (min-width: 769px) {

	/* ensure #nav and #searchform is visible on desktop version */
	#main-nav,
	#headerwrap #searchform {
		display: block !important;
	}

}