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

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

body:not(.mobile_menu_active) .loops-wrapper.team.grid3 .post-title {
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	white-space: nowrap;
	color: #fff;
}

/*
HEADER
================================================ */
.mobile_menu_active #header {
	height: auto;
	padding: 10px 0 5px;
}

/* reset absolute elements to static */
.mobile_menu_active #site-logo {
	position: static;
	float: none;
	clear: both;
}

/* site logo */
.mobile_menu_active #site-logo {
	font-size: 30px;
	margin: 0 0 10px;
	padding: 0;
}
.mobile_menu_active.has-fixed-header #headerwrap #site-logo img {
	width: auto;
	max-height: 40px; /* prevent logo img extend the fixed header on mobile */
}

/* 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;
}
.mobile_menu_active #headerwrap.fixed-header .logo-wrap {
	margin-top: 5px;
}

/* menu icon */
.mobile_menu_active #menu-icon {
	position: absolute;
	display: block;
	top: 17px;
	right: 10px;
	text-decoration: none;
	color: #000;
}
.mobile_menu_active.transparent-header #menu-icon,
.mobile_menu_active.transparent-header #headerwrap.fixed-header #menu-icon {
	color: #fff;
}

/*
MENU PANEL
================================================ */
/* Mobile Menu Styles */
.mobile_menu_active .sidemenu {
	transition: all .2s ease-in-out;
	max-height: 100%;
	width: 300px;
	padding: 40px 25px 25px;
	background-color: #f7f7f7;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	display: block;
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 111;
	box-sizing: border-box;
}
.mobile_menu_active.admin-bar .sidemenu {
	top: 32px;
}
.mobile_menu_active #mobile-menu {
	right: -300px;
}
.mobile_menu_active #mobile-menu.sidemenu-on {
	right: 0;
}
.mobile_menu_active.sidemenu-active {
	position: relative;
}
.mobile_menu_active.sidemenu-active,
.mobile_menu_active.sidemenu-active #headerwrap {
	left: 0;
	transition: left .2s ease-in-out;
}
.mobile_menu_active.sidemenu-right,
.mobile_menu_active.sidemenu-right #headerwrap {
	left: -150px;
}
.mobile_menu_active.sidemenu-left,
.mobile_menu_active.sidemenu-left #headerwrap {
	left: 150px;
}

/* slide menu panel */
.mobile_menu_active.transparent-header #main-nav > li > a,
.mobile_menu_active.transparent-header #headerwrap.fixed-header a,
.mobile_menu_active #sidr a {
	color: #666;
	text-decoration: none;
}
.mobile_menu_active.transparent-header #headerwrap.fixed-header a:hover,
.mobile_menu_active #sidr a:hover {
	color: #000;
}

/* slide menu close */
.mobile_menu_active #menu-icon-close {
	position: absolute;
	display: block;
	color: #666;
	text-decoration: none;
	top: 10px;
	right: 20px;
	font-size: 24px;
}
.mobile_menu_active #menu-icon-close:after {
	content: "\e809"; /* fa-close */
	font-family: 'themify_theme_icon';
}
.mobile_menu_active #menu-icon-close:hover {
	color: #000;
}

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

/* 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;
}
.mobile_menu_active #main-nav ul:after,
.mobile_menu_active #main-nav ul:before {
	display: none;
}
.mobile_menu_active #main-nav > li.current_page_item > a:after {
	display: none;
}
.mobile_menu_active #main-nav ul ul {
	padding-left: 25px;
}
.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: #666;
	font-size: 100%;
	font-weight: normal;
	line-height: 1.5em;
	background: none;
	text-decoration: none;
	border-bottom: solid 1px #eee;
	text-align: left;
}
.mobile_menu_active #main-nav > li:last-child a {
	border: none;
}

/* sub level menu link */
.mobile_menu_active #main-nav ul a {
	font-weight: normal;
	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 > li.current_page_item > a:before {
	display: none;
}
.mobile_menu_active #main-nav .sub-arrow {
	display: none !important;
}

