﻿
.w-1 {
    width: 8.33333%;
}

.w-1-plus-half {
    width: 12.5%;
}

.w-2 {
    width: 16.66667%;
}

.w-3 {
    width: 25%;
}

.w-4 {
    width: 33.33333%;
}

.w-5 {
    width: 41.66667%;
}

.w-6 {
    width: 50%;
}

.w-7 {
    width: 58.33333%;
}

.w-8 {
    width: 66.66667%;
}

.w-9 {
    width: 75%;
}

.w-10 {
    width: 83.33333%;
}

.w-11 {
    width: 91.66667%;
}

.w-12 {
    width: 100%;
}

.visualize {
    box-sizing: content-box;
}

.graph-display {
    margin-bottom: 15px;
}

/* Bootstrap 4.1.1 Updates */
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    height: auto;
    font-size: 1rem;
    padding: .375rem .75rem;
}

select.form-control-plaintext,
textarea.form-control-plaintext,
input[type="text"].form-control-plaintext,
input[type="password"].form-control-plaintext,
input[type="datetime"].form-control-plaintext,
input[type="datetime-local"].form-control-plaintext,
input[type="date"].form-control-plaintext,
input[type="month"].form-control-plaintext,
input[type="time"].form-control-plaintext,
input[type="week"].form-control-plaintext,
input[type="number"].form-control-plaintext,
input[type="email"].form-control-plaintext,
input[type="url"].form-control-plaintext,
input[type="search"].form-control-plaintext,
input[type="tel"].form-control-plaintext,
input[type="color"].form-control-plaintext,
.uneditable-input.form-control-plaintext {
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

select.form-control-plaintext ~ .input-group-append,
textarea.form-control-plaintext ~ .input-group-append,
input[type="text"].form-control-plaintext ~ .input-group-append,
input[type="password"].form-control-plaintext ~ .input-group-append,
input[type="datetime"].form-control-plaintext ~ .input-group-append,
input[type="datetime-local"].form-control-plaintext ~ .input-group-append,
input[type="date"].form-control-plaintext ~ .input-group-append,
input[type="month"].form-control-plaintext ~ .input-group-append,
input[type="time"].form-control-plaintext ~ .input-group-append,
input[type="week"].form-control-plaintext ~ .input-group-append,
input[type="number"].form-control-plaintext ~ .input-group-append,
input[type="email"].form-control-plaintext ~ .input-group-append,
input[type="url"].form-control-plaintext ~ .input-group-append,
input[type="search"].form-control-plaintext ~ .input-group-append,
input[type="tel"].form-control-plaintext ~ .input-group-append,
input[type="color"].form-control-plaintext ~ .input-group-append,
.uneditable-input.form-control-plaintext ~ .input-group-append {
    display: none;
    visibility: hidden;
}

/* @todo Disabled state. */
.input-container input[type="checkbox"].form-control,
.input-container input[type="radio"].form-control {
    display: none;
    visibility: hidden;
}

.input-container input[type="checkbox"].form-control + label,
.input-container input[type="radio"].form-control + label {
    display: block;
    padding-left: 1.5rem;
    line-height: 2.4;
    position: relative;
    cursor: pointer;
}

/** Disabled - no cursor */
.input-container input[type="checkbox"][disabled].form-control + label,
.input-container input[type="radio"][disabled].form-control + label {
    cursor: not-allowed;
    color: gray;
}

.input-container input[type="checkbox"].form-control + label:before,
.input-container input[type="checkbox"].form-control + label::before,
.input-container input[type="radio"].form-control + label:before,
.input-container input[type="radio"].form-control + label::before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    display: block;
    background: #dee2e6;
    border-radius: 3px;
    width: 20px;
    height: 20px;
    transition: background-color ease-in-out 0.05s;
}

.input-container input[type="checkbox"].form-control + label:after,
.input-container input[type="checkbox"].form-control + label::after,
.input-container input[type="radio"].form-control + label:after,
.input-container input[type="radio"].form-control + label::after {
    content: "\2713";
    color: #fff;
    position: absolute;
    display: block;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    /*left: 5px;*/
    left: 3px;
    border-radius: 3px;
    display: block;
    opacity: 0;
    transition: opacity ease-in-out 0.05s;
}

.input-container input[type="checkbox"].form-control:checked + label:before,
.input-container input[type="checkbox"].form-control:checked + label::before,
.input-container input[type="radio"].form-control:checked + label:before,
.input-container input[type="radio"].form-control:checked + label::before {
    /*.bg-chemdry-blue*/
    background: #125eab;

}

/** Disabled - red background */
.input-container input[type="checkbox"][disabled].form-control:checked + label:before,
.input-container input[type="checkbox"][disabled].form-control:checked + label::before,
.input-container input[type="radio"][disabled].form-control:checked + label:before,
.input-container input[type="radio"][disabled].form-control:checked + label::before {
    background: #c6a7b7;
}

.input-container input[type="checkbox"].form-control:checked + label:after,
.input-container input[type="checkbox"].form-control:checked + label::after,
.input-container input[type="radio"].form-control:checked + label:after,
.input-container input[type="radio"].form-control:checked + label::after {
    opacity: 1;
}

.input-container input[type="checkbox"].form-control:not([type="checkbox"]) + label:before,
.input-container input[type="checkbox"].form-control:not([type="checkbox"]) + label::before,
.input-container input[type="radio"].form-control:not([type="checkbox"]) + label:before,
.input-container input[type="radio"].form-control:not([type="checkbox"]) + label::before {
    content: "";
    border-radius: 50%;
}

.input-container input[type="checkbox"].form-control:not([type="checkbox"]) + label:after,
.input-container input[type="checkbox"].form-control:not([type="checkbox"]) + label::after,
.input-container input[type="radio"].form-control:not([type="checkbox"]) + label:after,
.input-container input[type="radio"].form-control:not([type="checkbox"]) + label::after {
    content: "";
    border-radius: 50%;
}

.input-container input[type="checkbox"].form-control:not([type="checkbox"]) + label:after,
.input-container input[type="checkbox"].form-control:not([type="checkbox"]) + label::after,
.input-container input[type="radio"].form-control:not([type="checkbox"]) + label:after,
.input-container input[type="radio"].form-control:not([type="checkbox"]) + label::after {
    background: #fff;
    left: 6px;
    width: 8px;
    height: 8px;
}

input[type="checkbox"].form-control,
input[type="radio"].form-control {
    width: auto;
}

.btn-group-toggle {
    flex-wrap: wrap;
}

.region-heading {
    margin: 0;
    padding: 0 0 1.875rem 0;
    font-weight: bold;
}

.full-width {
    width: 100%;
}

label {
    font-weight: bold;
    display: block;
}

.errorMessage {
    color: red;
}

.navbar-nav {
    justify-content: space-between;
}

.navbar-brand {
    position: relative;
    display: flex;
    margin-left: 0.5rem;
    margin-right: 0;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
}

.navbar-brand span {
    display: block;
}

.navbar-toggler {
    float: right;
}

.navbar-inner {
    width: 100%;
}

.logo img {
    width: 115px;
    display: block;
}

.nav-item .form-inline .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.datepicker-container {
    float: left;
}

.datepicker-label-container {
    position: relative;
}

.datepicker-range-container .label {
    float: left;
    margin: 36px 10px 0;
}

[class^="icon-"],
[class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    line-height: 14px;
    /* REMOVED to use FontAwesome */
    vertical-align: text-top;
    background-image: url('../images/glyphicons-halflings.png');
    background-position: 14px 14px;
    background-repeat: no-repeat;
}

/* White icons with optional class, or on hover/active states of certain elements */
.icon-white,
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"] {
    /* REMOVED to use FontAwesome */
    background-image: url('../images/glyphicons-halflings-white.png');
}

.icon-glass {
    background-position: 0 0;
}

.icon-music {
    background-position: -24px 0;
}

.icon-search {
    background-position: -48px 0;
}

.icon-envelope {
    background-position: -72px 0;
}

.icon-heart {
    background-position: -96px 0;
}

.icon-star {
    background-position: -120px 0;
}

.icon-star-empty {
    background-position: -144px 0;
}

.icon-user {
    background-position: -168px 0;
}

.icon-film {
    background-position: -192px 0;
}

.icon-th-large {
    background-position: -216px 0;
}

.icon-th {
    background-position: -240px 0;
}

.icon-th-list {
    background-position: -264px 0;
}

.icon-ok {
    background-position: -288px 0;
}

.icon-remove {
    background-position: -312px 0;
}

.icon-zoom-in {
    background-position: -336px 0;
}

.icon-zoom-out {
    background-position: -360px 0;
}

.icon-off {
    background-position: -384px 0;
}

.icon-signal {
    background-position: -408px 0;
}

.icon-cog {
    background-position: -432px 0;
}

.icon-trash {
    background-position: -456px 0;
}

.icon-home {
    background-position: 0 -24px;
}

.icon-file {
    background-position: -24px -24px;
}

.icon-time {
    background-position: -48px -24px;
}

.icon-road {
    background-position: -72px -24px;
}

.icon-download-alt {
    background-position: -96px -24px;
}

.icon-download {
    background-position: -120px -24px;
}

.icon-upload {
    background-position: -144px -24px;
}

.icon-inbox {
    background-position: -168px -24px;
}

