body {
  margin: 0;
  font-family: Helvetica;
  background: #fff;
  color: #000;
  -webkit-text-size-adjust: none; 
}

#panelsContainer {
  position: absolute;
  width: 100%;
  min-height: 416px;
  display: none;
  left: 0px;
  z-index: 100;
}
body[orient="landscape"] #panelsContainer {
  min-height: 268px;
}

#darken {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.3;
  filter: alpha(opacity = 30);
  display: none;
  z-index: 105;
}

#messageBox {
  position: absolute;
  left: 14px;
  top: 89px;
  height: 201px;
  width: 260px;
  -webkit-border-image: url(/images/box.green.2.png) 15 16 22 16;
  border-width: 15px 16px 22px 16px;
  z-index: 110;
  opacity: 0.9;
  filter: alpha(opacity = 90);
  text-align: center;
  color: #fff;
}
body[WebKit="F"] #messageBox {
  background: rgb(0,82,33);
  border: 3px solid #fff;
  -moz-border-radius: 15px;
}
body[orient="landscape"] #messageBox {
  left: 94px;
  top: 15px;
}

#messageBoxContent, #messageWaitingContent {
  padding: 10px;
}

#messageBox .button {
  position: absolute;
  top: 160px;
  left: -10px;
  height: 20px;
  width: 252px;
  color: #fff;
  font-size: 20px;
  padding: 14px 0px;
  text-shadow: #000 0px -1px 1px;
}
body[WebKit="F"] #messageBox .button {
  background: #1e703f;
  left: 2px;
  padding: 7px 0px;
  -moz-border-radius: 10px;
  border-width: 2px;
}

body[WebKit="F"] .button {
  border: 1px solid #222;
  border-top-color: #ccc;
  border-left-color: #eee;
  padding: 3px 5px;
  font-size: 14px;
  font-weight: bold;
  -moz-border-radius: 7px;
}

body[WebKit="F"] .greenLeft, body[WebKit="F"] .greenRight, body[WebKit="F"] .green {
  background-color: #425c43;
  color: #fff;
}
body[WebKit="F"] .disabled {
  background-color: #ccc;
  color: #999;
}

.button {
  cursor: pointer;
}

#messageBox h1 {
  margin: 3px 0 15px 0;
  font-size: 24px;
  font-weight: bold;
}

#messageWaiting {
  position: absolute;
  left: 40px;
  top: 163px;
  height: 70px;
  width: 220px;
  border: 2px solid #222;
  -webkit-border-radius: 10px;
  padding: 10px;
  display: none;
  opacity: 0.8;
  filter: alpha(opacity = 80);
  text-align: center;
  color: #000;
  background-color: #fff;
  -webkit-box-shadow: 0px 6px 3px #666;
  z-index: 110;
}
body[orient="landscape"] #messageWaiting {
  left: 120px;
  top: 89px;
}

.messageWaitingSpinner {
  background: url(/images/spinner2-24.gif) no-repeat center center;
  height: 24px;
}

#panelTitle {
  width: 100%;
  overflow: hidden;
  top: 0;
  padding: 10px 0;
  background: url(/images/toolbarGreen.3.png) #8191AA repeat-x;
  height: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: #3F4E63 0px -1px 1px;
  z-index: 20;
}

#panelMenuButtons {
  padding: 0px;
  background: url(/images/iPhoneBlackbar.png) #000 repeat-x;
  border: 0px;
  margin: 0px;
  height: 48px;
  bottom: 0px;
  width: 100%;
  text-shadow: #3F4E63 0px -1px 1px;
  overflow: hidden;
}
body[iPhone="T"] #panelMenuButtons {
  top: 376px;
  bottom: auto;
}

.toolBarButtons {
  font-size: 12px;
  color: #aaa;
  font-weight: bold;
}
.toolBarButtons div {
  width: 64px;
  height: 48px;
  float: left;
  overflow: hidden;
  text-align: center;
  padding: 0px;
  margin: 0px;
  display: none;
  cursor: pointer;
}
.toolBarButtons img {
  padding: 2px;
}

.menuSelected {
  xxx-webkit-border-image: url(/images/gray1.png) 7 7 7 7 / 1;
  -webkit-border-image: url(/images/gray1.png) 7 7 7 7;
  -webkit-box-sizing: border-box;
  color: #fff;
}
body[WebKit="F"] .menuSelected {
  background: url(/images/gray1.narrow.png) repeat-x;
}

#panelsCenter {
  position: absolute;
  top: 40px;
  width: 100%;
  min-height: 328px;
  background: #fff;
  overflow: hidden;
  padding-bottom: 54px;
}
body[orient="landscape"] #panelsCenter {
  min-height: 180px;
  width: 100%;
}
body[iPhone="T"] #panelsCenter {
  padding-bottom: 0px;
}

