/************************************************************************************
MOBILE NAVIGATION
*************************************************************************************/
/* ensure menu is visible on desktop version */
body:not(.mobile_menu_active) #main-nav {
	display: block !important;
}
body:not(.mobile_menu_active) #menu-icon span {
	display: none;
}

/*
HEADER
================================================ */
.mobile_menu_active #header {
	height: auto;
	padding: 2em 0 1em;
}

/* site logo */
.mobile_menu_active #site-logo {
	margin-bottom: 1em;
	padding: 0;
}
.mobile_menu_active #site-logo a:after {
	top: 1em;
}
/* header widget */
.mobile_menu_active .header-widget {
	position: static;
	float: none;
	text-align: left;
	clear: both;
	margin: 0;
}
.mobile_menu_active .header-widget .widget {
	margin: 0 0 10px;
}

/* menu icon */
.mobile_menu_active #menu-icon {
	position: absolute;
	display: block;
	top: 1.25em;
	right: 0;
	text-decoration: none;
	font-size: 1.5em;
}

/*
MENU PANEL
================================================ */
/* slide menu panel */
.mobile_menu_active #sidr {
	display: none;
}
.mobile_menu_active #sidr.uk-active {
	display: block;
}
.mobile_menu_active .uk-offcanvas {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	touch-action: none;
	background-color: rgba(0, 0, 0, 0.1);
}
.mobile_menu_active.uk-offcanvas-page {
	position: fixed;
	-webkit-transition: margin-left 0.3s ease-in-out;
	transition: margin-left 0.3s ease-in-out;
}
.mobile_menu_active .uk-offcanvas-bar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	z-index: 1001;
	width: 270px;
	max-width: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	-webkit-transition: -webkit-transform 0.3s ease-in-out;
	transition: transform 0.3s ease-in-out;
	-ms-scroll-chaining: none;
	background-color: #fff;
	color: #000;
	padding: 55px 20px 30px;
	border-left: 1px solid #000;
}
.mobile_menu_active .uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
}
.mobile_menu_active .uk-offcanvas-bar-flip {
	left: auto;
	right: 0;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
}

.mobile_menu_active #sidr a {
	color: #000;
	text-decoration: none;
}

/* slide menu close */
.mobile_menu_active #menu-icon-close {
	position: absolute;
	display: block;
	color: #7f7f7f;
	text-decoration: none;
	top: 10px;
	right: 20px;
	font-size: 1.25em;
}
.mobile_menu_active #menu-icon-close:after {
	content: "\e646";
	font-family: 'themify';
}
.mobile_menu_active #menu-icon-close:hover {
	color: #000;
}

/* main nav */
.mobile_menu_active #main-nav {
	position: static;
	padding: 0;
	margin: 15px 0;
	background: none;
	text-align: left;
	float: none;
	height: auto;
}
.mobile_menu_active #main-nav li {
	float: none;
	display: block;
	padding: 0;
}

/* sub level */
.mobile_menu_active #main-nav ul {
	position: static;
	display: block;
	margin: 0;
	border: none;
	padding: 0 0 0 1em;
	background: none;
	visibility: visible;
	text-align: left;
}
.mobile_menu_active #main-nav ul li {
	border: none;
}

/* menu link */
.mobile_menu_active #main-nav a, 
.mobile_menu_active #main-nav ul a {
	width: auto;
	display: block;
	border: none;
	padding: .6em 0;
	margin: 0;
	color: #000;
	font-size: 1.09em;
	line-height: 1.5em;
	background: none;
	text-decoration: none;
	border-bottom: 1px solid #000;
}

/* sub level menu link */
.mobile_menu_active #main-nav ul a {
	font-size: .95em;
}

/* menu hover */
.mobile_menu_active #main-nav a:hover,
.mobile_menu_active #main-nav ul a:hover {
	color: #000;
}

/* sub-menu icon */
.mobile_menu_active #main-nav .menu-item-has-children > a:after,
.mobile_menu_active #main-nav ul .menu-item-has-children > a:after {
	display: none;
}

/* current link */
.mobile_menu_active #main-nav .current_page_item > a, 
.mobile_menu_active #main-nav .current-menu-item > a {
	color: #000;
}
.mobile_menu_active #main-nav ul:before {
	display: none;
}

/* 
SEARCH FORM
================================================ */
.mobile_menu_active #headerwrap #searchform {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	float: none;
	clear: both;
	margin: 0 0 1em;
	padding: 0;
	width: auto;
	border-color: #000 !important;
}
.mobile_menu_active #headerwrap #searchform #s  {
	background: transparent;
	width: 100%;
	float: none;
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}
.mobile_menu_active #headerwrap #searchform #s:focus,
.mobile_menu_active #headerwrap #searchform #s:hover,
.mobile_menu_active #headerwrap #searchform .icon-search:hover + #s {
	width: 100%;
	color: #000;
}
.mobile_menu_active #headerwrap #searchform .icon-search:before {
	padding: 0;
	right: 10px;
	top: .35em;
	position: absolute;
	color: #000;
}

