body {
    background: rgb(0,0,0);
    margin: 0;
}

body > * {
    background: rgb(197,204,211) url(pinstripes.png);
}

body > div
{
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 418px;
    margin: 0;
    padding: 0;
}

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

h1, h2 {
    font: bold 18px Helvetica;
    text-shadow: rgba(255,255,255,.2) 0 1px 1px;
    color: #ffffff;
    margin: 10px 20px 6px;
}

/* @group Toolbar */

.toolbar {
    -webkit-box-sizing: border-box;
    border-bottom: 1px solid #2d3642;
    padding: 1px;
    height: 55px;
    background: url(iPhoneToolbar.png)  repeat-x;
    position: relative;
}

.toolbar > h1 {
    position: absolute;
    left: 48%;
    top: 10px;
    line-height: 1em;
    margin: 1px 0 0 -75px;
    height: 40px;
    font-size: 20px;
    width:180px;
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
}


body.landscape .toolbar > h1 {
    margin-left: -125px;
    width: 250px;
}

.button, .back, .cancel, .add {
    position: absolute;
    top: 8px;
    right: 6px;
    margin: 1px;
    border-width: 0 5px;
    padding: 0 3px;
    width: auto;
    height: 30px;
    line-height: 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
    background-image:url('iPhoneButton.png');
    background-repeat:no-repeat;
    background-position: -1px 0px;
    -webkit-border-image: url(iPhoneButton.png) 0 5 0 5;
    -moz-border-image: url(iPhoneButton.png) 0 5 0 5;
}

.button.active, .back.active, .cancel.active, .add.active {
    -webkit-border-image: url(iPhoneButton.png) 0 5 0 5;
    -moz-border-image: url(iPhoneButton.png) 0 5 0 5;
}

.back {
    position: absolute;
    top: 8px;
    padding-left:10px;
    left:5px;
    width: 40px;
    margin-left:0;
    border-width: 0 8px 0 14px;
    background-image:url('iPhonebackButton.png');
    background-repeat:no-repeat;
    background-position: -1px 0px;
    -webkit-border-image: url(iPhoneBackButton.png) 0 8 0 14;
    -moz-border-image: url(iPhoneBackButton.png) 0 8 0 14;
}

.leftButton, .cancel {
    left: 12px;
    right: auto;
}

.search {
    position: absolute;
    top: 8px;
    right: 6px;
    margin: 0;
    border-width: 0;
    padding: 0;
    width: auto;
    height: 30px;
    line-height: 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
    }
a, a:active, a:link, a:visited, a:hover{
   text-decoration: none;
   color: 000000;
    
}
/* @end */

/* @group Lists */

h1 + ul, h2 + ul, h3 + ul, h4 + ul, h5 + ul, h6 + ul {
    margin-top: 0;
}

ul {
    color: 000000;
    background: #fff;
    border: 1px solid #B4B4B4;
    font: bold 17px Helvetica;
    padding: 0;
    margin: 15px 10px 17px 10px;
    -webkit-border-radius: 8px;
}

ul li {
    color: #000000;
    border-top: 1px solid #B4B4B4;
    list-style-type: none;
    padding: 10px 10px 10px 10px;
}
li {
    color: #000000;
}
/* when you have a first LI item on any list */

li:first-child, li:first-child a {
    border-top: 0;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
}

li:last-child, li:last-child a {
    -webkit-border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
}

/* universal arrows */

ul li.arrow {
    background-image: url(iPhoneArrow2.png);
    background-position: right center;
    background-repeat: no-repeat;
    color:#000000;
}


/* universal links on list */

ul li a, li.img a + a {
    color: #000000;
    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 a.active {
    background: #194fdb 
}

ul li a.button {
    background-color: #194fdb;
    color: #fff;
}

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 {
    color: #000000;
    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: #000000;
    font: 13px Helvetica;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    padding: 0;
}

/*
@end */

/* @group Forms */

ul.form li {
     padding: 7px 10px;
     border: 0;
}

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="number"], ul li input[type="password"], ul li textarea, ul li select {
    color: #777;
    background: #fff;
    font: normal 17px Helvetica;
    padding: 2px;
    border:1px solid rgb(165,177,186);
    display: inline-block;
    margin-left: 10px;
   -webkit-appearance: textarea; 
}

