body {
    margin: 0;
    font-family: Helvetica;
    background: #FFFFFF;
    color: #000000;
    xoverflow: hidden;
    -webkit-text-size-adjust: none;
}

body h1#pageTitle {
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
    line-height: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-overflow: ellipsis;
    color: #FFFFFF;
    background: url(/images/iphone/iPhoneToolbar.png) #6d84a2 repeat-x;
    border-bottom: 1px solid #2d3642;
}

.button {
    position: absolute;
    top: 8px;
    right: 6px;
    -webkit-border-image: url(/images/iphone/iPhoneButton.png) 0 5 0 5;
    -webkit-border-radius: 0;
    border-width: 0 5px 0 5px;
    padding: 0;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-decoration: none;
    background: none;
}

#homeButton {
    display: none;
    left: 6px;
    right: auto;
    -webkit-border-image: url(/images/iphone/iPhoneBackButton.png) 0 8 0 14;
    border-width: 0 8px 0 14px;
}

.goButton {
    -webkit-border-image: url(/images/iphone/iPhoneGoButton.png) 0 5 0 5;
    border-width: 0 5px;
}

div.ip div.special,
div.ip form,
div.ip ul {
    left: 0;
    width: 100%;
    xmin-height: 418px;
    margin: 0;
    padding: 0;
}

body *[selected="true"] {
    display: block;
}

div.ip ul li {
    margin: 0;
    border-bottom: 1px solid #E0E0E0;
    padding: 0;
    background: url(/images/iphone/iPhoneArrow.png) no-repeat right center;
    font-size: 20px;
    font-weight: bold;
    list-style: none;
    padding: 8px 32px 8px 8px;
}
div.ip ul li.dchange {
    border-top: 4px double #999;
}
div.ip ul li.d1 a,
div.ip ul li.d2 a {
	color: #666;
}

div.ip ul li a {
    display: block;
    text-decoration: none;
    color: inherit;
    font-size: 20px;
}

div.ip ul li a div,
div.ip ul li div {
	font-size: 14px;
	color: #666;
}
    
.panel {
    box-sizing: border-box;
    padding: 10px;
    background: #c8c8c8 url(/images/iphone/pinstripes.png);
}

/************************************************************************************************/

.dialog {
    position: absolute;
    top: 0;
    width: 100%;
    min-height: 468px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    padding: 0;
    text-align: right;
}

fieldset {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: none;
    padding: 10px 6px;
    background: url(/images/iphone/iPhoneToolbar.png) #7388a5 repeat-x;
}

fieldset h1 {
    margin: 0 10px 0 10px;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-align: center;
}

label {
    position: absolute;
    margin: 14px 0 0 6px;
    font-size: 14px;
    color: #BBBBBB;
}

input.text {
    width: 80%;
    padding: 3px;
    font-size: 16px;
    font-weight: normal;
	margin-top: 5px;
	border: 1px solid #BBB;
}
input.submit {
    font-size: 16px;
	border: 1px solid #BBB;
    padding: 2px;
}

/*
 *	DPJ stuff
 */
div.content {
	padding: 0 10px;
	display: block;
	width: auto;
}
#backButton {
    display: inline;
    left: 6px;
    right: auto;
    -webkit-border-image: url(/images/iphone/iPhoneBackButton.png) 0 8 0 14;
    border-width: 0 8px 0 14px;
}
p.info {
	color: #333;
	border-bottom: 1px solid #999; padding-bottom: 10px;
}

div.nearby {
	border-bottom: 1px solid black;
}
div.nearby h2 {
	margin-bottom: 10px;
}
li.featured {
	xbackground-color: #EEE;
}
.featured h2,
li.featured a {
	color: #090 !important;
}
.content h1 a {
	text-decoration: none;
}
.content h1,
.content h1 a {
	color: #000;
}
body ul li.today a div {
	color: #090 !important;
}
body ul li.today a div.d {
	color: #999 !important;
}
.content a {
	color: #900 !important;
}
div.content.nearby a {
	color: #000;
	text-decoration: none;
}
.nogeo .ifgeo {
	display: none;
}
#id_blackberry a {
	color: #900;
}
img.favorite {
	vertical-align: top;
	border: 0px;
}
.ip div.actions {
	margin-left: 10px;
	margin-top: 10px;
}
div.actions,
div.actions * {
	color: #090;
}
#id_update_ll a {
	color: #090;
}
li.other_app {
	color: #C00;
}
li.other_home {
	color: #090;
}

li.pagination, li.search, li.offsite {
	background: none !important;
}
li.pagination a {
    display: inline !important;
}
li.pagination a.current {
	color: #000;
}
li.pagination a.go {
	color: #900;
}
li.pagination .msg {
	color: #666;
}
body div.ip li.twitter img {
	float: left;
	margin-right: 5px;
	border: 0;
}
body div.ip li.twitter,
body div.ip li.twitter * {
    font-size: 16px;
}
body div.ip li.twitter a {
	display: inline;
	color: #FCC;
}
body div.ip li.twitter div.i * {
	color: #CCC;
}
