/*
Theme Name: Davenports West
Theme URI: http://www.davenportswest.co.nz
Description: Responsive template for Davenports West
Version: 09102014
Author: Web Revolution
Author URI: http://www.webrevolution.co.nz
*/

/* =CSS Reset
   ========================================================================== */
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,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}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:none}table{border-collapse:collapse;border-spacing:0}

/* =Global Styles
   ========================================================================== */
*:focus {
    outline: 0;
}

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

body {
    color: #333;
    background: #0d5cab;
    font: 14px/1.4 'Raleway', sans-serif;
}

a {
    color: #00937f;
    text-decoration: none;
}

a:hover {
    color: #004594;
}

em {
    font-style: italic;
}

strong {
    font-weight: 700;
}

sup, sub {
    font-size: 14px;
    position: relative;
    top: -0.9em;
    vertical-align: baseline;
}

sub {
    top: 0.9em;
}

hr,
hr.dotted-content-separator {
    border: 0;
    clear: both;
    height: 1px;
    display: block;
    color: #f2f2f2;
    margin: 40px 0;
}

hr {
    background: #0d5cab;
    background: -moz-linear-gradient(left,  #0d5cab 0%, #00937f 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#0d5cab), color-stop(100%,#00937f));
    background: -webkit-linear-gradient(left,  #0d5cab 0%,#00937f 100%);
    background: -o-linear-gradient(left,  #0d5cab 0%,#00937f 100%);
    background: -ms-linear-gradient(left,  #0d5cab 0%,#00937f 100%);
    background: linear-gradient(top right,  #0d5cab 0%,#00937f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d5cab', endColorstr='#00937f',GradientType=1 );
}

hr.dotted-content-separator {
    background-color: transparent;
    border-top: 1px dotted #f2f2f2;
}
:target:before {
    content: '';
    display: block;
    height: 53px;
    margin: -53px 0 0;
}

.max-width-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =Colours
   ========================================================================== */
.green {
    color: #00937f;
}

.blue {
    color: #0d5cab;
}

/* =Float - Display
   ========================================================================== */
.clearfix { *zoom: 1; }

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
    line-height: 0;
}

.clearfix:after {clear: both;}

.clear-both {clear: both;}

.clear-left {clear: left;}

.clear-right {clear: right;}

.float-left {float: left;}

.float-right {float: right;}

.display-block {display: block;}

.display-none {display: none;}

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

/* =Container Width
   ========================================================================== */
#page-wrap {
    z-index: 1;
    background: #fff;
    position: relative;
}

.full-width {
    float: left;
    width: 100%;
    position: relative;
    min-width: 320px;
}

.wrapper {
    margin: 0 auto;
    position: relative;
    min-width: 300px;
    max-width: 1000px;
    padding: 20px 10px;
}

.inner-width {
    width: 100%;
    position: relative;
}

/* =Transition Effects
   ========================================================================== */
#navbar a,
ul .social-icons a,
.transition-effect,
input[type="submit"] {
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

.service-advert h2 a:before,
.service-adv-content .find-out-more-btn {
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

/* =Wrapping Images
   ========================================================================== */
img.alignright { 
    float: right;
    margin: 0.1em 0 1em 1em;
}

img.alignleft {
    float: left;
    margin: 0.1em 1em 1em 0;
}

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

.alignright { float:right; }

.alignleft { float:left; }

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

/* Image Caption */
p.wp-caption-text {
    font-size: 0.9em;
    margin-bottom: 0;
}

/* Responsive Image */
img,
.widget img,
.wp-caption {
    max-width: 100%;
}

img,
img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
    height: auto;
    max-width: 100%;
}

.img-border {
    padding: 4px;
    -webkit-box-shadow: 0 0 2px 0 rgba(153,153,153,.4);
    box-shadow: 0 0 2px 0 rgba(153,153,153,.4);
}

/* =Font
   ========================================================================== */
.font-size-12 {
    font-size: 12px;
}

.font-size-14 {
    font-size: 14px;
}

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

.font-size-17 {
    font-size: 17px;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-19 {
    font-size: 19px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-22 {
    font-size: 22px;
}

.font-size-24 {
    font-size: 24px;
}

.font-size-26 {
    font-size: 26px;
}

.font-size-28 {
    font-size: 28px;
}

.font-size-30 {
    font-size: 30px;
}

.font-size-32 {
    font-size: 32px;
}

.font-size-34 {
    font-size: 34px;
}

.font-size-36 {
    font-size: 36px;
}

.font-size-38 {
    font-size: 38px;
}

.font-size-40 {
    font-size: 40px;
}

.line-height-1 {
    line-height: 1;
}

.line-height-2 {
    line-height: 1.1;
}

.line-height-3 {
    line-height: 1.2;
}

.line-height-4 {
    line-height: 1.3;
}

.line-height-5 {
    line-height: 1.4;
}

.line-height-6 {
    line-height: 1.5;
}

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

/* =Headings
   ========================================================================== */
h1,h2,h3,h4,h5,h6 {
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h1 {
    color: #0d5cab;
    font-size: 25px;
}

h2 {
    font-size: 23px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 19px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 17px;
}

/* =Tables
   ========================================================================== */
table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

td {
    padding: 10px;
    border: 1px solid #e8e8e8;
}

/* =Site notification
   ========================================================================== */
#site-notification {
	font-size: 14px;
	background: #ffcc00;
}

#site-notification-wrap {
	padding-top: 15px;
	padding-bottom: 15px;
}

#site-notification,
#site-notification a {
	color: #000;
}

#site-notification a {
	text-decoration: underline;
}

#site-notification a:hover {
	text-decoration: none;
}

#site-notification-inner *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}


/* =Header
   ========================================================================== */
#office-move {
    color: #fff;
    padding: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #c75110;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box;
}

#office-move a {
    color: #fff;
}

