/* top elements */
* {margin:0;padding:0}
p{margin-bottom:1em}
/* commented backslash hack v2 \*/ 
html, body{height:100%;} 
/* end hack */ 

body {
	margin: 0; padding: 0;
	font: 71%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif;
	background-position: top center;
	color: #333;	
	text-align: center;		
}

/* links */
a {
	background: inherit;
	text-decoration:none;
	color: #06c; 
}
a:hover {
	background: inherit;
	text-decoration: underline;
}

/* headers */
h1, h2, h3 {
	font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif;
	color: #555;
}
h1 { font-size: 1.8em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; text-transform: none;}

#main-database h1, #main-bottom h1, #thumbnail-css h1, #rightbar h1, #right h1 {
	padding: 10px 0 5px 5px;
	margin: 0 0 0 0px;
	border-bottom: 1px solid #ddd; 	
}	

#leftmenu h1 {
	padding: 0px 0px 5px 32px;
	margin: 0;	
}

#sidebar h1 {
	padding: 10px 0px 5px 32px;
	margin: 0;	
}

p, h1, h2, h3 {

}
ul span, ol span {
	color: #666666;
}

/* http://perryhalldrivingschool.com/new */
img {
	border: 1px solid #ccc;
	padding: 5px;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img {  
  border: 0px;
}
a:hover img {  
  border: 0px !important; /* IE fix*/
  border: 0px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 3px solid #EC981F;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 32px;  	
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 3px solid #EC981F;  
	font-weight: bold; 
}
select {
background-color: white;
color: gray;
}
/* form elements REGISTER */
.sr {
	position: absolute;
	left: -9999em;
	top: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	}
form.cmxform {
	color: #333;
	}
	
form.cmxform legend { padding-left: 0; }
	
form.cmxform legend,
form.cmxform label { color: #333; }

form.cmxform fieldset {
	border: none;
	border-top: 1px solid #d9d9d9;
	}
	
form.cmxform fieldset fieldset { background: none; }
	
form.cmxform fieldset li {
	padding: 5px 10px 7px;
}

form.cmxform fieldset { margin-bottom: 10px; }
	
form.cmxform legend {
	padding: 0 2px;
	font-weight: bold;
	_margin: 0 -7px; /* IE Win */
	}
	
form.cmxform label {
	display: inline-block;
	line-height: 1.8;
	vertical-align: top;
	}
	
form.cmxform fieldset ol {
	margin: 0;
	padding: 0;
	}
	
form.cmxform fieldset li {
	list-style: none;
	padding: 5px;
	margin: 0;
	}
	
form.cmxform fieldset fieldset {
	border: none;
	margin: 3px 0 0;
	}
	
form.cmxform fieldset fieldset legend {
	padding: 0 0 5px;
	font-weight: normal;
	}
	
form.cmxform fieldset fieldset label {
	display: block;
	width: auto;
	}

form.cmxform em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
	}

form.cmxform label { width: 120px; } /* Width of labels */
form.cmxform fieldset fieldset label { margin-left: 123px; } /* Width plus 3 (html space) */

/*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */

label {
	display:block;
	margin:5px 0;
}
input {
	padding: 4px;
	border:1px solid #d9d9d9;
	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:450px;
	padding:4px;
	font: normal 1em/1.5em Verdana, sans-serif;
	border:1px solid #d9d9d9;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #333;	
}

/* search form */
form.searchform {
	background: transparent;
	border: none;
	margin: 0; padding: 0;	
}
form.searchform input.textbox { 
	margin: 0; 
	width: 120px;
	border: 1px solid #CCC; 
	background: #FFF;
	color: #333; 
	vertical-align: top;
}
form.searchform input.button {
	width: 55px;
	vertical-align: top;
}

/*****************/
/*    Layout     */
/*****************/
#annoucement {
	color: #fff;
	font-weight: bold;
	background: #e57b7b;
	border-bottom: #a40000 1px solid;
	border-right:#a40000 1px solid;
	border-left: #a40000 1px solid;
	height: 25px;
	text-align: center;
	width: 950px;
	padding-top: 5px;
}
#annoucement a {
	color: #fff;
}
#wrap {
	margin: 0 auto;
    width: 950px;  	
	text-align: left;		
	background: #FFF;
	min-height:100%;	
}

/* categories */
#categories {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
}

.maincat {
  font-weight: bold;
}

#content-wrap {
	float:left;
	clear:both;
	padding-top: 5px;
    margin-left: 0px;
    padding-left: 0px;
	width: 950px;	
	min-height:100%;
	height: 100%;
}

