/*
Theme Name: AO Architecture
Theme URI: http://underscores.me/
Author: Libby & Ben
Author URI: http://www.libbyandben.co.nz
Description: Custom development for AO Architecture
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aoarchitecture
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

AO Architecture is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/* Header */

.site-header {
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  z-index: 2;
  height: 75px;
}

.site-header .table {
	height: 75px;
	position: relative;
}
.site-header .table-cell {
	text-align: left;
}
.logo {
	float: left;
}
.logo img {
	width: 300px;
	margin: 0 0 0 30px;
}
.navigation {
	float: right;
}
.navigation img {
	display: inline-block;
	cursor: pointer;
	width:30px;
	margin: 0 30px 0 0;
}
.menu {
  display: none;
  position: absolute;
  top: 75px;
  right: 0px;
  background: rgba(0, 0, 0, 0.5);
  width: 300px;
}
.menu ul {
  margin: 0;
  padding: 30px;
	list-style: none;
}


.menu li {
  margin: 0;
  padding: 0;
}

.menu li a  {
  color: #ffffff;
}

.menu li {
  margin: 0;
  padding: 15px 0;
  color: #ffffff;
  border-bottom: 1px solid #fff;
}

.menu li:first-child {
  padding-top: 0;
}

.menu li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.expand {
  display: block !important;
}

/* Parallax */

.banner_image {
    position: relative;
    overflow: hidden;
    z-index: -1;
}
.banner_image_inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 1s linear;
}
.banner_image_hide {
    opacity: 0;
}
.banner_image_fixed{
    position: fixed;
}
.banner_image_overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}
.banner_image_aspect {
    padding-top: 75%;
}
.initial {
	background:#fff;
	padding-bottom:10px;
}


/* Projects */
.project {
  clear: both;
}
.project-image {
  position: relative;
	float:left;
	height: 540px;
	height: 50vh;
	width: 25%;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 3.5+, IE10 */
  filter: gray;
  /* IE6-9 */
  -webkit-filter: grayscale(100%);
  /* Chrome 19+ & Safari 6+ */
  -webkit-transition: all .5s ease;
  /* Fade to color for Chrome and Safari */
  -webkit-backface-visibility: hidden;
  /* Fix for transition flickering */
}
.project-image:hover {
	filter: none;
	-webkit-filter: grayscale(0%);
}
.project-image:hover .project-content {
	opacity: 1;
}

.project-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 15px;
  opacity: 0;
  -webkit-transition: all .5s ease;
}
.project-content span {
  display: block;
  font-weight: bold;
}

.project-single {
	background: #ffffff;
}
.project-gallery {
	clear: both;
}
.project-gallery img {
	width: 50%;
	float:left;
}

/* Pagination */

.project-pagination {
	clear: both;
	height: 100px;
	width: 100%;
	display: block;
}
.project-pagination .table {
	height: 100px;
}
.project-pagination .table-cell {
	text-align: left;
}
.project-prev {
	float: left;
}
.project-prev img {
	height:20px;
	margin: -2px 15px 0 0;
}

.project-next {
	float: right;
	text-align: right;
}
.project-next img {
	height:20px;
	margin: -2px 0 0 15px;
}

/* About */

.about-wrap {
  height: 540px;
	overflow: hidden;
}
.about-wrap .table {
  height: 540px;
}
.about-wrap .table-cell {
  text-align: left;
}
.about-padding {
	padding: 0 5%;
}
.about-item {
	background: #f9f9f9;
	float: left;
	width: 50%;
	height: 100%;
}
.about-image {
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.about-shuffle {
  display: none;
}


/* Process */

.process-wrap {
  height: 540px;
	overflow: hidden;
}
.process-wrap .table {
  height: 540px;
}
.process-wrap .table-cell {
  text-align: left;
}
.process-padding {
	padding: 0 5%;
}
.process-item {
	background: #f9f9f9;
	float: left;
	width: 50%;
	height: 100%;
}
.process-item ul {
    margin: 0;
    padding: 0 0 0 15px;
}
.process-item ul ul {
    margin: 15px 0 15px 30px;
}
.process-item ul ul li {
    list-style: circle;
}
.process-image {
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.process-shuffle {
	display: none;
}

/* Contact */

.contact {
	background: #f9f9f9;
}
.contact .nf-form-fields-required, .nf-form-title {
	display: none;
}
.contact-details {
	margin: 0 0 100px 0;
}

.contact-details span {
	display:  block;
	font-weight: bold;
}

.contact-details span img {
	height:20px;
	margin: -2px 0 0 15px;
}

.contact input[type="button"] {
    background: none;
    border: 0 none;
    border-radius: 0;
    font-size: inherit;
    font-weight: bold;
    line-height: 1;
    padding: 0;
		float: right;
		/*margin: 0 75px 0 0;*/
}



/* Homepage Hero */

.hero {
	height:100%;
	height:100vh;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.hero .table {
	height:100%;
	height: 100vh
}
.hero-container {
	display: table;
	width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
	text-align:center;
}
.hero-logo {
	display: table-cell;
	vertical-align: middle;
	display: block;
}
.hero-logo img {
	width: 300px;
}
.fade {
	opacity: 0.4;
}

/* General */

.table {
  display: table;
  width: 100%;
}
.table-cell {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.intro {
	padding-top: 100px;
	padding-bottom: 100px;
}

.text-center {
	text-align:center;
}




/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

html, body {
	height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000000;
	font-family: "proxima-nova", sans-serif;
	font-style: normal;
	font-size: 18px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 {
	font-size: 24px;
	margin: 0 0 20px;
}

h2 {
	font-size: 24px;
	margin: 0 0 20px;
}

p {
	margin: 0 0 20px;
}

p:last-child {
	margin: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: 0;
	background: #ffffff;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {

}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #000;
	border: 0;
	border-radius: 0;
	padding: 10px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #000;
}

textarea {
	width: 100%;
}

::-moz-placeholder {
  color:inherit !important;
  opacity:1 !important;
}

:-moz-placeholder {
  color:inherit !important;
  opacity:1 !important;
}

::-webkit-input-placeholder {
  color:inherit !important;
  opacity:1 !important;
}

:-ms-input-placeholder {
  color:inherit !important;
  opacity:1 !important;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #000;
}

a:visited {
	color: #000;
}

a:hover,
a:focus,
a:active {
	color: #000;
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.about-wrap {
	  height: auto;
	}
	.about-wrap .table {
	  display: block;
		height: auto;
	}
	.about-wrap .table-cell {
	  text-align: center;
	}
	.about-padding {
		padding: 100px 15px;
	}
	.about-item {
		float: none;
		width: 100%;
		height: auto;
	}
	.about-image {
		height: 540px;
	}
  .about-shuffle {
  	display: block;
  }
  .about {
  	display: none;
  }

	.process-wrap {
		height: auto;
	}
	.process-wrap .table {
		display: block;
		height: auto;
	}
	.process-padding {
		padding: 100px 5%;
	}
	.process-item {
		float: none;
		width: 100%;
		height: auto;
	}
	.process-image {
		height: 540px;
	}
  .process-shuffle {
    display: block;
  }
  .process {
    display: none;
  }

}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.project-gallery img {
		width: 100%;
		display: block;
		float: none;
	}
  .project-image {
    height: 50vh;
    width: 100%;
	}
  .project-content {

    opacity: 1;
  }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.logo img {
		width: 175px;
	}
	.menu {
		width: 100%;
		height: 100vh
	}
	.hero-logo img {
		width: 175px;
	}

	.about-image {
    height: 50vh;
	}
	.process-image {
    height: 50vh;
	}


}
