/*
HEADER LEFTPANE
================================================ */
/* header leftpane pagewrap */
#pagewrap {
	padding-top: 0 !important; /* prevent inline padding apply from JS */
}
#body {
	padding-left: 340px;
	padding-right: 4%;
}
.full_width #body {
	padding-left: 280px;
	padding-right: 0;
}
#footerwrap {
	padding-left: 280px;
}
.row_inner {
	width: auto;
	max-width: 90%;
	margin: 0 auto;
}
.sidebar-none #content {
	padding: 0;
}
.iphone.sidemenu-active.mobile-menu-visible {
	position: fixed;
}

/* builder row */
.full_width .themify_builder_row.fullwidth .row_inner {
	 max-width: 100%;
}

/* header leftpane headerwrap */
#headerwrap {
	float: left;
	width: 280px;
	height: 100%;
	left: 0;
	border-bottom: none;
	border-right: 1px solid rgba(0,0,0,.1);
}
.header-leftpane #pagewrap #headerwrap {
	position: fixed !important;
}
.transparent-header #headerwrap {
	background-color: rgba(0,0,0,.3);
}
#header {
	text-align: inherit;
	position: absolute;
	height: 100%;
	width: 100%;
	max-width: none;
	padding: 2em 1.5em;
}

.touch #header {
	overflow-y:auto;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}

/* header leftpane site logo */
#site-logo {
	font-size: 2.2em;
	padding-top: 0;
	letter-spacing: .03em;
	margin: 0 0 .5em;
}

/* header leftpane site description */
#site-description {
	margin: 0 0 1.5em;
	letter-spacing: -.05em;
}

/* header leftpane slide cart */
#slide-cart {
	right: auto;
	left: -300px;
	width: 280px;
}
#slide-cart.sidemenu-on {
	right: auto;
	left: 0;
}
.cart-wrap {
	position: static;
}
body.slide-cart-visible.sidemenu-right {
	left: 0;
	overflow-x: hidden;
}

/* header leftpane social widget */
.social-widget {
	float: none;
	clear: both;
	display: block;
}

/* header leftpane searchform */
#searchform-wrap {
	float: none;
	clear: both;
	display: block;
	margin: 0 0 1.5em;
}
#searchform-wrap #searchform {
	width: auto; /* reset searchform width */
}
#headerwrap #searchform #s {
	width: 100%;
	margin: 0;
	padding: .25em 2.1em;
	border-radius: 5em;
	background-color: #fff;
	color: #000;
}
#headerwrap #searchform .icon-search:before {
	background: none;
	font-size: 1em;
	left: 10px;
	line-height: 1em;
	margin-top: -.5em;
	padding: 0;
	position: absolute;
	top: 50%;
	width: 1em;
	color: #000;
}
#headerwrap #searchform #s:focus,
#headerwrap #searchform #s:hover,
#headerwrap #searchform .icon-search:hover + #s {
	width: 100%;
	background-color: #fff;
}

/* header leftpane main nav */
#main-nav {
	float: none;
	clear: both;
	margin: 0 0 2em;
}
#main-nav ul {
	width: auto;	
}
#main-nav li:not(.themify-widget-menu) > ul {
	border: none;
	background: none;
	display: block;
	position: static;
	padding: .2em 0 0 1em;
	margin: 0;
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
}
#main-nav li {
	display: block;
}
#main-nav a {
	padding: .4em 0;
	width: 100%;
}
#main-nav ul a {
	width: auto;
	color: inherit;
}
#main-nav ul li {
	float: none !important;
	width: auto !important;
}
#main-nav .has-mega-column > .sub-menu,
#main-nav .has-mega-sub-menu .mega-sub-menu {
	display: block;
	position: static;
	box-shadow: none;
	border: none;
	background-color: transparent;
	min-height: inherit;
	max-height: inherit;
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
}
#main-nav li:not(.has-mega-column).dropdown-columns-2 > .sub-menu,
#main-nav li:not(.has-mega-column).dropdown-columns-3 > .sub-menu,
#main-nav li:not(.has-mega-column).dropdown-columns-4 > .sub-menu,
#main-nav li:not(.has-mega-column).dropdown-columns-2 > .sub-menu > li,
#main-nav li:not(.has-mega-column).dropdown-columns-3 > .sub-menu > li,
#main-nav li:not(.has-mega-column).dropdown-columns-4 > .sub-menu > li {
	float: none;
	width: 100%;
}
#main-nav .has-mega-sub-menu .mega-sub-menu ul,
#main-nav .has-mega-column .sub-menu li {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}
#main-nav .has-mega-column .widgettitle,
#main-nav .has-mega-column > .sub-menu > .columns-sub-item > a,
#main-nav .has-mega-column > .sub-menu a {
	font-size: inherit;
	font-weight: normal;
	text-transform: none;
}
#main-nav li.mega-link.loading:before,
#main-nav .mega-sub-menu li:hover a:after,
#main-nav .mega-menu-posts {
	display: none;
}
#main-nav .has-mega-column > .sub-menu .widget {
	margin-top: .5em;
	margin-bottom: .5em;
}
#main-nav .has-mega-sub-menu .mega-sub-menu,
#main-nav .has-mega-column > .sub-menu {
	color: inherit;
}
#main-nav .has-mega-column > .sub-menu {
	padding: .5em 1em .1em;
}
#main-nav .has-mega-sub-menu .mega-sub-menu > ul a {
	padding: .5em 1em .1em;
}

