/* TODO: If this file keep growing, would be helpful to find
 an orderly structure for our names classes and properties order */
.page-title {
  text-align: center;
}

.page-title p {
  margin:0;
}

.status-title {
  font-size: 1.2em;
  font-weight: 300;
  margin: 10px 0;
}

.fixed {
  position: fixed;
}

/* Must override angular-material CSS to set the toolbar height to 56px */
.main .main-toolbar {
  background-color: #484848;
  height: 56px;
  min-height: 56px;
  padding: 0.2em;
}

.main-toolbar .login-button {
  margin-left: 10px;
}

.main-toolbar *:focus {
  outline: none;
}

.main-toolbar .login-button span,
.main-toolbar .login-button i.material-icons {
  font-size: 20px;
  height: 48px;
  line-height: 48px;
  vertical-align: top;
}

#loginNav {
  top: 56px;
  width: 100%;
}

md-backdrop.md-sidenav-backdrop {
  height: 100% !important;
  opacity: 0;
  position: fixed !important;
}
.md-sidenav-left {
  position: fixed;
}

ws-login-form {
  display: block;
  padding: 20%;
}

ws-login-form md-input-container {
  width: 100%;
}

/*
 * Accounts select is disabled when only one account available
 * for the user, but styled as the disabled email input
 */
ws-login-form md-select[disabled] .md-select-value {
  background-image: inherit;
  border-bottom-color: rgba(0,0,0,0.12);
  color: inherit;
  font-weight: initial;
}
ws-login-form md-select[disabled] .md-select-icon {
  visibility: hidden;
}

.main-toolbar .indicator {
  border-radius: 10px;
  border: 1px solid #222;
  float: right;
  height: 15px;
  margin-right: 10px;
  width: 15px;
}

/*
 * NOTE: For still unknown and odd reason, do not use `background` shorthand
 * property for `.online`/`.offline` status color since some connectivity-related
 * specs may fail/hang on some workstations.
 * See issue #6126
 */
.main-toolbar .online {
  background-color: #00c202;
}

.main-toolbar .offline {
  background-color: #d40000;
}

.context-container {
  background: #a7afb8;
  color: #ffffff;
  padding: 1.5em 0.5em;
}

.login-view md-content {
  margin-top: 2em;
}

.login-view a {
  text-align: center;
  background: #a7afb8;
}

.borehole-name {
  text-align: right;
}

.progress-bar {
  font-weight: 100;
  margin: 15px 0;
}

md-select {
  font-weight: 600;
}

md-grid-tile {
  background: #fcfcfc;
  font-size: 0.8em;
}

/* overrides the no vertical centered effect */
md-grid-tile figure span {
  margin-top: 40px;
}

md-grid-list md-grid-tile md-grid-tile-header {
  background: #f6f7f7;
  color: #484848;
}

.subtitle-container {
  background: #EFF2F5;
  margin-bottom: 1em;
}

.property-name {
  color: #686868;
  font-weight: 600;
  margin-right: 2em;
}

.probe-info-title {
  font-size: 0.8em;
  font-weight: 400;
  text-align: center;
}

.property-value {
  font-weight: 600;
}

.unit {
  font-style: italic;
  font-weight: 300;
  padding-left: 0.4em;
}

.test-list-container {
  color: #dddfe0;
  font-size: 0.8em;
  padding: 0;
}

.test-list-container h3,
.test-list-container p {
  margin: 0;
}

.test-list-container h3 {
  color: #f5f5f5;
  font-size: 1em;
  line-height: 1.2;
  padding: 1.5em 0;
}

.vloss-summary {
  background: #686868;
}

.ploss-summary {
  background: #484848;
}

.sticky-validation {
  padding-bottom: 48px;
}

.sticky-footer {
  bottom: 0;
  position: fixed;
  width: 100%;
}

.ws-btn {
  background-color: #a7afb8;
  color: #ffffff;
  display: block;
  font-size: large;
  line-height: 48px;
  margin: 0;
  text-transform: uppercase;
  width: 100%;
}

.ws-btn.done {
  background-color: #228B22;
}

.ws-btn.interrupt {
  background-color: red;
}

/* Standby solution, to discuss */
.steps-container  {
  overflow: hidden;
}

.steps-container .step-creep {
  background: gray;
  border-left: solid 1px #f6f6f6;
  color: #f6f6f6;
}

.steps-container table,
.current-step {
  table-layout: fixed;
}

.steps-container md-toolbar {
  background: #a7afb8;
}

.steps-container md-toolbar .page-title {
  margin-top: 2em;
}

.steps-container md-toolbar p {
  margin: 0.1em 0;
}

.steps-input-container {
  margin-top: 60px;
}

table {
  background-color: transparent;
  border-collapse: collapse;
  max-width: 100%;
  width: 100%;
}

.ground-current-step {
  width: 80%;
}

.current-step tr {
  height: 38px;
}

.current-step td {
  background-color: #dfdfdf;
  border-top: solid #dee2e6 1px;
  color: #484848;
  padding: 0.6em;
  text-align: center;
}

.current-step .property-highlight {
  background-color: transparent;
  color: #f2f2f2;
  transition: 0.5s linear;
}

.last-steps-board thead th {
  background: #ffffff;
  color: #464646;
  font-size: 0.84em;
  font-weight: 600;
  padding: 0.5em;
}

.last-steps-board td {
  background: #e6e6e6;
  border-top: 1px solid #f3f3f3;
  padding: 0.6em;
  text-align: center;
}

.last-steps-board {
  background-color: #fff;
}

.review-view {
  bottom: 0;
  left: 0;
  position: absolute;
  top: 56px;
  width:100%;
}

.review-view md-toolbar {
  background: #a7afb8;
  text-align: center;
}

.review-view md-toolbar .page-title {
  margin-top: 0.2em;
}

.review-view table {
  background: #ffffff;
  width: 100%;
}

.review-view table th,
.review-view table td {
  padding: 15px;
  text-align: center;
  width: 2%;
}

.review-view table thead {
  background-color: #ffffff;
  color: #464646;
  /*
   * `position: sticky` does not work in chromium
   * https://bugs.chromium.org/p/chromium/issues/detail?id=702927
   * https://stackoverflow.com/q/44001954
   */
  position: sticky;
  top: 0;
}

.scrollable-zone {
  flex-grow: 1;
  overflow: auto;
}

.review-view table thead tr,
.last-steps-board thead tr {
  border-bottom: 1px solid #dee2e6;
}

.review-view table tbody tr:nth-child(odd) {
  background: #EFF2F5;
}

@media
  screen
  and (min-width: 320px)
  and (max-width: 568px) {
    .review-view table th,
    .review-view table td {
       font-size: 0.8em;
       max-width: 5px;
     }
}

.review-view .md-button {
  color: #ffffff;
  font-size: 0.7em;
  margin: 0;
  padding: 0.2em;
}

.review-view .cancel-btn {
  background: #E85B4A;
}

.review-view .valid-btn {
  background: #228B22;
}

.review-btns a {
  width: 100%;
}

/* Fix the overlap of the fixed 'proceed' button */
.clear {
  clear: both;
  height: 48px;
}
