/* Copyright©2010 Richard Ng */
/* CSS Document */

/* general layout */

html {
	overflow-y: scroll;
}

body  {
	background-color: #ecf1fb;
}

div.mainArea {
	background-color: transparent; 
	margin: 10px auto; 
	padding: 0;
	width: 1000px; 
}

div.topBanner {
	background: url("../images/logo.png");
	width: 988px; 
	height: 90px;
    margin: 0 0 4px 0;
}

div.adminBar {
	width: 1000px; 
	height: 26px;
	margin: 0 0 30px 0; 
}

div.adminbarButtons {
	width: 1000px;
	margin: 0;
	padding: 0;
	display: inline;
}

div.headerBar {
	background-color: transparent; 
	width: 1000px; 
	height: 30px;
	margin: 0 0 20px 0; 
}	

div.contentArea {
	background-color: transparent; 
	width: 1000px; 
	/* height: 400px; */ /* adjust this height to accomodate the length of the contents */
}

div.sidebar {
	float: left; 
	background-color: transparent; 
	margin: 0 0 40px 0; 
	padding: 0; 
	width: 200px;
}
	
div.rightContent {
	float: right; 
	background-color: transparent; 
	margin: 0 0 0 0; 
	padding: 0 0 50px 0; 
	width: 800px;; 
	// width: 794px; /* this is the  IE 6 fix */
}

div.sidebarButtons {
	margin: 0; 
	padding: 20px 0 0 0;
}

div.footer {
	width: 988px; 
	height: 20px;
	// margin: 50px 0 0 0; /* this is the IE 6 and 7 fix */
}

h1 {
	font-size: 26px;
	text-align: center;
	/*color: gray;*/
    color: #1800a7;
	margin: 0 0 0 0;
	padding: 0 20px 10px 0; 
}

h2 {
	color: #371dd7;
	font-size: 22px;
	margin: 0 0 0 0;
	padding : 10px 20px 10px 0;
}

strong {
	/*color: #666;*/
    color: #1800a7;
}

p {
	color: #210d9b;
	font-size: 20px;
	margin: 0 0 0 0;
	padding : 10px 20px 10px 0;
	
}

p.footer {
	text-align: center;
	color: gray;
	margin: 0 0 0 0;
	padding : 0;
	
}

a:link { 
	/* color: #666; */
    color: #1800a7;
	font-style: italic;
	font-size: 18px;
	text-decoration: none; 
}

a:visited { 
	/*color: #666; */
    color: #5338f6;
	font-style: italic;
	font-size: 18px;
	text-decoration: none;
}

a:hover {
	color: red;
	font-style: italic; 
	font-size: 18px;
	text-decoration: none;
} 

img {
	border: 0;
}

hr {
  border: 0px;
  width: 0%;
}

/* iPhoneApps page styling */
div.iPhoneAppItems {
	background-color: transparent; 
	width: 800px; 
	height: 0px;
	// height: 200px; /* IE fix */ 
	margin: 0; 
	padding: 20px 0 0 0;;
}

div.iPhoneAppIcons {
	float: left; 
	background-color: transparent; 
	margin: 0; 
	padding :10px 0 30px 0; 
	width: 250px; 
	height: 56px;
	text-align: center;
}

div.iPhoneAppTitles {
	float: right; 
	background-color: transparent; 
	margin: 0; 
	padding: 0 0 30px 0;
	// padding: 0 0 0px 0; /* this is the  IE 6 fix */
	width: 550px; 
	height: 66px; 

	text-align: center;
}

div.middleColume {
	float: left; 
	background-color: transparent; 
	width: 230px; 
	height: 76px; 
	//height: 80px;  /* this is the  IE 6 fix */
	margin: 0; 
	padding: 18px 70px 2px 0; 
	text-align: center;
}

div.rightColume {
	float: right; 
	background-color: transparent; 
	width: 180px;  
	height: 76px; 
	//height: 80px;  /* IE 6 fix */
	margin: 0; 
	padding: 10px 70px 10px 0; 
	text-align: center;
}

/* directions page styling */
.directionFormBanner, #directionFormBanner {
	background-color: #bdb3f9; 
	position: relative; 
	width: 719px;; 
	height: 30px;
    margin: 0;  
    padding: 12px 30px 6px 30px; 
    text-align: center; 
    border: 1px solid #5338f6;
}

.printDirections {
	background-color: #ccc6ef; 
	width: 260px; 
	height: 20px; 
	margin: 0; 
	padding: 2px 0 4px 0; 
	font-size: 12px; 
	text-align: center;
	border-right: 1px solid #5338f6;
	border-bottom: 1px solid #5338f6;
	border-left: 1px solid #5338f6;
}
		
#directionDiv {
	overflow-y: scroll;
	overflow-x: hidden;
	float: left; 
	background-color: transparent; 
	//background-color: #ecf1fb; /* IE fix */
	width: 250px; 
	height: 506px; 
	margin: 0; 
	padding: 0; 
	font-size: 12px; 
	border-right: 1px solid #5338f6;
	border-bottom: 1px solid #5338f6;
	border-left: 1px solid #5338f6;
}

#mapDiv {
	float: right;  
	background-color: transparent; 
	width: 513px; 
	// width: 516px; /* IE 6 fix */
	height: 516px;
	// height: 520px; /*IE 6 fix */ 
	margin: 0; 
	padding: 0; 
	font-size: 12px; 
	border-right: 1px solid #5338f6;
	border-bottom: 1px solid #5338f6;
	border-left: 1px solid #5338f6;
}

/* This is the div that contains the driving directions, map and the simulator */
div.drivingSimulator {
	background-color: transparent; 
	width: 778px; 
	Border-left: 1px solid #d3d3d3; 
	Border-right: 1px solid #d3d3d3; 
	border-bottom: 1px solid #d3d3d3;
}

form {
	margin: 0;
	padding: 0;
}

fieldset {
    font: 16px "Helvetica Neue", helvetica, arial, sans-serif;
    /*color: #666;*/
    color: #5338f6;
    padding: 22px;
    // padding: 0 22px 0 22px; /* IE fix */
    /*border: solid 1px #d3d3d3;*/
    border: solid 1px #5338f6;
    width: 740px;
}
 
legend {
	// padding: 10px; /* IE fix */ 
    margin: 0 0 0 50px; 
    font-size: 16px;
    font-weight: bold; 
    /*color: #333;*/
    color: #5338f6;
}

label  {
    float: left;
    display: block;
    width: 110px;
}

/* this is the special <p> element that response to error and display error message */
p.formError {
	display: inline;
	visibility: hidden;
	color: #f00;
	font-style: italic;
	margin: 0;
	padding : 0 0 0 15px;
}




