/* Add here all your CSS customizations */
.text-xs {
    font-size: 12px;
    line-height: 16px;
}
.text-sm {
    font-size: 14px;
    line-height: 22px;
}

.pagination-select {
    border: 1px solid #e5e7e9;
    border-radius: 4px;
    height: 30px;
    outline: medium none;
    padding: 4px;
    font-size: 12px;
}

.hover-table-info tr:hover {
    background-color: #D9EDF7;
}
.hover-highlight:hover {
    background-color: #ECF7FF;
}
.hover-highlight.active {
    background-color: #DAEFFF;
}

.hover-table-info tbody tr:hover td {
    background-color: #ECF7FF;
}

.bulk-checked td {
    background-color: #DAEFFF;
}

.hover-table-info .deletebtn:hover {
    background-color: #DAEFFF;
    border-color: #DAEFFF;
}

.panel-info-dark > .panel-heading {
    background-color: #105286;
    color: white;
    font-weight: bold;
}

.table-content-bordered {
    border: 1px solid #ebebeb;
}

.record-count {
    padding: 8px;
}

.contact-phone-cell {
    display: table-cell;
    padding: 3px 10px 3px 3px;
}

.contact-phone-row {
    display: table-row;
}

.td-min-width-180 {
    min-width: 180px;
}


.like-table-header,
.table-solid th,
.table-striped th,
.hover-table-info th,
.table-condensed thead th,
.table-responsive thead th {
    background-color: #fff;
    text-transform: uppercase;
    color: #00355B;
    font-weight: bold;
}

.table-solid tbody,
.table-striped tbody,
.hover-table-info tbody,
.table-condensed tbody,
.table-responsive tbody,
.table-condensed tfoot,
.table-responsive tfoot {
    background-color: #fff;
}

.table-solid tbody tr td,
.table-striped tbody tr td,
.hover-table-info tbody tr td {
    vertical-align: middle;
}

.table > tbody > tr.subset td {
    border-top: none;
    padding-left: 21px;
}

.clockshark-blue-color {
    color: #005288;
}

.clockshark-blue-background {
    background-color: #005288;
}

.dash-color {
    color: #ccc9c9;
}

.negative-value {
    color: #b94a48;
}

.GetMobile {
    font-size: 24px;
    text-align: center;
    color: #005288;
}

.UseMobile {
    font-size: 14px;
    text-align: center;
    color: #212325;
}

/* Approvals View */
#approvals-title {
    margin-bottom: 13px;
}
#approvals-title h1 {
    line-height: 38px;
    margin: unset;
}

.action-btn-width .material-icons {
    vertical-align: middle;
}
.approvals-all-actions > button {
    width: 125px;
}
/* ./Approvals View */

.panel-enable-feature {
    border-left: 8px solid #3B67D9;
    border-radius: 0;
    color: #333;
    border-top: none;
    border-bottom: none;
}

.panel-upgrade-required {
    border-left: 8px solid #E75C0D;
    border-radius: 0;
    color: #333;
    border-top: none;
    border-bottom: none;
}

.panel-success {
    border-left: 8px solid #0C801A;
    border-radius: 0;
    color: #333;
    border-top: none;
    border-bottom: none;
}

    .panel-enable-feature .panel-body,
    .panel-upgrade-required .panel-body,
    .panel-success .panel-body {
        padding: 0 24px 16px 24px;
    }

    .panel-enable-feature .panel-heading,
    .panel-success .panel-heading,
    .panel-upgrade-required .panel-heading {
        background-color: #fff;
        border: none;
        padding: 16px 24px 4px 24px;
    }

/* Integrations page */
.integrations-panel .panel-body {
    padding: 32px 32px 15px 32px;
    height: 275px;
    position: relative;
}

    .integrations-panel .panel-body p:last-child {
        position: absolute;
        bottom: 8px;
        width: 100%;
        margin-left: -32px;
    }

