.panel{
    left:100%;
    display:none;
}
body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	background: #FFFFFF;
	color: #000000;
	overflow: hidden;
	-webkit-text-size-adjust: none;
}
html, body {
    height: 100%;
    overflow: auto;
}
span{
    display:block;
    top:0;
    height:30px;
    display:block;
    position: fixed;
    z-index:500;
    width:100%;
}
body span >  h1 {
	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;
	border-bottom: 1px solid #333;
	background-color: #FFF;
	background-image: url(../_sysimg/iPhoneToolbar.png);
	background-repeat: repeat-x;
}

.button {
    position: absolute;
    top: 8px;
    right: 6px;
    -webkit-border-image: url(../_sysimg/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(../_sysimg/iPhoneBackButton.png) 0 8 0 14;
    border-width: 0 8px 0 14px;
}

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

body > div,
body > form,
body > ul {
	display: none;
	position: absolute;
	left: 0;
	top: 41px;
	width: 100%;
	min-height: 418px;
	margin: 0;
	padding: 0;
	border-top: 1px solid #E0E0E0;
}

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

body > ul > li {
	margin: 0;
	border-bottom: 1px solid #E0E0E0;
	padding: 0;
	background: url(../_sysimg/iPhoneArrow.png) no-repeat right center;
	font-size: 20px;
	font-weight: bold;
	list-style: none;
	clear: left;
}

body > ul > li > a {
	display: block;
	padding: 8px 32px 8px 8px;
	text-decoration: none;
	color: inherit;
}
body > ul > li > a.icon {
	padding: 8px 32px 8px 50px;
	background-repeat: no-repeat;
	background-position: left top;
}    
.panel {
	box-sizing: border-box;
	padding: 10px;
	background-color: #FFF;
}
.panel p,
.panel ul li {
	color: #333;
	padding-right: 15px;
}
.panel h2 {
	font-size: 18px;
	color: #F60;
	line-height: 22px;
	padding-right: 10px;
}
.panel h3 {
	font-size: 20px;
	color: #003399;
	line-height: 24px;
	padding-right: 10px;
}
.panel h5 {
	font-size: 15px;
	color: #003399;
	line-height: 18px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-style:italic;
	padding-right: 15px;
}
.leftimg {
	clear: left;
	float: left;
	margin-right: 15px;
	margin-bottom: 10px;
	border-width: 0px;
}
.panel a,
.panel a:link {
	color: #003399;
}
.panel a:hover,
.panel a:active {
	color: #003399;
}


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

.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(../_sysimg/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 {
    box-sizing: border-box;
    width: 100%;
    margin: 6px 0 0 0;
    padding: 6px 6px 6px 44px;
    font-size: 16px;
    font-weight: normal;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}