/* 
SEARCH FORM
================================================ */
.mobile_menu_active #headerwrap #searchform-wrap {
	position: static;
	width: auto;
	height: auto;
	float: none;
}
.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;
}
.mobile_menu_active #headerwrap #searchform #s {
	width: 100%;
	float: none;
	transition: none;
	background-color: #fff;
	border: solid 1px #666;
}
.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%;
	background-color: #fff;
	color: #000;
}
.mobile_menu_active #headerwrap #searchform .icon-search:before {
	padding: 0;
	right: 10px;
	top: 4px;
	color: #666 !important;
}

/* 
SOCIAL LINKS
================================================ */
.mobile_menu_active .social-widget {
	margin: 0 0 1em;
	position: static;
	float: none;
}
.mobile_menu_active .sidemenu-on .social-widget div.rss a,
.mobile_menu_active .sidemenu-on .social-widget a {
	color: #666;
}
.mobile_menu_active .sidemenu-on .social-widget div.rss a:hover,
.mobile_menu_active .sidemenu-on .social-widget a:hover {
	color: #000;
}
.mobile_menu_active .social-widget .widgettitle {
	display: block;
	margin: 0 0 .4em;
}

.mobile_menu_active #headerwrap {
	height: 60px;
}
.mobile_menu_active.has-fixed-header #pagewrap {
	padding-top: 60px;
}
.mobile_menu_active .logo-wrap {
	float: left;
	margin-top: 5px;
}
.mobile_menu_active div.logo-wrap:hover #site-description {
	top: 55px;
}

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

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

	.pagewidth,
	.full_width .themify_builder_row .row_inner,
	.full_width .module-layout-part .themify_builder_row.fullwidth_row_container .row_inner {
		max-width: 96%;
	}
	.full_width .module-layout-part .themify_builder_row.fullwidth .row_inner,
	.full_width .themify_builder_row.fullwidth .row_inner {
		max-width: 100%;
	}
	/* Site Logo */
	#headerwrap #site-logo a img{
		height: auto;
	}

	/************************************************************************************
	POST LAYOUTS
	*************************************************************************************/
	.loops-wrapper.team.grid3 .post-title {
		text-overflow: ellipsis;
		overflow: hidden;
		width: 100%;
		white-space: nowrap;
		color: #fff;
	}
	.sidebar-none.full_width .col-full .module-text .loops-wrapper.list-post.team .team-content-wrap h2 {
		text-overflow: ellipsis;
		overflow: hidden;
		width: 100%;
		white-space: nowrap;
	}

	.loops-wrapper.grid4.team .team-content-wrap .team-title-wrapper {
		top: 68%;
	}	
	.loops-wrapper.portfolio.grid4 .post .entry-content {
		display: none;
	}
	
}

@media screen and (max-width: 800px) {
	
	/************************************************************************************
	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;
	}
	#pagewrap {
		padding-top: 105px;
	}
	.loops-wrapper.grid2.team .team-content-wrap .team-title-wrapper {
		top: 74%;
	}
	.loops-wrapper.team.grid3 .team-content-wrap .team-title-wrapper {
		top: 60%;
	}
	.loops-wrapper.grid3.team .team-content-wrap:hover .team-title {
		margin-top: 5px;
	}

	.loops-wrapper.grid4.team .team-content-wrap .team-title-wrapper {
		top: 74%;
		padding: 4% 5%;
	}

	/* grid4 items when displaying 2 testimonial in one row */
	.loops-wrapper.testimonial.grid4 .post .post-image img {
		width: 72px;
		height: 72px;
	}
	/* grid4 items portfolio to display 2 items per row */
	.loops-wrapper.portfolio.grid4 .post {
		width: 48.4%;
	}
	.loops-wrapper.portfolio.grid4 .post .entry-content {
		display: block;
	}
	.loops-wrapper.portfolio.grid4 .post-title {
		font-size: 1.9em;
	}

	/************************************************************************************
	GRID
	*************************************************************************************/
	.footer-widgets .col4-1 {
		width: 48.4%;
	}
	.footer-widgets .col4-1:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
	
}

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

	.admin-bar .sidemenu,
	.admin-bar #headerwrap,
	.admin-bar #headerwrap.fixed-header {
		top: 46px;
	}
	body:not(.fixed-header) #headerwrap {
		top:0;
	}

}

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

	/************************************************************************************
	STRUCTURE
	*************************************************************************************/
	.pagewidth,
	.full_width .themify_builder_row .row_inner,
	.full_width .module-layout-part .themify_builder_row.fullwidth_row_container .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;
	}
	.loops-wrapper.grid3 .post-title {
		padding: 0;
		clear: left;
	}
	.loops-wrapper.team.grid2 .team-content-wrap .team-title-wrapper {
		top: 70%;
	}

	.loops-wrapper.team.grid3 .team-content-wrap .team-title-wrapper {
		top: 60%;
	}
	.loops-wrapper.team.grid3 .team-social {
		bottom: -10px;
	}
	.loops-wrapper.team.grid3 .team-social i {
		font-size: 1.401em;
		margin-right: 0.295em;
	}
	.loops-wrapper.grid4.team .team-content-wrap .team-title-wrapper {
		top: 73%;
	}
	.loops-wrapper.list-post.team .team-title-wrapper {
		top: 76%;
	}

	.loops-wrapper.portfolio.grid3 .post .entry-content {
		display: none;
	}

	/************************************************************************************
	GRID
	*************************************************************************************/
	.footer-widgets .col3-1 {
		margin-left: 0;
		width: 100%;
		max-width: 100%;
	}
	.woocommerce #content .quantity,
	.woocommerce .quantity,
	.woocommerce-page #content .quantity,
	.woocommerce-page .quantity {
		width: 100%;
	}
	.woocommerce #content table.cart td.actions .coupon .input-text,
	.woocommerce table.cart td.actions .coupon .input-text,
	.woocommerce-page #content table.cart td.actions .coupon .input-text,
	.woocommerce-page table.cart td.actions .coupon .input-text {
		width: 48%;
	}

}

