/*
Theme Name: Property Advisory v1.2
Theme URI: http://phillipwong.net/
Description: Theme for propertyadvisory.co.nz
Author: Phillip Wong
Author URI: http://phillipwong.net
Version: 1.2
License: Copyright © Phillip Wong
*/


/***** Reset *****/
/* http://meyerweb.com/eric/tools/css/reset/  -  v2.0 | 20110126  -  License: none (public domain)*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, textarea, time, mark, audio, video {margin:0; padding:0; border:0; font-size:0; font:inherit; vertical-align:baseline}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
body {line-height:1}
ol, ul {list-style:none}
blockquote, q {quotes:none}
blockquote:before, blockquote:after, q:before, q:after {content:''; content:none}
table {border-collapse:collapse; border-spacing:0}


/***** Universal *****/
.clear {
	clear: both;
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	width: 0;
}
.group:after {
	clear: both;
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}
* html .group {
	zoom: 1;
}
*:first-child+html .group {
	zoom: 1;
}
* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
input[type="submit"]::-moz-focus-inner {
	border: 0;
}
input[type="text"]:focus, textarea:focus {
	box-shadow: none;
	outline: none;
}
img {
	-ms-interpolation-mode: bicubic;
}


/***** TYPOGRAPHY *****/
html {
	-webkit-backface-visibility: hidden;
	-webkit-text-size-adjust: none;
}
body {
	position: relative;
}

h1,
h2,
h3,
h4,
h5,
p,
li,
input,
table,
blockquote,
input,
textarea, 
.btn,
.search {
	color: #333;
	font-family: Arial, sans-serif;
	line-height: 1.375em;
}
a {
	font-family: Arial, sans-serif;
}

h1 {
	color: #d45041;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25em;
	margin-bottom: 0.5em;
}
h2 {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25em;
}
h3 {
	color: #d45041;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 0.5em;
}
h4 {
	color: #d45041;
	font-size: 12px;
	font-weight: 700;
	padding-bottom: 0.5em;
}
h5 {
	line-height: 1.5em;
}
p {
	font-size: 12px;
	line-height: 1.5em;
	padding-bottom: 1.5em;
}
ul {
	list-style-type: none;
}
ol {
	list-style: decimal;
}
li {
	font-size: 12px;
	line-height: 1.75em;
}
a {
	color: #d45041;
	text-decoration: none;
}
blockquote {
	line-height: 1.5em;
}
input,
textarea {
	color: #333;
	display: block;
	font-size: 12px;
	line-height: 1.5em;
	margin: 0;
	padding: 6px;
}
::-webkit-input-placeholder {
	color: #333;
}
:-moz-placeholder {
	color: #333;
}
::-moz-placeholder {
	color: #333;
}
:-ms-input-placeholder {
	color: #333;
}

strong {
	font-weight: 700;
}
em {
	font-style: italic;
}

.word-break {
	word-wrap: break-word;
}

input,
textarea {
	background-color: #eee;
	border: 1px solid #ddd;
}
.btn {
	background: url(../../../media/i/btn-bg.png) repeat-x center center;
	border: none;
	color: #fff;
	display: inline-block;
	font-size: 12px;
	padding: 0.5em 2em;
}


