/*
Theme Name: CM Projects
Theme URI: http://cmprojects.nz
Description: Responsive template for CM Projects
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: #525252;
    font: 14px/1.4 'Lato', sans-serif;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #dc951d;
}

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: #dbdbdb;
    margin: 20px 0;
}

hr {
    background-color: #dbdbdb;
}

hr.dotted-content-separator {
    background-color: transparent;
    border-top: 1px dotted #dbdbdb;
}

.wow {
    visibility: hidden;
}

/* =Colours
   ========================================================================== */

/* =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
   ========================================================================== */
.full-width {
    float: left;
    width: 100%;
    position: relative;
    min-width: 320px;
}

.wrapper {
    margin: 0 auto;
    position: relative;
    min-width: 300px;
    max-width: 960px;
    padding: 20px 10px;
}

#header-wrap {
    padding: 0 5%;
    max-width: 90%;
}

#hero-wrap,
#hero-02-wrap {
    padding: 0;
    max-width: 100%;
}

.inner-width {
    width: 100%;
    position: relative;
}

/* =Transition Effects
   ========================================================================== */
#navbar a,
#nav_menu-3 a,
#nav_menu-4 a,
.transition-effect,
.service-adv-img-inner:after {
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

.transition-effect-2,
.request-a-consultation-btn .enquire-today-btn:before {
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

/* =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%;
}

/* =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;
}

.margin-top-zero {
    margin-top: 0 !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-top-40 {
    margin-top: 40px !important;
}

.width-50 {
    width: 50%;
}

/* =Headings
   ========================================================================== */
h1,h2,h3,h4,h5,h6 {
    color: #3c3c3c;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 0.7em;
    text-transform: uppercase;
}

h1 {
    font-size: 28px;
}

h2 {
    color: #666;
    font-size: 24px;
}

h3 {
    color: #666;
    font-size: 23px;
}

h4 {
    color: #666;
    font-size: 22px;
}

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;
}

.table-services-01 {
    margin: 40px auto;
}

.table-services-01 td {
    width: 50%;
    color: #333;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}

.table-services-01 td {
    padding: 15px 10px;
}

/* =Header
   ========================================================================== */
#header {
    z-index: 1;
    background: #000;
}

#header-logo,
.site-description,
#navbar {
    float: left;
}

#header-logo {
    float: left;
    width: 195px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.site-description {
    color: #fff;
    margin-top: 55px;
    margin-left: 20px;
    letter-spacing: 10px;
    text-transform: uppercase;
    padding: 10px 0 10px 10px;
    font: 300 12px 'Oswald', sans-serif;
    border-left: 1px solid #fff;
}

#text-2,
#text-3,
#nav_menu-2 {
    float: right;
}

#text-2 {
    margin-top: 30px;
    margin-left: 30px;
}

#text-2 .widget-title {
    color: #fff;
    font-size: 10px;
    margin-bottom: 0;
    font-weight: 700;
    position: relative;
    padding-top: 25px;
    text-transform: uppercase;
}

#text-2 .widget-title,
#text-2 .textwidget {
    float: left;
}

#text-2 .textwidget {
    padding-left: 25px;
    margin-left: 25px;
    border-left: 1px solid #fff;
}

#text-2 .textwidget a {
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    font: 900 20px 'Lato', sans-serif;
}

#text-3 {
    position: relative;
    background: #292929;
}

#text-3:before {
    content: ' ';
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 5px;
    left: 0;
    bottom: 0;
    background: #dc951d;
}

#text-3 a {
    color: #fff;
    width: 122px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding-top: 54px;
    padding-bottom: 55px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

#nav_menu-2 {
    clear: right;
    margin-top: -50px;
}

/* =Main Navigation
   ========================================================================== */
#menu-toggle {
    width: 100%;
    color: #fff;
    clear: both;
    display: none;
    cursor: pointer;
    background: #dc951d;
    font: 20px 'Oswald', sans-serif;
}

#menu-toggle span {
    padding: 10px;
    display: block;
    position: relative;
}

#navbar {
    margin-top: 60px;
    margin-left: 8%;
}

