/* # Site Structure
---------------------------------------------------------------------------------------------------- */

/* ## Box Sizing
--------------------------------------------- */

html,
input[type="search"]{
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}


/* ## Float Clearing
--------------------------------------------- */

.clearfix:before {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
	content: " ";
	display: table;
}

.clear {
	clear: both;
}


/* # Positioning, display, and max-width
--------------------------------------------- */
.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.inline-block {
	display: inline-block;
}

/* ## Column Classes
--------------------------------------------- */

.left {
	float: left;
}

.right {
	float: right;
}

/* ## Containers and wraps
--------------------------------------------- */
.site-container {
	background-color: #fff;
}

.site-inner {
	clear: both;
	padding-top: 60px;
	padding-bottom: 20px;
}

body.home .site-inner { /* Home page content needs to be closer to header than the interior pages */
	padding-top: 20px;
}

.wrap {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 15px
}

.content {
	overflow: hidden;
}


/* ## Site Header
--------------------------------------------- */

.site-header {
	width: 100%;
	padding-top: 30px;
	padding-bottom: 15px;
	background-color: #fff;
	height: 140px;
	z-index: 1025;
}

.title-area {
	width: 235px;
	height: 85px;
	float: left;
	padding-bottom: 20px;
}

.title-area img {
	display: block;
}

.title-area a:hover img {
	opacity: 0.7;
}

.main-nav-area {
	text-align: right;
}

.main-nav-area .button {
	padding: 10px 10px 7px;
	background-color: #fff;
	color: #00D086;
	border: solid 2px #00D086;
	font-size: 12px;
	font-weight: normal;
	font-weight: 400;
	text-transform: none;
	line-height: 1.0;
	border-radius: 3px;
}

/* ## Fixed Header on scroll
--------------------------------------------- */
@media screen and (min-width: 768px) {

	body.fixed-header .site-inner {
		padding-top: 200px;
	}

	body.home.fixed-header .site-inner { /* Home page content needs to be closer to header than the interior pages */
		padding-top: 160px;
	}

	body.fixed-header .site-header {
		position: fixed;
		-webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
		-moz-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
		box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
	}
	
}

/* ## Site Footer
--------------------------------------------- */
.site-footer {
	font-size: 16px;
	color: #000;
	padding-bottom: 20px;
}

.site-footer-decoration {
	text-align: center;
	padding: 0 15px 30px 15px;
}

.site-footer a {
	color: #000;
	text-decoration: underline;
	font-weight: normal;
	font-weight: 400;
}

.site-footer a:hover {
	color: #666;
}

.site-footer p {
	margin: 0;
}

.footer-left,
.footer-right {
	width: 50%;
}

.footer-left {
	float: left;
	text-align: left;
}

.footer-right {
	float: right;
	text-align: right;
}

.site-footer ul.menu {
	display: inline-block;
}

.site-footer ul.menu li {
	display: inline-block;
	float: left;
	padding-left: 35px;
}



/* ## Archives and indices
--------------------------------------------- */
article.post {
	border-bottom: solid 1px #ccc;
	padding-bottom: 25px;
	margin-bottom: 25px;
}


/* iPad in Landscape view */
@media only screen and (max-width: 1024px) {
}

/* 1px below iPad portait view */
@media only screen and (max-width: 767px) {
	
	/* # Header
	-------------------------- */
	.site-header {
		height: 115px;
	}
	
	.site-header .wrap {
		padding-left: 0;
		padding-right: 0;
	}

	.title-area {
		margin-left: 15px;
		width: 170px;
		height: 65px;
	}
	
	.main-nav-area .button {
		font-size: 10px;
		padding: 6px 7px 3px;
	}

	/* # Site Inner
	-------------------------- */
	body.home .site-inner,
	.site-inner {
		padding-top: 0;
	}

	/* # Footer
	-------------------------- */
	.footer-left,
	.footer-right {
		float: none;
		text-align: center;
		width: 100%;
		margin-bottom: 15px;
	}
	
	.site-footer-decoration {
		display: none;
	}
	
	.site-footer {
		font-size: 10px;
		padding-top: 60px;
		background: url('../images/footer-bg.svg');
		background-repeat: no-repeat;
		background-position-x: center;
		background-position-y: -110px;
	}

}