/************************************************************************************
MOBILE NAVIGATION
*************************************************************************************/
/* change max-width to trigger mobile menu active class */

/* site logo */
.mobile_menu_active #site-logo {
	font-size: 30px;
	padding: 0;
}

/* site description */
.mobile_menu_active #site-description span {
	padding: 4px;
	min-height: 24px;
}
.mobile_menu_active #site-description span:after {
	border-width: 12px;
}

/* menu icon */
.mobile_menu_active #menu-icon,
.mobile_menu_active .fixed-header #menu-icon {
	top: 30px;
}

/* 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 PANEL
================================================ */	
body.mobile-menu-visible.mobile_menu_active {
	position: relative;
	overflow-y: hidden;
}
.mobile_menu_active #main-nav .sub-arrow {
	display: none !important;
}

/*
HORIZONTAL MENU LAYOUT
================================================ */	
/* menu icon */
.mobile_menu_active.horizontal-menu #menu-icon {
	position: absolute;
	display: block;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
}
.mobile_menu_active.horizontal-menu.mobile-menu-visible #menu-icon {
	display: none;
}

/* slide menu close */
.mobile_menu_active.horizontal-menu #menu-icon-close {
	position: absolute;
	display: block;
	color: inherit;
	text-decoration: none;
	top: 10px;
	right: 20px;
	font-size: 50px;
	font-family: serif;
}
.mobile_menu_active.horizontal-menu #menu-icon-close:after {
	content: "\00d7";
}
.mobile_menu_active.horizontal-menu #menu-icon-close:hover {
	color: #fff;
}

/* Mobile Menu Styles */
.mobile_menu_active.horizontal-menu .sidemenu {
	transition: all .2s ease-in-out;
	height: 100%;
	width: 300px;
	padding: 50px 25px 20px;
	background: linear-gradient(115deg,  rgba(26, 187, 197, 1) 0%, rgba(26, 187, 197, 1) 41%, rgba(45, 188, 129, 1) 56%, rgba(45, 188, 129, 1) 100%);
	display: block;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	position: fixed;
	top: 0;
	left: auto;
	z-index: 11111;
	box-sizing: border-box;
}
.mobile_menu_active.horizontal-menu #mobile-menu {
	right: -300px;
}
.mobile_menu_active.horizontal-menu #mobile-menu.sidemenu-on {
	right: 0;
}
.mobile_menu_active.horizontal-menu.sidemenu-active {
	position: relative;
}
.mobile_menu_active.horizontal-menu.sidemenu-active,
.mobile_menu_active.horizontal-menu.sidemenu-active #headerwrap {
	left: 0;
	transition: left .2s ease-in-out;
}
.mobile_menu_active.horizontal-menu.sidemenu-right,
.mobile_menu_active.horizontal-menu.sidemenu-right #headerwrap {
	left: -300px;
}
.mobile_menu_active.horizontal-menu.sidemenu-left,
.mobile_menu_active.horizontal-menu.sidemenu-left #headerwrap {
	left: 300px;
}

/* main nav */
.mobile_menu_active.horizontal-menu #main-nav {
	padding: 0;
	margin: 15px 0;
	float: none;
	clear: both;
	max-width: inherit;
}
.mobile_menu_active.horizontal-menu #main-nav li {
	float: none;
	display: block;
	clear: both;
}

/* sub level */
.mobile_menu_active.horizontal-menu #main-nav ul {
	border: none;
	background: none;
	clear: both;
	color: inherit;
	display: none;
	display: block;
	margin: 0;
	position: static;
	padding: 0 0 0 1em;
	visibility: visible;
	opacity: 1;
	text-align: left;
}
.mobile_menu_active.horizontal-menu #headerwrap #main-nav .has-mega-column > .sub-menu > li > ul.sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > div.sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > ul.sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > ul.sub-menu > li > .sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav .has-mega-column > .children > li > .children,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > .children,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > .children > li > .children {
	height: 100%;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.5s ease-in-out;
}
.mobile_menu_active.horizontal-menu #headerwrap #main-nav .has-mega-column > .sub-menu > li > .toggle-on + ul.sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > .toggle-on + div.sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > .toggle-on + ul.sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > ul.sub-menu > li > .toggle-on + .sub-menu,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav .has-mega-column > .children > li > .toggle-on + .children,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li > .toggle-on + .children,
.mobile_menu_active.horizontal-menu #headerwrap #main-nav > li >.toggle-on + .children > li > .toggle-on + .children {
	max-height: 1000px;
	min-height: initial;
}
.mobile_menu_active.horizontal-menu #main-nav ul:before {
	display: none;
}

