body{
    font-size: 13px;
}
md-autocomplete.md-dark-theme {
    background-color: transparent;
}
md-autocomplete.md-light-theme {
    background-color: transparent;
}
md-list-item, md-list-item .md-list-item-inner {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: flex-start;
    min-height: 34px;
}
md-input-container.md-dark-theme .md-input[disabled] {
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.87);
}
md-select.md-default-theme .md-select-value.md-select-placeholder, md-select .md-select-value.md-select-placeholder {
    color:currentColor;
}
md-select.md-default-theme[disabled] .md-select-icon, md-select[disabled] .md-select-icon, md-select.md-default-theme[disabled] .md-select-value, md-select[disabled] .md-select-value, md-select.md-default-theme[disabled] .md-select-value.md-select-placeholder, md-select[disabled] .md-select-value.md-select-placeholder {
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.87);
}
md-card {
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 12%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0px 8px 8px 8px;
}

md-menu-content.md-dark-theme {
    color:#fff;
    background-color: rgb(48,48,48);
}
table.md-table th.md-column.md-active, table.md-table th.md-column.md-active md-icon {
    color: currentColor;
}

md-checkbox:not(.md-checked) .md-icon {
    border-color: #c2c2c2;
}

md-checkbox.md-default-theme .md-ink-ripple, md-checkbox .md-ink-ripple {
    color: #c2c2c2;
}

.md-table-pagination {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-flex-wrap: wrap-reverse;
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
    box-sizing: border-box;
    padding: 0 24px;
    font-size: 12px;
    color: currentColor;
    border-top: 0px #eee solid;
}

table.md-table {
    width: 100%;
    font-size:12px;
    empty-cells:show;
    border-collapse: collapse;
    margin:0 auto;
    text-align: center;
}
table.md-table th.md-column {
    color: currentColor;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #eee;
}
table.md-table td.md-cell {
    color: currentColor;
    font-size: 12px;
    border: 1px solid #eee;
    max-width: 250px!important;
    white-space: nowrap;
}

table.md-table thead.md-head>tr.md-row {
    background-color: #fafafa;
}
table.md-table tbody.md-body>tr:nth-child(odd) {
    background-color: transparent;
}
table.md-table tbody.md-body>tr:nth-child(even) {
    background-color: #fafafa;
}
table.md-table.md-row-select tbody.md-body>tr:nth-child(odd) {
    background-color: transparent;
}
table.md-table.md-row-select tbody.md-body>tr:nth-child(even) {
    background-color: #fafafa;
}
table.md-table.md-row-select tbody.md-body>tr.md-row {
    transition-property: box-shadow, background-color;
    transition-duration: 0.4s, 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1), cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: 0s, 0s;
}
table.md-table.md-row-select tbody.md-body>tr.md-row.md-selected {
    background-color: rgba(0,137,123, .2);
}
table.md-table.md-row-select tbody.md-body>tr.md-row:not([disabled]):hover {
    background-color: rgba(0,137,123, .2)!important;
}

md-list-item.md-active md-icon:last-child{transform:rotate(180deg) translateZ(0)}

.md-menu {
    height: 38px;
    background-color: rgba(var(--hover),var(--hover),var(--hover), .025)!important;
}
.md-menu-selected {
    height: 38px;
    background-color: rgba(var(--hover),var(--hover),var(--hover), .15)!important;
}

.img-circle{
	border-radius:50%;
	width:30px;
	height:30px;
}

.table-input{
    width: 100%;
    height: 32px;
    margin:0px;
    border:none;
    border-width: 0 0 0px!important;
}
.table-input:focus{
    outline: 0;
}

.cell-number{
    width: 100%;
    min-width: 80px;
    height: 32px;
    margin:0px;
    border:none;
    text-align: right;
    background-color: transparent;
    border-width: 0 0 0px!important;
}
.cell-number:focus{
    outline: 0;
}

.table-edit{
    width: 20%;
}
.md-small{
    line-height: 28px;
    margin: 0px 0px!important;
    min-height: 28px!important;
    min-width: 44px!important;
}
.md-avatar{
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
md-checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    min-height: 4px;
    min-width: 3px;
    outline: none;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}
