/* 

Universal iPhone UI Kit 1.0
Author: Diego Martin Lafuente.
E-Mail: dlafuente@gmail.com
AIM: Minidixier
Licence: AGPLv3
date: 2008-08-09

URL: www.minid.net
SVN URL: http://code.google.com/p/iphone-universal/source/checkout
Download: http://code.google.com/p/iphone-universal/downloads/list

*/


body {
/*	background: rgb(197,204,211) url(../images/stripes.png);*/
	background: rgb(230,230,230);
	font-family: Helvetica;
	margin: 0 0 0 0px;
	padding: 0;
	-webkit-user-select: none;
	-webkit-text-size-adjust: none;
	}
	

/* standard header on body */
	
div#header + h1, ul + h1 {
	color: rgb(76,86,108);
	font: bold 18px Helvetica;
	text-shadow: #fff 0 1px 0;
	margin: 15px 0 0 10px;  
}


/* standard paragraph on body */

ul + p, ul.data + p + p, ul.form + p + p {
	color: rgb(76,86,108);
	font: 14px Helvetica;
	text-align: center;
	text-shadow: white 0 1px 0;
	margin: 0 10px 17px 0;
}

/* headers */

div#header {
	background: rgb(109,133,163) url(../images/bgHeader.png) repeat-x top;
	border-top: 1px solid rgb(205,213,223);
	border-bottom: 1px solid rgb(46,55,68);
	padding: 10px;
	margin: 0 0 0 -10px;
	min-height: 44px;
	-webkit-box-sizing: border-box;
}


div#header h1 {
	color: #fff;
	font: bold 20px/30px Helvetica;
	text-shadow: #2d3642 0 -1px 0;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	width: 49%;
	padding: 5px 0;
	margin: 2px 0 0 -24%;
	position: absolute;
	top: 0;
	left: 50%;
}

div#header a {
	color: #FFF;
	background: none;
	font: bold 12px/30px Helvetica;
	border-width: 0 5px;
	margin: 0;
	padding: 0 3px;
	width: auto;
	height: 30px;
	text-shadow: rgb(46,55,68) 0 -1px 0;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
	position: absolute;
	overflow: hidden;
	top: 7px;
	right: 6px;
	-webkit-border-image: url(../images/toolButton.png) 0 5 0 5;
}

div#header #backButton {
	left: 6px;
	right: auto;
	padding: 0;
	max-width: 55px;
	border-width: 0 8px 0 14px;
	-webkit-border-image: url(../images/backButton.png) 0 8 0 14;
}

.Action {
	border-width: 0 5px;
	-webkit-border-image: url(../images/actionButton.png) 0 5 0 5;
}



div#header ul {
	margin-top: 15px;
}

div#header p {
	color: rgb(60,70,80);
	font-weight: bold;
	font-size: 13px;
	text-align: center;
	clear: both;
	position: absolute;
	top: 4px;
	left: 35px;
	right: 35px;
	margin: 0;
	text-shadow: #C0CBDB 0 1px 0;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
	
div.pre {
	height: 60px;
}

div.pre h1 {
	top: 18px !important;
}

div.pre a {
	top: 25px !important;
	right: 6px;
}
	
div.pre a#Backbutton {
	left: 6px !important;
}	


	/***** List (base) ******/
	