.integration-cards {
    /* Basic setup */
    display: grid;
    gap: 0 30px;
    /* 1-column layout, up to 18 cards for future-proofing */
    grid-template:
        "a1" "b1" "c1"
        "a2" "b2" "c2"
        "a3" "b3" "c3"
        "a4" "b4" "c4"
        "a5" "b5" "c5"
        "a6" "b6" "c6"
        "a7" "b7" "c7"
        "a8" "b8" "c8"
        "a9" "b9" "c9"
        "a10" "b10" "c10"
        "a11" "b11" "c11"
        "a12" "b12" "c12"
        "a13" "b13" "c13"
        "a14" "b14" "c14"
        "a15" "b15" "c15"
        "a16" "b16" "c16"
        "a17" "b17" "c17"
        "a18" "b18" "c18";
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    /* md and up = 2-column layout */
    .integration-cards {
        grid-template:
            "a1 a2" "b1 b2" "c1 c2"
            "a3 a4" "b3 b4" "c3 c4"
            "a5 a6" "b5 b6" "c5 c6"
            "a7 a8" "b7 b8" "c7 c8"
            "a9 a10" "b9 b10" "c9 c10"
            "a11 a12" "b11 b12" "c11 c12"
            "a13 a14" "b13 b14" "c13 c14"
            "a15 a16" "b15 b16" "c15 c16"
            "a17 a18" "b17 b18" "c17 c18";
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    /* lg and up = 3-column layout */
    .integration-cards {
        grid-template:
            "a1 a2 a3" "b1 b2 b3" "c1 c2 c3"
            "a4 a5 a6" "b4 b5 b6" "c4 c5 c6"
            "a7 a8 a9" "b7 b8 b9" "c7 c8 c9"
            "a10 a11 a12" "b10 b11 b12" "c10 c11 c12"
            "a13 a14 a15" "b13 b14 b15" "c13 c14 c15"
            "a16 a17 a18" "b16 b17 b18" "c16 c17 c18";
        grid-template-columns: repeat(3, 1fr);
    }
}
.integration-cards > * {
    background-color: white;
    flex-grow: 0;
    flex-shrink: 0;
    border: 1px solid #ebebeb;
    padding: 32px;
}

.integration-cards > .integration-cards-logo {
    text-align: center;
    border-bottom: none;
    padding-bottom: 10px;
}

.integration-cards > .integration-cards-desc {
    color: #777;
    border-top: none;
    border-bottom: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.integration-cards > .integration-cards-button {
    text-align: center;
    border-top: none;
    padding-top: 10px;
    margin-bottom: 30px;
}
/* End integrations page */

.btn-width-90px {
    width: 90px;
}

.btn-width-160px {
    width: 160px;
}

.btn-margin-right-10px {
    margin-right: 10px;
}


.time-off-policy-card {
    display: inline-block;
    width: 250px;
    height: 240px;
    padding: 15px;
    margin: 0px 15px 10px 0px;
    cursor: pointer;
    border: solid 1px #005288;
    border-radius: 5px;
    background-color: rgba(0, 154, 255, 0.1);
}

.timeoff-summary {
    display: inline-block;
    width: 45%;
    margin: 1em 1em 3em;
}

    .timeoff-summary button {
        margin: 1em auto;
    }

    .timeoff-summary div {
        padding-left: 2.5em;
    }

    .timeoff-summary h4 {
        min-height: 3em;
    }

        .timeoff-summary h4 i {
            color: #777777;
            vertical-align: top;
            display: inline-block;
            width: 5%;
        }

        .timeoff-summary h4 div {
            padding-left: 0.25em;
            display: inline-block;
            width: 90%;
        }

.notifications-well {
    background-color: #FFF;
    border: 1px solid #EBEBEB;
}

.schedulePanel {
    margin-bottom: 0px;
    background: rgba(235, 235, 235, 0.5);
    border: 0;
}

    .schedulePanel .panel-heading {
        height: 29px;
        padding: 4px 8px;
        background-color: transparent;
        border-bottom: 1px solid #D6D6D6;
    }

.schedulePanelBody {
    padding: 0px;
    margin-bottom: 0px;
    box-sizing: border-box;
    background-color: transparent;
    border: 0;
}

    .schedulePanelBody .ui-draggable {
        cursor: grab;
    }

.scheduleListName {
    cursor: grab;
    font-size: small;
    margin-left: 23px;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scheduleListItem {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px;
    background-color: transparent;
    border: 0;
}

    .scheduleListItem:hover {
        background: #ffffff;
        box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.07);
    }

.shiftBlock {
    cursor: grabbing;
    margin: -8px 0 2px -12px;
    border: 1px solid;
    text-align: center;
    border-radius: 3px;
}

.shiftBlockTitle {
    color: #fff;
    padding-left: 20px;
    padding-right: 4px;
    word-wrap: break-word;
}

.calendar-header .fc-head,
.calendar-header .panel-title {
    background-color: transparent;
    text-transform: uppercase;
    color: #00355B;
    font-weight: bold;
    font-size: 14px;
}

/* Attestation */
.align-center {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.clock-out-survey-container {
    font-family: 'Open Sans', Arial, sans-serif;
    margin-right: auto;
    margin-left: auto;
    position: fixed;
    display: none;
    overflow-y: scroll;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #FFFFFF;
}

.clock-out-survey {
    margin-bottom: 70px;
}

@media (min-width: 1200px) {
    .clock-out-survey {
        margin-left: 35%;
        width: 30%;
    }
}

.clock-out-survey-container > .header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    background: #002237;
    z-index: 101; /* required so scrolled header is clickable */
}

.clock-out-survey-container .survey-footer div {
    margin-bottom: 16px;
}

a.attestation-help {
    color: rgba(51,51,51,0.45);
}

.clock-out-survey-container .close {
    padding: 8px 8px 0 0;
    color: #8a8a8a;
    opacity: 1;
    text-shadow: none;
}

.clock-out-survey-container .survey-question {
    margin-bottom: 50px;
}

.clock-out-survey-container .survey-question .question-title {
    font-family: 'Fira Sans', 'Open Sans', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 19px;
}

.question-optional {
    font-family: Open Sans;
    font-style: italic;
    font-weight: normal;
    font-size: 14px;
    color: #858585;
    padding-left: 8px;
    margin-bottom: 10px;
}

@media (min-width: 480px) {
    .survey-question .survey-choice {
        padding-left: 40px;
        padding-right: 60px;
    }
}

.survey-question .survey-choice {
    display: table-row;
    margin-bottom: 10px;
    cursor: pointer;
}

.survey-question .survey-choice > div {
    display: table-cell;
    vertical-align: middle;
}

.survey-question .survey-choice-btn {
    position: relative;
    display: inline-block;
    text-align: center;
    height: 44px;
    width: 44px;
    border-radius: 57px;
    background: #EBEBEB;
}

.survey-question .survey-choice.selected .survey-choice-btn {
    background: #0079C9;
}

.survey-question .survey-choice.selected .survey-choice-btn > .icon.icon-check {
    color: #FFFFFF;
}

.survey-question .survey-choice.not-selected .survey-choice-btn {
    background: #F7F7F7;
}

.survey-question .survey-choice.not-selected .survey-choice-btn > .icon.icon-check {
    color: #D6D6D6;
}

.survey-question .survey-choice.not-selected .survey-choice-description > label {
    color: #858585;
}

.survey-choice-btn > .icon.icon-check {
    color: #ADADAD;
    font-size: 18px;
    width: 20px;
    height: 18px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.survey-choice-description {
    padding-left: 10px;
}

.survey-choice-description > label {
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    color: #333333;
    cursor: pointer;
}

.attestation-responses.modal {
    overflow-y: hidden;
}

.attestation-responses .responses {
    padding-right: 44px;
    padding-left: 44px;
}

.attestation-responses h3 {
    margin: 0;
}

.attestation-responses .responses .question {
    margin-bottom: 16px;
}

.attestation-responses .responses .response {
    margin-bottom: 44px;
}

.attestation-responses .responses .response .response-text {
    word-break: break-all;
}

.attestation-responses .responses .response {
    padding: 14px;
    background: rgba(82, 186, 227, 0.1);
}
.attestation-responses .responses .response.alert, .attestation-responses .responses .response.missing {
    background: rgba(223, 55, 75, 0.1);
    color: #333333;
}
.attestation-responses .responses .response.skipped {
    background: rgb(247, 247, 247);
    color: #858585;
    font-style: italic;
}

.attestation.modal .modal-content {
    border-top: 8px solid #005288;
}

.attestation.attestation-help.modal {
    margin-top: 60px;
}

.help-header {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 20px;
    display: inline-block;
}

.attestatin.attestation-help.modal p {
    line-height: 19px;
}

@media (min-width: 480px) {
    .attestation.attestation-help.modal > .modal-dialog {
        width: 458px;
    }
}

.attestation-responses.modal .modal-body {
    max-height: 500px;
    overflow-y: auto;
}

.attestation-responses.modal .modal-footer {
    margin-top: 0;
}

.draggable {
    overflow-y: hidden;
}

.question-handle, .choice-handle {
    color: #005288;
    cursor: grab;
}
/* ./Attestation */

.stage-text-padding {
    padding-right: 5px
}

.stage-hover-padding {
    padding-top: 2px;
    padding-left: 0px;
}

@media (max-width: 767px) {
    .stage-hover-padding {
        padding-top: 12px;
    }
}

.time-clock-btn-left {
    padding: 8px 8px 8px 0;
    width: 50%;
    display: inline-block;
}

.time-clock-btn-right {
    padding: 8px 0 8px 8px;
    width: 50%;
    display: inline-block;
}

.time-clock-btn-block {
    padding: 8px 0;
    display: inline-block;
    width: 100%;
}

/* Filter Bar */
.item-filters {
    background-color: #EBEBEB;
    padding: 0 8px 8px 0;
    margin-bottom: 9px;
}
    .item-filters > * {
        margin-top: 8px;
        margin-left: 9px;
        display: inline-block;
        vertical-align: top;
    }

    .item-filters select {
        width: 220px;
    }
/* ./Filter Bar */

/* Backbar */
.backbar {
    clear: both;
    height: 40px;
    line-height: 40px;
    background: #ebebeb;
    margin: 0 0 18px 0;
    display: flex;
}

.container > .backbar, .container-fluid > .backbar {
    margin-left: -15px;
    margin-right: -15px;
}

.backbar + :not(.backbar) {
    /* Help keep <hX>s following a backbar from getting too far below it. Non-essential. */
    margin-top: 18px;
}

.backbar > .backbar-title {
    flex-grow: 1;
    text-align: center;
    font-weight: 600;
    font-size: 17px;
}

.backbar > .dropdown-container {
    /* Prevent immediately-contained .btn from getting a vertical offset */
    display: flex;
}
/* ./Backbar */

.searchbox-margin {
    margin-bottom: 4px;
}

.feature-definition {
    margin: auto 8px;
}

.title-btn {
    margin: 6px auto;
}

#scheduler-filters .select2-selection--multiple {
    min-width: 30em;
    max-width: 30em;
}

#dashboard-filters .select2-selection--multiple {
    min-width: 30em;
    max-width: 30em;
}

/* Filter Bar */

/* QuickBooks Sync */
table .qbo-sub-customer > .qbo-cust-name {
    padding-left: 30px;
}

table .qbo-cust-import div.checkbox,
table .qbo-cust-import select {
    display: inline-block;
}
table .qbo-cust-import select {
    margin-left: 10px;
    width: auto;
}
/* ./QuickBooksSync */

/* QuickBooks Connect Button */
.quickbooks-connect {
    display: inline-block;
}

    .quickbooks-connect img {
        background: #2CA01C;
        border-radius: 2px;
        width: 234px;
        height: 41px;
    }

.quickbooks-connect img:active,
.quickbooks-connect img:focus,
.quickbooks-connect img:hover {
    background: #2C8419;
    outline: none;
}
/* ./QuickBooks Connect Button */

.qbo-narrow-header {
    width: 100px;
}

    .qbo-narrow-header .checkbox {
        display: inherit;
    }

    .qbo-narrow-header label {
        font-weight: bold;
        cursor: pointer;
    }

.approved {
    color: #81C44F;
}
.middle-with-icons {
    vertical-align: super;
}

.approval-spacer-column {
    visibility: hidden;
    height: 0px;
}

/*
 * Customers
 */
.customer-modal-label {
    font-weight: normal;
}

/* customer Type special Radio style */
.type-radio {
    margin: 0;
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    margin-bottom: 24px;
}
    .type-radio > div {
        padding: 8px;
    }
    .type-radio .radio {
        padding-left: 0px;
        text-align: center;
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        border-radius: 4px;
    }
        .type-radio .radio.selected {
            background: #DAEFFF;
        }
            .type-radio .radio.selected > label {
                color: #333333;
            }
        .type-radio .radio > label {
            display: block;
            margin-bottom: 0;
            color: #858585;
            line-height: 32px;
            font-size: 15px;
            font-weight: 600;
            padding-left: 0;
        }
        .type-radio .radio input[type=radio] {
            display: none;
        }
/* /special radio style */

.customer-contact-form h2 {
    font-weight: 300;
    font-size: 24px;
    line-height: 29px;
    color: #000000;
    margin-top: 11px;
}

/* "small height form" - for forms which use newer 32px-tall controls style rather than 48px-tall controls */
.small-height-form label[for] {
    font-size: 12px;
    line-height: 16px;
}

@media (max-width: 767px) {
    .small-height-form label[for] {
        font-size: 14px;
        line-height: 18px;
    }
}

.material-icons-sm {
    font-size: 16px;
}
.small-height-form input.form-control {
    height: 32px;
}
.small-height-form select.form-control {
    height: 32px;
    padding: 0 8px;
}
.small-height-form textarea.form-control {
    padding: 5px 12px;
    min-height: 32px;
}

/* contacts */
.customer-modal-textarea-minheight {
    min-height:52px;
}

.customer-contact-form .form-group {
    margin-bottom: 9px;
}

.customer-contact-form .input-group-btn > .btn {
    width: 117px;
    position: relative;
    border-color: #ebebeb;
    text-align: left;
    font-size: 14px;
    line-height: 19px;
}
.customer-contact-form .input-group-btn > .btn.dropdown-toggle {
    color: #333333;
}
.customer-contact-form .input-group-btn > .btn > .caret {
    position: absolute;
    top: calc(50% - 2px);
    right: 14px;
}

.customer-contact-form .customer-contact-phones {
    z-index: 1;
}

.customer-contact-form .customer-contact-phones .row {
   margin-bottom: 10px;
}
.customer-contact-form .customer-contact-phones .row:last-child {
   margin-bottom: 6px;
}

.customer-contact-form .customer-contact-phones .remove {
    padding: 4px 15px 0px 0px;
}

.customer-contact-form .add-phone,
.customer-contact-form .add-phone-mobile {
    color: #0079C9;
    margin-right: 5px;
    vertical-align: top;
}

/* Edit Address component */
.edit-address .second-line {
    margin-top: 9px;
}

/* taller select2 */
.small-height-form .select2-container .select2-selection--single {
    height: 32px;
}

@media (max-width: 767px) {
    .small-height-form .select2-container .select2-selection--single {
        height: 48px;
    }

        .small-height-form .select2-container .select2-selection--single .select2-selection__rendered {
            line-height: 48px;
        }
}

.small-height-form .select2-container--default .select2-selection--single {
    /*changes border of select2 dropdown to match border of other elements on the page. This is only applicable for customers modal page*/
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}
/* /taller select2 */

/* Use same placeholder color for select2 as the rest of the site */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #ADADAD;
}

/* Remove browser-forced outline on select2 controls */
.select2-container *:focus {
    outline: none;
}

/* Fix select2 placeholder being hidden (width: 0px) if the select2 initializes while its parent is invisible. See !4497, !3803 for context. */
input.select2-search__field[placeholder]:not([placeholder=""]) {
    width: 100% !important;  /* Necessary to override inline style set by JS. */
}

