/*
Theme Name: Kiwi Bus Builders v1.1
Theme URI: http://goodwebsites.co.nz
Description: website design by <a href="http://goodwebsites.co.nz/">Good Websites</a>
Version: 1.1 (WP3+)
Author: Good Websites
Author URI: http://goodwebsites.co.nz
Tags: Good Websites, Kiwi Bus Builders
*/

/* reset */ html{overflow-y:scroll}html,body,address,blockquote,dl,form,h1,h2,h3,h4,h5,h6,ol,p,pre,ul,dd,dt,li,table,td,th,button,del,ins,map,object,a,abbr,acronym,big,cite,dfn,img,q,small,sub,sup,legend,fieldset,input,textarea,select{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}img,fieldset{border:0}ol,ul,li{list-style:none}a{outline:none}textarea{overflow:auto}

/* ~STRUCTURE */

body, select, input, textarea { font:13px Arial, 'Helvetica Neue', Helvetica, sans-serif; }
body { background:#e3e3e3 url(img/bg.png) 0 0 repeat-x; color:#555; text-align:center; }

.wrap { width:940px; margin:0 auto; text-align:left; overflow:hidden; padding:0 10px; } 
.header { height:206px; position:relative; }
.container { background:url(img/bg-container.png) left top repeat-y; padding:20px 0 30px; }
.footer { background:#242b2f; padding:30px 0; border-top:1px solid #fff; color:#ccc; }

.article, .post { background:url(img/bg-content.jpg) top center no-repeat; clear:both; min-height:440px; width:670px; padding:40px; }

/* 2 col right */
.content { float:right; width:750px; }
.sidebar { float:left; width:180px; }

.home .content { margin:220px -10px 0 0; }

/* 2 col left */
.page-template-page-inner-2cl-php .content, .blog .content, .archive .content { float:right; margin-right:-10px; }
.page-template-page-inner-2cl-php .sidebar { float:left; }

/* SUB MAIN */

.submain { background:url(img/submain.jpg) 0 0 no-repeat; height:150px; width:730px; margin:20px 0; float:right; } /* about */
.parent-pageid-195 .submain { background-position:0 -150px; } /* buses */
.parent-pageid-205 .submain { background-position:0 -300px; } /* interior */
.parent-pageid-166 .submain { background-position:0 -450px; } /* building */
.blog .submain, .archive .submain, .single .submain { background-position:0 -600px; } /* showcase */
.page-id-71 .submain, parent-pageid-71 .submain { background-position:0 -750px; } /* contact */

p, .post-content ul, .post-content ol, .article ul, .article ol { margin:0 0 15px; line-height:1.5; }
.article ul ul, .post-content ul ul { margin-bottom:0; }
.post-content ul li, .article ul li { list-style:disc outside; padding-left:3px; margin-left:20px;}
.post-content ol li, .article ol li { list-style:decimal outside; padding-left:3px; margin-left:20px; }

.logo a { background:url(img/logo.png) 0 0 no-repeat; width:183px; height:206px; text-indent:-9000px; display:block; float:left; }

.page-id-71 .content .contactdetails li { list-style:none; padding-left:0; margin:0; }
.page-id-71 .content .contactdetails { float:left; overflow:hidden; width:220px; margin:10px 0 40px; }
.page-id-71 .content .contactdetails li.end { margin-bottom:10px; }
.page-id-71 .content .contactdetails h4 { margin-bottom:5px; font-weight:bold; }

/* ~SPRITE */

.nav a { background:url(img/sprite.png) 0 0 no-repeat; }

/* ~LINKS */

a, a:visited { color:#f26522; text-decoration:none; } /* orange */

/* alt link styles */
.meta a, .excerpt .posttitle a { color:#898989 } /* grey */
.posttitle a { color:#111; }
.footer a { color:#ccc; } /* light grey */
.categorybox a { color:#555; font-size:14px; }

a:hover { color:#317828; text-decoration:underline; } /* green */

.posttitle a:hover, .meta a:hover, .wp-pagenavi a:hover, .categorybox a:hover, .excerpt .posttitle a:hover { color:#f26522; text-decoration:none;} /* orange */

.footer a:hover { color:#ca8a13; text-decoration:none; } /* dark orange */

/* ~buttons */

a.more, .wp-pagenavi a, .wp-pagenavi span {
font-size:10px; text-transform:uppercase; color:#898989; padding:2px 20px 2px 10px; font-weight:bold;
border:1px solid #b7b7b7; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px;
background:#ffffff;
background:-webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#dbdddf));
background:-webkit-linear-gradient(#ffffff, #dbdddf);
background:-moz-linear-gradient(#ffffff, #dbdddf);
background:-ms-linear-gradient(#ffffff, #dbdddf);
background:-o-linear-gradient(#ffffff, #dbdddf);
background:linear-gradient(#ffffff, #dbdddf);
-pie-background:linear-gradient(#ffffff, #dbdddf);
behavior: url(/js/PIE.htc); 
position:relative;
text-shadow:0px 1px 0px #f4f4f4;
display:block; float:left; }

a.more span { font-size:15px; position:absolute; right:8px; top:-1px; }

a.more:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current {
color:#796627; border:1px solid #f2b022;
background:#ffe900;
background:-webkit-gradient(linear, 0 0, 0 bottom, from(#ffe900), to(#ffa900));
background:-webkit-linear-gradient(#ffe900, #ffa900);
background:-moz-linear-gradient(#ffe900, #ffa900);
background:-ms-linear-gradient(#ffe900, #ffa900);
background:-o-linear-gradient(#ffe900, #ffa900);
background:linear-gradient(#ffe900, #ffa900);
-pie-background:linear-gradient(#ffe900, #ffa900);
behavior: url(/js/PIE.htc);
text-decoration:none; 
text-shadow:0px 1px 0px #ffe277; }
		
/* img alignments  WP */
img.centered{display:block;margin:10px auto;}
img.alignleft{margin:0 15px 10px 0;float:left;}
img.alignright{margin:0 0 10px 15px;float:right;}
a img.aligncenter{display:block;margin:10px auto;}
a img.alignright{float:right;margin:0 0 10px 15px;}
a img.alignleft{float:left;margin:0 15px 10px 0;}

div.alignleft{float:left;margin:5px 15px 10px 0; /*clear:both;*/}
div.alignright{margin:5px 0 10px 15px;float:right; /*clear:both;*/ }

.wp-caption img { margin:0; padding:0; }
.wp-caption p.wp-caption-text { text-align:right; /*font-size:11px;*/ font-weight: 700;  margin:3px 2px 10px; /*text-transform:uppercase;*/ color:#555; }

.article img, .post img, embed { border:1px solid #898989; }

/* ~MISC */
.overflow { overflow:hidden; }
.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}
.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}
/* The following zoom:1 rule is specifically for IE6 + IE7. Move to separate stylesheet if invalid CSS is a problem. */
* html .clearfix,*:first-child+html .clearfix{zoom:1}

.end { margin-bottom:10px; }
.fl { float:left; display:block; }
.fr { float:right; display:block; }
small { font-size:11px; } 
big { font-size:16px; line-height:normal; }

blockquote { border-left:4px solid #898989; color:#898989; padding:0 10px; margin-left:2px; margin-bottom:20px; }
.first-li { margin-left:0; }
.last-li { margin-right:0; }

/* ~NAV */
.nav { margin-top:10px; }
.nav li { margin:0 0 10px 7px; }
.nav a, .nav a:visited { width:157px; height:43px; padding-left:10px; line-height:43px; display:block; font-size:14px; color:#636363; font-weight:bold; text-decoration:none; text-shadow:0px 1px 0px #fff;  }
.nav a:hover, .nav .current_page_item a, .nav .current_page_parent a, .current-page-ancestor a { background-position:0 -43px; text-shadow:0px 1px 0px #fff942; color:#796627; }

/* FOOTER NAV */ 
.ftnav { border-bottom:1px solid #ca8a13; padding-bottom:5px; margin-bottom:5px; overflow:hidden; display:inline-block; }
.ftnav li { float:left; margin-right:7px; padding-right:7px; border-right:1px solid #ca8a13; text-transform:lowercase; }
.ftnav li.page-item-71 { border:none; margin:0; padding:0; }

/* ~subnav */
.subnav ul { background:url(img/bgsubnav.png) 0 10px repeat-x; height:60px; float:left; margin-left:10px; }
 
.subnav li:first-child { background:url(img/bgsubnav-left.png) top left no-repeat; }
.subnav li:last-child { background:url(img/bgsubnav-right.png) top right no-repeat; }

.subnav li { float:left; margin-top:10px; position:relative; }
.subnav a { line-height:40px; padding:12px 17px; color:#796627; font-size:16px; font-weight:bold; text-shadow:0px 1px 0px #fff942; }
.subnav a:hover { color:#252525; text-decoration:none; }

.subnav li.current_page_item a { font-weight:bold; color:#252525; text-shadow:none; cursor:default; }

.subnav li.current_page_item  { background:#fff; margin-top:0; height:66px; padding-top:9px; border:1px solid #959595; border-bottom:0;

-webkit-box-shadow: #a3a3a3 0px 1px 2px;
-moz-box-shadow: #a3a3a3 0px 1px 2px;
box-shadow: #a3a3a3 0px 1px 2px;

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
behavior: url(/js/PIE.htc);  }

.subnav li.current_page_item a:after { background:#fff; content:""; height:10px; bottom:-5px; left:-3px; position:absolute; width:125%; }  
.subnav li.page-item-171.current_page_item a:after, .subnav li.page-item-175.current_page_item a:after, .subnav li.page-item-206.current_page_item a:after,
.subnav li.page-item-79.current_page_item a:after { left:0; }

/* ~HEADINGS + TYPO */

h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal; line-height:normal; margin-bottom:10px; color:#252525; }
h1 { font-size:28px; font-weight:bold; margin-bottom:20px;}
.archive h1 { margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid #c2c2c2; }
h2 { font-size:20px; }
h3 { font-size:18px; }
h4, .intro { font-size:16px; }
h5 { font-size:14px; }
h6 { font-size:12px; text-transform:uppercase; }

h2, h3, h4 { clear: both; }

select, input, textarea { line-height:normal; }
.footer h5 { color:#ccc; }

/* ~footer */
.legal { display:block;color:#898989; font-size:11px; clear:both; padding:20px 0 0 190px;  }
.legal a {color:#898989; }

.footer h3, .footer h4 { color: #fff; }
.footer .contactdetails li { padding-bottom:3px; }
.footer .contactdetails h5 { border-bottom:1px solid #ca8a13; padding-bottom:5px; margin-bottom:8px; }

.footer h4 {
  
  border-bottom:1px solid #ca8a13;
  padding-bottom:10px;
  
}

.footer .contactdetails { display:inline-block; margin-right:30px; }
.footer .contactdetails span { font-weight:700; width:10px; display:inline-block; }
.footer .cd-last { margin-right:0; }

.footer .contact-box { 

float:left;
margin-right:30px;

}



/* ~meta */
.meta { color:#898989; margin-bottom:10px; }
p.meta { font-size:11px; }
.single p.meta { font-size:12px; }

/* ~INDEX */

/* ~style thumblist */
.post-thumb { float:left; }
.postexcerpt { float:right; width:430px; margin-top:3px; }
.postexcerpt p { line-height:normal; }
.post-index { clear:both; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #c2c2c2; overflow:hidden; }

.post-thumb img { border:2px solid #fff; }
.post-thumb img:hover { border-color:#f26522; }
.excerpt .post-thumb img:hover { border-color:#fff; }
.excerpt { width:675px;}
.excerpt .post-thumb { position:relative; margin:0 5px 10px 0; }
.excerpt .posttitle { position:absolute; bottom:20px; left:0; background:#fff; padding:5px 10px; width:180px;

-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
border-top-right-radius: 5px;
border-bottom-right-radius: 3px;}

.excerpt .posttitle a { display:block; background:url(img/arrow-right.png) right center no-repeat; padding-right:23px; color:#898989; }
.excerpt .posttitle a:hover { background:url(img/arrow-right-hover.png) right center no-repeat; }
.excerpt h4 { border-bottom:1px solid #fff; padding-bottom:10px; margin-bottom:10px; width:670px; }
.botbdr { border-top:1px solid #fff; padding-top:15px; margin-top:10px; width:670px; overflow:hidden; }

/* ~SINGLE - POST */

.post-content { margin-bottom:10px; padding-bottom:10px; }
.post-content { border-bottom:1px solid #acacac; }
.post-footer .meta { margin-bottom:40px; }


/* categories */
.categorybox h4 { float:left; margin:0 15px 30px 12px; color:#111; border-left:5px solid #111; padding-left:10px; text-transform:uppercase; font-weight:bold; }
.categorybox ul { margin:0; adding:2px 0 0; }
.categorybox a { float:left; }

.categorybox li { margin-bottom:5px; background:url(img/bullet_8x8.png) 0 4px no-repeat; padding-left:16px; margin-left:10px; float:left; }
.categorybox .children { margin:1px 0 0 0; float:left; }
.categorybox .children li { background:url(img/bullet_sub.png) 0 4px no-repeat; padding-left:13px; margin:0 0 0 5px; }
.categorybox .children a { font-size:12px; }

/* ~pagenavi */

.wp-pagenavi span { float:left; background:none; border:none; font-size:12px; padding:5px 10px 0 0; text-transform:lowercase;}
.wp-pagenavi a, .wp-pagenavi span.current { text-decoration:none; font-size:12px; padding:2px 5px 1px; margin:2px 3px; }



/* CONTACT PAGE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.page-id-71 iframe {
  
  border:1px solid #fff;
  
}

.page-id-71 .article .contact-box {
  
  margin:20px 0;
  border:1px solid #fff;
  border-width:1px 0;
  overflow:hidden;
  padding:20px 0 0;
  
}

.page-id-71 .article .contact-box ul { margin-bottom:20px; }

/* GRAVITY FORMS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.gform_confirmation_wrapper, 
.contactform_wrapper { clear:both; }

body .gform_wrapper { margin:20px 0; }
body .gform_wrapper img { border:none; }

/* input fields */

/* GF */ .gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"], .gform_wrapper textarea, .gform_wrapper select
{ font-size:13px!important; color:#555; padding:4px!important; }

body .gform_wrapper li { background:none; padding-left:0; margin:0 0 10px 0; overflow:hidden; }
body .gform_wrapper .gfield_required { color:#f00; font-weight:bold; }
body .gform_description .gfield_required { margin:0; }
.gfield_label .gfield_required { margin-right:-8px; }

/* submit */
body .gform_wrapper .gform_footer { padding:5px 0 0; }
body .gform_wrapper .gform_footer.right_label, body .gform_wrapper .gform_footer.left_label { padding:5px 0 0 17.1%; }
body .gform_wrapper .gform_footer input[type="submit"] { padding:3px 30px; }

/* error */
body .gform_wrapper .right_label .gfield_description, body .gform_wrapper .left_label .gfield_description,
body .gform_wrapper .left_label .instruction, body .gform_wrapper .right_label .instruction { margin-left:17.1% }

/* confirmation */
.gforms_confirmation_message { font-weight:bold; color:#212121; font-size:14px; }

/* section */
body .gform_wrapper .gsection { border:none; }

/* ~Nivo Slider */
 
 .main { position:absolute; right:0; top:35px; }
 
.nivoSlider {position:relative;}
.nivoSlider img {position:absolute;top:0;left:0;}
.nivoSlider a.nivo-imageLink {position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;z-index:60;display:none;}
.nivo-slice {display:block;position:absolute;z-index:50;height:100%;}
.nivo-caption {position:absolute;right:-3px;bottom:150px;background:#e3e3e3;color:#7d7d7d;opacity:1;width:420px;z-index:89;text-shadow:0px 1px 0px #fff;text-transform:uppercase;font-size:32px;font-weight:bold;}
.nivo-caption p {padding:5px 10px 5px 20px;margin:0;}
.nivo-caption a {display:inline!important;}
.nivo-html-caption {display:none;}
.nivo-directionNav a {position:absolute;top:45%;z-index:99;cursor:pointer;}
.nivo-controlNav a, .nivo-prevNav, .nivo-nextNav { background:url(img/slider_controlnav.png) 0 0 no-repeat; }
.nivo-prevNav {left:15px;width:47px;height:47px;display:block;text-indent:-9999px;}
.nivo-nextNav {right:15px;width:47px;height:47px;display:block;background-position:0 -50px;text-indent:-9999px;}
/* custom slider styles */
#slider {position:relative;background:url(img/loading.gif) no-repeat 50% 40%; /* set dimension >> */ width:728px; height:378px; border:1px solid #acacac; } 
#slider img {position:absolute;top:0px;left:0px;display:none;}
#slider a {border:0;display:block;}
.nivo-caption a {color:#efe9d1;text-decoration:underline;}
.nivo-controlNav { position:absolute; bottom:120px; right:10px; text-align:center; overflow:hidden; }
.nivo-controlNav a { position:relative; z-index:99; cursor:pointer; display:block; float:left; background-position:-20px -100px; text-indent:-9999px; width:20px; height:20px; }
.nivo-controlNav a.active { background-position:0 -100px;}

.nivo-caption { display:none;!important }