/* 
Theme Name: Car Control School (Modified from Hanami)
Theme URI: none
Description: A clean and widget enabled theme with an elastic layout.
Version: 0.0.2
Author: A. Onsen
Author URI: http://www.onsendesigns.com
Tags: 

License: GNU General Public License (GPL) version 3

	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
*/

/* HEADER IMAGE */

#masthead {
	background: url('./images/titleTop3.png') no-repeat;
	overflow: hidden;
}


/* =Global
------------------------------------------------------------------*/
html, body, form, fieldset, h1, h2, h3, h4, h5, h6, pre, blockquote, address,.more-link, ul  {
	margin:0;
	padding:0;
	}

a, a:link, a:visited {
	outline: none;
	text-decoration: none;
	}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

blockquote:before, blockquote:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

ul, ol {
	list-style-type: none;
}


/* =Layout 
------------------------------------------------------------------*/

#wrapper {
	width: 994px;
	margin: 0 auto;
/*	padding: 0 .5em;*/
}

#content {
	margin: 1em 0 0 0;
	clear: both;
	width: 70%;
	float: left;
}

#sidebar {
	margin: 1em 0 0 0;
	width: 25%;
	float: right;
}

#masthead {
	text-align: center;
	width: 100%;
	height: 98px;
	overflow: hidden;
}

#description {
	text-align: center;
	margin: -.3em 0 0 0;
	padding: 0 0 1em 0;
}

#footer {
	padding: 3em 0 0 0;
	clear: both;
}

.right {
	float: right;
}

.left {
	float: left;
}

.entry {
	padding: 2em 0 1em 0;
}


#sidebar h2 {
	margin: 2em 0 0 0;
	padding: 0;
}

#sidebar li {
	padding: 0 0 0 .5em;
}

.entry .thumbnail {
	float: left;
	margin: 0 .7em 0 0;
}

p.attachment img {
	display: block;
	margin: 0 auto;
}

#schoolSelectWrapper {
}

#schoolSelectItem1 {
	width: 331px;
	height: 184px;
	float: left;
}

#schoolSelectItem1 a { 
	display: block;
	width: 331px;
	height: 184px;
	text-decoration: none;
	background: url(./images/AdvancedCCS-Rollover-A.jpg);
}

#schoolSelectItem1 a:hover {
	background: url(./images/AdvancedCCS-Rollover-B.jpg);
}

#schoolSelectItem2 {
	width: 331px;
	height: 184px;
	float: left;
}

#schoolSelectItem2 a { 
	display: block;
	width: 331px;
	height: 184px;
	text-decoration: none;
	background: url(./images/PerfoamanceCCS-Rollover-A.jpg);
}

#schoolSelectItem2 a:hover {
	background: url(./images/PerfoamanceCCS-Rollover-B.jpg);
}

#schoolSelectItem3 {
	width: 331px;
	height: 184px;
	float: left;
}

#schoolSelectItem3 a { 
	display: block;
	width: 331px;
	height: 184px;
	text-decoration: none;
	background: url(./images/ClubCorporateCCS-Rollover-A.jpg);
}

#schoolSelectItem3 a:hover {
	background: url(./images/ClubCorporateCCS-Rollover-B.jpg);
}


/* =Typography
------------------------------------------------------------------*/
body {
/*	font-family: times, 'Times New Roman', times-roman, georgia, serif;*/
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: #555;
}

#content {
	font-size: 14px;
}

.dropcaps {
	font-size: 3.5em;
	float: left;
	display: inline;
	margin: .35em .2em 0 0;
}

#masthead h1 {
	font-variant: small-caps;
	font-size: 2.5em;
	clear: right;
	padding-top: .75em;
}

#description {
	display: block;
	font-size: .4em;
	text-transform: uppercase;
}

h2 {
/*	text-transform: uppercase;*/
	font-size: 1.7em;
	margin-bottom: -.1em;
}

.meta {
	font-size: .6em;
	font-style: italic;
	padding-right: .6em;
}

.cont {
	font-size: .9em;
	font-style: italic;
}

#mainnav  {
	background: url('./images/menuTop2.png') center no-repeat;
	height: 29px;
