/*
 *  Ventus - Information System Version 1
 *
 *  Copyright (C) 2012
 *  by Gulf Coast Software, Incorporated.
 *  All rights reserved.
 *
 *  May not be copied or disclosed without the permission of
 *  Gulf Coast Software, Incorporated.
 *
 * -----------------------------------------------------------------------
 *
 *  REVISION HISTORY
 *  ***********************************************************
 *  WO          DATE    INITIALS  COMMENTS
 *  -----------------------------------------------------------
 *  1211-6352   12/28/2012  PS    Hid the increment/decrement buttons for number fields.
 *                                Also changed step="any" for the html input[type=number].
 *  1301-6526   1/3/2012    PS    Add option to hide pricing from technician.
 *  1312-8399   2/11/2014   PS    Prevent the Invoice and Complete buttons from overlapping the billing information.
 *  1312-8389   2/28/2014   PS    Added working or traveling animated icons.
 *  1410-9838   10/14/2014  PS    Made the comments word wrap.
 *  1411-10048  11/21/2014  PS    Removed animated status icons.
 *  1601-11694  1/18/2016   PS    Let the user invoice the ticket while on the job. Implicit Job Stop, Invoice, Job Stop so totals come out close to correct.
 *  1905-16120	5/21/2019	BV    Add ability to scan barcode using device camera.
 *  1910-16467  11/11/2019  BV    Allow tech to reassign tickets.
 *  1912-16667  12/17/2019  BV    Change status 'U' to 'R'.
 *  2005-17013  5/21/2020   BV    Target Integration Project.
 *  2006-17117  7/8/2020    BV    New option to add Stop Travel button to Mobile Data.
 */

.ui-header .ui-title {
    font-size: 1.1em;
    margin-right: 10%;
    margin-left: 10%;
    font-weight: bold;
}

button,
input,
optgroup,
select,
textarea {
  color: black; /* inherit = 1 */
  font: inherit; /* 2  */
  margin: 0; /* 3 */
}


div.ui-grid-a[data-role="footer"] > div.ui-block-b {
  text-align: right;
}
/* 1312-8389 */
div.statusicons {
  float: right;
  text-align: right;
}

div.ticketStatusA a.travelStartTicket    { display: none; }
div.ticketStatusA a.travelStopTicket     { display: none; }
div.ticketStatusA a.jobStartTicket       { display: none; }
div.ticketStatusA a.jobStopTicket        { display: none; }
div.ticketStatusA a.holdTransferTicket   { display: none; }
div.ticketStatusA a.invoiceTicket        { display: none; }
div.ticketStatusA a.completeTicket       { display: none; }
div.ticketStatusA a.assignTicket         { display: none; }
div.ticketStatusA a.moveTicket           { display: none; }

div.ticketStatusO a.acknowledgeTicket    { display: none; }
div.ticketStatusO a.travelStopTicket     { display: none; }
div.ticketStatusO a.jobStopTicket        { display: none; }

div.ticketStatusT a.acknowledgeTicket    { display: none; }
div.ticketStatusT a.travelStartTicket    { display: none; }
div.ticketStatusT a.jobStopTicket        { display: none; }
div.ticketStatusT a.completeTicket       { display: none; }

div.ticketStatusS a.acknowledgeTicket    { display: none; }
div.ticketStatusS a.travelStopTicket     { display: none; }
div.ticketStatusS a.jobStartTicket       { display: none; }
div.ticketStatusS a.completeTicket       { display: none; }

div.ticketStatusH a.acknowledgeTicket    { display: none; }
div.ticketStatusH a.travelStopTicket     { display: none; }
div.ticketStatusH a.jobStopTicket        { display: none; }
div.ticketStatusH a.invoiceTicket        { display: none; }
div.ticketStatusH a.completeTicket       { display: none; }
div.ticketStatusH a.assignTicket         { display: none; }
div.ticketStatusH a.moveTicket           { display: none; }

div.ticketStatusC a.acknowledgeTicket    { display: none; }
div.ticketStatusC a.travelStartTicket    { display: none; }
div.ticketStatusC a.travelStopTicket     { display: none; }
div.ticketStatusC a.jobStartTicket       { display: none; }
div.ticketStatusC a.jobStopTicket        { display: none; }
div.ticketStatusC a.holdTransferTicket   { display: none; }
div.ticketStatusC a.invoiceTicket        { display: none; }
div.ticketStatusC a.completeTicket       { display: none; }
div.ticketStatusC a.assignTicket         { display: none; }
div.ticketStatusC a.moveTicket           { display: none; }