#office-move a:hover {
    color: #f2f2f2;
}

#header {
    background: #fff;
    border-top: 10px solid #00937f;
}

#header-logo {
    float: left;
    width: 280px;
}

#text-2,
#nav_menu-2 {
    float: right;
}

#text-2 {
    margin-top: 35px;
    margin-bottom: 20px;
}

#text-2 .phone-number {
    color: #0d5cab;
    font-size: 34px;
    font-weight: 300;
    text-align: right;
}

#nav_menu-2 {
    clear: right;
}

#text-5 {
    float: right;
    clear: right;
}

#text-5 a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 2px;
    position: relative;
    background: #de6827;
}

#text-5 a span {
    padding: 6px 20px;
    border:  2px solid #fff;
}

#text-5 a:hover {
    background: #c75110;
}

/* =Main Navigation
   ========================================================================== */
#toggle-buttons {
    display: none;
}

#toggle-buttons li {
    float: left;
    position: relative;
    width: 33.333333333%;
}

#toggle-buttons li#call-us-btn:before,
#toggle-buttons li#email-us-btn:before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
    background: #004594;
}

#toggle-buttons li a {
    color: #fff;
    width: 100%;
    display: block;
    cursor: pointer;
    font-size: 10px;
    text-align: center;
    position: relative;
    padding: 30px 0 8px;
}

#navigation {
    margin-bottom: 1px;
    background: #0d5cab;
}

#navigation-wrap {
    padding-top: 0;
    padding-bottom: 0;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
}

#navbar .first-list-wrap > li {
    float: left;
    position: relative;
    width: 14.28571428571429%;
}

#navbar .first-list-wrap > li:before,
#navbar .first-list-wrap > li:last-child:after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    background: #88afd6;
}

#navbar .first-list-wrap > li:last-child:after {
    right: 0;
}

#navbar .first-list-wrap > li:before {
    
    left: 0;
}

#navbar .first-list-wrap > li:first-child {
    margin-left: 0;
}

#navbar a {
    color: #fff;
    display: block;
    font-size: 17px;
    position: relative;
}

#navbar .first-list-wrap > li > a {
    padding: 14px 0;
    text-align: center;
}

#navbar .first-list-wrap > li.menu-item-has-children > a:after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 2px;
    border: 5px solid #88afd6;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

#navbar .first-list-wrap > li:hover > a {
    color: #0d5cab;
    background: #fff;
}

#navbar .first-list-wrap > li.current-menu-item > a,
#navbar .first-list-wrap > li.current-page-ancestor > a {
    color: #0d5cab;
    font-weight: 700;
    background: #fff;
}