/***** SLIDESHOW *****/
.rslides {
	list-style: none;
	overflow: hidden;
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
	z-index: 10;
}
.rslides li {
	padding-bottom: 65%;
	width: 100%;
}
.rslides li {
	-webkit-backface-visibility: hidden;
	display: none;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.rslides li:first-child {
	display: block;
	float: left;
	position: relative;
}
/*
.rslides img {
	border: 0;
	display: block;
	float: left;
	height: 315px;
	width: 100%;
}
*/

/***** LAYOUT *****/
.container {
	margin: 0 auto;
	padding: 10px;
	max-width: 960px;
	width: 100%;
}
.sidebar {
	float: left;
	padding: 32px 0 0;
	width: 100%;
}
.main_content {
	float: left;
	padding: 1em 0 0;
	width: 100%;
}
.main_content_small {
	float: left;
	width: 480px;
}
.main_content--home {
	/*width: 700px;*/
}


/***** HEADER *****/
header {
	border-bottom: 1px solid #eee;
}
header .container {
	position: relative;
	/*height: 120px;*/
	padding-top: 15px;
}
.header_logo {
	width: 180px;
}
a.menu-small {
	background-color: #d45041;
	border-radius: 3px;
	color: #fff;
	display: block;
	padding: 0.75em 0;
	position: absolute;
	right: 15px;
	text-align: center;
	top: 25px;
	width: 60px;
	z-index: 1000;
}
header.active a.menu-small span {
	display: none;
}
header.active a.menu-small:after {
	content: "Close";
	display: block;
}
.primary_nav {
	background-color: #00447C;
	left: 0;
	opacity: 0;
	padding-bottom: 1em;
	padding-top: 5em;
	position: absolute;
	top: 0;
	transform: translateY(-100%);
	transition: 0.3s transform ease-in, 0.2s transform ease-out, 0.1s opacity ease-in, 0.2s opacity ease-out;
	width: 100%;
	z-index: 900;
/*	bottom: 0;
	position: absolute;
	right: 10px;*/
}
header.active .primary_nav {
	opacity: 1;
	transform: translateY(0);
}
.primary_nav li {
	/*float: left;*/
	font-size: 15px;
}
.primary_nav li a {
	border-radius: 2px;
	color: #fff;
	display: block;
	padding: 0.5em 10px;
}
.primary_nav li.active a {
	background-color: #d45041;
}

/*
.search {
	background-color: #eee;
	font-size: 12px;
	line-height: 2em;
	padding: 4px;
	position: absolute;
	right: 10px;
	top: 0;
	width: 200px;
}
.search_icon {
	float: left;
	height: 24px;
	margin-right: 0;
}
.search input {
	border: none;
	height: 24px;
	margin-bottom: 0;
	width: 160px;
}
*/


/***** HERO *****/
.hero {
	position: relative;
}
.hero_overlay {
	align-items: center;
	background: transparent;
	background-color: #000;
	bottom: 0;
	display: flex;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#6C000000,endColorstr=#6C000000)"; background:rgba(0,0,0,0.4);
	left: 0;
	padding: 0 10px 0 10px;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 100;
}
.hero_overlay h2 {
	color: #e3e3e3;
	font-size: 24px;
	font-size: 9vw;
}


/***** SIDEBAR *****/
.sidebar ul li {
	background-color: #d45041;
	color: #fff;
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 6px;
}
.sidebar ul.sidebar__primary li a {
	color: #fff;
	display: block;
	padding: 5px 20px;
}
.sidebar .sidebar__twitter {
	background: #eee;
}
.sidebar .sidebar__twitter .sidebar__twitter__header {
	background-color: #bbbdc0;
}
.sidebar .sidebar__twitter .sidebar__twitter__header a {
	display: block;
	padding: 2px 20px;
}
.sidebar .sidebar__twitter h5 {
	color: #fff;
	display: inline-block;
	float: left;
	font-size:15px;
	font-weight: 700;
	line-height: 30px;
}
.sidebar .sidebar__twitter img {
	float: right;
	height: 32px;
}
.sidebar .sidebar__twitter__intro {
	padding: 0;
}
.sidebar .sidebar__twitter__intro a {
	display: block;
	padding: 10px 20px 0;
}
.sidebar .twitter_tweets {
	padding: 10px 20px;
}
.sidebar .twitter_tweets ul li {
	background: none;
	border-top: 1px dotted #ccc;
	font-weight: 400;
	padding: 1em 0 0;
}
.sidebar .twitter_tweets ul li p {
	padding-bottom: 1em;
}
.sidebar .twitter_tweets ul li a {
	color: #d45041;
}


/***** MAIN CONTENT *****/
.main_content ul {
	list-style: disc;
	margin-bottom: 1em;
	padding-left: 1em;
}
.main_content ol {
	margin-bottom: 1em;
	padding-left: 1em;
}
.main_content ol li {
	color: #d45041;
}
.main_content ul li {
	line-height: 1.5em;
	padding-bottom: 0.25em;
}
.main_content a:hover {
	border-bottom: 1px solid #d45041;
}
.main_content a.btn:hover {
	border-bottom: none;
}

.first_sentence {
	color: #d45041;
	font-size: 15px;
}

section {
	border-top: 1px dotted #ccc;
	padding: 1.25em 0 0.75em;
}
.main_content ul.in_page_nav {
	list-style: none;
	padding-left: 0;
}


/***** HOME *****/
.membership {
	margin: 1.5em 0 0;
}
.membership a:hover {
	border: none;
}
.membership__member {	
	margin: 0 1em;
	width: 120px;
}


/***** TEAM *****/
.team_wrapper {
	margin-top: 1em;
}
.team_wrapper a:hover {
	border-bottom: 1px solid #d45041;
}
.team_member__photo {
	float: left;
	margin-right: 20px;
	padding: 0 20px;
	width: 220px;
}
.team_member__photo img {
	float: left;
	padding: 0;
	width: 100%;
}
.team_member__details {
	float: left;
	padding: 1em 0 2em;
}
.team_member__details h2 {
	color: #d45041;
	font-size: 24px;
}
.team_member__details p {
	padding-bottom: 0;
}
p.team_member__qualification {
	padding: 0.75em 0;
}
.team_member__contact {
	padding: 0.75em 0;
}

.team_member__contact li {
	float: left;
}
.team_member__contact--vcard a {
	font-weight: 700;
}
.divider {
	padding: 0 0.75em;
}


/***** RESOURCES *****/
input#mce-EMAIL {
	-webkit-appearance: none;
	float: left;
	height: 32px;
	margin: 0;
	padding: 0 0.5em;
	width: 210px;
}
.submitnewsletter {
	-webkit-appearance: none;
	border-radius: 0px;
	cursor: pointer;
	display: inline-block;
	height: 32px;
}
.mc-field-group {
	padding-bottom: 1em;
}
.resources__links ul {
	list-style: none;
	padding-left: 0;
}


