/*
Theme Name: suburbanlaw
Theme URI: https://wordpress.org/themes/twentytwelve/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 99.99
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve

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.
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin:0;
  padding:0;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd{
  margin:0;
  padding:0;
}
body{
  background-color:#fff;
  font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6{
  font-weight:normal;
}
img{
  border:0px;
  max-width:100%;
}
a{
  text-decoration:none;
  outline:none;
  color:#000;
}
ul, ol{
  list-style-type:none;
}
.clear{
  clear:both;
}
.left{
  float:left;
}
.right{
  float:right;
}
.container{
	max-width:1280px;
	margin:0 auto;	
}
.header {
    font-size:24px;
	border-bottom:4px solid #fff;
	overflow:hidden;
        position: fixed;
        z-index: 10000000;
        width: 100%;
        top: 0;
}
.header .lefthead, .header .righthead {
    float: left;
    width: 50%;
	position:relative;
}
.header .lefthead {
	padding: 22px 10px 20px 40px;
	background:#85aac0;
}
.header .righthead {
	background:#000;
	color:#85aac0;
	padding:22px 40px 20px 10px;
}
span.call {
    float: right;
}
.logo1 {
    bottom: -15px;
    position: absolute;
    right: 10px;
}
.logo1 a{
	font-size:46px;
	color:#fff;
}
.logo2 {
    bottom: -24px;
    position: absolute;
    left: 10px;
}
.logo2 a{
	font-size:66px;
	color:#fff;
	font-weight:800;
}

div.flexslider {padding-top: 60px;}

.slides img {
    width: 100%;
}
.belt {
    padding: 40px 10px;
    text-align: center;
}
.belt > p {
    color: #85aac0;
    font-size: 53px;
	font-weight:300;
}
.belt span {
    color: #000;
	font-weight:400;	
}
.low-type ul li:nth-child(even) {
	background:#85aac0;
}
.low-type ul li:nth-child(odd) {
	background:#3d5665;
}
.low-type li {
    float: left;
    text-align: center;
    width: 33.33%;
	 padding: 110px 10px;
}
.low-type a {
    font-size: 38px;
	color:#fff;
}
.low-type a span {
    font-size: 56px;
    font-weight: 800;
}
.page-content {
    clear: both;
}
.wrapper {
    padding: 110px 5%;
}
.page-content h1 {
	color:#3d5665;
	margin-bottom:30px;
	font-size:40px;
}
.page-content p , .page-content ul li, .page-content a {
	font-size:16px;
        line-height: 24px;
        font-weight: 300;
}

.page-content a {background: #f6f6f6; border-radius: 3px; padding: 4px 15px; margin: 15px 0; display: inline-block}
.page-content a:hover {background: #3d5665; color: #ffffff;}
.page-content a:after {content: '>'; margin: 0 0 0 5px; font-size: 12px;}


.page-content p  {
	margin-bottom:10px;
	font-weight: 300;
 	line-height: 28px;
}

.page-content h2 {margin-bottom: 15px;}

.page-content ul {
	margin-top:30px;
}


.page-template-default .main {margin: 140px 5%;}
.page-template-default .page-content {
        width: 65%;
        float: left;
}

.widget-area {
  }

.left-wrapper {margin: 0;}

.two-col {width: 40%; float: left;}


.wrapper li::before {
    content: "-";
    padding-right: 8px;
}
.blogpost ul.blog-details > li {
    float: left;
    padding: 85px 60px;
    width: 33.33%;
	opacity:0.5;
}
.blogpost ul.blog-details > li:nth-child(odd) {
	background:#eef2f4;
}
.blogpost ul.blog-details > li:nth-child(even) {
	background:#fafafa;
}

.blogpost ul.blog-details > li, .blogpost ul.blog-details > li:hover {
-webkit-transition: opacity 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.blog-details h2{
	margin-bottom:30px;
}
.blog-details h2 a {
    font-size: 30px;
    font-weight: 600;
	display:block;
	line-height:30px;
}
.blog-details p{
	font-size:16px;
	font-weight: 300;
}
ul.blog-details > li > a {
    display: inline-block;
    margin: 30px 0;
    font-size:16px;
    text-transform: uppercase;
    padding: 5px 10px;
    background: #ffffff;
}
ul.blog-details > li .blogtag > ul > li{
	float:left;
}
ul.blog-details > li .blogtag > ul > li a {
    background: #3d5665 none repeat scroll 0 0;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    margin-right: 3px;
    padding: 5px 12px;
}
.footer{
	background:#3d5665;
        clear: both;
}
.footer-link{
	width:33.33%;
	margin:0 auto;
	padding:55px 50px;
	background:#85aac0;
}
.footer-link li {
    border-bottom: 1px solid #618092;
    padding: 10px 0;
}
.footer-link li:last-child {
    border-bottom: 0 none;
}
.footer-link > h2 {
    display: block;
    font-size: 32px;
    font-weight: 600;
	margin-bottom: 25px;
}
.footer-link a {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}
.slides > li {
    position: relative;
}
.slide-info {
    bottom: 14%;
    color: #fff;
    position: absolute;
    text-align: center;
    width: 100%;
}
.slide-info > p {
    font-size: 45px;
}
.slide-info > h3 {
    font-size: 66px;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 50px;
}
.mm-panels {
    background: #3d5666 none repeat scroll 0 0;
    border-right: 4px solid #fff;
    color: #fff;
}
nav a {
    font-size: 20px;
    font-weight: 300;
    padding: 14px 10px 14px 20px !important;
}
a.mm-title {
    color: #fff !important;
}
.mm-opening .lefthead .fa.fa-navicon:before {
	content: "\f00d" ;
}
.footer-link a:hover {
	color:#3d5665;
	transition:0.5s all;
	-o-transition:0.5s all;
	-webkit-transition:0.5s all;	
}
nav a:hover {
	color:#85AAC0;
	transition:0.5s all;
	-o-transition:0.5s all;
	-webkit-transition:0.5s all;	
}
.blogpost ul.blog-details > li:hover {
	background:#8ea7b6 !important;
}
.pagedesc {
    float: left;
    padding-right: 50px;
    width: 80%;
}
.sidebar {
    float: left;
    width: 20%;
}
#text-3 .textwidget > img {
    display: block;
    width: 100%;
}
.sidebar .widget-title {
    color: #3d5665;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px;
    padding-top: 20px;
}
#text-2, #text-4 {
    padding: 0 25px 25px;
	 background: #f6f6f6;
	 margin-bottom:20px;
}
.textwidget > ul {
    margin: 0;
}
.textwidget li::before {
    content: "";
    padding: 0;
}
.textwidget li {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.textwidget li span img {
    display: block;
}
.textwidget li span {
    display: inline-block;
    vertical-align: middle;
	padding-right: 20px;
}
.textwidget li:last-child {
    border: medium none;
}
.page-content.innerpages {
    overflow: hidden;
    padding-bottom: 50px;
}
.wpcf7-form input {
    border: 1px solid #ccc;
    height: 30px;
}
.wpcf7-form .wpcf7-submit {
    background: #85aac0 none repeat scroll 0 0;
    border: medium none;
    border-radius: 3px;
    font-size: 20px;
    padding: 0 25px;
}
.wpcf7-form .wpcf7-textarea {
    border: 1px solid #ccc;
}
.wpcf7 {
    padding-top: 30px !important;
}
.page-content h4 {
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 30px;
}
.branchdetails > h3 {
    color: #3d5665;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px;
}
.branchdetails {
    padding: 0 25px 25px;
}
.forbranches {
	background:#f6f6f6;
}
.branchdetails p {
    padding-left: 40px;
}
.address > p {
    background: rgba(0, 0, 0, 0) url("http://www.suburbanlaw.co.nz/dev/wp-content/uploads/2015/12/location.png") no-repeat scroll left top;
}
p.phone {
	background: rgba(0, 0, 0, 0) url("http://www.suburbanlaw.co.nz/dev/wp-content/uploads/2015/12/call.png") no-repeat scroll left center;
	margin-top: 20px;
}
p.mobile {
	background: rgba(0, 0, 0, 0) url("http://www.suburbanlaw.co.nz/dev/wp-content/uploads/2015/12/mobile.png") no-repeat scroll left center;
	margin-top: 20px;
}
p.fax {
	background: rgba(0, 0, 0, 0) url("http://www.suburbanlaw.co.nz/dev/wp-content/uploads/2015/12/fax.png") no-repeat scroll left center;
	margin-top: 20px;
}

ul.postlisting {margin: 0; padding: 0;}
ul.postlisting:hover li {opacity: 0.5; -webkit-transition: opacity 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;}
ul.postlisting li:hover {opacity: 1; }
.postlisting li {background: #f1f1f1; margin: 0 0 30px 0; padding: 15px;}
.postlisting li::before {display: none;}
.post-thumb {float: left; margin: 0 5% 20px 0;}
.postlisting li h1 {margin: 0;}
.postlisting li h1 a {font-size: 20px; margin: 0 0 10px 0;}
.postlisting li .postmeta {font-size: 13px; margin: 0;}

a.post-link {display: inline-block; padding: 5px 15px; color: #fff; background: #3d5665; float: right; font-size: 14px; text-transform: uppercase;}
.post-content:after {content: ""; display: block; clear: both;}
.attachment-large.wp-post-image {
    height: auto;
}
@media(max-width:1400px) {
.sidebar {
    width: 30%;
}
.pagedesc {
    padding-right: 30px;
    width: 70%;
}
@media(max-width:1340px) {
	.low-type a {
		font-size: 28px;
	}
	.low-type a span {
		font-size: 36px;
	}
	.low-type li {
		padding: 8% 10px;
	}


.low-type li { transition: all 0.5s ease-in-out; overflow: hidden; }
/*.low-type li:hover { transform: scale(1.1); font-size: 50px; }*/

	.belt > p {
		font-size:33px;
	}
	.slide-info > h3 {
		font-size:36px;
		 margin-bottom: 20px;
	}
	.slide-info > p {
		font-size: 25px;
	}
	.slide-info {
	    bottom: 8%;
	}
}
@media(max-width:1000px) {
	.logo1 {
	    bottom: -11px;
	}
	.logo1 a {
		font-size: 38px;
	}
	.logo2 a {
		font-size: 56px;
	}
	.logo2 {
	    bottom: -16px;
	}
	.page-content p, .page-content ul li, .page-content a {
		font-size: 14px;
                line-height: 20px;
	}


	.page-content h1 {
		font-size: 30px;
		margin-bottom: 20px;
	}
	.wrapper {
		padding: 50px 40px;
	}
	.blog-details h2 a {
	    font-size: 30px;
	}
	.blog-details p {
		font-size: 18px;
	}
	ul.blog-details > li .blogtag > ul > li a {
		font-size:12px;
	}
	.blogpost ul.blog-details > li {
		padding: 35px 20px;
	}
	.footer-link a {
		font-size: 22px;
	}
	.footer-link > h2 {
		font-size: 26px;
		margin-bottom: 10px;
	}
	.footer-link {
		padding: 25px 20px;
	}
	.main {
		padding-top: 66px;
	}
}
@media(max-width:840px) {
	.header {
		font-size: 18px;
	}
	.belt {
		padding: 20px 0;
	}
	.belt > p {
		font-size: 26px;
	}
	.low-type a {
		font-size: 20px;
	}
	.low-type a {
		font-size: 20px;
	}
}
@media(max-width:767px) {
	.low-type li {
		width:50%;
	}
	.header .lefthead {
		padding:15px 10px 15px 15px;
	}
	.header .righthead {
		padding:15px 15px 15px 10px;
	}
	.logo2 a {
		font-size: 46px;
	}
	.low-type ul li:nth-child(3n) {
		background:#85aac0 none repeat scroll 0 0;
	}
	.low-type ul li:nth-child(4n) {
		background:#3d5665;
	}
	.page-content p, .page-content ul li, .page-content a {
		font-size: 16px;
	}
	.blogpost ul.blog-details > li {
		width:100%;
	}
	.footer-link {
		width:inherit;
		max-width:420px;
	}
	.blog-details h2 {
		margin-bottom: 15px;
	}
	ul.blog-details > li > a {
		margin:15px 0;
	}
	#text-2, #text-4 {
		padding:0 15px 15px;
	}

	.pagedesc {float: none; width: 100%; padding: 0;}
	.sidebar {float: none; width: 100%; max-width: 600px; margin-top: 40px;}
}