#contentwrap-bottom {
	clear:both;
   margin: 0; padding:0;
	width: 950px;	
	min-height:100%;
}

/* header */
#header {
	position: relative;
	width: 950px;
	height: 84px;	
}
#header h1#logo {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #CCC;
	text-transform: lowercase;
	/* change the values of top and Left to adjust the position of the logo*/
	top: 0; left: 5px;	
}
#header h2#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #666;
	/* change the values of top and Left to adjust the position of the slogan*/
	top: 47px; left:125px;		
}
#header .searchform {
	position: absolute;
	top: 5px; right: 3px;	
}

#header a {
	text-decoration: none;
	color: #CCC;
}

#header h1 a {
	text-decoration: none;
	color: #CCC;
}

/* menu */
#menu {
	border-bottom: 1px solid #ccc;
	margin: 0; padding: 0;	
	float: left;
	width: 950px;
	background: #dedede;
	color: #666666;
}

#left-bar {
	float: left;
	width: 223px;
}

#right-bar {
	float: right;
	width: 720px;
	padding-left: 5px;
}

#right-bar-home {
	float: right;
	width: 720px;
	padding-left: 5px;
}
#right-bar h1{
	font-size: 1.8em;
	border-bottom: 1px solid #ccc;
	color: #555;
	margin:0 0 3px 0;
	padding:3px 10px 3px 10px;
}
#right-bar h1 a{
	color: #3c8eae;
}

#right-bar ul {
	padding-left: 30px;
}

.body h1{
	font-size: 1.8em;
	color: #555;
	margin:0 0 3px 0;
	padding:3px 10px 3px 10px;
}

#welcome-content {
	width: 720px;
}

#main {
	float: left;
	padding: 0;
	width: 720px;	
}

.body h1{
	font-size: 1.8em;
	color: #555;
	margin:0 0 3px 0;
	padding:3px 10px 3px 10px;
}

#feature {
	float: left;
	width: 219px;
	background:#fff url(../img/bg/bg-contact.gif) bottom left repeat-x;
	border-right: 1px solid #eee;
	padding-left: 10px;
	padding-right: 10px;
}

#feature h1 {
	color: #d34949;
}

#feature img {
	border: none;
	margin-left: 4px;
}

.feature-link {
	display: block;
	width:	199px;
	background: #fff;
	padding: 10px;
	text-align: center;
}

.feature-link:hover {
	background: #ddd;
}

.seniors {
	float: left;
	width: 239px;
}

#ad {
	float:left;
	background: #FFF url(../img/side/bg.gif) bottom left repeat-x;
	width: 100%;
	height: 358px;
	border: 1px solid #ccc;
}

#ad img {
	border: none;
	padding-left: 29px;
}

#nav {
	width: 100%;
}

.list1 dt {
		font-size:16px;
		color:#2d2d2d;
		line-height:1.2em;
	}
		.list1 dt a {
			color:#2d2d2d;
			text-decoration:none;
		}
		.list1 dt a:hover {
			border-bottom:1px solid #2d2d2d;
		}
	.list1 dd {
		color:#a8a8a8;
		font-size:11px;
		border-bottom:1px solid #d1d1d1;
		padding-bottom:6px;
		margin-bottom:5px;
	}
	.list1 dd.last {
		border-bottom:none;
	}
.inner h2 {
	font-size:24px;
	color:#242424;
	line-height:1.2em;
	font-weight:normal;
	padding:0 0 0 23px;
	margin-bottom:18px;
}

.inner h1{
	font-size: 1.6em;
	color: #3c8eae;
	margin:0 0 10px 0;
	padding:3px 0px 3px 0px
}

#welcome {
	float: right;
	width: 721px;
	height: 32px;
	background: #FFF;
	border: 1px solid #ccc;
	clear:right;
}

#reg {
	display: block;
	width:	157px;
	height: 31px;
	background: url(../img/btn/reg-today.gif) no-repeat;
	background-position:top;
}

#reg:hover {
	background: url(../img/btn/reg-today.gif) no-repeat;
	background-position:bottom;
}

#reg span {
	display: none;
}

#check {
	display: block;
	width:	157px;
	height: 31px;
	background: url(../img/btn/check-schedule.gif) no-repeat;
	background-position:top;
}

#check:hover {
	background: url(../img/btn/check-schedule.gif) no-repeat;
	background-position:bottom;
}

#check span {
	display: none;
}
 
#register {
	float: left;
	width: 223px;
	height: 250px;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #FFF url(../img/bg/register-bg.gif) bottom left repeat-x;
}
/*Enroll Now*/