/***** CONTACT *****/
.contact-wrapper {
	border-bottom: 1px dotted #ccc;
	float: left;
	padding: 1em 0 2em;
	width: 100%;
}
.contact-wrapper ul {
	list-style: none;
	margin-bottom: 1em;
	padding-left: 0;
}
.contact-wrapper ul li {
	line-height: 1.375em;
}
.contact-wrapper ul li span {
	display: inline-block;
	width: 32px;
}
.contact-wrapper img {
	float: left;
	width: 100%;
}
.contact-wrapper__col1 {
	float: left;
	width: 100%;
}
.contact-wrapper__col2 {
	float: left;
	width: 100%;
}

.input__partial_width {
	width: 60%;
}
.input__full_width {
	width: 100%;
}
.contact label {
	display: none;
}
.contact input.btn {
	background: url(../../../media/i/btn-bg.png) repeat-x center center;
	display: inline-block;
	color: #fff;
	font-size: 12px;
	padding:0.5em 2em;
}
.contact_form_fields li {
	margin-bottom: 1em;
}
.contact_form_success {
	background-color: #f6f6f6;
	height: 350px;
	padding-top: 150px;
	text-align: center;
}
.contact_form_error {
	background-color: red;
}
.contact_form_field_error {
	padding: 3px 6px;
	background-color: orange;
}


/***** ARTICLES *****/
.article_feed article {
	border-top: 1px dotted #ccc;
	padding: 1.5em 0 1em;
}
.article_feed article h1 {
	margin-bottom: 0.25em;
}
p.article_meta {
	font-style: italic;
	font-weight: 700;
	padding-bottom: 0.5em;
}
p.article_meta span {
	padding: 0 0.25em;
}

