/*
Theme Name: Terrace Junction
Theme URI: http://www.macstudio.co.nz
Description: WordPress Theme
Author: Macstudio
Author URI: http://www.macstudio.co.nz
Version: Terrace Junction v1
Tags: MacStudio Design
*/

body {
	background: #fff;
	color: #767485;
	font-family: Raleway, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	margin: 0px;
	padding: 0px;
}
p {
	font-size: 1em;
	line-height: 1.5em;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
/* LINKS */

a:focus {
	outline: none;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
/* HEADINGS */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 1em;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
h1 {
	font-size: 1.8em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
	font-weight: 700;
	text-transform: uppercase;
}
h4 {
	font-size: 1em;
	font-weight: 700;
	color: #e6e6e6;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1.1em;
}
/* FOOTER */

#footer-left ul {
	margin: 0px;
	padding: 0px;
}
#footer-left li {
	list-style-type: none;
	padding: 0px;
	display: block;
	float: left;
	margin-top: 0px;
	margin-right: 15px;
	margin-bottom: 0px;
	margin-left: 0px;
}
/* STYLES */

.padding {
	padding: 10px;
}
.alignleft {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
.alignright {
	float: right;
	margin-bottom: 15px;
	margin-left: 15px;
}
.clear {
	clear: both;
}
.rounded {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	overflow: hidden;
}
.home-image, .col-3-home-image {
	background: #ccc;
	min-height: 100px;
}
.footer {
	background: #ccc;
}
.background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -99;
	margin: 0;
	padding: 0;
}
.rslides {
	width: 100%;
	height: 100%;
}
.rslides li {
	width: 100%;
	height: 100%;
}
.one, .two, .three, .four, .five {
	background-position: center;
}
.one {
	background-image: url(images/banner-1.jpg);
	background-size: cover;
}
.banner {
	height: 500px;
	width: 100%;
}
.relative {
	position: relative
}
.white {
	background: #fff;
	color: #349ab9;
}
.blue {
	background: #349ab9;
	color: #fff;
}
.dark-grey {
	background: #767485;
	color: #fff;
}
.light-grey {
	background: #e6e6e6;
	color: #349ab9;
}
.section {
	padding-top: 30px;
	padding-bottom: 30px;
}
#menu {
	background: #767485;
}
.menu-blue {
	position: absolute;
	height: 100%;
	width: 50%;
	left: 0;
	top: 0;
	background: #349ab9;
	z-index: 1;
	display: none;
}
.social {
	width: 100px;
	float: right;
}
.social img {
	max-width: 32px;
}
.margin-top {
	margin-top: 20px;
}
.footer-content {
	padding: 20px 0;
	text-align: center;
	color: #fff;
	font-size: 0.8em;
	line-height: 1.3;
}
.footer-content a,
.footer-content a:visited,
.footer-content a:active,
.footer-content a:link {
	color: #fff;
	font-weight: 700;
}
.footer-content a:hover {
	color: #e6e6e6;
}
.footer-address {
	font-weight: 700;
}
.clear {
	clear: both;
	overflow:hidden;
}
.whos-here-title {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	position: absolute;
	background: #fff;
	left: 50%;
	-webkit-transform: translate(-50%, -70%);
	z-index: 9999;
}
.whos-here-inner {
	width: 80%;
	text-align: center;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	position:  absolute;
	font-size: 1.5em;
	line-height: 1.2;
	color: #349ab9;
}
.whos-here-inner-underline {
	position: relative;
	left: 0;
	background: #767485;
	height: 3px;
	width: 80%;
	margin: 0 auto;
	margin-top: 5px;
}
#banner:after {
	content: '';
	height: 60px;
	width: 100%;
	background-image: url(images/banner-under.png);
	background-repeat: repeat;
	background-size: 18%;
	position: absolute;
	z-index: 1;
	bottom: -60px;
	left: 0;
}
.whos-floor-title {
	
}
.whos-floor-title {
	text-align: center;	
	font-weight: 700;
	font-size: 1.4em;
}
.whos-floor-title:before,
.whos-floor-title:after {
	border-top: 1px solid #767485;
	display: block;
	height: 1px;
	content: " ";
	width: 40%;
	position: absolute;
	left: 0;
	top: 0.55em;
	display: none;
}
.whos-floor-title:after {
	right: 0;  
	left: auto; 
}
.title-wrap {
	position: relative
}
.title-wrap-underline {
	position: relative;
	left: 0;
	background: #fff;
	height: 3px;
	width: 100px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.contact-image {
	margin: 10px;
	max-width: 32px;
}
.contact-inner a,
.contact-inner a:link,
.contact-inner a:visited,
.contact-inner a:active {
	color: #349ab9;
}
.contact-inner a:hover {
	color: #767485;
}
.side-image {
	max-width: 50px;
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
}
.whos-image-wrap {
	padding-bottom: 75%;
	position: relative;
	background: #fff;
}
.whos-image {
	position: absolute;
	left: 4%;
	top: 4%;
	width: 92%;
	height: 92%;
}
.whos-title {
	color: #767485;
	text-align: center;	
	font-size: 0.8em;
	text-transform: uppercase;
	margin-top: 5px;
}
.whos-here-page-content a:first-of-type .col-2 {
	margin-left: 0;
}
.whos-here-page-content a:nth-child(6n+1) .col-2 {
	margin-left: 0;
}
#map-canvas {
	padding-bottom: 40%;
}
#map-canvas img {
	min-width: none;
	max-width: none;
}
.whos-here-page-content .col-2 {
	width: 49%;
	clear: none;
	margin-left: 1%;
}
.whos-here-page-content a:nth-child(2n+1) .col-2 {
	margin-left: 0;
}
.whos-here-page-content a:nth-child(6n+1) .col-2 {
	margin-left: 0;
}

@media only screen and (min-width: 641px) {
.whos-floor-title:before,
.whos-floor-title:after {
	display: block;
	width: 35%;
}
.whos-here-page-content .col-2 {
	width: 15.2542%;
	margin-left: 1.6949%;
}

.whos-here-page-content a:nth-child(2n+1) .col-2 {
	margin-left: 1.6949%;
}
.whos-here-page-content a:nth-child(6n+1) .col-2 {
	margin-left: 0;
}

.col-3-home-image {
	width: 49.1525%;
	clear: none;
	margin-left: 1.6949%;
}
.zeroMargin_tablet {
	margin-left: 0;
}
.menu-blue {
	display: block;
}

}

/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 769px) {
.whos-floor-title:before,
.whos-floor-title:after {
	display: block;
	width: 35%;
}

.col-3-home-image {
	width: 23.7288%;
	margin-left: 1.6949%;
	clear: none;
}
.zeroMargin_desktop {
	margin-left: 0;
}
}