/* 
SOCIAL LINKS
================================================ */
.mobile_menu_active .social-widget {
	margin: 0;
	position: static;
	float: none;
	text-align: left;
	padding-left: 20px;
}
.mobile_menu_active #header .social-widget .widget {
	margin: 0 0 1em;
}
.mobile_menu_active .social-widget .widgettitle {
	display: block;
	margin: 0 0 .4em;
}

/* fixed header on */
.mobile_menu_active #headerwrap.fixed-header #header {
	padding: .5em 0;
}	
.mobile_menu_active #headerwrap.fixed-header #header .social-widget {
	position: static;
}
.mobile_menu_active #headerwrap.fixed-header #main-nav {
	margin-left: 0;
	float: none;
}
.mobile_menu_active #headerwrap.fixed-header #site-logo {
	padding-top: 0;
}
.mobile_menu_active #headerwrap.fixed-header #menu-icon {
	top: .3em;
}
.mobile_menu_active #headerwrap.fixed-header #main-nav li {
	padding: 0;
}

@media screen and (max-width: 1340px) {
	
	body {
		font-size: 1.05em;
	}

	/* STRUCTURE */
	#pagewrap {
		max-width: 100%;
	}

	.pagewidth,
	.full_width .themify_builder_row .row_inner {
		max-width: 96%;
	}
	.full_width .themify_builder_row.fullwidth .row_inner {
		max-width: 100%;
	}
		
}

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

	/************************************************************************************
	BODY
	*************************************************************************************/
	body {
		font-size: 1.1em;
	}
	
	/************************************************************************************
	POST LAYOUTS
	*************************************************************************************/
	.loops-wrapper.grid4 .post {
		width: 48.4%; /* change grid4 to 2 columns */
	}
	.loops-wrapper.grid4 .post:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
	
	/************************************************************************************
	HEADER
	*************************************************************************************/
	.mobile_menu_active #site-logo {
		font-size: 1.6em;
	}

	/************************************************************************************
	POST LOOP
	*************************************************************************************/
	.content-center .author-meta-box, 
	.author-meta-box {
		margin: 0 0 1.8em;
	}
	.author-avatar img {
		max-width: 65px;
	}
	.post-author {
		top: 5px;
		left: 90px;
	}
	.author-avatar + .post-date {
		top: 35px;
		left: 90px;
	}

	/************************************************************************************
	CONTENT CENTER
	*************************************************************************************/	
	.content-center .author-avatar,
	.content-center .post-author,
	.content-center .post-date {
		display: block;
	}
	.content-center .post-author,
	.content-center .post-date {
		text-align: center;
		width: auto;
		margin: 1.5em 0;
	}
	.content-center #respond {
		width: auto;
	}
	
	.comment-title {
		font-size: 1.8em;
	}
	.widgettitle {
		font-size: 1.4em;
	}	
	
	/************************************************************************************
	CONTENT CENTER COMMENTS
	*************************************************************************************/	
	.content-center.author-avatar,
	.content-center .post-author,
	.content-center .post-date {
		display: block;
	}
	.content-center .post-author,
	.content-center .post-date {
		text-align: center;
		width: auto;
		margin: .6em 0;
	}
	.content-center .commentlist .comment-author {
		margin-bottom: 1em;
	}
	.content-center .commentlist .avatar,
	.content-center .commentlist cite,
	.content-center .commentlist .comment-time {
		display: block;
		margin: auto;
	}
	.content-center .commentlist .comment-time {
		text-align: center;
		font-size: .95em;
	}	
	.content-center .commentlist .comment-time strong {
		display: inline;
		font-size: 1em;
	}	
	.content-center .commentlist cite {
		text-align: center;
	}
	.content-center .commentlist cite {
		margin: 1.5em auto;
	}
	.content-center .commentlist img + cite {
		margin-top: 2.5em;
		width: 100%;
	}
	.content-center .commentlist img + cite {
		left: 0;
		text-align: center;
		margin-left: auto;
		top: -5em;
		transform: none;
		-webkit-transform: none;
	}
	.content-center .commentlist .comment-time {
		position: static;
		margin-top: 2em;
	}
	.content-center .commentlist .avatar {
		margin-top: 3em;
	}
	.content-center #respond {
		width: auto;
	}
	.commentlist .comment-time {
		width: auto;
	}

	/* masonry */
	.gallery-wrapper.masonry .item .gallery-item-wrapper .gallery-caption {
		display: none;
	}

	/* post filter */
	.post-filter {
		font-size: .65em;
	}
}

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

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	.pagewidth,
	.full_width .themify_builder_row .row_inner {
		max-width: 90%;
	}
	#content {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
	}
	
	/* sidebar */
	#sidebar {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
	}

}

