﻿@import "print-output.css" print;

body {
  /*padding-top: 50px;*/
  padding-bottom: 12px;
}

::selection {
  background: #fdbb1d !important;
  color: #231f20;
}

/* make the table header font black for the finning bumblebee */
th,
table > thead > tr > td,
h4 {
  color: #231f20;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 87vh;
}

body > .container-fluid.body-content {
  margin: 0;
}

#settingsNav {
    background-color: var(--neq-color-black-90);
    color: white;
    padding-left: 15px;
}

md-sidenav .md-input,
md-sidenav md-autocomplete input {
  width: 289px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input.form-control,
select.form-control,
textarea.form-control,
text.form-control {
  max-width: 280px;
}

input.flex-width,
select.flex-width,
textarea.flex-width,
text.flex-width {
  max-width: none;
}

/* Carousel */
.carousel-caption p {
  font-size: 20px;
  line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
  display: inline-block;
  content: "[";
  padding-right: 0.5em;
}

.btn-bracketed::after {
  display: inline-block;
  content: "]";
  padding-left: 0.5em;
}

.btn-checkbox {
  max-width: none;
  border: none;
  text-align: left;
  /*width:150px;*/
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
  width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none;
  }
}

.fa-spin-custom,
.glyphicon-spin {
  -webkit-animation: spin 1000ms infinite linear;
  animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/* DivTable.com */
.divTable {
  display: table;
  width: 100%;
}

.divTableRow {
  display: table-row;
}

.divTableHeading {
  background-color: #eee;
  display: table-header-group;
}

.divTableCell,
.divTableHead {
  border: 1px solid #999999;
  display: table-cell;
  padding: 3px 10px;
}

.bold {
  font-weight: bold;
}

.divTableHeading {
  background-color: #eee;
  display: table-header-group;
  font-weight: bold;
}

.divTableFoot {
  background-color: #eee;
  display: table-footer-group;
  font-weight: bold;
}

.divTableBody {
  display: table-row-group;
}

.navbar-brand > .form-control {
  height: unset;
  padding: unset;
}

.navbar-brand > * > .form-control {
  height: unset;
  padding: unset;
}

.panel > .panel-body {
  padding-top: 0;
  border: 0px hidden;
}

.autocomplete-custom-template .item-title,
.autocomplete-custom-template .item-metadata {
  display: block;
  line-height: 2;
}

.autocomplete-custom-template .item-title md-icon {
  height: 18px;
  width: 18px;
}

.autocomplete-custom-template .md-autocomplete-suggestion {
  border-bottom: 1px solid #ccc;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  white-space: normal;
}

.subscription-account-content {
  max-height: 325px;
  min-height: 325px;
  overflow-x: hidden;
  overflow-y: auto;
}

.neq md-dialog-content .md-subheader .md-subheader-inner {
  padding: 0;
}

.neq .subscription-sub-header {
  padding: 2px 5px 2px 5px;
  max-height: 45px;
}

.neq .md-button.md-raised.md-small {
  min-width: 1%;
}

.neq .subscription-dialog-content {
    min-width: 750px;
    max-width: 800px;
    min-height: 70vh;
    max-height: 75vh;
    overflow-y: auto;
}

    .neq .subscription-dialog-content .md-tab.md-active {
        color: var(--neq-color-black);
        font-weight: 600;
    }


/* force the material control dialog to have the same primary colour as bootstrap */

.md-toolbar-tools {
    background-color: #feba12;
    color: #231f20;
}

.indicator-row {
  display: inline-block;
}

.indicator-row > * {
  display: inline-block;
}

.indicator {
  min-width: 20px;
  text-align: center;
  border: 2px solid;
  border-radius: 5px;
  margin-left: 3px;
  padding-left: 2px;
  padding-right: 2px;
}

.indicator-w2 {
  width: 20px;
}

.indicator-w4 {
  width: 40px;
}

.indicator-unscheduled {
  border-color: lightgray;
}

.indicator-normal {
  border-color: black;
}

.indicator-warning {
  border-color: #8a6d3b;
}

.indicator-success {
  border-color: #3c763d;
}

.indicator-other {
  border-color: aqua;
}

a.indicator-success:hover,
a.indicator-success:focus {
  border-color: #2b542c;
}

.indicator-danger {
  border-color: #a94442;
}

a.indicator-danger:hover,
a.indicator-danger:focus {
  border-color: #843534;
}

.grid {
  width: 750px;
  height: 500px;
  padding: 0px 0px 0px 0px;
}

.center-md-checkbox {
  padding-left: 12px;
  padding-bottom: 0;
}

.make-scrollable {
  height: 300px;
  overflow-y: scroll;
}

.md-scrollable-list {
  height: 45vh;
  overflow-y: scroll;
}

.animate-show-hide.ng-hide {
  opacity: 0;
}

.animate-show-hide.ng-hide-add,
.animate-show-hide.ng-hide-remove {
  transition: all linear 0.5s;
}

.fcLists md-divider {
  margin-top: 10px;
  margin-bottom: 0;
}

.even {
  background-color: lightgrey;
}

.odd {
  background-color: purple;
}

.search-div {
  padding-top: 10px;
  padding-right: 15px;
  padding-bottom: 10px;
}

.loading {
  background-image: url("../images/loading.gif");
  background-repeat: no-repeat;
}

.report-type-div {
  padding-top: 20px;
  padding-bottom: 20px;
}

.account-filter {
  padding-bottom: 10px;
}

.schedule-control .schedule-tab {
    min-width: 500px;
    overflow-y: auto;
}

.schedule-control > md-input-container,
.schedule-control > div > md-input-container,
.schedule-control > div > div > md-input-container {
  background-color: lightgoldenrodyellow;
}

.schedule-control
  > md-input-container
  > label
  .schedule-control
  > md-input-container
  > md-select {
  color: black;
}

/*md-content {
    background-color: white;
}*/

.row-dirty {
  background-color: lavenderblush !important;
}

.ui-grid-row .ui-grid-cell {
  background-color: inherit !important;
}

/*.ui-grid-cell.row-dirty {
    background-color: yellow !important;
}*/

.editableCell {
  background-color: lightgoldenrodyellow !important;
}

/*.ui-grid-cell.editableCell input,
.ui-grid-cell.disabledCell input {
        display: block;
        margin: 0 auto;
        margin-top: 4px
    }

.ui-grid-menu-button {
    height: 31px;
}*/

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
  border: none;
}