#navbar .first-list-wrap > li > ul {
    display: none;
    min-width: 100%;
    z-index: 9999;
    position: absolute;
    border: 1px solid #83a8ba;
    background: #0d5cab;
    background: -moz-linear-gradient(top,  #0d5cab 0%, #0d59a5 16%, #0a437d 74%, #093d71 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0d5cab), color-stop(16%,#0d59a5), color-stop(74%,#0a437d), color-stop(100%,#093d71));
    background: -webkit-linear-gradient(top,  #0d5cab 0%,#0d59a5 16%,#0a437d 74%,#093d71 100%);
    background: -o-linear-gradient(top, #0d5cab 0%,#0d59a5 16%,#0a437d 74%,#093d71 100%);
    background: -ms-linear-gradient(top,  #0d5cab 0%,#0d59a5 16%,#0a437d 74%,#093d71 100%);
    background: linear-gradient(top bottom, #0d5cab 0%,#0d59a5 16%,#0a437d 74%,#093d71 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d5cab', endColorstr='#093d71',GradientType=0 );
}

#navbar .first-list-wrap > li:hover > ul {
    display: block;
}

#navbar .first-list-wrap > li > ul > li {
    white-space: nowrap;
    border-top: 1px solid #2f679e;
}

#navbar .first-list-wrap > li > ul > li:first-child {
    border: none;
}

#navbar .first-list-wrap > li > ul > li > a {
    padding: 15px;
    font-size: 16px;
}

#navbar .first-list-wrap > li > ul > li:hover > a,
#navbar .first-list-wrap > li > ul > li.current-menu-item > a {
    background: #00937f;
}

/* Fixed Navigation */
#navigation.fixed-navigation {
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
}

#navigation.fixed-navigation #navigation-wrap {
    padding: 0;
    max-width: 100%;
}

/* =Hero
   ========================================================================== */
#hero {
    z-index: -1;
}

#hero,
#hero-2 {
    background: #fff;
    margin-bottom: 1px;
}

#hero-wrap,
#hero-2-wrap {
    padding: 0;
    max-width: 100%;
}

#hero-wrap img,
#hero-2-wrap img {
    width: 100%;
}

#hero-2-wrap img {
    display: block;
}

/* =Main Content Container
   ========================================================================== */
#main {
    background: #fff;
}

#content-wrap {
    padding-top: 40px;
}

/* Two Columns Layout */
.columns-wrap .two-column {
    width: 48%;
}

.columns-wrap .two-column:nth-child(2n+1) {
    float: left;
    clear: left;
}

.columns-wrap .two-column:nth-child(2n) {
    float: right;
}

/* Three Columns Layout */
.columns-wrap .three-column {
    float: left;
    width: 33.33333333%;
}

.columns-wrap .three-column .custom-inner-div-2 {
   padding: 0 20px; 
}

.columns-wrap .three-column:nth-child(3n+1) {
    clear: left;
}


/* =Main Content Column
   -------------------------------------------------------------------------- */
.main-content-with-sidebar {
    width: 745px;
    float: left;
}

.site-content p {
    margin-bottom: 1.6em;
}

.site-content ul,
.site-content ol {
    margin-left: 15px;
    margin-bottom: 1.5em;
}

.site-content li {
    margin-bottom: 0.5em;
}

.site-content ul > li {
    list-style: disc;
}

.site-content ol > li {
    list-style: decimal;
}

.site-content ul > li > ul,
.site-content ol > li > ol {
    margin: 0.5em 0 0.5em 2.2em;
}

.site-content ul > li > ul > li {
    list-style: circle;
}

.site-content ol > li > ol > li {
    list-style: lower-roman;
}

.site-content ul.payment_methods li {
    list-style: none;
}

/* Intro Content */
#home-intro-content,
#intro-title-cnt {
    color: #fff;
    background: #0d5cab;
}

#home-intro-content {
    font-size: 18px;
    text-align: center;
}

#page-intro-title {
    float: left;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
}

#intro-title-contact-btn {
    color: #fff;
    float: right;
    font-size: 14px;
    font-weight: 700;
    background: #00937f;
    padding: 15px 22px 14px;
    text-transform: uppercase;
    border-left: 4px solid #fff;
}

#intro-title-contact-btn:hover {
    background: #008672;
}

/* Services adverts */
.services-adverts-wrap .service-advert {
    width: 32%;
    float: left;
    margin-left: 2%;
    margin-bottom: 20px;
    background: #fdfdfd;
}

.services-adverts-wrap .service-advert:nth-child(3n+1) {
    clear: left;
    margin-left: 0;
}

.service-advert h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1px;
}