/* dropdown icon */
#main-nav .menu-item-has-children .child-arrow:before,
#main-nav .page_item_has_children .child-arrow:before {
    content: "\e801"; /* ti-angle-down */
	font-family: 'themify_theme_icon';
	font-size: 0.8em;
	cursor: pointer;
    position: absolute;
    right: 0;
	top: 4px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#main-nav .menu-item-has-children .child-arrow.toggle-on:before,
#main-nav .page_item_has_children .child-arrow.toggle-on:before {
    content: "\e800"; /* ti-close */
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	transform: rotate(-90deg);
}
#main-nav .menu-item-has-children > a .sub-arrow,
#main-nav .page_item_has_children > a .sub-arrow {
	display: none !important;
}
#headerwrap #main-nav .has-mega-column > .children,
#headerwrap #main-nav .has-mega-column > .children > li > ul,
#headerwrap #main-nav .has-mega-column > .sub-menu,
#headerwrap #main-nav .has-mega-sub-menu .mega-sub-menu,
#headerwrap #main-nav .has-mega-column > .sub-menu > li > ul,
#headerwrap #main-nav .has-mega-sub-menu:hover .mega-sub-menu {
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
	padding: 0 0 0 1em;
}
.header-leftpane #headerwrap #main-nav .has-sub-menu > .children > li > ul.children,
.header-leftpane #headerwrap #main-nav .has-mega-column > .children > li > ul.children,
.header-leftpane #headerwrap #main-nav > li > div.children,
.header-leftpane #headerwrap #main-nav > li > ul.children,
.header-leftpane #headerwrap #main-nav .has-sub-menu > .sub-menu > li > ul.sub-menu,
.header-leftpane #headerwrap #main-nav .has-mega-column > .sub-menu > li > ul.sub-menu,
.header-leftpane #headerwrap #main-nav > li > div.sub-menu,
.header-leftpane #headerwrap #main-nav > li > ul.sub-menu {
	height: 100%;
	overflow: hidden;
	max-height: 0;
	-webkit-transition: max-height 0.5s ease-in-out;
	-moztransition: max-height 0.5s ease-in-out;
	transition: max-height 0.5s ease-in-out;
}
.header-leftpane #headerwrap #main-nav .has-sub-menu > .children > li > .toggle-on + ul.children,
.header-leftpane #headerwrap #main-nav .has-mega-column > .children > li > .toggle-on + ul.children,
.header-leftpane #headerwrap #main-nav > li > .toggle-on + div.children,
.header-leftpane #headerwrap #main-nav > li > .toggle-on + ul.children,
.header-leftpane #headerwrap #main-nav .has-sub-menu > .sub-menu > li > .toggle-on + ul.sub-menu,
.header-leftpane #headerwrap #main-nav .has-mega-column > .sub-menu > li > .toggle-on + ul.sub-menu,
.header-leftpane #headerwrap #main-nav > li > .toggle-on + div.sub-menu,
.header-leftpane #headerwrap #main-nav > li > .toggle-on + ul.sub-menu {
	max-height: 2000px;
	min-height: initial;
}
#headerwrap #main-nav > li {
	position: relative;
}
#headerwrap #main-nav > li:last-child a,
#headerwrap #main-nav > li a {
	border-bottom: 1px solid rgba(0,0,0,.1)
}
#headerwrap #main-nav > li li a {
	font-size: 0.95em;
	margin-bottom: 0;
	padding: 0.5em 1.5em .5em 0;
}
#headerwrap #main-nav > li li li a {
	padding: 0.5em .5em .5em 0;
}