width: 994px;
	padding-top: 0px;
	padding-left: 0px;
}

#topnav {
	text-transform: uppercase;
	font-size: .7em;
	letter-spacing: .02em;
}

#bottomnav {
/*	text-transform: uppercase;*/
	font-size: .8em;
}

.entry {
	line-height: 1.4em;
}

.entry ol {
	list-style-type: decimal;
	margin: 0;
	padding: 0 0 0 2em;
}

.entry ul {
	list-style-type: circle;
	padding: 0 0 0 2em;
}

.caption {
	margin: -.8em 0 0 0;
	padding: 0;
	font-size: .8em;
	text-align: center;
	line-height: 1em;
	color: #999;
}


h2.browse {
	text-align: center;
	font-variant: small-caps;
	font-style: italic;
	padding: .5em 0;
	font-size: 1.1em;
}

.search {
	text-transform: uppercase;
	font-size: .9em;
}

#sidebar h2 {
	font-size: 1.2em;
	font-variant: small-caps;
	letter-spacing: 1px;
}

#sidebar {
	font-size: .87em;
	line-height: 1.9em;
}

blockquote {
	width: 60%;
	margin: 0 auto;
	font-style: italic;
	border-left: 2px solid #2683AE;
	padding-left: 1em;
}

.entry blockquote cite {
	display: block;
	text-align: right;
}

.entry blockquote cite::before {
	content: "-";
}

.error {
	text-align: center;
	font-size: 2em;
	font-style: italic;
	line-height: 1.7em;
}

h3#comments {
	padding-bottom: 1em;
}


/* =Colors
------------------------------------------------------------------*/


#bottomnav {
	color: #CCC;
}

.browse {
	background: #EEE;
}

/*
#masthead {
	border-top: 1px solid #2683AE;
	border-bottom: 1px solid #2683AE;
}
*/

#description {
	color: #2683AE;
}

input {
	border: 1px solid #666;
	}

#sidebar li > ul li {
	border-bottom: 1px solid #DDD;
}

#sidebar li > ul li:hover {
	background: #EEE;
}

#sidebar li > .children li {
	border: 0;
}

.entry {
	border-bottom: 1px dotted #000;
}

.entry img {
	padding: .3em;
	border: 1px solid #000;
}

.entry .sticky h2 a {
	color: #2683AE;
}

.entry .gallery img {
	border: 1px solid #000;
}

/* =Links
------------------------------------------------------------------*/
.entry h2 a {
	color: #000;
	background: none;
	border: 0;
	font-weight: normal;
}

.entry h2 a:hover {
	color: #D54E21;
	border: 0;
}

#masthead a {
	color: #000;
}

#topnav a, #mainnav a {
	color: #195595;
}

#sidebar a {
	color: #666;
}

#bottomnav a {
	color: #888;
	border-bottom: 1px dotted #666;
}

.entry a, #comments a, .entry_nav a {
	color: #D54E21;
	border-bottom: 1px dotted #2683AE;
}

.entry a:hover, #comments a:hover {
	color: #2683AE;
	border-bottom: 1px dotted #D54E21;
}

#sidebar li a {
	color: #2683AE;
}

#sidebar li a::before {
	content: "\00BB\00A0";
	color: #D54E21; 
}

.entry .gallery a {
	border-bottom: none;
}

/* =Navigation
------------------------------------------------------------------*/


ul#topnav {
	height: 2em;
	line-height: 2em;
	background: #CEE1EF;
	overflow: hidden;
}

ul#mainnav {
/*	height: 2.5em;
	line-height: 2.5em;*/
	overflow: hidden;
	padding-left: 0px;
	margin: 0;
	width: 100%;

	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	letter-spacing: 0.3px;
}

ul#mainnav li > ul {
	display: none;
}

ul#mainnav li.current_page_item > ul, ul#mainnav li.current_page_parent > ul {
	display: block;
	position: absolute;
	clear: both;
	margin-top: 2.5em;
	width: 60em;
}