.service-advert h2 a {
    color: #fff;
    position: relative;
    background: #00937f;
    padding: 15px 20px 15px 25px;
}

.service-advert h2 a:before {
    content: '';
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 5px;
    height: 100%;
    top: 0;
    left: 0;
    background: #0d5cab;
}

.service-advert h2:hover a:before {
    width: 100%;
}

.service-advert h2 a span {
    z-index: 2;
    position: relative;
}

.advert-thumb img {
    width: 100%;
}

.service-adv-content {
    padding: 10px 10px 50px;
    border: 1px solid #f1f1f1;
    border-top: none;
    position: relative;
}

.service-adv-content p {
    margin-bottom: 0;
    text-align: justify;
}

.service-adv-content .find-out-more-btn {
    right: 0;
    bottom: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 6px 12px;
    position: absolute;
    background: #0d5cab;
    display: inline-block;
    text-transform: uppercase;
}

.service-adv-content .find-out-more-btn:hover {
    -webkit-box-shadow:inset 0 0 0 20px #004594;
    box-shadow:inset 0 0 0 20px #004594;
}

/* Property */
.property-law-btns a {
    width: 48.5%;
    color: #fff;
    font-size: 18px;
    position: relative;
    text-align: center;
    background: #00937f;
}

.property-law-btns a span {
    display: block;
    padding: 100px 15px 25px;
}

.property-law-btns a:hover {
    background: #008672;
}

/* Blog Layout */
.post-summary-wrap {
    margin-bottom: 30px;
	padding-bottom: 30px;
    border-bottom: 1px dotted #e8e8e8;
}

/* Pagination */
.wp-pagenavi {
    clear: both;
    margin-bottom: 10px;
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 5px 10px !important;
    font-size: 16px !important;
    font-weight: normal !important;
    border: none !important;
    display: inline-block;
}

.wp-pagenavi a {
    color: #fff;
    background-color: #555;
}

.wp-pagenavi a:hover {
    background-color: #00937f;
}

.wp-pagenavi span {
    color: #fff;
    background-color: #2f679e;
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
    color: #fff;
    background-color: #ccc;
}

.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.nextpostslink:hover {
    color: #fff;
    background-color: #333;
}

/* =Sidebar
   -------------------------------------------------------------------------- */
#tertiary {
    width: 235px;
    float: right;
}

#tertiary .widget {
    margin-top: 20px;
}

#tertiary .widget:first-child {
    margin-top: 0;
}

#categories-2 .widget-title {
    font-size: 25px;
    padding-bottom: 39px;
    border-bottom: 1px solid #00937f;
}

#categories-2 ul {
    margin-left: 15px;
}

#categories-2 ul li {
    list-style: square;
}

#categories-2 ul li a {
    display: block;
    margin-bottom: 5px;
}

#categories-2 ul li ul li {
    list-style: disc;
}

/* =Footer
   ========================================================================== */
#footer {
    z-index: -2;
    min-height: 380px;
    position: relative;
}

#footer,
#footer a {
    color: #fff;
}

#footer-columns-wrap {
    bottom: 20px;
    z-index: -1;
    width: 97.98387096774194%;
    min-width: 0;
    max-width: 1000px;
    position: fixed;
}

#footer .widget {
    margin-bottom: 20px;
}

#footer .widget-title,
#text-3 h3 {
    margin-bottom: 15px;
    text-decoration: underline;
}

#text-3 h3:hover {
    text-decoration: none;
}

.footer-columns {
    float: left;
    margin-left: 3%;
    width: 31.33333333333333%;
}

.footer-columns.footer-col-1 {
    margin-left: 0;
}

#nav_menu-3 ul li {
    margin-bottom: 3px;
}

#text-3 address {
    margin-bottom: 20px;
}

#footer-google-map {
    border: 1px solid #fff;
}

#footer-google-map iframe {
    display: block;
}

#footer #text-3,
#footer #nav_menu-4 {
    margin-bottom: 0;
}

#footer-logo {
    float: right;
    clear: both;
    max-width: 184px;
    margin-bottom: 20px;
}

#copyright {
    clear: both;
    font-size: 10px;
    text-align: right;
}

#footer .website-by {
    color: #96c7ff;
}

#footer .website-by:hover {
    color: #fff;
}

#toTop {
    bottom: 0;
    z-index: 99;
    right: 20px;
    width: 35px;
    height: 35px;
    display: block;
    position: fixed;
    cursor: pointer;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