@media only screen and (min-width: 768px) {
    .customer-contact-form .add-phone-mobile {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    .add-remove-phone > .add-phone {
        display: none;
    }
    .add-phone-mobile {
        display: block;
    }
}

@media (min-width: 768px) {
    .small-height-form .input-group-btn > .btn {
        height: 32px;
    }
}
@media (max-width: 767px) {
    .small-height-form input.form-control {
        height: 48px;
    }

    .small-height-form select.form-control {
        height: 48px;
        padding: 0 8px;
    }

    .small-height-form textarea.form-control {
        padding: 13px 12px;
        min-height: 48px;
    }

    .small-height-form .btn {
        height: 48px;
    }
}

.customer-contact-form .primary-contact-form .customer-contact-back {
    display: inline-block;
    color: #0079C9;
}
.customer-contact-form .primary-contact-form .customer-contact-back > div {
    display: inline-block;
    vertical-align: top;
    padding-top: 1px;
}


/* ./Customers */

/* Tab bar v2, introduced with Customers */
nav.tabs2 {
    width: 100%;
    background: #002237;
    border-radius: 4px;
    font-weight: 600;
    margin: 16px 0;
}

    nav.tabs2 > ul {
        display: flex;
        margin: 0;
        padding: 4px;
    }

        nav.tabs2 > ul > li {
            display: block;
            margin: 4px;
        }

            nav.tabs2 > ul > li > a {
                display: block;
                padding: 6px 16px;
                line-height: 20px;
                color: white;
                border-radius: 4px;
                text-decoration: none;
            }

            nav.tabs2 > ul > li.active > a {
                background: white;
                color: #0079C9;
            }

@media (max-width: 767px) {
    nav.tabs2-responsive {
        background: none;
        border: none;
    }

        nav.tabs2-responsive > ul {
            padding: 0;
            flex-direction: column;
            list-style-type: none;
        }

            nav.tabs2-responsive > ul > li {
                margin: 0 0 16px 0;
                display: block;
            }

                nav.tabs2-responsive > ul > li > a, nav.tabs2-responsive > ul > li.active > a {
                    height: 52px;
                    line-height: 40px;
                    background: #ebebeb;
                    color: #00355B;
                    font-size: 17px;
                    display: block;
                    padding: 6px 16px;
                    border-radius: 4px;
                    text-decoration: none;
                }

                    nav.tabs2-responsive > ul > li > a::after {
                        font-family: 'Material Icons';
                        font-size: 24px;
                        color: #adadad;
                        content: 'keyboard_arrow_right';
                        float: right;
                    }
}
/* ./Tab bar v2 */

/* Common XDetails page styles */
p.notes {
    white-space: pre-line;
}

.details-page-summary h2 {
    font-weight: 200;
    font-size: 32px;
    margin: 0;
    max-width: 700px;
}

a.secondary, button.secondary {
    color: #858585;
}

.details-page-summary p {
    line-height: 19px;
    margin-top: 8px;
    margin-bottom: 8px;
    color: #333333;
}

.details-page-summary p.notes, .details-page-summary details.more-notes-widget {
    max-width: 500px;
}

/* Customer Details */

.customer-type-indicator {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #d6d6d6;
    text-align: center;
    line-height: 52px;
    color: #858585;
    margin: auto;
}

    .customer-type-indicator > i {
        vertical-align: middle;
    }

a.contact-link {
    color: inherit;
    text-decoration: none;
}

.customer-summary {
    text-align: center;
}

    .customer-summary h2 {
        margin: auto;
        margin-top: 6px; /* Align with (or on xs, separate from) the type indicator */
    }

    .customer-summary p.address {
        margin: auto;
        margin-top: 0;
    }

    .customer-summary p.notes, .customer-summary details.more-notes-widget {
        margin: auto;
        margin-top: 16px;
    }

/* Customer Details: Contacts */
.contacts-table > tbody > tr > td {
    vertical-align: top;
}

.contacts-table .contact-role {
    color: #858585;
}

.primary-contact {
    background: #fecd3d;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    white-space: nowrap;
}

.contact-phone-table {
    width: 100%;
    display:contact-phone-table;
}

    .contact-phone-table > tbody > tr > td:first-child {
        color: #858585;
        width: 66px;
        min-width: 66px;
        vertical-align: top;
    }

/* Customer Details: Attachments */
img.inline-file-type {
    width: 16px;
}

.attachment-grid {
    clear: both;
}

    .attachment-grid .attachment-filename {
        height: 70px;
        word-break: break-word;
        overflow: hidden;
    }

    .attachment-grid .more-actions-dropdown {
        position: absolute;
        z-index: 1;
        right: 19px;
        top: 4px;
        width: 40px;
    }

        .attachment-grid .more-actions-dropdown > button {
            background: rgba(255, 255, 255, .8);
        }

    .attachment-grid .attachment-card {
        display: block;
    }

    .attachment-grid .attachment-thumbnail {
        background-color: rgba(133, 133, 133, 0.08);
    }

        .attachment-grid .attachment-thumbnail > img {
            width: 100%;
        }

        .attachment-grid .attachment-thumbnail > div {
            width: 100%;
            padding-top: 100%;
            position: relative;
        }

            .attachment-grid .attachment-thumbnail > div > img {
                position: absolute;
                left: calc(50% - 16px);
                top: calc(50% - 16px);
                width: 32px;
            }

.attachment-drop-target {
    min-height: 220px;
    position: relative;
    clear: both;
}

    @media (min-width: 768px) {
        .attachment-drop-target .modal-background {
            background: #F7F7F7;
            padding: 8px 8px;
            height: 500px;
            overflow: auto;
        }
    }

    .attachment-drop-target .modal-tile {
        background: #EBEBEB;
        padding: 8px;
        border-radius: 4px;
        margin: 8px 0px;
    }

    .attachment-drop-target .progress-indicator {
        margin: 16px 8px 16px 16px;
    }

    .attachment-drop-target .drag-and-drop-msg {
        padding: 32px;
        text-align: center;
    }

        .attachment-drop-target .drag-and-drop-msg.zero-attachments {
            background: #EBEBEB;
            height: 220px;
            padding: 68px;
        }

    .attachment-drop-target .hovering-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 121, 201, 0.3);
        border: 2px solid #0079C9;
        display: none;
    }

    .attachment-drop-target.attachment-drop-target--active .hovering-overlay {
        display: block;
    }

    .attachment-drop-target .drop-to-upload-bubble {
        position: sticky;
        position: -webkit-sticky;
        top: calc(100vh - 116px);
        margin: auto;
        width: 232px;
        height: 116px;
        text-align: center;
        background: #DAEFFF;
        border-top-left-radius: 100% 200%;
        border-top-right-radius: 100% 200%;
    }

        .attachment-drop-target .drop-to-upload-bubble .cloud-upload {
            height: 84px;
            margin-top: 5px;
            margin-bottom: -8px;
        }

    @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
        /* laser target IE11 to cover for position: sticky not being available */
        .attachment-drop-target .drop-to-upload-bubble {
            position: fixed;
            z-index: 1;
        }
    }
    /* ./Customer Details */

.attachment-edit {
    width: 100%;
    background-color: #EBEBEB;
    padding: 16px;
    font-size: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}
    .attachment-edit.attachment-edit-compact {
        background-color: transparent;
        padding: 0;
        font-size: 14px;
    }

    .attachment-edit.attachment-edit-compact span {
        flex-grow: 0;
        overflow: hidden;
        overflow-wrap: break-word;
    }

    .attachment-edit span {
        padding: 0px 8px;
        flex-grow: 1;
    }