.enroll h1{
	font-size: 1.6em;
	color: #3c8eae;
	margin:0 0 10px 0;
	padding:3px 10px 3px 10px
}

.enroll h3{
	border-bottom: 1px solid #ccc; 
	font-weight:700;
	margin:10px 10px 0 10px;
}

.enroll p{
	margin:0 10px 10px 10px;
}

.enroll p a{
	float: right;
	text-transform: uppercase;
    padding-bottom: 1px;
}
#scroller {
	float: right;
	width: 725px;
	height: 250px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	background: #3d8ead;
}

/*Enroll Now*/

/*rows*/
.row1 {
	background: #858585;
}
.row2 {
	background: #656769;	
}
.searchrow1 {
	background: #FAFAFA;
	color: #666666;	
}
.searchrow2 {
	background: #F2F2F2;	
	color: #666666;	
}

/* alignment */
.right {
	float:right;
}

#left {
	float: left;
	width: 26%;
	padding: 0;	margin: 0;
	position:relative;	
}
#right {
	float: right;
	width: 75%;
	margin-right: -15px;
	padding-right: -15px;
	height: 100%;
}

#loginbar {
	margin:10px; padding: 0;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 
	border: 1px solid #ecebeb;
	width: 157px;
	height: 257px;
}

/* thumbnails */
#thumbnail-css {
	float: left;
	margin-left: 15px;
	padding: 0;
	width: 95%;	
	border-left: 1px solid #f2f2f2;
}

/* main column */

ul.body-menu {
   height:50px;
   width:500px;
   list-style-type: none;
}
ul.body-menu li {
   background: #BBBBBB;
   text-align: center;
   float:left;
   height:25px;
   padding-top: 8px;
   margin-right:1px;
   margin-top:7px;
   width:150px;
}
ul.body-menu-bottom {
   height:50px;
   width:500px;
   margin-top: -10px;
   list-style-type: none;
}
ul.body-menu-bottom li {
   border-left: 1px solid #BBBBBB;
   border-right: 1px solid #BBBBBB;
   border-bottom: 1px solid #BBBBBB;
   text-align: center;
   float:left;
   height:75px;
   padding-top: 8px;
   margin-right:1px;
   margin-top:0px;
   width:148px;
}


#annouce {
	float: left;
	margin-left: 5px;
	padding: 0;
	width: 98%;	
	height: 100%;
	min-height: 100%;
}

.announce {
	text-align: center;
	background: #E6E8FA;
	border: 1px solid #50A6C2;
}

.announce p{
 	margin:0 10px 0px 20px;
}

.announce a{
	color:#000;
}

#main-alt {
	float: left;
	margin-left: 5px;
	padding: 0;
	width: 98%;	
	height: 100%;
	min-height: 100%;
}

/* left menu */
#leftmenu {
	float: left;
	width: 90%;
	margin: 0;	padding: 0;
	display: inline;
}
#leftbottom {
	float: left;
	width: 100%;
	margin: 0;	padding: 0;
	display: inline;
}
#leftmenu ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 0 0 8px 0;	
	padding-right: 0;		
	text-decoration: none;
}
#leftmenu ul.sidemenu li {
	border-bottom: 1px solid #EFF0F1;
	padding: 2px 5px 2px 20px;	
}

* html body #leftmenu ul.sidemenu li { height: 1%; }

#leftmenu ul.sidemenu a {
	background-image: none;

}

/* sideabar */
#sidebar {
	float: right;
	width: 27%;
	margin: 0;	
	padding-top: 25px;
	display: inline;
}
#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 0 0 8px 0;	
	padding-right: 0;		
	text-decoration: none;
}
#sidebar ul.sidemenu li {
	border-bottom: 1px solid #EFF0F1;
	padding: 2px 5px 2px 20px;	
}

* html body #sidebar ul.sidemenu li { height: 1%; }

#sidebar ul.sidemenu a {
	background-image: none;
	text-decoration: none;	
}

.schedule h3{
	font: 100%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif;
	background:#f0f0f0;
	margin:0 0 10px 0;
	padding:3px 10px 3px 10px
}

/* recently added */
#recent-added {
	width: 96%;
	margin:10px; padding: 0;
	border: 1px solid #d9d9d9; 
	background: #FFF; 
}

/*Body Links*/
#body-links {
	width: 99%;
	border: 1px solid #d9d9d9; 
}

/* footer */
#footer {
	float:left;
	clear: both;
	width: 950px;
	background: #fff;	
	padding-top: 10px;
	padding-bottom: 5px;
}


