md-backdrop.md-edit-dialog-backdrop {
  z-index: 80;
}
md-edit-dialog {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  position: fixed;
  z-index: 81;
  background-color: #f9f9f9;
  border-radius: 2px;
  cursor: default;
}
md-edit-dialog > .md-content {
  padding: 16px 24px 0;
}
md-edit-dialog > .md-content .md-title {
  color: rgba(0, 0, 0, 0.87);
  margin-bottom: 8px;
}
md-edit-dialog > .md-content md-input-container {
  margin: 0;
  font-size: 13px;
}
md-edit-dialog > .md-content md-input-container input {
  float: none;
}
md-edit-dialog > .md-content md-input-container .md-errors-spacer {
  min-height: auto;
  min-width: auto;
  color: rgba(0, 0, 0, 0.54);
}
md-edit-dialog > .md-content md-input-container .md-errors-spacer .md-char-counter {
  padding: 5px 2px 5px 0;
}
md-edit-dialog > .md-content md-input-container [ng-message] {
  padding: 5px 0 5px 2px;
}
md-edit-dialog > .md-actions {
  margin: 0 16px 8px;
}
md-edit-dialog > .md-actions .md-button {
  margin: 0;
  min-width: initial;
}
md-edit-dialog > .md-actions .md-button + .md-button {
  margin-left: 8px;
}
.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: rgba(0, 0, 0, 0.54);
  border-top: 1px rgba(0, 0, 0, 0.12) solid;
}
.md-table-pagination md-select {
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  min-width: 64px;
}
.md-table-pagination md-select:not([disabled]):focus .md-select-value {
  color: rgba(0, 0, 0, 0.54);
}
.md-table-pagination md-select .md-select-value {
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.md-table-pagination md-select .md-select-value span.md-select-icon {
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  margin-right: -6px !important;
}
.md-table-pagination md-select .md-select-value span.md-select-icon:after {
  top: initial;
  -webkit-transform: scaleY(0.5) scaleX(1);
          transform: scaleY(0.5) scaleX(1);
}
.md-table-pagination > * {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  height: 56px;
}
.md-table-pagination > .buttons:not(:first-child),
.md-table-pagination > .limit-select:not(:first-child) {
  margin-left: 32px;
}
.md-table-pagination > .buttons {
  margin-right: -16px;
}
.md-table-pagination > .buttons > .md-button.md-icon-button {
  margin: 0;
}
.md-table-pagination > .buttons > .label + .md-button.md-icon-button {
  margin-left: 20px;
}
md-select.md-table-select {
  margin: 0;
}
md-select.md-table-select > .md-select-value {
  padding: 0;
  min-width: 0;
  min-height: 24px;
  border-bottom: 0 !important;
}
md-select.md-table-select > .md-select-value > span {
  display: block;
  height: auto;
  -webkit-transform: none !important;
          transform: none !important;
}
md-select.md-table-select > .md-select-value > span > .md-text {
  display: inherit;
  height: inherit;
  -webkit-transform: inherit;
          transform: inherit;
}
md-select.md-table-select > .md-select-value > span.md-select-icon {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  height: 24px;
  margin: 0;
}
md-select.md-table-select > .md-select-value > span.md-select-icon:after {
  top: initial;
}
.md-select-menu-container.md-table-select,
.md-select-menu-container.md-pagination-select {
  margin-left: -2px;
  border-radius: 2px;
}
.md-select-menu-container.md-table-select md-select-menu,
.md-select-menu-container.md-pagination-select md-select-menu,
.md-select-menu-container.md-table-select md-content,
.md-select-menu-container.md-pagination-select md-content {
  border-radius: inherit;
}
.md-select-menu-container.md-table-select md-content,
.md-select-menu-container.md-pagination-select md-content {
  padding: 0;
}
.md-select-menu-container.md-table-select .md-text {
  font-size: 13px;
}
.md-select-menu-container.md-pagination-select .md-text {
  font-size: 12px;
}
md-toolbar.md-table-toolbar {
  box-shadow: none;
}
md-toolbar.md-table-toolbar.md-default-theme:not(.md-menu-toolbar).md-default,
md-toolbar.md-table-toolbar:not(.md-menu-toolbar).md-default {
  background-color: #ffffff;
  color: rgba(0, 0, 0, 0.87);
}
md-toolbar.md-table-toolbar.md-default-theme:not(.md-menu-toolbar).md-default .md-button,
md-toolbar.md-table-toolbar:not(.md-menu-toolbar).md-default .md-button {
  color: rgba(0, 0, 0, 0.87);
}
@media only screen and (max-width: 959px) and (min-width: 0) and (orientation: landscape) {
  md-toolbar.md-table-toolbar .md-toolbar-tools {
    height: 64px;
    max-height: initial;
  }
}
md-toolbar.md-table-toolbar .md-toolbar-tools {
  padding: 0 24px;
}
md-toolbar.md-table-toolbar .md-toolbar-tools md-icon {
  color: rgba(0, 0, 0, 0.54);
}
md-toolbar.md-table-toolbar .md-toolbar-tools > .md-button.md-icon-button {
  margin: 0;
}
md-toolbar.md-table-toolbar .md-toolbar-tools > .md-button.md-icon-button:first-child {
  margin-left: -12px;
}
md-toolbar.md-table-toolbar .md-toolbar-tools > .md-button.md-icon-button:last-child {
  margin-right: -12px;
}
md-card > md-toolbar.md-table-toolbar:first-child,
md-card > md-table-container:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
md-card > md-toolbar.md-table-toolbar:last-child,
md-card > md-table-container:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
md-table-container {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.md-table {
  width: 100%;
  border-spacing: 0;
  overflow: hidden;
}
table.md-table thead.md-head > tr.md-row {
  height: 56px;
}
table.md-table tbody.md-body > tr.md-row,
table.md-table tfoot.md-foot > tr.md-row {
  height: 48px;
}
table.md-table thead.md-head + .md-table-progress md-progress-linear {
  top: -3px;
}
table.md-table .md-table-progress th {
  padding: 0;
}
table.md-table .md-table-progress th md-progress-linear {
  height: 0;
  transition: opacity 1s;
}
table.md-table .md-table-progress th md-progress-linear.ng-hide {
  opacity: 0;
}
table.md-table .md-table-progress th md-progress-linear > .md-container {
  height: 3px;
  top: 0;
  transition: none;
}
table.md-table .md-table-progress th md-progress-linear > .md-container > .md-bar {
  height: 3px;
}
table.md-table th.md-column {
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}
table.md-table th.md-column.md-sort {
  cursor: pointer;
}
table.md-table th.md-column md-icon {
  height: 16px;
  width: 16px;
  font-size: 16px !important;
  line-height: 16px !important;
}
table.md-table th.md-column md-icon.md-sort-icon {
  color: rgba(0, 0, 0, 0.26);
  opacity: 0;
  transition: -webkit-transform 0.25s, opacity 0.25s;
  transition: transform 0.25s, opacity 0.25s;
}
table.md-table th.md-column md-icon.md-sort-icon.md-asc {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}
table.md-table th.md-column md-icon.md-sort-icon.md-desc {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
table.md-table th.md-column md-icon:not(:first-child) {
  margin-left: 8px;
}
table.md-table th.md-column md-icon:not(:last-child) {
  margin-right: 8px;
}
table.md-table th.md-column.md-active,
table.md-table th.md-column.md-active md-icon {
  color: rgba(0, 0, 0, 0.87);
}
table.md-table th.md-column:hover md-icon.md-sort-icon,
table.md-table th.md-column.md-active md-icon.md-sort-icon {
  opacity: 1;
}
table.md-table tr.md-row[ng\:repeat].ng-leave,
table.md-table tr.md-row[ng-repeat].ng-leave,
table.md-table tr.md-row[x-ng-repeat].ng-leave,
table.md-table tr.md-row[data-ng-repeat].ng-leave {
  display: none;
}
table.md-table.md-row-select tbody.md-body > tr.md-row {
  transition: background-color 0.2s;
}
table.md-table.md-row-select tbody.md-body > tr.md-row:not([disabled]):hover {
  background-color: #eeeeee !important;
}
table.md-table.md-row-select tbody.md-body > tr.md-row.md-selected {
  /*background-color: #f5f5f5;*/
}
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 0 0 24px;
}
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 24px;
}
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 56px 0 0;
}
table.md-table:not(.md-row-select) td.md-cell:first-child,
table.md-table:not(.md-row-select) th.md-column:first-child {
  padding: 0 24px;
}
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 56px 0 0;
}
table.md-table td.md-cell,
table.md-table th.md-column {
  vertical-align: middle;
  text-align: left;
}
table.md-table td.md-cell > *,
table.md-table th.md-column > * {
  vertical-align: middle;
}
table.md-table td.md-cell:last-child,
table.md-table th.md-column:last-child {
  padding: 0 24px 0 0;
}
table.md-table td.md-cell.md-clickable,
table.md-table th.md-column.md-clickable {
  cursor: pointer;
}
table.md-table td.md-cell.md-clickable:focus,
table.md-table th.md-column.md-clickable:focus {
  outline: none;
}
table.md-table td.md-cell.md-numeric,
table.md-table th.md-column.md-numeric {
  text-align: right;
}
table.md-table td.md-cell md-checkbox,
table.md-table th.md-column md-checkbox {
  margin: 0;
  width: 20px;
}
table.md-table td.md-cell {
  color: rgba(0, 0, 0, 0.87);
  font-size: 13px;
  border-top: 1px rgba(0, 0, 0, 0.12) solid;
}
table.md-table td.md-cell.md-numeric md-select {
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
table.md-table td.md-cell.md-numeric md-select .md-select-value {
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
table.md-table td.md-cell.md-placeholder {
  color: rgba(0, 0, 0, 0.26);
}
table.md-table td.md-cell md-select > .md-select-value > span.md-select-icon {
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  color: rgba(0, 0, 0, 0.54);
  width: 18px;
  text-align: right;
}
table.md-table td.md-cell md-select > .md-select-value > span.md-select-icon:after {
  -webkit-transform: scaleY(0.4) scaleX(0.8);
          transform: scaleY(0.4) scaleX(0.8);
}
/* Transformando checkbox em radio quando o datatable for single select */
table md-checkbox .md-icon {
  border-radius: 50%;
}
table[multiple="true"] md-checkbox .md-icon {
  border-radius: 2px;
}

/*md data table responsivo*/
@media screen and (max-width: 960px) {

  md-table-container {
    position:relative;
    max-width: none;
    margin-left:-5px;
    margin-right:-5px;
  }

  table.mdDataTableResponsive {
    border: none !important;
    width: 100% !important;
    padding:0px 5px;
    display: block;
    /*padding: 0 15px;*/
  }
  table.mdDataTableResponsive thead {
    display: none !important;
  }
  table.mdDataTableResponsive tbody {  
    border-bottom: 1px rgba(0,0,0,0.12) solid;
    display: block;
  }

  table.mdDataTableResponsive tbody tr {
    height:auto !important;
    display:block;
    position: relative !important;
    /*border-width: 0px 0px 1px 0px !important;
    border-style: solid !important;
    border-color: #ddd !important;*/
    border:none !important;
    padding-top: 10px !important;
  }

  table.mdDataTableResponsive tbody tr + tr {
    border-top: 1px solid #DDD !important;
  }

  /*table.mdDataTableResponsive tbody tr:last-child {
    border-width: 0px 0px 0px 0px !important;
  }*/
  
  table.mdDataTableResponsive tbody tr.sub-table {
    display:block;
    padding-top:0px !important;
  }
  table.mdDataTableResponsive tbody tr.sub-table td {
    padding: 0 !important;
    border: 1px solid #FFF !important;
  }
  table.mdDataTableResponsive tbody tr.sub-table td:before,
  table.mdDataTableResponsive tbody tr.sub-table td::before {
    display:none;
  }
  table[md-row-select=true].mdDataTableResponsive tbody {
    position: relative !important;
    border-width: 0px 0px 1px 0px !important;
    border-style: solid !important;
    border-color: #ddd !important;
    padding-top: 10px !important;
  }
  table[md-row-select=true].mdDataTableResponsive tbody:last-child {
    border-width: 0px 0px 0px 0px !important;
  }
  /* table[md-row-select=true].mdDataTableResponsive tbody tr {
    border-width: 0px 0px 0px 0px !important;
  }   */
  table.mdDataTableResponsive tbody tr td {
    border: none !important;
    display: block;
    text-align: left !important;
    width: 100% !important;
    min-height: 34px !important;
    color: rgba(0,0,0,0.87) !important;
    font-size: 16px !important;
    padding: 10px 10px 10px 10px !important;
    position: initial;
  }
  table[md-row-select=true].mdDataTableResponsive tbody tr td {
    padding: 10px 10px 10px 10px !important
  }
  table.mdDataTableResponsive tbody tr td.md-checkbox-cell {
    padding: 0px !important;
    position: relative !important;
  }
  table.mdDataTableResponsive tbody tr td.md-checkbox-cell md-checkbox {
    margin: 0px !important;
    padding: 0px !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 30px !important;
  }
  table.mdDataTableResponsive tbody tr td.md-checkbox-cell md-checkbox .md-icon, table.mdDataTableResponsive tbody tr td.md-checkbox-cell md-checkbox .md-container {
    width: 25px !important;
    height: 25px !important;
  }
  table.mdDataTableResponsive tbody tr td.md-checkbox-cell md-checkbox.md-checked .md-icon:after {
    left: 7px !important;
    top: 1.9px !important;
  }
  table.mdDataTableResponsive tbody tr td:before {
    content: attr(data-label) !important;
    clear: left;
    display: block;

    font-size: 11px !important;
    color: rgba(0,0,0,0.54) !important;
    padding: 0px 0px 5px 0px !important;
    margin: 0px !important;
    font-weight: 700 !important;
  }
  table.mdDataTableResponsive tbody tr.accordion {
    padding: 10px 0 0 0 !important;
    border: 0px !important;
  }
  table.mdDataTableResponsive tbody tr.accordion td {
    margin: 0 !important;
    padding: 10px 10px 10px 65px !important;
    border: 0px !important;
  }
  table.mdDataTableResponsive tbody tr.accordion td md-icon-button {
    padding: 0px !important;
  }
  table.mdDataTableResponsive tbody tr.accordion td * {
    margin: 0px;
    padding: 0px;
    background-color: #FFF !important;
    border: 0px !important;
  }
  table.mdDataTableResponsive tbody tr.accordion td:last-child {
    border-bottom: 1px solid #ddd !important;
  }

  /*BOTAO DETALHE*/
  table.mdDataTableResponsive tbody .icon-effect {
    width: 100% !important;
    background-color: #FFF !important;
    color: #106CC8 !important;
    border-radius: 2px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    /*position: absolute !important;
    bottom: 10px !important;
    left: 0px !important;
    right: 0px !important;*/
  }

  table.mdDataTableResponsive tbody .icon-effect.icon-rotation-180 {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    background-color: #CCC !important;
    /*background-color: #0C5DAF !important;*/
  }
  table.mdDataTableResponsive tbody .icon-effect .material-icons {
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
  }
  table.mdDataTableResponsive tbody .icon-effect.icon-rotation-180 .material-icons {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }  
  
  /*table.mdDataTableResponsive tbody .icon-effect:before,
  table.mdDataTableResponsive tbody .icon-effect::before {
    content: "VER DETALHE";
    color: #106CC8;
  } */

  /*COM A CLASSE .row-select*/
  table.mdDataTableResponsive tbody .row-select {
    padding-bottom: 50px;
  }
  table.mdDataTableResponsive tbody .row-select .icon-effect {
    position: absolute !important;
    bottom: 0px !important;
    left: 0px !important;
    right: 0px !important;
  }

  /*AJUSTES DENTRO DO MD-DATA-TABLE*/
  
  md-dialog table.mdDataTableResponsive>tbody>tr>td {
     padding-left:25px !important;
     padding-right:25px !important;
   }

  md-dialog .md-dialog-content table.mdDataTableResponsive>tbody>tr>td {
     padding-left: 0px !important;
     padding-right: 0px !important;
   }

}