@media screen and (max-width: 680px) {
	
	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2, .col2-1,
	.col4-3,
	.col3-1,
	.col3-2,
	.footer-widgets .col4-1,
	.footer-widgets .col3-1 {
		margin-left: 0;
		width: 100%;
		max-width: 100%;
	}

	/************************************************************************************
	HEADING
	*************************************************************************************/
	h1 {
		font-size: 2.6em;
	}
	h2 {
		font-size: 2em;
	}
	h3 {
		font-size: 1.5em;
	}

	/************************************************************************************
	HEADER
	*************************************************************************************/
	.has-fixed-header #pagewrap {
		padding-top: 60px;
	}

	/* #site-logo Start */
	.mobile_menu_active #site-logo {
		font-size: 25px;
	}
	/* #site-logo End */
	
	/* site description */
	.mobile_menu_active #site-description {
		display:none;
	}

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

	/* all 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 {
		font-size: 1.4em;
	}

	/* 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 1em;
		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;
	}
	
	.featured-area {
		height: 475px;
	}
	.loops-wrapper.grid2.team .post-title,
	.loops-wrapper.grid3.team .post-title,
	.loops-wrapper.grid4.team .post-title {
		font-size: 1.8em;
	}
	.loops-wrapper.team.grid2 .team-content-wrap .team-title-wrapper,
	.loops-wrapper.team.grid3 .team-content-wrap .team-title-wrapper,
	.loops-wrapper.team.grid4 .team-content-wrap .team-title-wrapper {
		top: 77%;
		padding: 4% 5%;
	}
	.loops-wrapper.team.grid3 .team-social {
		bottom: 0;
		left: auto;
	}
	.loops-wrapper.team.grid4 .team-social {
		bottom: 0;
		left: auto;
	}
	.loops-wrapper.team.grid3 .team-social i,
	.loops-wrapper.team.grid4 .team-social i {
		font-size: 2.001em;
		margin-right: 0.350em;
	}
	.loops-wrapper.list-post.team .post-image {
		width: auto;
		float: none;
	}
	.loops-wrapper.list-post.team .post-content,
	.loops-wrapper.list-post.team .progress-bar-wrap	{
		width: auto;
		padding-left: 0;
		float: none;
	}
	.single-team .post-image {
		width: auto;
		float: none;
	}
	.single-team .post-content,
	.single-team .progress-bar-wrap {
		width: auto;
		padding-left: 0;
		float: none;
	}
	.loops-wrapper.grid3.team .team-content-wrap:hover .team-title {
		margin-top: 20px;
	}
	.single-team .team-content-wrap,
	.loops-wrapper.list-post.team .team-content-wrap {
		width: 100%;
		margin-right: 0;
		float: none;
	}

	/* testimonial items when mobile testimonial author img size */
	.testimonial .post-image img {
		width: 72px;
		height: 72px;
	}
	.loops-wrapper.portfolio.grid4 .post,
	.loops-wrapper.portfolio.grid3 .post,
	.loops-wrapper.portfolio.grid2 .post {
		float: left;
	}
	.loops-wrapper.portfolio.grid3 .post-title {
		font-size: 1.3em;
	}
	.loops-wrapper.portfolio .post-meta {
		font-size: .675em;
	}
	.loops-wrapper.portfolio.grid2 .post-title,
	.loops-wrapper.portfolio.grid4 .post-title {
		font-size: 1.5em;
	}
	.loops-wrapper.portfolio.grid2 .entry-content {
		display: none;
	}

	.loops-wrapper.list-post.team .team-content-wrap {
		width: auto;
		float: none;
	}
	.loops-wrapper.list-post.team .team-title-wrapper {
		top: 85%;
	}
	
	/* portfolio post */
	.loops-wrapper.portfolio .post-image {
		margin-bottom: 0 !important;
	}
	.loops-wrapper.portfolio .post {
		margin-bottom: 0 !important;
	}

	/* 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 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
	}

	/************************************************************************************
	POST NAV
	*************************************************************************************/
	.post-nav .prev, 
	.post-nav .next {
		display: block;
		width: 100%;
		clear: both;
		margin-bottom: 10px;
	}
	.single .post-nav {
		padding-left: 0;
	}
	
	
	/************************************************************************************
	COMMENTS
	*************************************************************************************/
	.commentlist {
		padding-left: 0;
	}
	.commentlist .commententry {
		clear: left;
	}
	.commentlist .avatar {
		float: left;
		width: 40px;
		height: 40px;
		margin: 0 1em 1em 0;
		position: static;
	}
	
	#footer-logo {
		position: static;
	}

	#commentform label,
	#contactform label {
		display: block;
	}
	#commentform input[type=text],
	#commentform input,
	#commentform textarea {
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}
	
	/* single post and list-post post Start */
	.loops-wrapper.list-post .post,
	.single-post .list-post .post {
		padding-left: 0;
	}
	.list-post .post .post-date-wrap,
	.single .post .post-date-wrap {
		position: static;
		float: left;
		margin-right: 15px;
	}
	.list-post .post-title,
	.single .post .post-title {
		font-size: 2.5em;
		line-height: 1.4em;
		padding-left: 124px;
	}
	.list-post .post-meta,
	.single .post .post-meta {
		padding-left: 124px;
	}
	/* single post and list-post post End */
	

	.transparent-header .list-post .post-title,
	.transparent-header .single .post .post-title,
	.transparent-header.list-post .post-meta,
	.transparent-header.single .post .post-meta,
	.loops-wrapper.list-post .post .post-image,
	.loops-wrapper.list-post .post .post-content,
	.loops-wrapper.list-post.team .post-meta,
	.loops-wrapper.list-post.team .post-title,
	.loops-wrapper.list-post .post.has-post-date,
	.single-post .list-post .post.has-post-date,
	.single-post .post.has-post-date + .post-nav,
	.single.attachment .post.has-post-date + .post-nav,
	.post.has-post-date + .post-nav + .commentwrap,
	.list-post .post-title,
	.single .post .post-title,
	.list-post .post-meta,
	.single .post .post-meta {
		padding-left: 0;
	}

	.featured-area {
		height: 375px;
	}
	.loops-wrapper.list-post .has-post-date .post-meta,
	.loops-wrapper.list-post .has-post-date .post-title {
		padding-left: 124px;
	}
	
	.loops-wrapper.grid2.team .team-content-wrap .team-title-wrapper {
		top: 70%;
	}
	.loops-wrapper.team.grid3 .team-content-wrap .team-title-wrapper {
		top: 70%;
	}
	.loops-wrapper.grid4.team .team-content-wrap .team-title-wrapper {
		top: 70%;
	}
	.loops-wrapper.list-post.team .team-title-wrapper {
		top: 81%;
	}

	/* Archive Portfolio, set all posts to same width */
	.loops-wrapper.portfolio .post {
		width: 100% !important;
	}
	
	.loops-wrapper.portfolio .post-meta {
		font-size: .875em;
	}
	.loops-wrapper.portfolio.grid2 .post-title ,
	.loops-wrapper.portfolio.grid3 .post-title,
	.loops-wrapper.portfolio.grid4 .post-title {
		font-size: 1.9em;
	}
	.loops-wrapper.portfolio.grid2 .entry-content {
		display: block;
	}
	.loops-wrapper.portfolio.grid3 .post .entry-content {
		display: block;
	}
	.sidebar-none.full_width .col-full .loops-wrapper.grid4 .post-title {
		font-size: 1.9em;
	}
	
}
@media screen and (max-width: 600px){
	body:not(.fixed-header).admin-bar #wpadminbar {
		margin-top: -46px;
	}
}