#navbar .first-list-wrap > li {
    float: left;
    position: relative;
}

#navbar a {
    color: #fff;
    display: block;
}

#navbar .first-list-wrap > li > a {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 25px;
    text-transform: uppercase;
}

#navbar .first-list-wrap > li:hover > a,
#navbar .first-list-wrap > li.current-menu-item > a,
#navbar .first-list-wrap > li.current-menu-ancestor > a {
    color: #dc951d;
    background: #292929;
}

#navbar .first-list-wrap > li > ul {
    display: none;
    min-width: 100%;
    position: absolute;
    z-index: 999999999;
    background: #3c3c3c;
}

#navbar .first-list-wrap > li:hover > ul {
    display: block;
}

#navbar .first-list-wrap > li > ul > li {
    white-space: nowrap;
    border-top: 1px solid #333;
}

#navbar .first-list-wrap > li > ul > li:first-child {
    border-top: none;
}

#navbar .first-list-wrap > li > ul > li > a {
    padding: 8px 10px;
}

#navbar .first-list-wrap > li > ul > li:hover > a,
#navbar .first-list-wrap > li > ul > li.current-menu-item > a {
    color: #dc951d;
}

/* =Hero
   ========================================================================== */
body.home #hero {
    /*margin-top: -143px;*/
}

/* Featured image */
#hero-02-wrap {
    overflow: hidden
}

#hero-02-wrap img {
    width: 100%;
    min-width: 1670px;
    display: block;
    min-height: 450px;
}

.page-featured-img-wrap {
    position: relative;
}

#featured-img-caption-wrap {
    top: 0;
    max-width: 960px;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}

#featured-img-caption-inner {
    color: #000;
    max-width: 300px;
    position: absolute;
    margin: auto;
    top: 40px;
    text-align: center;
    border-top: 4px solid #dc951d;
}

#featured-img-caption-inner h2 {
    padding: 20px;
    font-weight: 700;
    margin-bottom: 1px;
    text-transform: uppercase;
    font-size: 26px !important;
    background: rgba(255,255,255,0.7);
}

#featured-img-caption-inner .featured-img-caption {
    padding: 30px;
    background: rgba(255,255,255,0.7);
}


/* =Main Content Container
   ========================================================================== */
#main {
    background: #fff;
    border-top: 2px solid #dc951d;
}

/* 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;
}

/* Gallery Style */
.gallery { margin: 0 auto 20px !important; }
.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
}

.gallery dt a {
    display: block;
}

.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 32.29166666666667% !important; margin-left: 1.5625% !important;}
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery img {
    border: none !important;
    background: #f2f2f2;
}

.gallery-columns-3 .gallery-item:nth-child(3n+1) {
    margin-left: 0 !important;
}

.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}
.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}
.gallery dl, .gallery dt { margin: 0; }
.gallery br+br { display: none; }

/* =Main Content Column
   -------------------------------------------------------------------------- */
.main-content-with-sidebar {
    width: 745px;
    float: left;
}

.site-content p {
    margin-bottom: 1.4em;
}

.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;
}

/* Services Adverts */
.services-adverts-wrap {
    padding-top: 15px;
}

.service-advert {
    float: left;
    width: 32.70833333333333%;
    margin-left: 0.9375%;
}

.service-advert:nth-child(3n+1) {
    clear: left;
    margin-left: 0;
}

.service-adv-img {
    margin-bottom: 15px;
    border-bottom: 2px solid #333;
}

.service-adv-img-inner {
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.service-adv-img-inner:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
}

.service-advert:hover .service-adv-img-inner:after {
    opacity: 1;
}

.service-adv-img-inner .img-read-more {
    top: -30px;
    z-index: 1;
    width: 100%;
    color: #fff;
    height: 30px;
    text-align: center;
    position: absolute;
    display: inline-block;
    font: 20px 'Oswald', sans-serif;
}

.service-advert:hover .service-adv-img-inner .img-read-more {
    top: 40%;
}

.service-advert h2 {
    color: #dc951d;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.services-page-adverts-wrap .service-advert {
    clear: none;
    margin-left: 0;
}