/*--http://perryhalldrivingschool.com/new----------------------------------------------------*/
.imagerow1 {
  background-color: #E5E5E5;
}

.imagerow2 {
  background-color: #EFEFEF;
}

/*DROPDOWN MENUS*/
.setperpageselect {
  	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;
    font-size: 11px;
}

.categoryselect {
  	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;;
  	font-size: 11px;
}
.dropdownmarker {
  	font: bold 1em/1.5em Verdana, sans-serif;	
  	background-color: #EEEEEE;
  	color: #777;
  	font-size: 11px;
}

/* Alignment classes */
.float-left   { float: left;}
.float-right  { float: right; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }
.align-center { text-align: center;	}
.align-justify { text-align: justify; }
.width100 { width: 800px; }
.padding-4 { padding: 4px; }

/* display classes */
.clear  { clear: both; }
.block  { display: block; }
.hide   { display: none; }	

/*Schedule & Prices*/
#sp-m {
	float:left; 
	color:#FFF;
	width:97%; 
	background:#77aaee;
	border: 1px solid #6995cf; 
	margin:0 0 10px 0;
	padding:3px 10px 3px 10px;
	font-weight: 700;
}
#sp-a {
	float:left; 
	color:#FFF;
	width:97%; 
	background:#f49321;
	border-bottom: 1px solid #e07a01; 
	margin:0 0 10px 0;
	padding:3px 10px 3px 10px;
	font-weight: 700;
}
#sp-e {
	float:left; 
	color:#FFF;
	width:97%; 
	background:#dd5c72;
	border-bottom: 1px solid #b84d5f; 
	margin:0 0 10px 0;
	padding:3px 10px 3px 10px;
	font-weight: 700;
}

#sp-w {
	float:left; 
	color:#FFF;
	width:97%; 
	background:#9d9ade;
	border-bottom: 1px solid #8480cc; 
	margin:0 0 10px 0;
	padding:3px 10px 3px 10px;
	font-weight: 700;
}

#sp-x {
	float:left; 
	width:97%; 
	background:#dedede;
	border-bottom: 1px solid #ccc; 
	margin:0 0 10px 0;
	padding:3px 10px 3px 10px;
	font-weight: 700;
}

/* demo */

div.demolayout {
	width: 100%;
	margin: 0 0 20px 0;
}

ul.demolayout {
	list-style-type: none;
	width: 690px;
	float: left;
	background: url(../img/pixel.gif) bottom left repeat-x;
}

ul.demolayout li {
	margin: 0 2px 0 0;
	float: left;
}

ul.demolayout a {
	float: left;
	display: block;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-bottom: 0;
	color: #555;
	background: #fff;
	text-decoration: none;
	font-weight: bold;
}

ul.demolayout a:hover {
	background: #eee;
}

ul.demolayout a.active {
	background: #eee;
	padding-bottom: 5px;
	cursor: default;
	color: #3c8eae;
}

.tabs-container {
	clear: left;
	background:#fff url(../img/bg/bg-schedule.gif) top left repeat-x;
	border: 1px solid #ccc;
	border-top: 0;
	padding: 20px 8px 0 8px;
}

#demo h2 {
	font-size: 100%;
	margin: 0 0 20px 0;
}
/* layout */

#km-wrapper {
	width: 768px;
	margin: auto;
	background: #fff;
}

#km-wrapper-inner {
	padding: 40px 20px;
}

/* text styles */

h1.km-def {
	margin: 0 0 20px 0;
	color: #000;
}

h2.km-def {
	font-size: 100%;
	margin: 30px 0 20px 0;
	color: #000;
}

p.km-def {
	margin: 0 0 20px 0;
	line-height: 140%;
}

ul.km-def, ol.km-def {
	margin: 0 0 20px 0;
}

ul.km-def li, ol.km-def li {
	margin-left: 40px;
	line-height: 140%;
}

ul.km-def {
	list-style-type: square;
}

pre.km-def {
	font-size: 100%;
	color: #999;
	margin: 0 0 20px 0;
	border: 1px solid #ccc;
	padding: 5px 10px;
}

/* links */

a.km-def {
	text-decoration: none;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	color: #666;
}

a.km-def:hover {
	background: #F3F3F3;
	color: #000;
	border-bottom: 1px solid #000;
}

/* misc */

.new {
	background: url(n_eng.gif) 100% 0 no-repeat;
	padding-right: 25px;
}

img.km-def {
	border: 2px solid #ccc;
}