.page_nav {
	font-weight: 400;
	font-size: 13px;
	text-align: center;
	text-transform: uppercase;
	padding: 1em 0 0;
}
.page_nav a {
	margin: 0 1.5em;
}
.single_post h1 {
	margin-bottom: 0.25em;
}
.inter_post_nav {
	margin: 2em 0 0;
	text-align: center;
}
.inter_post_nav h4 {
	color: #333;
	font-weight: 400;
	text-transform: uppercase;
}
.inter_post_nav a {
	font-size: 13px;
}
.newer_post {
	display: block;
	float: left;
	padding-right: 1em;
	text-align: right;
	width: 50%;
} 
.older_post {
	display: block;
	float: right;
	padding-left: 1em;
	text-align: left;
	width: 50%;
}
.back_to_blog {
	margin-top: 2em;
	text-align: center;
}
.back_to_blog a {
	font-size: 12px;
	padding-top: 2em;
	text-transform: uppercase;
}
.archives h1 {
	border-bottom: 1px dotted #ccc;
	padding-bottom: 0.5em;

}
.archives h3 {
	font-size: 16px;
}


/***** SEARCH RESULTS *****/
.search_results h1 {
	border-bottom: 1px dotted #ccc;
	padding-bottom: 0.5em;
}
.search_results h2 {
	font-size: 16px;
}
.search_results--posts {
	margin-bottom: 2em;
}
.search_results--posts__link {
	margin-bottom: 0.5em;
}


/***** FOOTER *****/
footer {
	background: url(../../../media/i/footer-bg.png) repeat center top;
	margin-top: 3em;
	padding: 1em 0;
}
footer a {
	color: #333;
}
footer ul {
	padding-bottom: 1em;
}
footer ul li {
	font-size: 12px;
	line-height: 1.375em;
}
footer .copyright p {
	color: #aaa;
	font-size: 12px;
}
footer .copyright a {
	color: #aaa;
}
footer .copyright a:hover {
	border-bottom: 1px solid #ccc;
}


/***** 404 *****/
ul.sitemap_nav {
	padding-left: 0;
}
ul.sitemap_nav > li {
	font-weight: 700;
	list-style: none;
	padding-bottom: 1em;
}
ul.sitemap_nav > li > ul {
	font-weight: 400;
	margin-top: 0.5em;
	padding-left: 1.25em;
}


/***** 404 *****/
.container--404 {
	margin-top: 6em;
	text-align: center;
	width: 540px;
}
a.logo_404:hover {
	border-bottom: none;
}
.container--404 .main_content p {
	font-size: 16px;
	padding: 0;
}
.container--404 .main_content img {
	margin-bottom: 1em;
}
ul.error_nav {
	padding-left: 0;
}
ul.error_nav li {
	display: inline-block;
	font-size: 14px;
	list-style: none;
	padding: 0.25em 0.75em;
}

@media screen and (min-width:500px) {
.rslides li {
	height: 315px;
	padding-bottom: 0;
}
}

@media screen and (min-width:700px) {
/***** HEADER *****/
.header_logo {
	width: 240px;
}
a.menu-small {
	display: none;
}
.primary_nav {
	background-color: #fff;
	bottom: 0;
	left: auto;
	opacity: 1;
	padding-bottom: 0;
	padding-top: 0;
	right: 10px;
	top: auto;
	transform: none;
	width: auto;
}
.primary_nav li {
	float: left;
}
.primary_nav li a {
	border-bottom: 7px solid #fff;
	color: #333;
}
.primary_nav li.active a {
	background-color: #fff;
	border-color: #d45041;
}


/***** HERO *****/
.hero_overlay {
	width: 220px;
}
.hero_overlay h2 {
	font-size: 36px;
}


.main-wrapper {
	position: relative;
}
.main_content {
	margin-left: 240px;
	width: calc(100% - 250px);
}

/***** SIDEBAR *****/
.sidebar {
	left: 0;
	margin-right: 20px;
	padding-top: 6px;
	position: absolute;
	top: 0;
	width: 220px;
}

/***** TEAM *****/
.team_member__details {
	width: calc(100% - 250px);
}

/***** FOOTER *****/
footer .container {
	padding-left: 250px;
}
}


@media screen and (min-width:1000px) {
/***** CONTACT *****/
.contact-wrapper {
	width: 700px;
}
.contact-wrapper__col1 {
	width: 220px;
}
.contact-wrapper__col2 {
	width: 480px;
}
}