/*
	ul {
		color: black;
		background: #fff;
		border: 1px solid #B4B4B4;
		font: bold 17px Helvetica;
		padding: 0;	   
		margin: 15px 10px 17px 10px;
		-webkit-border-radius: 8px;
		}
	
	
		ul li {
			color: #666;
			border-top: 1px solid #B4B4B4;
			list-style-type: none;	
			padding: 10px 10px 10px 10px;
			}
			
*/
			
			/* when you have a first LI item on any list */
			
			li:first-child {	
				border-top: 0;
				-webkit-border-top-left-radius: 8px;
				-webkit-border-top-right-radius: 8px;
				}

			li:last-child {	
				-webkit-border-bottom-left-radius: 8px;
				-webkit-border-bottom-right-radius: 8px;
				}
				
				
			/* universal arrows */
			
			ul li.arrow {
				background-image: url(../images/chevron.png);
				background-position: right center;
				background-repeat: no-repeat;
				}
				
				
			#plastic ul li.arrow, #metal ul li.arrow {
				background-image: url(../images/chevron_dg.png);
				background-position: right center;
				background-repeat: no-repeat;
				}
				
								
			
			/* universal links on list */
			
			ul li a, li.img a + a {
				color: #000;
				text-decoration: none;
				text-overflow: ellipsis;
/*				white-space: nowrap;*/
/*				overflow: hidden;*/
				display: block;

				padding: 12px 10px 12px 10px;
				margin: -10px;
/*				-webkit-tap-highlight-color:rgba(0,0,0,0);*/
			}
			
				ul li.img a + a {
					margin: -10px 10px -20px -5px;
					font-size: 17px;
					font-weight: bold;
				}
				
				ul li.img a + a + a {
						font-size: 14px;
						font-weight: normal;
						margin-left: -10px;
						margin-bottom: -10px;
						margin-top: 0;
					}
					
					
					ul li.img a + small + a {
						margin-left: -5px;
					}
					
					
					ul li.img a + small + a + a {
						margin-left: -10px;
						margin-top: -20px;
						margin-bottom: -10px;
						font-size: 14px;
						font-weight: normal;
						}
						
						ul li.img a + small + a + a + a {
							margin-left: 0px !important;
							margin-bottom: 0;
						}
			
			
				ul li a + a {
					color: #000;
					font: 14px Helvetica;
					text-overflow: ellipsis;
					white-space: nowrap;
					overflow: hidden;
					display: block;
					margin: 0;
					padding: 0;
					}
					
					ul li a + a + a, ul li.img a + a + a + a, ul li.img a + small + a + a + a {
						color: #666;
						font: 13px Helvetica;
						margin: 0;
						text-overflow: ellipsis;
						white-space: nowrap;
						overflow: hidden;
						display: block;
						padding: 0;
					}
					
					
				
	
	
			/* standard mini-label */
			
			ul li small {
				color: #369;
				font: 17px Helvetica;
				text-align: right;
				text-overflow: ellipsis;
				white-space: nowrap;
				overflow: hidden;
				display: block;
				width: 23%;
				float: right;
				padding: 3px 0px;
				}
				
				
				
				ul li.arrow small {
					padding: 0 15px;
				}
				
				ul li small.counter {
					font-size: 17px !important;
					line-height: 13px !important;
					font-weight: bold;
					background: rgb(154,159,170);
					color: #fff;
					-webkit-border-radius: 11px;
					padding: 4px 10px 5px 10px;
					display: inline !important;
					width: auto;
					margin-top: 2px;
				}
				
				
				ul li.arrow small.counter {
					margin-right: 15px;
				}
				
				
				

				/* resize without labels */
				
				ul li.arrow a {
					width: 95%;
					}
				
					/* with labels */
					
					ul li small + a {
						width: 75%;
					}
					
					ul li.arrow small + a {
						width: 70%;
					}
					
	
	
	/* images */
	
		ul li.img {
			padding-left: 115px;
		}
	
		ul li.img a.img {
			background: url(../images/standard-img.png) no-repeat;
			display: inline-block;
			width: 100px;
			height: 75px;
			margin: -10px 0 -20px -115px;
			float: left;
		}
	
	
	

							body#metal ul li {
								border-top: 1px solid rgb(238,238,238);
								border-bottom: 1px solid rgb(156,158,165);
								background: url(../images/bgMetal.png) top left repeat-x;
								font-size: 26px;
								text-shadow: #fff 0 1px 0;
								}

								body#metal ul li a {
									line-height: 26px;
									margin: 0;
									padding: 13px 0;
								}

									body#metal ul li a:hover {
										color: rgb(0,0,0);
									}	

										body#metal ul li:hover small {
											color: inherit;
										}


								body#metal ul li a em {
									display: block;
									font-size: 14px;
									font-style: normal;
									color: #444;
									width: 50%;
									line-height: 14px;
								}

								body#metal ul li small {
									float: right;
									position: relative;
									margin-top: 10px;
									font-weight: bold;
									}


									body#metal ul li.arrow a small {
										padding-right: 0;
										line-height: 17px;
									}
									
									
									body#metal ul li.arrow {
										background: url(../images/bgMetal.png) top left repeat-x,
										url(../images/chevron_dg.png) right center no-repeat;
									}
									
									
															
									/* option panel */

										div#optionpanel {
											background: url(../images/blackbg.png) top left repeat-x;
											text-align: center;
											padding: 20px 10px 15px 10px;
											position: absolute;
											left: 0;
											right: 0;
											bottom: 0;		
											}

											div#optionpanel h2 {
												font-size: 17px;
												color: #fff;
												text-shadow: #000 0 1px 0;
											}
											
											
									
									
									

/***** PLASTIC LISTS *****/

body#plastic {
	margin: 0;
	padding: 0;
	background: rgb(173,173,173);
}

body#plastic ul {
	-webkit-border-radius: 0;
	margin: 0;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	background-color: rgb(173,173,173);
	}
	
	
	body#plastic ul li {
		-webkit-border-radius: 0;
		border-top: 1px solid rgb(191,191,191);
		border-bottom: 1px solid rgb(157,157,157);
	}
	
	
		body#plastic ul li:nth-child(odd) {
			background-color: rgb(152,152,152);
			border-top: 1px solid rgb(181,181,181);
			border-bottom: 1px solid rgb(138,138,138);
		}
	
	
	body#plastic ul + p {
		font-size: 11px;
		color: #2f3237;
		text-shadow: none;
		padding: 10px 10px;		
		}
		
		body#plastic ul + p strong {
			font-size: 14px;
			line-height: 18px;
			text-shadow: #fff 0 1px 0;
		}
		
		body#plastic ul li a {
			text-shadow: rgb(211,211,211) 0 1px 0;
		}
		
		body#plastic ul li:nth-child(odd) a {
			text-shadow: rgb(191,191,191) 0 1px 0;
		}
		
		
		body#plastic ul li small {
			color: #3C3C3C;
			text-shadow: rgb(211,211,211) 0 1px 0;
			font-size: 13px;
			font-weight: bold;
			text-transform: uppercase;
			line-height: 24px;
			}
			
			
			