/* menu link */
.mobile_menu_active.horizontal-menu #main-nav a, 
.mobile_menu_active.horizontal-menu #main-nav ul a {
	border: none;
	border-bottom: solid 1px rgba(255,255,255,.3);
	color: #fff;
	display: block;
	font-size: 100%;
	padding: .6em 0;
	margin: 0;
	width: auto;
}

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

/* sub-menu icon */
.mobile_menu_active.horizontal-menu #main-nav .page_item_has_children > a:after,
.mobile_menu_active.horizontal-menu #main-nav ul .page_item_has_children > a:after,
.mobile_menu_active.horizontal-menu #main-nav .menu-item-has-children > a:after,
.mobile_menu_active.horizontal-menu #main-nav ul .menu-item-has-children > a:after {
	display: none;
}
.mobile_menu_active.horizontal-menu #main-nav .menu-item-has-children .child-arrow,
.mobile_menu_active.horizontal-menu #main-nav .page_item_has_children .child-arrow {
	display: block;
}
.mobile_menu_active.horizontal-menu #main-nav .menu-item-has-children .child-arrow:before,
.mobile_menu_active.horizontal-menu #main-nav .page_item_has_children .child-arrow:before {
	top: 10px;
}

/*
SEARCH FORM
================================================ */
.mobile_menu_active.horizontal-menu #headerwrap #searchform-wrap {
	position: relative;
	float: none;
	clear: both;
	margin: 1em 0;
	padding: 0;
	width: auto;
}
.mobile_menu_active.horizontal-menu #headerwrap #searchform {
	position: static;
}
.mobile_menu_active.horizontal-menu #headerwrap #searchform #s  {
	width: 100%;
	float: none;
	transition: none;
	border: 1px solid rgba(255,255,255,.8);
	background-color: #fff;
	color: #000;
}
.mobile_menu_active.horizontal-menu #headerwrap #searchform .icon-search:before {
	color: #000;
}
.mobile_menu_active.horizontal-menu #headerwrap #searchform #s:focus,
.mobile_menu_active.horizontal-menu #headerwrap #searchform #s:hover,
.mobile_menu_active.horizontal-menu #headerwrap #searchform .icon-search:hover + #s {
	width: 100%;
	border: 1px solid rgba(255,255,255,.8);
}

/* 
SOCIAL WIDGET
================================================ */
.mobile_menu_active.horizontal-menu #headerwrap .social-widget {
	position: static;
	float: none;
	text-align: left;
}
.mobile_menu_active.horizontal-menu #headerwrap .social-widget .widget {
	margin: 0;
}
.mobile_menu_active.horizontal-menu #headerwrap .social-widget .widgettitle {
	display: block;
	margin: 0 0 .4em;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
@media screen and (min-width: 1400px) {
	/* single post social share */
	body:not(.sidebar-left).single .social-share-wrap {
		width: 60px;
		float: left;
		position: absolute;
		left: -98px;
	}
	body:not(.sidebar-left).single .social-share .sharrre {
		display: block;
		float: none;
	}
	body:not(.sidebar-left).single .social-share .sharrre .share:before {
		border-bottom: none;
	}
	body:not(.sidebar-left).single .social-share .sharrre:last-child .share:before {
		border-bottom: 1px solid #ddd;
	}
	body:not(.sidebar-left).single .social-share-wrap.social-share-fixed {
		position: fixed;
		top: 0;
		left: 0;
	}
	/* sticky share */
	body:not(.sidebar-left).single .social-share-wrap.social-share-fixed {
		position: fixed;
		top: 62px;
	}
	body:not(.sidebar-left).single .social-share-wrap.social-share-absolute {
		position: absolute;
	}
}

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

	/************************************************************************************
	GENERAL
	*************************************************************************************/
	body {
		font-size: 1em;
	}
	/*Site Logo*/
	#headerwrap #site-logo a img{
		height: auto;
	}
	
	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	body #pagewrap {
		max-width: 100%;
	}
	.pagewidth,
	.full_width .module_row > .row_inner,
	.full_width .module-layout-part .module_row.fullwidth_row_container > .row_inner {
		max-width: 96%;
	}
	.full_width .module-layout-part .module_row.fullwidth > .row_inner,
	.full_width .module_row.fullwidth > .row_inner {
		max-width:100%;
	}

	/************************************************************************************
	SINGLE PORTFOLIO
	*************************************************************************************/
	.single-portfolio .project-meta {
		font-size: 0.8em;
	}
	.project-date, .project-client, .project-services, .project-view {
		margin-right: 1em;
		padding-top: 0.5em;
		padding-bottom: 0.5em;
	}

	/************************************************************************************
	FOOTER
	*************************************************************************************/
	.footer-widgets,
	.footer-text {
		margin: 0;
	}

}