.table-tight > thead > tr > th,
.table-tight > tbody > tr > th,
.table-tight > tfoot > tr > th,
.table-tight > thead > tr > td,
.table-tight > tbody > tr > td,
.table-tight > tfoot > tr > td {
  padding: 1px;
}

.full-width {
  width: 100%;
}

.new-page {
  page-break-before: always;
}

.white,
.white a {
  color: #231f20;
}

md-menu-content {
  max-height: 90vh;
}

md-progress-circular svg path {
  stroke: white;
}

.filter
  md-checkbox.md-default-theme:not([disabled]).md-primary.md-checked
  .md-icon,
 md-checkbox:not([disabled]).md-primary.md-checked .md-icon {
  background-color: black;
}

/* 
        these three items are for managing page breaks when generating pdf documents 
        wkhtmltopdf doesn't seem to respect the @media print sections.
    */

.keep-together {
  page-break-inside: avoid;
  break-inside: avoid;
}

.break-before {
  page-break-before: always;
}

.break-after {
  page-break-after: always;
}

/* end of page break items */

/* fix for header overlap when printing pdfs */

table {
  overflow: visible !important;
}

thead {
  display: table-header-group;
}

tfoot {
  display: table-row-group;
}

tr {
  page-break-inside: avoid;
}

/*end overlap fix */

/* stop truncating md-input labels */
md-input-container label {
  overflow: visible !important;
}

md-menu-item {
  padding-right: 10px;
}

.highlightedRow {
  background-color: lightgoldenrodyellow !important;
}

.align-top-right {
  display: inline-block;
  right: 0;
  top: 0;
}

.neq .md-button.md-primary.fmo-equipment-filter {
  margin-top: 2px;
  margin-left: 1px;
}

/*error ribbon */
.error-ribbon {
  padding-top: 0px;
  width: 100%;
  background-color: lightgoldenrodyellow;
  height: 30px;
  border-bottom: 1px solid black;
}

.error-close-button {
  padding-right: 10px;
  padding-top: 5px;
}

.error-icon {
  color: red;
  padding-left: 10px;
  padding-right: 5px;
}

.error-ribbon-button {
  height: 20px;
  margin-top: 5px;
  font-size: small;
}

/*error ribbon end */

.reportparams {
  display: grid;
  height: 55vh;
  grid-template-columns: minmax(0, 1fr);
  outline: 2px solid purple;
  /*box-shadow: 0px 3px 15px rgba(0,0,0,0.2);*/
}
/* stack the equipment selection to the right if there is enough space */
@media (min-width: 770px) {
  .reportparams {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    outline: 2px solid yellow;
  }
}

.reportparams__account {
  padding-top: 20px;
  outline: 2px solid red;
}

.reportparams__equipment {
  width: 100%;
  flex-grow: 1;
  outline: 2px solid green;
}

.reportparams__list {
  width: 98%;
  height: 45vh;
}

.reportparams__search {
  width: 90%;
  padding-bottom: 10px;
  align-self: center;
}

.reportparams .reportparams__account account-selection {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.reportparams__list--scroll {
  overflow-y: auto;
  max-height: 40vh;
  min-height: 40vh;
}

.reporttype__radio {
  display: flex;
  flex-direction: row;
  align-content: center;
  padding: 20px 0 20px 0;
}

.settings__input {
  height: 30px;
}

.neq md-input-container .autocomplete-input {
  background: none;
}

md-dialog md-dialog-content {
  overflow: hidden;
}

.fmo-pr {
  padding-right: 20px;
}

.fmo-tp {
  padding-top: 20px;
}

.fmo-lp {
  padding-top: 20px;
}

.fmo-fw {
  width: 100%;
}

.bg-black td {
  background-color: var(--neq-color-black-90);
  color: var(--neq-color-white);
}

.fmo-md-select-padding {
  padding-bottom: 30px;
}

.fmo-md-select-padding-sm {
  padding-bottom: 21px;
}

.equipment-dialog {
  min-height: 70vh;
  min-width: 550px;
  overflow: hidden;
}

.equipment-dialog .md-dialog-content {
  min-height: 60vh;
}

.equipment-dialog .equipment-dialog-content {
  overflow: hidden;
  max-height: 50vh;
}

    .equipment-dialog .md-dialog-content #equipmentList {
        max-height: 25vh;
    }

    .equipment-dialog .md-dialog-content .md-subheader .md-subheader-content {
        overflow: hidden;
    }

.equipment-dialog .md-subheader .md-subheader-content {
  border-bottom: 2px solid var(--neq-color-black-40);
}

    .equipment-dialog .md-list-item {
        /*height: 30px;*/
    }

@media only screen and (min-width: 960px) {
    account-selection #account-selection-searchbar {
        max-height: 40px;
    }
}


.neq  md-content > md-list > md-list-item > div > div.md-list-item-inner > i.fa-4x {
    font-size: 4rem;
    color: red;
}
.equipment-dialog .md-list-item {
  /*height: 30px;*/
}