.icon-play-circle {
    background-position: -192px -24px;
}

.icon-repeat {
    background-position: -216px -24px;
}

.icon-refresh {
    background-position: -240px -24px;
}

.icon-list-alt {
    background-position: -264px -24px;
}

.icon-lock {
    background-position: -287px -24px;
}

.icon-flag {
    background-position: -312px -24px;
}

.icon-headphones {
    background-position: -336px -24px;
}

.icon-volume-off {
    background-position: -360px -24px;
}

.icon-volume-down {
    background-position: -384px -24px;
}

.icon-volume-up {
    background-position: -408px -24px;
}

.icon-qrcode {
    background-position: -432px -24px;
}

.icon-barcode {
    background-position: -456px -24px;
}

.icon-tag {
    background-position: 0 -48px;
}

.icon-tags {
    background-position: -25px -48px;
}

.icon-book {
    background-position: -48px -48px;
}

.icon-bookmark {
    background-position: -72px -48px;
}

.icon-print {
    background-position: -96px -48px;
}

.icon-camera {
    background-position: -120px -48px;
}

.icon-font {
    background-position: -144px -48px;
}

.icon-bold {
    background-position: -167px -48px;
}

.icon-italic {
    background-position: -192px -48px;
}

.icon-text-height {
    background-position: -216px -48px;
}

.icon-text-width {
    background-position: -240px -48px;
}

.icon-align-left {
    background-position: -264px -48px;
}

.icon-align-center {
    background-position: -288px -48px;
}

.icon-align-right {
    background-position: -312px -48px;
}

.icon-align-justify {
    background-position: -336px -48px;
}

.icon-list {
    background-position: -360px -48px;
}

.icon-indent-left {
    background-position: -384px -48px;
}

.icon-indent-right {
    background-position: -408px -48px;
}

.icon-facetime-video {
    background-position: -432px -48px;
}

.icon-picture {
    background-position: -456px -48px;
}

.icon-pencil {
    background-position: 0 -72px;
}

.icon-map-marker {
    background-position: -24px -72px;
}

.icon-adjust {
    background-position: -48px -72px;
}

.icon-tint {
    background-position: -72px -72px;
}

.icon-edit {
    background-position: -96px -72px;
}

.icon-share {
    background-position: -120px -72px;
}

.icon-check {
    background-position: -144px -72px;
}

.icon-move {
    background-position: -168px -72px;
}

.icon-step-backward {
    background-position: -192px -72px;
}

.icon-fast-backward {
    background-position: -216px -72px;
}

.icon-backward {
    background-position: -240px -72px;
}

.icon-play {
    background-position: -264px -72px;
}

.icon-pause {
    background-position: -288px -72px;
}

.icon-stop {
    background-position: -312px -72px;
}

.icon-forward {
    background-position: -336px -72px;
}

.icon-fast-forward {
    background-position: -360px -72px;
}

.icon-step-forward {
    background-position: -384px -72px;
}

.icon-eject {
    background-position: -408px -72px;
}

.icon-chevron-left {
    background-position: -432px -72px;
}

.icon-chevron-right {
    background-position: -456px -72px;
}

.icon-plus-sign {
    background-position: 0 -96px;
}

.icon-minus-sign {
    background-position: -24px -96px;
}

.icon-remove-sign {
    background-position: -48px -96px;
}

.icon-ok-sign {
    background-position: -72px -96px;
}

.icon-question-sign {
    background-position: -96px -96px;
}

.icon-info-sign {
    background-position: -120px -96px;
}

.icon-screenshot {
    background-position: -144px -96px;
}

.icon-remove-circle {
    background-position: -168px -96px;
}

.icon-ok-circle {
    background-position: -192px -96px;
}

.icon-ban-circle {
    background-position: -216px -96px;
}

.icon-arrow-left {
    background-position: -240px -96px;
}

.icon-arrow-right {
    background-position: -264px -96px;
}

.icon-arrow-up {
    background-position: -289px -96px;
}

.icon-arrow-down {
    background-position: -312px -96px;
}

.icon-share-alt {
    background-position: -336px -96px;
}

.icon-resize-full {
    background-position: -360px -96px;
}

.icon-resize-small {
    background-position: -384px -96px;
}

.icon-plus {
    background-position: -408px -96px;
}

.icon-minus {
    background-position: -433px -96px;
}

.icon-asterisk {
    background-position: -456px -96px;
}

.icon-exclamation-sign {
    background-position: 0 -120px;
}

.icon-gift {
    background-position: -24px -120px;
}

.icon-leaf {
    background-position: -48px -120px;
}

.icon-fire {
    background-position: -72px -120px;
}

.icon-eye-open {
    background-position: -96px -120px;
}

.icon-eye-close {
    background-position: -120px -120px;
}

.icon-warning-sign {
    background-position: -144px -120px;
}

.icon-plane {
    background-position: -168px -120px;
}

.icon-calendar {
    background-position: -192px -120px;
}

.icon-random {
    width: 16px;
    background-position: -216px -120px;
}

.icon-comment {
    background-position: -240px -120px;
}

.icon-magnet {
    background-position: -264px -120px;
}

.icon-chevron-up {
    background-position: -288px -120px;
}

.icon-chevron-down {
    background-position: -313px -119px;
}

.icon-retweet {
    background-position: -336px -120px;
}

.icon-shopping-cart {
    background-position: -360px -120px;
}

.icon-folder-close {
    background-position: -384px -120px;
}

.icon-folder-open {
    width: 16px;
    background-position: -408px -120px;
}

.icon-resize-vertical {
    background-position: -432px -119px;
}

.icon-resize-horizontal {
    background-position: -456px -118px;
}

.icon-hdd {
    background-position: 0 -144px;
}

.icon-bullhorn {
    background-position: -24px -144px;
}

.icon-bell {
    background-position: -48px -144px;
}

.icon-certificate {
    background-position: -72px -144px;
}

.icon-thumbs-up {
    background-position: -96px -144px;
}

.icon-thumbs-down {
    background-position: -120px -144px;
}

.icon-hand-right {
    background-position: -144px -144px;
}

.icon-hand-left {
    background-position: -168px -144px;
}

.icon-hand-up {
    background-position: -192px -144px;
}

.icon-hand-down {
    background-position: -216px -144px;
}

.icon-circle-arrow-right {
    background-position: -240px -144px;
}

.icon-circle-arrow-left {
    background-position: -264px -144px;
}

.icon-circle-arrow-up {
    background-position: -288px -144px;
}

.icon-circle-arrow-down {
    background-position: -312px -144px;
}

.icon-globe {
    background-position: -336px -144px;
}

.icon-wrench {
    background-position: -360px -144px;
}

.icon-tasks {
    background-position: -384px -144px;
}

.icon-filter {
    background-position: -408px -144px;
}

.icon-briefcase {
    background-position: -432px -144px;
}

.icon-fullscreen {
    background-position: -456px -144px;
}

.icon-phone {
    background-position: 0 -163px;
}

