/* 

	Universal iPhone UI Kit 1.0
	Author: Diego Martín 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(217,210,176) url(../images/stripes.png);
		font-family: Helvetica;
		margin: 0 0 0 10px;
		padding: 0;
		-webkit-user-select: none;
		-webkit-text-size-adjust: none;
		}
	a{
		color: #17150D;
	}

		/* standard header on body */
		
		div#header + h1, ul + h1, div#dropmenu + h1, ul + h1, p + h1, div#dropsearch + h1, ul + h1, p + h1 {
			color: rgb(47,42,26);
			font: bold 18px Helvetica;
			text-shadow: #fff 0 1px 0;
			margin: 15px 0 0 10px;  
			}
		div#dropmenu, div#dropsearch{
			margin-left: -10px;
			width: 104%;
			
		}

		strong{
			font-weight: bold;
			color:black;
		}
		/* standard paragraph on body */
		
		ul + p, ul.data + p + p, ul.form + p + p, p + p#footer {
			color: #413B24;
			font: 14px Helvetica;
			text-align: center;
			text-shadow: white 0 1px 0;
			margin: 0 10px 17px 0;
			}



		/* headers */

		div#header {
			
			top: 0;
			padding: 0px;
			margin: -14px 0 0 -10px;
			min-height: 37px;
			-webkit-box-sizing: border-box;
			}

				div#header img{
					position: absolute;
					float: left;
					padding: 5px 5px 0 13px;
				}
				
				div#header h1 a{
					color: #fff;
					font: bold 20px/30px Helvetica;
					text-shadow: #2d3642 0 -1px 0;
					/* text-align: center; */
					text-overflow: ellipsis;
					white-space: nowrap;
					overflow: hidden;
				}
				div#header h1 span.petit{
					font-size: 60%;
				}
				div#header h1{
					background: rgb(217,210,176) url(../images/fond.png) repeat-x center center;
					border-top: 1px solid rgb(102,89,70);
					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: 100%; */
					padding: 5px 0 5px 55px;
					}

					div#header a {
						color: #FFF;
						background: none;
						font: bold 12px/30px Helvetica;
						border-width: 0 5px;
						margin: -5px 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;
						}

						div#header #drop-fade a{
							/* position: absolute; */
							display: block;
							float: right;
							padding: 0 10px;
						}	
						div#header #drop-fade{
							background: rgb(109,133,163) url(../images/fond.png) repeat-x center center;
							border-bottom: 1px solid rgb(102,89,70);
							margin: -13px 0 0 0;
							padding: 0 18px 5px 0;
							/* width: 100%; */
							text-align: right;
							height: 13px;
						}
						
						
						div#header #drop-fade p {
							color: rgb(60,70,80);
							font-weight: bold;
							font-size: 11px;
							text-align: center;
							padding: 4px 0 0 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) ******/
		ol.recherche, ol.recherche li {
			margin: 0;
			padding: 0;
		}
		.finrecherche{color: red;}
		#nouvelle-recherche{margin-top: 20px; display: block;}
		
		ul {
			color: black;
			background: #fff;
			border: 1px solid #A5975D;
			font: bold 17px Helvetica;
			padding: 0;	   
			margin: 15px 10px 17px 0;
			-webkit-border-radius: 8px;
			}
		
		
			ul li {
				color: #666;
				border-top: 1px solid #BBAB6A;
				list-style-type: none;	
				padding: 10px 10px 10px 10px;
				}
				
			ul li.liste-comments{
				font-size: 13px;
				font-weight: normal;
			}
			ul li.liste-comments a{
				font-size: 15px;
				font-weight: bold;
			}
			ul li.comment-feed a{
				font-size: 15px;
				font-weight: bold;
			}

				
				/* 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;
					}
									
				
				/* 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, ul li.liste-comments 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;
			}
		
		ul li a img, ul li img{
				max-width: 265px;
			}
		
		
		/* individuals */
		
		
		
			ul.individual {
				border: 0;
				background: none;
				clear: both;
				height: 45px;
			}
			
				ul.individual li {
					color: rgb(183,190,205);
					background: white;
					border: 1px solid rgb(180,180,180);
					font-size: 14px;
					text-align: center;
					-webkit-border-radius: 8px;
					-webkit-box-sizing: border-box;
					width: 48%;
					float:left;
					display: block;
					padding: 11px 10px 14px 10px;
					}
				
					ul.individual li + li {
						float: right;
						
					}
					
					
					ul.individual li a {
						color: rgb(50,79,133);
						line-height: 16px;
						margin: -11px -10px -14px -10px;
						padding: 11px 10px 14px 10px;
						-webkit-border-radius: 8px;
					}
					
						ul.individual li a:hover {
							color: #fff;
							background: #36c;
							}
							
							/* LISTE SEARCH ET MENU*/
							#liste-drop{
								width: 100%;
								margin-left: -10px;
							}
							
							/* Normal lists */

							#normal h4 {
								color: #fff;
								background: rgb(154,159,170) url(../images/bglight.png) top left repeat-x;
								border-top: 1px solid rgb(165,177,186);
								text-shadow: #666 0 1px 0;
								margin: 0;
								padding: 2px 10px;
							}


							#normal {
								margin: 0 0 0 -10px;
								padding: 0;
								background-color: rgb(255,255,255);
							}

							#normal ul {
								-webkit-border-radius: 0;
								margin: 0;
								border-left: 0;
								border-right: 0;
								border-top: 0;
								}





								#normal ul li {
									font-size: 20px;
								}

									#normal ul li small {
										font-size: 16px;
										line-height: 28px;
									}

									#normal li, body#metal li {
										-webkit-border-radius: 0;
										}

									#normal li em {
										font-weight: normal;
										font-style: normal;
										}

								#normal h4 + ul {
									border-top: 1px solid rgb(152,158,164);
									border-bottom: 1px solid rgb(113,125,133);
								}


										
																
										/* 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;
												}
												
												
										
										
										
										/***** BUTTONS *****/

										.button {
											color: #fff;
											font: bold 20px/46px Helvetica;
											text-decoration: none;
											text-align: center;
											text-shadow: #000 0 1px 0;
											border-width: 0px 14px 0px 14px;
											display: block;
											margin: 3px 0;
											}

											.green { -webkit-border-image: url(../images/greenButton.png) 0 14 0 14; }
											.red { -webkit-border-image: url(../images/redButton.png) 0 14 0 14; }

											.white {
												color: #000;
												text-shadow: #fff 0px 1px 0;
												-webkit-border-image: url(../images/whiteButton.png) 0 14 0 14;
												}

											.black { -webkit-border-image: url(../images/grayButton.png) 0 14 0 14; }
											
											