/* Responsive Gallery items */
@media screen and (max-width: 1024px) {
	.gallery-columns-5 .gallery-item:nth-of-type(5n),
	.gallery-columns-6 .gallery-item:nth-of-type(6n),
	.gallery-columns-7 .gallery-item:nth-of-type(7n),
	.gallery-columns-8 .gallery-item:nth-of-type(8n),
	.gallery-columns-9 .gallery-item:nth-of-type(9n) {
		margin-right: 1.5%;
	}
	.gallery-columns-5 .gallery-item:nth-of-type(4n+1),
	.gallery-columns-6 .gallery-item:nth-of-type(4n+1),
	.gallery-columns-7 .gallery-item:nth-of-type(4n+1),
	.gallery-columns-8 .gallery-item:nth-of-type(4n+1),
	.gallery-columns-9 .gallery-item:nth-of-type(4n+1) {
		clear: left;
	}
	.gallery-columns-5 .gallery-item:nth-of-type(4n),
	.gallery-columns-6 .gallery-item:nth-of-type(4n),
	.gallery-columns-7 .gallery-item:nth-of-type(4n),
	.gallery-columns-8 .gallery-item:nth-of-type(4n),
	.gallery-columns-9 .gallery-item:nth-of-type(4n) {
		margin-right: 0;
	}
	.gallery-columns-5 .gallery-item + br,
	.gallery-columns-6 .gallery-item + br,
	.gallery-columns-7 .gallery-item + br,
	.gallery-columns-8 .gallery-item + br,
	.gallery-columns-9 .gallery-item + br {
		display: none;
	}
	
	/* clear none gallery item different sizes */
	.gallery-columns-5 .gallery-item:nth-of-type(5n + 1),
	.gallery-columns-6 .gallery-item:nth-of-type(6n + 1),
	.gallery-columns-7 .gallery-item:nth-of-type(7n + 1),
	.gallery-columns-8 .gallery-item:nth-of-type(8n + 1),
	.gallery-columns-9 .gallery-item:nth-of-type(9n + 1) {
		clear: none;
	}

	/* gallery column 5,6,7,8 and 9 */
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {
		width: 23.8%;
	}
}
@media screen and (max-width: 680px) {
	.gallery-columns-3 .gallery-item + br {
		display: none;
	}
	.gallery-columns-3 .gallery-item:nth-of-type(3n) {
		margin-right: 1.5%;
	}

	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {
		width: 49.2%;
	}
	.gallery-columns-3 .gallery-item:nth-of-type(2n),
	.gallery-columns-4 .gallery-item:nth-of-type(2n),
	.gallery-columns-5 .gallery-item:nth-of-type(2n),
	.gallery-columns-6 .gallery-item:nth-of-type(2n),
	.gallery-columns-7 .gallery-item:nth-of-type(2n),
	.gallery-columns-8 .gallery-item:nth-of-type(2n),
	.gallery-columns-9 .gallery-item:nth-of-type(2n) {
		margin-right: 0;
	}
	
	/* clear none gallery item different sizes */
	.gallery-columns-4 .gallery-item:nth-of-type(4n + 1),
	.gallery-columns-3 .gallery-item:nth-of-type(3n + 1),
	.gallery-columns-2 .gallery-item:nth-of-type(2n + 1) {
		clear: none;
	}
}