/* Media Queries */
@media screen and (max-width: 1180px) {
	.boxed .flex-direction-nav li .flex-next, .boxed .nivo-nextNav { right: 20px !important; }
	.boxed .flex-direction-nav li .flex-prev, .boxed .nivo-prevNav { left: 20px !important; }
}
@media screen and (max-width: 1080px) {
	.wide .flex-direction-nav li .flex-next, .wide .nivo-nextNav { right: 20px !important; }
	.wide .flex-direction-nav li .flex-prev, .wide .nivo-prevNav { left: 20px !important; }
	.boxed #page, .boxed #feature {
		margin-left: 20px; margin-right: 20px;
	}
	.boxed #feature.full-width {
		margin-top: -20px;
		margin-left: 0; margin-right: 0;
	}
	.boxed #branding, .boxed #feature, .boxed #main {
		margin-bottom: 20px;
	}
	.wide #page {
		margin-left: 0; margin-right: 0;
	}
	#main {
		padding: 20px 0;
	}
	.hentry, .singular .hentry .hentry, .line.singular .hentry .hentry,
	.no-results {
		margin: 0 0 30px;
		padding: 0 0 35px;
	}
	.content-block, .content-block.full-width {
		margin-top: 20px; margin-bottom: 20px;
	}
	.content-block .content-block-inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	.stitched.space {
		padding-top: 60px;
	}
}
@media screen and (max-width: 1020px) {
	.boxed .inner {
		margin: 0 20px;
	}
	#branding .inner {
		max-width: 980px;
	}
	.navbar-fixed-top .container {
		margin: 0 30px;
	}
	.boxed #feature .inner {
		margin: 0;
	}
	.wide #page, .wide #branding, .wide #colophon, .wide #main {
		-webkit-border-radius: 0 !important;
		-moz-border-radius: 0 !important;
		border-radius: 0 !important;
	}
	.commentlist li.comment .comment-content {
		margin: 20px 0 0;
	}
	.shadow-top, .shadow-bottom {
		margin: 0 -20px;
	}
}
@media screen and (max-width: 980px) {
	.wide .inner {
		margin: 0 20px;
	}
	.wide #feature.full-width .inner {
		margin-left: 0;
		margin-right: 0;
	}
	#feature .button.large {
		font-size: 13px;
	}
}
@media screen and (max-width: 768px) {
	.right-sidebar #primary, .right-sidebar #content {
		margin-right: 0;
		float: none;
	}
	.left-sidebar #primary, .left-sidebar #content {
		margin-left: 0;
		float: none;
	}
	.right-sidebar #secondary, .left-sidebar #secondary {
		float: none;
		clear: both;
		width: auto;
	}
	#secondary {
		margin: 20px -20px 0;
		background: url('images/stitched.png') repeat-x 0 0;
	}
	.line #secondary {
		background: url('images/content-shadow-bottom.png') no-repeat 50% 0;
	}
	#secondary .secondary-inner {
		padding: 20px 20px 0 20px !important;
		background: none !important;
	}
	#secondary.shadow .secondary-bottom {
		display: none !important;
	}
	#feature .btn {
		font-size: 10px;
	}
	#to-top {
		display: none !important;
	}
	.flexslider .sidebar-content {
		padding: 15px 20px 20px;
	}
}
@media screen and (min-width: 641px) {
	.responsive-menu {
		display: none !important;
	}
}
@media screen and (max-width: 640px) {
	body, input, button, select, textarea {
		font-size: 14px;
	}
	#branding {
		min-height: 62px;
	}
	#branding hgroup {
		margin-top: -3px;
	}
	#access {
		margin-top: 12px;
	}
	#main {
		padding: 15px 0;
	}
	.boxed #page {
		margin: 10px 10px 0 10px;
	}
	.boxed #feature {
		margin: 0 10px 10px;
	}
	.boxed #feature.full-width {
		margin-top: -10px;
	}
	.hentry, .singular .hentry .hentry,
	.no-results {
		margin: 0 0 25px;
		padding: 0 0 30px;
	}
	.entry-content {
		padding: 10px 0;
	}
	.entry-image {
		margin: 10px 0;
	}
	.boxed #branding, .boxed #main,
	.boxed.wide #branding, .boxed.wide #main {
		margin-bottom: 10px;
	}
	#breadcrumbs {
		margin: -5px 0 5px;
	}
	#sub-footer {
		padding: 15px 0 10px;
	}
	#access .menu-main-container {
		display: none;
	}
	#branding #searchform {
		margin-top: 2px;
		margin-left: 10px;
	}
	#access .responsive-menu-switcher {
		display: block;
	}
	.navbar-fixed-top .container {
		margin: 0 30px;
	}
	.content-block {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.content-block .content-block-inner {
		padding: 10px;
	}
	.stitched.space {
		padding-top: 40px;
	}
	/* Feature */
	#feature {
		font-size: 12px; line-height: 16px;
	}
	#feature #revolution-slider .btn {
		padding: 3px 6px;
	}
	#feature .sidebar-content {
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#supplementary > div,
	.one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth, .three-fifth, .four-fifth, .one-sixth, .five-sixth {
		float: none;
		width: auto !important;
		margin: 0 0 20px;
	}
	#supplementary .widget-area {
		padding-bottom: 5px; margin-bottom: 15px;
		background: url('images/stitched.png') repeat-x left bottom;
		background-size: 156px 6px;
	}
	.line #supplementary .widget-area {
		background: url('images/line.png') repeat-x left bottom;
		background-size: 1px 5px;
	}
	#supplementary .widget-area:after {
		display: none;
	}
	#supplementary > .widget-area.latest,
	.line #supplementary .widget-area.latest {
		background: none;
		padding-bottom: 0; margin-bottom: 0;
	}
	#colophon .widget {
		margin: 0 0 10px;
	}
	.space {
		padding-top: 10px;
	}
	.flex-control-nav {
		bottom: 10px;
	}
	.flexslider .panel-sidebar .slideimage {
		-webkit-border-radius: 4px 4px 0 0;
		-moz-border-radius: 4px 4px 0 0;
		border-radius: 4px 4px 0 0;
	}
	.flexslider .sidebar-content {
		position: static;
		width: auto; top: auto; left: auto; right: auto; bottom: auto;
		overflow: visible;
		-webkit-border-radius: 0 0 4px 4px;
		-moz-border-radius: 0 0 4px 4px;
		border-radius: 0 0 4px 4px;
		background: #d2a591 url('images/feature-panel-bg.png') repeat-x !important;
		color: #3e3330 !important;
		text-shadow: 0 1px 0 #fff !important;
	}
	.flexslider .caption {
		position: static;
		width: auto; left: auto; top: auto; right: auto;
		-webkit-border-radius: 0 0 4px 4px;
		-moz-border-radius: 0 0 4px 4px;
		border-radius: 0 0 4px 4px;
		background: #d2a591 url('images/feature-panel-bg.png') repeat-x !important;
	}
	.flexslider .caption h3 {
		font-size: 16px !important;
		color: #3e3330 !important;
		text-shadow: 0 1px 0 #fff !important;		
	}
	/* Portfolio */
	section.portfolio li,
	.blog-columns article {
		width: 100% !important;
		max-width: none !important;
		margin-bottom: 20px !important;
	}
	section.portfolio .image img {
		display: inline-block !important;
		width: auto;
		vertical-align: top;
	}
	.portfolio.one-column .image,
	.portfolio.one-column .details {
		float: none !important;
		width: auto !important;
	}
	.portfolio.one-column .details {
		padding-left: 0 !important;
		padding-top: 10px !important;
	}
	#copyright,
	#footer-right,
	#footer-menu {
		text-align: center;
		float: none;
	}
	#footer-right {
		margin-top: 5px;
	}
}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
	#branding {
		background-image: url('images/menu-bg@2.png');
	}
	#branding #s-outer, #branding #s, .js #branding #s:focus, .js #branding #s.focus {
		background-image: url('images/header-search-sprite@2.png');
	}
	#breadcrumbs .separator {
		background-image: url('images/breadcrumbs-arrow@2.png');
	}
	.flex-direction-nav li .flex-next, .flex-direction-nav li .flex-prev, .flex-control-paging li a,
	.nivo-prevNav, .nivo-nextNav, .nivo-controlNav a {
		background-image: url('images/sliders-sprite@2.png');
	}
	#content .flex-direction-nav li .flex-next, #content .flex-direction-nav li .flex-prev,
	#content .nivo-prevNav, #content .nivo-nextNav {
		background-image: url('images/sliders-sprite-overlay@2.png');
	}
	.entry-meta .tag-links a, .tagcloud a,
	.entry-meta .tag-links a:before, .entry-meta .tag-links a:after, .tagcloud a:before, .tagcloud a:after {
		background-image: url('images/tags-bg@2.png');
	}
	.stitched, .page-header, .hentry, .singular .hentry .hentry, #comments, #sub-footer {
		background-image: url('images/stitched@2.png');
	}
	.commentlist .children li.comment, #supplementary > div:after, .left-sidebar #secondary.border .secondary-inner, .right-sidebar #secondary.border .secondary-inner, blockquote {
		background-image: url('images/stitched-vertical@2.png');
	}
	.line .page-header, .line .hentry, .line .singular .hentry .hentry, .line #comments, line #sub-footer {
		background-image: url('images/line@2.png');
	}
	.line .commentlist .children li.comment, .line #supplementary > div:after, .line .left-sidebar #secondary.border .secondary-inner, .line .right-sidebar #secondary.border .secondary-inner, .line blockquote {
		background-image: url('images/line-vertical@2.png');
	}
	.singular .hentry,
	.line.singular .hentry {
		background: none;
	}
	blockquote.quote {
		background-image: url('images/quote@2.png');
	}
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 640px),
only screen and (-moz-min-device-pixel-ratio: 1.5) and (max-width: 640px),
only screen and (-o-min-device-pixel-ratio: 3/2) and (max-width: 640px),
only screen and (min-device-pixel-ratio: 1.5) and (max-width: 640px) {
	#supplementary .widget-area {
		background-image: url('images/stitched@2.png');
	}
	.line #supplementary > div {
		background-image: url('images/line@2.png');
	}
}