/* Open Iconic Icons */
@keyframes rotate {
    from {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.oi-reload.animate {
    animation: rotate 2s infinite;
}

html {
    font-size: 16px;
    font-family: "Nunito", serif;
}

body {
    margin: 0;
    padding: 0;
    color: #464646;
}

.layout-hint {
    position: absolute;
    top: 0;
    right: 0;
    -ms-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    z-index: 1;
    background-color: lightblue;
    color: white;
}

.hot-range-container {
    margin-bottom: 15px;
}

.input-prompt {
    display: block;
    position: absolute;
    font-style: italic;
    color: #aaa;
    margin: 5px 13px;
}

.hasDatepicker + .ui-datepicker-trigger {
    visibility: hidden;
    display: none;
}

.hasDatepicker ~ .input-group-append .ui-datepicker-trigger {
    cursor: pointer;
}

.hasDatepicker:disabled ~ .input-group-append .ui-datepicker-trigger, .hasDatepicker[disabled] ~ .input-group-append .ui-datepicker-trigger {
    cursor: not-allowed;
}

.hasDatepicker[readonly] ~ .input-group-append .ui-datepicker-trigger {
    cursor: none;
}

.hasTimepicker ~ .input-group-append .ui-timepicker-trigger {
    cursor: pointer;
}

.hasTimepicker:disabled ~ .input-group-append .ui-timepicker-trigger, .hasTimepicker[disabled] ~ .input-group-append .ui-timepicker-trigger {
    cursor: not-allowed;
}

.hasTimepicker[readonly] ~ .input-group-append .ui-timepicker-trigger {
    cursor: none;
}

/* Migrated from screen.css */
h1 .subtitle {
    font-size: 75%;
}

option.client-contract {
    color: #06145c;
}

option.client-non-contract {
    color: #580000;
}

option.list-item-admin {
    background-color: #faa29d;
}

option.list-item-agent {
    background-color: #fad2cb;
}

option.list-item-franchise-manager {
    background-color: #589bfa;
}

option.list-item-insurance-manager {
    background-color: #21e127;
}

option.list-item-franchise-office {
    background-color: #9ac4fa;
}

option.list-item-franchise-tech {
    background-color: #e3f0fa;
}

option.list-item-insurance-agent {
    background-color: #8ce190;
}

option.list-item-loss-adjustor {
    background-color: #b6e1b9;
}

option.list-item-insurance-special {
    background-color: #e2f8e0;
}

.info-block dt {
    display: inline-block;
    float: left;
    width: 10em;
    clear: both;
}

.info-block dd {
    display: inline-block;
    float: left;
}

.ajax-response {
    margin-top: 10px;
}

.btn.selected {
    background-color: #007bff;
    border-color: #007bff;
}

.flash-debug,
.flash-warning,
.flash-error,
.flash-notice,
.flash-success,
.flash-alert {
    padding: .8em;
    margin-bottom: 0.5em;
    background: #e6e1fb;
    color: #141a8a;
    border: 2px solid #b8b8fb;
}

.flash-debug a:not(.btn),
.flash-warning a:not(.btn),
.flash-error a:not(.btn),
.flash-notice a:not(.btn),
.flash-success a:not(.btn),
.flash-alert a:not(.btn) {
    color: #9c5a08;
}

.flash-warning {
    background: #f6c5a2;
    color: #9c5a08;
    border-color: #cda486;
}

.flash-error {
    background: #fbe3e4;
    color: #8a1f11;
    border-color: #fbc2c4;
}

.flash-error a:not(.btn) {
    color: #8a1f11;
}

.flash-notice {
    background: #fff6bf;
    color: #514721;
    border-color: #ffd324;
}

.flash-notice a:not(.btn) {
    color: #514721;
}

.flash-success {
    background: #e6efc2;
    color: #264409;
    border-color: #c6d880;
}

.flash-success a:not(.btn) {
    color: #264409;
}

.flash-alert {
    background: #d9edf7;
    border-color: #bce8f1;
    color: #1e485c;
}

div.form .rememberMe label {
    display: inline;
}

.FooterSum,
.FooterSum tr:hover,
tr.FooterSum td {
    font-weight: bold;
}

.loading {
    background-color: #eee;
    background-image: url('loading.gif') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1;
}

.loading * {
    opacity: .8;
}

.item-unit-price,
.item-building-percent {
    min-width: 100px;
}

/* commented lines from main.css */
.btn:hover,
button:hover,
a:hover button,
a:hover input[type="button"],
.loading .btn,
.loading input[type="submit"],
.loading button,
.btn.loading,
div.form input[type="submit"].loading,
input[type="submit"].loading,
div.form input[type="button"].loading,
input[type="button"].loading,
div.form button.loading,
button.loading,
.btn[disabled],
input[type="radio"]:checked + label.btn {
    cursor: pointer;
    color: #6399cd;
    background: #eff4fa;
}

/** cursor: not-allowed was from styles.css */
input[type="submit"][disabled],
input[type="button"][disabled],
button[disabled],
.btn[disabled] {
    cursor: not-allowed !important;
}

/** cursor: default was from main.css */
input[type="submit"][disabled],
input[type="button"][disabled],
button[disabled],
a.btn[disabled] {
    cursor: default !important;
}

td div.progress {
    background-color: #e7e7e7;
    background-image: linear-gradient(to bottom, #e5e5e5, #e9e9e9);
    background-repeat: repeat-x;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    height: 24px;
    margin: 7px 0;
    overflow: hidden;
}

td div.progress:not(.active) {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    height: auto;

}

td div.progress:not(.active):before,
td div.progress:not(.active)::before {
    content: "✓";
    color: green;
    font-size: 2rem;
}

td div.progress:not(.active) .bar {
    display: none;
    visibility: hidden;
}


@media only print {
    .yiiLog,
    .template-hint,
    .layout-hint,
    .form-hint,
    .flash-page,
    #dynfooter,
    #footer,
    .btn {
        display: none;
    }
}

input[type="text"].form-control-plaintext, input[type="password"].form-control-plaintext, input.ui-autocomplete-input.form-control-plaintext,
input .uneditable-input.form-control-plaintext {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

textarea.form-control-plaintext {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.btn-group {
    margin-bottom: 5px;
}

.btn-group .btn {
    margin-bottom: 0;
}

.btn-group .fileinput-button {
    margin-right: 0;
}

.btn-group .fileinput-button.btn {
    color: #fff;
}

.ui-dialog {
    padding: 1em;
    background: #fff;
    border-radius: 3px;
    /*z-index: 1000 !important;*/
    /*
    Need to bring this further to the foreground as sticky table
    headers conceal this at a bootstrap default of 1000 and sticky
    headers (.sticky-top) are at 1020 in position.css
    */
    z-index: 1600 !important;
}

.ui-datepicker {
    z-index: 1700 !important;
}

.ui-dialog .ui-dialog-titlebar {
    position: relative;
}

.ui-dialog .ui-dialog-titlebar-close {
    right: 20px;
    position: absolute;
    display: inline-block;
    /*top: 75%;*/
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: auto !important;
    height: 28px;
    border: none;
    background: none;
}

.ui-dialog .ui-dialog-titlebar-close span {
    display: inline-block !important;
    margin: 1px;
}

.ui-dialog .ui-dialog-titlebar-close:before, .ui-dialog .ui-dialog-titlebar-close::before {
    content: "X";
    color: red;
}

.ui-dialog .ui-dialog-titlebar-close span.ui-icon-closethick {
    display: none !important;
}


/*.bootstrap-timepicker table td input {*/
.bootstrap-timepicker table.show-meridian td input {
    width: 50px;
    padding-left: .7rem;
    padding-right: .7rem;
}

#page {
    padding-top: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#header {
    margin: 0;
    padding: 0;
    border-top: 3px solid #c9e0ed;
}

#content {
    padding-bottom: 20px;
}

#sidebar {
    padding: 20px 20px 20px 0;
}

.align-left {
    text-align: left !important;
}

.align-center {
    text-align: center !important;
}

.align-right {
    text-align: right !important;
}

p.left {
    text-align: left;
    margin: 0 1.5em 0 0;
    padding: 0;
}

p.right {
    text-align: right;
    margin: 0 0 0 1.5em;
    padding: 0;
}

td.center {
    text-align: center;
}

#footer {
    padding: 10px;
    margin: 0 20px 10px;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
}

#dynfooter {
    padding: 5px 0;
    margin: 5px 20px;
    font-size: .8em;
    border-top: 1px solid #c9e0ed;
}

#logo {
    position: relative;
    padding: 10px 20px;
    font-size: 250%;
}

img.logo_badge {
    width: 115px;
    right: 15px;
}

div.hint,
p.hint {
    margin: 0;
    padding: 0;
    color: #999;
}

div.note,
p.note {
    font-style: italic;
}

#mainmenu {
    position: relative;
}

div.flash-debug,
div.flash-warning,
div.flash-error,
div.flash-notice,
div.flash-success,
div.flash-alert {
    padding: .8em;
    margin-bottom: 0.5em;
    border: 2px solid #ddd;
}

div.flash-debug {
    background: #e6e1fb;
    color: #141a8a;
    border-color: #b8b8fb;
}

div.flash-warning {
    background: #f6c5a2;
    color: #9c5a08;
    border-color: #cda486;
}

div.flash-error {
    background: #fbe3e4;
    color: #8a1f11;
    border-color: #fbc2c4;
}

div.flash-notice {
    background: #fff6bf;
    color: #514721;
    border-color: #ffd324;
}

div.flash-alert {
    background: #d9edf7;
    border-color: #bce8f1;
    color: #1e485c;
}

div.flash-success {
    background: #e6efc2;
    color: #264409;
    border-color: #c6d880;
}