md-checkbox .md-container {
    left: auto;
    margin: 7px 3px 3px;
    right: auto;
    top: auto;
}
/*table.md-table.md-row-select td.md-cell:nth-child(2), table.md-table.md-row-select th.md-column:nth-child(2) {*/
/*    padding: 0 2px;*/
/*}*/
/*table.md-table.md-row-select td.md-cell:first-child, table.md-table.md-row-select th.md-column:first-child {*/
/*    width: 20px;*/
/*    padding: 0 2px 0 2px;*/
/*}*/
table.md-table.md-row-select td.md-cell:nth-child(n+3):nth-last-child(n+2), table.md-table.md-row-select th.md-column:nth-child(n+3):nth-last-child(n+2) {
    padding: 0 4px 0 4px;
}
table.md-table:not(.md-row-select) td.md-cell:nth-child(n+2):nth-last-child(n+2), table.md-table:not(.md-row-select) th.md-column:nth-child(n+2):nth-last-child(n+2) {
    padding: 0 4px 0 4px;
}
.td-right{
    text-align: right!important;
    padding: 0 4px 0 0px!important;
    max-width: 120px;
}
.td-left{
    min-width: 135px;
    text-align: left!important;
    white-space:normal!important;
    word-break:break-all!important;
    word-wrap:break-word!important;
}
md-toast {
    min-width: 200px;
    max-width: 460px;
    left: calc(50vw - 230px);
}
md-toast.md-success-toast-theme .md-toast-content {
    background-color: #00695c;
}
md-toast.md-error-toast-theme .md-toast-content {
    background-color: rgb(221,44,0);
    max-height: 800px;
}
.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: transparent;
    position: absolute;
    top: 6px;
    right: 3px;
}
.md-success{
    color:#2879FC;
}
.md-progress{
    color:#2A68FF!important;
}
.md-error{
    color:rgb(221,44,0)!important;
}
.autocomplete-custom-template .md-autocomplete-suggestion {
    border-bottom: 1px solid #ccc;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    white-space: normal;
}
.autocomplete-custom-template .md-autocomplete-suggestion:last-child {
    border-bottom-width: 0;
}
.autocomplete-custom-template .item-title,
.autocomplete-custom-template .item-metadata {
    display: block;
    line-height: 2;
}
.autocomplete-custom-template .item-title md-icon {
    height: 18px;
    width: 18px;
}
.search-input {
    display: inline-block;
    margin: 14px 0;
    padding: 2px;
    position: relative;
    vertical-align: middle;
}
.input-row{
    height: 48px;
    padding-left: 4px;
    /*margin-left: 8px;*/
    /*margin-right: 8px;*/
}
.title-row{
    background-color: rgba(var(--hover),var(--hover),var(--hover), .1)!important;
    height: 32px;
    padding-right: 8px;
    margin-top: 4px;
}
.md-row-title{
    background-color: rgba(var(--hover),var(--hover),var(--hover), .1)!important;
    height: 32px;
    padding-right: 8px;
}
.md-crumbs{
    margin-left: 8px;
    font-size:14px;
    line-height: 32px;
}
.md-btn{
    min-width: 44px;
    line-height: 28px;
    min-height: 28px;
    height: 28px;
    margin: 2px 4px;
}
.md-warn{
    background-color: rgb(221,44,0)!important;
    color: white!important;
}

.myTooltip{
    height: auto !important;
    min-width:50px!important;
    max-width:380px!important;
    white-space: inherit !important;
    font-size: 12px !important;
    background-color: #efefef!important;
    color: blue!important;
}

.layout-row:not(.layout-gt-xs-column):not(.layout-gt-sm-column):not(.layout-gt-md-column):not(.layout-lg-column)>.md-auto-horizontal-margin:not(:first-child) {
    margin-left: 0px;
}


.ed-table {
    table-layout:fixed;
    border-collapse: collapse;
    width: 100%;
}
.ed-table th{
    border: 1px solid rgba(0,0,0,0.12);
    text-align:center;
    height: 24px;
    background-color: #ededed;
}
.ed-table td{
    border: 1px solid rgba(0,0,0,0.12);
    text-align:center;
    height: 24px;
    /*background-color: #fff;*/
    padding: 0px;
}
td select{
    background-color: transparent;
}
td input {
    display: block;
    width: 100%;
    height: 24px;
    padding: 2px 4px;
    font-size: 13px;
    line-height: 1.42857;
    color: #2879FC!important;
    background-color: transparent;
    background-image: none;
    border: 0px solid #CBD5DD;
    border-radius: 0px;
}
td input:focus{
    border: 0px solid #2879FC;
    outline: 0;
    /*-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);*/
    /*box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)*/
}
td div > span{
    line-height: 24px;
    white-space: nowrap; /*强制span不换行*/
    background-color: #ededed;
    padding-left: 2px;
    padding-right: 2px;
}
td select{
    border: 0px;
    font-size: 10px;
}
td select:focus {
    border: 0px;
    outline: 0;
}

input:read-only{
    background-color: rgba(var(--hover),var(--hover),var(--hover), .015)!important;
}
.mybadge{
    margin-left:18px;
    padding: 2px 6px;
    font-weight: bold;
    color: #fff;
    background-color: rgb(221,44,0);
    border:none;
    border-radius:50%;
}
.mybadge2{
    margin-left:18px;
    padding: 2px 3px;
    font-weight: bold;
    color: #fff;
    background-color: rgb(221,44,0);
    border:none;
    border-radius:50%;
}
md-autocomplete input:not(.md-input) {
    background: transparent;
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    outline: none;
    padding: 0 0px!important;
    width: 100%;
}

md-toolbar {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-size: 20px;
    min-height: 42px;
    position: relative;
    width: 100%;
    z-index: 2;
}
.md-hue{
    height: 42px;
}
.md-hue-2{
    height: 42px;
}
.md-toolbar-tools {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    font-size: 20px;
    font-weight: 400;
    height: 42px;
    letter-spacing: .005em;
    margin: 0;
    padding: 0 16px;
    width: 100%;
}

::-webkit-scrollbar {
    width:4px; /*滚动条宽度*/
    height:4px; /*滚动条高度*/
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    box-shadow: 0px 1px 3px #ededed inset; /*滚动条的背景区域的内阴影*/
    border-radius: 4px; /*滚动条的背景区域的圆角*/
    background-color: #ededed; /*滚动条的背景颜色*/
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    box-shadow: 0px 1px 3px #999 inset; /*滚动条的内阴影*/
    border-radius: 4px; /*滚动条的圆角*/
    background-color: #999; /*滚动条的背景颜色*/
}
.aa{
    white-space: nowrap;
    line-height: 28px;
    background-color: rgba(var(--hover),var(--hover),var(--hover), .05)!important;
    padding-left: 2px;
    padding-right: 2px;
    border-right:1px solid rgba(var(--hover),var(--hover),var(--hover), .05);
}

.table1{
    max-height: 81vh!important;
}
md-tabs [role="tabpanel"] {
    transition: none;
}
md-tabs md-ink-bar {
    transition: none;
}

.text::-webkit-scrollbar {
    display: none;
}
.text{
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    text-align: left!important;
}
