body, html {
  background: #FFF;
}

/*
 * YUI Stuff - Nexcess theme specific
 */
#doc3 {
  /* Work-around for IE since it doesn't support min-width
   * The minimum width for IE is larger than for other browers, since it doesn't
   * collapse things as neatly as others
   */
  width:expression(document.body.clientWidth < 1010? "999px": "auto" );
  /* Width at which the logos start to overlap the quick menu */
  min-width: 832px;
  margin: 0;
}

#hd {
  background: #FFF;
}

#hd a {
  border-bottom: 0;
}

#bd {
  background: #FFF url(images/bd.gif) repeat-y;
  padding: 0 1em 1em 0;
}

#iw-bd-hd .iw-box {
  background:#E3F1F8;
  border:1px solid #80BEDE;
  color:#000444;
}

#ft {
  font-weight: bold;
  font-size: 93%;
  color: #FFF;
}

#ft a {
  font-family: verdana, helvetica, arial, sans-serif;
  font-weight: bold;
  color: #FFF;
}

.iw-yui .yui-b {
  float:left;
  width:165px;
}

.iw-yui #yui-main {
  float:right;
  margin-left:-180px;/* IE: preserve layout at narrow widths */
}

#iw-content {
  margin-left: 180px;
}

#iw-hd {
  text-align: right;
}

#iw-ft {
  text-align: right;
  background: #298BBE;
  padding: 6px;
  color: inherit;
}

.iw-left {
  float: left;
  color: inherit;
}

#managing {
  font-weight: bold;
  margin: 1em 0;
}

#iw-quickmenu {
  line-height: 31px;
  background: #298BBE url(images/hd.jpg) no-repeat scroll bottom left;
  padding-bottom: 31px;
}

#iw-quickmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  float: right;
}

#iw-quickmenu li {
  float: left;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 93%;
}

#iw-quickmenu a {
  color: #FFF;
  display: block;
  /* Left margin has to be wider by the width of the divider */
  padding: 0 15px 0 20px;
  background: url(images/quickmenu_divider.gif) no-repeat;
}

#iw-quickmenu .iw-quickmenu-first a {
  /* Overrides the bg image from the non-first <a> */
  background: transparent;
}

#hd h2 {
  color:#FFF;
  font-size:14px;
  font-weight: normal;
  letter-spacing:0.1em;
  line-height:31px;
  margin: -31px 0 15px 15px;
  text-transform:uppercase;
  position: absolute;
}

#iw-menu {
  margin-top: 11px;
}

/*
 * LOGIN PAGE STUFF
 */

#iw-login #iw-quickmenu ul {
  visibility: hidden;
}

#iw-login #bd {
  text-align: center;
  padding: 10px;
  background: #FFF;
}

#iw-login #iw-bd-hd {
  display: none;
}

#iw-login #bd form {
  background: #F8FAFB;
  border: 1px solid #9EC7DE;
  padding: 3em;
}

#iw-login #bd form table {
  margin: auto;
  text-align: left;
}

#iw-login #bd td {
  padding: 3px;
}

#iw-login .iw-negative-box {
  margin: 0 auto 1em;
  width: 300px;
}

#iw-login .button {
  background: url(images/btn_bg.gif) center;
  color: #23648F;
  border: 1px solid #9EC7DE;
  padding: 1px 15px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.iw-box {
  border: 1px solid #80BEDE;
}

.iw-box .hd {
  background: #E3F1F8;
}

.iw-box .bd {
  border-top: 1px dashed #80BEDE;
}

.iw-box .ft {
  border-top: 1px dashed #80BEDE;
  background: #E3F1F8;
}

.yui-skin-sam .iw-popup .yui-panel .hd {
  background: #1C79B4;
  border-bottom: 1px solid #808080;
  padding: 0 0 0 10px;
}

.yui-skin-sam .iw-popup .yui-panel .hd .l {
  color: #FFF;
}

.iw-popup .hd .r {
  background: transparent url(images/hd.jpg) no-repeat scroll -165px 0;
}

/* smartphones, tablets (portrait) ----------- */
@media only screen
 and (orientation : portrait) {

  .iw-portable #bd {
    background-image: none;
    padding-left: 1em;
  }
}

.iw-no-scale #iw-quickmenu {
  background: none;
}

.iw-no-scale #iw-quickmenu ul {
  background: #298BBE;
  width: 100%;
}

.iw-no-scale #hd h2 {
  display: none;
}

.iw-portable #doc3 {
  min-width: inherit;
}

.iw-no-scale #hd {
  height: 104px;
}