html {
	margin: 0;
	padding: 0;
	background: #e7e7e7;
	/*background-image: url('/resource/img/batch-background.gif');*/
	background-repeat: no-repeat;
	background-position: -500px -500px;
}

/* generic error styles */
div.error-wrap {
	max-width: 500px;
	margin: 0 auto;
  	font-family: "adobe-clean", Helvetica, Arial, sans-serif;   
}
div.error-wrap ul.wrap {
	border: 1px dashed #bfbfbf;
	border-width: 1px 1px 0 1px;
	list-style: none;
	padding: 0;
}
div.error-wrap ul.wrap li {
	text-align: center;
	color: #000;
	padding: .8em .5em;
	border-bottom: 1px dashed #bfbfbf;
	background: #faf2ac;
}
div.error-wrap h1 {
	font-size: 24px;
	text-shadow: 1px 1px 1px #fff;
	margin: 0 0 .2em 0;
	font-weight: 300;
}
div.error-wrap p {
	font-size: 14px;
	margin: 0 0 .5em 0;
	line-height: 1.4;
	font-weight: 400;
	text-shadow: 1px 1px 1px #fff;
}
div.branding {
	text-decoration: none;
	color: #000;
	display: block;
	height: 40px;
	padding-top: 5px;
	padding-left: 40px;
	text-align: left;
	margin-top: 20px;
	margin-bottom: 5px;
	background: transparent url('/resource/img/icon-cc-404.png') no-repeat 0 0;
}

/* error footer */
div.error-footer {
	-webkit-text-size-adjust: none;
	color: #aaa;
	padding: 0 20px 20px;
	margin: 15px auto 0 auto;
	max-width: 500px;
	text-align: center;
}
div.error-footer ul { margin-top: 3px; }
div.error-footer ul li { margin-bottom: 2px; }
div.error-footer span { font-size: 12px; }
div.error-footer a {
	color: #AAA;
	font-weight: 400;
	display: inline-block;
	font-size: 12px;
	-webkit-tap-highlight-color: rgba(0,0,0,0.4);
}

/* 404 page */
div.not-found ul.wrap li {
	padding-top: 15px;
	padding-bottom: 10px;
	border: 1px dashed rgba(0,0,0,.25);
	border-width: 0 0 1px 0;
	background: rgba(255,255,255,.6);
}

/* specific adjustments */
body.old-index {
	background:#e7e7e7;
}
body.old-index #footer {
	max-width: 500px;
	margin: 0 auto;
}
body.old-index #footer li {
	display: block;
	margin-bottom: 5px;
}
div.server-error { margin-top: 20px; margin-bottom: 20px; padding-bottom: 0; }
div.server-error h1 { padding-top: .2em; line-height: 1.4em; }
div.server-error p { display: none; }
div.ie7 { display: block; }

@media only screen and (max-width: 540px) {
    body.old-index #footer {
       	position: relative;
       	margin-top: 20px;
    }
    div.server-error {
    	margin-top: -135px;
    }
}