/*  
Theme Name: Wadsco Trucks
Theme URI: http://sww.co.nz/
Description: Custom theme by Stellar Web Works
Version: 1.0
Author: Aidan Curran
Author URI: http://sww.co.nz/
*/
html,body {
	margin:0;
	padding:0;
   text-align: center;
	font-family: "trebuchet ms", trebuchet, arial, helvetica, sans-serif;
   font-family : "Times New Roman", Times, serif;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
	font-family: arial, helvetica, sans-serif;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   color: #343434;
}
body {
   font-size: 87.5%;
   background: #fff url(images/bg.jpg) center top no-repeat;
   /*
   with body font-size of 87.5%:
   
   20px - 1.429em
   19px - 1.357em
   18px - 1.286em
   16px - 1.143em
   15px - 1.071em
   14px - 1em
   13px - 0.929em
   12px - 0.857em
   11px - 0.786em
   10px - 0.714em
   */
}
body.home {
   background-color: #E7E7E7
}
h1, h2, h3, h4 {
}
h1 {
   font-size: 1.429em;
   font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
   color: #DC3D25;
}
h2 {
   font-size: 1.286em;
   font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
   color: #DC3D25;
}
h3 {
   font-size: 1.143em;
}
h4 {
   font-size: 1em;
}
h2 a, a h2  {
   color: #DC3D25;
   text-decoration: none;
}
h2 a:hover, a:hover h2  {
   color: red;
}
a {
   color: #DC3D25;
}
a:hover {
   color: red;
}
img {
   border: 0;
}
div {
   text-align: left;
}
ul {
   list-style-type: none;
   padding: 0px;
   margin: 7px 0 7px 15px;
}
ul li {
   background-image: url(images/bullet.gif);
   background-repeat: no-repeat;
   background-position: 0px 8px;
   line-height: 1.571em;
   padding-left: 14px;
   margin: 5px 0;
}
td, th {
   vertical-align:top;
   padding: 0 10px 0 0;
}
blockquote {
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
   background: #e9e9e9 url(images/quote.png) 8px 4px no-repeat;
   padding: 8px 8px 8px 46px;
}
blockquote p {
   margin: 0;
}
#header {
}
.contents {
   margin: 0 auto;
   position: relative;
}
#logo {
   position: relative;
   left: -50px;
}
#logo img {
   width: 100%;
}
#hg {
   float: right;
   position: relative;
   top: 10px;
   z-index: 10;
}
#nav {
   text-align: center;
   color: #fff;
   overflow: hidden;
   margin-bottom: 10px;
}
#nav .contents {
   background-color: #DC3D25;
   font-size: 0;
}
#nav a {
   display: inline-block;
   padding: 0 15px;
   background-color: #DC3D25;
   text-decoration:none;
   text-transform:uppercase;
   font-weight: normal;
   font-size: 16px;
   color: #fff;
   border-left: 1px solid #4C4C4C;
}
#nav a:hover, #nav a.current, #nav li.current_page_item a {
   background-color: #B21801;
}
#nav a::first-child {
   border-left: none;
}
#nav ul {
   list-style: none;
   margin: 0;
   padding: 0;
   background-color: #DC3D25;
   overflow: hidden;
}
#nav li {
   display: block;
   float: left;
   list-style: none;
   margin: 0;
   padding: 0;
   background: none;
}
#slides { 
   font-size: 0; 
}
#slides img { 
   height: auto !important;
   width: 100% !important;
}
#maincontent {
   overflow: hidden;
   background: #fff;
   line-height: 1.5em;
}
.clear {
   clear:both;
}
.centered {
   text-align:center;
}



#panelband {
   overflow: hidden
}
.panel {
   float: left;
   color: #555;
   background: #fff;
   font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
}
#panel1 {
   margin-left: 0;
}
.panel .head {
   color: #DC3D25;
   height: 40px;
   line-height: 40px;
   font-weight: bold;
   font-size: 1.286em;
   text-align: center;
   border-bottom: 1px solid #E1E1E1;
}
.panel .head a {
   text-decoration: none;
}
.panel .picture img {
   width: 100%;
}
.panel .body {
   font-size: 1.071em;
   height: 85px;
   padding: 10px 10px 0 10px;
   overflow: hidden;
}
.panel .body p {
   margin: 0;
}
.panel li {
   margin: 0;
}
.panel ul {
   margin: 0 0 0 10px;
}
.panel .more {
   text-align: center;
   margin-top: 15px;
}
.more a {
   text-decoration:none;
   text-transform:uppercase;
   padding: 4px 16px;
   color: #fff;
   background: #DC3D25;
   font-weight: bold;
}
.more a:hover {
   background: #B21801;
}

