html,
body {
  font-family: "Roboto", "Helvetica", sans-serif;
  height: 100%;
  width: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

@media print {
  .noprint {
    display: none !important;
  }
}


.limited-container {
  max-width: 1080px;
}

.wide {
  width: 100%;
}

.mdl-textfield--floating-label.is-focused .mdl-textfield__label,
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
  margin-bottom: 0px;
}

.mdl-card-bottom-actions-container {
  display: flex;
  flex-flow: row;
  margin-top: 15px;
}


.mdl-card .mdl-card__title .mdl-card__title-note,
.mdl-card .mdl-card__subtitle .mdl-card__title-note {
  font-size: 0.7em;
  align-self: start;
  margin: 10px 0px 0px 0px;
  color: #666;
}

.mdl-card .triangle {
  border-right: 80px solid #5782ee;
  border-bottom: 80px solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 2;
}



.mdl-card .triangle div {
  margin-top: 10px;
  margin-right: -70px;
  text-align: right;
  color: white;
}

.mdl-card .mdl-card__subtitle {
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: rgb(0, 0, 0);
  display: block;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  line-height: normal;
  margin-top: -24px;
  margin-bottom: -6px;
  padding: 0px 16px;
  -webkit-perspective-origin: 165px 56px;
  perspective-origin: 165px 56px;
  -webkit-transform-origin: 165px 56px;
  transform-origin: 165px 56px;
  box-sizing: border-box;
}

.mdl-card--lite {
  position: relative;
  padding: 16px 16px;
  background-color: rgb(255, 255, 255) !important;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.borderless {
  border: 0 !important;
}

.valign-top {
  vertical-align: top;
}

.select2.select2-container {
  width: 100% !important;
}

.mdl-card--lite>h5 {
  margin-top: 4px;
}

.mdl-card--lite>h6 {
  margin-top: 0px;
}

button,
button:focus,
button:hover,
li:hover,
a:hover,
li,
a,
*:hover,
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  outline: 0;
}

.mdl-textfield {
  width: 100%;
}

/*input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    box-shadow: 0 0 0px 1000px white inset;
}*/

.mdl-card__actions {
  display: flex;
  box-sizing: border-box;
  align-items: center;
}

.fab_navbar {
  position: absolute;
  right: 40px;
  top: 28px;
  z-index: 100;
}

.fab-card--corner {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 1;
}

.fab_top_container {
  position: fixed !important;
  right: 40px;
  top: 80px;
  z-index: 1;
}

.fab_top_container>.mdl-button--fab {
  margin-bottom: 10px;
}

.navbar_footer {
  background: transparent;
  border: none;
  border-radius: 2px;
  color: rgb(0, 0, 0);
  position: relative;
  height: 36px;
  margin: 0;
  min-width: 64px;
  padding: 0 16px;
  display: inline-block;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  overflow: hidden;
  outline: none;
  text-decoration: none;
  text-align: center;
  line-height: 36px;
  vertical-align: middle;
}

.group_navbar {
  color: #173E5E;
  position: relative;
  margin: 0;
  min-width: 64px;
  padding: 0 16px;
  display: inline-block;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  overflow: hidden;
  will-change: box-shadow;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  text-decoration: none;
  text-align: center;
  line-height: 18px;
  vertical-align: middle;
}

.fab_top_position {
  position: fixed !important;
  right: 40px;
  top: 80px;
  z-index: 1;
}

.fab_default_position {
  position: fixed !important;
  right: 40px;
  bottom: 40px;
  z-index: 999;
}

@media (max-width: 480px) {
  .fab_top_position {
    right: 20px;
    bottom: 60px;
  }

  .fab_default_position {
    right: 20px;
    bottom: 20px;
  }

  .mdl-data-table td,
  .mdl-data-table th,
  .mdl-data-table td:first-of-type,
  .mdl-data-table th:first-of-type {
    padding-left: 12px;
    padding-right: 6px;
  }

  .queueCountdownContainer {
    font-size: 0.8em;
  }

  .mdl-layout__header-row {
    padding-left: 56px;
  }
}

