@media screen and (min-width: 980px) {
	
	/************************************************************************************
	FOOTER
	*************************************************************************************/
	
	#footer-nav {
		-moz-column-count: 5; /* Firefox */
		-webkit-column-count: 5; /* Safari and Chrome */
		column-count: 5;
	}
}

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

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	.pagewidth {
		max-width: 94%;
	}
		
	/* content */
	#content {
		padding: 7% 0 5%;
		width: 67.8%;
	}
	
	/* sidebar */
	#sidebar {
		padding: 7% 0 5%;
		width: 26.2%;
	}
	#sidebar .secondary {
		width: 47%;
	}
	
	/************************************************************************************
	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%;
	}
	
	/************************************************************************************
	LAYOUTS
	*************************************************************************************/
	/* grid4 */
	.grid4 .post {
		width: 23.125%;
		margin-left: 2.5%;
	}

	/* grid3 */
	.grid3 .post {
		width: 31%;
		margin-left: 3.5%;
	}

	/* grid2 */
	.grid2-thumb .post,
	.grid2 .post {
		width: 48%;
		margin-left: 3.75%;
	}
	
	/************************************************************************************
	FOOTER
	*************************************************************************************/
	
	#footer-nav {
		-moz-column-count: 4; /* Firefox */
		-webkit-column-count: 4; /* Safari and Chrome */
		column-count: 4;
	}

}

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

	/************************************************************************************
	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  {
		position: static !important;
	}
	
	/* header */
	#header {
	}
	
	/* header widget */
	.header-widget {
		position: static;
		float: none;
		text-align: left;
		clear: both;
		margin: 0;
	}
	.header-widget .widget {
		margin: 0 0 10px;
	}
	
	/* social widget */
	#header .social-widget {
		padding: 5px 0 0;
	}

	/* search form */
	#header #searchform {
		position: absolute;
		top: 10px;
		left: inherit;
		right: 0;
	}
	#header #searchform #s {
		float: right;
	}
	
	/* site logo */
	#site-logo {
		position: absolute !important;
		left: -10px !important;
		width: 153px !important;	
	}

	/************************************************************************************
	MAIN NAV
	*************************************************************************************/
	#main-nav {
		left: 154px !important;
		right: 0 !important;
		font-size: .85em !important;
	}
	#main-nav a {
		padding: 4px 7px;
	}

	/************************************************************************************
	LAYOUTS
	*************************************************************************************/
	#slider .slide-content {
		overflow: visible;
		padding: 10px 0 0;
		clear: both;
	}

	/************************************************************************************
	LAYOUTS
	*************************************************************************************/
	/* list large image */
	.list-large-image .post-image {
		float: none;
		margin-right: 0;
	}
	.list-large-image .post-content {
		overflow: visible;
		float: none;
	}
	
	/************************************************************************************
	SEARCH FORM
	*************************************************************************************/
	#searchform-wrap {
		position: absolute !important;
		bottom: -20% !important;
		right: 40px;
	}

	/************************************************************************************
	SHOP
	*************************************************************************************/
	/* checkout column */
	.col2-set .col-1,
	.col2-set .col-2 {
		float:none !important;
		width: 100% !important;
	}
	
	/* cart total table */
	.cart-collaterals .cart_totals {
		width: 85%;
	}
	
	/* shipping calculator form */
	.cart-collaterals .shipping_calculator {
		width: 70%;
	}

	/************************************************************************************
	FOOTER
	*************************************************************************************/
	#footerwrap {
		padding-top: 50px !important;
	}
	#footer-nav {
		-moz-column-count: 3; /* Firefox */
		-webkit-column-count: 3; /* Safari and Chrome */
		column-count: 3;
	}

}