.dropdown-as-modal-body {
    display: flex;
    flex-direction: column;
}

    .dropdown-as-modal-body .dropdown-menu {
        display: block;
        position: static;
    }

    .dropdown-as-modal-body .btn[data-dismiss="modal"] {
        margin-top: 16px;
    }

    /* Low-padding forms (8px instead of Bootstrap's 30px default) */
    .low-padding-form .row {
        margin-left: -4px;
        margin-right: -4px;
    }

    .low-padding-form .col-xs-1, .low-padding-form .col-sm-1, .low-padding-form .col-md-1, .low-padding-form .col-lg-1,
    .low-padding-form .col-xs-2, .low-padding-form .col-sm-2, .low-padding-form .col-md-2, .low-padding-form .col-lg-2,
    .low-padding-form .col-xs-3, .low-padding-form .col-sm-3, .low-padding-form .col-md-3, .low-padding-form .col-lg-3,
    .low-padding-form .col-xs-4, .low-padding-form .col-sm-4, .low-padding-form .col-md-4, .low-padding-form .col-lg-4,
    .low-padding-form .col-xs-5, .low-padding-form .col-sm-5, .low-padding-form .col-md-5, .low-padding-form .col-lg-5,
    .low-padding-form .col-xs-6, .low-padding-form .col-sm-6, .low-padding-form .col-md-6, .low-padding-form .col-lg-6,
    .low-padding-form .col-xs-7, .low-padding-form .col-sm-7, .low-padding-form .col-md-7, .low-padding-form .col-lg-7,
    .low-padding-form .col-xs-8, .low-padding-form .col-sm-8, .low-padding-form .col-md-8, .low-padding-form .col-lg-8,
    .low-padding-form .col-xs-9, .low-padding-form .col-sm-9, .low-padding-form .col-md-9, .low-padding-form .col-lg-9,
    .low-padding-form .col-xs-10, .low-padding-form .col-sm-10, .low-padding-form .col-md-10, .low-padding-form .col-lg-10,
    .low-padding-form .col-xs-11, .low-padding-form .col-sm-11, .low-padding-form .col-md-11, .low-padding-form .col-lg-11,
    .low-padding-form .col-xs-12, .low-padding-form .col-sm-12, .low-padding-form .col-md-12, .low-padding-form .col-lg-12 {
        padding-left: 4px;
        padding-right: 4px;
    }

    /* Job Details page */
    .job-summary h4.stage {
        font-family: 'Open Sans';
        font-size: 16px;
        line-height: 22px;
        font-weight: bold;
        color: #5C5C5C;
        margin-top: 0;
        margin-bottom: 4px;
    }

    .job-summary h2 {
        margin-left: -20px;
        border-left: 4px solid red;
        padding-left: 16px;
    }

    .job-summary h4.number {
        font-family: 'Open Sans';
        font-size: 18px;
        line-height: 25px;
        font-weight: normal;
        color: #858585;
        margin-top: 4px;
        margin-bottom: 0;
    }

    .details-page-summary.job-summary p,
    .details-page-summary.job-summary .margin-p {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .full-page-job-colorbar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 6px;
        z-index: -1;
    }

    .customer-type-indicator-aside {
        font-size: 16px;
        color: #adadad;
    }

    @media (min-width: 768px) {
        .customer-type-indicator-aside {
            position: absolute;
            left: -20px;
        }
    }

    /* EditAddress */
    .edit-address-suggestions,
    .form-control.edit-address-suggestions,
    .customer-contact-form select.form-control.edit-address-suggestions {
        padding: 5px 8px;
        position: absolute;
        z-index: 1;
        width: calc(100% - 8px);
    }

    /* Inline color picker (added for Add/Edit Job component) */
    .inlinecolorpicker-container {
        position: relative;
    }

        .inlinecolorpicker-container > input {
            padding-right: 32px;
        }

        .inlinecolorpicker-container > .dropdown-container {
            position: absolute;
            right: 8px;
            top: 0;
        }

        .inlinecolorpicker-container.inlinecolorpicker-button > .dropdown-container {
            display: inline-block;
            position: static;
            width: 100%;
            min-width: 63px;
        }

        .inlinecolorpicker-container.inlinecolorpicker-button .activate-wrapper {
            width: 100%;
            height: 100%;
        }

        .inlinecolorpicker-button .btn.btn-default {
            padding: 0;
        }

        .inlinecolorpicker-button .btn .inlinecolorpicker-link {
            position: absolute;
            display: inline-block;
            margin: 0;
            left: 12px;
            top: 8px;
        }

        .inlinecolorpicker-button .btn .caret {
            margin: 0px;
            color: #858585;
            position: absolute;
            right: 9px;
            top: 15px;
        }

        .form-group .inlinecolorpicker-button .btn {
            border-color: #EBEBEB;
        }

    .inlinecolorpicker-link {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: block;
        margin: 8px 0 8px 8px;
    }

    .open > .inlinecolorpicker-popup {
        width: 234px;
        height: 96px;
        padding: 4px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

/* Button style explicitly added to give more precedence */
    .inlinecolorpicker-popup > a, .inlinecolorpicker-button .inlinecolorpicker-popup > a {
        display: block;
        width: 24px;
        height: 24px;
        margin: 2px;
        border-radius: 50%;
        /* icon positioning */
        color: white;
        text-align: center;
        line-height: 24px;
    }

    @media (max-width: 767px) {
        .inlinecolorpicker-container > input {
            padding-right: 48px;
        }

        .inlinecolorpicker-link {
            width: 32px;
            height: 32px;
        }

        .inlinecolorpicker-container.inlinecolorpicker-button > .dropdown-container {
            min-width: 76px;
        }

        .inlinecolorpicker-button .btn .inlinecolorpicker-link {
            width: 16px;
            height: 16px;
            left: 16px;
            top: 16px;
         }

        .inlinecolorpicker-button .btn .caret {
            right: 14px;
            top: 22px;
        }

        .open > .inlinecolorpicker-popup {
            width: 338px;
            height: 138px;
            padding: 8px;
        }

        .inlinecolorpicker-popup > a {
            width: 32px;
            height: 32px;
            margin: 4px;
            line-height: 32px;
        }
    }


    /* Design Spec - Action Buttons - On Page Save and Cancel */
    .on-page-save-and-cancel {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

        .on-page-save-and-cancel > :first-child {
            /* Main content is to the left of the trough containing .sticky-save-cancel */
            -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                    flex-grow: 1;
            min-width: 0;
        }

        .on-page-save-and-cancel .sticky-save-cancel {
            position: sticky;
            top: 64px; /* 48px sticky top nav + 16px spacing */
            width: 116px;
            padding-left: 8px;
        }

            .on-page-save-and-cancel .sticky-save-cancel .btn {
                width: 100px;
                margin: 0 0 8px 8px;
            }

    @media (max-width: 767px) {
        .on-page-save-and-cancel .sticky-save-cancel {
            position: fixed;
            top: calc(100% - 64px);
            left: 0;
            width: 100%;
            padding: 8px 18px 0 10px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            /* cover header + backbar */
            background: #EBEBEB;
            z-index: 1002;
            height: 64px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }

            .on-page-save-and-cancel .sticky-save-cancel .btn {
                width: 100%;
                height: 48px;
                min-height: 42px;
            }
    }

    @media (min-width: 1200px) {
        .on-page-save-and-cancel .sticky-save-cancel {
            width: 228px;
        }
    }

    .btn-cancel, .btn-cancel:hover, .btn-cancel:focus {
        /* De-emphasized "cancel" button for use in on-page-save-and-cancel */
        background: transparent;
        text-align: left;
        color: #0079C9;
    }

    @media (min-width: 768px) and (max-width: 1199px) {
        .on-page-save-and-cancel .sticky-save-cancel .btn-cancel {
            /* Center-align it anyways because it's in a single-column layout */
            text-align: center;
        }
    }

    /* Shift popover - when clicking on a ScheduleEvent or TimeOffRequestDay on the Scheduler page */
    .shiftPopover {
        min-width: 300px;
        max-width: 400px;
        max-height: 100%;
        color: #333333;
        font-size: 14px;
        line-height: 19px;
        display: flex;
    }

    .shiftPopover .close {
        line-height: 16px;
        position: relative;
    }

    .shiftPopover .popover-content {
        padding: 8px 24px 8px 10px;
        display: flex;
        flex-flow: column;
        width: 100%;
    }

    .shiftPopover .popover-content > * {
        padding: 8px 0px 6px 0px;
        margin: 0px;
    }

    .shiftPopover .popover-content > .shiftPopover-job-details {
        overflow-y: auto;
        overflow-x: hidden;
        flex-grow: 1;
    }

        /* width */
        .shiftPopover-job-details::-webkit-scrollbar {
            width: 10px;
        }

        /* Handle */
        .shiftPopover-job-details::-webkit-scrollbar-thumb {
            background: #EBEBEB;
            border-radius: 10px;
        }

        .shiftPopover-job-details p {
            font-family: 'Open Sans';
            font-weight: normal;
            font-size: 14px;
            margin-bottom: 4px;
            line-height: 19px;
        }

    .shiftPopover-job-details-section {
        position: relative;
    }

    .shiftPopover-job-details-section > * {
        padding: 8px 6px 8px 8px;
        margin: 0px;
    }

        .shiftPopover-job-details-section.clickable:hover {
            background-color: rgba(51, 51, 51, 0.06);
            border-radius: 4px;
            cursor: pointer;
        }

    .shiftPopover-job-details .shiftPopover-job-details-section:first-child {
        margin-top: 0px;
    }

    .shiftPopover-job-details-section .material-icons {
        vertical-align: middle;
    }

    .shiftPopover-job-details-overview {
        padding-left: 20px;
    }

    .shiftPopover-job-details-overview > * {
        padding-top: 2px;
        padding-bottom: 2px;
    }

        .shiftPopover-job-details-overview > .shiftPopover-job-details-colorbar {
            padding-left: 10px;
        }

    .shiftPopover-date {
        font-size: 12px;
        line-height: 16px;
        color: #5c5c5c;
        text-transform: uppercase;
        padding-left: 30px;
    }

    .shiftPopover-time {
        font-size: 16px;
        font-weight: bold;
        padding-left: 30px;
    }

    .shiftPopover-job-details .shiftPopover-job-details-stage {
        color: #5C5C5C;
    }

    .shiftPopover-job-details .shiftPopover-job-details-name {
        font-size: 16px;
        line-height: 21px;
        max-height: 42px; /* 2 lines */
        color: #333333;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        word-break: break-all;
    }

    .shiftPopover-job-details .shiftPopover-job-details-number {
        color: #858585;
    }

    #shiftPopover-job-details-update-stage {
        padding-left: 10px;
    }

    #shiftPopover-job-details-update-stage-container {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    /* To get the desired behavior from the product team'*/
    #shiftPopover-job-details-update-stage .select2-container {
        width: 100% !important;
        height: 100%;
        margin: 0px;
        padding: 0px;
        left: 0px;
        top: 4px; /* hacky way of adding some margin between the button and the dropdown */
        position: absolute;
        visibility: hidden;
        overflow: hidden;
    }

    /* NOTE: The ul element to which this id is applied is auto-generated by selec2 */
    ul#select2-shiftPopover-updateStage-dropDown-results {
        max-height: none;
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.175);
        border-radius: 4px;
        overflow-x: hidden;
        border: 1px solid rgba(0,0,0,0.15);
    }

        ul#select2-shiftPopover-updateStage-dropDown-results li {
            padding: 3px 20px;
            line-height: 34px;
            color: #333;
            overflow: hidden;
            white-space: nowrap;
        }

        ul#select2-shiftPopover-updateStage-dropDown-results li.select2-results__option--highlighted {
            background-color: #ECF7FF;
        }

        ul#select2-shiftPopover-updateStage-dropDown-results li[aria-selected='true'] {
            background-color: #DAEFFF !important;
        }


    #shiftPopover-job-details-update-stage .btn {
        border: 1px solid #005288;
        font-size: 14px;
        line-height: 19px;
        padding: 6px 16px 6px 16px;
        height: unset;
        background: white;
    }

    #shiftPopover-job-details-update-stage .btn .material-icons {
        font-size: 20px;
    }

        #shiftPopover-job-details-customer {
            font-size: 14px;
            padding-left: 0px;
        }

    #shiftPopover-job-details-customer-name {
        padding-left: 0px;
    }

    #shiftPopover-job-details-title {
        padding-left: 32px;
    }

    #shiftPopover-job-details-employee {
        padding-left: 32px;
    }

    #shiftPopover-buttons {
        padding: 0px 24px 0px 24px;
    }

    #shiftPopover-buttons a.btn {
        width: 32px;
        height: 32px;
        padding: 6px;
        border: 0px;
        margin: 0px 18px 0px 0px;
    }

        #shiftPopover-buttons a.btn-icon:hover {
            background: rgba(51, 51, 51, 0.06);
            border-radius: 100px;
        }

    #shiftPopover-buttons a .material-icons {
        font-size: 20px;
    }

    #shiftPopover-notes {
        width: 100%;
        color: #333333;
        line-height: 1.5em;
        padding-left: 30px;
    }

    /* Daterangepicker styles to make it look better on mobile views */
    @media (max-width: 767px) {
        /*touch devices*/

        body .daterangepicker {
            width: 278px;
        }

        .daterangepicker.ltr .calendar {
            float: none;
        }

            .daterangepicker.ltr .calendar.left {
                margin: 4px 4px 4px 4px;
            }

            .daterangepicker.ltr .calendar.right {
                margin-left: 0;
            }

        .daterangepicker.ltr .ranges {
            float: none;
            border: none;
        }

        .daterangepicker .ranges ul {
            width: 100%;
        }

        .calendar.left > .calendar-table {
            margin-top: 40px;
            max-width: 246px;
        }

        .calendar.right > .calendar-table {
            visibility: hidden;
            display: none;
        }

        .daterangepicker.ltr .left .daterangepicker_input {
            text-align: left;
        }

        .calendar.left > .daterangepicker_input {
            margin: 0px 0px 0px 0px;
            position: relative;
        }

        .calendar.right > .daterangepicker_input {
            margin: 0px 0px 0px 0px;
            top: -406px;
            text-align: right;
            width: 260px;
        }

        .daterangepicker table {
            width: 236px;
            margin-top: 30px;
            border-collapse: separate;
        }

        .daterangepicker > .calendar.left > .daterangepicker_input > .input-mini {
            cursor: default;
            margin: 0px 5px;
            border: 1px solid lightblue;
            padding: 5px;
            min-width: 90px;
            top: 30px;
            left: -45px;
            position: relative;
        }

            .daterangepicker > .calendar.left > .daterangepicker_input > .input-mini.active {
                cursor: default;
                margin: 0px 5px;
                border: 1px solid lightblue;
                padding: 5px;
                min-width: 90px;
                top: 30px;
                left: -45px;
                position: relative;
            }

        .daterangepicker > .calendar.right > .daterangepicker_input > .input-mini {
            cursor: default;
            margin: 0px 5px;
            border: 1px solid lightblue;
            padding: 5px;
            min-width: 90px;
            top: 30px;
            left: -23px;
            position: relative;
        }

        .daterangepicker .calendar.right .daterangepicker_input .input-mini.active {
            cursor: default;
            margin: 0px 5px;
            border: 1px solid lightblue;
            padding: 5px;
            min-width: 90px;
            top: 30px;
            left: -23px;
            position: relative;
        }

        .daterangepicker button {
            position: relative;
            margin-left: 200px;
            margin-top: -30px;
            top: -345px;
            left: -30px;
        }
    }

    @media (max-width: 786px) {
        .calendar.right {
            clear: left;
            float: right !important;
        }
    }

    @media (min-width: 768px) {
        /*desktop*/

        .calendar.left > .daterangepicker_input {
            margin: 0px 105px 0px 0px;
        }

        .calendar.right > .daterangepicker_input {
            margin: 0px 105px 0px 10px;
        }

        .calendar > .daterangepicker_input > .input-mini, .input-mini.active {
            cursor: default;
            margin: 0px 5px;
            border: 1px solid lightblue;
            padding: 5px;
            min-width: 90px;
        }

        .daterangepicker button {
            position: absolute;
            margin-left: 200px;
            margin-top: -30px;
        }

        .calendar-table {
            margin-top: 10px;
        }
    }

