/*
HEADER TOP BAR
================================================ */
/* header topbar header */
body.fixed-header.page-loaded #headerwrap {
	position: fixed;
}
#header {
	text-align: inherit;
	padding: .15em 28px;
	width: 100%;
}
.header-bar {
	float: left;
}

/* header topbar site logo */
#site-logo {
	font-size: 1.5em;
	margin: 13px .5em 0 0;
	display: inline-block;
	vertical-align: middle;
}
.fixed-header-on #site-logo img {
	height: 30px;
	width: auto;
	transition: all .3s;
}

/* header topbar site description */
#site-description {
	margin: 20px 1.90em 5px 0;
	font-size: .75em;
	display: inline-block;
	vertical-align: middle;
}

/* header topbar social widget */
#header .social-widget {
	float: left;
	margin: 8px 0 0;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

/* header topbar searchform */
#searchform-wrap {
	margin: 13px 0 0;
	float: left;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#headerwrap #searchform #s {
	padding: 0 15px 0 25px;
	height: 25px;
	vertical-align: top;
	position: absolute;
	margin-top: -1px;
}
#headerwrap #searchform .icon-search:before {
	font-size: 14px;
	padding: 5px;
	line-height: 100%;
	width: 15px;
	height: 15px;
	margin: 0;
	margin-left: -3px;
	margin-top: -1px;
}

/* header topbar social links */
.social-links .icon-medium i {
	padding: 6px;
	font-size: 15px;
	width: 13px;
	height: 13px;
	line-height: 13px;
	margin-right: -3px;
}
.social-widget div.rss a {
	padding: 6px;
	font-size: 15px;
	width: 13px;
	height: 13px;
	line-height: 13px;
	vertical-align: middle;
}

/* header topbar main nav */
body:not(.slide-cart):not(.mobile_menu_active) #main-nav-wrap {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-align-items: center; /* Safari 7.0+ */
	align-items: center;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	position: relative;
}
body:not(.slide-cart):not(.mobile_menu_active) #main-nav {
	position: static;
}
#main-nav {
	float: right;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	margin: 0;
}
#main-nav li:not(.themify-widget-menu) > ul {
	left: auto;
	right: 0;
}
#main-nav li:not(.themify-widget-menu) > ul ul {
	right: auto;
}
#main-nav ul li.edge > ul {
	right: 100%;
}

#main-nav .has-mega-column > .sub-menu,
#main-nav .has-mega-sub-menu .mega-sub-menu {
	margin: auto;
	right: 0;
	left: auto;
}
#main-nav .has-mega-column > .sub-menu {
	padding: 32px 39px 39px;
}
#main-nav .has-mega-column .sub-menu li {
	margin-bottom: 0;
}

/* header topbar cart wrap */
.slide-cart #main-nav-wrap {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-align-items: center; /* Safari 7.0+ */
	align-items: center;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	position: relative;
}
.fixed-header-on.slide-cart #main-nav-wrap,
.slide-cart #main-nav {
	position: static;
}

/* header topbar header widget */
.header-widget {
	display: none;
	text-align:  center;
}
.header-widget .header-widget-inner {
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

/* header topbar fixed-header */
.fixed-header #header {
	min-height: inherit;
}
#headerwrap.fixed-header .header-bar,
#headerwrap.fixed-header .social-widget,
#headerwrap.fixed-header #searchform-wrap {
	display: block;
}
#headerwrap.fixed-header #main-nav .has-mega-column > .sub-menu,
#headerwrap.fixed-header #main-nav .has-mega-sub-menu .mega-sub-menu {
	margin: 0 27px;
}


/* mobile menu active */
.mobile_menu_active.mobile-menu-visible.sidemenu-right #headerwrap {
	left: -300px;
}
/* header topbar site description */
.mobile_menu_active.header-top-bar #headerwrap #site-description {
	margin: 2px 0 0;
}
/* header topbar social widget */
.mobile_menu_active.header-top-bar #header .social-widget {
	margin: 0 0 1em;
	float: none;
	display: block;
}
.mobile_menu_active.header-top-bar .social-links .icon-medium i {
	margin: auto;
}

.mobile_menu_active.header-top-bar #headerwrap #searchform-wrap {
	float: none;
	display: block;
}
.mobile_menu_active.header-top-bar #headerwrap #searchform #s {
	margin: auto;
	padding: 5px 15px 5px 35px;
	position: static;
	height: auto;
}
.mobile_menu_active.header-top-bar #headerwrap #searchform .icon-search:before {
	font-size: 18px;
	margin: 0;
	padding: 3px;
	width: 16px;
	height: 16px;
}

.mobile_menu_active #headerwrap.fixed-header #main-nav .has-mega-column > .sub-menu,
.mobile_menu_active #headerwrap.fixed-header #main-nav .has-mega-sub-menu .mega-sub-menu {
	margin: 0;
}

.mobile_menu_active.slide-cart #main-nav-wrap {
	display: block;
}

/* header topbar header widget */
.mobile_menu_active.header-top-bar #headerwrap .header-widget {
	display: block;
	text-align: inherit;
	max-height: none !important;
}
.mobile_menu_active .pull-down {
	display: none;
}
.pull-down {
	float: right;
}