/**** CHAT ****/


body#chat {
	background: #DBE1ED;
	}
	
	body#chat div.bubble {
		margin: 10px 10px 0 0px;
		width: 80%;
		clear: both;
	}
	
	
	
	body#chat div.right {
		float: right;
		}
		
	body#chat div.left {
		float: left;
		}
		
		
		body#chat div.right p {
			border-width: 10px 20px 12px 10px;
		}
		
		body#chat div.left p {
			border-width: 10px 10px 12px 20px;
		}
		
		/* lefties */
		
		body#chat div.left p.lime {
			-webkit-border-image: url(../images/chat_bubbles_lime_l.png) 10 10 13 19;
			}
			
		body#chat div.left p.lemon {
			-webkit-border-image: url(../images/chat_bubbles_lemon_l.png) 10 10 13 19;
			}
			
		body#chat div.left p.orange {
			-webkit-border-image: url(../images/chat_bubbles_orange_l.png) 10 10 13 19;
			}
			
		body#chat div.left p.aqua {
			-webkit-border-image: url(../images/chat_bubbles_aqua_l.png) 10 10 13 19;
			}
			
		body#chat div.left p.purple {
			-webkit-border-image: url(../images/chat_bubbles_purple_l.png) 10 10 13 19;
			}
			
		body#chat div.left p.pink {
			-webkit-border-image: url(../images/chat_bubbles_pink_l.png) 10 10 13 19;
			}
			
		body#chat div.left p.graphite {
			-webkit-border-image: url(../images/chat_bubbles_graphite_l.png) 10 10 13 19;
			}
			
		body#chat div.left p.clear {
			-webkit-border-image: url(../images/chat_bubbles_clear_l.png) 10 10 13 19;
			}
			
			
			
			
		/*rights*/	
		
		body#chat div.right p.aqua {
			-webkit-border-image: url(../images/chat_bubbles_aqua_r.png) 10 19 13 10;
			}
			
		body#chat div.right p.lemon {
			-webkit-border-image: url(../images/chat_bubbles_lemon_r.png) 10 19 13 10;
			}
			
		body#chat div.right p.lime {
			-webkit-border-image: url(../images/chat_bubbles_lime_r.png) 10 19 13 10;
			}
			
		body#chat div.right p.purple {
			-webkit-border-image: url(../images/chat_bubbles_purple_r.png) 10 19 13 10;
			}
			
		body#chat div.right p.pink {
			-webkit-border-image: url(../images/chat_bubbles_pink_r.png) 10 19 13 10;
			}
			
		body#chat div.right p.graphite {
			-webkit-border-image: url(../images/chat_bubbles_graphite_r.png) 10 19 13 10;
			}
			
		body#chat div.right p.clear {
			-webkit-border-image: url(../images/chat_bubbles_clear_r.png) 10 19 13 10;
			}
			
			
			
			
			
		
	
	body#chat div.bubble p {
		color: #000;
		font-size: 16px;
		margin: 0;
	}
	
		body#chat div.bubble + p {
			color: #666;
			text-align: center;
			font-size: 12px;
			font-weight: bold;
			margin: 0;
			padding: 10px 0 0 0;
			clear: both;
		}
	
	
	
	
	
	
	/**** image grids ****/
	
	
	body#images {
		background: #fff;
		margin: 0;
	}
	
		body#images ul {
			margin: 4px 4px 4px 0;
			border: 0;
			-webkit-border-radius: 0;
			}
			
			body#images ul li {
				border: 1px solid #C0D5DD;
				-webkit-border-radius: 0;
				width: 73px;
				height: 73px;
				float: left;
				margin: 0 0 4px 4px;
				background: #F4FBFE url(../images/image-loading.gif) no-repeat center center;
				padding: 0;
				}
				
				body#images ul li a {
					display: block;
					width: 100%;
					height: 100%;
					margin: 0;
					padding: 0;
				}
	
	
	/*** BLANK PAGES ***/
	
	body#blank {
		background: #fff;
	}
	
	
	body#blank p {
		color: #898989;
		text-align: center;
		margin: 250px 0 0 0;
		}
		



		/**** ICONFIED LIST ****/
		
		
		ul li a img.ico, ul li img.ico {
			float: left;
			display: block;
			margin: -4px 10px -4px -1px;
		}

	