.services-page-adverts-wrap .service-advert {
    width: 48.95833333333333%;
}

.services-page-adverts-wrap .service-advert:nth-child(2n+1) {
    float: left;
    clear: left !important;
}

.services-page-adverts-wrap .service-advert:nth-child(2n) {
    float: right;
}

/* Request a Consultation Btn */
.request-a-consultation-btn h2 {
    text-align: center;
}

.request-a-consultation-btn .enquire-today-btn {
    color: #fff;
    font-weight: 700;
    overflow: hidden;
    text-align: center;
    background: #dc951d;
    position: relative;
    text-transform: uppercase;
    padding: 10px 30px 10px 10px;
    border-bottom: 5px solid #ac7414;
}

/* Testimonials */
.testimonial-post-summary {
    position: relative;
    margin-bottom: 30px;
    padding-left: 110px;
    border-bottom: 1px dotted #e8e8e8;
}

.testimonial-person-details ul {
    float: right;
    margin: 0 0 20px;
}

.testimonial-person-details ul li {
    margin-left: 1px;
    list-style: none;
    font-weight: 700;
    display: inline-block;
}

.testimonial-person-details ul li:first-child {
    margin-left: 0;
}

/* Contact Us Page */
.contact-table td {
    text-align: center;
}

.contact-table td h4 {
    margin-bottom: 0;
}

.contact-table tr:nth-child(2) td {
    width: 50%;
}

/* Contact Enquiry Button */
.contact-enquiry-btn {
    clear: both;
    margin: 30px auto 30px;
}

.contact-enquiry-btn ul {
    overflow: hidden;
}

.contact-enquiry-btn ul,
.contact-enquiry-btn ul li {
    margin: 0;
    position: relative;
}

.contact-enquiry-btn ul li {
    width: 50%;
    list-style: none;
    display: inline-block;
}

.contact-enquiry-btn ul li a {
    color: #fff;
    padding: 15px;
    display: block;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.contact-enquiry-btn ul li.internet-enquiry-btn {
    background: url(images/enquiry-bg.jpg) repeat;
}

.contact-enquiry-btn ul li.internet-enquiry-btn a:hover {
    color: #333;
}

.contact-enquiry-btn ul li.call-us-btn {
    background: #000;
}

.contact-enquiry-btn ul li.call-us-btn a:hover {
    color: #dc951d;
}

.contact-enquiry-btn ul li a small {
    display: block;
    font-size: 12px;
    font-weight: 400;
}

/* Pagination */
.wp-pagenavi {
    clear: both;
    text-align: center;
    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: #dc951d;
}

.wp-pagenavi span {
    color: #fff;
    background-color: #333;
}

.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;
}

/* Single Post Pagination */
.single-post-pagination {
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 15px;
    height: 70px;
    margin: auto;
    opacity: 0.8;
    background: #000;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    position: absolute;
}

.single-post-pagination:hover {
    opacity: 1;
    width: 25px;
}

.single-post-pagination.prev-post-link {
    left: 0;
    -webkit-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
}

.single-post-pagination.next-post-link {
    right: 0;
    -webkit-border-radius: 2px 0 0 2px;
    border-radius: 2px 0 0 2px;
}

.single-post-pagination span {
    width: 100%;
    height: 70px;
    display: block;
    position: relative;
}

.single-post-pagination span:before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    border: 5px solid #dc951d;
}

.single-post-pagination.prev-post-link span:before {
    left: 0;
    right: 6px;
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.single-post-pagination.next-post-link span:before {
    left: 6px;
    right: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

/* =Sidebar
   -------------------------------------------------------------------------- */
#tertiary {
    width: 235px;
    float: right;
}

/* =Footer
   ========================================================================== */
#footer {
    background: #000;
}

#footer-logo {
    float: left;
    width: 197px;
}

#nav_menu-3,
#nav_menu-4 {
    float: left;
}

#text-4,
#nav_menu-5 {
    float: right;
}

#text-4 {
    width: 74px;
    margin-top: 22px;
    margin-left: 30px;
}