.success {
  color: green;
}

.warning {
  color: #ff9b00;
}

.danger {
  color: red;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.mdl-card--lite.accordion:not(.open) {
  height: 54px;
  overflow: hidden;
}

.mdl-card--lite.accordion:not(.open)>label,
.mdl-card--lite.accordion:not(.open)>div,
.mdl-card--lite.accordion:not(.open)>span {
  display: none;
}

.mdl-card--lite.accordion>.mdl-typography--title {
  display: block;
  width: 100%;
  cursor: pointer;
}

.mdl-card--lite.accordion:not(.open)>.mdl-typography--title {
  margin-bottom: 40px;
}

.mdl-card--lite.accordion>.mdl-typography--title .arrow_drop_up {
  display: none;
}

.mdl-card--lite.accordion>.mdl-typography--title .arrow_drop_down {
  float: right;
  display: initial;
}

.mdl-card--lite.accordion.open>.mdl-typography--title .arrow_drop_up {
  float: right;
  display: initial;
}

.mdl-card--lite.accordion.open>.mdl-typography--title .arrow_drop_down {
  display: none;
}

.role_submenu_title {
  font-weight: bold;
  margin-top: 5px;
}

.role_submenu {
  margin-left: 0px;
}

.mdl-navigation .submenu {
  overflow: hidden;
  max-height: 0px;
}

#main_drawer .mdl-navigation .submenu {
  background: #eee;
}

#main_drawer.mdl-layout__drawer.is-visible .mdl-navigation .submenu,
#dynamicnav.mdl-layout__drawer .mdl-navigation .submenu {
  margin-left: 20px;
  background: initial;
}

.mdl-navigation .submenu.expanded {
  overflow: initial;
  max-height: 1000px;
}

.sticky-header {
  background: #f5f5f5;
  top: 55px;
  width: 100%;
  padding: 10px 0px 10px 0px;
  z-index: 100;
  /*position: relative;*/
  position: -webkit-sticky;
  position: sticky;
  border-top: 1px solid #bdbdbd;
  border-bottom: 1px solid #bdbdbd;
  margin-bottom: 10px;
}

.no-margins {
  margin: 0 !important;
  padding: 0 !important;
}

.full-width {
  width: 100%;
}

.full-height {
  height: 100%;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.mdl-color-text--muted {
  color: #bbbbbb;
}

.mdl-grid.center-items {
  justify-content: center;
}

.flex-center-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.flex-center-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flex-space-between {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
}

.flex-container-stretch-row {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
}

.flex-item-stretch-evenly {
  flex-grow: 1;
  flex-basis: 0;
}

.flex-cards {
  display: flex;
  flex-flow: row;
  align-items: flex-start;
  justify-content: space-around;
  flex-wrap: wrap;
}

.flex-cards .mdl-card {
  margin: 8px;
  width: 300px;
}

.flex-end {
  align-self: flex-end;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

/* NAVBAR LAYOUT */

.mdl-layout__header .mdl-layout__header-row {
  height: 56px;
  padding-right: 8px;
}

#main_drawer .mdl-navigation {
  flex-grow: 1;
}

#main_drawer .mdl-navigation .mdl-navigation__link {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  font-weight: 500;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

#main_drawer .mdl-navigation .mdl-navigation__link .label {
  display: none;
}

#main_drawer.is-visible .mdl-navigation .mdl-navigation__link .label {
  display: inline;
}


#main_drawer .mdl-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  margin-right: 32px;
}

#main_drawer.mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
  padding: 16px 16px;
}

#main_drawer.mdl-layout__drawer .mdl-navigation .mdl-navigation__link .material-icons {
  border-radius: 6px;
  padding: 4px;
  margin-left: -4px;
  margin-top: -4px;
  margin-bottom: -4px;
}

#main_drawer.mdl-layout__drawer .mdl-navigation .mdl-navigation__link.active {
  position: relative;
}

#main_drawer.mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover {
  background-color: #173E5E;
  color: white;
  text-decoration: none;
}

#main_drawer .drawer-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  position: relative;
}