#footer {
   background: #312F2F;
   padding: 10px 0;
   text-align: center;
   color: #999999;
}
#footer a {
   text-decoration: none;
   color: #999999;
}
#footer a:hover {
   text-decoration: underline;
   color: #666666;
}
#footer .col {
   float: left;
}
#footer .col:first-child {
   margin-left: 0;
}
#footer h3 {
   font-size: 18px;
   font-weight: normal;
   color: #fff;
   font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
   border-bottom: 1px solid #666;
}
#footer p.big {
   font-size: 30px;
   color: #fff;
   margin: 15px 0;
}
#credits {
   font-size: 0.786em; 
   clear: both;
   text-align: center;
   padding-top: 20px;
}
img.leftalign {
   display: block;
   float: left;
   text-align: left;
   margin: 0 25px 5px 0;
}
img.rightalign {
   display: block;
   float: right;
   text-align: right;
   margin: 0 0 5px 15px;
}
img.centeralign {
   display: block;
   margin: 10px auto;
   text-align: center;
}
table.labels {
   width:50%;
   margin:10px auto;
}
table.labels th {
   text-align: right;
   padding-right: 30px;
}
div.rounded {
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
div.shaddow {
	-moz-box-shadow: rgba(0,0,0,0.5) 0 0 4px;
	-webkit-box-shadow: rgba(0,0,0,0.5) 0 0 4px;
	-khtml-box-shadow: rgba(0,0,0,0.5) 0 0 4px;
	box-shadow: rgba(0,0,0,0.5) 0 0 4px;
}
div.opacity {
   opacity: 0.5;
   -moz-opacity: 0.5;
   filter:alpha(opacity=50);   
}
div.mapcontainer {
    position: relative;
    padding-bottom: 40%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
div.mapcontainer iframe {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
/* used truck listings */
div.listing {
   background: #F1F1F1;
   padding: 15px;
   overflow: hidden;
   margin-bottom: 15px;
}
div.listing div.thumb {
   display: block;
   float: left;
   width: 160px;
   padding-right: 30px;
}
div.listing div.thumb img {
   width: 100%;
   height: auto;
}
div.listing div.details {
   display: block;
   float: left;
}
div.listing div.details h2 {
   margin: 0 0 5px 0;
}
div.listing div.price {
   display: block;
   float: right;
}
div.price, div#price {
   font-size: 18px;
   margin-bottom: 20px;
}
div.price small, div#price small {
   font-size: 12px;
}
div.listing div.more {
   display: block;
   float: right;
   clear: right;
   margin-top: 60px;
}
.prevnext {
   text-align: center;
   margin: 40px 0 0 0;
   clear: both;
}
.prevnext a {
   text-decoration: none;
   font-weight: bold;
}
.prevnext a:hover {
   text-decoration: underline;
}
p.calltoaction {
   text-align: center;
   margin-top: 30px;
}
p.calltoaction a {
   text-decoration: none;
   font-weight: bold;
}
p.calltoaction a:hover {
   text-decoration: underline;
}
div.galleria-container {
   margin: 0 auto;
}
div.responsive img {
   width: 100% !important;
   height: auto !important;
}
div.w500 {
   width: 50%;
}
/* WP Common Styles */
.editLink {
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #e0e0e0;
   color: #777777;
   font-size: 10px; 
   border: 1px solid #999999;
   text-decoration: none;
   padding: 3px 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #eeeeee;
   border: 1px solid #333333;
   color: #000000;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}
img.aligncenter, div.aligncenter {
   display: block;
   margin: 20px auto;
}
img.alignright, div.alignright {
   display: block;
   float: right;
   margin: 0 0 0 15px;
}
img.alignleft, div.alignleft {
   display: block;
   float: left;
   margin: 0 15px 0 0;
}
img.aligncenter {
   text-align: center;
}
img.alignright {
   text-align: right;
}
img.alignleft {
   text-align: left;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.more-link {
   display:block;
   text-align:right;
}
.linklove {
   display:none;
}
/* Comments */
#comments {
   margin-top: 100px;
   color: #333;
   background: #f3f3f3;
   padding: 10px 20px;
   clear:both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding-bottom: 24px;
}
.commentlist {
	list-style: none;
	margin: 0;
   padding: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}
/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
   font-style: italic;
   color: #999;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	display:none;
}
#respond label {
	color: #888;
	font-size: 12px;
   width: 80px;
   display: block;
   float: left;
   text-align: right;
   padding-right: 10px;
}
#respond input {
	margin: 0 0 9px;
	width: 500px;
}
#respond textarea {
	width: 500px;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}

.cform textarea {
   font-size: 16px;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
img.cforms2_really_simple_captcha_img {
   margin-left: 110px;
}
#usermessagea {
   font-weight: bold;
}

/* ------------------------------------------------- Responsive Elements ------------------------------------------------- */