@media (min-width: 564px) {
    /* If we have a lot of preset ranges, use a scrollbar instead of just being tall. */
    .daterangepicker .ranges {
        margin-right: 8px;
    }

        .daterangepicker .ranges ul {
            max-height: 346px;
            overflow-y: auto;
        }
}

    .select2-search--inline:first-child {
        width: 100%;
    }

    /* Commenting */
    /* Commenting - Threads */
    .comment-thread {
        max-width: 687px;
        margin-left: 24px;
    }

        .comment-thread.compact {
            margin-left: 0px;
        }

        .comment-thread > .comment-deleted {
            background: #DAEFFF;
            padding: 8px;
            text-align: center;
            display: none;
        }

        .comment-thread > .comment-outer-frame {
            padding: 16px;
            margin: 24px 0;
        }

        .comment-thread.compact > .comment-outer-frame {
            padding: 16px 0; /* get rid of the extra horizontal space */
        }

        .comment-thread .comment-frame {
            display: flex;
            overflow-wrap: anywhere;
        }

            .comment-thread .comment-frame > .comment-avatar {
                margin-right: 16px;
            }

                .comment-thread .comment-frame > .comment-avatar > .employee-initial {
                    width: 32px;
                    height: 32px;
                    line-height: 32px;
                    font-weight: 600;
                    font-size: 12px;
                    text-transform: uppercase;
                }

            .comment-thread .comment-frame > .comment-body {
                flex-grow: 1;
                color: #333333;
            }

                .comment-thread .comment-frame > .comment-body > .comment-menu {
                    float: right;
                }

                .comment-thread .comment-frame > .comment-body > .comment-poster-info > :first-child {
                    margin-right: 8px;
                }

                .comment-thread .comment-frame > .comment-body > .comment-poster-info > .comment-time {
                    color: #858585;
                }

                .comment-thread .comment-frame > .comment-body > .comment-images-row {
                    clear: both;
                }

            .comment-thread:not(.compact) .comment-frame > .comment-none {
                margin-left: 50px;
            }

                .comment-thread .comment-frame > .comment-none > h4 {
                    font-family: 'Open Sans';
                    font-size: 18px;
                    font-weight: normal;
                    color: #858585;
                }

        .comment-thread .comment-untagged {
            background: #DAEFFF;
            padding: 8px;
            margin: 8px 0;
            text-align: center;
        }

        .comment-thread .mention {
            color: #0079C9;
            cursor: pointer;
            text-decoration: none;
        }

            .comment-thread .mention.current-user-mention {
                font-weight: bold;
            }

        .comment-thread .mention-card {
            padding: 3px 8px 3px 16px;
            display: flex;
            white-space: nowrap; /* Wrapping may cause initials bubble to be squished */
        }

            .comment-thread .mention-card .employee-initial {
                width: 32px;
                height: 32px;
                line-height: 32px;
                margin-top: 5px;
                margin-right: 8px;
            }

            .comment-thread .mention-card .mention-card-name {
                font-weight: bold;
            }

            .comment-thread .mention-card .material-icons {
                margin-left: 8px;
                cursor: pointer;
            }

    @media (max-width: 767px) {
        .comment-thread {
            max-width: unset;
            margin-left: unset;
        }

            .comment-thread > .comment-outer-frame {
                padding: 8px 16px;
            }
    }

    .comment-thread > .comment-outer-frame.active {
        background: #DAEFFF;
    }

    /* Commenting - Add/Edit Comment */

    @media (max-width: 767px) {

        .add-edit-comment {
            display: flex;
            flex-direction: column;
            min-height: 48px;
        }

            .add-edit-comment textarea {
                flex-grow: 1;
                padding: 8px 12px;
                border: 1px solid #EBEBEB;
                outline: none;
                height: 0; /* Made tall by flex-grow only */
                min-height: 48px;
                border: none;
                width: 100%;
            }

            .add-edit-comment.open textarea {
                min-height: 170px;
            }

            .add-edit-comment .add-edit-comment-mobile-buttons > * {
                margin-top: 12px;
                margin-bottom: 12px;
                flex-grow: 1;
                height: 48px;
            }

            .add-edit-comment .add-edit-comment-mobile-buttons > .add-edit-comment-mobile-btn-left {
                margin-left: 12px;
                margin-right: 6px;
            }

            .add-edit-comment .add-edit-comment-mobile-buttons > .add-edit-comment-mobile-btn-right {
                margin-left: 6px;
                margin-right: 12px;
            }
    }


    @media (min-width: 768px) {
        .add-edit-comment {
            display: flex;
            flex-direction: column;
            min-height: 110px;
        }

            .add-edit-comment textarea {
                flex-grow: 1;
                padding: 8px 12px;
                border: 1px solid #EBEBEB;
                outline: none;
                height: 0; /* Made tall by flex-grow only */
                min-height: 108px;
                border: none;
                width: 100%;
            }

            .add-edit-comment.open textarea {
                min-height: 60px;
            }
    }

    .comment-thread.compact .add-edit-comment textarea {
        background-color: #EBEBEB !important; /* override inline styles */
    }

    .comment-thread.compact .add-edit-comment.open textarea {
        background-color: #FFF !important; /* override inline styles */
    }

    .add-edit-comment .add-edit-comment-bordered {
        display: flex;
        flex-direction: column;
        border-radius: 4px;
        background: white;
        border: 1px solid #ebebeb;
    }

    .add-edit-comment .add-edit-comment-buttons {
        background: #EBEBEB;
        display: flex;
    }

        .add-edit-comment .add-edit-comment-buttons .btn-cancel {
            /* De-emphasized "cancel" button for use in on-page-save-and-cancel */
            background: transparent;
            text-align: left;
            color: #0079C9;
        }

        .add-edit-comment .add-edit-comment-buttons > * {
            margin: 4px;
        }

    .add-edit-comment .add-edit-comment-mobile-buttons {
        display: flex;
        margin: 0 -12px -12px -12px;
    }

        .add-edit-comment .add-edit-comment-mobile-buttons > * {
            margin: 12px;
            flex-grow: 1;
            height: 48px;
        }

    .add-edit-comment.attachment-drop-target .drop-to-upload-bubble {
        top: calc(100vh - 92px);
        width: 196px;
        height: 92px;
    }

        .add-edit-comment.attachment-drop-target .drop-to-upload-bubble .cloud-upload {
            height: 64px;
        }

    .add-edit-comment .comment-images-row {
        display: flex;
        flex-wrap: wrap;
        margin: 6px;
    }

        .add-edit-comment .comment-images-row .comment-images-column {
            margin: 6px;
        }

    .add-edit-comment .progress-message {
        margin: 0 12px;
    }

    .add-edit-comment .progress {
        margin: 0 12px;
    }

    .material-icon-sized {
        font-size: 20px;
        line-height: 20px;
    }

    /* Commenting - Add/Edit Comment - Overrides on top of jquery.mentions.css */
    .mentions-input > .highlighter {
        height: auto !important; /* The JS sets style.height, but we don't want that */
        bottom: 0;
        top: 0;
    }

    .mentions-input .highlighter-content {
        z-index: 1;
        pointer-events: none;
    }

    .mentions-input .highlighter strong {
        color: #0079C9;
        background-color: white;
    }

    .mentions-input > textarea {
        display: block;
    }

    .mentions-input > .ui-autocomplete {
        top: 100%;
    }

    /* Commenting - Add/Edit Comment - duplicate bootstrap "dropdown menu" styles but for .ui-menu */
    .ui-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1004;
        display: none;
        float: left;
        min-width: 160px;
        padding: 5px 0;
        margin: 2px 0 0;
        list-style: none;
        font-size: 14px;
        background-color: #fff;
        border: 1px solid #EBEBEB;
        border: 1px solid rgba(0,0,0,0.15);
        /* Not in ClockShark style - border-radius: 4px; */
        -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
        box-shadow: 0 6px 12px rgba(0,0,0,0.175);
        background-clip: padding-box;
        /* Not part of "dropdown menu", but relevant to mentions menu */
        max-height: 200px;
        overflow-y: auto;
    }

        .ui-menu > li > a {
            display: block;
            padding: 3px 20px;
            clear: both;
            font-weight: normal;
            line-height: 1.42857143;
            color: #333;
            white-space: nowrap;
            /* ClockShark style */ line-height: 34px;
        }

            .ui-menu > li > a:hover, .ui-menu > li > a:focus, .ui-menu > li > a.ui-state-active {
                text-decoration: none;
                color: #262626;
                background-color: #f5f5f5;
                /* NEW */ cursor: pointer;
            }

    .ui-helper-hidden-accessible {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .comment-chars-left {
        margin-right: 10px;
        text-align: right;
        font-size: 12px;
        font-family: Open sans;
    }

    /* Commenting - Attachment List */

    .attachment-remove {
        z-index: 0;
        position: relative;
        top: 0.5em;
        left: 5px;
    }

    img.hover-shadow {
        transition: 0.3s;
        width: 100px;
        height: 100px;
    }

    .hover-shadow:hover {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        opacity: 1;
    }

    .unbulletted-ul {
        padding-left: 0;
        list-style: none;
        margin-bottom: 20px;
    }

    /* Override for flexslider.css to fix #11706 */
    .flex-control-nav {
        position: static;
        margin-top: 16px;
    }

    .comment-images-column {
        height: 100px;
        width: 100px;
        outline-width: 100px;
        margin: 3px 3px 3px 3px;
        position: relative;
    }

    .img-wrap .img-download {
        position: absolute;
        width: 32px;
        height: 32px;
        font-size: 17px;
        line-height: 30px;  /* 32px - 2 * 1px border */
        opacity: 0.1;
        top: 5px;
        right: 5px;
        z-index: 100;
        padding: 0;
        background-color: #FFFFFF;
        border-radius: 50%;
    }

    .img-wrap:hover .img-download {
        opacity: 1;
    }

    .display-images-info, display-images-info-touch {
        color: #858585;
    }

    .images-container {
        overflow-x: hidden;
        overflow-y: hidden;
        white-space: nowrap;
        margin-bottom: 20px;
        width: 100%;
    }

        .images-container .img-wrap {
            display: inline-block;
        }

    /* reports page summary selection*/
    .summaryOf-select {
        height: 47px;
    }

    .span-cursor {
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        line-height: normal;
        color: #5C5C5C;
    }

    .att-hover-action {
        visibility: hidden;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }

    @media (max-width: 767px) {
        .att-hover-action {
            visibility: visible;
        }

        .comment-images-row {
            width: calc(100vw - 128px);
        }

        .img-download {
            visibility: hidden;
        }

        .images-container {
            overflow-x: scroll;
            overflow-y: hidden;
            white-space: nowrap;
        }

        .img-download {
            visibility: hidden;
        }

        .arrow-left, .arrow-right {
            display: none;
            visibility: hidden;
        }
    }

    @media (min-width: 768px) {
        /*desktop screen size*/
        .arrow-left, .arrow-right {
            height: 105px;
            line-height: 105px;
            text-align: center;
        }

        .arrow-left {
            position: relative;
            right: 32px;
            width: 0;
        }

        .att-hover-action {
            visibility: hidden;
        }

        .images-container {
            position: relative;
            right: 3px;
            width: 545px;
            overflow: auto;
        }

        .comment-thread.compact .images-container {
            width: 212px;
        }

        .img-scroll-container {
            display: flex;
            flex-wrap: nowrap;
        }

        .images {
            overflow-x: hidden;
            overflow-y: hidden;
            max-width: 550px;
        }
    }

    .att-hover-action-container:hover .att-hover-action {
        visibility: visible;
        color: #00355B;
    }

    /* QIP */
    /* QIP - Tax Rates component */
    .tax-rates {
        display: block;
    }

        .tax-rates > button.form-control {
            text-align: left;
        }

        .tax-rates .dropdown-menu {
            width: 100%;
            min-width: 267px;
        }

        .tax-rates.dropdown-container > button {
            min-height: 32px;
            height: unset;
            display: inline-flex;
            align-items: center;
        }

            .tax-rates.dropdown-container > button > span,
            .tax-rates.dropdown-container > button > div {
                flex-grow: 1;
            }

        .tax-rates.dropdown-container button > div > div {
            display: inline-flex;
            flex-direction: row-reverse;
            width: 100%;
        }

        .tax-rates .tax-rates-list {
            padding: 3px 16px 3px 10px;
            max-height: 133px;
            overflow-y: auto;
        }

            .tax-rates .tax-rates-list li {
                list-style-type: none;
            }

            .tax-rates .tax-rates-list label {
                display: flex;
                font-weight: normal;
            }

                .tax-rates .tax-rates-list label :nth-child(2) {
                    margin: 0 8px;
                    flex-grow: 1;
                }

        .tax-rates .create-new {
            min-width: 361px;
        }

            .tax-rates .create-new form {
                padding: 0 12px;
            }

            .tax-rates .create-new input.form-control {
                height: 32px;
            }

            .tax-rates .create-new a { /* cancel */
                display: inline-block;
                padding: 6px 0;
            }

            .tax-rates .create-new .btn-primary { /* save */
                width: 100px;
                margin-bottom: 12px;
            }

    /* Sortable table on QIP Settings - Tax Rates */
    .tax-rates-sortable {
        min-width: 332px;
    }

        .tax-rates-sortable th {
            font-weight: normal;
        }

        .tax-rates-sortable tbody td,
        .tax-rates-sortable tfoot td {
            height: 40px;
            padding-right: 8px;
        }

        .tax-rates-sortable td.col-rate {
            width: 120px;
        }

            .tax-rates-sortable td.col-rate input {
                text-align: right;
            }

        .tax-rates-sortable td.col-buttons {
            line-height: 0;
            white-space: nowrap;
        }

    /* .ui-sortable styles introduced with Tax Rates but generally applicable */
    .hover-action .material-icons {
        color: #00355B;
    }

    .ui-sortable .handle,
    .ui-sortable-handle {
        cursor: grab;
    }

    .ui-sortable-placeholder > td {
        font-size: 0; /* don't turn 0-width columns into >0 by adding whitespace */
    }

    /* QIP - Quotes */
    .quote-status {
        color: #5C5C5C;
        height: 22px;
        left: 0px;
        top: 0px;
        font-family: Open Sans;
        font-style: normal;
        font-weight: bold;
        font-size: 16px;
        line-height: 22px;
    }

    /* Add Job Modal */

    .hide-select2-arrow .select2-selection__arrow {
        display: none;
    }

    .hide-select2-arrow .select2-selection__rendered {
        padding-right: 5px !important;
    }

    #add-edit-job-select2-parent .select2-results__options[role=tree] > :first-child {
        border-bottom: inset;
        border-bottom-width: thin;
    }

    #add-edit-job-select2-parent .select2-container--default .select2-results__group {
        padding: 0 !important;
    }

    /* Hide Conditional Fields */
    .hide-conditional-fields {
        padding-left: 20px; /* To be flush with the padding of .checkbox */
    }

    .quote-customer-info {
        border: 1px solid #d1d1d1;
    }

    .quote-customer-type-icon {
        padding: 15px 5px 15px 5px;
        color: #ADADAD;
    }

    .quote-customer-address {
        padding: 15px 3px 15px 3px;
    }

    .drag-and-drop-msg.zero-attachments {
        background: #EBEBEB;
        min-height: 80px;
        padding: 68px;
    }

    .font-normal-label {
        font-weight: normal;
    }

    .quote-footer-note {
        color: #858585;
    }

    .quote-header {
        max-width: 552px;
    }

    .quote-actions {
        width: 552px;
    }

    .qip-external-logo {
        max-width: 100%;
        max-height: 132px;
    }

    h4.quote {
        font-family: 'Open Sans';
        font-size: 16px;
        line-height: 22px;
        font-weight: normal;
        color: #858585;
    }

    h2.quote-name {
        font-family: Fira Sans;
        font-style: normal;
        font-weight: 200;
        font-size: 32px;
        line-height: 38px;
        color: #333333;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    h3.quote-amount {
        max-width: 268px;
        font-family: 'Open Sans';
        font-family: Open Sans;
        font-size: 20px;
        line-height: 27px;
        color: #333333;
        margin-top: 0px;
        margin-bottom: 0px;
    }