.mdl--showonly-mini-drawer {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.5s, opacity 0.15s linear;
}

@media screen and (min-width: 481px) {

  #main_drawer .drawer-header {
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    z-index: 5;
  }

  #main_drawer.mdl-layout__drawer {
    position: relative;
    overflow: hidden;
    /*transition: width  0.15s cubic-bezier(0.4, 0, 0.2, 1);*/
  }

  #main_drawer.mdl-layout__drawer .mdl-navigation {
    position: absolute;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    top: 0;
    right: 0;
    height: 100%;
    padding-top: 160px;
    transition-property: padding;
    transition-duration: 0.15s;
    /*transition-timing-function: ease-out;*/
    white-space: nowrap;
    -ms-overflow-style: none;
  }

  @media (min-width: 480px) {
    #main_drawer.mdl-layout__drawer .mdl-navigation {
      padding-top: 80px;
    }
  }

  #main-layout.mdl-layout:not(.has-drawer-open)>#main_drawer.mdl-layout__drawer .mdl-navigation {
    padding-top: 60px;
  }

  #main-layout.mdl-layout:not(.has-drawer-open) .mdl--showonly-mini-drawer {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  #main_drawer .mdl-navigation::-webkit-scrollbar {
    display: none;
  }
}

@media screen and (min-width: 481px) {
  #main_drawer .drawer-header {
    transition-property: opacity;
    transition-duration: 1s;
    visibility: hidden;
    opacity: 0;
  }

  .has-drawer-open #main_drawer .drawer-header {
    visibility: visible;
    opacity: 1;
  }
}

#main-layout.mdl-layout--fixed-mini-drawer .mdl-layout__drawer-button.mdl-layout__mini-drawer-button {
  color: black;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  height: 56px;
  margin: 0;
  padding: 0;
  padding-top: 4px;
  width: 56px;
}

#main-layout.mdl-layout--fixed-mini-drawer:not(.has-drawer-open) .mdl-layout__drawer-button.mdl-layout__mini-drawer-button {
  background: white;
  color: black;
}

#main_drawer>.drawer-header .avatar-dropdown {
  display: flex;
  position: relative;
  flex-direction: row;
  align-items: center;
  width: 200px;
}

#main_drawer.mdl-layout__drawer .logo {
  max-width: 150px;
}

#main-layout.mdl-layout {
  overflow: visible;
}

#main_drawer.mdl-layout__drawer {
  position: fixed;
}

#main-layout>.mdl-layout__content {
  display: block;
  overflow: visible;
  margin-top: 56px;
  height: calc(100% - 56px);
}

#main-layout.has-tabs>.mdl-layout__content {
  display: block;
  overflow: visible;
  margin-top: 104px;
  height: calc(100% - 104px);
}

#main-layout>.mdl-layout__header {
  position: fixed;
}

#main-layout>.mdl-layout__obfuscator {
  position: fixed;
}

.mdl-data-table {
  border: 0;
}

/* COMPRESSED TABLE ROWS ON TABLET/DESKTOP */

#main-layout:not(.is-small-screen) .mdl-data-table>thead>tr {
  height: 24px;
}

#main-layout:not(.is-small-screen) .mdl-data-table>thead>tr>th {
  height: 24px;
  padding-top: 4px;
  padding-bottom: 4px;
}

#main-layout:not(.is-small-screen) .mdl-data-table>tbody>tr {
  height: 24px;
}

#main-layout:not(.is-small-screen) .mdl-data-table>tbody>tr>td {
  height: 24px;
  padding-top: 0px;
  padding-bottom: 0px;
}

/* DIRECTIONAL ARROW IN SORTING TABLES */

th.header:after {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  content: "";
  position: relative;
  top: -10px;
  right: -5px;
}

th.header.headerSortUp:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  content: "";
  position: relative;
  top: 4px;
  right: -5px;
}

th.header.headerSortDown:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #333;
  content: "";
  position: relative;
  top: -4px;
  right: -5px;
}

/* STACKABLE TABLES */