div.ticketStatusP a.acknowledgeTicket    { display: none; }
div.ticketStatusP a.travelStartTicket    { display: none; }
div.ticketStatusP a.travelStopTicket     { display: none; }
div.ticketStatusP a.jobStartTicket       { display: none; }
div.ticketStatusP a.jobStopTicket        { display: none; }
div.ticketStatusP a.holdTransferTicket   { display: none; }
div.ticketStatusP a.invoiceTicket        { display: none; }
div.ticketStatusP a.completeTicket       { display: none; }
div.ticketStatusP a.assignTicket         { display: none; }
div.ticketStatusP a.moveTicket           { display: none; }

div.ticketStatusZ a.acknowledgeTicket    { display: none; }
div.ticketStatusZ a.travelStartTicket    { display: none; }
div.ticketStatusZ a.travelStopTicket     { display: none; }
div.ticketStatusZ a.jobStartTicket       { display: none; }
div.ticketStatusZ a.jobStopTicket        { display: none; }
div.ticketStatusZ a.holdTransferTicket   { display: none; }
div.ticketStatusZ a.invoiceTicket        { display: none; }
div.ticketStatusZ a.completeTicket       { display: none; }
div.ticketStatusZ a.assignTicket         { display: none; }
div.ticketStatusZ a.moveTicket           { display: none; }

div.ticketStatusR a.acknowledgeTicket    { display: none; }
div.ticketStatusR a.travelStartTicket    { display: none; }
div.ticketStatusR a.travelStopTicket     { display: none; }
div.ticketStatusR a.jobStartTicket       { display: none; }
div.ticketStatusR a.jobStopTicket        { display: none; }
div.ticketStatusR a.holdTransferTicket   { display: none; }
div.ticketStatusR a.invoiceTicket        { display: none; }
div.ticketStatusR a.completeTicket       { display: none; }
div.ticketStatusR a.assignTicket         { display: none; }
div.ticketStatusR a.moveTicket           { display: none; }

span.uniqueId { display: none; }

div.billingInfo table.billingTotals td {
  text-align: right;
}
div.billingInfo table.billingTotals th { text-align: right; }
div.billingInfo table.billingTotals td { width: 9em; }


@media (max-width: 499px) {
  /* 1312-8399 */
  div.billingInfo div.buttons {
    clear: both;
    text-align: left;
  }
}
@media (min-width: 500px) {
  /* 1312-8399 */
  div.billingInfo div.buttons {
    float: right;
    text-align: right;
  }
}
div.billingInfo div.ticketStatusA { display: none; }
div.billingInfo div.ticketStatusH { display: none; }
div.billingInfo div.ticketStatusC { display: none; }
div.billingInfo div.ticketStatusP { display: none; }
div.billingInfo div.ticketStatusZ { display: none; }

div.billingInfo input[name=mcppay] { text-align: right; }

table.flatrateparts { width: 100%; }
table.flatrateparts th { text-align: left; }

div.sigPad {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align: center;
}

div.sigWrapper {
  clear: both;
  border: 1px solid #ccc;
  background-image:url('signhere.png'); 
  background-repeat:no-repeat;                                                                /*1304-7072*/
  background-size:contain;                                                                    /*1304-7072*/
}

form.sigPad {
  width: 100%;
}

a:not(.isChecked) div.showChecked.ui-icon { display: none; }
a.isChecked div.showChecked.ui-icon {
  float: left;
  margin-right: 1em;
}

p.HelperIndicator { font-weight: bold; }

input.checklist {
  display: inline-block;
  vertical-align: middle;
  width: 10em;
}

.vms-screen-hidden { display: none !important; }

input::-webkit-outer-spin-button,                                                             /*1211-6352*/
input::-webkit-inner-spin-button {                                                            /*1211-6352*/
    /* display: none; <- Crashes Chrome on hover */                                           /*1211-6352*/
    -webkit-appearance: none;                                                                 /*1211-6352*/
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */       /*1211-6352*/
}                                                                                             /*1211-6352*/                                                                                             /*1211-6352*/

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    /* width: 99%; */
    word-wrap: break-word; /* Internet Explorer 5.5+ */

    border-width: 1px;
    border-style: solid;
    border-color: #dee2e6!important;
    padding: 0.5rem!important;
    margin-bottom: 0.5em;
    border-radius: 4px;
}

#interactive.viewport {
    position: relative;
    width: 100%;
    height: 50%; /*auto*/
    overflow: hidden;
    text-align: center;
}

#interactive.viewport > canvas, #interactive.viewport > video {
    max-width: 100%; /*100%*/
    /* width: 100%;  */ /*100%*/
    /* height: 40%;  */ /* new*/
}

canvas.drawing, canvas.drawingBuffer {
    position: absolute;
    left: 0;
    top: 0;
}

/*#btn-barcode-scan {
    margin: 0px;
    margin-left: 10px;
    font-size: 12px;
    border-style: double;
}*/

#btn-camera-close {
    width: auto;
}