div.flash-warning a {
    color: #9c5a08;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

div.form .rememberMe label {
    display: inline;
}

/*

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #c9e0ed;
}

div.breadcrumbs {
    font-size: .9em;
    padding: 5px 20px;
}

div.breadcrumbs span {
    font-weight: bold;
}
*/
div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

table,
td,
tr {
    text-align: left;
    border-collapse: collapse;
}

.FooterSum,
.FooterSum tr:hover,
tr.FooterSum td {
    /*background: url('bg.gif') repeat-x scroll left top #fff !important;*/
    background: rgb(18, 94, 171) !important;
    color: #fff;
    font-weight: bold;
}

select.expand {
    width: auto;
}

table.left td {
    text-align: right;
}

.hidden {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

.loading {
    background-color: #eee;
    background-image: url('loading.gif') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1;
}

.loading * {
    opacity: .8;
}

.panel-loading{min-height: 100px; text-align: center; }

table.invoice-form td {
    padding: 0 2px;
}

.grid-view table.items tr.odd.nohover:hover {
    background: none repeat scroll 0 0 #e5f1f4;
    background-color: rgba(18, 94, 171, 0.05);
}

.grid-view table.items tr.even.nohover:hover {
    background: none repeat scroll 0 0 #f8f8f8;
    background-color: rgba(18, 94, 171, 0.1);
}

.grid-view table.items tr.nohover:hover {
    background: none;
}

/* commented lines from main.css */
.btn,
.btn:focus,
input[type="submit"],
input[type="button"],
button {
    font-family: inherit;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px;
    color: #fff;
    font-size: 100%;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

/* commented lines from main.css */
.btn,
input[type="submit"],
input[type="button"],
button {
    display: inline-block;
    padding: 6px 10px 6px;
    margin-right: 15px;
    vertical-align: middle;
    /*margin-top: 7px;*/
    margin-top: 0;
}

/* commented lines from main.css */

button:hover,
a:hover button,
a:hover input[type="button"],
.loading .btn,
.loading input[type="submit"],
.loading button,
.btn.loading,
div.form input[type="submit"].loading,
input[type="submit"].loading,
div.form input[type="button"].loading,
input[type="button"].loading,
div.form button.loading,
button.loading,
input[type="submit"][disabled],
div.form input[type="submit"][disabled],
input[type="button"][disabled],
div.form input[type="button"][disabled],
button[disabled],
.btn[disabled],
input[type="radio"]:checked + label.btn {
    cursor: pointer;
    color: #6399cd;
    background: #eff4fa;
}

/** cursor: not-allowed was from styles.css */
input[type="submit"][disabled],
input[type="button"][disabled],
button[disabled],
.btn[disabled] {
    cursor: default !important;
}

/** @edit apugh 17-Apr-17 3:14 PM - START */
.btn.disabled {
    pointer-events: none;
    cursor: default;
    color: #6399cd;
    background: #eff4fa;
}

/** @edit apugh 17-Apr-17 3:14 PM - END */
button.red,
input[type="button"].red {
    background-color: #da4f49;
    background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.readOnly,
input[type="text"]:read-only {
    color: #6d6d6d;
    background-color: #e9ecef;
    font-style: italic;
}

td div.progress {
    background-color: #f7f7f7;
    background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
    background-repeat: repeat-x;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1) inset;
    height: 20px;
    margin: 0;
    overflow: hidden;
}

.progress .bar {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #0e90d2;
    background-image: linear-gradient(to bottom, #149bdf, #0480be);
    background-repeat: repeat-x;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
    text-align: right;
    float: left;
    font-size: 12px;
    height: 100%;
    width: 0;
}

.input-prompt {
    display: inline;
    position: absolute;
    font-style: italic;
    color: #aaa;
    margin: 7px 0 0 7px;
}

.loading-span {
    display: inline;
    margin: 0 !important;
    position: absolute;
    opacity: .3;
}

.ui-datepicker-inline {
    margin-left: 0 !important;
}

div.form .hasTimepicker,
.hasTimepicker {
    margin-right: 0;
    margin-top: 0;
}

.ui-datepicker-trigger {
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}

#updateBox {
    margin-top: 10px;
}

.fast_info {
    padding: 5px;
    margin-bottom: 5px;
    line-height: 1.2em;
    font-size: 12px;
}

.fast_info.active {
    border: 1px solid #ccc;
}

.fast_info table td {
    padding: 5px 7px 8px;
    vertical-align: top;
}

.fast_info td.fastInfoBlue {
    background-color: #4788ff;
}

.fast_info td.fastInfoGreen {
    background-color: #40e33e;
}

.fast_info td.fastInfoRed {
    background-color: #f00;
}

td.datepickerColumn,
.nowrap {
    white-space: nowrap;
}

.backToTop {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    position: fixed;
    right: 3%;
    bottom: 0;
    text-decoration: none;
    color: #000;
    background-color: rgba(235, 235, 235, 0.8);
    font-size: 12px;
    padding: 1em;
    display: none;
}

.backToTop:hover {
    background-color: rgba(135, 135, 135, 0.5);
}

.page-break {
    page-break-before: always;
    margin-top: 30px;
}

.page-break-avoid {
    page-break-inside: avoid;
}

.form-padding {
    padding-left: 130px;
}

.form-margin {
    margin-left: 130px;
}

.checkmark,
img.cancel,
.xmark {
    display: inline-block;
    background-size: 16px auto;
    height: 16px;
    margin: 0 0 8px 5px;
    width: 16px;
    vertical-align: middle;
}

.checkmark {
    background-image: url('../images/checkmark.png');
}

img.cancel,
.xmark {
    background-image: url('../images/cancel.png');
}

table.bordered td {
    border: 1px solid #ddd;
}

/** ui-state and ui-widget styles are also defined in bootstrap  */
.ui-state-highlight {
    border: 1px solid #fff !important;
    background: #fff url(../images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #aaa !important;
    background: #fff url(../images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x !important;
}

table.yiiLog td {
    border-top: 1px solid #000 !important;
}

table.yiiLog tr.long td:nth-child(1),
table.yiiLog tr.long td:nth-child(2),
table.yiiLog tr.long td:nth-child(5) {
    color: #f00;
    font-weight: bold;
}

table.yiiLog tr.med td:nth-child(1),
table.yiiLog tr.med td:nth-child(2),
table.yiiLog tr.med td:nth-child(3) {
    color: #ffa500;
    font-weight: bold;
}

table.yiiLog tr td pre {
    /* white-space: nowrap; */
}

.weather-event {
    /*float: right;*/
    line-height: 40px;
    font-size: 25px;
    padding: 2px 10px;
    background: #fff6bf;
    color: #514721;
    border: 2px solid #ffd324;
}

a.disabled {
    opacity: .5;
    pointer-events: none;
    cursor: default;
}

#map_new,
#map_billing_new {
    width: 500px;
    height: 300px;
}

.layout-hint {
    float: right;
    background-color: lightblue;
    color: white;
}

.template-hint,
.red-warning {
    background-color: red;
    color: white;
}

.scenario-hint {
    background-color: yellowgreen;
    color: saddlebrown;
}

.action-hint {
    background-color: #d6fc18;
    color: #000;
}

.form-hint {
    background-color: #fcf78b;
    color: saddlebrown;
}

.debug-hint {
    background-color: #fccd20;
    color: saddlebrown;
}

/** health-and-safety documents */
.health-and-safety {
    /*padding: 20px 10px;*/
}

/** Areas - Walls */

.section-border-top {
    border-top: 1px solid #eee;
}

#pdfBody .grid-view table.items {
    border-collapse: unset;
}

#pdfBody h1,
#pdfBody h2,
#pdfBody h3,
#pdfBody h4,
#pdfBody h5,
#pdfBody h6 {
    color: #111;
    /* text-rendering: optimizelegibility;*/
    text-rendering: unset;
}

.file-upload-grid th {
    background-color: #f9f9f9;
}

/** Date Now */
#pageBody .ui-datepicker td.ui-datepicker-today-nz,
#pageBody .ui-datepicker td.ui-datepicker-today-nz a.ui-state-default,
#pageBody .ui-datepicker td.ui-datepicker-today-nz a.ui-state-highlight {
    font-weight: bold;
    /*background-color: #e5ebfe;*/
    background-color: #e5ebfe !important;
    background-image: none !important;
}

/** Override Bootstrap  */
#pageBody .ui-datepicker td a.ui-state-default:hover,
#pageBody .ui-datepicker td a.ui-state-highlight:hover {
    color: #404040;
    /*background-color: #0064cd;*/
    /*background: #0064cd url(none) !important;*/
    /*background-image: none !important;*/
    /*background-color: #e5ebfe;*/
    /*background: #e5ebfe url(none) !important;*/
    background-color: #e5ebfe !important;
    background-image: none !important;
}

#pageBody .ui-datepicker td.ui-datepicker-current-day a.ui-state-active {
    color: red;
}

#pageBody .ui-datepicker td.ui-datepicker-alert-danger a {
    color: darkgreen;
    text-decoration: line-through;
}

#pageBody .ui-datepicker td.ui-datepicker-visit-date a {
    color: darkgreen !important;
    background-color: #9ACD32 !important;
    background-image: none;
}

td.ui-datepicker-alert-danger > span.ui-state-default,
td.ui-datepicker-alert-danger > a.ui-state-default {
    background-color: #eec9aa;
    background-image: none;
    color: #b41400;
    text-decoration: line-through;
}

td.ui-datepicker-alert-warning > span.ui-state-default,
td.ui-datepicker-alert-warning > a.ui-state-default {
    background-color: #f3e37c;
    background-image: none;
    color: #fd4300;
    /*text-decoration: line-through;*/
}
/**
* normally an element with .ui-state-disabled cannot be clicked
* we cannot (easily) remove the .ui-state-disabled class so we
* re-enable it when that class appears alongside .ui-datepicker-alert-danger
*/
.ui-state-disabled.ui-datepicker-alert-danger {
    cursor: pointer !important;
    pointer-events: all;
}

.grid-view-loading {
    position: relative;
}

.grid-view-loading:after {
    content: " ";
    z-index: 10;
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
}

.grid-view thead tr.filters {
    background: rgb(96, 135, 176);
}

/** Export to Excel buttons */
.btnExportExcel {
    float: right;
    margin: 10px;
}

/**
edit apugh 2018-06-03
rotate labels on graphs
index.php?r=callLog/jobRevenue
*/
.visualize-labels-x li span.label {
    transform: rotate(90deg);
}

.currency,
.item-currency {
    text-align: right !important;
}

.currency:before,
.item-currency:before {
    content: "$";
}

.currency-total {
    border-bottom: 1px solid black;
}


.percentage,
.item-percentage {
    text-align: right !important;
}

.percentage:after,
.item-percentage:after {
    content: "%";
}

/**
@edit apugh 05-Sep-18 9:48 PM
preformatted text for developerAppLogs_Grid.php
preformatted text for Caorda debug
*/
.pre-text {
    white-space: pre;
    line-height: 1;
}

