/*以下为容器样式*/
/*http://alurk.com/*/
#container {
    background-color: #f4f4f4;
}

#wrapper {
    background-color: #f4f4f4;
}

#header {
    left: 0rem;
    right: 0rem;
    position: relative;
    margin-top: -0rem; /* header高度的负值 */
    width: 100%;
    height: 0.90rem;
    line-height: 0.90rem;
    /*background-color: #984117;*/
    background-color: #cc3333;
    clear: both;
    padding: 0rem;
}

#shade {
    position: absolute;
    top: 0%; /**遮罩全屏top,left都为0,width,height为100%**/
    left: 0%;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=50);
    opacity: 0.5;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    background-color: black;
    z-index: 1001;
    display: none;
    /*background:transparent;*/
    /*background:rgba(0,0,0,0.5);*/
    /*border-radius:8px;*/
    /*position: fixed;*/
    /*margin:auto;left:0; right:0; top:0; bottom:0;*/
    /*z-index: 1;*/
}

/*头像*/
#avatar {
    width: 1.54rem;
    height: 1.54rem;
    border-radius: 1.54rem;
}

#banner {
    width: 100%;;
    height: auto;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

#content {
    padding: 0.20rem;
    line-height: 0.40rem;
    /*min-height: 0.50rem;*/
    font-family: "Microsoft YaHei";
    font-size: 0.26rem;
}

#footer {
    left: 0rem;
    right: 0rem;
    position: relative;
    margin-top: -0rem; /* footer高度的负值 */
    width: 100%;
    height: 1.5rem;
    line-height: 1.5rem;
    background: #f4f4f4;
    clear: both;
    padding: 0rem;
}

#fixed-footer {
    position: fixed;
    bottom: 0rem;
    right: 0rem;
    /*background-color: #984117;*/
    background-color: #cc3333;
    width: 100%;
    height: 1.0rem;
    line-height: 1.0rem;
    text-align: center;
    z-index: 9999;
}

.cf:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.panel {
    width: 100%;
    height: 1.20rem;
    background-color: #ffffff;
    border: 0rem solid #000;
    margin: 0rem auto;
    padding: 0rem;
}

.left {
    width: 100rem;
    text-align: center;
    /*border: 1px solid #ff0000;*/
}

.center {
    text-align: left;
    /*border: 1px solid #00ff00;*/
    /*background-color: #ff0000;*/
}

.right {
    text-align: center;
    width: 1.00rem;
    /*border: 1px solid #0000ff;*/
}

/*float法*/
.float .left {
    float: left;
    height: 100%;
}

.float .center {
    margin: 0 1.00rem;
    height: 100%;
}

.float .right {
    float: right;
    height: 100%;
}

/*position法*/
.position {
    position: relative;
}

.position .left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.position .center {
    height: 100%;
    margin: 0 1.00rem;
}

.position .right {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

/*table法*/
.table {
    display: table
}

.table .inner {
    display: table-cell;
}

/*flex法*/
.flex {
    display: box;
    display: -webkit-box;
    display: -moz-box;
    display: -moz-box;
}

.flex .left {
    height: 100%;
}

.flex .center {
    -webkit-box-flex: 1;
    box-flex: 1;
    -moz-box-flex: 1;
}

.flex .right {
    height: 100%;
}

.wrapper {
    display: table;
    width: 3.00rem;
    height: 3.00rem;
    background: #000;
    margin: 0 auto;
    color: red;
}

.cell {
    display: table-cell;
    vertical-align: middle;
}