h3.quote-status {
    width: 268px;
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 0px;
    text-transform: none;
}

    .quote-details {
        padding: 40px;
        background-color: #FFF;
        border: 1px solid #EBEBEB;
    }

        .quote-details .quote-section {
            margin-bottom: 32px;
        }

        .quote-details .details-section .attachment-card {
            width: 270px;
            margin-top: 8px;
            padding: 12px 16px;
            border: 1px solid #EBEBEB;
            color: #333;
        }

            .quote-details .details-section .attachment-card:hover {
                cursor: pointer;
                background-color: #ECF7FF;
                text-decoration: none;
                color: #333;
            }

            .quote-details .details-section .attachment-card img {
                margin: 3px 7px 0px;
            }

td.no-border {
    border-top: 0px !important;
}

/*left side rails*/
.quote-side-rail {
    margin-top: 20px;
    margin-bottom: 0px;
    line-height: 19px;
}

/* LineItemsTable component */
.line-item-title {
    font-weight: 700;
}

tr.line-item-no-border > td {
    border-top: none !important; /* override high-specificity bootstrap .table css */
}

tr.line-item-less-padding > td {
    padding-top: 0 !important; /* override high-specificty bootstrap .table css */
}

.line-item-table {
    margin-bottom: 0;
    border-bottom: 2px solid #ebebeb;
}

.line-item-subtotals {
    width: auto;
    margin-left: auto;
}

.line-item-indent {
    padding-left: 24px !important;
}