/* header leftpane column */
#headerwrap .col3-1 {
	float: none;
	width: auto;
	margin: auto;
}
.header-widget .widget {
	margin: 0 0 3em;
}
#sidebar {
	margin-right: 2%;
}

/* footer leftpane */
#footer {
	max-width: 96%;
}

/* mobile menu active */
.header-leftpane.mobile-menu-visible {
	overflow-x: hidden;
}

/* header leftpane #body */
.mobile_menu_active.header-leftpane #footerwrap,
.mobile_menu_active.header-leftpane.full_width #footerwrap,
.mobile_menu_active.header-leftpane #body,
.mobile_menu_active.header-leftpane.full_width #body {
	padding-left: 0;
	padding-right: 0;
}
.mobile_menu_active.header-leftpane.full_width.mobile-menu-visible {
	left: 280px;
}
.mobile_menu_active.header-leftpane #sidebar {
	margin: auto;
}

/* header leftpane sidemenu */
.mobile_menu_active.header-leftpane #mobile-menu.sidemenu {
	position: static;
	width: auto;
	background: none;
	height: auto;
	overflow: inherit;
	padding: 0;
}

/* header leftpane headerwrap */
.mobile_menu_active.header-leftpane.sidemenu-left #headerwrap {
	left: 0;
}
.mobile_menu_active.header-leftpane #headerwrap {
	overflow: inherit;
	left: -280px;
}

/* header leftpane header */
.mobile_menu_active.header-leftpane #headerwrap #header {
	width: auto;
	height: 100%;
	padding: 35px 25px 50px;
}

/* header leftpane menu icon */
.mobile_menu_active #headerwrap .header-icons {
	top: 0;
	transform: none;
}
.admin-bar.mobile_menu_active #headerwrap .header-icons {
	top: 46px;
}
.mobile_menu_active.header-leftpane #headerwrap #menu-icon {
	position: fixed;
	top: 15px;
	left: 0;
	background-color: #EC1E24;
	color: #fff;
	font-size: 1.2em;
	width: 25px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	z-index: 10000;
	-webkit-transition: left .2s ease-in-out;
	-moz-transition: left .2s ease-in-out;
	transition: left .2s ease-in-out;
}
.mobile_menu_active.header-leftpane.mobile-menu-visible #headerwrap #menu-icon {
	left: 280px;
}
#headerwrap #menu-icon,
#headerwrap #menu-icon:before,
#headerwrap #menu-icon:after {
	border: none;
}
.mobile_menu_active.header-leftpane #headerwrap #menu-icon-close {
	display: none;
}
.mobile_menu_active.header-leftpane #headerwrap #menu-icon:before {
	content: "\e806"; /* ti-angle-double-right */
	font-family: 'themify_theme_icon';
	font-size: 100%;
}
.mobile_menu_active.header-leftpane.mobile-menu-visible #headerwrap #menu-icon:before {
	content: "\e805"; /* ti-angle-double-left */
}

/* header leftpane site logo */
.mobile_menu_active.header-leftpane #headerwrap #site-logo {
	font-size: 2.2em;
	padding-top: 0;
	letter-spacing: .03em;
	margin: 0 0 .5em;
}
.mobile_menu_active.header-leftpane #headerwrap .social-widget {
	margin: 1em 0 2em;
}

/* header leftpane slide cart */
.mobile_menu_active.header-leftpane.full_width.slide-cart-visible {
	left: 280px;
}
.mobile_menu_active.slide-cart-visible #headerwrap {
	left: 0;
}
.mobile_menu_active .cart-wrap {
	position: static;
}

@media only screen and (min-width: 1201px) {
	/* builder row */
	.full_width .themify_builder_row .row_inner {
		 max-width: 96%;
	}
}