
/*
    z-index
    0~99 ： 子页面
    100:  固定页面，例如页面头部，页面底部
    101~199: 弹出窗口,list Form ,left menu 
    1000: loading,


*/


body {
    position: relative;
}


/*font-color*/
.m-header {
}

.m-body {
    /*margin-bottom: 72px;*/
    height:inherit;
}

.m-body-content {
    padding: 0px;
    height: 100%;
  
}

.m-header {
    height: 50px;
}


    .m-header .p-header {
            position: fixed;
    width: 100%;
    z-index: 58;
    top: 0px;
    background: #31A5A5;
    color: white;
    width: 100%;
    line-height: 15px;
    font-size: 19px;
    background-color: rgb(0, 164, 153);
    height: 50px;
    }

        .m-header .p-header .btn-icon {
            width: 50px;
            font-size: 25px;
            text-align:center;
        }


.m-footer {
}



    .m-footer .m-footer-nav {
        text-align: center;
        color: black;
        position: fixed;
        bottom: 0;
        width: 100%;
        border-top: 1px solid #ddd;
        background: white;
        z-index: 100;
    }

        .m-footer .m-footer-nav .nav-link {
            display: block;
            color: White;
        }

            .m-footer .m-footer-nav .nav-link i.fa {
                /*line-height: 20px;*/
                font-size: 30px;
                padding-top: 5px;
            }

        .m-footer .m-footer-nav .sidebar-toggle {
            position: inherit;
            top: inherit;
            left: inherit;
            width: 100%;
            padding: inherit;
            -webkit-transition: inherit;
            transition: inherit;
            color: White;
        }

            .m-footer .m-footer-nav .sidebar-toggle:before {
                display: none;
            }

        .m-footer .m-footer-nav .nav-link span.nav-link-title {
            line-height: 20px;
            display: block;
            font-weight: normal;
            font-size: 12px;
        }



.masthead {
    background-color: #1565c0;
    width: 100%;
    color: white;
    height: 56px;
    text-align: center;
    position: relative;
}

    .masthead .container {
        position: initial;
        bottom: 25px;
        font-size: 25px;
        padding-top: 0.9rem;
    }

/*module-item*/
.m-module-item {
    width: 33.33333333%;
    float: left;
    position: relative;
    min-height: 1px;
    padding: 15px;
    text-align: center;
}

    .m-module-item .m-module-item-wrapper {
    }

        .m-module-item .m-module-item-wrapper .m-module-item-icon {
            position: relative;
            background-color: #1565c0;
            border-radius: 25px;
            color: white;
            width: 50px;
            height: 50px;
            display: inline-block;
        }

    .m-module-item .m-module-title {
        color: #1565c0;
        display: block;
        margin-top: 5px;
    }

    .m-module-item .m-module-item-wrapper i.fa {
        line-height: 50px;
        font-size: 25px;
    }


    .m-module-item .badge {
        position: absolute;
        right: -15px;
        top: -5px;
        background-color: #e43847;
    }

/*sidebar*/

md-sidenav#sidebar {
    z-index: 101;
}

md-sidenav#sidebar,
md-sidenav.md-default-theme, md-sidenav, md-sidenav.md-default-theme md-content, md-sidenav md-content {
    background-color:white;
    color: rgb(81,81,81);
}

/*#sidebar md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar),
    #sidebar md-sidenav.md-default-theme, md-sidenav, md-sidenav.md-default-theme md-content, md-sidenav md-content {
        background-color: inherit;
    }*/

#sidebar md-toolbar.top-item {
    padding: 10px;
    background-color: rgb(0, 164, 153);
    font-size: 18px;
    color: white;
    height: 150px;
}


#sidebar md-toolbar a {
    color: inherit;
}

#sidebar .middle-item {
    padding: 15px 5px;
}

    #sidebar .middle-item a.sidebar-nav-item {
        display: block;
        color: inherit;
        padding: 8px 0px;
    }

        #sidebar .middle-item a.sidebar-nav-item i.fa {
            width: 24px;
        }

/*page-header*/
.p-header {
    position: relative;
    background: #1565c0;
    color: white;
    width: 100%;
    line-height: 30px;
    font-size: 24px;
}

    .p-header h1,
    .p-header h2,
    .p-header h3 {
        text-align: center;
        padding: 15px 0;
        margin: 0px;
    }

    .p-header .p-header-title {
        color: white;
    }

    .p-header span.icon-left {
        position: absolute;
        top: 15px;
        left: 15px;
        color: white;
    }

        .p-header span.icon-left a,
        .p-header span.icon-right a {
            color: white;
        }

    .p-header span.icon-right {
        position: absolute;
        top: 11px;
        right: 15px;
        color: white;
    }


.search-panel {
    margin: 5px;
}

.input-group-addon i.fa {
    color: #1565c0;
}

