body {
    -webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	background:url(img/bg_pat.png);
	color: #333333;
    font: 13px/1.4 Helvetica,arial,freesans,clean,sans-serif;
}
#normal,
#retina{
	max-width:800px;
	border:1px solid rgb(191, 194, 195);
	margin:0 auto;
	background:#fff;
}
#normal{
	margin-bottom:40px;
}
.ui-header{
	background: #c2cbd7; /* Old browsers */
	background: -moz-linear-gradient(top,  #c2cbd7 0%, #8fa0b6 2%, #8b9cb2 19%, #728399 79%, #6c7d93 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c2cbd7), color-stop(2%,#8fa0b6), color-stop(19%,#8b9cb2), color-stop(79%,#728399), color-stop(100%,#6c7d93)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #c2cbd7 0%,#8fa0b6 2%,#8b9cb2 19%,#728399 79%,#6c7d93 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #c2cbd7 0%,#8fa0b6 2%,#8b9cb2 19%,#728399 79%,#6c7d93 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #c2cbd7 0%,#8fa0b6 2%,#8b9cb2 19%,#728399 79%,#6c7d93 100%); /* IE10+ */
	background: linear-gradient(top,  #c2cbd7 0%,#8fa0b6 2%,#8b9cb2 19%,#728399 79%,#6c7d93 100%); /* W3C */
	border-bottom:1px solid rgb(88, 102, 119);
	font-weight: bold;
    text-shadow: 0 1px 1px #335413;
    position:relative;
    padding: 0.6em 20% ;
}
.ui-header h1{
	color:#fff;
	display: block;
    outline: 0 none !important;
    overflow: hidden;
    margin:0;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-indent:-9999px;
    background:url(img/logo.png) no-repeat center center;
    height:33px;
}
.ui-footer{	
	background: rgb(43,43,43); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(43,43,43,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(43,43,43,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(43,43,43,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(43,43,43,1) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(43,43,43,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(43,43,43,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
	padding:5px 0;
	text-align:center;
}
.view-content{
	padding:5px;
}
.ui-footer a{
	display:inline-block;
}

/** styling buttons **/
.button{
	display:block;
	padding:12px;
	border-radius:5px;
	color:#fff;
	text-shadow: 0 1px 1px rgb(157, 158, 160);
	font-weight:bold;
	text-decoration:none;
}
.delete {
	background:rgb(162, 178, 197);
	border:1px solid rgb(149, 164, 181);
	padding-left:40px;
	position:relative;
}

.delete:before{
	content: " ";
	display:block;
	width:20px;
	height:20px;
	position:absolute;
	left:6px;
	background:url(img/delete.png) no-repeat;
}
.delete:hover,
.delete:focus,
.delete:active{
	background-color:rgb(128, 147, 169);
}
.download {
	background:rgb(222, 227, 232) url(img/nuage.png) no-repeat 8px 6px;
	border:1px solid rgb(199, 206, 212);
	padding: 25px 0 25px 120px;
	font-size:20px;
	color:rgb(144, 160, 176);
	text-shadow: 0 1px 1px rgb(239, 242, 245);
}
.download:hover,
.download:focus,
.download:active{
	background-color:rgb(210, 214, 219);
}
.ui-footer .button{
	background-color:rgba(187, 185, 185, 0.2);
	border:1px solid rgb(22, 22, 22);
	box-shadow: 0px 1px 2px rgba(22, 22, 22, 0.5) inset ;
	text-indent:-9999px;
	padding:10px 15px;
	width:40px;
	height:40px;
	background-position: center center;
	background-repeat:no-repeat;
	margin: 0 5px;
}
.ui-footer .button:hover,
.ui-footer .button:active,
.ui-footer .button:focus{
	background-color:rgba(10, 10, 10, 0.7);
	border:1px solid rgba(10, 10, 10, 0.9) ;
	box-shadow: 0px 1px 2px rgba(22, 22, 22, 0.9) inset ;
}
.bubble{
	background-image:url(img/bubble.png);
}	
.loupe{
	background-image:url(img/loupe.png);
}	
.folder{
	background-image:url(img/folder.png);
}	




/***** Here goes the retina display good stuff ***/
@media only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min--moz-device-pixel-ratio: 2),
	only screen and (-o-min-device-pixel-ratio: 2/1),
	only screen and (min-device-pixel-ratio: 2) {
		#retina .ui-header h1{
	    background:url(img/logo@2x.png) no-repeat center center;
	    -webkit-background-size: auto 33px ;
		   -moz-background-size: auto 33px ;
				background-size: auto 33px ;
		}
		#retina .delete:before{
		background:url(img/delete@2x.png) no-repeat;
		-webkit-background-size: 100%  100% ;
		   -moz-background-size: 100%  100% ;
				background-size: 100%  100% ;
		}
		#retina .download {
		background:rgb(222, 227, 232) url(img/nuage@2x.png) no-repeat 8px 6px;
		-webkit-background-size: 70px 68px ;
		   -moz-background-size: 70px 68px ;
				background-size: 70px 68px ;
		}
		#retina .bubble{
		background-image:url(img/bubble@2x.png);
		}	
		#retina .loupe{
		background-image:url(img/loupe@2x.png);
		}
		#retina .folder{
		background-image:url(img/folder@2x.png);
		}
		#retina .ui-footer .button{
		-webkit-background-size: 40px auto ;		
		   -moz-background-size: 40px auto ;
				background-size: 40px auto ;
		}	
}
