/*

Theme Name: Automotive
Description: A modern looking, lightwieght theme
Version: 1.0
Author: GlassEye Visual Studios
Author URI: http://www.glasseye.co.za
Tags: rollover, naviagation, multi level, two columns, widgets, fixed width, valid XHTML, valid CSS, sidebar, simple

This template is being distributed via Wordpress.org under GPLv3 license. Enjoy!
 
The dropshadows are added/removed in the background CSS, not the image.

v1.0: Modified existing theme for use as normal website, with blog.

*/

* {
  padding:0;
  margin:0;
  list-style:none;
}

body {
  font:62.5% Arial, Helvetica, sans-serif; /* Means 1em == 10px, 1.1em == 12px, etc. */
  background:#898989 url(./images/bg.jpg) center top repeat-x; /* Set background image here */
}

p, h2, h3, h4, h5 {
  font-size:1.1em;
}

img {
  border:0;
}

div#wrapper {
  width:768px;
  padding: 0px 0px 0px 0px ;
  margin: 0px auto 0px;
  background: url(./images/top.jpg) no-repeat;
}

/* Blog Title */
h1 {
  font:3.2em 'Trebuchet MS', Arial, Helvetica;
}

h1 a {
  position:absolute;
  width:300px;
  height:30px;
  left:40px;
  top:15px;
  font-weight:bold;
  text-decoration:none;
  color:#000000;
  border: 1px solid red;
}

/* Tagline */
#masthead p {
  position:relative;
  margin:0;
  top:62px;
  left:50px;
  color:#888;

}

div#masthead {
  width:768px;
  bottom: 0px;
  /* background:url(./images/main_bg.png) repeat-y; */
  /* Use height setting to move content area up or down depending on height of your banner etc */ 
}

/* Banner image dropshadow */

/* THIS IS THE ORIGINAL BANNER CODE MODIFIED BELOW
div#masthead_image {
  background:url(./images/image_bg.png) center no-repeat;
  width:724px;
  height:148px;
  clear:both;
  padding:8px 22px;
  position:relative;
  z-index:1;
  border: 1px solid green;
}
*/

div#masthead_image {
  width: 768px;
  height: 218px;
  clear:both;
  position:relative;
  z-index:1;
}

/* Pages Navigation */
div#masthead ul {
  float:right;
  margin-right:22px;
  position:relative;
  z-index:2;
  bottom: 0px;
  right: 20px;
  margin: 31px 0px 0px 0px;
}

div#masthead ul li {
  float:left;
  background:url(./images/nav_bgOff.jpg) bottom repeat-x;
  height: 123px;
  width: 81px;
}

div#masthead ul li:hover {
  float:left;
  background:url(./images/nav_bg.jpg) bottom repeat-x;
  height: 123px;
  width: 81px;
}

div#masthead ul li a {
  color:#ffffff;
  text-decoration:none;
  text-align: center;
  text-transform: uppercase;
  display:block;
  font-size:1.4em;
  font-weight: bold;
  padding: 0px 0px 0px 0px;
  margin: 50px 0px 0px 2px;
}

/* div#masthead ul li a:hover,*/
div#masthead ul li.current_page_item {
  background:url(./images/nav_bg.jpg) bottom repeat-x;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}

a {
  outline:0;
}

/* Content Background - use a dropshodow image to create dropshadow for your site. */
div#content {
  width:768px;
  background:url(./images/contentBg.gif) top repeat-y;
  margin: 0px 0px 0px 0px;
}

/*-----------------------------------------------------------------------------

  Main Content

-----------------------------------------------------------------------------*/

div#main {
  padding: 0px 10px 0px 0px;
  margin: 5px 0px 0px 0px;
  width: 530px;
  float:right;
	
}

/* Main header on single pages */
h2.header {
  color: #000000;
  font-size:24px;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  line-height: 1;
  border-bottom: 1px solid #e7e7e7;
  position:relative;

}

div#main h2.header a {
  color:#000000;
  text-decoration:none;
  
}

h2.header span { /* PAGE HEADING */
  position:relative;
  bottom:2px;
  margin: 5px 0px 0px 0px;
}

/* Secondary headline above comments and comment form */
div#main h3 {
  margin:0px 0 5px;
  color:#507fa3;
  margin: 10px 0px 0px 0px;
}

div#main p {
  color:#6b6b6b;
  line-height:1.5;
  margin:10px 0;
  
}

div#main a {
  color:#507FA3;
}

.article {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  line-height: 14px;
  color: #6b6b6b;
  margin: 0px 0px 0px 0px;
}

.article ul{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #6b6b6b;
  margin: 10px 0px 0px 7px;
}

.article li{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #6b6b6b;
  margin: 0px 0px 5px 5px;
  list-style-image:url(./images/square.gif);
}

.article li li{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #6b6b6b;
  margin: 0px 0px 0px 7px;
}

.article blockquote {
  padding:1px 15px;
  border-left:5px solid #B8D1E4;
  background:#F0F0F0;
}

/* Article Lists */

/*
.article li{
  background:url(./images/square2.gif) left no-repeat;
}
*/

#main p.byline {
  color:#999;
}

ul.article_footer {
  text-align:left;
  margin:10px 0;
  background:#F1F1F1;
  padding:5px 10px;
  border:1px solid #DADADA;
  border-width:1px 0;
  line-height:1.5;
}

ul.article_footer li {
  font-size:0.9em;
  display:inline;
  background:none;
  border-left:1px solid #DADADA;
  margin-left:2px;
  padding-left:2px;
}

ul.article_footer li.first {
  border-left:0;
}