/***** FORMS *****/

/* fields list */
		
		
		ul.form {
			
		}
		
			ul.form li {
				padding: 7px 10px;
			}
			
			ul.form li.error { border: 2px solid red; }			
			ul.form li.error + li.error { border-top: 0; }
			
			ul.form li:hover { background: #fff; }
		
			ul li input[type="text"], ul li input[type="password"], ul li textarea, ul li select {
				color: #777777;
				background: #f4f4f4 url(../.png); /* this is a hack due the default input shadow that iphones uses on textfields */
				border: 0;				
				font: normal 17px Helvetica;
				padding: 0;
				display: inline-block;
				margin-left: 0px;
				width: 100%;
				-webkit-appearance: textarea;
				}
						
				ul li textarea {
					height: 120px;
					padding: 0;
					text-indent: -2px;
				}
				
				ul li select {
					text-indent: 0px;
					background: transparent url(../images/chevron.png) no-repeat 103% 3px;
					-webkit-appearance: textfield;
					margin-left: -6px;
					width: 104%;
				}
				
				ul li input[type="checkbox"], ul li input[type="radio"] {
					margin: 0;
					color: rgb(50,79,133);
					padding: 10px 10px;
					}
				
				ul li input[type="checkbox"]:after, ul li input[type="radio"]:after {
					content: attr(title);
					font: 17px Helvetica;
					display: block;
					width: 246px;
					margin: -12px 0 0 17px;
					}
					
					
					
					/**** INFORMATION FIELDS ****/
					ul.data li h4 {
						margin: 10px 0 5px 0;
						overflow: hidden;
						
					}
					ul.data li h5 {
						margin: 0 0 15px 0;
						font-size: 0.7em;
						color: #555;
					}
					ul.data li h4 a{
						color: #000;
						text-decoration: none;
						text-overflow: ellipsis;
						white-space: nowrap;
						overflow: hidden; 
						letter-spacing: 0;
						padding-right: 40px;
						display: block;
						}
					ul.data li h4 + a, ul.data li h4 + a + a, ul.data li h4 + a + a + a{
						display: inline;
						color: #2E3744;
						text-decoration: none;
						font-size: 0.7em;
						margin: -15px 0 0 -10px;
					}
					ul.data li h4 + a + a{
						display: inline;
						color: #2E3744;
						text-decoration: none;
						font-size: 0.7em;
						margin: -15px 5px 0;
					}
					
					ul.data h4.arrow {
					background-image: url(../images/chevron.png);
					background-position: right center;
					background-repeat: no-repeat;
					}

						ul.data li p {
							text-align: left;
							font-size: 14px;
							line-height: 18px;
							font-weight: normal;
							margin: 0;
							text-indent: 10px;
							}
							
							ul.data li p + p { margin-top: 10px; }
							
							ul.data li p + p a{
								display: none;
								/*
color: green;
								text-decoration: none;
								font-size: 1em;
*/
							}
							

							ul.data li {
								background: none;
								padding: 5px 10px;
								color: #222;
							}

							ul.data li a {
								display: inline;
								color: #2E3744;
								text-decoration: none;
							}
							
							
							ul.field li small {
								position: absolute;
								right: 25px;
								margin-top: 3px;
								z-index: 3;
							}
					
							ul.field li h3 {
								color: rgb(76,86,108);
								width: 25%;
								font-size: 13px;
								line-height: 18px;
								margin: 0 10px 0 0;
								float: left;
								text-align: right;
								overflow: hidden;
								text-overflow: ellipsis;
								white-space: nowrap;
								padding: 0;
								}
							
								ul.field li a {
									font-size: 13px;
									line-height: 18px;
									overflow: visible;
									white-space: normal;
									display: inline-block;
									width: 60%;
									padding: 0;
									margin: 0 0 0 0;
									vertical-align: top;
									}
									
								ul.field li big {
									font-size: 13px;
									line-height: 18px;
									font-weight: normal;
									overflow: visible;
									white-space: normal;
									display: inline-block;
									width: 60%;
									}
									
									
									
									
									
																
								ul.field li small {
									font-size: 13px;
									font-weight: bold;
								}
							
							.formsearch{
								display: block;
								widows: 100%;
								background: rgb(135,125,109) url(../images/fond-2.png) repeat-x center top;
								padding: 3px 0 5px 25px;
								}
							.menu{
								display: block;
								widows: 100%;
								background: rgb(135,125,109) url(../images/fond-2.png) repeat-x center top;
								padding: 3px 0 5px 25px;
								}
							.formsearch input.search{
								width: 50%;
								float: left;
								}
							.formsearch li a{
								color: #fff;
							}
							
							#dropmenu ul li {
							border: 0;
						}
						
						/* this is for profiling */
							
						ul.profile {
							border: 0;
							background: none;
							clear: both;
							min-height: 62px;
							position: relative;
							}
							
							ul.profile li {
								background: #fff url(../images/profile-user.png) no-repeat;
								border: 1px solid #B4B4B4;
								width: 62px;
								height: 62px;
								-webkit-border-radius: 4px;
								-webkit-box-sizing: border-box;
								float: left;
								}
							
							ul.profile li + li {
								border: 0;
								background: none;
								width: 70%;
								}
								
							
								ul.profile li + li h2, ul.profile li + li p {
									color: rgb(46,55,68);
									text-shadow: #fff 0 1px 0;
									margin: 0;
								}
								
								ul.profile li + li h2 {
									font: bold 18px/22px Helvetica;
									text-overflow: ellipsis;
									white-space: nowrap;
									overflow: hidden;
									}
									
								ul.profile li + li p {
									font: 14px/18px Helvetica;
									text-overflow: ellipsis;
									white-space: nowrap;
									overflow: hidden;
									}
								
								
								/* any A element inside this kind of field list will scale 62x62 */
								
								ul.profile li a {
									display: block;
									width: 62px;
									height: 62px;
									color: transparent;
								}
									

		/**** 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;
			}


.flash{display: none;}
		
