/*  
Theme Name: Pacific Carwash Systems Ltd
Theme URI: http://www.pacificcarwash.co.nz/
Description: Wordpress theme created specifically for Pacific Carwash Systems.  Some graphics based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
Version: 1.0
Author: Purple Starfish Web Development Ltd
Author URI: http://www.purplestarfish.co.nz/

	*** REGARDING IMAGES ***
	All CSS that involves the use of images, can be found in the 'index.php' file.
	This is to ease installation inside subdirectories of a server.

	Have fun, and don't be afraid to contact me if you have questions.
*/



/* Begin Typography & Colors */

a		{color: #010a59;}
a:visited 	{color: #515380; }
a:hover 	{color: #e57100; }

body {
	color: #000000;
	background-color: #ffffff;
	font-size: 75%; /* Resets 1em to 12px */
	font-family: 'Lucida Grande', verdana, helvetica, arial, sans-serif;
	text-align: center;
	}

#page {
	background-color: white;
	border: 1px solid #959596;
	text-align: left;
	}

#content {
	font-size: 1em;
	line-height: 1.3em;
	}

#footer {
	background-color: #eeeeee;
	}

small {
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3, h4, h5, h6 {
  color: #e57100;
	font-family: 'Lucida Grande', verdana, helvetica, arial, sans-serif;
	font-weight: bold;
	}

h1, h1 a, h1 a:hover, h1 a:visited, h1 a:active {
  color: #e57100;
	font-size: 0.9em;
	text-align: center;
	text-decoration: none;
	}

h2, h2 a, h2 a:visited {
	font-size: 1.6em;
	text-decoration: none;
	}

h3, h3 a, h3 a:visited {
	font-size: 1.3em;
	text-decoration: none;
	}
	
h4 { font-size: 1.2em; }

a.purplestarfish {
  color: #a0a0a0;
  text-decoration: none;
  padding-left: 15px;
}

h2 a:hover, h3 a:hover, a.purplestarfish:hover {
	text-decoration: underline;
	}

small, .small {
	color: #777;
	font-size: 0.8em;
	}
	
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0;
	padding: 0; 
	}

#page {
	margin: 10px auto;
	padding: 0;
	width: 760px;
	
	}
	
#header {
	padding: 0;
	margin: 0 auto;
	height: 80px;
	width: 100%;
}

#sidebar {
	float: left;
	padding: 0 5px 0 8px;
	margin: 0;
	width: 130px;
	}

#content {
	padding: 10px 0 20px 0;
	margin: 0px 0px 0px 150px;
	width: 570px;
	}
	
#footer {
	padding: 0 0 0 1px;
	margin: 0 auto;
	width: 760px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 0 0 10px 130px;
	text-align: center;
	}
	
.post {
	margin: 0 0 40px 0;
	text-align: justify;
	}

/* End Structure */



/*	Begin Headers */
h1 { 
	padding: 0;
	margin: 0;
	}

h2 {
	margin: 5px 0 0;
	}


h3 {
	padding: 0;
	margin: 30px 0 0;
	}

/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
	
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

ol li {
	list-style: decimal outside;
	}

/* End Entry Lists */


/* Begin Various Tags & Classes */

.center {
	text-align: center;
	}

a img {
	border: none;
	}

.tallspacer {
height: 300px;
}
	
/* End Various Tags & Classes*/    



/* ============  MENU SECTION ============ */

		#menu {
		 position: relative;
		 left: 148px;
		 top: 41px;
		}
		
		#menu ul {
		 position: relative;
		}

		#menu ul {
			list-style:none;
			padding: 0;
			margin: 0;
		}
		
		#menu ul li { 
			float: left;
			position: relative;
			padding: 0; 
			margin: 0;
		}
		
		#menu ul li a {
			display: block;
			text-decoration: none;
			border-bottom: none;
			padding: 0 5px;
			margin: 0;
		}
		
		#menu a { 
			font-weight: bold; 
			line-height: 17px; 
			font-size: 13px;
		}
		
		#menu a:link 	 {color: #ffffff; text-decoration: none;}
		#menu a:visited {color: #ffffff; text-decoration: none;}
		#menu a:active  {color: #ffffff; text-decoration: none;} 
		#menu a:hover 	 {color: #fbb984; text-decoration: none;}

    /* This is the part for the CSS menu - these settings are for a horizontal menu */
    #menu ul li a{                    /* top-level menu element links */
        text-align: center;         /* text alignment in main menu item links */
        display: block;
    }
    #menu ul li ul{                   /* sub-menu list container */
        position: absolute;         /* this is so that it doesn't push that page content around on hover */
        margin: 0px;                /* space around the list container */
        padding: 0px;               /* space within the list container */
        list-style-type: none;      /* disable the display of the list item bullets */
        display: none;
        width: 120px;               /* the width of the sub menus */
        border: black solid 1px;    /* sub-menu borders */
        color: #000;                /* sub-menu default font color (not links) */
    }
    #menu ul li:hover ul, #menu ul li.over ul{ /* lists nested under hovered list items */
        display: block;
        background: #010a59;
    }    
    #menu ul li ul li{                /* sub-menu element links */
        background: #010a59;
        background-color: #b4bae5;     /* default background color for sub-menu container */
        color: #000;                /* default font color (not links) for sub-menu container */
        border: none;               /* sub-menu item border settings */
        margin: 0px;                /* spacing between sub-menu containers */
        padding: 3px;               /* This is for padding between menu items in the drop-downs */
        width: 109px;               /* (padding*2 - 5) must be subtracted from #dmenu li ul -> width and set for this one, or borders won't display properly...
                                       not sure where the other 5 pixels come from... Maybe it's actually padding*4 instead? I'll find out some other time */
    }
    #menu ul li ul li a{
        background: #010a59;
        background-color: #b4bae5;     /* default background color for sub-menu container */
        display: block;
        width: 109px;               /* should be set to the same value as #dmenu li ul li -> width */
    }
    #menu ul li ul li a:hover{
        color: #e57100;
    }
    
		#menu ul li.current_page_item ul li a {
			background: #b4bae5;
		}    

/* ============ SIDEBAR MENU SECTION ============ */


#sidebar ul { 
	background-color:#010a59;
	font-size: 0.85em;
	padding: 0;
	margin: 15px 5px 10px 15px;
	width: 100px;
}

#sidebar ul li { 
	list-style: none;
	margin: 1px 0;
	padding: 0;
}

#sidebar ul li a:link 	 {color: #b4bae5; text-decoration: none;}
#sidebar ul li a:visited {color: #b4bae5; text-decoration: none;}
#sidebar ul li a:active  {color: #e57100; text-decoration: none;} 
#sidebar ul li a:hover 	 {color: #e57100; text-decoration: none;}


#sidebar ul li a {
	color: #b4bae5;
	text-decoration: none;
	display: block;
	border-left: 8px solid #b4bae5;
	border-bottom: 1px solid #b4bae5;
	padding: 1px 5px;
	margin: 0;
}

#sidebar ul li a:hover { border-color: #e57100; }

#sidebar ul li ul {
  margin: 0 0 0 5px;
  padding: 0;
}

#sidebar ul li ul li a {
	font-size: 1em;
	border: 0;
	border-left: 0.8em solid #717490;
	padding: 0 0 0 5px;
	margin: 0;
}

#sidebar ul li.current_page_item a, #sidebar ul li ul li.current_page_item a, #sidebar ul li.current_page_item a:visited {
	color: #e57100;
	border-color: #e57100;
}