/*.md-chip-input-container {
  max-height: 20px !important;
  margin: 0px !important;
}

.md-chip-content {
  max-height: 20px !important;
}*/

/*
ng-class="{strike: deleted, bold: important, 'has-error': error}"
*/

md-toast.md-success-toast-theme .md-toast-content {
    background-color: #aaffaa;
    color: #000000;
}

md-toast.md-warning-toast-theme .md-toast-content {
    background-color: #ffa500;
    color: #000000;
}

md-toast.md-error-toast-theme .md-toast-content {
    background-color: red;
}

md-toast {
  margin-bottom : 16px;*/
}

.gantt-task-foreground {
  color: #ffffff;
}

body {
  overflow-y: hidden;
}

/**
body {
  overflow-y: hidden;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}*/

/**
// Used to give a minimum of width of md-autocomplete fields
// inside an editable table when the fields becomes too narrow.
*/
md-autocomplete {
  min-width: 100px !important;
}

md-autocomplete-menu-class {
  min-width: 400px !important;
}

.md-chips .md-chip-input-container md-autocomplete input {
    width: 500px;
}

.text-red {
  background-color: #ff0000;
  color: #ffffff;
}

.text-orange {
  background-color: #ff8c00;
  color: #ffffff;
}

.office-skin {
  /*background-image: url("background.jpg");*/
  background-color: #ffffff;
  background-size: cover;
} 

.md-content-center {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
  width: 800px;
  height: 600px;
}​   

md-input-container.md-errors-spacer {
    min-height: 0;
}

/**
// Used to set md-autocomplete list of choices bigger than field, but
// this causes md-autocomplete going out of screen
*/
.md-virtual-repeat-container {
    min-width: 50% !important;*/
}

/**
 * Hide when Angular is not yet loaded and initialized
 */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

md-input-container {
  /*margin-top: 16px !important;*/
  margin-bottom: 6px !important;
}

md-input-container div {
  min-height: 0px !important;
}