@media screen and (max-width: 680px) {
	
	/************************************************************************************
	HEADING
	*************************************************************************************/
	h1 {
		font-size: 3em;
	}
	h2 {
		font-size: 2.4em;
	}
	h3 {
		font-size: 1.4em;
	}
	
	/* page title */
	.page-title {
		font-size: 3em;
	}
	
	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2, .col2-1,
	.col4-3,
	.col3-1,
	.col3-2	 {
		margin-left: 0;
		width: 100%;
		max-width: 100%;
	}

	/************************************************************************************
	HEADER
	*************************************************************************************/
	.mobile_menu_active #site-logo {
		margin-bottom: .5em;
	}
	
	/* prevent logo img extend the fixed header on mobile */
	.has-fixed-header #headerwrap #site-logo img {
		width: auto;
		max-height: 40px;
	}
	
	/************************************************************************************
	POST LAYOUTS
	*************************************************************************************/
	/* all post */
	.shortcode.loops-wrapper.list-post .post,
	.shortcode.loops-wrapper.grid4 .post,
	.shortcode.loops-wrapper.grid3 .post,
	.shortcode.loops-wrapper.grid2 .post,
	.shortcode.grid2-thumb .post,
	.shortcode.list-thumb-image .post,
	.shortcode.list-large-image .post,
	.loops-wrapper.list-post .post,
	.loops-wrapper.grid4 .post,
	.loops-wrapper.grid3 .post,
	.loops-wrapper.grid2 .post,
	.loops-wrapper.grid2-thumb .post,
	.loops-wrapper.list-thumb-image .post,
	.loops-wrapper.list-large-image .post {
		width: 100%;
		margin-left: 0;
		float: none;
	}
	.loops-wrapper.grid4 .entry-content,
	.loops-wrapper.grid3 .entry-content,
	.loops-wrapper.grid1 .entry-content {
		font-size: 100%;
		font-style: italic;
		line-height: inherit;
	}
	.loops-wrapper.grid4 .post-meta,
	.loops-wrapper.grid3 .post-meta,
	.loops-wrapper.grid2 .post-meta,	
	.loops-wrapper.grid2-thumb .post-meta {
		font-size: .8em;
	}
	.loops-wrapper.grid4 .author-meta-box,
	.loops-wrapper.grid3 .author-meta-box,
	.loops-wrapper.grid2 .author-meta-box,	
	.loops-wrapper.grid2-thumb .author-meta-box {
		font-size: 1em;
	}
	.loops-wrapper.grid4 .author-avatar img,
	.loops-wrapper.grid3 .author-avatar img,
	.loops-wrapper.grid2 .author-avatar img {
		width: 50px;
	}

	/* all post title */
	.post-title,
	.loops-wrapper.list-post .post-title,
	.loops-wrapper.grid4 .post-title,
	.loops-wrapper.grid3 .post-title,
	.loops-wrapper.grid2 .post-title,
	.loops-wrapper.grid2-thumb .post-title,
	.loops-wrapper.list-thumb-image .post-title,
	.loops-wrapper.list-large-image .post-title,
	.loops-wrapper.slider .post-title,
	.portfolio-post .post-title {
		font-size: 2.7em;
	}

	/* all post image */
	.loops-wrapper.list-post .post-image,
	.loops-wrapper.grid4 .post-image,
	.loops-wrapper.grid3 .post-image,
	.loops-wrapper.grid2 .post-image,
	.loops-wrapper.list-large-image .post-image {
		float: none;
		position: static;
		width: auto;
		margin: 0 0 1.4em;
		overflow: visible;
	}

	/* all post content */
	.loops-wrapper.grid2-thumb .post-content,
	.loops-wrapper.list-thumb-image .post-content {
		overflow: visible;
	}

	/* slider post */
	.loops-wrapper.slider .post-content {
		position: static;
		background-color: #000;
		padding-top: 10px;
		padding-bottom: 5px;
	}
	.loops-wrapper.slider .post-meta {
		position: static;
	}
	
	/* Single Team */
	.single-team .post-image {
		width: auto;
		float: none;
	}
	.single-team .post-content,
	.single-team .progress-bar-wrap {
		width: auto;
		padding-left: 0;
		float: none;
	}

	/************************************************************************************
	POST NAV
	*************************************************************************************/
	.post-nav .prev, 
	.post-nav .next {
		display: block;
		width: 100%;
		clear: both;
		margin-bottom: 10px;
		box-sizing: border-box;
	}
	
	/************************************************************************************
	COMMENTS
	*************************************************************************************/
	.commentlist li li {
		padding: .5em 0 0 .5em;
	}
	.commentlist li li:before {
		display: none;
	}

	.commentlist {
		padding-left: 0;
	}
	.commentlist .commententry {
		clear: left;
	}
	.comment-title, 
	.comment-reply-title {
		font-size: 1.6em;
	}
	.commentlist .avatar {
		width: 65px;
		height: auto;
		margin: 0 1em 1em 0;
	}
	#commentform textarea {
		width: 100%;
	}
	
	/* turn masonry gallery to 2 columns */
	.gallery-wrapper .item {
		width: 50% !important; 
	}	

	/************************************************************************************
	GALLERY
	*************************************************************************************/
	#body .gallery-columns-5 .item {
		width: 50%;
	}
	
	/************************************************************************************
	WOOCOMMERCE
	*************************************************************************************/
	.woocommerce table.cart,
	.woocommerce-page table.cart {
		font-size: .8em;
	}
	.woocommerce table.cart .porduct-price,
	.woocommerce-page table.cart .product-price {
		display: none;
	}
	.woocommerce .col2-set .col-1,
	.woocommerce .col2-set .col-2,
	.woocommerce-page .col2-set .col-1,
	.woocommerce-page .col2-set .col-2 {
		float:none;
		width:100%
	}
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width:48%;
		float:left;
		clear:both;
		margin:0 0 2.992em
	}
	.woocommerce ul.products li.product:nth-child(2n),
	.woocommerce-page ul.products li.product:nth-child(2n) {
		float:right;
		clear:none!important
	}
	.woocommerce #content div.product div.images,
	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary,
	.woocommerce-page #content div.product div.images,
	.woocommerce-page #content div.product div.summary,
	.woocommerce-page div.product div.images,
	.woocommerce-page div.product div.summary {
		float:none;
		width:100%
	}
	
	/* cart */
	.woocommerce #content table.cart .product-thumbnail,
	.woocommerce table.cart .product-thumbnail,
	.woocommerce-page #content table.cart .product-thumbnail,
	.woocommerce-page table.cart .product-thumbnail {
		display:none
	}
	.woocommerce #content table.cart td.actions,
	.woocommerce table.cart td.actions,
	.woocommerce-page #content table.cart td.actions,
	.woocommerce-page table.cart td.actions {
		text-align:left
	}
	.woocommerce #content .quantity .minus,
	.woocommerce .quantity .minus,
	.woocommerce-page #content .quantity .minus,
	.woocommerce-page .quantity .minus,
	.woocommerce #content .quantity .plus,
	.woocommerce .quantity .plus,
	.woocommerce-page #content .quantity .plus,
	.woocommerce-page .quantity .plus {
		float: none;
		margin-top: .5em;
		margin-left: .5em;
	}
	.woocommerce #content .quantity input.qty,
	.woocommerce .quantity input.qty,
	.woocommerce-page #content .quantity input.qty,
	.woocommerce-page .quantity input.qty {
		float: none;
	}
	.woocommerce #content table.cart td.actions .coupon,
	.woocommerce table.cart td.actions .coupon,
	.woocommerce-page #content table.cart td.actions .coupon,
	.woocommerce-page table.cart td.actions .coupon {
		float:none;
		padding-bottom:.5em
	}
	.woocommerce #content table.cart td.actions .coupon:after,
	.woocommerce #content table.cart td.actions .coupon:before,
	.woocommerce table.cart td.actions .coupon:after,
	.woocommerce table.cart td.actions .coupon:before,
	.woocommerce-page #content table.cart td.actions .coupon:after,
	.woocommerce-page #content table.cart td.actions .coupon:before,
	.woocommerce-page table.cart td.actions .coupon:after,
	.woocommerce-page table.cart td.actions .coupon:before {
		content:" ";
		display:table
	}
	.woocommerce #content table.cart td.actions .coupon:after,
	.woocommerce table.cart td.actions .coupon:after,
	.woocommerce-page #content table.cart td.actions .coupon:after,
	.woocommerce-page table.cart td.actions .coupon:after {
		clear:both
	}
	.woocommerce .cart-collaterals .cart_totals,
	.woocommerce .cart-collaterals .cross-sells,
	.woocommerce .cart-collaterals .shipping_calculator,
	.woocommerce-page .cart-collaterals .cart_totals,
	.woocommerce-page .cart-collaterals .cross-sells,
	.woocommerce-page .cart-collaterals .shipping_calculator {
		width:100%;
		float:none;
		text-align:left
	}	
	
}
/* --- injected clearfix (WaybackScraper) --- */
.clearfix::after{content:"";display:table;clear:both}
.clearfix{display:block}