#centerSlider {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 200%;
  min-height: 328px;
}
body[orient="landscape"] .centerSlider {
  width: 200%;
  min-height: 180px;
}

.contentArea {
  position: absolute;
  top: 0px;
  width: 50%;
  min-height: 328px;
  display: none;
}
body[orient="landscape"] .contentArea {
  width: 50%;
  min-height: 180px;
}

.contentLoading {
  height: 180px;
  background: url('/images/spinner2-24.gif') no-repeat fixed 50%;
}
.empty {
  padding: 8px;
  color: #ccc;
  font-weight: bold;
}

.contentDrillDown {
  font-size: 20px;
}
.hi {
  background: url(/images/iPhoneArrow.black.png) no-repeat right center;
  cursor: pointer;
}
.h1 .hi {
  background: url(/images/iPhoneArrow.white.png) no-repeat right center;
}

.h0, .h1 {
  border-bottom: 1px solid #E0E0E0;
  font-weight: bold;
  padding: 8px;
}
.contentDrillDownIcons .if {
  padding-left: 44px;
  height: 28px;
}
.contentDrillDownIcons img {
  min-width: 36px;
  min-height: 28px;
  padding-right: 8px;
}
.contentDrillDown .h1 {
  background: url(/images/menuHeading1.3.png) repeat-x;
  font-size: 18px;
  color: #fff;
  text-shadow: #000 0px 1px 1px;
  padding-top: 7px;
  padding-bottom: 7px;
  max-height: 18px;
}
.contentDrillDown .h0 {
}

.contentDrillDown .h1 .st0 {
  font-size: 14px;
  text-shadow: #444 0px 1px 1px;
  color: #eee;
  margin-left: 10px;
  position: static;
}

.st2, .st3 {
  display: none;
}
body[orient="landscape"] .st2, body[orient="landscape"] .st3 {
  display: inline;
}

.contentDrillDown .st0,
.contentDrillDown .st1,
.contentDrillDown .st2,
.contentDrillDown .st3 {
  font-size: 16px;
  color: #aaa;
  position: absolute;
  margin-top: 4px;
  min-width: 100px;
  text-align: right;
}

.contentDrillDown .st0 { left: 135px; }
.contentDrillDown .st1 { left: 185px; }
.contentDrillDown .st2 { left: 275px; }
.contentDrillDown .st3 { left: 340px; }

.contentPage {
  padding: 8px;
}
.contentPage h1 {
  font-size: 24px;
  margin: 12px 0 6px 0;
}
.contentPage h2 {
  font-size: 20px;
  margin: 10px 0 4px 0;
}
.contentPage h3 {
  font-size: 18px;
  margin: 9px 0 3px 0;
}
.contentPage div {
  font-size: 16px;
  margin-bottom: 8px;
}

#c1 {
  xbackground-color: #f00;
}
#c2 {
  xbackground-color: #0f0;
}
#centerJunk {  // to satisfy incredibly stupid Apple bug
  position: static;
  top: 0px;
  left: 0px;
  width: 100%;
  font-size: 100px;
  z-index: 99;
  color: #fff;
}

#buttonBack, #buttonForward {
  margin: 6px;
  display: none;
  z-index: 25;
}
#buttonBack { left: 0; }
#buttonForward { right: 0; }

.static {
  position: fixed;
}
body[iPhone="T"] .static {
  position: absolute;
}

.contentPage .formPanel {
  background-color: #ccc;
  padding: 20px 8px;
  margin: 0px;
}

label {
  padding-left: 32px;
}

input {
  font-size: 18px;
}

select, option {
  font-size: 18px;
  //height: 24px;
}

input[type="checkbox"] {
  width: 24px;
  height: 24px;
}

.fieldError {
  padding-left: 8px;
  font-weight: bold;
  color: #b9433f;
}

.fieldStatusGlyph {
  padding-left: 28px;
}

.fieldStatusGood {
  background: url('/images/good-2.png') no-repeat left;
}

.fieldStatusTesting {
  background: url('/images/spinner-3a.gif') no-repeat left;
}

.fieldStatusBad {
  background: url('/images/bad-2.gif') no-repeat left;
}

.fieldActionButtons {
  padding-left: 28px;
}

.switch {
  width: 78px;
  height: 26px;
  overflow: hidden;
  border: 1px solid #666;
  -webkit-border-radius: 5px;
}

.switch div {
  margin-left: 0px;
  width: 126px;
  height: 26px;
  background-image: url('/images/switch.yes-no.2.png');
}

form .button {
  font-size: 16px;
}