/**
@edit apugh 25-Oct-18
Remove spinners from input numeric
https://stackoverflow.com/questions/3790935/can-i-hide-the-html5-number-input-s-spin-box
 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    /* <-- Apparently some margin are still there even though it's hidden */
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

#invoice-grid-new tbody td.item-total {
    font-weight: bolder;
}

.price-changed:before {
    content: "*";
    color: red;
    font-weight: bold;
    float: left;
}

/*
@see .backToTop - this one is relative positioned
*/

.anchorNav {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    position: relative;
    text-decoration: none;
    color: #000;
    background-color: rgba(235, 235, 235, 0.8);
    font-size: 12px;
    padding: 1em;
    display: block;
}

.anchorNav:hover {
    background-color: rgba(135, 135, 135, 0.5);
}

/***
These are the UI Overrides we want to employ for bootstrap

 #212529 => #eff4fa
 #ffc107 => #125eab AND rgba(255, 193, 7, 0.5) => rgba(83, 157, 199, 0.5)
 @todo check for correct replacement for rgba(83, 157, 199, 0.5) - should match #125eab
 @todo correction is rgba(18, 94, 171, 0.5) - should match #125eab

 #e0a800 => #5888b6
 #d39e00 => #476d92
 #c69500 => #34506b

 #f5c6cb => #fed9d9
 #f1b0b7 => #dfa3aa

*/

.btn-group > .btn:not(:first-child) {
    border-left: 1px dotted white;
}

.btn-light,
.btn-primary,
.btn-secondary,
.btn-info,
.btn-success,
.btn-warning,
.btn-outline-success {
    color: #eff4fa;
    /*.bg-chemdry-blue*/
    background: #125eab;
    /*.bg-chemdry-blue*/
    border-color: #125eab;
}

.btn-light:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-info:hover,
.btn-success:hover,
.btn-warning:hover,
.btn-outline-success:hover,
.btn.selected {
    color: #eff4fa;
    background: #5888b6;
    border-color: #476d92;
}

.btn-danger {
    /*color: #fff !important;*/
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

.btn-light:not(:disabled):not(.disabled):focus, .btn-light:not(:disabled):not(.disabled).focus,
.btn-primary:not(:disabled):not(.disabled):focus, .btn-primary:not(:disabled):not(.disabled).focus,
.btn-secondary:not(:disabled):not(.disabled):focus, .btn-secondary:not(:disabled):not(.disabled).focus,
.btn-info:not(:disabled):not(.disabled):focus, .btn-info:not(:disabled):not(.disabled).focus,
.btn-success:not(:disabled):not(.disabled):focus, .btn-success:not(:disabled):not(.disabled).focus,
.btn-danger:not(:disabled):not(.disabled):focus, .btn-danger:not(:disabled):not(.disabled).focus,
.btn-outline-success:not(:disabled):not(.disabled):focus, .btn-outline-success:not(:disabled):not(.disabled).focus,
.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active
.btn-light:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-info:not(:disabled):not(.disabled):active:focus,
.btn-success:not(:disabled):not(.disabled):active:focus,
.btn-warning:not(:disabled):not(.disabled):active:focus,
.btn-outline-success:not(:disabled):not(.disabled):active:focus {
    color: #eff4fa;
    background: #5888b6;
    border-color: #476d92;
    box-shadow: 0 0 0 0.2rem rgba(18, 94, 171, 0.5);
}

.btn-light:disabled, .btn-light.disabled,
.btn-primary:disabled, .btn-primary.disabled,
.btn-secondary:disabled, .btn-secondary:disabled,
.btn-info:disabled, .btn-info.disabled,
.btn-success:disabled, .btn-success.disabled,
.btn-warning:disabled, .btn-warning.disabled,
.btn-danger:disabled, .btn-danger.disabled,
.btn-outline-success:disabled, .btn-outline-success.disabled {
    color: #212529;
    /*.bg-chemdry-blue*/
    background-color: #125eab;
    /*.bg-chemdry-blue*/
    border-color: #125eab;
    cursor: not-allowed;
}

.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light.dropdown-toggle,
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle,
.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle,
.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle,
.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle,
.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
    color: #212529;
    background-color: #476d92;
    border-color: #34506b;
    /*color: #fff;*/
    /*background-color: #35AF40;*/
    /*border-color: #19541e;*/

}

.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
.show > .btn-light.dropdown-toggle:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus,
.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-info.dropdown-toggle:focus,
.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-success.dropdown-toggle:focus,
.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
.show > .btn-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(18, 94, 171, 0.5) !important;
}

.table th,
.table td {
    border-top: 1px white solid;
}

.table thead th {
    border-bottom: 1px white solid;
}

.table tbody + tbody {
    border-top: 1px white solid;
}

.table .table {
    background-color: #fff;
}

.table th,
.table td {
    font-size: 0.9em !important;
    border: 1px white solid !important;
    padding: 0.3em !important;
}

.table > th,
.table > td {
    font-size: 0.9em !important;
    border: 1px white solid !important;
    padding: 0.3em !important;
}

.table thead tr th a {
    color: white !important;
}

.table th,
.table tbody th,
.table-striped tbody tr th,
.table-striped tbody tr:nth-of-type(odd) th,
.table-striped thead tr th,
.table-striped thead tr:nth-of-type(odd) th,
.table-striped tbody tr.table-primary td
.table-striped thead tr.table-primary td
.table-striped tbody tr.section td {
    /*.bg-chemdry-blue*/
    background: rgb(125, 182, 213) url('bg.png') repeat-x scroll left top !important;
    /*background: rgb(125, 182, 213) url('bg.png') repeat-x scroll left top !important;*/
    background: rgb(18, 94, 171) !important;
    font-weight: bold !important;
    color: white !important;
}

.table-striped tbody tr,
.table tbody tr.even {
    background-color: rgb(229, 241, 244) !important;
    background-color: rgba(18, 94, 171, 0.1) !important;
}

.table-striped tbody tr:nth-of-type(odd),
.table tbody tr.odd {
    background-color: rgb(248, 248, 248) !important;
    background-color: rgba(18, 94, 171, 0.05) !important;
}

.table-striped tbody tr:nth-child(2n+1) .table-warning td,
.table-striped tbody tr:nth-child(2n+1) td.table-warning,
.table-striped tbody tr.table-warning td {
    background-color: #ffeeba !important;
}

.table-striped tbody tr.table-primary td,
.table-striped thead tr.table-primary td,
.table-striped tbody tr.section td,
.table-striped thead tr.section td {
    /*.bg-chemdry-blue*/
    background: rgb(125, 182, 213) url('bg.png') repeat-x scroll left top !important;
    /*background: rgb(125, 182, 213) url('bg.png') repeat-x scroll left top !important;*/
    background: rgb(18, 94, 171) !important;
    font-weight: bold !important;
    color: white !important;
    font-size: 150% !important;
    padding: 0.5em 0 0.5em 1em !important;
}

.table-striped tbody tr.table-secondary td,
.table-striped thead tr.table-secondary td,
.table-striped tbody tr.section td,
.table-striped thead tr.section td,
.table-striped tbody tr.table-secondary th,
.table-striped thead tr.table-secondary th,
.table-striped tbody tr.section th,
.table-striped thead tr.section th {
    /*.bg-chemdry-blue*/
    /*background: rgb(125, 182, 213) url('bg.png') repeat-x scroll left top !important;*/
    background: rgb(14, 74, 134) !important;
    font-weight: bold !important;
    color: white !important;
    font-size: 150% !important;
    padding: 0.5em 0 0.5em 1em !important;
}

.table-success,
.table-success > th,
.table-success > td {
    background-color: #ecfbd4 !important;
}

.table-hover .table-success:hover {
    background-color: #b1dfbb;
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
    background-color: #b1dfbb;
}

td.table-warning,
.table-warning,
    /*.table-warning > th,*/
.table-warning > td {
    background-color: #ffeeba !important;
}

.table-hover .table-warning:hover {
    background-color: #ffe8a1;
}

.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
    background-color: #ffe8a1;
}

td.table-danger,
.table-danger,
    /*.table-danger > th,*/
.table-danger > td {
    background-color: #f5c6cb !important;
}

.table-hover .table-danger:hover {
    background-color: #f1b0b7;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
    background-color: #f1b0b7;
}

td.table-info,
.table-info,
    /*.table-danger > th,*/
.table-info > td {
    background-color: #bee5eb !important;
}

.table-hover .table-info:hover {
    background-color: #abdde5;
}

.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
    background-color: #abdde5;
}

div.form .btn-group input[type="submit"],
div.form .btn-group input[type="button"],
div.form .btn-group button {

    margin-right: 0px;
}

.form-group {
    margin-bottom: 0.75rem;
}

/** 2019-02-22 edits  */
fieldset {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 0 0 20px 0;
}

fieldset legend {
    width: auto;
}

fieldset fieldset {
    border-top: 1px dotted lightgray;
    border-right: none;
    border-bottom: none;
    border-left: none;
    margin: 0 0 5px 0;
}

.form-control::placeholder {
    opacity: 0.2;
}

.content-toggle.content-visible:after {
    content: " (Hide)";
    /*.bg-chemdry-blue*/
    color: #125eab;
}

.content-toggle:not(.content-visible):after {
    content: " (Show)";
    /*.bg-chemdry-blue*/
    color: #125eab;

}


.text-red,
span.required {
    color: #f00;
}

