
/*mobile-menu*/
/************************************************************************************
HEADER
*************************************************************************************/
/* nav bar */
#nav-bar{
	height:10px;
	position:static !important;
}

/* header */
#header{
	height:auto !important;
}
#header hgroup{
	text-align:left;
}

/* reset absolute elements to static */
.social-widget,
#site-logo,
#site-description,
#main-nav{
	position:static;
	float:none;
	clear:both;
}

/* site logo */
#site-logo{
	font-size:42px;
	text-align:left;
	padding:0 90px 0 0;
	width:auto;
	margin:10px 0;
}
#site-logo a{
	font-size:30px;
}

/* site description */
#site-description{
	text-align:left;
	margin:0 0 10px;
}

/************************************************************************************
MOBILE NAV BUTTON
*************************************************************************************/
#menu-icon{
	position:relative;
	border-bottom:2px solid;
	background-color:#fff;
	outline:6px solid #fff;
	cursor:pointer;
	display:inline-block;
	text-decoration:none;
	width:16px;
	height:12px;
	float:right;
}
#menu-icon:before,
#menu-icon:after{
	content:'';
	display:block;
	width:100%;
	border-top:2px solid;
	position:absolute;
	top:0;
}
#menu-icon:after{
	top:50%;
}


/************************************************************************************
MAIN NAV (MOBILE)
*************************************************************************************/
#main-nav-wrap{
	position:absolute;
	top:8px;
	right:0;
	z-index:1000;
}

/* main nav */
#main-nav{
	background-color:#fff;
	box-shadow:0 0 0 1px rgba(0,0,0,.1), 0 2px 12px rgba(0,0,0,.3);
	border-radius:5px;
	clear:both;
	display:none; /* visibility will be toggled with jquery */
	position:static;
	width:200px;
	z-index:1000;
	padding:10px 5px;
	margin:10px -6px 0 0;
	margin-top:23px;
	height:auto;
	max-height:70vh;
	overflow:auto;
	-webkit-overflow-scrolling:touch;
}
#main-nav li{
	clear:both;
	float:none;
	display:block;
	margin:5px 0 5px 10px;
	padding:0;
	border:none;
	box-shadow:none;
}
#main-nav a, 
#main-nav ul a{
	font:inherit;
	text-transform:inherit;
	background:none;
	width:auto;
	display:block;
	padding:4px 0;
	color:#666;
	border:none;
	text-shadow:none;
	box-shadow:none;
}
#main-nav a:hover,
#main-nav ul a:hover{
	background:none;
	color:#000;
}

/* dropdown */
#main-nav ul{
	position:static;
	display:block;
	margin:0;
	padding:0;
	background:none;
	border:none;
	border-radius:0;
	box-shadow:none;
}

/************************************************************************************
SEARCH FORM
*************************************************************************************/
#searchform-wrap{
	position:absolute;
	top:3px;
	right:40px;
	z-index:1000;
	text-align:center;
}
#search-icon{
	background-color:#eee;
	float:right;
	width:28px;
	height:26px;
	line-height:26px;
	cursor:pointer;
}
#search-icon:before{
	content:'\e800';
	font-family:'themify_theme_icons';
	vertical-align:middle;
}
#header #searchform{
	clear:both;
	width:auto;
	overflow:hidden;
	background-color:#fff;
	padding:5px;
	display:none; /* visibility will be toggled with jquery */
	border-radius:5px;
	box-shadow:0 0 0 1px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.2);
}
#header #searchform:before{
	top:8px;
	left:12px;
}

/* social widget */
.social-widget{
	position:static !important;
	margin:10px 0;
	float:none;
	padding:0;
}

/* header widget */
.header-widget{
	position:static !important;
	float:none;
	text-align:left;
	clear:both;
	margin:0;
}
.header-widget .widget{
	margin:0 0 10px;
}