ul#mainnav li:hover > ul a, ul#mainnav li.current_page_item > ul a, ul#mainnav li.current_page_parent > ul a {
	float: left;
	height: 1.5em;
	line-height: 1.5em;
	padding-top: .3em;
	font-size: .9em;
	border-right: 3px solid #FFF;
	background: #EEE;
}

ul#mainnav li.current_page_parent > ul li.current_page_item a, ul#mainnav li.current_page_item > ul li a:hover, ul#mainnav li.current_page_parent > ul li a:hover {
	background: #DDD;
}


ul#mainnav li.current_page_parent a {
	background:  #D54E21;
}

ul#bottomnav {
	height: 1.8em;
	line-height: 1.8em;
	background: #CEE1EF;
}

#topnav li a {
	float: right;
	line-height: 2em;
	padding: 0 .7em;
	border-left: 2px solid #FFF;
	color: #333;
}

#topnav li a:hover {
	background: #D54E21;
}

#mainnav li.current_page_item a, li.current a {
/*	background: #D54E21;*/
	color: black;
	background-color: #BBB;
}

#mainnav li a {
	float: left;
/*	line-height: 12px;
	padding: 0 .9em 0 .9em;
	border-right: 3px solid #FFF;
	color: #333;*/
	color: #195595;
	text-decoration: none;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 6px;
	padding-bottom: 4px;	
}

#mainnav li a:hover {
/*	background: #D54E21;*/
	color: black;
	background-color: #BBB;
}

#bottomnav li {
	float: left;
	line-height: 1.8em;
	padding: 0 .7em;
/*	border-left: 2px solid #FFF;*/
	color: #333;
}

/* =Threaded Comments
------------------------------------------------------------------*/

.reply {
	margin-bottom: 1.5em;
}

ul.children {
	margin-left: 2em;
}

#comments li.bypostauthor img {
	border: 1px solid #D54E21;
}

#comments li.bypostauthor .comment-author {
	border-top: 1px dotted #D54E21;
}

#comments li.bypostauthor .comment-meta {
	border-bottom: 1px dotted #D54E21;
}

#comments ul.commentlist img {
	margin-top: .25em;
	margin-bottom: .3em;
}

ul.commentlist .commentmetadata {
	font-size: .8em;
}

span.says {
	display: none;
}

ul.commentlist .comment-author {
	border-top: 1px dotted #999;
}

ul.commentlist .comment-meta {
	border-bottom: 1px dotted #999;
}

#comments ul.commentlist .comment-meta a {
	color: #000;
	border-bottom: none;
}

/* =Comments
------------------------------------------------------------------*/
#comments {
	line-height: 1.5em;
}

#comments h3 {
	margin: 2em 0 0 0;
	font-size: 1.4em;
	text-transform: capitalize;
}

.avatar {
	margin: .15em .3em 0 0;
	float: left;
}

#comments img {
	padding: .2em;
	border: 1px solid #000;
}

.commentmeta {
	border-top: 1px dotted #999;
	border-bottom: 1px dotted #999;
	}

.commentmeta li {
	font-size: .9em;
}

li.author, li.date {
	font-style: italic;
}

.comment_text {
	margin: 0 0 0 2.5em;
}

/* =Wigetized
------------------------------------------------------------------*/

#searchform {
	margin: 2em 0;
}

.textwidget {
	margin: .7em 0 0 0;
	line-height: 1.2em;
}

#calendar {
	margin: 0 0 0 1.5em;
}

#sidebar #calendar a::before {
	content: "";
}


/* =Required
------------------------------------------------------------------*/

.aligncenter, .entry img .aligncenter  {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft, .entry img .alignleft {
	float: left;
}

.alignright, .entry img .alignright {
	float: right;
}

.wp-caption, .gallery-caption {
	font-size: .8em;
	text-align: center;
	color: #999;
}

.wp-caption-text, .gallery-caption {
	margin-top: -.3em;
}

.wp-caption {
	margin-top: 1em;
}

.wp-caption img {
	padding: 5px;
	border: 1px solid #000;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


/* =Subscribe to Ian's Laws Button
------------------------------------------------------------------*/

.myButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#777777;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
}.myButton:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}.myButton:active {
	position:relative;
	top:1px;
}