/** float caret right on toggle dropdown menu items */
.dropright .dropdown-toggle::after {
    /*float: right;*/
}

/** Developer only Buttons/Links */
.developer-only,
.btn-developer-only,
th.developer-only,
td.developer-only,
.table-striped tbody tr:nth-child(2n+1) .table-warning td.developer-only,
.table-striped tbody tr:nth-child(2n+1) td.developer-only,
.table-striped tbody tr.table-warning td.developer-only {
    color: yellow !important;
    background: none rebeccapurple !important;
}

.btn-developer-only.selected {
    color: rebeccapurple !important;
    background: none yellow !important;
}

.developer-only a {
    color: yellow;
    text-decoration: none;
    transition: all ease-in-out 0.25s;
}

.developer-only a:hover,
.developer-only a:focus {
    color: orange;
}

label.required:before {
    content: "*";
    color: red;
}

label.required::before {
    content: "*";
    color: red;
}

label.required .required {
    display: none;
    visibility: hidden;
}

.form-control[required]:focus,
label.required + .form-control:focus {
    border-color: red;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}

.star-rating-control:after {
    content: "";
    clear: both;
    display: block;
}

.star-rating-control::after {
    content: "";
    clear: both;
    display: block;
}

.btn-group .btn {
    margin-right: 0;
}

.form-inline .form-control + .btn,
.input-group .form-control + .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-top: 7px;
    padding-bottom: 8px;
}

@media only screen and (min-width: 0px) {
    table td.col, table th.col {
        width: auto;
    }

    table td.col-1, table th.col-1 {
        width: 8.33333%;
    }

    table td.col-2, table th.col-2 {
        width: 16.66667%;
    }

    table td.col-3, table th.col-3 {
        width: 25%;
    }

    table td.col-4, table th.col-4 {
        width: 33.33333%;
    }

    table td.col-5, table th.col-5 {
        width: 41.66667%;
    }

    table td.col-6, table th.col-6 {
        width: 50%;
    }

    table td.col-7, table th.col-7 {
        width: 58.33333%;
    }

    table td.col-8, table th.col-8 {
        width: 66.66667%;
    }

    table td.col-9, table th.col-9 {
        width: 75%;
    }

    table td.col-10, table th.col-10 {
        width: 83.33333%;
    }

    table td.col-11, table th.col-11 {
        width: 91.66667%;
    }

    table td.col-12, table th.col-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 0px) {
    table td.col-xs, table th.col-xs {
        width: auto;
    }

    table td.col-xs-1, table th.col-xs-1 {
        width: 8.33333%;
    }

    table td.col-xs-2, table th.col-xs-2 {
        width: 16.66667%;
    }

    table td.col-xs-3, table th.col-xs-3 {
        width: 25%;
    }

    table td.col-xs-4, table th.col-xs-4 {
        width: 33.33333%;
    }

    table td.col-xs-5, table th.col-xs-5 {
        width: 41.66667%;
    }

    table td.col-xs-6, table th.col-xs-6 {
        width: 50%;
    }

    table td.col-xs-7, table th.col-xs-7 {
        width: 58.33333%;
    }

    table td.col-xs-8, table th.col-xs-8 {
        width: 66.66667%;
    }

    table td.col-xs-9, table th.col-xs-9 {
        width: 75%;
    }

    table td.col-xs-10, table th.col-xs-10 {
        width: 83.33333%;
    }

    table td.col-xs-11, table th.col-xs-11 {
        width: 91.66667%;
    }

    table td.col-xs-12, table th.col-xs-12 {
        width: 100%;
    }
}

/** Small [sm] */
@media only screen and (min-width: 576px) {
    table td.col-sm, table th.col-sm {
        width: auto;
    }

    table td.col-sm-1, table th.col-sm-1 {
        width: 8.33333%;
    }

    table td.col-sm-2, table th.col-sm-2 {
        width: 16.66667%;
    }

    table td.col-sm-3, table th.col-sm-3 {
        width: 25%;
    }

    table td.col-sm-4, table th.col-sm-4 {
        width: 33.33333%;
    }

    table td.col-sm-5, table th.col-sm-5 {
        width: 41.66667%;
    }

    table td.col-sm-6, table th.col-sm-6 {
        width: 50%;
    }

    table td.col-sm-7, table th.col-sm-7 {
        width: 58.33333%;
    }

    table td.col-sm-8, table th.col-sm-8 {
        width: 66.66667%;
    }

    table td.col-sm-9, table th.col-sm-9 {
        width: 75%;
    }

    table td.col-sm-10, table th.col-sm-10 {
        width: 83.33333%;
    }

    table td.col-sm-11, table th.col-sm-11 {
        width: 91.66667%;
    }

    table td.col-sm-12, table th.col-sm-12 {
        width: 100%;
    }
}

/** Medium [md] */
@media only screen and (min-width: 768px) {
    table td.col-md, table th.col-md {
        width: auto;
    }

    table td.col-md-1, table th.col-md-1 {
        width: 8.33333%;
    }

    table td.col-md-2, table th.col-md-2 {
        width: 16.66667%;
    }

    table td.col-md-3, table th.col-md-3 {
        width: 25%;
    }

    table td.col-md-4, table th.col-md-4 {
        width: 33.33333%;
    }

    table td.col-md-5, table th.col-md-5 {
        width: 41.66667%;
    }

    table td.col-md-6, table th.col-md-6 {
        width: 50%;
    }

    table td.col-md-7, table th.col-md-7 {
        width: 58.33333%;
    }

    table td.col-md-8, table th.col-md-8 {
        width: 66.66667%;
    }

    table td.col-md-9, table th.col-md-9 {
        width: 75%;
    }

    table td.col-md-10, table th.col-md-10 {
        width: 83.33333%;
    }

    table td.col-md-11, table th.col-md-11 {
        width: 91.66667%;
    }

    table td.col-md-12, table th.col-md-12 {
        width: 100%;
    }
}

/** Large [lg] */
@media only screen and (min-width: 992px) {
    table td.col-lg, table th.col-lg {
        width: auto;
    }

    table td.col-lg-1, table th.col-lg-1 {
        width: 8.33333%;
    }

    table td.col-lg-2, table th.col-lg-2 {
        width: 16.66667%;
    }

    table td.col-lg-3, table th.col-lg-3 {
        width: 25%;
    }

    table td.col-lg-4, table th.col-lg-4 {
        width: 33.33333%;
    }

    table td.col-lg-5, table th.col-lg-5 {
        width: 41.66667%;
    }

    table td.col-lg-6, table th.col-lg-6 {
        width: 50%;
    }

    table td.col-lg-7, table th.col-lg-7 {
        width: 58.33333%;
    }

    table td.col-lg-8, table th.col-lg-8 {
        width: 66.66667%;
    }

    table td.col-lg-9, table th.col-lg-9 {
        width: 75%;
    }

    table td.col-lg-10, table th.col-lg-10 {
        width: 83.33333%;
    }

    table td.col-lg-11, table th.col-lg-11 {
        width: 91.66667%;
    }

    table td.col-lg-12, table th.col-lg-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 1200px) {
    table td.col-xl, table th.col-xl {
        width: auto;
    }

    table td.col-xl-1, table th.col-xl-1 {
        width: 8.33333%;
    }

    table td.col-xl-2, table th.col-xl-2 {
        width: 16.66667%;
    }

    table td.col-xl-3, table th.col-xl-3 {
        width: 25%;
    }

    table td.col-xl-4, table th.col-xl-4 {
        width: 33.33333%;
    }

    table td.col-xl-5, table th.col-xl-5 {
        width: 41.66667%;
    }

    table td.col-xl-6, table th.col-xl-6 {
        width: 50%;
    }

    table td.col-xl-7, table th.col-xl-7 {
        width: 58.33333%;
    }

    table td.col-xl-8, table th.col-xl-8 {
        width: 66.66667%;
    }

    table td.col-xl-9, table th.col-xl-9 {
        width: 75%;
    }

    table td.col-xl-10, table th.col-xl-10 {
        width: 83.33333%;
    }

    table td.col-xl-11, table th.col-xl-11 {
        width: 91.66667%;
    }

    table td.col-xl-12, table th.col-xl-12 {
        width: 100%;
    }
}

#page > .container {
    padding-left: 0;
    padding-right: 0;
}

.header-container {
    background: #fff;
}

/** Large [lg] */
@media only screen and (min-width: 992px) {
    .navbar-toggler {
        display: none;
        visibility: hidden;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .navbar-nav .dropdown-menu {
        float: left;
        position: absolute;
    }

    .nav-item {
        padding: 0 4px;
    }
}

.max-width-100 {
    max-width: 100%;
}

.dropdown-menu {
    border: 2px solid #e4e4e4;
    background: #fbfbfb;
    padding: 0.25rem 0;
    border-radius: 0;
    /*
    Need to bring this further to the foreground as sticky table
    headers conceal this at a bootstrap default of 1000 and sticky
    headers (.sticky-top) are at 1020 in position.css
    */
    z-index: 1500;

}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #954499;
}

.site-footer {
    /*.bg-chemdry-blue*/
    background: #125eab;
    /*color: #0079de;*/
    /*color: #f0f2ff;*/
    color: #fff;
}