#nav_menu-3,
#nav_menu-4 {
    margin-top: 30px;
}

#nav_menu-3 {
    margin-left: 130px;
}

#nav_menu-4 {
    margin-left: 100px;
}

#nav_menu-3 li,
#nav_menu-4 li {
    margin-bottom: 2px;
}

#nav_menu-3 li a,
#nav_menu-4 li a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

#nav_menu-3 li:hover > a,
#nav_menu-4 li:hover > a,
#nav_menu-3 li.current-menu-item > a,
#nav_menu-4 li.current-menu-item > a {
    color: #dc951d;
}

#nav_menu-3 li.current-menu-item > a,
#nav_menu-4 li.current-menu-item > a {
    text-decoration: underline;
}

#nav_menu-5 {
    margin-top: 47px;
}

#copyright {
    font-size: 10px;
    background: url(images/copyright-bg.png) repeat;
}

#copyright,
#copyright a {
    color: #fff;
}

#copyright a:hover {
    color: #dc951d;
}

#copyright-wrap {
    padding-top: 5px;
    padding-bottom: 5px;
}

.legal-info {
    float: left;
}

.website-by {
    float: right;
}

/* =Social Links
   ========================================================================== */
ul .social-icons {
    margin-left: 5px;
    display: inline-block;
}

ul .social-icons:first-child {
    margin-left: 0;
}

ul .social-icons a {
    width: 32px;
    height: 32px;
    display: block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

/* =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: #dc951d;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
 
body .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #333;
}
 
/* 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
   ========================================================================== */
ul .social-icons a,
#menu-toggle span:before,
#text-2 .widget-title:before,
.testimonial-post-summary:before,
.contact-enquiry-btn ul li.call-us-btn:before,
.contact-enquiry-btn ul li.call-us-btn a:before,
.contact-enquiry-btn ul li.internet-enquiry-btn a:before,
.request-a-consultation-btn .enquire-today-btn: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) {
    ul .social-icons a,
    #menu-toggle span:before,
    #text-2 .widget-title:before,
    .testimonial-post-summary:before,
    .contact-enquiry-btn ul li.call-us-btn:before,
    .contact-enquiry-btn ul li.call-us-btn a:before,
    .request-a-consultation-btn .enquire-today-btn:before,
    .contact-enquiry-btn ul li.internet-enquiry-btn a:before {
        background: url(images/sprite@2x.png) no-repeat;
        background-size: 250px 250px;
    }
}

#menu-toggle span:before,
#text-2 .widget-title:before,
.testimonial-post-summary:before,
.contact-enquiry-btn ul li.call-us-btn:before,
.contact-enquiry-btn ul li.call-us-btn a:before,
.request-a-consultation-btn .enquire-today-btn:before,
.contact-enquiry-btn ul li.internet-enquiry-btn a:before {
    content: ' ';
    display: inline-block;
    position: absolute;
}

#menu-toggle span:before,
#text-2 .widget-title:before,
.request-a-consultation-btn .enquire-today-btn:before {
    margin: auto;
}

#menu-toggle span:before {
    top: 0;
    bottom: 0;
    right: 15px;
    width: 26px;
    height: 22px;
    background-position: -200px -74px
}

#text-2 .widget-title:before {
    width: 21px;
    height: 18px;
    left: 0;
    right: 0;
    top: 0;
    background-position: -149px 0;
}

ul .icon-facebook a {
    background-position: 0 0;
}

ul .icon-facebook:hover > a {
    background-position: 0 -37px;
}

ul .icon-google-plus a {
    background-position: -37px 0;
}

ul .icon-google-plus:hover > a {
    background-position: -37px -37px;
}

ul .icon-builders-crack a {
    background-position: -74px 0;
}

ul .icon-builders-crack:hover > a {
    background-position: -74px -37px;
}

ul .icon-no-cowboys a {
    background-position: -111px 0;
}

ul .icon-no-cowboys:hover > a {
    background-position: -111px -37px;
}

ul .icon-twitter > a {
    height: 33px;
    background-position: -95px -151px;
}

ul .icon-twitter:hover > a {
    background-position: -95px -189px;
}