@media(max-width:650px) {
	.two-col {float: none; width: 100%;}
}
@media(max-width:620px) {
	.slide-info > h3 {
		font-size: 26px;
		margin-bottom: 10px;
	}
	.slide-info > p {
		font-size: 20px;
	}
	.belt {
		padding: 10px 0;
	}
	.belt > p {
		font-size: 24px;
	}
	.blog-details p {
		font-size: 16px;
	}
	.header .lefthead, .header .righthead {
		padding-bottom:10px;
	}
	.pagedesc {
		float: none;
		padding-right: 0;
		width: 100%;
	}
	.sidebar {
		
	}
        span.call span, .menu-nav span {display: none;} /* show phone & menu icon only */
}
@media(max-width:480px) {
	.logo1 a {
		font-size: 24px;
	}
	.logo1 {
		bottom: -7px;
		right:5px;
	}
	.logo2 {
		bottom: -9px;
		left:5px;
	}
	.logo2 a {
		font-size: 30px;
	}
	.header {
		font-size: 25px;
	}
	.slide-info > h3 {
		font-size: 18px;
	}
	.slide-info > p {
		font-size: 14px;
	}
	.header .lefthead, .header .righthead {
		padding-bottom:10px;
	}
	.belt > p {
		font-size: 20px;
	}
	/*.low-type li {
		width: 100%;
	}
	.low-type ul li:nth-child(2n+1) {
		background: #3d5665 none repeat scroll 0 0 !important;
	}
	.low-type ul li:nth-child(2n) {
		background: #85aac0 none repeat scroll 0 0 !important;
	}*/
	.low-type a span {
		font-size: 26px;
	}
	.footer-link a {
		font-size: 18px;
	}
	nav a {
		font-size: 16px;
	}
	.page-content h1 {
		font-size: 24px;
	}
	.blogpost ul.blog-details > li {
		min-height:inherit !important;
	}
	.wrapper {
		padding: 30px 20px;
	}
}
.tagpage {
    float: left;
}