/* =Social Links
   ========================================================================== */
ul .social-icons {
    margin-left: 3px;
    display: inline-block;
}

ul .social-icons:first-child {
    margin-left: 0;
}

ul .social-icons a {
    width: 30px;
    height: 30px;
    display: block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

ul .social-icons:hover a {
    opacity: 0.7;
}

/* =Forms (Enquiry & Search)
   ========================================================================== */
input,
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
 
input[type=checkbox] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}
 
input[type=radio] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}
 
body .gform_wrapper {
    margin: 0;
    max-width: 100%;
    margin-bottom: 20px;
}

.ui-datepicker {
    position: absolute;
}

.sub-label-highlight {
    font-weight: bold;
}

body .gform_wrapper .gform_body .gform_fields .gfield,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    position: relative;
    margin: 0 0 10px 0 !important;
    padding-left: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    font-weight: normal;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-top: 9px;
    margin-left: 0;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container {
    padding: 0 !important;
    margin: 0 !important;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
body .gform_wrapper li.gfield_html {
    max-width: 100%;
}
 
body .gform_wrapper .ginput_complex .ginput_right input[type="text"],
body .gform_wrapper .ginput_complex .ginput_right input[type="url"],
body .gform_wrapper .ginput_complex .ginput_right input[type="email"],
body .gform_wrapper .ginput_complex .ginput_right input[type="tel"],
body .gform_wrapper .ginput_complex .ginput_right input[type="number"],
body .gform_wrapper .ginput_complex .ginput_right input[type="password"],
body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span.name_last input[type="text"] {
    width: 99% !important;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield input,
body .gform_wrapper .gform_body .gform_fields .gfield textarea,
body .gform_wrapper .gform_body .gform_fields .gfield select {
    width: 99%;
    border: none;
    padding: 8px 0.5%;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 0 1px #e0e0e0;
    box-shadow: inset 0 0 0 1px #e0e0e0;
}

body .gform_wrapper .gform_body .gform_fields .gfield select {
    max-width: 300px;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield input:focus,
body .gform_wrapper .gform_body .gform_fields .gfield textarea:focus,
body .gform_wrapper .gform_body .gform_fields .gfield select:focus {
    -webkit-box-shadow: inset 0 0 0 1px #84e6ff;
    box-shadow: inset 0 0 0 1px #84e6ff;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio li input[type=radio] {
    -webkit-box-shadow: none;
    box-shadow: none;
}

body .gform_wrapper .gform_footer { *zoom: 1; }

body .gform_wrapper .gform_footer:before,
body .gform_wrapper .gform_footer:after {
    content: "";
    display: table;
    line-height: 0;
}

body .gform_wrapper .gform_footer:after {clear: both;}
 
body .gform_wrapper .gform_footer input[type=submit] {
    color: #fff;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 12px 8px;
    background: #00937f;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
 
body .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #008672;
}
 
/* Error Message */
body .gform_wrapper .validation_error {
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 98% !important;
    color: #fff !important;
    border: none !important;
    font-size: 14px !important;
    position: fixed !important;
    padding: 10px 1% !important;
    z-index: 999999999 !important;
    text-align: center !important;
    font-weight: normal !important;
    background: rgba(255,0,0,0.9) !important;
}
 
body .gform_wrapper .top_label .gfield_error,
body .gform_wrapper .top_label .gfield_error .ginput_container {
    width: 100%;
    max-width: 100%;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .gfield_label {
    color: #000;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error input,
body .gform_wrapper .gform_body .gform_fields .gfield_error textarea {
    -webkit-box-shadow:inset 0 0 0 1px #f00;
    box-shadow:inset 0 0 0 1px #f00;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .gfield_checkbox li label {
    color: #f00;
}
 
body .gform_wrapper li.gfield.gfield_error,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    padding: 0 !important;
    margin: 0 !important;
    border: none;
    background: none;
}
 
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    padding: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_hour,
body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_minute,
body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_ampm {
    width: 60px;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message {
    display: none !important;
}
 
/* Success Message */
body .gform_confirmation_wrapper {
    top: 0 !important;
    left: 0 !important;
    width: 98% !important;
    color: #fff !important;
    font-size: 14px !important;
    position: fixed !important;
    padding: 10px 1% !important;
    text-align: center !important;
    z-index: 999999999 !important;
    background: rgba(41,154,77,0.9) !important;
}
 
@media screen and (max-width: 767px) {
    body .gform_wrapper .ginput_complex .ginput_right input[type="text"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="url"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="email"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="tel"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="number"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="password"],
    body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span.name_last input[type="text"] {
        width: 98% !important;
    }
     
    body .gform_wrapper .gform_body .gform_fields .gfield input,
    body .gform_wrapper .gform_body .gform_fields .gfield textarea {
        width: 98%;
        padding: 8px 1%;
    }
}

/* =Sprite
   ========================================================================== */
#toTop,
ul .social-icons a,
.property-law-btns a:before,
#toggle-buttons li a:before {
    background: url(images/sprite@1x.png) no-repeat;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    #toTop,
    ul .social-icons a,
    .property-law-btns a:before,
    #toggle-buttons li a:before {
        background: url(images/sprite@2x.png) no-repeat;
        background-size: 250px 250px;
    }
}

.property-law-btns a:before,
#toggle-buttons li a:before {
    content: '';
    display: inline-block;
    position: absolute;
}

.property-law-btns a:before,
#toggle-buttons li a:before {
    margin: auto;
}

#toggle-buttons li a:before {
    left: 0;
    right: 0;
    top: 11px;
}