/* defaults: computer monitors, tablets in landscape, standard and large screens (typically wider than 1024px), old browsers */
   .contents { width: 960px; }
   #header { height: 117px; }
   #logo { width: 600px; left: -30px; }
   #nav a { height: 56px; line-height: 56px;}
   #maincontent {
      padding: 10px 0 50px 0;
   }
   .leftcol {
      float: left;
      width: 330px;
      padding-right: 30px;
   }
   .rightcol {
      float: left;
      width: 600px;
   }
   div.third {
      float: left;
      width: 300px;
      margin-right: 30px;
   }
   div.last {
      margin-right: 0;
   }
   #panelband {
      padding: 30px 60px;
   }
   .panel {
      width: 270px;
      padding: 15px;
      margin-left: 30px;
   }
   .panel:first-child {
      margin-left: 0;
   }
   .panel .picture {
      height: 130px;
   }
   #footer .col {
      width: 300px;
      margin-left: 30px;
   }

/* tablets, medium screen devices (typically around 600px wide), smart-phones in landscape */
@media screen and (max-width: 960px) {
   body { background-position: center -120px; }
   .contents { width: 600px; }
   #header { height: 78px; }
   #logo { width: 400px; }
   #hg {display: none;}
   #nav ul {  
     width: 100%;  
   }  
   #nav li {  
     width: 25%;  
     float: left;  
     position: relative;  
   }  
   #nav li a {  
     height: 30px; line-height: 30px;
     font-size: 14px;
     font-family: arial, helvetica, sans-serif;
     display: block;
     margin: 0;
     border-bottom: 1px solid #576979;  
     border-right: 1px solid #576979;  
     text-align: left;  
     width: 100%;
     padding: 0;
     text-indent: 10px;
   }  

   #maincontent {
      padding: 10px 0 40px 0;
   }
   .leftcol {
      float: none;
      width: auto;
      padding-right: 0;
   }
   .rightcol {
      float: none;
      width: auto;
   }
   div.third {
      float: none;
      width: auto;
      margin-right: 0;
   }
   div.third img {
   }
   #panelband {
      padding: 20px 0;
   }
   .panel {
      width: 192px;
      margin-left: 12px;
      padding: 0 0 10px 0;
   }
   .panel .picture {
      height: 92px;
   }
   .panel .body {
      font-size: 0.929em;
      line-height: 1.1em;
      font-family: arial, helvetica, sans-serif;
      height: 75px;
   }
   #footer .col {
      width: 186px;
      margin-left: 20px;
   }
   #footer h3 {
      font-size: 17px;
   }
   #footer p.big {
      font-size: 26px;
   }   
}

/* smart phones, small screen devices (typically around 320px wide) */
@media screen and (max-width: 620px) {
   .contents {
      min-width: 320px;
      width: 100%;
   }
   .panel, #panel1 {
      float: none;
      width: 240px;
      margin: 10px auto;
      padding: 10px;
   }
   .panel .head { height: 30px; line-height: 30px; }
   .panel .body { height: 60px; }
   .panel .picture { height: auto; }


   #nav ul {  
     width: 100%;  
     display: block;  
     height: auto;  
   }  
   #nav li {  
     width: 50%;  
     float: left;  
     position: relative;  
   }  
   #nav li a {  
     display: block;
     margin: 0;
     border-bottom: 1px solid #576979;  
     border-right: 1px solid #576979;  
     text-align: left;  
     width: 100%;  
     text-indent: 25px;  
   }  
   #footer .col {
      width: 50%;
      margin: 0;
   }
   #footer  .col h3 {
      font-size: 13px;
      padding-left: 10px;
   }
   #footer  .col p { padding-left: 10px; }
   #footer #fcol3 { width: auto; float: none; clear: left; padding-top: 10px;}


   div.listing {
      padding: 5px;
   }
   div.listing div.thumb {
      width: 100px;
      padding-right: 10px;
   }
   div.listing div.details {
      width: 200px;
   }
   div.listing div.price {
      margin-top: 15px;
   }
   div.listing div.more {
      margin-top: 15px;
   }


   div.galleria-container {
      width: 100% !important;
      height: auto  !important;
      min-height: 400px;
   }
   div.galleria-stage div.galleria-image {
      width: 100% !important;
      height: auto  !important;
      min-height: 350px;
   }
   div.galleria-stage div.galleria-image img {
      width: 100% !important;
      height: auto !important;
      min-height: 350px;
   }

   #cformsform { width: 310px}

}


@media screen and (max-width: 500px) {
   div.galleria-container {
      min-height: 330px;
   }
   div.galleria-stage div.galleria-image {
      min-height: 300px;
   }
   div.galleria-stage div.galleria-image img {
      min-height: 300px;
   }
   img.cforms2_really_simple_captcha_img {
      margin-left: 67px;
   }   
}
@media screen and (max-width: 400px) {
   div.galleria-container {
      min-height: 260px;
   }
   div.galleria-stage div.galleria-image {
      min-height: 225px;
   }
   div.galleria-stage div.galleria-image img {
      min-height: 225px;
   }

}