/* Left Side Tabs */
@media (min-width: 768px) {
    .left-side-tabs {
        display: table; /* table is used instead of flex to get border-collapse */
        border-collapse: collapse;
        table-layout: fixed;
        width: 100%;
        min-height: 748px;
        background: white;
    }

        .left-side-tabs > * {
            display: table-cell;
            vertical-align: top;
            border: 1px solid #ebebeb;
        }

        .left-side-tabs > nav {
            width: 200px;
        }

            /* nav > ul styles meant to resemble ul.dropdown-menu */
            .left-side-tabs > nav > ul {
                width: 100%;
                list-style: none;
                padding: 5px 0;
                margin: 2px 0 0;
            }

                .left-side-tabs > nav > ul > li > a {
                    display: block;
                    padding: 3px 20px;
                    line-height: 34px;
                    color: #333;
                }

                    .left-side-tabs > nav > ul > li > a:hover,
                    .left-side-tabs > nav > ul > li > a:focus {
                        text-decoration: none;
                        color: #262626;
                        background-color: #ECF7FF;
                    }

                    .left-side-tabs > nav > ul > li > a.current {
                        background-color: #DAEFFF;
                    }

        .left-side-tabs > :not(nav) {
            padding: 24px;
        }

            .left-side-tabs > :not(nav) h2 {
                margin-top: 0;
                font-size: 24px;
            }
}

/* h1 = page title, h2 = title of current tab, h3 = section, h4 = subsection */
.left-side-tabs h3 {
    font-size: 20px;
    text-transform: none;
    font-weight: 400;
    margin: 10px 0;
}

.left-side-tabs h4 {
    /* Similar to .like-table-header but without the background color. */
    text-transform: uppercase;
    color: #00355b;
    font-weight: bold;
    /* Undo global h4 styles, until/unless those get reformed. */
    font-size: 14px;
    font-family: inherit;
}
/* ./Left Side Tabs */

/* Pill tabs */
.pill-tabs > li {
    background-color: #EBEBEB;
    border-radius: 35px;
    margin-right: 8px;
}

    .pill-tabs > li > button {
        color: #00355B !important;
        border: none;
        border-radius: 35px;
        padding: 8px 16px;
        line-height: 19px;
    }

    .pill-tabs > li.active > button {
        background-color: #00355B !important;
        border-radius: 35px;
        color: white !important;
    }

    .pill-tabs > li.active > a {
        background-color: #00355B !important;
        border-radius: 35px;
        color: white !important;
    }

/* OTS Add Employee */
.text-search-icon {
    position: relative;
    display: inline-block;
}

.text-search-icon > i {
    position: absolute;
    right: 10px;
    top: 4px;
    width: 20px;
    height: 20px;
}

.yellow-warning {
    vertical-align: -6px;
    color: #FECD3D;
}

.select2-always-open .select2-container.select2-container--open .cs-filter-selection.cs-filter-popup .cs-filter-backdrop {
    box-shadow: none;
    border: 1px solid rgb(235, 235, 235);
    border-radius: 0px;
}

/* ./OTS Add Employee */
/* ./OTS Add Employee */
/* QIP Settings */
.qip-settings-logo-well {
    max-width: 300px;
    min-height: 132px;
    background: #ebebeb;
}

    @media (max-width: 767px) {
        .qip-settings-logo-well {
            margin: 0 auto;
            background: none;
            min-height: 0;
        }
    }

    .fixed-table-layout {
        table-layout: fixed;
    }

    .qip-totals-discount-dropdown {
        padding: 0 0 0 5px;
        height: 32px;
    }


.addEditInvoice .input-group-btn > .btn,
.addEditQuote .input-group-btn > .btn {
    border-color: #ebebeb;
    color: #333333;
    font-weight: normal;
}

    .width-100 {
        width: 100%;
    }

    .qip-discount-border {
        border-spacing: 0px 5px;
    }

    .qip-total-table {
        display: table;
        width: auto;
        border-spacing: 5px; /* cellspacing:poor IE support for  this */
    }

    .qip-total-row {
        display: flex;
        width: auto;
        clear: both;
        align-items: center;
    }

    .qip-total-col {
        float: left; /* fix for  buggy browsers */
        display: table-column;
        width: 110px;
        text-align: right;
    }

.qip-total-label-col {
    float: left; /* fix for  buggy browsers */
    display: table-column;
    width: 114px;
    text-align: left;
}
    .qip-total-col .control-label {
        font-size: 14px; /* overide bootstrap font size for labels */
    }

    .div-table-row {
        display: table-row;
    }

    .qip-total-hr {
        background: #d6d6d6;
        margin: 5px 0px 5px 0px;
    }

    .qip-total-footer {
        font-weight: bold;
    }

    .qip-total-footer-label {
        color: #00355B;
        font-size: 15px;
    }

