body {
  padding-top: 2rem;
  font-family: Verdana;
  font-size: 13px;

  margin: 0px auto;

  background-position: top center;
  background-attachment: fixed;
}

.table {
  font-size: 12px;
}

.table tr td:first-child {
  padding-left: 5px !important;
}

.table tr td:last-child {
  padding-right: 5px !important;
}

.btn:not(.btn-small) {
  cursor: pointer;
  min-width: 100px;
}

.boxrow {
  padding: 30px;
  width: 100%;
  margin: 0px auto;
}

.boxrow h6 {
  padding-top: 10px;
}

th {
  text-align: left;
  color: #fafafa;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#49c0f0+0,3058f4+100 */
  background: rgb(73, 192, 240); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(73, 192, 240, 1) 0%, rgba(48, 88, 244, 1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(73, 192, 240, 1) 0%, rgba(48, 88, 244, 1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(73, 192, 240, 1) 0%,
    rgba(48, 88, 244, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#49c0f0', endColorstr='#3058f4',GradientType=0 ); /* IE6-9 */
}

td {
  padding: 0px !important;
  vertical-align: middle !important;
  line-height: 27px;
}
td a {
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: black;
  margin: 0px;
  padding: 0px;
}
td a:hover,
a:active,
a:visited,
a:focus {
  color: black;
}
td input.text {
  margin: 0px;
  width: 100%;
  text-align: left;
}
td input.int {
  margin: 0px;
  width: 100%;
  text-align: right;
}

.new {
  background-color: #faa !important;
}

h4.card-header {
  background-color: #acf !important;
}

.form-control {
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  max-height: 28px;
}

select.form-control {
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  max-height: 28px;
}

.radio-inline {
  padding-top: 5px;
  padding-right: 10px;
}

.fa-calendar {
  font-size: 15px;
  padding: 0px;
  margin: 0px;
}

.btn-small {
  height: 27px;
  max-height: 27px;
  font-size: 16px;
  padding: 0px 10px;
  vertical-align: middle;
}

.btn-inline {
  width: 30px;
  max-width: 30px;
  min-width: 30px;
  text-align: center;
  padding: 0px;
}

.card-header .btn {
  height: 25px;
  max-height: 27px;
  font-size: 14px;
  padding: 0px 10px;
  vertical-align: middle;
}

.table-error {
  background-color: #dbf;
}

.table-error:hover td {
  background-color: rgb(199, 178, 221);
}

.pagebreak {
  page-break-before: always;
} /* page-break-after works, as well */

input[type='search'] {
  /* background: #555 url(http://hp-proliant.co.uk/qual_images/mob-search-icon.png) no-repeat 9px center; */
  border: solid 1px #fff;
  padding: 9px 10px 9px 10px;
  width: 170px !important;
  background-color: #ccc;
}
input[type='search']:focus {
  width: 100%;
  background-color: #fff;
  border-color: #333;
  border: solid 1px #ccc;
}

.loading-spinner {
  border: 8px dotted transparent;
  border-top-color: #000;
  border-radius: 50%;
  width: 120px;
  margin: auto;
  height: 120px;
  animation: spin 1.2s cubic-bezier(0.7, 0.1, 0.3, 0.9) infinite;
}

.loading-spinner-small {
  border: 4px solid transparent;
  border-top-color: #000;
  border-radius: 50%;
  width: 50px;
  margin: auto;
  height: 50px;
  animation: spin 1.2s cubic-bezier(0.7, 0.1, 0.3, 0.9) infinite;
}

#bulkCreatedActionBox, #bulkPlannedActionBox {
  padding: 0.5em;
  border: 1px solid #ccc;
  background-color: #e8e8e8;
}

.table-actions {
  border-radius: 5px;
  position: sticky;
  bottom: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

a[data-toggle="collapse"] i.fa-chevron-right {
  display: none;
}
a[data-toggle="collapse"].collapsed i.fa-chevron-right {
  display: inline-block;
}
a[data-toggle="collapse"].collapsed i.fa-chevron-down {
  display: none;
}

.transport-stops span.input-group-addon {
  padding: 1px 5px;
}
.transport-stops textarea {
  min-height: 40px;
}
.transport-stops hr {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border-top: 1px solid #00000020;
}
/* bootstrap classes */

.badge-pill {
  vertical-align: text-bottom !important;
}

.transport-stops label {
  margin-bottom: 0.1rem;
  margin-top: 0.4rem;
}
.transport-stops .extra-fields-wrapper {
  border: 1px solid #00000010;
  background-color: #00000008;
}

.beta-function {
  background-image: repeating-linear-gradient(45deg, #00000008 0px, #00000008 60px, #ffd90008 60px, #ffd90008 120px);
}

.beta-function::after {
  color: #ddd9;
  content: "beta";
  display: block;
  font-size: 60px;
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 10px;
}

.stops-table-input-group .input-group-addon {
  font-size: 1em;
  height: 27px;
  line-height: 27px;
  vertical-align: middle;
}
.stops-table-input-group .form-control {
  border-right: 1px solid rgb(60, 60, 60);
}

.stops-table-input-group input[type="number"] {
  max-width: 60px;
}
.stops-table-input-group .datetimeInput {
  width: 200px;
  max-width: 200px;
}

tr.response-ok {
  --response-color: #3cff3c;
}
tr.response-no {
  --response-color: #ffff20;
}
tr.response-other {
  --response-color: #ff6a6a;
}
tr.response-notok {
  --response-color: #ff6a6a;
}
tr.response-ended {
  --response-color: #6ae9ff;
}
tr.response-notsent {
  --response-color: #636c72;
}

.dispatch-sent td:nth-child(2) a,
.dispatch-sent td:nth-child(8) a {
  text-shadow: var(--response-color) -4px 0px 4px, var(--response-color) 0px 0px 4px, var(--response-color) 4px 0px 4px;
}

.dispatch-sent td:nth-child(8) {
  background-color: var(--response-color);
}

.dispatch-sent td:nth-child(7) i,
.dispatch-notsent td:nth-child(7) i {
  color: var(--response-color);
}

.dispatch-sent td:nth-child(7) i {
  text-shadow: 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000;
}

#deviations-wrapper .table-column-small {
  width: 90px;
  /* max-width: 90px; */
}

#deviations-wrapper .table-column-medium {
  width: 120px;
  /* max-width: 120px; */
}