.dx-header-row > td[role="columnheader"]> div.dx-datagrid-text-content {  
    font-weight: bold;  
}

tr.dx-row.dx-column-lines.dx-header-row > td.dx-command-edit.dx-cell-focus-disabled.dx-datagrid-drag-action {
    font-weight: bold;
}

#dataGrid .dx-datagrid-summary-item {
  overflow: visible;
}

/* Styles used in UI Refresh Project --> */
/* Sizing and spacing classes */
.fs-xx-small {
    font-size:xx-small;
}

.fs-x-small {
    font-size: x-small;
}

.fs-small {
    font-size:small;
}

.fs-medium {
    font-size:medium;
}

.fs-large {
    font-size:large;
}

.fs-larger {
    font-size:larger;
}

.fs-x-large {
    font-size:x-large;
}

.fs-xx-large {
    font-size:xx-large;
}

.mb-5px {
    margin-bottom:-5px;
}

.mt-3px {
    margin-top:-2px;
}

.mt-5px {
    margin-top:-5px;
}

.mt-7px {
    margin-top:-7px
}

.mt-8px {
    margin-top:-8px;
}

.mt-10px {
    margin-top:-10px;
}

.mt-15px {
    margin-top:-15px;
}

.pt-1px {
    padding-top:1px;
}

.fs-7 {
    font-size: .9rem!important;
}

.fs-8 {
    font-size: .7rem!important;
}

.fs-9 {
    font-size: .5rem!important;
}

.fs-10 {
    font-size: calc(1.5rem + 1.5vw)!important;
}

.fs-11 {
    font-size: calc(1.75rem + 1.5vw)!important;
}

.fs-12 {
    font-size: calc(2rem + 1.5vw)!important;
}

.fs-13 {
    font-size: calc(2.25rem + 1.5vw)!important;
}

.fs-14 {
    font-size: calc(2.5rem + 1.5vw)!important;
}

.fs-15 {
    font-size: calc(2.75rem + 1.5vw)!important;
}

.z-9999 {
    z-index:9999!important;
}

/* Font styling */
.no-text-shadow {
    text-shadow: none!important;
}

.icon-size-2 {
    width: calc(1.4rem + .9vw)!important;
    height: calc(1.4rem + .9vw)!important;
}

.icon-size-3 {
    width: calc(1.3rem + .6vw)!important;
    height: calc(1.3rem + .6vw)!important;
}

.icon-size-4 {
    width: calc(1.275rem + 0.3vw)!important;
    height: calc(1.275rem + 0.3vw)!important;
}

.spinner-border-xs {
    width: 0.75rem;
    height: 0.75rem;
    border-width: 0.1em;
}

.py-01 {
    padding-top: 0.125rem!important;
    padding-bottom: 0.125rem!important;
}

/* XX-Small Screen Size */
@media (min-width: 200px) {
    .fs-ticket-text {
        font-size:small!important;
    }
    .fs-ticket-icon {
        font-size: calc(1.5rem + 1.5vw)!important;
    }

    .translate-xy-footer {
    transform: translate(-40%, 100%)
    }
}
/* X-Small Screen Size */
@media (min-width: 450px) {
    .fs-ticket-text {
        font-size: .9rem!important;
    }
    .fs-ticket-icon {
        font-size: calc(1.75rem + 1.5vw)!important;
    }
    
    .translate-xy-footer {
    transform: translate(-40%, 110%)
    }
}
    
/* Small Screen Size */
@media (min-width: 576px) {
    .translate-xy-footer {
    transform: translate(-40%, 125%)
    }
        
    .fs-ticket-text {
    white-space: nowrap!important;
    }
}

/* Medium Screen Size */
@media (min-width: 768px) {  
    .translate-xy-footer {
    transform: translate(-40%, 150%)
    }
}

/* Large Screen Size */
@media (min-width: 992px) {
    .translate-xy-footer {
    transform: translate(-40%, 175%)
    }
}

/* X-Large Screen Size */
@media (min-width: 1200px) {
    .translate-xy-footer {
    transform: translate(-40%, 200%)
    }
}

/* XX-Large Screen Size */
@media (min-width: 1400px) {
    .translate-xy-footer {
    transform: translate(-40%, 225%)
    }
}

/* Color classes */
.bg-blue {
    background-color: #3c5a9c!important;
}

.color-blue {
    color: #3c5a9c!important;
}

.bg-green {
    color: #0f9d5d!important;
}

.color-green {
    color: #0f9d5d!important;
}

.bg-red {
    color: red!important;
}

.color-grey {
    color: #6f7681!important;
}

.color-black {
    color: black!important;
}

.color-white {
    color: white!important;
}

.color-lightblue {
    color: #748CD3!important
}

.bg-lightblue {
    background-color: #748CD3!important
}

