.center {
  text-align: center;
}
/* remove spinner for HTML5 number input. http://stackoverflow.com/a/4298216 */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */

}
.ui-btn-inner {
  padding-top: 1em;
  padding-bottom: 1em;
}
.ui-mobile-viewport {
  background-color: #333333 !important;
}
@media only screen and (min-width: 600px) {
  .ui-page {
    width: 600px !important;
    margin: 0 auto !important;
    position: relative !important;
  }
  .ui-footer,
  .ui-header {
    max-width: 600px;
    margin: 0 auto;
  }
}
.alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 12px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #c09853;
}
.alert ul {
  margin-top: 16px;
  margin-bottom: 8px;
}
.alert p:first-child {
  margin-top: 8px;
}
.alert p:last-child {
  margin-bottom: 8px;
}
.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
}
.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}
.ui-content .ui-listview:not(:first-child) {
  margin-top: 0;
}
.wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  word-break: break-word;
}
.customer-details {
  display: flex;
  flex-direction: column;
  max-width: 70%;
  flex-basis: 100%;
  flex: 1;
  word-break: break-word;
  text-align: left;
}
.customer-details > * {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.attendance-details {
  display: flex;
  flex-direction: column;
  max-width: 30%;
  flex-basis: 100%;
  flex: 1;
  word-break: break-word;
  text-align: right;
}
.ui-listview.attachment-area .ui-li-desc {
  font-size: 16px;
  margin: 0;
  font-weight: bold;
  white-space: normal;
  word-break: break-all;
}
.ui-listview.attachment-area li {
  white-space: normal;
  word-break: break-all;
}
.ui-listview.attachment-area .thumbnail-line a {
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-listview.attachment-area .thumbnail-line a > * {
  flex-grow: 1;
  flex-shrink: 1;
}
.ui-listview.attachment-area .thumbnail-line a span.img-box {
  flex-grow: 0;
}
.ui-listview.attachment-area .thumbnail-line a span.img-box img {
  object-fit: contain;
}
.ui-listview .side-item {
  white-space: normal;
}
.ui-listview .customer-name-address {
  white-space: normal;
}
.status-update-dialog .section {
  border-bottom: 1px solid gray;
}
.status-update-dialog .section:last-child {
  border-bottom: none;
}
.status-update-dialog .section > * {
  margin-bottom: 8px;
}
.status-update-dialog .section#comment-section.bold > h3,
.status-update-dialog .section#comment-section.bold > p {
  font-weight: bold;
  color: red;
}
.status-update-dialog .section#comment-section.bold > h3 .character-counter,
.status-update-dialog .section#comment-section.bold > p .character-counter {
  color: #333333;
}
.status-update-dialog .signature-container {
  max-width: 400px;
  margin: 0 auto;
}
.status-update-dialog .signature-container canvas {
  border: 1px solid black;
  margin: 1em auto 0;
  display: block;
  max-width: 100%;
}
.status-update-dialog .attachment-area li.ui-li {
  border-top-width: 0;
  border-bottom-width: 0;
}
.status-update-dialog .attachment-area li.ui-li.ui-li-last {
  padding-bottom: 0;
}
#callout-instructions {
  line-height: 1.4;
}
#callout-instructions ul {
  padding-left: 20px;
}
#callout-instructions ul li {
  line-height: 1.6;
}
#comments-section ul li p:not(:last-child) {
  margin-bottom: 1em;
}
/* F
-----------------------------------------------------------------------------------------------------------*/

.ui-btn-up-f,
.ui-btn-hover-f,
.ui-btn-down-f {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
.ui-btn-up-f {
  border: 1px solid #711414;
  background: #ab2525;
  text-shadow: 0 -1px 1px #711414;
  background-image: -moz-linear-gradient(top, #c44f4f, #ab2525);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #c45e5e), color-stop(1, #9e3939));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#c44f4f', EndColorStr='#ab2525')";
}
.ui-btn-hover-f {
  border: 1px solid #6e0000;
  background: #b54a4a;
  text-shadow: 0 -1px 1px #690101;
  background-image: -moz-linear-gradient(top, #d47272, #b54a4a);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #d47272), color-stop(1, #b54a4a));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#d47272', EndColorStr='#b54a4a')";
}
.ui-btn-down-f {
  border: 1px solid #782323;
  background: #c44f4f;
  text-shadow: 0 -1px 1px #782323;
  background-image: -moz-linear-gradient(top, #9e3939, #c44f4f);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #9e3939), color-stop(1, #c44f4f));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#9e3939', EndColorStr='#c44f4f')";
}
.barcode {
  width: 300px;
}
.barcode-container {
  display: flex;
  justify-content: center;
}