#toggle-buttons li#menu-toggle a:before {
    width: 18px;
    height: 16px;
    background-position: -40px -70px;
}

#toggle-buttons li#call-us-btn a:before {
    width: 18px;
    height: 16px;
    background-position: -63px -70px;
}

#toggle-buttons li#email-us-btn a:before {
    width: 16px;
    height: 16px;
    background-position: -86px -70px;
}

ul .social-icons.icon-facebook a {
    background-position: 0 0;
}

#nav_menu-4 ul .social-icons.icon-facebook a {
    background-position: 0 -35px;
}

ul .social-icons.icon-google-plus a {
    background-position: -35px 0;
}

#nav_menu-4 ul .social-icons.icon-google-plus a {
    background-position: -35px -35px;
}

ul .social-icons.icon-twitter a {
    background-position: -70px 0;
}

#nav_menu-4 ul .social-icons.icon-twitter a {
    background-position: -70px -35px;
}

ul .social-icons.icon-linked-in a {
    background-position: -105px 0;
}

#nav_menu-4 ul .social-icons.icon-linked-in a {
    background-position: -105px -35px;
}

#toTop {
    background-position: 0 -70px;
}

.property-law-btns a:before {
    top: 30px;
    left: 0;
    right: 0;
}

.property-law-btns a.commercial-property-law-btn:before {
    width: 70px;
    height: 56px;
    background-position: 0 -110px;
}

.property-law-btns a.residential-property-law-btn:before {
    width: 62px;
    height: 56px;
    background-position: -80px -110px;
}

/* **************************************************************************
   **************************************************************************
   =Responsive Style
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ========================================================================== */

/* =Header
========================================================================== */
@media screen and (max-width: 599px) {
    #header-logo {
        width: 110px;
    }
    
    #text-2 {
        width: 160px;
        margin-top: 0;
        margin-bottom: 5px;
    }
    
    #text-2 .phone-number {
        display: none;
    }
    
    #text-2 address {
        font-size: 14px;
        text-align: right;
    }
    
    #home-intro-content {
        font-size: 14px;
    }
    
    #text-5 a {
        font-size: 12px;
    }
    
    #text-5 a span {
        padding: 4px 5px;
    }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
    #header-logo {
        width: 130px;
    }
    
    #text-2 {
        margin-top: 0;
        margin-bottom: 15px;
    }
    
    #text-2 .phone-number {
        font-size: 22px;
    }
    
    #text-2 address {
        font-size: 12px;
    }
}

