/*
	Global Styles
	
	Base styles used through out the application/pages
	
	Title:		Tinbu LLC.
	Author:		Nesbert Hidalgo
	Created:	Feb. 20, 2008
	Updated:	Jul. 02, 2008
	URL:		http://tinbu.com/iphone
*/

/* HTML
------------------------------------------------------------------------------*/

body, h1, h2, hr {
	margin: 0;
	padding: 0;
	outline: none;
	border: none;
}

body {
	max-width: 480px;
	min-width: 320px;
	background: #fff url(/iphone/images/top_bg.jpg) repeat-x top left;
	font-family: "Helvetica", "Helvetica Neue", "Lucida Grande", "Trebuchet MS", "Arial", sans-serif;
	font-size: 11px;
	line-height: 18px;
	overflow: hidden;
	text-align: center;
	-webkit-user-select: none;
	-webkit-text-size-adjust: none;
}

hr {
	height: 10px;
	margin: 10px 0;
	background: url(/iphone/images/hr.png) no-repeat center;
}

a { color: #1334f3; }

h1 {
	margin: 10px 0;
}

h1 em {
	display: block;
	font-size: 60%;
}

h2 {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	text-shadow: #000 1px 1px 2px;
}

h2 { margin-bottom: 10px; }

form {
	margin: 0;
	padding: 0;
}

h2, p.back { text-align: center; }

.red { color: green }

/* Buttons
------------------------------------------------------------------------------*/

.button {
	display: table;
	overflow: hidden;
	width: auto;
	height: 30px;
	padding: 0 3px;
	background: none;
	border-width: 0 5px;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 11px;
	font-weight: bold;
	line-height: 30px;
	text-shadow: #111 1px 1px 2px;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
	-webkit-border-image: url(/iphone/images/blueButton.png) 0 5 0 5;
}

/* Layout
------------------------------------------------------------------------------*/

#wrap {}

/* Header
------------------------------------------------------------------------------*/

#header { height: 40px; }

#homeButton,
#languages {
	position: absolute;
	top: 4px;
	left: 10px;
}

#languages {
	left: auto;
	right: 10px;
}
#languages a {
	float: left;
	height: 30px;
	margin-left: 2px;
	padding-top: 8px;
}
#languages img {
	float: left;
	border: 1px solid #888;
	border-width: 0 1px 1px 0;
}

/* Grid
------------------------------------------------------------------------------*/

.grid {
	padding: 10px 0;
}

.cell {
	float: left;
	width: 80px;
	height: 85px;
	text-align: center;
}

.cell a {
	display: block;
	width: 64px;
	margin: 0 auto;
	background: url(/iphone/images/icons/tbd.png) no-repeat;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	text-shadow: #111 1px 1px 2px;
	line-height: 1;
	text-decoration: none;
}

.cell img {
	border: 0;
}

div.center {
	float: none;
	margin: 0 auto;
}

#icon-lottery a { background: url(/iphone/images/icons/lottery.png) no-repeat; }
#icon-horoscope a { background: url(/iphone/images/icons/horoscope.png) no-repeat; }
#icon-weather a { background: url(/iphone/images/icons/weather.png) no-repeat; }
#icon-gas a { background: url(/iphone/images/icons/gas.png) no-repeat; }
#icon-girloftheday a { background: url(/iphone/images/icons/girloftheday.png) no-repeat; }

/* Footer
------------------------------------------------------------------------------*/

#footer {
	clear: both;
	text-align: center;
}

#logo {
	display: block;
	width: 210px;
	height: 58px;
	margin: 0 auto;
	background: url(/iphone/images/logo.png) no-repeat;
}

#logo span {
	display: none;
}

#copyright {
	font-size: 10px;
}

/* Misc
------------------------------------------------------------------------------*/

.mainContent {
	padding: 10px;
	text-align: left;
}

#busy {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 400px;
	z-index: 1000;
	background-color: #000;
	opacity: .8;
}

#busy span {
	position: relative;
	top: 180px;
	padding: 2px 0 0 26px;
	background: url(/iphone/images/loading.gif) no-repeat;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	text-shadow: #000 1px 1px 2px;
}