ul .icon-linked-in > a {
    width: 33px;
    height: 33px;
    background-position: -132px -151px;
}

ul .icon-linked-in:hover > a {
    background-position: -132px -189px;
}

.testimonial-post-summary:before {
    top: 0;
    left: 0;
    width: 90px;
    height: 70px;
    background-position: 0 -152px;
}

.contact-enquiry-btn ul li.call-us-btn:before {
    left: -59px;
    width: 60px;
    height: 73px;
    background-position: 0 -74px;
}

.contact-enquiry-btn ul li.internet-enquiry-btn a:before {
    left: -10px;
    bottom: -10px;
    width: 105px;
    height: 66px;
    background-position: -65px -74px;
}

.contact-enquiry-btn ul li.call-us-btn a:before {
    width: 71px;
    height: 66px;
    right: -8px;
    bottom: -10px;
    background-position: -175px 0;
}

.request-a-consultation-btn .enquire-today-btn:before {
    top: 0;
    bottom: 0;
    right: -20px;
    width: 20px;
    height: 21px;
    background-position: -175px -74px
}

.request-a-consultation-btn:hover .enquire-today-btn:before {
    right: 15px;
}

/* **************************************************************************
   **************************************************************************
   =Responsive Style
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ========================================================================== */

/* =Header
========================================================================== */
@media screen and (max-width: 649px) {
    #header-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #header-logo {
        float: none;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 98px !important;
    }
    
    .site-description {
        left: 0;
        right: 0;
        text-align: center;
        top: 67px !important;
    }
    
    #menu-toggle {
        display: block;
    }
    
    #navbar {
        width: 100%;
        clear: both;
        margin-top: 0;
        display: none;
        margin-left: 0 !important;
    }
    
    #navbar .first-list-wrap > li {
        width: 100%;
        float: none;
        clear: both;
    }
    
    #navbar .first-list-wrap > li.menu-item-has-children > a {
        position: relative;
    }
    
    #navbar .first-list-wrap > li.menu-item-has-children > a:before {
        content: '';
        display: inline-block;
        position: absolute;
        width: 0;
        height: 0;
        margin: auto;
        right: 15px;
        top: 5px;
        bottom: 0;
        border: 5px solid #fff;
        border-left-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
    
    #navbar .first-list-wrap > li > a {
        padding: 20px 15px;
        border-top: 1px solid #323232;
    }
    
    #navbar .first-list-wrap > li > ul {
        display: block;
        position: relative;
    }
    
    #navbar .first-list-wrap > li > ul > li > a {
        padding: 15px 30px;
    }
    
    #nav_menu-2 {
        display: none;
    }
    
    #text-2 {
/*        top: 0;
        right: 10px;
        position: absolute;*/
        display: none;
    }
    
    #text-3 {
        display: none;
    }
    
    #featured-img-caption-inner {
        left: 10px;
    }
}

@media screen and (min-width: 650px) {
    #navbar {
        display: block !important;
    }
}

@media screen and (min-width: 650px) and (max-width: 829px) {
    #navbar {
        float: right;
        margin-left: 0;
        margin-top: 15px;
    }
    
    #text-2 {
        clear: right;
        float: right;
    }
    
    #nav_menu-2 {
        clear: none;
        padding-top: 15px;
        margin-right: 20px;
    }
}

@media screen and (max-width: 859px) {
    #header-logo {
        width: 170px;
    }
    
    .site-description {
        top: 100px;
        letter-spacing: 5px;
    }
    
    #text-2 {
        margin-top: 20px;
    }
    
    #nav_menu-2 {
        margin-top: 10px;
    }
    
    #hero-02-wrap img {
        min-width: 0;
        min-height: 0;
    }
    
    #featured-img-caption-wrap {
        display: none !important;
    }
}

@media screen and (max-width: 982px) {
    #header-wrap {
        max-width: 960px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #text-3 {
        display: none;
    }
}