@media (max-width: 767px) {
    .div-col-label-mobile {
        text-align:left;
    }
}

    .billabletime-border {
        border: 1px solid #EBEBEB;
    }


    .billable-items-scroll {
        height: 280px;
        overflow: scroll;
        overflow-x: hidden;
    }

    .full-width {
        width: 100%;
    }

    .text-truncate {
        overflow-x: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .billable-items-checkbox {
        height: 16px;
        width: 16px;
    }

    .billable-items-border-bottom {
        border-bottom: #EBEBEB solid 1px;
    }

    .billable-subitems-padding {
        padding-bottom: 10px;
    }

    .billable-items-job {
        padding: 15px 5px 15px 5px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .billable-subitems-margin {
        margin-left: 10px;
        margin-right: 10px
    }

    /* Customer Details QIP-related widgets */
    .customer-widget {
        padding: 16px 12px 0 16px;
        border: 1px solid #ebebeb;
        background: white;
        margin-bottom: 8px;
    }

        .customer-widget .payment-date {
            color: #5c5c5c;
        }

        .customer-widget > table {
            width: 100%;
            margin-bottom: 16px;
        }

            .customer-widget > table > caption {
                padding-bottom: 16px;
            }

            .customer-widget > table tr > td:last-child {
                text-align: right;
                padding-right: 8px;
            }

            .customer-widget > table tr > td:first-child {
                text-align: left;
                padding-left: 8px;
            }

            .customer-widget > table > tbody > tr.primary > td {
                background-color: rgba(129, 196, 79, 0.2);
                font-weight: bold;
            }

                .customer-widget > table > tbody > tr.primary > td:first-child {
                    padding: 4px 0 4px 8px;
                    border-radius: 15px 0 0 15px;
                }

                .customer-widget > table > tbody > tr.primary > td:last-child {
                    padding: 4px 8px 4px 0;
                    border-radius: 0 15px 15px 0;
                }

            .customer-widget > table > tbody > tr.awaiting-payment > td {
                background-color: rgba(254, 205, 61, 0.2);
            }

            .customer-widget > table > tbody > tr.past-due > td {
                background-color: rgba(223, 55, 75, 0.2);
            }

            .customer-widget > table > tbody > tr.primary + tr > td {
                padding-top: 16px;
            }

    @media (min-width: 992px) {
        /* No need to add a redundant scrollbar to something that's not a sidebar element */
        .customer-widget {
            max-height: 450px;
            overflow-y: auto;
        }
    }

    .width-100 {
        width: 100px;
    }

    .payment-refund-modal-controlgroup {
        margin-left: 35px;
        margin-bottom: 15px;
        margin-top: 15px;
    }

.form-group.has-warning .select2.select2-container .select2-selection {
    border-color: #FECD3D;
}

.form-group.has-error .select2.select2-container .select2-selection {
    border-color: #DF374B;
}

/* Custom classes for making select2 appear to be loading */
.select2-container .select2-selection.select2-selection--loading {
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-flow: row nowrap;
}
.select2 .select2-selection.select2-selection--loading > :not(.select2-selection-loading-spinner) {
    display: none;
}
.select2-selection.select2-selection--loading > .select2-selection-loading-spinner {
    color: #ADADAD;
    min-height: 32px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.select2-selection.select2-selection--loading .inline-loader {
    margin: 0 8px 0 12px;
}

.btn-inline-icon {
    /* Makes the <a> exactly the same size as its <i class="material-icons"> contents */
    display: inline-block;
    font-size: 0;
}

/* add-edit-form */
.add-edit-form .input-add-remove {
    padding: 5px 15px 0px 0px;
}

@media (max-width: 767px) {
    .add-edit-form .input-add-remove {
        padding-top: 12px;
    }

    /* Buttons inside `.submit-buttons` become like `.btn-block` on XS viewports. */
    .submit-buttons .btn {
        width: 100%;
        height: 48px;
        min-height: 42px;
    }

    .submit-buttons .btn + .btn {
        margin-left: 0;
        margin-top: 16px;
    }

    .add-edit-form .row .col-xs-6:nth-child(1) {
        padding-right: 7px;
    }

    .add-edit-form .row .col-xs-6:nth-child(2) {
        padding-left: 7px;
    }
}

@media (min-width: 767px) {
    .submit-buttons .btn-cancel {
        /* Because there's no background color, the text should be flush with the modal's content */
        padding-left: 0;
    }

    .modal-body .add-edit-form .customer-contact-form {
        margin-bottom: 16px;
    }
}
/* ./ add-edit-form */

.message-result {
    font-family: Open Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    padding: 50px;
}

    .message-result > .message-header {
        font-size: 16px;
        font-weight: 600;
    }

.empty-result {
    background-color: #ffffff;
    padding-bottom: 145px;
    border: 1px solid #EBEBEB;
}

/* File drag & drop component */
.file-drop-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
}

    .file-drop-browse {
        user-select: none;
        -ms-user-select: none;
        cursor: pointer;
    }

    .file-drop-browse.disabled {
        cursor: initial;
        pointer-events: none;
        filter: saturate(0.5);
        opacity: 0.5;
    }

    .file-drop-browse:active {
        filter: brightness(150%);
    }

    .file-drop:focus-within .file-drop-browse a {
        text-decoration: underline;
    }

    .file-drop.progress-container {
        opacity: 0;
        padding: 5px 10px;
    }

        .file-drop.progress {
            height: 10px;
            margin: 5px 0;
            background: #EBEBEB;
            box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
            border-radius: 25px;
        }

        .file-drop.progress-bar {
            transition: none;
            background-color: #0079C9;
        }

        .progress-message {
            color: #5C5C5C;
        }

    .file-drop-overlay svg text.material-icons {
        font-size: 64px;
    }

    .medium .file-drop .file-drop-region {
        min-height: 115px;
        background-color: #EBEBEB;
    }

    .large .file-drop .file-drop-region {
        min-height: 160px;
        background-color: #EBEBEB;
    }

    .file-drop-detection {
        pointer-events: none;
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .file-drop-region {
        text-align: center;
        flex-grow: 1;
        position: relative;
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        transition: filter 0.8s, transform 0.3s;
        transform-origin: center;
        padding: 10px 15px;
    }

    .file-drop-overlay-parent {
        transition: filter 0.8s, transform 0.3s;
    }
    .file-drop-zoom {
        transform: scale(0.98);
        filter: saturate(1.5);
        transition: none;
    }

        .file-drop-region > span {
            margin: 8px 0;
        }

        /* Fancy overlay */
        .file-drop-overlay {
            user-select: none;
            -ms-user-select: none;
            pointer-events: none;
            opacity: 1;
            z-index: 100;
            position: absolute;
            background-color: rgba(2,101,163,0.0);
            border: 2px solid rgba(0,121,201,0.0);
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            transition: background-color 0.3s, border 0.3s, opacity 0.3s, filter 0.8s, transform 0.3s;
            overflow: hidden;
            top: 0px; /* Fix for IE11 */
            left: 0px;
        }
        .file-drop-overlay.file-drop-hover {
            background-color: rgba(2,101,163,0.223);
            border: 2px solid rgba(0,121,201,1.0);
        }
            .file-drop-overlay > svg {
                width: 100%;
                height: 100%;
            }
            .file-drop-overlay > svg * {
                overflow: visible;
            }
            .file-drop-overlay g.bubble {
                transition: transform 0.5s, opacity 0.05s;
                transform: translate(0, 100px);
            }
            .file-drop-overlay g.bubble-sticky {
                transition: opacity 0.05s;
                opacity: 0;
            }
            .large.file-drop-overlay g.bubble { transform: translate(0, 120px) scale(1.2); }
            .large.file-drop-overlay.file-drop-hover g.bubble { transform: translate(0, 0) scale(1.2); }
            .file-drop-overlay.file-drop-hover g.bubble { transform: translate(0, 0); }
        /* Simple overlay */
        .file-drop-overlay.solid {
            opacity: 0;
            background-color: #DAEFFF;
            border: 2px solid #0079C9;
            transition: opacity 0.3s;
            overflow: hidden;
        }
        .file-drop-overlay.solid.file-drop-hover {
            opacity: 1;
        }
            .file-drop-overlay > div {
                width: 100%;
                text-align: center;
                position: absolute;
            }

/* Small Link List - introduced with QIP */
.small-link-list {
    padding-left: 16px;
}

    .small-link-list > li {
        list-style: none;
        text-indent: -16px;
        line-height: 19px;
    }

.suggestions-popout {
    position: absolute;
    z-index: 1;
    background: #FFFFFF;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.175);
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
}
    .suggestions-popout .suggestion {
        padding: 6px 12px;
        cursor: pointer;
    }
        .suggestions-popout .suggestion:hover {
            background-color: #F7F7F7;
        }

    .suggestions-popout .suggestion-group-header {
        font-weight: 600;
        padding: 12px 16px 6px 16px;
    }
        .suggestions-popout .suggestion-group-header:not(:first-child) {
            border-top: 1px solid #D6D6D6;
        }

    .suggestions-popout .suggestions-group .suggestion {
        padding: 6px 24px;
    }

.width-70 {
    width: 70px;
}

.collection-rpt-days-span {
    padding-left: 10px;
    vertical-align: -webkit-baseline-middle;
}

#collectionCustomers .select2-container {
    width: 100% !important;
}

.row-fluid {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.upsellPartial-text {
    font-size: 24px;
    font-family: Fira Sans;
    font-style: normal;
    text-align: center;
    line-height: 29px;
    font-weight: 300;
}

.text-center {
    text-align:center;
}

.upsellPartial-panel-body-content {
    float: left;
    position: relative;
    min-height: 1px;
    padding: 16px 24px;
    background-color: #F3F5F9;
}

.cs-h2 {
    font-weight: 300;
    font-size: 24px;
}

.upsellPartial-header {
    font-size: 24px;
    line-height: normal;
    text-transform: none;
    font-weight: bold;
    text-align: center;
    font-family: 'Fira Sans';
    margin: 8px 0;
}

.upsellPartial-container {
    margin: 8px 0 24px 0;
}

.upsellPartial-actions .btn {
    min-width: 112px;
}

.link-text {
    color: #0079C9;
}

.btn-flex-center {
    /* Apply to <a> to make them center their contents like <button> */
    display: inline flex;
    align-items: center;
    justify-content: center;
}


ul.copy-shift {
    font-weight: 400;
    text-align: left;
    padding: 0px;
}

    ul.copy-shift ul.copy-shift-items {
        list-style: none;
        padding: 0;
        border: 1px solid #EBEBEB;
        max-height: 150px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        ul.copy-shift ul.copy-shift-items li {
            display: flex;
            padding: 6px 16px;
            gap: 6px;
        }

            ul.copy-shift ul.copy-shift-items li > div {
                min-width: 0px; /* This is a trick that causes the ellipsis to show correctly */
            }

            ul.copy-shift ul.copy-shift-items li > div > div {
                width: 180px;
            }

                ul.copy-shift ul.copy-shift-items li > div > div > div {
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }

ul.copy-shift > li.copy-shift-option {
    padding: 8px 16px;
}

    ul.copy-shift li.copy-shift-option:hover {
        background-color: #EBEBEB;
    }

.copyday-items {
    border: 1px solid #EBEBEB;
    height: 150px;
    overflow: auto;
}

    .copyday-items > div {
        margin-top: 3px;
        margin-bottom: 8px;
    }

.ot-details-summary {
    margin-top: 13px;
    margin-bottom: 26px;
    padding: 16px;
    background-color: #EBEBEB;
}

    .ot-details-summary table {
        width: 757px;
        margin-bottom: 0px;
    }

.ot-details-summary table > thead > tr > th {
    padding-left: 0px;
    padding-bottom: 0px;
}

.ot-details-summary table > tbody > tr > td {
    padding: 0px;
}

.header-hover-action {
    margin-left: 8px;
    vertical-align: middle;
    background: #F7F7F7;
    border-radius: 62px;
    border-style: none;
}

/* Bootstrap Input Group Overrides */
.input-group-addon {
    border: 1px solid #ebebeb;
}
.input-group.input-group-continuous .form-control:not(:first-child),
.input-group.input-group-continuous .input-group-addon.input-group-addon:not(:first-child) {
    border-left: none;
}
.input-group.input-group-continuous .form-control:not(:last-child),
.input-group.input-group-continuous .input-group-addon.input-group-addon:not(:last-child) {
    border-right: none;
}

#calendar .fc-day-grid-container {
    overflow-y: auto !important;
}

/* "Subtle" table used when something is structurally tabular, but not visually "a table" */
.table-subtle td,
.table-subtle th {
    font-weight: inherit;
    vertical-align: middle;
    padding: 8px;
}

/* Indentation style used on left-side-tabs */
.indented {
    padding-left: 32px;
}
/* Backup class used when something should align with a .checkbox, but putting it inside is challenging for some reason */
.checkbox-indented {
    padding-left: 20px;
}

.sort-table-header-image {
    margin-right: 5px;
}

.password-field-icon {
    float: right;
    margin-left: -25px;
    margin-top: -28px;
    margin-right: 10px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}
@media (max-width: 767px) {
    .password-field-icon {
        margin-top: -36px;
    }
}

/* class for styling a <button> to look just like an <a> would */
.btn-inline-link {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    color: #0079C9;
    user-select: auto;
}

.btn-inline-link:hover,
.btn-inline-link:focus {
    text-decoration: underline;
}

.btn-primary-inverted {
    border-color: #0066DE;
    color: #0066DE;
    background-color: white;
}

.btn-primary-inverted:hover {
    background-color: #ECF7FF;
    color: #0066DE;
}

/* Styles for FSM footer. */
.fsm-footer-logo {
    width: 180px;
    filter: invert(23%) sepia(98%) saturate(2462%) hue-rotate(203deg) brightness(92%) contrast(101%);
}

.fsm-footer {
    background-color: #EEEEEE;
    text-align: center;
    border-top: none;
}

.fsm-footer-column {
    padding: 10px;
    text-align:center;
}

a.fsm-link {
    color: #0079C9;
    font-size: 14px;
    padding: 12px;
}

a.fsm-link:focus,
a.fsm-link:hover {
    color: #0079C9;
}

.fsm-footer-content {
    max-width:1000px;
    margin:auto;
}

.attachment-tooltip {
    object-fit: contain;
    width: 65px;
    height: 65px;
}

/* Hide HubSpot button/popup on print */
@media print {
    #hubspot-messages-iframe-container#hubspot-messages-iframe-container {
        /* !important AND extra specificity to override the <style> that HubSpot JS injects */
        display: none !important;
    }
}

.adp-container {
    margin-top: 20px;
}

/* Prevent toast text from overflowing */
.ui-pnotify {
    word-break: normal;
    overflow-wrap: break-word;
}

._tooltip-manager-focus-target_ {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    border-width: 0;
}

.alert-warning-box {
    border-color: #FECD3D; /* Specific border style for the left side */

    outline-width: 1px;
    outline-style: solid;
    outline-color: #FECD3D;
    outline-offset: 0; /* No offset to avoid doubling on any side */

    background-color: #fff;
    color: #333;
}

    .alert-warning-box p {
        background-color: #fff;
        color: #333;
    }

    .alert-warning-box hr {
        border-top-color: #FECD3D;
    }

    .alert-warning-box .alert-link {
        color: #FECD3D;
    }

.alert-danger-box {
    border-color: #DF274B; /* Specific border style for the left side */

    outline-width: 1px;
    outline-style: solid;
    outline-color: #DF274B;
    outline-offset: 0; /* No offset to avoid doubling on any side */

    color: #333;
    background-color: #FFF;
}

    /* Applies style to p and div element below alert-danger-box */
    .alert-danger-box p,
    .alert-danger-box div {
        color: #333;
        background-color: #FFF;
    }

    .alert-danger-box hr {
        border-top-color: #E4B9C0;
    }

    .alert-danger-box .alert-link {
        color: #843534;
    }