@media only screen and (max-width: 480px) {
  table.stackable {
    width: 100%;
  }

  table.stackable,
  .stackable thead,
  .stackable tbody,
  .stackable th,
  .stackable td,
  .stackable tr {
    display: block;
  }

  .stackable thead {
    display: none;
  }

  .stackable.mdl-data-table tbody tr {
    height: auto;
  }

  .stackable.mdl-data-table tbody tr:nth-child(even) {
    background-color: #eee;
  }

  .stackable.mdl-data-table td {
    padding-left: 50%;
    border-top: 0;
    border-bottom: 0;
    height: 32px;
    line-height: 8px;
  }

  .stackable.mdl-data-table td:first-of-type {
    padding-left: 50%;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .stackable.mdl-data-table td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding: 6px 18px 0;
    white-space: nowrap;
    content: attr(data-label);
    text-align: left;
    color: rgba(0, 0, 0, 0.541176);
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
  }

  .stackable.mdl-data-table td:last-of-type {
    padding-right: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
}

/* RESPONSIVE TABLES (scrollbars mode) */

.table-responsive {
  min-height: 0.01%;
  overflow-x: auto;
}

@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }

  .table-responsive>.table {
    margin-bottom: 0;
  }

  .table-responsive>.table>thead>tr>th,
  .table-responsive>.table>tbody>tr>th,
  .table-responsive>.table>tfoot>tr>th,
  .table-responsive>.table>thead>tr>td,
  .table-responsive>.table>tbody>tr>td,
  .table-responsive>.table>tfoot>tr>td {
    white-space: nowrap;
  }

  .table-responsive>.table-bordered {
    border: 0;
  }

  .table-responsive>.table-bordered>thead>tr>th:first-child,
  .table-responsive>.table-bordered>tbody>tr>th:first-child,
  .table-responsive>.table-bordered>tfoot>tr>th:first-child,
  .table-responsive>.table-bordered>thead>tr>td:first-child,
  .table-responsive>.table-bordered>tbody>tr>td:first-child,
  .table-responsive>.table-bordered>tfoot>tr>td:first-child {
    border-left: 0;
  }

  .table-responsive>.table-bordered>thead>tr>th:last-child,
  .table-responsive>.table-bordered>tbody>tr>th:last-child,
  .table-responsive>.table-bordered>tfoot>tr>th:last-child,
  .table-responsive>.table-bordered>thead>tr>td:last-child,
  .table-responsive>.table-bordered>tbody>tr>td:last-child,
  .table-responsive>.table-bordered>tfoot>tr>td:last-child {
    border-right: 0;
  }

  .table-responsive>.table-bordered>tbody>tr:last-child>th,
  .table-responsive>.table-bordered>tfoot>tr:last-child>th,
  .table-responsive>.table-bordered>tbody>tr:last-child>td,
  .table-responsive>.table-bordered>tfoot>tr:last-child>td {
    border-bottom: 0;
  }
}

.table-filters {
  margin: 5px;
}

#spinner-screen {
  flex-direction: column;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  position: fixed;
  background: rgba(255, 255, 255, 0.75);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mdl-spinner {
  width: 84px;
  height: 84px;
}

.mdl-spinner__circle {
  border-width: 9px;
}

#spinner-screen.visible {
  display: flex;
}

#spinner-screen>.message {
  margin: 25px;
  font-weight: bold;
  font-size: 1.5em;
}

.mdl-layout__drawer-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow-y: hidden;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  width: 300px;
  height: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  border-right: 1px solid #eee;
  background: #fff;
  -webkit-transform: translateX(250px);
  -ms-transform: translateX(250px);
  transform: translateX(250px);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  will-change: transform;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  color: #424242;
  overflow: visible;
  overflow-y: auto;
  z-index: 5;
}