.site-footer a {
    /*color: #0079de;*/
    /*color: #f0f2ff;*/
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/**
This is the Chem-Dry Blue
#125eab OR rgba(18, 94, 171, 100);
 */
.bg-chemdry-blue {
    /*.bg-chemdry-blue*/
    background: rgba(18, 94, 171, 100);
    background: #125eab;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #fff;
}

.input-group-prepend .btn,
.input-group-append .btn {
    margin: 0;
    display: flex;
    padding: .375rem .75rem;
}

.input-group-prepend [class*="icon-"],
.input-group-append [class*="icon-"] {
    /* - removed to centre icons in buttons */
    /*margin-top: 0;*/
}

.p-static {
    position: static !important;
}

.p-relative {
    position: relative !important;
}

.p-absolute {
    position: absolute !important;
}

a {
    /*.bg-chemdry-blue*/
    color: #125eab;
    text-decoration: none;
    transition: all ease-in-out 0.25s;
}

a:hover,
a:focus {
    color: #95459a;
}

.btn-group {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

.btn-group-horizontal {
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-align: baseline;
    align-items: baseline;
}

/** Small [sm] */
@media only screen and (min-width: 576px) {
    .btn-group-sm-horizontal {
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: baseline;
        align-items: baseline;
    }

    .btn-group-sm-vertical {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/** Medium [md] */
@media only screen and (min-width: 768px) {
    .btn-group {
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: baseline;
        align-items: baseline;
        width: auto;
    }

    .btn-group-md-horizontal {
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: baseline;
        align-items: baseline;
    }

    .btn-group-md-vertical {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/** Large [lg] */
@media only screen and (min-width: 992px) {
    .btn-group-lg-horizontal {
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: baseline;
        align-items: baseline;
    }

    .btn-group-lg-vertical {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/** Extra Large [xl] */
@media only screen and (min-width: 1200px) {
    .btn-group-xl-horizontal {
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: baseline;
        align-items: baseline;
    }

    .btn-group-xl-vertical {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

.fileupload-buttonbar {
    position: relative;
}

.fileupload-buttonbar .btn {
    position: relative;
}

.fileupload-buttonbar input[type="file"] {
    transform: none;
    cursor: pointer;
}

.pager {
}

.pagination {
    padding-inline-start: 25%;
    padding-inline-end: 25%;
}

.pagination .first,
.pagination .previous,
.pagination .next,
.pagination .last {
    display: none;
    visibility: hidden;
}

#invoice-grid-new-table .input-group-prepend,
#invoice-grid-new-totals .input-group-prepend {
    display: none;
    visibility: hidden;
}

/** Small [sm] */
@media only screen and (min-width: 576px) {

    .pagination .first,
    .pagination .previous,
    .pagination .next,
    .pagination .last {
        display: inline;
        visibility: visible;
    }

    .pagination {
        padding-inline-start: unset;
        padding-inline-end: unset;
    }
}

/** Large [lg] */
@media only screen and (min-width: 992px) {
    .hidden-lg {
        display: none;
        visibility: hidden;
    }


    .table-moisture-readings-visit .input-group-prepend,
    .table-moisture-readings-visit .input-group-append,
    #invoice-grid-new-table .input-group-prepend,
    #invoice-grid-new-totals .input-group-prepend {
        display: flex;
        visibility: visible;
    }
}

/**
Job Folder Colours for DashBoard view
 */
.job-folder-red {
    background-color: #f5c6cb;
}

.job-folder-blue {
    background-color: #7db6d5;
}

.job-folder-green {
    background-color: #b1dfbb;
}

.job-folder-yellow {
    background-color: #ffa;
}

.job-folder-orange {
    background-color: #ffe6b3;
}


/** views/jobs/_jobArea.php */
.item-title {
    font-weight: 600;
}

.v-align-top {
    vertical-align: top;
}

.v-align-bottom {
    vertical-align: bottom;
}


/** @edit apugh 2017-10-11 */
.row-deleted td,
.row-deleted th {
    /*text-decoration: line-through;*/
    color: #f00;
}

.row-disabled td,
.row-disabled th {
    /*text-decoration: line-through;*/
    color: #a8a8a8;
}

.row-expired td,
.row-expired th {
    /*text-decoration: line-through;*/
    color: #a8a8a8;
}

.row-error td,
.row-error th {
    /*text-decoration: line-through;*/
    background-color: #faa29d;
}


.btn-group .fileinput-button.btn {
    overflow: initial;
}

.nav.nav-content {
    position: relative;
}

.tab-content,
.tab-content .active {
    position: relative !important;
}

/* .nav.nav-tabs {
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 2px;
}

.nav.nav-tabs:after {
    clear: both;
    display: block;
    content: "↓";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    pointer-events: none;
}

.nav.nav-tabs::after {
    clear: both;
    display: block;
    content: "↓";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    pointer-events: none;
}

.nav.nav-tabs > li a {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    overflow: hidden;
    display: block;
    transition: max-height ease-in-out 0.25s, padding ease-in-out 0.25s;
}

.nav.nav-tabs > li .active {
    border: none;
    background: #dee2e6;
    max-height: 43px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.nav.nav-tabs.expanded > li a {
    max-height: 43px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.nav.nav-tabs.expanded:after {
    display: none;
}

.nav.nav-tabs.expanded::after {
    display: none;
}

.tab-content {
    display: block;
    position: relative;
}

@media only screen and (min-width: 1025px) {
    .nav.nav-tabs {
        display: flex;
        border: none;
    }

    .nav.nav-tabs:after {
        display: none;
    }
    .nav.nav-tabs::after {
        display: none;
    }
    .nav.nav-tabs > li a {
        max-height: none;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        border: 1px solid transparent;
    }
    .nav.nav-tabs > li .active {
        background: transparent;
        border: 1px solid #dee2e6;
        border-bottom-color: #fff;
    }
} */


/**
Ticket 4629
Number of columns on Invoice Grid when looking at a split estimate
causes input boxes to shink too small to enter data
*/

#invoice-grid-new.split-estimate .input-group-prepend {
    display: none;
    visibility: hidden;
}

.text-bold {
    font-weight: bold !important;
}

/**
Potential Safari Fix
 */
/*

.row:before, .row:after {
    display: none !important;
}
*/
/*

.row:before, .row:after {
    display: inline-block !important;
}
*/
#app-logs-grid-table tbody tr:not(.full-width-data-column) {
    border-top: 12px white solid !important;
}

.text-muted {
    color: #b0bfcc !important
}

/**
Visits
 */
.notes-visible {
    border-color: #C6D880;
    background: #E6EFC2;
}

.notes-internal {
    border-color: #FFD324;
    background: #FFF6BF
}

.note-itallic {
    font-style: italic;
}

.text-wrap {
    white-space: unset;
}

.no-pad {
    padding: 0;
}

/**
moistureReadings/areasGrid.php
0  => "#f7fff5",
						10 => "#e5f6f1",
						20 => "#d4edec",
						30 => "#c2e3e8",
						40 => "#b0dae3",
						50 => "#9fd1df",
						60 => "#8dc8da",
						70 => "#7bbed6",
						80 => "#6ab5d1",
						90 => "#58accd",
 */
.section-dry-standard-reached {
    color: rgba(25, 84, 30, 0.61);
    background-color: rgb(246, 246, 246);
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(107, 203, 113, 0.5));

}

.section-dry-standard-not-reached {
    color: rgba(129, 7, 0, 0.61);
    background-color: rgb(246, 246, 246);
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(195, 140, 126, 0.5));

}

.moisture-content-missing {
    background-color: #cccccc;
}

.moisture-content-0 {
    /*background-color: #f7fff5;*/
    background-color: rgba(18, 94, 171, 0.0);

}

.moisture-content-10 {
    /*background-color: #e5f6f1;*/
    background-color: rgba(18, 94, 171, 0.07);
}

.moisture-content-20 {
    /*background-color: #d4edec;*/
    background-color: rgba(18, 94, 171, 0.14);
}

.moisture-content-30 {
    /*background-color: #c2e3e8;*/
    background-color: rgba(18, 94, 171, 0.21);
}

.moisture-content-40 {
    /*background-color: #b0dae3;*/
    background-color: rgba(18, 94, 171, 0.28);
}

.moisture-content-50 {
    /*background-color: #9fd1df;*/
    background-color: rgba(18, 94, 171, 0.35);
}

.moisture-content-60 {
    /*background-color: #8dc8da;*/
    background-color: rgba(18, 94, 171, 0.42);
}

.moisture-content-70 {
    /*background-color: #7bbed6;*/
    background-color: rgba(18, 94, 171, 0.49);
}

.moisture-content-80 {
    /*background-color: #6ab5d1;*/
    background-color: rgba(18, 94, 171, 0.56);
}

.moisture-content-90 {
    /*background-color: #58accd;*/
    background-color: rgba(18, 94, 171, 0.61);
}

/**
Jobs Audit
 */
.audit-label-old, .audit-label-new {
    font-weight: bold /* !important*/;
}

.audit-label-old, .audit-value-old {
    color: slategray /* !important*/;
    font-style: italic;
}

.table-striped tbody tr.row-audit-portal-job {
    background-color: rgba(154, 203, 154, 0.52) !important;
}

.table-striped tbody tr.row-audit-portal-customer {
    background-color: rgba(238, 232, 146, 0.52) !important;
}

.table-striped tbody tr.row-audit-portal-note {
    background-color: rgba(210, 146, 238, 0.52) !important;
}

.table-striped tbody tr.row-audit-portal-estimate {
    background-color: rgb(178, 240, 252) !important;
}

.table-striped tbody tr.row-audit-portal-invoice {
    background-color: rgb(137, 186, 195) !important;
}

.table-striped tbody tr.row-audit-portal-document {
    background-color: rgb(228, 230, 247) !important;
}

.table-striped tbody tr.row-audit-portal-error {
    background-color: rgb(248, 222, 222) !important;
}

.table-striped tbody tr.row-audit-portal-warning {
    background-color: rgb(246, 218, 196) !important;
}

.table-striped tbody tr.row-audit-service-monster-job {
    background-color: rgba(117, 154, 117, 0.52) !important;
}

.table-striped tbody tr.row-audit-service-monster-site {
    background-color: rgba(203, 198, 125, 0.52) !important;
}

.table-striped tbody tr.row-audit-service-monster-account {
    background-color: rgba(203, 198, 125, 0.52) !important;
}

.table-striped tbody tr.row-audit-service-monster-sync {
    font-weight: bold;
}

.table-striped tbody tr.row-audit-internal {
    font-weight: bold;
}

.grayout {
    opacity: 0.6; /* Real browsers */
    filter: alpha(opacity=60); /* MSIE */
}

.gray-bg {
    background-color: lightgray;
}

/**
Utility
 */

.font-larger,
.table td.font-larger {
    font-size: 1.2rem !important;
}

.developer-status {
    color: white;
}

.sm-source-primary:after {
    content: " (SM Primary Contact)";
    float: right;
    color: lightgray;
    font-size: 0.75em;
}

.sm-source-account:after {
    content: " (SM Account)";
    float: right;
    color: lightgray;
    font-size: 0.75em;
}

.xero-button span {
    padding-top: 0.5rem;
    padding-left: 1rem;
}

/**
Price list time remaining
 */

/*.table-striped tbody tr td.remain-40,*/
/*.table-striped tbody tr:nth-child(2n+1) td.remain-40 {*/
/*    position: relative;*/
/*}*/
/*.table-striped tbody tr td.remain-40::before*/
/*.table-striped tbody tr:nth-child(2n+1) td.remain-40::before{*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 0;*/
/*    height: 100%;*/
/*    background-color: red;*/
/*    z-index: -1;*/
/*}*/

/*.table-striped tbody tr td.remain-40::before,*/
/*.table-striped tbody tr:nth-child(2n+1) td.remain-40::before {*/
/*    width: 40%;*/
/*}*/
.is-future-pricelist {
    font-style: italic;
    color: darkgrey;
}


td div.progress-bar {
    background-color: #f7f7f7;
    background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
    background-repeat: repeat-x;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1) inset;
    height: 20px;
    margin: 0;
    overflow: hidden;
}

.progress-bar .bar {
    -moz-box-sizing: border-box;
    background-color: #0e90d2;
    background-image: linear-gradient(to bottom, #149bdf, #0480be);
    background-repeat: repeat-x;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
    text-align: right;
    float: left;
    font-size: 12px;

    min-height: 60px;
}

iframe {
    border: 0px;
}

.tiny-text {
    font-size: 10px;
}

/** toggle visibility display of call log fields not visible to tech but whose values are required for the postback */
form.call-log-form-tech .hide-for-tech {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

/**
    https://chemdrynz.freshdesk.com/a/tickets/5561
    Bolding highlighted areas [Asbestos Reason] is this possible ?
 */
#input-asbestos-present-reason {
    font-weight: bold;
    color: red;
}

/** Small text */
.small-print {
    font-size: 0.65rem;
}


.bee-bot-bait {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

#pnl-tag-image .uploaded-img-container {
    text-align: center;
}

#pnl-tag-image .uploaded-img-container img {
    min-width: 100%;
    max-width: 100%;
    object-fit: cover;
}

#pnl-tag-image .uploaded-img-container img.application-icon {
    min-width: 150px;
    /*max-width: 150px;
    object-fit: cover;*/
}

ul.autocomplete-results-quick-tag li {
    background-color: #6ab5d1;
    border: none;
}

ul.autocomplete-results-quick-tag li:nth-child(2n+1) {
    background-color: rgba(106, 181, 209, 0.27);
}

#job-details-form fieldset fieldset legend {
    font-size: 1.2rem;
}

#job-details-form fieldset fieldset > div {
    padding-left: 10px;
}