md-switch {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

md-input-container.md-default-theme label {
    color:black !important;
}

md-input-container.md-default-theme input {
    border-color:#999999 !important;
}

md-input-container.md-default-theme input {
    border-color:#999999 !important;
}

md-tab-item {
  max-width:none !important;
}

md-autocomplete .md-show-clear-button button {
  margin-top: -20px;
  margin-bottom: 0px;
}

.t3_grid_app_menu md-grid-list {
  margin: 8px; }
.t3_grid_app_menu h3 {
  color: #000000; }
.t3_grid_app_menu .gray {
  background: #f5f5f5; }
.t3_grid_app_menu .green {
  background: #b9f6ca; }
.t3_grid_app_menu .yellow {
  background: #ffff8d; }
.t3_grid_app_menu .blue {
  background: #84ffff; }
.t3_grid_app_menu .purple {
  background: #b388ff; }
.t3_grid_app_menu .red {
  background: #ff8a80; }
.t3_grid_app_menu md-grid-tile {
  transition: all 400ms ease-out 50ms; }

.searchbox-template li {
  border-bottom: 1px solid #ccc;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  white-space: normal; }
.searchbox-template li:last-child {
  border-bottom-width: 0; }
.searchbox-template .item-title,
.searchbox-template .item-metadata {
  display: block; 
  line-height: 2; }
.searchbox-template .item-title md-icon {
  height: 18px;
  width: 18px; 
}

.t3_jobsummary_table_min {
  width: 1% !important;
  white-space: nowrap;
}

.t3_jobsummary_table_left div {
  display:block;
  text-align: left;
  margin-right: 8px;
  margin-left: 8px;
}

.t3_jobsummary_table_center div {
  display: block;
  text-align: center;
  margin-right: 8px;
  margin-left: 8px;
}

.t3_jobsummary_table_right div {
  display:block;
  text-align: right;
}

/*.t3_jobsummary_table div {
  display:block;
}*/

.t3_jobsummary_table md-input-container {
  margin: 0px !important;
  padding: 0px !important;
  width: 100% !important;
}

.t3_jobsummary_table span div {
  margin: 0px !important;
  padding: 0px !important;
  width: 100% !important;
}

.t3_jobsummary_table table a:link {
  color: #666;
  font-weight: bold;
  text-decoration:none;
}
.t3_jobsummary_table table a:visited {
  color: #999999;
  font-weight:bold;
  text-decoration:none;
}
.t3_jobsummary_table table a:active,
.t3_jobsummary_table table a:hover {
  color: #bd5a35;
  text-decoration:underline;
}
.t3_jobsummary_table table {
  color:#000000;
  font-size:12px;
  /**text-shadow: 1px 1px 0px #fff;*/
  background:#eaebec;
  margin:0px;
  border:#ccc 0px solid;

  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  border-radius:3px;

  -moz-box-shadow: 0 1px 2px #d1d1d1;
  -webkit-box-shadow: 0 1px 2px #d1d1d1;
  box-shadow: 0 1px 2px #d1d1d1;
}
.t3_jobsummary_table table th {
  padding:2px 2px 2px 2px;
  border-top:0px solid #fafafa;
  border-bottom:0px solid #e0e0e0;

  background: #ededed;
  background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ababab));
  background: -moz-linear-gradient(top,  #ededed,  #ababab);
}
.t3_jobsummary_table table th:first-child {
  /*text-align: left;
  padding-left:2px;*/
}
.t3_jobsummary_table table tr:first-child th:first-child {
  -moz-border-radius-topleft:3px;
  -webkit-border-top-left-radius:3px;
  border-top-left-radius:3px;
}
.t3_jobsummary_table table tr:first-child th:last-child {
  -moz-border-radius-topright:3px;
  -webkit-border-top-right-radius:3px;
  border-top-right-radius:3px;
}
.t3_jobsummary_table table tr {
  padding-left:2px;
}
.t3_jobsummary_table table td:first-child {
  padding-left:2px;
  border-left: 0;
}
.t3_jobsummary_table table td {
  padding:0px;
  border-top: 0px solid #ffffff;
  border-bottom:0px solid #e0e0e0;
  border-left: 0px solid #e0e0e0;

  vertical-align: center;

  background: #fafafa;
  background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
  background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
}
.t3_jobsummary_table table tr.even td {
  background: #f6f6f6;
  background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
  background: -moz-linear-gradient(top,  #f8f8f8,  #f6f6f6);
}
.t3_jobsummary_table table tr:last-child td {
  border-bottom:0;
}
.t3_jobsummary_table table tr:last-child td:first-child {
  -moz-border-radius-bottomleft:3px;
  -webkit-border-bottom-left-radius:3px;
  border-bottom-left-radius:3px;
}
.t3_jobsummary_table table tr:last-child td:last-child {
  -moz-border-radius-bottomright:3px;
  -webkit-border-bottom-right-radius:3px;
  border-bottom-right-radius:3px;
}
.t3_jobsummary_table table tr:hover td {
  background: #f2f2f2;
  background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
  background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);  
}

.t3_jobsummary_table_edit_mode tr {
  background-color: #ff0000;
}

.t3_jobsummary_chart_legend li span {
    display: inline-block;
    width: 12px;
    height: 12px;
}

.t3_jobsummary_chart_legend li {
    display: inline-block;
    width: 120px;
    height: 24px;
}

.t3_jobsummary_chart_legend ul {
  list-style-type: none;
}

pre {
  overflow-x: auto;
  display: block;
}


@media screen and (max-width: 640px) {
  table {
    overflow-x: auto;
    display: block;
  }
}

a:link {
  color: #666;
  font-weight: bold;
  text-decoration:none;
}
a:visited {
  color: #999999;
  font-weight:bold;
  text-decoration:none;
}
a:active, a:hover {
  color: #bd5a35;
  text-decoration:underline;
}

.md-chips {
  font-size: 10px;
}
.md-chips md-chip {
  border-radius: 3px
}
.md-chips md-chip ._md-chip-remove md-icon {
  height: 10px;
  width: 10px
}
.md-chips md-icon {
  height: 10px;
  width: 10px;
  min-height: 10px;
  min-width:10px
}

#relations-detail-container {
  height: 292px;
  width: 100%;
  max-width: 400px; 
}

/*

.md-default-theme .md-datepicker-input, .md-datepicker-input {
    color: rgba(255, 255, 255, 1.0);
}

.md-default-theme .md-datepicker-input-container, .md-datepicker-input-container {
    border-bottom-color: rgba(255, 255, 255, 0.87);
}

.md-default-theme .md-datepicker-triangle-button .md-datepicker-expand-triangle, .md-datepicker-triangle-button .md-datepicker-expand-triangle {
    border-top-color: rgba(255, 255, 255, 0.87);
}

*/
md-dialog.md-dialog-fullscreen {
  height: 100% !important;
  width: 100% !important;
  min-height: 100% !important;
  min-width: 100% !important;
}

/*md-chips-wrap {
  button.md-chip-remove {
    display: none;
  }

  .md-chip-remove-container {
    display: none; 
  }
}*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 460px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 40%;
  height: 10px;
  bottom: 10px;
  background: transparent;
  /*box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);*/
}

/*.signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
          transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
          transform: skew(3deg) rotate(3deg);
}*/

.signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1px solid #f4f4f4;
}

.signature-pad--body
canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 8px;
}

.svgbox50 svg {
  display: block;
  width: 100%; 
  height: 100%; 
}
.svgbox50 {
  width: 150px;
  height: 100px;
  border: 1px #000000 solid;
}

.main-sidenav md-sidenav {
     /* Put top toolbar on a higher layer than sidenav, which has z-index: 60 */
     z-index: 100;
}

.main-sidenav md-backdrop {
     /* Put top toolbar on a higher layer than sidenav, which has z-index: 60 */
     z-index: 99;
}

.t3tooltip {
  max-width: 510px;
}

div.t3tooltip tr td {
  border: 1px solid black;
  text-align: center;
}

div.t3tooltip table {
  table-layout: fixed;
  border: 1px solid black; 
  margin-bottom:3px;
  border-collapse: collapse;
  width: 100%;
  max-width: 500px;
}