@media screen and (max-width: 800px) {
	
	/************************************************************************************
	HEADER
	*************************************************************************************/
	/*
	HEADER LEFTPANE LAYOUT
	================================================ */
	.header-leftpane #headerwrap {
		left: -255px;
		padding-right: 45px;
	}
	.header-leftpane.full_width,
	.header-leftpane {
		margin-left: 45px;
		margin-right: auto;
	}
	.header-leftpane .logo-desc-wrap {
		left: 65px;
	}
	.header-leftpane .menu-icon-inner {
		width: 24px;
		height: 16px;
	}
	.header-leftpane #menu-icon {
		left: 10px;
	}
	.mobile-menu-visible.header-leftpane #menu-icon {
		left: 265px;
	}

	/*
	HEADER RIGHTPANE LAYOUT
	================================================ */
	.header-rightpane #headerwrap {
		right: -255px;
		padding-left: 45px;
	}
	.header-rightpane.full_width,
	.header-rightpane {
		margin-right: 45px;
		margin-left: auto;
	}
	.header-rightpane .logo-desc-wrap {
		right: -5px;
	}
	.header-rightpane .menu-icon-inner {
		width: 24px;
		height: 16px;
	}
	.header-rightpane #menu-icon {
		right: 10px;
	}
	.mobile-menu-visible.header-rightpane #menu-icon {
		right: 270px;
	}
	.mobile-menu-visible.header-rightpane .logo-desc-wrap {
		right: 250px;
	}
	
	/************************************************************************************
	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;
	}

	.admin-bar #headerwrap {
		top: 46px;
	}

}

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

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	.pagewidth,
	.full_width .module_row > .row_inner,
	.full_width .module-layout-part .module_row.fullwidth_row_container > .row_inner {
		max-width: 90%;
	}
	#pagewrap #content {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
	}
	
	/* sidebar */
	#pagewrap #sidebar {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
		font-size: inherit;
		line-height: inherit;
	}
	
	/************************************************************************************
	WIDGET STYLES
	*************************************************************************************/
	/* feature posts widget */
	.widget .feature-posts-list .feature-posts-title {
		max-width: none;
	}
	
	/************************************************************************************
	 WOOCOMMERCE
	*************************************************************************************/
	.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 .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;
	}
	.woocommerce ul.products {
		width: auto;
	}
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width: 50%;
		margin: 0 0 2.992em;
		float: left;
		clear: both;
		box-sizing: border-box;
		padding: 0 4%;
	}
	.woocommerce ul.products li.product:nth-child(2n),
	.woocommerce-page ul.products li.product:nth-child(2n) {
		float: right;
		clear: none;
	}
	/* Fix Cart Responsive */
	.woocommerce table.shop_table {
		border-collapse: inherit;
	}
	.woocommerce .cart-collaterals .cart_totals tr td,
	.woocommerce-page .cart-collaterals .cart_totals tr th {
		width: auto !important;
	}

}

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

	/************************************************************************************
	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,
	.loops-wrapper.no-gutter.grid2 .post,
	.loops-wrapper.no-gutter.grid3 .post,
	.loops-wrapper.no-gutter.grid4 .post {
		width: 100%;
		margin-left: 0;
		float: none;
	}

	/* 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.zig-zag .post-title,
	.loops-wrapper.slider .post-title {
		font-size: 2.2em;
	}

	/* 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;
		width: auto;
	}

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

	/* post tag */
	.post-tag {
		font-size: .75em
	}

	/* post author */
	.post-author {
		font-size: 1em
	}

	/* 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;
	}
	
	/* list post & gird post */
	.post-date {
		width: 58px;
		height: 58px;
		font-size: 0.5em;
	}
	.has-post-thumbnail .post-date {
		position: static;
		margin-top: auto;
		margin-left: 15px;
	}
	.loops-wrapper.grid4 .has-post-thumbnail .post-date,
	.loops-wrapper.grid3 .has-post-thumbnail .post-date,
	.loops-wrapper.grid2 .has-post-thumbnail .post-date {
		padding-top: 7px;
		font-size: 0.5em;
		display: block;
		clear: both;
	}
	.loops-wrapper.grid4 .entry-content {
		font-size: inherit;
		line-height: inherit;
	}
	.loops-wrapper.list-post .post-comment a,
	.single-post .post-comment a {
		width: 45px;
		height: 45px;
		line-height: 45px;
		background-color: #fff;
	}
	.loops-wrapper.list-post .has-post-thumbnail .post-comment,
	.single-post .has-post-thumbnail .post-comment {
		position: absolute;
		bottom: 100%;
		right: 0;
	}
	.single-post .has-post-thumbnail .post-comment {
		margin-bottom: 1.5em;
	}
	
	/* zig zag */
	.loops-wrapper.zig-zag .post .post-image-wrap {
		margin-bottom: 1.8em;
	}
	.loops-wrapper.zig-zag .post:nth-child(odd) .post-image-wrap,
	.loops-wrapper.zig-zag .post:nth-child(odd) .post-content,
	.loops-wrapper.zig-zag .post:nth-child(even) .post-image-wrap,
	.loops-wrapper.zig-zag .post:nth-child(even) .post-content {
		width: auto;
		float: none;
		padding: initial;
		box-sizing: border-box;
	}
	.loops-wrapper.zig-zag .has-post-thumbnail.post:nth-of-type(even) .post-date {
		margin-right: 15px;
	}
	.loops-wrapper.zig-zag .has-post-thumbnail .post-meta {
		margin-top: -1.5em;
	}
	.loops-wrapper.zig-zag .post-comment a {
		width: 45px;
		height: 45px;
		line-height: 45px;
		background-color: #fff;
	}
	.loops-wrapper.zig-zag .has-post-thumbnail .post-comment {
		position: absolute;
		bottom: 100%;
		right: .3em;
	}
	.loops-wrapper.zig-zag .has-post-thumbnail.post:nth-of-type(even) .post-comment {
		left: 0;
		right: auto;
	}

	/************************************************************************************
	PORTFOLIO
	*************************************************************************************/
	.loops-wrapper.portfolio.grid4 .post,
	.loops-wrapper.portfolio.grid4 .post.size-large,
	.loops-wrapper.portfolio.grid5 .post.size-large,
	.loops-wrapper.portfolio.grid3 .post.size-large,	
	.loops-wrapper.portfolio.grid3 .post,
	.loops-wrapper.portfolio.grid5 .post {
		width: 100%;
		font-size: inherit;
	}
	.loops-wrapper.portfolio .post.size-large .entry-content,
	.loops-wrapper.portfolio .post.size-small .entry-content {
		font-size: inherit;
	}
	.single-portfolio .project-meta {
		position: relative;
		max-width: 50%;
	}
	.single-portfolio .project-meta:after {
		width: 155px;
	}
	.project-client,
	.project-services,
	.project-date,
	.project-view {
		display: block;
	}

	/* post filter */
	.portfolio-filter-wrap {
		height: 240px !important;
		font-size: .8em;
	}
	.post-filter-title {
		bottom: 10%;
	}	

	/************************************************************************************
	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 1em 1em 0;
	}
	.commentwrap .pagenav {
		font-size: 0.8em;
	}
	
	/************************************************************************************
	SOCIAL SHARE SHORTCODE
	*************************************************************************************/
	.social-share .sharrre {
		font-size: 1em;
	}
	.social-share .sharrre .share:before {
		width: 45px;
		height: 45px;
		line-height: 48px;
	}

}
@media screen and (max-width: 480px) {
	#respond #cancel-comment-reply-link {
		top: -12px;
		padding-left: 25px;
	}
	#respond #cancel-comment-reply-link:before,
	#respond #cancel-comment-reply-link:after {
		left: 0;
	}
}