@media screen and (max-width: 600px) {
	
	/************************************************************************************
	LAYOUTS
	*************************************************************************************/
	/* grid4 */
	.grid4 .post, .sidebar1.grid4 .post {
		width: 100%;
		margin-left: 0;
		float: none;
	}

	/* grid3 */
	.grid3 .post, .sidebar1.grid3 .post {
		width: 100%;
		margin-left: 0;
		float: none;
	}
	
	/* post content */
	.post-content {
		overflow: visible !important;
	}
	
	#header {
		text-align: center;
	}
	
	#site-logo, #site-logo {
		position: absolute;
		left: -5px !important;
		width: 140px !important;
	}
	
	#main-nav, .main-nav {
		left: 135px !important;
		right: -5px !important;
	}
	
	/* blog 2 (feature) */
	
	#blog2 {
		position: relative;
		display: block;
	}
		#blog2 .latest-news {
			padding: 40px 1em .5em 1em !important;
		}
		#blog2 .latest-news h3 {
			font-size: 1em !important;
		}
		#blog2 .latest-news p {
			font-size: 1em !important;
		}
		#blog2 .latest-news .read-more {
			display: none !important;
		}
	
	
	/************************************************************************************
	SHOP DOCK
	*************************************************************************************/
	#cart-slider {
		display: none;
	}
	
	/* checkout wrap */
	.checkout-wrap {
		width: 100%;
		max-width: 100%;
		float: none;
		padding-bottom: 6px;
	}
	
	/* check button */
	.checkout-button {
		float: right;
	}
	
	/* cart total */
	.cart-total {
		font-size: 110%;
		margin-top: 4px;
		float: left;
		text-align: left;
	}
	
	/************************************************************************************
	SHOP
	*************************************************************************************/
	/* product single */
	.single-product .product .images,
	.sidebar-none.single-product .product .images {
		width: 280px;
		float: none;
	}
	.single-product .product .summary,
	.sidebar-none.single-product .product .summary {
		float: none;
		width: 100%;
	}
	
	.custom-cat .single-product .summary  {
		width: 100%;
	}
	.custom-cat .single-product h2 {
		float: left;
	}
	.custom-cat .price-buy-wrap {
		display: block;
		clear: both;
		margin-bottom: 1em;
	}
	.custom-cat .price-buy-wrap .price {
		display: inline-block;
		margin: 1em;
	}
	
	/************************************************************************************
	FOOTER
	*************************************************************************************/
	#footerwrap {
		position: relative;
	}
	
	#footer-nav {
		-moz-column-count: 3; /* Firefox */
		-webkit-column-count: 3; /* Safari and Chrome */
		column-count: 3;
	}

}

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

	/* disable webkit text size adjust (iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
	
	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	.pagewidth {
	}
	
	#body {
	}

	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2, .col2-1,
	.col4-3,
	.col3-1,
	.col3-2	 {
		margin-left: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	/************************************************************************************
	HEADER
	*************************************************************************************/
	#header {
		position: absolute;
		top: 0;
		transform:rotate(0deg) !important;
		-ms-transform:rotate(0deg) !important; /* IE 9 */
		-webkit-transform:rotate(0deg) !important; /* Safari and Chrome */
	}
	
	hgroup {
		position: relative;
		width: 100% !important;
		height: 100px !important;
		text-align: center !important;
	}
	
	/* site logo */
	#site-logo {
		position: static;
		top: 0;
		left: auto !important;
		width: 150px !important;
		margin: 0 auto !important;
		font-size: 42px;
		transform:rotate(-5deg) !important;
		-ms-transform:rotate(-5deg) !important; /* IE 9 */
		-webkit-transform:rotate(-5deg) !important; /* Safari and Chrome */
	}
	
	/* site description */
	#site-description {
		position: absolute;
		left: 0 !important;
		bottom: -10px;
		height: 0 !important;
		transform:rotate(-5deg) !important;
		-ms-transform:rotate(-5deg) !important; /* IE 9 */
		-webkit-transform:rotate(-5deg) !important; /* Safari and Chrome */
	}
		
	/* social widget */
	.social-widget {
		position: static;
		float: none;
		padding: 0;
	}
	
	/* header button */
	.mobile-button {
		top: 0 !important;
		right: 0 !important;
		width: 32px;
		height: 30px;
		margin-bottom: 3px;
		margin-right: 3px;
		display: block;
		float: right;
		cursor: pointer;
	}
	.mobile-button:after {
		border: solid 1px #940f00;
		padding: 1px;
		padding:0 \0; /* IE8 fix */
		content: "";
		width: 100%;
		height: 100%;
		position: absolute;
		top: -1px;
		left: -1px;
		z-index: -1;
		
		/* background-color: #c3c3c3;
		background-color: transparent \0; /* IE8 fix */

		background-image: -moz-linear-gradient(top,  rgba(204,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
		background-image: -webkit-linear-gradient(top,  rgba(204,0,0,0.7) 0%,rgba(0,0,0,0.1) 100%);
		background-image: linear-gradient(to bottom,  rgba(204,0,0,0.7) 0%,rgba(0,0,0,0.1) 100%);
		
		box-shadow: inset 0 0 1px rgba(204,0,0,.4), inset 0 1px rgba(204,0,0,.5), 0 1px 2px rgba(0,0,0,.2);
		border-bottom-right-radius: 5px;
		border-bottom-left-radius: 5px;
	}

	/************************************************************************************
	MAIN NAV
	*************************************************************************************/
	#main-nav-wrap {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: auto !important;
		padding: 0 0 0 0 !important;
	}
	
	/* main nav */
	#main-nav {
		clear: both;
		position: absolute !important;
		display: block;
		top: 0;
		left: -4px !important;
		right: 0;
		bottom: 0;
		padding: 20px 0 20px 0 !important;
		margin: 0 !important;
		background-color: #131211 !important;
		/*background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTAwMHB4IiBoZWlnaHQ9IjMwMHB4IiB2aWV3Qm94PSIwIDAgMTAwMCAzMDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMDAgMzAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIGZpbGw9IiMxMzEyMTEiIHBvaW50cz0iMTAwMCwwIDEwMDAsMzAwIDAsMzAwIDAsODcgIi8+DQo8L3N2Zz4NCg==) !important;
		background position: top center;
		background-repeat: no-repeat !important; */
		display: none; /* visibility will be toggled with jquery */
		text-align: center !important;
		box-shadow: 0 10px 20px #000 !important;
		border-radius: 0 !important;
	}
	#main-nav:after {
	}
	#main-nav:hover li ul li {
		display: block;
	}
	#main-nav li {
		clear: both;
		float: none;
		margin-top: 0;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		padding: 0 !important;
		width: auto !important;
		background-color: #131211;
		border-top: solid 1px rgba(191,178,170,.1) !important;
		border-right: 0 !important;
		text-shadow: none !important;
	}
	#main-nav li:first-child {
		border: none !important;
	}
	#main-nav > span.close {
		display: inline !important;
		position: absolute;
		top: .5em;
		left: 1em;
		padding: 2px 6px 2px 7px;
		text-align: center;
		border: solid 1px;
		border-radius: 20px 20px 20px 20px;
		cursor: pointer;
		z-index: 999;
	}
	#main-nav > span.close:hover {
		color: #bfb2aa;
	}
	#main-nav li:hover {
		background-image: none !important;
	}
	#main-nav a, 
	#main-nav ul a {
		background: none !important;
		padding: 1em 2em !important;
		font-size: 1.5em !important;
		color: #bfb2aa !important;
		text-shadow: none !important;
		box-shadow: none !important;
		text-align: left;
	}
	#main-nav a:after, 
	#main-nav ul a:after {
		position: absolute;
		right: .5em;
		font-size: .75em;
		content: ">";
	}
	#main-nav a:hover, 
	#main-nav ul a:hover {
		background: #222 !important;
		color: #fff !important;
	}
	
	/* dropdown */
	#main-nav ul {
		position: static;
		display: block !important;
		
		width: 100% !important;
		
		margin: 0;
		padding: 0;
		background: none;
		border-radius: 0;
		box-shadow: none;
	}
	
	#main-nav ul.sub-menu li {
		display: block !important;
		float: none !important;
		width: auto !important;
		padding: 0 !important;
		font-size: .85em;
		border: none !important;
		text-align: left;
	}
	#main-nav ul:last-child {
		padding-bottom: 1em !important;
	}
	
	#main-nav ul.sub-menu a:after {
		content: none;
	}
	
	#main-nav ul.sub-menu li a {
		display: block !important;
		width: auto;
		padding: .25em 1em .25em 3em !important;
	}
	
	#main-nav ul.sub-menu li a.current-menu-item {
		display: block !important;
	}
	
	#menu-icon {
		position: fixed;
		right: 10px !important;
		background: url(images/menu-icon.png) no-repeat center center;		
	}
	
	/************************************************************************************
	SEARCH FORM
	*************************************************************************************/
	#searchform-wrap {
		top: 105px;
		left: 0;
		right: 0 !important;
		margin: 0 !important;
		
		/* clear rotation */
		transform: rotate(0deg) !important;
		-ms-transform: rotate(0deg) !important;
		-webkit-transform: rotate(0deg) !important;
	}
	#search-icon {
		position: fixed;
		top: -105px !important;
		right: 48px !important;
		background: url(images/search-icon.png) no-repeat center center;
		background-color:#c3c3c3 \9 !important; /* IE fix */
	}
	
	#header #searchform {
		position: relative;
		clear: both;
		width: auto;
		height: auto !important;
		xdisplay: inline;
		overflow: hidden;
		background-color: #131211;
		padding: 1em 1em 1em 1em !important;
		display: none; /* visibility will be toggled with jquery */
		border-radius: 0;
		box-shadow: 0 10px 20px #000 !important;
		text-align: center !important;
	}
	#header #searchform #s {
		display: block;
		position: relative;
		width: 85% !important;
		background-image: none;
		padding-left: 28px !important;
	}
	
	#header #searchform #s[placeholder="Search"]:focus {
		width: 85% !important;
	}
	
	#header #searchform #s:focus {
		width: 85% !important;
	}
	
	/* search option */
	#headerwrap #searchform .search-option {
		position: static;
		display: block;
		clear: both;
		margin: 0;
		padding: 5px 0 0;
		float: right;
		background: none !important;
		border: none !important;
	}
	
	/************************************************************************************
	BLOG GRID
	*************************************************************************************/
	ul#blog-grid li {
		width: 100% !important;
		float: none !important;
	}
	ul#blog-grid li.sticky {
		height: 150px !important;
	}
	ul#blog-grid li img {
		min-width: 100% !important;
		max-width: none !important;
		max-height: 100%;
	}

	/************************************************************************************
	LAYOUTS
	*************************************************************************************/
	/* post */
	.post {
		width: auto !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		float: none !important;
	}
	
	/* post title */
	.post-title {
		margin: 0 0 2px !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
	*************************************************************************************/
	#footerwrap {
		position: absolute;
		padding-top: 100px !important;
		bottom: -20px;
	}
	#footer-logo {
		position: static;
	}
	#footer-nav {
		-moz-column-count: 2; /* Firefox */
		-webkit-column-count: 2; /* Safari and Chrome */
		column-count: 2;
	}
	.footer-nav {
		padding: 0;
	}
	
	.footer-text {
		left: 20px !important;
		bottom: -40px !important;
	}

	/************************************************************************************
	SHOP
	*************************************************************************************/
	/* reset product container width */
	ul.products .product {
		width: 45% !important;
		margin-left: 2%;
		margin-right: 2%;
	}

	/* product single wrapper */
	#product_single_wrapper .product-imagewrap {
		margin-right: 0;
	}
	
	/* product tabs */
	.woocommerce-tabs .tabs li a {
		font-size: .76em;
		padding: 6px;
	}
	.woocommerce-tabs .entry-content {
		font-size: .91em;
	}
	.woocommerce-tabs .entry-content h2 {
		margin: 5px 0 10px;
	}
	.woocommerce-tabs .entry-content .comment-text {
		overflow: hidden;
	}
	.woocommerce-tabs .entry-content .star-rating {
		float: none;
		margin: 0 0 5px 0;
	}
	
	/************************************************************************************
	MAIN PAGE
	*************************************************************************************/
	
	#blog .latest-news {
		padding: 220px 1em 0 1em !important;
		background-position: top center !important;
	}
		
}

@media screen and (min-width: 575px) {

	.custom-cat .summary {
		float: left;
		width: 55%;
	}
	.custom-cat h2 {
		width: 45%;
		float: left;
	}
	.custom-cat .price-buy-wrap {
		display: inline-block;
		float: right;
		margin: 1em;
	}
	.custom-cat .price-buy-wrap .price {
		text-align: center;
		margin-bottom: 1em;
	}
	
	/* ensure #nav and #searchform is visible on desktop version */
	#main-nav,
	#headerwrap #searchform {
		display: block !important;
	}
}

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

	/* clear floats on images */
	.wp-block-image .alignleft,
	.wp-block-image .alignright {
		display: block !important;
		float: none !important;
		clear: both !important;
	}
	.wp-block-image img {
		width: 100%;
	}
	.wp-block-image figcaption {
		display: block !important;
	}
}
