﻿body {
    max-width: 560px;
    margin: auto;
    background-color: #ddd
}

#pageWrapper {
    background-color: #fff
}

#headerBar {
    min-height: 40px;
    background-color: #337AB7;
    background-image: url(../images/entry/header_bg.jpg);
    background-repeat: repeat-x;
    background-position: center center;
    background-size: 300px 100%;
    border: 0 solid #2B85B9;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    overflow: hidden
}

    #headerBar h1 {
        position: absolute;
        width: 100%;
        line-height: 40px;
        color: #fff;
        border: 0 solid red;
        font-weight: normal;
        font-size: 16px
    }

    #headerBar .leftToolBar {
        position: absolute;
        left: 0;
        border: 0 solid red;
        min-width: 130px;
        padding-left: 5px;
        height: 40px
    }

    #headerBar .rightToolBar {
        border: 0 solid red;
        position: absolute;
        right: 0;
        min-width: 130px;
        padding-right: 5px;
        height: 40px
    }

    #headerBar .leftToolBar .icon {
        display: inline-block;
        width: 16px;
        height: 30px;
        border: 0 solid red;
        margin-right: 3px;
        float: left
    }

    #headerBar .rightToolBar .icon {
        display: inline-block;
        width: 16px;
        height: 30px;
        border: 0 solid red;
        margin-left: 10px;
        float: right
    }

    #headerBar .icon i {
        color: #fff;
        line-height: 40px
    }

#toolBar {
    margin-top: -1px;
    min-height: 31px;
    border: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    background-color: #eee;
    box-sizing: border-box;
    padding-top: 1px;
    z-index: 10
}

#noteBar {
    margin-top: -1px;
    min-height: 30px;
    line-height: 30px;
    border: solid 1px #ddd;
    border-left: 0;
    border-right: 0;
    background-color: #fff;
    background-color: #eee;
    padding-top: 1px
}

    #noteBar p {
        margin-left: 3px
    }

#searchBar {
    margin-top: -1px;
    min-height: 30px;
    border: solid 1px #ddd;
    border-left: 0;
    border-right: 0;
    background-color: #eee;
    box-sizing: border-box
}

    #searchBar .keywords-toolTip {
        color: #aaa
    }

    #searchBar .sqlCondition {
        line-height: 30px;
        background-color: #fff;
        padding-left: 5px;
        padding-right: 5px
    }

#tbGridList_container {
    border: solid 0 red;
    padding: 2px
}

#dataBar {
    margin-top: 0;
    border: solid 0 green;
    overflow: auto;
    overflow-x: hidden;
    z-index: 9
}

#statBar {
    margin-top: -1px;
    min-height: 35px;
    line-height: 35px;
    border: solid 1px #ddd;
    border-left: 0;
    border-right: 0;
    background-color: #eee;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px
}

    #statBar .num {
        font-weight: bold
    }

#bottomToolBar {
    margin-top: -1px;
    min-height: 35px;
    line-height: 35px;
    border-top: 1px solid #ddd;
    background-color: #eee;
    box-sizing: border-box;
    text-align: center
}

#footerBar {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 560px;
    min-height: 35px;
    border-top: 1px solid #ddd;
    background-color: #eee;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
    text-align: left;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: box;
    display: flexbox;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between
}

    #footerBar a.navItem {
        display: block;
        border: 0 solid red;
        -webkit-flex: 1;
        flex: 1;
        padding-top: 3px;
        padding-bottom: 3px;
        border-right: 1px solid #fff
    }

        #footerBar a.navItem:last-child {
            border-right: 0
        }

        #footerBar a.navItem .icon {
            display: block;
            border: 0 solid red;
            width: 20px;
            height: 20px;
            margin: auto;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 100% 100%
        }

        #footerBar a.navItem .title {
            border: 0 solid blue;
            height: 20px;
            line-height: 20px;
            font-size: 14px;
            font-weight: normal;
            text-align: center
        }

        #footerBar a.navItem .icon_home {
            background-image: url(../images/entry/icons-footer/home.png)
        }

        #footerBar a.navItem .icon_setting {
            background-image: url(../images/entry/icons-footer/setting.png)
        }

        #footerBar a.navItem .icon_myself {
            background-image: url(../images/entry/icons-footer/myself.png)
        }

        #footerBar a.navItem .icon_dayreport {
            background-image: url(../images/entry/icons-footer/dayreport.png)
        }

        #footerBar a.navItem .icon_shoppingcart {
            background-image: url(../images/entry/icons-footer/shoppingcart.png)
        }

        #footerBar a.navItem .icon_exit {
            background-image: url(../images/entry/icons-footer/exit.png)
        }

.dataRow {
    border-bottom: 1px solid #ddd;
    padding: 5px;
    text-align: left;
    font-size: 16px;
    line-height: 20px
}

.memberInfo {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    overflow: hidden
}

.weui-popup__container .weui-popup__modal {
    background-color: #fff
}
