html,
body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
table {
  width: 100%;
  border: 0 !important;
  margin-bottom: 20px;
}
table th > a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.54);
  text-overflow: ellipsis;
  font-weight: 700;
}
.mdl-data-table {
  background-color: #fafafa;
  white-space: initial;
}
.mdl-data-table .buttons {
  padding: 0;
  width: 100%;
  margin: 0;
  justify-content: flex-end;
  display: flex;
  gap: 10px;
}
.mdl-color--gray {
  background-color: #fafafa;
}
.mdl-dialog__content {
  position: relative;
}
.mdl-dialog__content a.close {
  position: absolute;
  right: 0;
}
.mdl-dialog__content #chart svg {
  width: 100%;
}
.mdl-textfield {
  width: 100%;
}
.mdl-block {
  padding: 8px;
}
.form-group {
  text-align: right;
}
.term-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}
.term-layout .mdl-layout__header .mdl-layout__drawer-button {
  color: rgba(0, 0, 0, 0.54);
}
.mdl-layout__drawer .avatar {
  margin-bottom: 16px;
}
.term-drawer {
  border: none;
}
/* iOS Safari specific workaround */
.term-drawer .mdl-menu__container {
  z-index: -1;
}
.term-drawer .term-navigation {
  z-index: -2;
}
/* END iOS Safari specific workaround */
.term-drawer .mdl-menu .mdl-menu__item {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.term-drawer-header {
  box-sizing: border-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 16px;
  height: 52px;
}
.term-avatar-dropdown {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}
.term-navigation {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.term-layout .term-navigation .mdl-navigation__link {
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
}
.term-layout .term-navigation .mdl-navigation__link:hover {
  background-color: #00BCD4;
  color: #37474F;
}
.term-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.56);
  margin-right: 32px;
}
.term-content {
  margin-top: 20px;
  max-width: 1080px;
}
.term-charts {
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.term-chart:nth-child(1) {
  color: #ACEC00;
}
.term-chart:nth-child(2) {
  color: #00BBD6;
}
.term-chart:nth-child(3) {
  color: #BA65C9;
}
.term-chart:nth-child(4) {
  color: #EF3C79;
}
.term-graphs {
  padding: 16px 32px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}
/* TODO: Find a proper solution to have the graphs
 * not float around outside their container in IE10/11.
 * Using a browserhacks.com solution for now.
 */
_:-ms-input-placeholder,
:root .term-graphs {
  min-height: 664px;
}
_:-ms-input-placeholder,
:root .term-graph {
  max-height: 300px;
}
/* TODO end */
.term-graph:nth-child(1) {
  color: #00b9d8;
}
.term-graph:nth-child(2) {
  color: #d9006e;
}
.term-cards {
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
}
.term-cards .term-separator {
  height: 32px;
}
.term-cards .mdl-card__title.mdl-card__title {
  color: white;
  font-size: 24px;
  font-weight: 400;
}
.term-cards ul {
  padding: 0;
}
.term-cards h3 {
  font-size: 1em;
}
.term-cards .mdl-card__actions a {
  color: #00BCD4;
  text-decoration: none;
}
.term-options h3 {
  margin: 0;
}
.term-options .mdl-checkbox__box-outline {
  border-color: rgba(255, 255, 255, 0.89);
}
.term-options ul {
  margin: 0;
  list-style-type: none;
}
.term-options li {
  margin: 4px 0;
}
.term-options .material-icons {
  color: rgba(255, 255, 255, 0.89);
}
.term-options .mdl-card__actions {
  height: 64px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  box-sizing: border-box;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.mdl-layout--guest {
  background: url('img/layout.jpg') transparent no-repeat;
  background-size: cover;
}
.mdl-layout--guest .mdl-color--grey-100 {
  background-color: rgba(255, 255, 255, 0.31) !important;
}
.grid-footer {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  padding-right: 12px;
  padding-bottom: 8px;
}
.summary {
  line-height: 24px;
}
.pagination {
  list-style: none;
  padding: 0 0 0 20px;
  display: flex;
  line-height: 0;
  margin: 0;
}
.user-login {
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.user-login > div {
  padding: 40px 40px 20px 40px;
  min-width: 400px;
}
.user-login .mdl-textfield {
  width: 100%;
}
.user-login .form-group {
  text-align: right;
}
.relative {
  position: relative;
}
.mdl-color--gray > .create {
  position: absolute;
  top: -28px;
  right: 0;
  z-index: 4;
}
.address-search {
  padding: 12px;
}
.address-search .mdl-textfield {
  width: 100%;
}
.address-search .form-group {
  text-align: right;
}
.address-view h3 {
  color: rgba(0, 0, 0, 0.54);
}
.address-view--map {
  min-height: 200px;
  min-width: 640px;
  background-repeat: no-repeat !important;
  margin: 0 auto;
  display: block;
}
.address-view--map:not([data-map]) {
  display: none;
}
.material-excel {
  width: 24px;
  height: 24px;
}
#uploadModal {
  min-width: 300px;
}
ul.errors {
  padding: 0;
  margin: 10px 0 20px 0;
  color: #ab0000;
  font-size: 13px;
  list-style: none;
}
