/*
Theme Name: Foundation
Theme URI: http://cuttingedge.com.au
Version: 0.1
Author: Andrew Morton, Perry Mitchell, Nico Yaroslavsky, Shannon Scully, Cameron Wright
Author URI: http://cuttingedge.com.au
Description: Base Cutting Edge Wodpress theme. This theme provides layouts and functionality for all Cutting Edge developed themes. You should extend this theme using a WordPress child theme.
Copyright: All rights reserved
Tags: base
Text Domain: CuttingEdge
*/

/*
 * Set Correct Box-Model
 */

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

body, html {
	margin: 0px;
	border: 0px;
	padding: 0px;
	height: 100%;
	width: 100%;
}

/*
Foundation Navigation scaffolding styles
*/

nav.foundation-nav ul { padding: 0px; margin: 0px; }
nav.foundation-nav li { list-style: none; white-space: nowrap; }
nav.foundation-nav > ul.menu > li { display: inline; }
nav.foundation-nav li.menu-item-has-children { position: relative; }
nav.foundation-nav ul.sub-menu { display: none; }
nav.foundation-nav ul.menu > li:hover > ul { display: block; position: absolute; left: 0px; }
nav.foundation-nav ul.sub-menu > li:hover > ul { display: block; position: absolute; top: 0px; left: 100%; }
nav.foundation-nav ul.menu > li.menu-item-has-children:after { content: "\f107"; font-family: "FontAwesome"; }
nav.foundation-nav ul.sub-menu > li.menu-item-has-children:after { content: "\f105"; font-family: "FontAwesome"; }

/*
 * Default Foundation Styles
 */

#moveable > header { border-bottom: 1px solid #999999; }
#moveable > footer { border-top: 1px solid #999999; }
#moveable > .foundation-nav ul.container { margin-right: auto; margin-left: auto; }
[class*="st_"],
[class*="st-"] { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }
.leading-para { font-size: 1.2em; font-weight: 700; }

/*
 * Mobile Navigation
 */

#mobile_drawer {
	width: 70%;
	position: absolute;
}

#moveable {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 100;
	background-color: #ffffff;
	overflow-y:scroll;
	-webkit-overflow-scrolling: touch;
}

#nav_toggle {
	position: absolute;
	background-color: #3c3c3c;
	top:0px;
	right:0px;
	height: 35px;
	width: 35px;
	border-radius: 5px;
	padding-top: 3px;
}
#nav_toggle .bar {
	position: relative;
	display:block;
	background-color: #999999;
	width: 70%;
	margin: 0 auto;
	height: 3px;
	margin-top: 5px;
}

/*
 * Breadcrumbs
 */

nav .crumbs {
	padding: 14px 0px;
	margin: 0px;
}

nav .crumbs li {
	list-style: none;
	display: inline;
}

nav .crumbs li:before {
	content: "/";
	padding: 0 5px;
}
nav .crumbs li:first-child:before {
	display: none;
}

/*
 *	Mobile Considerations
 */

@media (max-width:767px) {
	.container {
		width: 300px;
		margin: 0 auto;
	}

	.widget_content-feature-widget {
		width: 300px;
		margin: 0 auto 25px;
	}

	img {
		margin: 0 auto;
		display: block;
	}
}

@media (max-width: 320px) {
	.container {
		width: 100%;
		margin: 0px;
		padding-left: 20px;
		padding-right: 20px;
	}
}