ul li input[disabled="disabled"], ul li input[disabled], ul li input:disabled {
    color: #777;
    background: #fff;
    border: 0;
    font: normal 17px Helvetica;
    padding: 2px;
    display: inline-block;
    margin-left: 10px;
   
}

.fullline {
    width:100%;
    margin-left:-20px;
}

ul li textarea {
    height: 120px;
    padding: 0;
    text-indent: -2px;
}

ul li select {
    
    min-width:60px;
    color: #555;
    background: #fff;
    font: normal 17px Helvetica;
    border:1px solid rgb(165,177,186);
    text-indent: 1px;
    padding:0;
    margin-left: 10px;
    margin-right: 5px;
    background: transparent url(chevron_dn.png);
    background-position: right center;
    background-repeat: no-repeat; 
}

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

/* @end */

/* @group Edge to edge */

.edgetoedge h4 {
    color: #fff;
    background: rgb(154,159,170) url(listGroup.png) top left repeat-x;
    border-top: 1px solid rgb(165,177,186);
    text-shadow: #666 0 1px 0;
    margin: 0;
    padding: 2px 10px;
}
.edgetoedge h5 {
    font: bold 12px Helvetica;
    color: #fff;
    background: rgb(154,159,170) url(listGroup.png) top left repeat-x;
    border-top: 1px solid rgb(165,177,186);
    text-shadow: #666 0 1px 0;
    margin: 5px 20px;
    padding: 2px;
    text-align:center;
}

.edgetoedge {
    margin: 0;
    padding: 0;
    background-color: rgb(255,255,255);
    color:#000000;
}



.edgetoedge ul li:first-child, .edgetoedge ul li:first-child a, .edgetoedge ul li:last-child, .edgetoedge ul li:last-child a, .metal ul li:first-child a, .metal ul li:last-child a {
    -webkit-border-radius: 0;
}

.edgetoedge ul li small {
    font-size: 16px;
    line-height: 28px;
}

.edgetoedge li {
    -webkit-border-radius: 0;
}

.edgetoedge li em {
    font-weight: normal;
    font-style: normal;
}

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

/* @end */



.edgetoedge ul {
    -webkit-border-radius: 0;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    color:#000000;
}




/* @group Individual */

ul.individual {
    border: 0;
    background: none;
    clear: both;
    overflow: hidden;
}

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

/* @end */

/* @group Toggle */


.toggle {
    width: 94px;
    position: relative;
    height: 27px;
    display: block;
    overflow: hidden;
    float: right;
}

.toggle input[type="checkbox"]:checked {
    left: 0px;
}

.toggle input[type="checkbox"] {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    margin: 0;
    -webkit-border-radius: 5px;
    background: #fff url(img/on_off.png) 0 0 no-repeat;
    height: 27px;
    overflow: hidden;
    width: 149px;
    border: 0;
    -webkit-appearance: textarea;
    background-color: transparent;
    -webkit-transition: left .15s;
    position: absolute;
    top: 0;
    left: -55px;
}

.show > a{
    display: block;
    padding: 4px 0px 4px 0px;
    text-decoration: none;
    color: inherit;
    background: url(iPhoneArrow.png) no-repeat right center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.show {
    margin: 0;
    border-bottom: 1px solid #E0E0E0;
    padding: 4px 4px 4px 10px;
    font-size: 18px;
    font-weight: bold;
    list-style: none;
}
/* @end */



.info {
    background: #dce1eb;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    text-shadow: rgba(255,255,255,.8) 0 1px 0;
    color: rgb(76, 86, 108);
    padding: 15px;
    border-top: 1px solid rgba(76, 86, 108, .3);
    font-weight: bold;
}

table {
    font-size: 16px;
    padding:10px;
    margin-bottom:5px;
    width:100%;
   }

th {
   text-align:right; 
   }
   
td {
    padding:2px;
    }
    
.menuButton {
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom:1px;
    text-align:center;
    -webkit-border-image: url(iPhoneMenuButton.png) 0 5 0 5;
    -moz-border-image: url(iPhoneMenuButton.png) 0 5 0 5;
    border-width: 0px 1px;
    padding:5px;
    font-size: 18px;
    color: #bbbbbb;
    background:#6d84a2;
   
}
.noline {
    border: none;
    padding: 6px 6px 6px 6px;
    }