.mdl-layout__drawer-right.active {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

.mdl-layout__obfuscator-right {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 4;
  visibility: hidden;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.mdl-layout__obfuscator-right.ob-active {
  background-color: rgba(0, 0, 0, 0);
  visibility: visible;
}

.demo-drawer.mdl-layout__drawer-right>.mdl-layout-title {
  line-height: 56px;
  text-align: right;
  padding-right: 16px;
}

.info_icons {
  max-width: 30px;
  position: absolute;
}

.icon_text {
  font-size: 16px;
  font-weight: 500;
  margin-left: 40px;
  line-height: 30px;
}

.background_gradient_dirty_white {
  background-image: -ms-linear-gradient(top, #ffffff 0%, #eae3df 100%);
  background-image: -moz-linear-gradient(top, #ffffff 0%, #eae3df 100%);
  background-image: -o-linear-gradient(top, #ffffff 0%, #eae3df 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(100, #eae3df));
  background-image: -webkit-linear-gradient(top, #ffffff 0%, #eae3df 100%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #eae3df 100%);
}

space {
  margin-top: 80px !important;
}

@media print {

  .mdl-layout__header,
  .mdl-layout__drawer,
  .mdl-button--fab {
    display: none;
  }

  #report_container,
  #report_page,
  .mdl-layout__content {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.datagrid-td-nopadding > .dx-datagrid .dx-row>td {
  padding: 0;
}

td>.material-icons,
td>a>.material-icons {
  margin-top: 4px;
}

.form-group {
  margin-bottom: 8px;
  position: relative;
  margin-top: 8px;
}

.form-control:focus {
  box-shadow: 0px 0px 4px 0px #80bdff;
  /* box-shadow: initial; */
}

.form-control:disabled {
  background-color: white;
  color: gray;
}

.form-control-minimal {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  border: 0;
}

.form-control-minimal:focus {
  border-bottom: 2px solid #80bdff;
}

input::-webkit-calendar-picker-indicator {
  /* opacity: 100; */
  margin-top: -8px;
  color: #357BC7;
}

/* 
datalist {
  position: absolute;
  max-height: 20em;
  border: 0 none;
  overflow-x: hidden;
  overflow-y: auto;
}

datalist option {
  font-size: 0.8em;
  padding: 0.3em 1em;
  background-color: #ccc;
  cursor: pointer;
}

datalist option:hover, datalist option:focus {
  color: #fff;
  background-color: #357BC7;
  outline: 0 none;
} */

.form-group>label {
  left: 8px;
  /* top: 7px; */
  position: absolute;
  background-color: white;
  /* color: silver; */
  padding: 0px 5px 0px 5px;
  /* font-size: 0.9em; */
  transition: 0.2s;
  pointer-events: none;

  top: -9px;
  font-size: 0.8em;
  color: #567EA8;

}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: silver;
  opacity: 1;
  /* Firefox */
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: silver;
}

.form-control:valid~label {
  top: -9px;
  font-size: 0.8em;
  color: #567EA8;
}

.form-control:focus~label {
  top: -9px;
  font-size: 0.8em;
  color: #357BC7;
}

.form-control:disabled~label {
  top: -9px;
  font-size: 0.8em;
  color: gray;
}

.mdl-textfield--floating-label.is-focused .mdl-textfield__label,
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
  color: #999;
}

.mdl-textfield--floating-label.fixed-label .mdl-textfield__label {
  color: #999;
  font-size: 12px;
  top: 4px;
  visibility: visible;
  height: 48px;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.selectable {
  -webkit-touch-callout: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

.nopadding {
  padding: 0 !important;
}

.nomargin {
  margin: 0 !important;
}

.cut-text {
  text-overflow: ellipsis;
  overflow-x: hidden;
  white-space: nowrap;
}

.wrappable.material-table {
  line-height: normal;
  margin-top: 2px;
  margin-bottom: 2px;
}

.mdl-textfield {
  padding: 20px 0 0 0;
}

.mdl-textfield__label:after {
  bottom: 0px;
}

.mdl-textfield.is-invalid {
  padding: 20px 0 20px 0;
}

.mdl-textfield__label__icon {
  position: absolute;
  right: 0;
  top: 10px;
}

.mdl-button-stacked-fab-container {
  position: fixed !important;
  right: 40px;
  bottom: 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.mdl-button-stacked {
  color: white;
  background: #173E5E;
  margin-top: 10px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.mdl-button-stacked:hover,
.mdl-button-stacked:active,
.mdl-button-stacked:focus {
  background: #61c3b2 !important;
}

.mdl-textfield--floating-label.alwaysdirty .mdl-textfield__label {
  color: #999 !important;
  font-size: 12px;
  top: 4px;
  visibility: visible;
}

.mdl-textfield.alwaysfocus .mdl-textfield__label:after {
  left: 0;
  visibility: visible;
  width: 100%;
}

input {
  text-overflow: ellipsis;
}

input[type=color].form-control {
  height: 2.4rem;
  padding: 0.175rem .45rem;
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link.logout-link {
  color: rgb(183, 28, 28);
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link.logout-link:hover {
  color: white;
  background-color: rgb(183, 28, 28) !important;
}

input[readonly].noborder {
  border: 0;
}

.edit_controls {
  display: none;
}

#main-layout.has-drawer-open .mdl-tooltip.is-active {
  display: none !important;
}

.mdl-textfield__label__icon {
  position: absolute;
  right: 0;
  top: 10px;
}

.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row>td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-select,
.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row>td.dx-datagrid-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-datagrid-select-all).dx-command-select,
.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row>td:not(.dx-validation-pending):not(.dx-datagrid-select-all).dx-command-select {
  padding-left: 2px;
  padding-right: 2px;
}

#main-layout>.mdl-layout__content {
  display: flex;
  /* flex-direction: row;
  height: 100%;  */
  /* overflow: hidden; */
}

.role_submenu_title {
  font-weight: bold;
  margin-top: 5px;
}

.role_submenu {
  margin-left: 0px;
}

.mdl-navigation .submenu {
  overflow: hidden;
  max-height: 0px;
}

#main_drawer .mdl-navigation .submenu {
  background: #eee;
}

#main_drawer.mdl-layout__drawer.is-visible .mdl-navigation .submenu,
#dynamicnav.mdl-layout__drawer .mdl-navigation .submenu {
  margin-left: 20px;
  background: initial;
}

.mdl-navigation .submenu.expanded {
  overflow: initial;
  max-height: 1000px;
}

.modal_container {
  position: absolute;
  /* width: 100%;
  height: 100%; */
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal_container.show {
  display: flex;
}

.modal-dialog.fullwidth {
  max-width: 95%;
  max-height: calc(95% - 56px);
}

.modal-dialog.wide {
  max-width: 95%;
  width: 700px;
}

.modal-dialog-centered {
  min-width: 400px;
}
.modal-content.modal-error {
  background-color: #FFCCCC;
}
.modal-content.modal-error .modal-header {
  border-bottom: none;
}
.modal-content.modal-error .modal-footer {
  border-top: none;
}

.modal-content.modal-warning {
  background-color: #fffacc;
}
.modal-content.modal-warning .modal-header {
  border-bottom: none;
}
.modal-content.modal-warning .modal-footer {
  border-top: none;
}

.nopaddingtopbottom {
  padding-top: 0;
  padding-bottom: 0;
}

.mdl-textfield__label {
  color: black;
}

.mdl-textfield--floating-label .mdl-textfield__label {
  color: #333 !important;
  font-size: 12px;
  top: 4px;
  visibility: visible;
}

.mdl-datepicker__input {
  display: none;
}

.mdl-datepicker__input.loaded {
  display: inline;
}

.select2-container--open .select2-selection--single .select2-selection__rendered {
  padding-left: 0px !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
  border: 0 !important;
}

.select2-container--open .select2-dropdown--below {
  border-top: 1px solid #ddd !important;
}

.getmdl-select {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  min-height: 53px;
}


.pika-table .has-event .pika-button {
  box-shadow: none;
  background-color: red;
}

.prewrap {
  white-space: pre-wrap;
}

.dx-texteditor-container {
  height: initial;
}

.mdl-bubble-input {
  border-radius: .25rem;
  border: 1px solid silver;
  margin: 4px;
  padding: 4px;
}


.timeline .vis-time-axis .vis-text.vis-major {
  background: white;
  font-weight: bold;
  left: 1px;
}

.timeline .vis-time-axis .vis-text.vis-minor {
  overflow: hidden;
}

.timeline.farAway .vis-time-axis .vis-text.vis-minor {
  overflow: initial;
}

.timeline.farAway .vis-labelset .vis-label .vis-inner {
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 0.8em;
}

.vis-labelset .vis-label {
  transition: height 0.3s ease-out;
}

.vis-foreground .vis-group {
  transition: height 0.3s ease-out;
}

.timeline .vis-time-axis .vis-grid.vis-saturday,
.timeline .vis-time-axis .vis-grid.vis-sunday {
  background: #fff8f8;
}

.timeline .vis-time-axis .vis-text {
  text-transform: capitalize;
}

.timeline .vis-item.vis-range {
  border-radius: 8px;
  box-sizing: border-box;
  border-width: 4px;
  /* transition: all 0.05s ease-out; */
  /* border-left-width: 4px; */
  /* border-bottom-color: #6AACBE; */
  /* border-right-width: 4px; */
  /* border-right-color: #6AACBE; */
}


.timeline .vis-item .vis-delete {
  right: 0px;
  z-index: 1000;
  width: 23px;
  border-radius: 16px;
}

.timeline .vis-item .vis-delete-rtl:after,
.timeline .vis-item .vis-delete:after {
  font-size: 18px;
  line-height: 25px;
  margin-left: 1px;
}

.timeline .vis-item {
  /* background-color: #99999912; */
  background-color: #FFFFFFa0;
  border-color: #999999;
}

/* .timeline  .vis-item.filtered {
  border-color: rgb(200,200,200) !important;
  color: rgb(200,200,200) !important;   
} */

.timeline .vis-item.filtered {
  border-color: #ddd !important;
  background-color: #eeeeee20 !important;
  color: #cccccc;
  /* color: rgb(200,200,200) !important; */
  /* opacity: 0.25; */
}


.timeline.farAway .vis-item {
  background-color: #999999;
  border-width: 2px;
}

.timeline.farAway .vis-item.filtered {
  border-color: #E6E6E6 !important;
  background-color: #cccccc80 !important;
  /* background-color: rgba(200,200,200,0.5) !important; */
}

.timeline .vis-item.vis-selected {
  background-color: rgba(255, 255, 85, 0.5) !important;
  border-color: gold !important;
}

.timeline.farAway .vis-item.filtered.vis-selected {
  background-color: rgba(255, 255, 85, 0.5) !important;
  border-color: #cccccc80 !important;
  border-color: gold !important;
}

.timeline.farAway .vis-editable.vis-selected,
.timeline.farAway .vis-item.vis-range .vis-drag-left,
.timeline.farAway .vis-item.vis-range .vis-drag-right,
.timeline.farAway .vis-item.vis-range .vis-drag-center {
  cursor: initial;
}



::-webkit-scrollbar {
  -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
  width: 8px;
}

::-webkit-scrollbar:horizontal {
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .5);
  border-radius: 4px;
  /* border: 2px solid #FFFFFF; */
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #00000010;
}

.leftScrollbar {
  direction: rtl;
}

.leftScrollbar>* {
  direction: ltr;
}

.vis-item .note {
  font-size: 0.9em;
}

.vis-item .main-data {
  display: flex;
  align-items: center;
}

.expanded-data {
  font-size: 0.9em;
  display: flex;
  align-items: center;
}

.zebra1 {
  background: repeating-linear-gradient(45deg,
      gold,
      gold 20px,
      #333 20px,
      #666 40px) !important;
  text-shadow: -2px -2px 2px #333, 2px -2px 2px #333, -2px 2px 2px #333, 2px 2px 2px #333;
  color: white !important;
  border-color: #888 !important;
}


.zebra1.vis-selected {
  background: repeating-linear-gradient(45deg,
      rgb(255, 234, 117),
      gold 20px,
      #666 20px,
      #aaa 40px) !important;
}

.zebra2 {
  background: repeating-linear-gradient(-55deg,
      #222,
      #222 10px,
      gold 10px,
      gold 20px) !important;
  text-shadow: -1px -1px 0px #222, 1px -1px 0px #222, -1px 1px 0px #222, 1px 1px 0px #222;
  color: white !important;
  border-color: #333 !important;
}

.zebra3 {
  background: repeating-linear-gradient(-22deg,
      rgb(255, 234, 117),
      gold 20px,
      rgb(255, 250, 219) 20px,
      #fff 40px) !important;
  color: black !important;
  border-color: #ccc !important;
}

.zebra4 {
  background: repeating-linear-gradient(45deg,
      #E8EBF6,
      #E8EBF6 20px,
      #A2AED9 20px,
      #505CAB 40px) !important;
  text-shadow: -2px -2px 3px #1F2546, 2px -2px 3px #1F2546, -2px 2px 3px #1F2546, 2px 2px 3px #1F2546;
  color: white !important;
  border-color: #A2AED9 !important;
}

.zebra5 {
  background: repeating-linear-gradient(-55deg,
      #222,
      #222 10px,
      #333 10px,
      #333 20px) !important;
  color: white !important;
  border-color: #333 !important;
}

.radial1 {
  background: repeating-radial-gradient(circle,
      purple,
      purple 10px,
      #4b026f 10px,
      #4b026f 20px) !important;
  color: white !important;
  border-color: #333 !important;
}


.blueprint1 {
  background: repeating-linear-gradient(45deg,
      #A2AED9,
      #E8EBF6) !important;
  text-shadow: -2px -2px 3px #A2AED9, 2px -2px 3px #A2AED9, -2px 2px 3px #A2AED9, 2px 2px 3px #A2AED9;
  color: #E8EBF6 !important;
  border-color: #505CAB !important;
}

.zebra3 a {
  color: black !important;
}

.zebra1 a,
.zebra2 a,
.zebra4 a,
.zebra5 a,
.radial1 a {
  color: white !important;
}

.blueprint1 a {
  color: #E8EBF6 !important;
}

/* .mdl-data-table {
  white-space: initial;
}

td{
  word-wrap:break-word
} */


table.cantieriTable thead {
  /* head takes the height it requires, 
  and it's not scaled when table is resized */
  flex: 0 0 auto;
  width: calc(100% - 0.55em);
  display: table;
  table-layout: fixed;
}

table.cantieriTable tbody {
  flex: 1 1 auto;
  display: block;
  overflow-y: scroll;
}

table.cantieriTable tbody tr {
  width: 100%;
}

table.cantieriTable tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}


.cantieriTable {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  flex-flow: column;
  height: 100%;
  max-height: 50vh;
}

.cantieriTable thead>tr {
  vertical-align: bottom;
}

.cantieriTable thead>tr>th {
  color: gray;
  border-left: 1px solid #eee;
  /* border-bottom: 1px solid silver; */
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 4px;

}

.cantieriTable tbody>tr>td {
  border-left: 1px solid #eee;
  border-bottom: 1px solid silver;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 0;
  padding-bottom: 0;
}

.cantieriTable tbody > tr:last-of-type >td {
  border-bottom: 0;
}

.cantieriTable tbody tr.cantiereRow {
  vertical-align: top;
}

.cantieriTable tbody .form-control-minimal {
  font-size: 0.9em;
}
.cantieriTable tbody textarea.form-control-minimal {
  /* height: 32px; */
  min-height: 32px;
  max-height: 96px;
}

.cantieriTable thead>tr>th:first-of-type,
.cantieriTable tbody>tr>td:first-of-type {
  padding-left: 0px;
  border-left: 0;
}

.cantieriTable thead>tr>th:last-of-type,
.cantieriTable tbody>tr>td:last-of-type {
  padding-left: 0;
  padding-right: 0;
  border-left: 0;
  width: 48px;
  max-width: 48px;
  min-width: 48px;
  text-align: center;
}

.cantieriTable tbody .btn.btn-sm {
  padding: .125rem .25rem;
}

.btn i.material-icons {    
  font-size: 1.5rem;
  line-height: 1.5rem;
}

/* .cantieriTable tbody>tr {
  vertical-align: top;
} */

pre {
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
 }