/*
Theme Name: Complete Feed Solutions
Theme URI: http://www.completefeeds.co.nz
Description: Responsive template for Complete Feed Solutions
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;
    font: 0.9em/1.4 'Trebuchet MS', Arial, Helvetica, sans-serif;
    background-image: url(images/background.png);
}
a {
    color: #005030;
    text-decoration: none;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

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

sub {
    top: 0.4em;
}

hr {
    border: 0;
    clear: both;
    height: 1px;
    display: block;
    color: #c8c7c7;
    margin: 20px 0;
}

hr {
    background-color: #c8c7c7;
}

.btn-style-1 {
    color: #fff;
    display: inline-block;
}

.btn-style-1 a {
    color: #fff;
    padding: 5px 8px;
    display: inline-block;
    text-decoration: none !important;
    background: #005030;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 5px 0 rgba(255,242,0,.6);
    box-shadow: inset 0 0 5px 0 rgba(255,242,0,.6);
}

.btn-style-1 a:hover {
    color: #fff200;
}

/* =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: 980px;
}

.wrapper {
    width: 940px;
    margin: 0 auto;
    position: relative;
    padding: 0 10px 20px;
    background: #fff;
}

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

/* =Transition Effects
   ========================================================================== */
.transition-effect,
#navbar a,
.adv-read-more,
.btn-style-1 a {
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms 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%;
}

/* =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 {
    color: #005030;
    line-height: 1.2;
    margin-bottom: 0.2em;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 21px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 19px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 17px;
}

/* =Header
   ========================================================================== */
#masthead {
    min-height: 117px;
    background: url(images/header-bg.png) no-repeat;
}

#header-logo {
    width: 170px;
    float: left;
    margin-top: 40px;
    margin-left: 20px;
}

#search-2 {
    float: right;
    margin-top: 83px;
    margin-bottom: 20px;
}

/* =Main Navigation
   ========================================================================== */
#navbar {
    float: right;
    clear: right;
    margin-bottom: 15px;
}

#navbar .first-list-wrap > li {
    float: left;
    margin-left: 1px;
    position: relative;
}

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

#navbar a {
    display: block;
    font-size: 18px;
    padding: 4px 8px;
}

#navbar .first-list-wrap > li > ul {
    display: none;
    position: absolute;
    z-index: 999999999;
    overflow: hidden;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius:  0 0 4px 4px;
}

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

#navbar .first-list-wrap > li > ul > li {
    border-top: 1px solid #004626;
}

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

#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,
#navbar .first-list-wrap > li > ul > li > a {
    color: #fff;
    background: #005030;
}

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

/* =Hero
   ========================================================================== */
#cyclone-slider-widget-2 {
    clear: both;
    margin-bottom: 40px;
}

#text-2,
#text-3,
#text-4 {
    float: left;
    line-height: 1.5;
    background: #e7e7e8;
    width: 32.6241134751773%;
    margin-left: 1.06382978723404%;
}

#text-2 {
    clear: left;
    margin-left: 0;
}

#text-2 .widget-title,
#text-3 .widget-title,
#text-4 .widget-title {
    font-size: 23px;
    margin: 10px 0 0 10px;
}

#text-2 p,
#text-3 p,
#text-4 p {
    margin-bottom: 0.7em;
}

#text-2 .textwidget,
#text-3 .textwidget,
#text-4 .textwidget {
    position: relative;
    min-height: 205px;
    padding: 10px 10px 40px;
}

.adv-read-more {
    color: #fff;
    left: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-style: italic;
    position: absolute;
    background: #005030;
    display: inline-block;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.adv-read-more:hover {
    color: #fff200;
}

/* =Main Content Container
   ========================================================================== */

/* =Main Content Column
   -------------------------------------------------------------------------- */
.site-content p {
    margin-bottom: 1em;
}

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

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

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

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

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

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

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

.main-content-with-sidebar {
    float: left;
    width: 615px;
    padding-left: 10px;
}

.site-content a {
    text-decoration: underline;
}

.site-content a:hover {
    text-decoration: none;
}

/* Articles Category page */
#articles-list {
    margin:  15px 0 20px 20px;
    border: 1px dotted #e1e1e1;
}

