#content{
    padding:4% 0px !important;
    margin:0 !important;
    width:100% !important;
    max-width:100% !important;
    background-color: #ffffff;
}
h1{
    font-size:16px !important;
    margin:0;
    padding:3px;
}
/* The page title sits inside the bordered panel, so it carries the same 10px
   inset the panel has always used, rather than hugging its left border. */
#content > div > h1{
    margin-left: 23px;
    padding: 10px;
}

main *{
    font-size:12px;
    line-height: 1.6;

}
#leftColumn{
    font-size: 12px;
    margin-right:15px;
}
#titlebar{
    width:100%;
    height:auto;
    /* 12px, and `.userMenu` below is padded to match, so the sidebar title
       sits on the same left edge as every row under it. */
    padding:12px;
    /* style.css paints my_account_top_bg.gif, a 180x26 image whose grey bar
       does not follow the sidebar when it goes full width. */
    background: none;
    background-color: #eeeff0;
}

/* ------------------------------------------------------------------ *
 * Home page service boxes (pages/home.htm)
 *
 * The boxes used to sit in a table of fixed-width cells, which left a wide
 * gutter around a 172px box once the column got wider. They are now flex
 * items that grow to share the row, so the gutter between boxes is uniform
 * and the row wraps on a narrow screen. `style.css` still fixes each
 * #accountBoxNN to 152x178 and paints the photo, so the geometry has to be
 * overridden at higher specificity than a bare class would give.
 * ------------------------------------------------------------------ */
.eb-section{
    margin-bottom: 30px;
}
.eb-section__title{
    font-size: 14px;
    font-weight: bold;
    color: #0b6297;
    margin: 0 0 12px;
    padding: 0;
}
.eb-boxes{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
#main_area .eb-box{
    /* style.css: width:152px; height:178px; padding:10px */
    width: auto;
    height: auto;
    /* 180px basis: flexbox packs a line by basis, not by grown size, so a wider
       basis would push the fourth box onto its own row sooner. */
    flex: 1 1 180px;
    min-width: 180px;
    max-width: 280px;
    /* The source image is half white band, half photo. Scaling it by width with
       the bottom edge anchored keeps its proportions and fills the box, and the
       6% over-scale is deliberate: every box_*.jpg carries a ~2px grey frame
       baked into the JPEG (rgb 200,200,200 along the top row and both side
       columns), which used to BE the box outline and now reads as a drop
       shadow once the image is scaled up. The over-scale pushes that frame
       outside the box. min-height:300px leaves the white band clear of the
       photo's top edge for the title and links. */
    min-height: 300px;
    padding: 12px 14px;
    background-position: bottom center;
    background-size: 106% auto;
    background-repeat: no-repeat;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: none;
    letter-spacing: 0px;
    text-shadow: rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px, rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279416px 0px;
}
#main_area .eb-box__title{
    display: block;
}
#main_area .eb-box__list{
    margin: 6px 0 0;
    padding: 0;
}
li.bullet,li.bullet2{
    background-position:0 4px;
}
#main_area li.bullet{
    margin: 0 0 8px;
    line-height: 15px;
    /* arrow.gif is 12x11: 2px down puts its middle on the middle of the
       first 15px line, instead of the old 4px which hung below it. */
    background-position: 0 2px;
}
#main_area .eb-box__list > :last-child{
    margin-bottom: 0;
}

/* The Account Status section on the home page. It has no photo of its own -
   there is no `box_account_status.jpg` - so it is a plain link card rather
   than one of the picture boxes above. It deliberately does NOT inherit the
   300px min-height: that height exists to clear the photo, and without a
   photo it would leave a tall empty card. */
#main_area .eb-linkbox{
    flex: 1 1 180px;
    min-width: 180px;
    max-width: 280px;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    letter-spacing: 0px;
}
#main_area .eb-linkbox__title{
    display: block;
    margin-bottom: 6px;
}
#main_area .eb-linkbox__list{
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------------ *
 * The "New" badge
 *
 * Shown beside a portal section when something has arrived for the
 * company since the section was last opened: a new e-Invoice, e-Receipt
 * or Notification, new Meter Usage readings, or a changed Account Status
 * snapshot.
 *
 * It is a small red pill, inline with the link it belongs to. The link
 * stays the only thing that is clickable - the badge is a label, not a
 * second target.
 * ------------------------------------------------------------------ */
.eb-new-badge{
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 3px;
    background-color: #d0021b;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ *
 * Sidebar (partials/leftmenu_{en,zh-hk}.htm)
 * ------------------------------------------------------------------ */
.eb-sidemenu{
    width: 180px;
    margin: 0 auto;
}
.userMenu li {
    margin-left: 0;
    /* margin-bottom: 15px; */
    display: block;
    margin: 1px 0;
    padding: 3px;
    border-bottom: 1px dotted #d4d4d4;
}
.userMenu ul > :last-child{
    border-bottom:0 !important;
}
/* style.css pads these rows 8px; #titlebar above wants 12px, and every row in
   the sidebar has to share one left edge. */
.userMenu{
    padding-left:12px;
    padding-right:12px;
}
/* The links were indented 3px inside the cell while the section header above
   them was flush, which is why bold and normal text never lined up. */
.userMenu h5,
.userMenu li{
    padding-left: 0;
    padding-right: 0;
}
/* `width:160px` in style.css is wider than the row itself, so the heading runs
   under the 18px plus-icon at the row's top right. Take the width from the row
   and reserve the icon's column: a long heading wraps instead of colliding. */
.userMenu h5{
    width: auto;
}
.userMenu.plusicon h5{
    padding-right: 24px;
}
/* My Page and Logout are h5 rows like the section headings, so they came out in
   the DemiBold face - heavier than the links they sit among. Match the links. */
.userMenu:not(.plusicon) h5{
    font: inherit;
}

/* Below this width the 20% sidebar column can no longer hold the 180px menu,
   so the menu takes the full width and the content column drops beneath it.
   There is no hamburger of our own: the corporate header already has one. */
@media screen and (max-width: 1024px){
    #leftColumn,
    #rightColumn{
        float: none;
        width: 100%;
    }
    #leftColumn{
        margin-right: 0;
    }
    #rightColumn{
        margin-top: 15px;
    }
    .eb-sidemenu,
    #titlebar{
        width: 100%;
    }
}
.regMsg {
    line-height: 1.5;
    padding: 10px 0;
}
.button {
    white-space: nowrap;
    min-width: 130px !important;
    height: 36px;
    margin: 2px 0;
    color: #fff;
    background: #01916d;
    border: 1px solid #01916d;
    font-weight: 400;
    line-height: 29px;
    text-align: center;
    position: relative;
    padding: 0 10px 0;
    cursor: pointer;
    width: auto;
    vertical-align: middle;
    border-radius: 0;
    transition: box-shadow .2s,-webkit-box-shadow .2s;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    font-size: 1em;
}

.button:hover {
    color: #01916d;
    background-color: #fff;
    border: 1px solid #d7d7d7
}

.button:hover:after {
    color: #01916d
}

#member_area {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 12px 20px 18px 20px;
    background-color: #eeeff0;
}
input[type="submit"] {
    margin: 4px 0;
}

.ms-options-wrap > .ms-options > ul label {
    padding: 4px 4px 4px 30px !important;
}

input[type="checkbox"], input[type="radio"] {
    margin: 0 0 0 0;
    padding: 0;
    vertical-align: middle;
    position: relative;
    top: 3px;
    *overflow: hidden;
}
