/*
Author: Brad Micallef
http://www.manage-your-project.com
Version: 1.0
Date: 20070728

This template may be used as-is, modified, and replicated and made into a derivitive work, so long 
as this comment block remains intact.

HTML & CSS Template for iPhone
*/
/*Layout and presentation*/
body, html
{
	border: 0;
	margin: 0;
	padding: 0;
	background-color: #3366FF;
}
body
{
	padding: 10px;
}
div.content
{
	padding: 10px;
}
/*Font family & sizes*/
div.content, h1, div.rectangle h2, div.cell, div.cellnav
{	
	font-family: helvetica;
	font-size: 17px;
	font-weight: bold;
	color: #000;
}
h2
{
	font-family: helvetica;
	font-size: 17px;
	font-weight: bold;
	color: #000;
}
div.rectangle p, div.rectangle a, div.rectangle li, div.content, input, textarea, select
{	
	font-family: helvetica;
	font-weight: normal;
	font-size: 15px;	/* Apple specifies inner-rectangle text to be 17px 	*/
						/* However in practice this does not appear to be 	*/
						/* correct. Feel free to change this to suit.		*/
}
div.rectangle span
{
	font-family: helvetica;
	font-weight: bold;
	font-size: 15px;
}
/*HTML elements*/
div.rectangle
{
	overflow: hidden;	/* Prevents long unbroken text strings from */
	/* pushing the viewport off-screen			*/
	margin-bottom: 7px;
	background-color: #FFFFFF;
	border: 1px solid rgb( 217, 217, 217 );
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
h1, div.rectangle h2, div.rectangle span, div.rectangle p, div.rectangle a, div.rectangle li
{
	padding: 0;
	margin: 0;
}
h1
{
	font-weight: bold;
	color: #FFFFFF;
}
div.rectangle p
{
	margin-bottom: 7px;
}
div.rectangle h2
{
	font-weight: bold;
}
div.rectangle a
{
	color: rgb( 76, 86, 108 );
}
hr
{
	border: 0;
	height: 1px;
	background-color: rgb( 197, 204, 211 );
	clear: both;
}
/*Field elements*/
input, textarea, select
{
	width: 95%;
}
input.radio, input.checkbox, input.button, input.submit
{
	width: auto;
}
input.button, input.submit
{
	margin-bottom: 10px;
}
input.button
{
	float: left;
}
input.submit
{
	float: right;
}
/*iPhone Cell element*/
div.nav
{
	overflow: hidden;
	padding: 5px;
	width: 100px;
	height: 18px;
	border-bottom: 1px solid rgb( 197, 204, 211 );
	position: relative;
	color: #3366FF;
}
div.cell
{
	overflow: hidden;
	padding: 13px;
	border-bottom: 1px solid rgb( 197, 204, 211 );
	position: relative;
	color: #3366FF;
}
	div.cell div.link
	{
	position: absolute;
	right: 4px;
	top: 14px;
	width: 20px;
	height: 20px;
	background-image: url(../img/link.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
	div.cell div.link_back
	{
	position: absolute;
	left: 4px;
	top: 13px;
	width: 20px;
	height: 20px;
	background-image: url(../img/link_back.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
	div.cell div.sub
	{
	position: absolute;
	right: 25px;
	top: 8px;
	width: 32px;
	height: 32px;
	background-image: url(../img/_subway.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
	div.cell div.tram
	{
	position: absolute;
	right: 57px;
	top: 8px;
	width: 32px;
	height: 32px;
	background-image: url(../img/_tram.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
	div.cell div.tram_link
	{
	position: absolute;
	right: 25px;
	top: 8px;
	width: 32px;
	height: 32px;
	background-image: url(../img/_tram.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
	div.cell div.bus
	{
	position: absolute;
	right: 89px;
	top: 8px;
	width: 32px;
	height: 32px;
	background-image: url(../img/_bus.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
	div.cell div.bus_link
	{
	position: absolute;
	right: 25px;
	top: 8px;
	width: 32px;
	height: 32px;
	background-image: url(../img/_bus.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}

	div.cell div.ferry_link
	{
	position: absolute;
	right: 25px;
	top: 8px;
	width: 32px;
	height: 32px;
	background-image: url(../img/_ferry.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
	div.cell div.bike_link
	{
	position: absolute;
	right: 25px;
	top: 8px;
	width: 32px;
	height: 32px;
	background-image: url(../img/_bike.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	
    div.cell div.table1 {
	border-width: 0px 0px 0px 0px;
	border-spacing: 0px;
	border-style: none none none none;
	border-color: gray gray gray gray;
	border-collapse: separate;
	background-color: #cdcdcd;
	}
	div.cell div.table1 tr {
	border-width: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	border-style: none none none none;
	border-color: black black black black;
	background-color: #cdcdcd;
	}
	div.cell div.table1 td {
	border-width: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	border-style: none none none none;
	border-color: black black black black;
	background-color: #cdcdcd;
	}
	
	div.cellnav
	{
	overflow: hidden;
	padding: 13px;
	border-bottom: 1px solid rgb( 197, 204, 211 );
	position: relative;
	background-color: #CDCDCD;
	}
	div.cellnav div.af1
	{
	position: absolute;
	left: 0px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_af_on.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	div.cellnav div.af
	{
	position: absolute;
	left: 0px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_af.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	div.cellnav div.gm1
	{
	position: absolute;
	left: 76px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_gm_on.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	div.cellnav div.gm
	{
	position: absolute;
	left: 76px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_gm.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	div.cellnav div.nt1
	{
	position: absolute;
	left: 151px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_nt_on.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	div.cellnav div.nt
	{
	position: absolute;
	left: 151px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_nt.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	div.cellnav div.uz1
	{
	position: absolute;
	left: 226px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_uz_on.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
 	div.cellnav div.uz
	{
	position: absolute;
	left: 226px;
	top: 8px;
	width: 75px;
	height: 33px;
	background-image: url(../img/_uz.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	}
	div.cell div.finetext
	{
	position: absolute;
	left: 13px;
	bottom: 2px;
	font-family: helvetica;
	font-size: 10px;
	font-weight: normal;
	color: #666666;
	}