#articles-list tr,
#articles-list td {
    border: none;
}

#articles-list tr {
    display: block;
    padding: 5px 10px;
}

#articles-list tr h2 {
    font-size: 17px;
}

#articles-list tr:nth-child(odd) {
    background-color: #E7E7E8;
}

#articles-list tr a {
    text-decoration: none;
}

#articles-list tr a:hover {
    text-decoration: underline;
}

/* Search Page */
.search-post-summary {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px dotted #c8c7c7;
}

#search-term {
    color: #f00;
}

#nothing-found {
    color: #555;
}

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

.wp-pagenavi a,
.wp-pagenavi span {
    text-decoration: none !important;
    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: #005030;
}

.wp-pagenavi span {
    color: #fff200;
    background-color: #005030;
}

.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 {
    float: right;
    width: 265px;
    padding: 15px;
    background: #c8c7c7;
}

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

#text-5 .textwidget h3,
#text-6 .textwidget h3 {
    margin-bottom: 10px;
}

#text-5 .textwidget h3:hover a,
#text-6 .textwidget h3:hover a {
    color: #000;
}

#text-5 .module-thumbnail,
#text-6 .module-thumbnail {
    margin-bottom: 20px;
}

#text-5 ul,
#text-6 ul {
    list-style: disc;
    margin-left: 20px;
}

#text-5 ul li,
#text-6 ul li {
    margin-top: 5px;
}

#text-5 ul li:first-child,
#text-6 ul li:first-child {
    margin-top: 0;
}

#text-5 ul li a,
#text-6 ul li a {
    color: #000;
    display: block;
}

#text-5 ul li:hover a,
#text-6 ul li:hover a {
    text-decoration: underline;
}

/* =Footer
   ========================================================================== */
#colophon {
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px solid #c8c7c7;
}

#copyright {
    float: left;
    margin-bottom: 30px;
}

#copyright a:hover {
    color: #333;
}

#nav_menu-2 {
    float: left;
    clear: left;
}

#nav_menu-2 ul li {
    float: left;
    margin-left: 10px;
    padding-left: 12px;
    position: relative;
}

#nav_menu-2 ul li:first-child {
    margin-left: 0;
    padding-left: 0;
}

#nav_menu-2 ul li:before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 11px;
    top: 4px;
    left: 0;
    background: #000;
}

#nav_menu-2 ul li:first-child:before {
    display: none;
}

#nav_menu-2 ul li a {
    color: #333;
}

#nav_menu-2 ul li:hover > a,
#nav_menu-2 ul li.current-menu-item > a,
#nav_menu-2 ul li.current-menu-ancestor > a {
    color: #005030;
}

#text-7 {
    float: right;
    width: 100px;
}

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

.ui-datepicker {
    position: absolute;
}
 
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%;
    padding: 8px 0.5%;
    border: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 0 1px #e8e8e8;
    box-shadow: inset 0 0 0 1px #e8e8e8;
}
 
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 input[type=submit],
.acps_submit {
    color: #fff;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 15px 8px;
    background: #229610;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
 
body .gform_wrapper .gform_footer input[type=submit]:hover,
.acps_submit:hover {
    background: #333;
}
 
/* Error Message */
body .gform_wrapper .validation_error {
    top: 0;
    left: 0;
    margin: 0;
    width: 98%;
    color: #fff;
    border: none;
    font-size: 14px;
    position: fixed;
    padding: 10px 1%;
    z-index: 999999999;
    text-align: center;
    font-weight: normal;
    background: rgba(255,0,0,0.9);
}
 
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;
    font-weight: normal;
}
 
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;
    left: 0;
    width: 98%;
    color: #fff;
    font-size: 14px;
    position: fixed;
    padding: 10px 1%;
    text-align: center;
    z-index: 999999999;
    background: rgba(41,154,77,0.9);
}
 
@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%;
    }
}
/* Search Form */
#search-input {
    padding: 5px;
    border: none;
    background: #c8c7c7;
}