/*
Theme Name: Titan Pest Control
Theme URI: http://titanpestcontrol.co.nz
Description: Responsive template for Titan Pest Control
Version: 13082016
Author: Web Revolution
Author URI: http://www.webrevolution.co.nz
Tags: super, awesome, cool, sweet
*/

/*--------------------------------------------------------------
# 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}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
*:focus {
    outline: 0;
}

html,
body {
    overflow-x: hidden;
}

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

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    color: #333;
    background: #fff;
    font: 16px/1.5 Arial, sans-serif;
}

hr {
    border: 0;
    height: 1px;
    clear: both;
    display: block;
    margin-bottom: 1em;
    background: #eaeaea;
}

ul,
ol {
    margin: 0 0 1em 15px;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #555;
    text-decoration: none;
}

a:hover {
    color: #000;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#navbar ul {
    margin: 0;
    list-style: none;
}

#navbar .main-list-wrap {
    text-align: center;
}

#navbar .main-list-wrap > li {
    margin-left: 10px;
    position: relative;
    display: inline-block;
}

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

#navbar a {
    display: block;
    position: relative;
    text-align: left;
}

#navbar .main-list-wrap > li > ul {
    z-index: 999;
    display: none;
    background: #fafafa;
    position: absolute;
}

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

#navbar .main-list-wrap > li > ul > li {
    white-space: nowrap;
    position: relative;
}

#navbar .main-list-wrap > li > ul > li > a {
    padding: 15px;
}

#navbar .main-list-wrap > li > ul > li > ul {
    top: 0;
    left: 100%;
    display: none;
    position: absolute;
}

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

#navbar .main-list-wrap > li > ul > li > ul > li > a {
    padding: 15px;
}

/*--------------------------------------------------------------
## Container Width
--------------------------------------------------------------*/
.full-width {
    width: 100%;
    float: left;
    min-width: 320px;
    position: relative;
}

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

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

#content-wrap {
    padding-bottom: 10px;
}

#footer-wrap {
    padding-left: 0;
    padding-right: 0;
}

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

@media screen and (max-width: 799px) {
    .wrapper {
        padding-bottom: 10px;
    }
    
    #content-wrap {
        padding-bottom: 0;
    }
    
    #copyright-wrap {
        padding-bottom: 30px;
    }
}

/*--------------------------------------------------------------
# Clearings & Spacing
--------------------------------------------------------------*/
.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;}

.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;}

.margin-top-zero {
    margin-top: 0 !important;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-35 {
    margin-top: 35px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-45 {
    margin-top: 45px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-bottom-zero {
    margin-bottom: 0 !important;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-25 {
    margin-bottom: 25px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-35 {
    margin-bottom: 35px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-45 {
    margin-bottom: 45px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-15 {
    padding-top: 15px;
}

.padding-top-20 {
    padding-top: 20px;
}

.padding-top-25 {
    padding-top: 25px;
}

.padding-top-30 {
    padding-top: 30px;
}

.padding-top-35 {
    padding-top: 35px;
}

.padding-top-40 {
    padding-top: 40px;
}

.padding-top-45 {
    padding-top: 45px;
}

.padding-top-50 {
    padding-top: 50px;
}

.padding-bottom-5 {
    padding-bottom: 5px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-25 {
    padding-bottom: 25px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.padding-bottom-35 {
    padding-bottom: 35px;
}

.padding-bottom-40 {
    padding-bottom: 40px;
}

.padding-bottom-45 {
    padding-bottom: 45px;
}

.padding-bottom-50 {
    padding-bottom: 50px;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: #333;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 1em;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 20px;
}

p {
    margin-bottom: 1em;
}

b,
strong {
    font-weight: bold;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

.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;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Main Content
--------------------------------------------------------------*/
#regular-index {
    float: left;
    width: 100%;
    margin-left: -300px;
}

#regular-content {
    margin-left: 300px;
}

/*--------------------------------------------------------------
## Sidebar Content
--------------------------------------------------------------*/
#tertiary {
    float: right;
    width: 260px;
    position: relative;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.footer-column {
    float: left;
    padding: 0 10px;
    width: 33.3333%;
}

#copyright {
    font-size: 12px;
    text-align: center;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Alignments
--------------------------------------------------------------*/
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;
}

/*--------------------------------------------------------------
## 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%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.entry-content {
    /*background: #fafafa;*/
}

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;
}

select,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    border: 1px solid #d1d1d1;
    -webkit-border-radius: 0;
    border-radius: 0;
}

select {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Gravity form Style */
body .gform_wrapper {
    margin: 0 auto !important;
    max-width: 600px;
}

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

body .gform_wrapper .gform_body .gform_fields .gfield:first-child {
    margin-top: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    color: #2c6011;
    font-size: 18px;
    font-weight: normal;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container {
    margin-top: 15px;
}

body .gform_wrapper .gform_footer input[type=submit] {
    color: #333;
    background: #fff;
    cursor: pointer;
    padding: 10px 40px;
    border: 2px solid #333;
    text-transform: uppercase;
    -webkit-border-radius: 0;
    border-radius: 0;
    font-weight: 400;
    font-size: 18px;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
    color: #fff;
    background: #333;
}

/* Error Message */
body .gform_wrapper .validation_error {
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !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;
}

/* Success Message */
body .gform_confirmation_wrapper {
    top: 0 !important;
    left: 0 !important;
    width: 100% !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;
}
/*--------------------------------------------------------------
# Sprite
--------------------------------------------------------------*/
@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) {
     
}
 
/*--------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Responsive Style
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
#header {
    background: #333;
}

#header-logo {
    width: 250px;
    margin: 0 auto;
}

/*--------------------------------------------------------------
## Main Content
--------------------------------------------------------------*/
@media screen and (max-width: 799px) {
    #regular-index,
    #tertiary {
        width: 100%;
        float: none;
        clear: both;
    }
    
    #regular-index,
    #regular-content {
        margin-left: 0;
    }
    
    #tertiary {
        padding-top: 16px;
        padding-bottom: 12px;
    }
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {   
    .footer-column {
        float: none;
        clear: both;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-column:last-child {
        margin-bottom: 0;
    }
}