@media screen and (max-width: 767px) {
    #toggle-buttons {
        display: block;
    }
    
    #navigation-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    
    #navbar {
        display: none;
    }
    
    #navbar .first-list-wrap > li {
        float: none;
        clear: both;
        width: 100%;
    }
    
    #navbar .first-list-wrap > li:before,
    #navbar .first-list-wrap > li:last-child:after {
        display: none;
    }
    
    #navbar .first-list-wrap > li > a {
        padding: 15px;
        text-align: left;
        border-top: 1px solid #88afd6;
    }
    
    #navbar .first-list-wrap > li.menu-item-has-children > a:after {
        top: 5px;
        bottom: 0;
        right: 15px;
        left: inherit;
    }
    
    #navbar .first-list-wrap > li > ul {
        display: block;
        border-left: none;
        border-right: none;
        position: relative;
        background: #333;
    }
    
    #navbar .first-list-wrap > li > ul > li {
        white-space: normal;
        border-top-color: #1c1c1c;
    }
    
    #navbar .first-list-wrap > li > ul > li > a {
        font-size: 13px;
        padding: 18px 15px 18px 30px;
    }
    
    #page-intro-title {
        font-size: 16px;
        max-width: 160px;
        margin-top: 2px;
    }
    
    #intro-title-contact-btn {
        font-size: 10px;
        padding: 5px 8px 4px;
    }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    #header-logo {
        width: 170px;
    }
    
    #text-2 {
        margin-top: 0;
    }
}
   
/* =Main Content Area
========================================================================== */
@media screen and (max-width: 599px) {
    .services-adverts-wrap .service-advert {
        width: 100%;
        max-width: 300px;
        clear: both !important;
        float: none !important;
        margin: 0 auto 20px !important;
    }
    
    .services-adverts-wrap .service-advert:last-child {
        margin-bottom: 0 !important;
    }
}

@media screen and (max-width: 699px) {
    .img-size-120 {
        width: 120px !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
    .services-adverts-wrap .service-advert {
        width: 48%;
        margin-left: 0;
    }
    
    .services-adverts-wrap .service-advert:nth-child(3n+1) {
        clear: inherit; 
    }
    
    .services-adverts-wrap .service-advert:nth-child(2n+1) {
        clear: left; 
    }
    
    .services-adverts-wrap .service-advert:nth-child(2n) {
        float: right;
    }
    
    .service-advert h2 {
        font-size: 13px;
    }
    
    .service-advert h2 a {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .service-adv-content .find-out-more-btn {
        font-size: 12px;
    }
}

@media screen and (max-width: 767px) {
    .columns-wrap .two-column,
    .columns-wrap .three-column {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    
    .location-map-wrap iframe {
        height: 200px;
    }
}

@media screen and (max-width: 799px) {	
    .main-content-with-sidebar,
    #tertiary {
        float: none;
        clear: both;
        width: 100%;
    }
    
    .main-content-with-sidebar {
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 800px) {
    .main-content-with-sidebar {
        width: 66.57929226736566%;
    }
}

@media screen and (min-width: 825px) {
    .main-content-with-sidebar {
        width: 67.63959390862944%;
    }
}

@media screen and (min-width: 850px) {
    .main-content-with-sidebar {
        width: 68.63468634686347%;
    }
}

@media screen and (min-width: 875px) {
    .main-content-with-sidebar {
        width: 69.57040572792363%;
    }
}

@media screen and (min-width: 900px) {
    .main-content-with-sidebar {
        width: 70.45191193511008%;
    }
}

@media screen and (min-width: 925px) {
    .main-content-with-sidebar {
        width: 71.28378378378378%;
    }
}

@media screen and (min-width: 950px) {
    .main-content-with-sidebar {
        width: 72.07009857612267%;
    }
}

@media screen and (min-width: 975px) {
    .main-content-with-sidebar {
        width: 72.81449893390192%;
    }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    .service-advert h2 {
        font-size: 14px;
    }
}

@media screen and (min-width: 1000px) {
    .main-content-with-sidebar {
        width: 73.5202492211838%;
    }
}

@media screen and (min-width: 1037px) {
    .main-content-with-sidebar {
        width: 74.5%;
    }
}

/* =Footer
========================================================================== */
@media screen and (max-width: 599px) {
    #footer {
        z-index: inherit;
    }
    
    #footer-columns-wrap {
        z-index: inherit;
        bottom: inherit;
        position: relative;
        width: 100% !important;
    }
    
    .footer-columns {
        float: none;
        clear: both;
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0 auto 20px !important;       
    }
    
    .footer-columns:last-child {
        margin-bottom: 0 !important;
    }
    
    #footer-logo {
        float: none;
        width: 140px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #copyright {
        text-align: center;
    }
}

@media screen and (min-width: 600px)and (max-width: 799px) {
    #footer {
        height: 315px;
    }
    
    #footer-columns-wrap {
        width: 97.33688415446072%;
    }
}