.color-orange {
    color: #fd7e14!important;
}

.color-lightgrey {
    color: #e9ecef!important;
}

.bg-lightgrey {
    background-color:#e9ecef!important;
}
.bg-orange { 
    background-color: #fd7e14!important;
}

.border-orange {
    border-color: #fd7e14!important;
}

.btn-outline-primary {
    color: #3c5a9c!important;
    border-color: #3c5a9c!important;
}

/* Class overrides */
.ui-page-theme-a, .ui-overlay-a {
    background-color: #e9ecef!important;
    text-shadow:none;
}

.ui-listview>.ui-li-static {
    border-top: none;
    border-bottom-style: solid;
}

ul.data > li.ui-li-static {
    border-bottom-style: none;
}

.nav-link:focus, .nav-link:hover, .nav-link.active {
    color: black!important;
}

.nav-link {
    color:inherit;
}

.ui-input-text, .ui-input-search {
    margin: 0px;
    border-width: inherit;
    border-style: none;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff!important;
    background-color: #748bd2;
}

.ui-page-theme-a a:visited, html .ui-bar-a a:visited, html .ui-body-a a:visited, html body .ui-group-theme-a a:visited {
    color: #3c5a9c;
}

.accordion-button:not(.collapsed) {
    color: #ffffff!important;
    background-color: #748CD3;
}

.accordion-item {
    border-color: #c7c8c9!important;
}

.btn-primary {
    color: #fff!important;
    background-color: #3c5a9c!important;
    border-color: #3c5a9c!important;
}

.ui-page {
    min-height: auto!important;
    padding-top: 0px!important;
}

.ui-loader {
    display:none!important;
}

.form-check-input:checked {
    background-color: #3c5a9c;
    border-color: #3c5a9c;
}

.ui-btn-icon-notext {
    text-decoration: none;
    font-weight: 600;
    font-size: smaller;
    float: right;
}

span.form-select {
    display: none!important;
} /* This works around an issue with jQuery adding a span to some select-dropdowns */

li {
    position: relative;
    display: block;
    padding: 0px;
    text-decoration: none;
    color: #3c5a9c!important;
}

li > a {
    text-decoration: none;
    color: inherit!important;
}

.ui-li-divider {
    font-weight:500;
    color: black!important;
}

div.ui-input-search > input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dee2e6;;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; 
}

div.barcode-scan-search > div.ui-input-search {
    width: 85%;
}

ol.subtasks > li {
    display: list-item;
    color: black!important;
}

.cursor-pointer {
    cursor: pointer!important;
}

.mb-footer {
    margin-bottom: 9em;
}

table {
  position: relative;
}

.rowlink::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5em; 
}

a.disabled {
  pointer-events: none;
  cursor: default;
  color: #6f7681!important;
}

.ui-popup-screen {
    height: 100%!important;
}

.ui-popup-container {
    position:absolute!important;
    z-index: 3!important;
}

.ui-popup-active {
    margin: auto;
    top: 0px !important;
    left: auto !important;
    background-color: #00000030;
    z-index: 1050 !important;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    max-width: none !important;
}

.ui-popup-hidden {
    display:none!important;
}

.animate__animated.animate__delay-025s {
    -webkit-animation-delay: .25s;
    animation-delay: .25s;
    -webkit-animation-delay: .25s;
    animation-delay: .25s;
}

li.ui-screen-hidden {
    display: none;
}

.icon-stack {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
}
.icon-stack-1x,
.icon-stack-2x,
.icon-stack-3x {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}
.icon-stack-1x {
  line-height: inherit;
}
.icon-stack-2x {
  font-size: 1.5em;
}
.icon-stack-3x {
  font-size: 2em;
}

.ui-btn-icon-check {
    font-weight: bold;
}

/* Other custom styles */
#billingToggle .chevron { transition: transform .2s; }
#billingToggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.all-caps {
    text-transform: uppercase;
}

/* Styles used for Ticket Schedule board */

.toast {
    /*left: 50%;*/
    position: fixed;
    transform: translate(-50%, 0px);
    z-index: 9999;
}

#scheduler {
    height: 100%;
    width: 100%;
}

@media (min-width: 450px) {
    #todayButton div.dx-button-content {
        padding: 7px 18px 8px;
    }
}

@media (max-width: 449px) {
    #todayButton .dx-button-content {
        padding: 8px;
    }
}

#todayButton {
  top: 9px;
  position:relative;
  float:left;
  margin-left: 25px;
}
 
#footerNav {
  display: none
}

.modal-body {
    white-space: pre-wrap;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

/* Loader */
.ui-icon-loading {
	background: url("ajax-loader.gif");
	background-size: 2.875em 2.875em;
}
/* [End] Styles used in UI Refresh Project <-- */