.code-bold {
    font-weight: bold;
    color: #1565c0;
}

.table thead th,
table tbody td,
table tbody th,
table tfoot td,
table.tdata thead th,
table.tdata tbody td,
table.tdata tfoot td {
    border-left: none;
    border-right: none;
    font-weight: normal;
}

    table thead th i,
    table tbody td i,
    table tbody th i,
    table tfoot td i,
    table.tdata thead th i,
    table.tdata tbody td i,
    table.tdata tfoot td i {
        color: #1565c0;
        font-weight: normal;
    }



.enquiry-list-loop {
    position: relative;
    color: black;
    border-bottom: 1px solid #ddd;
    width: 100%;
    padding: 5px 30px 5px 5px;
}

    .enquiry-list-loop .enquiry-action {
        position: absolute;
        right: 0px;
        text-align: center;
        width: 20px;
        height: 30px;
    }

    .enquiry-list-loop .dropdown-menu {
        position: absolute;
        top: 15px;
        right: 0px;
        left: -148px;
        width: 110px;
    }

    .enquiry-list-loop i.fa {
        width: 20px;
    }

.enquiry-customer {
}

.enquiry-date {
}

.enquiry-title {
}

.enquiry-content {
    height: 40px;
    overflow: hidden;
}


.enquiry-detail-nav {
    display: inline-block;
    width: 30px;
    position: absolute;
    right: 0;
    height: 100%;
    line-height: 100%;
    text-align: center;
}

.lang a {
    float: left;
    display: block;
    width: 37px;
    border-right: 1px solid #6D787D;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    color: white;
}

.jqtab-page .panel-primary {
    border: 0px;
}

.jqtab-page .panel-body {
    padding: 0px;
}

.modal-list-form,
.modal-filter {
    width: 100%;
}

    .modal-list-form .modal-dialog,
    .modal-filter .modal-dialog {
        margin: 0px;
    }

.modal.modal-filter {
    z-index: 1049;
}


.modal-list-form .modal-body,
.modal-filter .modal-body {
    padding: 0;
}

input.form-control,
select.form-control {
    border: none;
    outline: 0;
    transition: none;
    box-shadow: none;
    border-radius: inherit;
}

input.form-control,
select.form-control {
    border-bottom: 1px solid #ccc;
    line-height: inherit;
}

    input.form-control:hover,
    select:hover {
        box-shadow: none;
    }

.input-group .input-group-addon {
    background-color: inherit;
    color: #1565c0;
    border: 0px;
    border-bottom: 1px solid #ccc;
}


.btn.btn-primary {
    background-color: #1565c0;
}

/*
    date-filter-panel
*/

.date-filter-panel {
    text-align: center;
    font-size: 18px;
    height: 65px;
}

    .date-filter-panel .filter-container {
        position: fixed;
        top: 35px;
        width: 100%;
        z-index: 21;
    }

    .date-filter-panel table {
        width: 100%;
        text-align: center;
        background: rgb(241, 242, 244);
    }


    .date-filter-panel md-datepicker {
        text-align: center;
    }

        .date-filter-panel md-datepicker .md-datepicker-button {
            padding-top: 0px;
        }

    .date-filter-panel .date-filter-panel .date-fiter-right .tec-textbox {
    }


    .date-filter-panel .date-fiter-left md-datepicker .md-datepicker-button {
        left: 0px;
        right: initial;
    }

    .date-filter-panel md-datepicker .tec-textbox {
        text-align: center;
        background-color: rgb(241, 242, 244);
        border-bottom: 16px;
        padding-top: 0px;
        font-size: 18px;
        color: #333;
        border: 0px;
    }

    .date-filter-panel .defined-filter {
        border-bottom: 1px solid rgba(0, 0, 0, 0.41);
        border-top: 1px solid rgba(0, 0, 0, 0.41);
    }

md-datepicker .tec-textbox, md-datepicker .tec-textbox:focus {
    box-shadow: initial;
    padding-bottom: 0px;
    -webkit-box-shadow: initial;
}






/*

            样式重置Angular Metial
        */

md-content.md-default-theme, md-content {
    background-color: inherit;
}


md-list-item.md-no-proxy, md-list-item .md-no-style {
    z-index: 1;
}

.md-padding md-list {
    padding: 0px;
    clear: both;
}

md-backdrop.md-dialog-backdrop {
    z-index: 101;
}

.md-dialog-container {
    z-index: 102;
}

.btn-meals {
    font-size: 14px;
    height: 2rem;
    min-width: 1rem;
    min-height: 1rem;
    line-height: 2rem;
}

.filtergroup {
    font-size: 18px;
    color: initial;
    padding: 5px 10px 5px 50px;
    height: 40px;
    border-bottom: 1px solid #dbdbdb;
}

    .filtergroup p, .filtergroup md-checkbox {
        background: #f2f2f2;
        width: auto;
    }