@media screen and (max-width: 1379px) {
    #text-2 {
        margin-left: 0;
    }
    
    #text-2 .textwidget {
        margin-left: 10px;
        padding-left: 10px;
    }
    
    #text-3 {
        z-index: 1;
        top: 0;
        left: 0;
        position: absolute;
    }
    
    #text-3 a {
        font-size: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    #navbar {
        margin-left: 20px;
    }
    
    #navbar .first-list-wrap > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #nav_menu-2 {
        margin-top: 10px;
    }
}

@media screen and (max-width: 1679px) {
    #header-logo {
        margin-bottom: 25px;
        margin-top: 16px;
    }
    
    .site-description {
        margin: 0;
        padding: 0;
        border: none;
        font-size: 9px;
        position: absolute;
    }
}

@media screen and (min-width: 860px) and (max-width: 1679px) {
    .site-description {
        top: 115px;
        letter-spacing: 6.5px;
    }
}

@media screen and (min-width: 1380px) and (max-width: 1679px) {
    #navbar {
        margin-left: 6%;
    }
}

@media screen and (min-width: 1680px) and (max-width: 1799px) {
    #navbar {
        margin-left: 30px;
    }
}
   
/* =Main Content Area
========================================================================== */
@media screen and (max-width: 599px) {
    .contact-enquiry-btn ul li.internet-enquiry-btn a:before {
        left: -30px;
    }
    
    .service-advert,
    .service-advert:first-child,
    .services-page-adverts-wrap .service-advert,
    .services-page-adverts-wrap .service-advert:nth-child(2n+1),
    .services-page-adverts-wrap .service-advert:nth-child(2n) {
        float: none;
        clear: both;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 20px;
    }
    
    h1,h2,h3,h4,h5,h6 {
        color: #3c3c3c;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px
    }
    
    h3 {
        font-size: 19px;
    }
    
    .testimonial-post-summary {
        padding-left: 60px;
    }
    
    .testimonial-post-summary:before {
        width: 45px;
        height: 35px;
        background-position: 0 -76px;
        background-size: 125px 125px;
    }
    
    .img-300 {
        width: 120px;
    }
}

@media screen and (max-width: 767px) {
    .columns-wrap .two-column {
        width: 100%;
        float: none !important;
        clear: both !important;
    }
    
    .contact-enquiry-btn ul li {
        width: 100%;
        float: none;
        clear: both;
    }
    
    .contact-enquiry-btn ul li.internet-enquiry-btn {
        margin-bottom: 2px;
    }
    
    .contact-enquiry-btn ul li.call-us-btn:before {
        display: none;
    }
}

@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 (max-width: 599px) {
    .table-services-01 td {
        width: 96%; 
        display: block;
        font-size: 14px;
        padding: 10px 2%;
        border-bottom: none;
    }
    
    .table-services-01 tr:last-child td:last-child {
        border-bottom: 1px solid #e8e8e8;
    }
}

@media screen and (min-width: 600px) and (max-width: 899px) {
    .table-services-01 td {
        font-size: 14px;
    }
}

@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: 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: 579px) {
    #nav_menu-3,
    #nav_menu-4,
    #footer-logo,
    #text-4,
    #nav_menu-5 {
        float: none;
        clear: both;
        margin: 0 auto 20px !important;
    }
    
    #nav_menu-3,
    #nav_menu-4 {
        max-width: 200px;
    }
    
    #nav_menu-3 {
        margin-bottom: 0 !important;
    }
    
    #nav_menu-3 ul li,
    #nav_menu-4 ul li {
        margin-bottom: 5px;
    }
    
    #nav_menu-4 ul li:last-child {
        margin-bottom: 0;
    }
    
    #nav_menu-3 ul li a,
    #nav_menu-4 ul li a {
        display: block;
        text-align: center;
    }
    
    #nav_menu-5 {
        width: 155px;
        margin-bottom:  0 !important;
    }
}

@media screen and (max-width: 767px) {
    #footer-logo {
        float: none;
        clear: both;
        margin: 0 auto;
    }
}

@media screen and (min-width: 580px) and (max-width: 767px) {
    #nav_menu-3 {
        margin-left: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 969px) {
    #nav_menu-3,
    #nav_menu-4 {
        margin-left: 50px;
    }
}