/** Head-Office-Reports */
.total-cell {
    background-color: rgba(174, 183, 185, 0.2);
    font-weight: bold;
}
.total-row .total-cell {
    background-color: rgba(142, 149, 150, 0.2);
    font-weight: bold;
}

/** Job Tabs migration */
.tab-content > .tab-pane {
    min-height: 350px;
}
/** QR Code Scanner - START */
.qr-scanner-container {
    max-width: 600px;
    background-color: #fff;
    border-radius: 8px;
}

.qr-scanner-feed {
    width: 100%;
    /* Limit scanner width */
    max-width: 400px;
    margin: 20px 0 0 0;
    border-radius: 8px;
    /* Ensures video fits within border-radius */
    overflow: hidden;
    /* Hidden by default */
    display: none;
}

/* Style the video element inside .qr-scanner-feed */
.qr-scanner-feed video {
    /* Force video to fill div */
    width: 100% !important;
    height: auto !important;
    display: block;
}

.qr-scanner-message.message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.qr-scanner-message.message.error {
    background-color: #ffe0e0;
    color: #cc0000;
    border: 1px solid #cc0000;
}

.qr-scanner-message.message.info {
    background-color: #e0f7fa;
    color: #007bff;
    border: 1px solid #007bff;
}
/** QR Code Scanner - END */

/** Fix autocomplete dropdowns when there is a table underneath that has a fixed header */
.ui-front {
    z-index: 3000;
}

/** Tech Qualifications */
#progressContainer {
    background-color: #eee;
    height: 20px;
    width: 100%;
    border-radius: 5px;
}

#progressBar {
    background-color: #4caf50;
    height: 100%;
    width: 0%;
    border-radius: 5px;
}

.cert-issuer-IICRC + label {
    color: green;
}

.cert-issuer-Chem-Dry + label {
    color: darkblue
}
/** Job Area data input form [job-area-form] */

#affected-area-buttons label.btn-info:not(:disabled):not(.disabled):not(.active){
    box-shadow: none;
    background-color: #476d92;
    color: #c2c2c2;
    border-color: #476d92;
    text-decoration: line-through;
}


#affected-area-buttons label.btn-info:not(:disabled):not(.disabled).active{
    box-shadow: none;
    color: white;
    background-color: #0a8540;
    border-color: #2f6431;
}

#affected-area-buttons label.btn-info:not(:disabled):not(.disabled).active:after{
    content: "\2713"; /* Unicode for the checkmark symbol */
    margin-left: 5px; /* Adjust spacing as needed */
    color: white; /* Set the color of the tick mark */
    font-weight: bold; /* Make the tick mark bolder */
}
#affected-area-buttons label.btn-info:not(:disabled):not(.disabled):not(.active):after{
    content: "\00d7"; /* Unicode for the checkmark symbol */
    margin-left: 5px; /* Adjust spacing as needed */
    color: #c2c2c2; /* Set the color of the tick mark */
    font-weight: bold; /* Make the tick mark bolder */
}

.form-control.error, label.error {
    border-color: red;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}
/** Sticky header for Job Area Form Save button(s) */
.sticky-header-form .sticky-header {
    position: sticky;
    top: 0; /* Sticks to the very top of the viewport */
    background-color: #f0f0f0; /* Optional: Add background for visibility */
    padding: 5px; /* Optional: Add padding */
    z-index: 1500; /* Optional: Ensure it stays on top of other content */
}


/** Initial Visit Report - relocated from wiInitialVisitReportPDF.php */
/** Initial Visit Report - @todo - this may now be an obsolete section or may be duplicated in the PDF css for the merged WiReport */
#job-visit-grid table, td, tr {
    text-align: left;
    border-collapse: collapse;
}

#job-visit-grid .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

#job-visit-grid .table th, .table td {
    font-size: 0.9em !important;
    border: 1px white solid !important;
    padding: 0.3em !important;
    vertical-align: top;
}

#job-visit-grid .item-title {
    font-weight: 600;
}

#job-visit-grid hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
}

#job-visit-contact-grid-table {
    margin: 0;
}

#job-visit-contact-grid-table .table-striped tbody tr {
    background-color: rgb(229, 241, 244);
    background-color: rgba(18, 94, 171, 0.1);
}

#job-visit-contact-grid-table .table-striped tbody tr:nth-of-type(2n+1),
#job-visit-contact-grid-table .table tbody tr.odd {
    background-color: rgb(248, 248, 248) !important;
    background-color: rgba(18, 94, 171, 0.05) !important;
}

#job-visit-contact-grid-table .text-right {
    text-align: right !important;
}

.photo-grid-fieldset legend {
    page-break-after: avoid;
}

.photo-grid {
    page-break-before: avoid;
}
/**
Tab pills
 */
.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.nav-pills > li > a {
    border-radius: 4px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #fff;
    background-color: #337ab7;
}