/*-----------------------------------------------------------------------------

  Secondary Content

-----------------------------------------------------------------------------*/
/* Sidebar Menu */

  #secondary{ /* SIDEBAR */
  margin: 0px 0px 0px 35px;
  padding:0px 0px 0px 0px;
  width:181px;
  float:left;
  background: #000000;
  }
 
  #secondary a{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  text-decoration:none;
  padding: 0px 0px 0px 10px;
  }

  #secondary a:hover{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  text-decoration:none;
  padding: 0px 0px 0px 10px;
  }
 

  #secondary ul { /* Gap below Pages menu */
  margin: 0px 0px 10px 0px;   
  padding:0px 0px 0px 0px;
  width:181px;
  float:left;
  background: #000000;
  }
 /*
  #secondary ul li ul li{
  width: 181px;
  background: url(./images/leftNavOff.gif) no-repeat;
  }
*/

  #secondary ul li ul li.current_page_item{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  width: 181px;
  background: url(./images/leftNavOn.gif) no-repeat;
  line-height: 30px;
  }

  .flexipages_widget li{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  width: 181px;
  background: url(./images/leftNavOff.gif) no-repeat;
  line-height: 30px;
  }
  
  .flexipages_widget li.current_page_item{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  width: 181px;
  background: url(./images/leftNavOn.gif) no-repeat;
  line-height: 30px;
  }
 

  
#secondary ul li.current_page_item a{
  color: #000000;
}

#secondary ul li ul li ul li a{ /* Child item indented when not selected */
  margin: 0px 0px 0px 15px;
  color: #ffffff;
}
  
#secondary ul li.current_page_item ul li a{
  margin: 0px 0px 0px 15px;
  color: #ffffff;
}
 

/* WIDGETS */

.widget{
  margin-bottom: 10px;
}

#sidebar .widget_text a{
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
text-indent: -10px;
}

div#sbsl1_1{
  margin: 200px 0px 200px 0px;
}

div#countdownTimer{
  margin: 0px 0px 0px 10px;
  font-size: 1.1em;
  color: #ffd300;
}

#sidebar .widget_recent_entries ul li{
  font-size: 8px;
  text-indent: -10px;
  margin: 0px 0px 0px 10px;
  padding: 2px;
}

#sidebar .widget_recent_entries ul li:hover{
  font-size: 8px;
  text-indent: -10px;
  margin: 0px 0px 0px 10px;
  padding: 2px;
  background-color: #507fa3;
}

.widget_links li{
  width: 181px;
  background: url(./images/leftNavOff.gif) no-repeat;
  line-height: 30px;
}

/* Sidebar headers */

div#secondary h2 {
  text-transform:uppercase;
  color: #507fa3;
  margin: 5px 0px 5px 6px;
  font-size: 15px;
  line-height: 1;
}


div#secondary ul.children {
  margin-left: 5px;
  padding-left: 10px;
  border-left: 5px solid #EAEAEA;
}


/* Optional bio area header (commented out by default) */
div#author h2 {
  font-size:1.1em;
}

div#secondary p {
  line-height:1.5;
  margin:5px 0;
  color:#ffffff;
}

/* Search input */
form#searchform {
  position:relative;
  height:28px;
  margin-bottom:20px;
}

form#searchform input#s {
  position:absolute;
  top:0;
  height:18px;
  width: 130px;
  padding:5px;
  margin: 0px 0px 0px 5px;
  background:url(./images/text_bg.png) repeat-x;
  border:1px solid #bcbcbc;
  font-size: 14px;
}

input#search_submit {
  position:absolute;
  right:5px;
}

/*-----------------------------------------------------------------------------

  Footer

-----------------------------------------------------------------------------*/

ul#footer {
  height:27px;
  width:768px;
  margin:0 auto;
  background:url(./images/footer.gif) no-repeat;
  text-align:center;
  font-size:1em;
  color:#ffffff;
  padding: 8px 0px 0px 0px;
  z-index: 2;
}

ul#footer li {
  display:inline;
  margin-left:10px;
}

ul#footer li span {
  position:absolute;
  text-indent:-9999em;
}

ul#footer li a {
  color:#ffd300;
  text-decoration:none;
}

/*-----------------------------------------------------------------------------

  Wordpress Specific Stuff - Elements that weren't in my original stylesheet

-----------------------------------------------------------------------------*/

ol.commentlist {
  margin-top:15px;
  color:#555;
}

/* Background color for visitor comments */
ol.commentlist li {
  background:#F1F1F1;
  padding:10px;
  margin:10px 0;
}

/* Background color for Admin comments */
ol.commentlist li.alt {
  background:#fff9d1;
}

textarea#comment {
  width:500px;
}

#main p.comment_meta {
  margin:0;
  float:right;
}

/* Optional popup window (NOTE: popups make for bad UI IMHO) */
body#commentspopup {
  background:#FFF;
  padding:20px;
}

body#commentspopup a {
  color:#666;
}

body#commentspopup h1 a {
  position:relative;
  top:0;
  left:0;
}

body#commentspopup h3 {
  color:#555;
}

body#commentspopup p {
  margin:10px 0;
  color:#555;
}

body#commentspopup textarea {
  width:340px;
}

/* Image stuff for 2.6.1 */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption-dd {
  font-size: 1.1em;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}

p.entry_info {
  clear:both;
}

div.navigation {
  margin:10px 0;
}

/*-----------------------------------------------------------------------------

  CSS Magic

-----------------------------------------------------------------------------*/

.clearfix:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
  .clearfix {display:block;}
/* End hide from IE Mac */

