html {
    position: relative;
    min-height: 100%;
    font-family: "Roboto", sans-serif;
    font-size: 16px;

    @media (max-width: 576px) {
        font-size: 0.6em;
    }
}

body {
    padding-top: 0;
    font-family: "Roboto", sans-serif;
}

ul {
    list-style: none;
    padding: 0;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

.vi-status-block-container {
    display: grid;
    justify-content: space-evenly;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.vi-status-block {
    display: inline-block;
    text-align: center;
}

.vi-status-value {
    font-size: 3em;
    color: #582c83;
    font-weight: bold;
}

.vi-status-value .percent-sign {
    font-size: .7em;
}

.vi-status-label {
    font-size: 1em;
}

.vi-status-block-container.text-dark .vi-status-value, .vi-status-block-container.text-dark .vi-status-block > a {
    color: var(--dark);
}

.vi-status-block-container.text-secondary .vi-status-value, .vi-status-block-container.text-secondary .vi-status-block > a {
    color: var(--secondary);
}

.vi-status-block-container.text-success .vi-status-value, .vi-status-block-container.text-success .vi-status-block > a {
    color: var(--success);
}

.vi-status-block-container.text-danger .vi-status-value, .vi-status-block-container.text-danger .vi-status-block > a {
    color: var(--danger);
}

.vi-status-block > a .vi-status-label {
    border-bottom-style: inset;
    border-bottom-width: thin;
}

.vi-status-block-container.text-small .vi-status-value {
    font-size: 2em;
}

.vi-status-block-container.text-large .vi-status-value {
    font-size: 3em;
}

.vi-status-block-container.text-large .vi-status-label {
    font-size: 1.2em;
}

.vi-fs-small {
    font-size: .8em;
}

div.vi-status-block-container::before, div.vi-status-block-container::after {
    display: none;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

::placeholder {
    color: var(--light);
    font-style: normal;
}

table.dataTable.xs-font {
    font-size: 0.7em;
}

table.dataTable thead > tr > th {
    padding-left: 15px !important;
    padding-right: 5px !important;
    line-height: 1em;
    background-color: #f4f4f4;

    @media (max-width: 576px) {
        padding-left: 0.5em !important;
        padding-right: 0.5em !important;
    }
}

table.dataTable tbody > tr > td {
    padding: 0.50rem;
    vertical-align: center;

    @media (max-width: 576px) {
        line-height: 1em;
        height: 3.25em;
    }
}

table.dataTable tbody > tr > td.control {
    @media (max-width: 576px) {
        width: 1em;
    }
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after {
    left: -2px !important;
    right: auto !important;
}

.table, .table-responsive {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

.pointer {
    cursor: pointer;
}

.dataTables_info {
    font-size: 12px;
}

.smallTable {
    font-size: 12px;
}

.dataTables_filter input {
    height: 25px;
}

.highcharts-credits {
    display: none;
}

/* Customize DataTable Sorting Icons */
@font-face {
    font-family: "FontAwesome";
    font-weight: normal;
    font-style: normal;
    src: url("libraries/fa_5.12.0.webfonts/fa-solid-900.eot");
    src: url("libraries/fa_5.12.0.webfonts/fa-solid-900.eot") format("embedded-opentype"),
    url("libraries/fa_5.12.0.webfonts/fa-solid-900.woff2") format("woff2"),
    url("libraries/fa_5.12.0.webfonts/fa-solid-900.woff") format("woff"),
    url("libraries/fa_5.12.0.webfonts/fa-solid-900.ttf") format("truetype"),
    url("libraries/fa_5.12.0.webfonts/fa-solid-900.svg#fontawesomeregular") format("svg");
}

table.dataTable thead .sorting .th-content:before,
table.dataTable thead .sorting_asc .th-content:before,
table.dataTable thead .sorting_desc .th-content:before,
table.dataTable thead .sorting_asc_disabled .th-content:before,
table.dataTable thead .sorting_desc_disabled .th-content:before {
    content: '';
    display: none;
}

table.dataTable thead .sorting .th-content:after,
table.dataTable thead .sorting_asc .th-content:after,
table.dataTable thead .sorting_desc .th-content:after,
table.dataTable thead .sorting_asc_disabled .th-content:after,
table.dataTable thead .sorting_desc_disabled .th-content:after {
    font-family: FontAwesome;
    /*content: '\f338';*/
    content: '\f142';
    opacity: 0.2;
}

table.dataTable thead .sorting_asc .th-content:after {
    content: '\f15e';
    opacity: 1.0;
}

table.dataTable thead .sorting_desc .th-content:after {
    content: '\f881';
    opacity: 1.0;
}

table.dataTable.table-sm .sorting .th-content:after,
table.dataTable.table-sm .sorting_asc .th-content:after,
table.dataTable.table-sm .sorting_desc .th-content:after {
    top: unset;
    bottom: 4px;
}

table.dataTable > thead > tr > th[class*="sort"]:before,
table.dataTable > thead > tr > th[class*="sort"]:after {
    content: "" !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #dcdcdc;
}

/*Bootstrap dialog overrides*/
.bootstrap-dialog.type-warning .modal-header {
    background-color: var(--warning);
}

.bootstrap-dialog.type-danger .modal-header {
    background-color: var(--danger);
}

.bootstrap-dialog.type-success .modal-header {
    background-color: var(--success);
}

.bootstrap-dialog.type-info .modal-header {
    background-color: var(--info);
}

.bootstrap-dialog.type-primary .modal-header {
    background-color: var(--primary);
}

.bootstrap-dialog.type-secondary .modal-header {
    background-color: var(--secondary);
}

.profile-inner {
    height: 4.21em;
    width: 4.25em;
    background-color: var(--light);
}

.bg-light {
    background-color: var(--light);
}

.bg-light-grey {
    background-color: #f4f4f4 !important;
}

/*.job-status {*/
/*    width: 20em;*/

/*    @media (max-width: 576px) {*/
/*        width: auto;*/
/*    }*/
/*}*/

.site-logo {
    height: 13vh;
    max-height: 2em;
}

.tab-data .d-flex{
    gap:0.5rem;
}

.request-details {
    padding-top: 20px;
    padding-bottom: 20px;
}

.dashboard-tab-data {
    font-size: 0.9rem;
}

.request-details .hr-border {
    background-color: #DEE2E6;
}

.dataTables_info {
    display: flex;
    justify-content: center;
    padding-top: 0.85em !important;
    @media (max-width: 576px) {
        padding-top: unset !important;
    }
}

.align-pagination {
    display: flex;
    justify-content: right;
    @media (max-width: 576px) {
        justify-content: center;
    }
}

.quick-view  .request-panel {
    @media (max-width: 576px) {
        padding-bottom: 0.5em;
    }
}

.quick-view .request-panel:not(:first-child) {
    border-left: 1px solid #DEE2E6;
    border-top: none;

    @media (max-width: 576px) {
        border-left: none;
        border-top: 1px solid #DEE2E6;
        padding-top: 0.5em;
    }
}

.quick-view .request-panel .products {
    max-height: 12.5em;
    overflow-y: auto;
    text-wrap: normal;
    padding-right: 1em;
}

.quick-view .request-panel .last-update {
    overflow: auto;
    text-wrap: normal;
    padding-right: 1em;
}

.quick-view .request-panel .latest-message {
    max-width: 25em;
    overflow-wrap: break-word;
}

.page-icon {
    font-size: 3em;
    color: #A2A8AE;
}

.magnify-icon {
    position: absolute;
    font-size: 0.48em;
    z-index: 2;
    color: #A2A8AE;
    left: 0.28em;
    top: -1.3em;
}

.box-icon {
    position: absolute;
    left: 1.3em;
    top: 0;
    font-size: 0.8em;
    color: #f4f4f4;
    z-index: 1;
}

.check-icon {
    position: absolute;
    font-size: 0.12em;
    z-index: 2;
    left: 2em;
    top: 1.8em;
}

.pin-icon {
    position: absolute;
    z-index: 1;
    left: 0.7em;
    font-size: 1.5em;
}

.minus-icon {
    position: absolute;
    z-index: 2;
    left: 1.85em;
    font-size: 0.7em;
    top: 1.3em;
}

.icon-field {
    text-align: right;
    vertical-align: center;
}

.btn-outline-light-grey {
    border-color: #DEE2E6;
}

.border-bottom-light-grey {
    border-bottom: 2px solid #DEE2E6;
}

.border-top-light-grey {
    border-top: 2px solid #DEE2E6;
}

.border-top-success {
    border-top: 2px solid var(--success);
}

.border-bottom-success {
    border-bottom: 2px solid var(--success);
}

.border-left-light-grey {
    border-left: 2px solid #DEE2E6;
}

.border-right-light-grey {
    border-right: 2px solid #DEE2E6;
}

.border-light-grey {
    border: 2px solid #DEE2E6;
}

.btn-light-grey {
    background-color: #DEE2E6;
}

.text-light-grey {
    color: #DEE2E6;
}

.text-lighter-grey {
    color: #949494;
}

.border-left-light {
    margin-left: 2px !important;
}

.border-left-rounded {
    border-bottom-left-radius: 8px !important;
    border-top-left-radius: 8px !important;
}

.border-right-rounded {
    border-bottom-right-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.detail-buttons .btn {
    font-size: 1.2em;
}

.text-darker-grey {
    color: #7A7A7A;
}

.line-height-1 {
    line-height: 1em;
}

.notification-count {
    font-size: 0.5em;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 2.5em;
    z-index: 2;
    background: #de5a6b;
    border: 0.1875em solid #de5a6b;
    border-radius: 50%;
    height: 2em;
    width: 2em;
    line-height: 2em;
}

.request-detail-nav button:not(:first-child) {
    border-left: 2px solid var(--light);
}

.btn-light-grey {
    color: #000;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
}
.btn-light-grey:hover {
    color: #000;
    background-color: #EEF0F2;
    border-color: #e8e8e8;
}
.btn-light-grey.focus, .btn-light-grey:focus {
    color: #000;
    background-color: #EEF0F2;
    border-color: #e8e8e8;
    -webkit-box-shadow: 0 0 0 .2rem rgba(238, 240, 242, .5);
    box-shadow: 0 0 0 .2rem rgba(238, 240, 242, .5);
}
.btn-light-grey.disabled, .btn-light-grey:disabled {
    color: #000;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
}
.btn-light-grey:not(:disabled):not(.disabled).active, .btn-light-grey:not(:disabled):not(.disabled):active, .show>.btn-light-grey.dropdown-toggle {
    color: #000;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
}
.btn-light-grey:not(:disabled):not(.disabled).active:focus, .btn-light-grey:not(:disabled):not(.disabled):active:focus, .show>.btn-light-grey.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 .2rem rgba(238, 240, 242, .5);
    box-shadow: 0 0 0 .2rem rgba(238, 240, 242, .5);
}

.more-info-container {
    /*padding-left: 2.5em;*/
    /*padding-right: 1em;*/
}

.more-info {
    width: 8em;
    border-top: var(--light);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border: solid 2px #343a40;
    padding-left: 1em;
    padding-right: 1em;
    border-top: none;
    font-size: 0.7em;
    padding-top: 4px;
    color: #343a40 !important;
    cursor: pointer;
}

.more-info-arrow {
    position: absolute;
    top: -0.5em;
    left: 3.3em;
}

.more-info-icon {
    color: #343a40;
}

/*.form-check.form-rush-job {*/
/*    padding-left: 6em !important;*/
/*}*/

.flex-gap-05 {
    gap:0.5rem;
}

.request-detailed-info {
    display: none;
}

.proof-section h2 {
    display: inline;
    padding-right: 0.5em;
}

.proof-divider {
    border-left: 2px solid #DEE2E6;
}

.download-arrow-icon {
    position: absolute;
    font-size: 1.1em;
    z-index: 2;
    left: 1.3em;
    top: 0.1em;
}

.download-circle-icon {
    position: absolute;
    z-index: 1;
    left: 1.3em;
    top: 0.2em;
    font-size: 0.8em;
}

.proof img {
    border: 2px solid red;
}

.proof-image {
    width: 90%;
    object-fit: scale-down;
}

.proof-image-none {
    width: 90%;
    object-fit: contain;
}

.proof-footer-title {
    font-size: 1.4em;
}

.proof-footer-link {
    word-break: break-word;
    font-size: 1em;
}

.proof-container.rejected {
    border: 4px solid var(--danger);
}

.datatable-search-container {

}

.datatable-search {
    height: 2.4em !important;
}

.toolbar-container {
    width: 30em;
    @media (max-width: 576px) {
        width: 97.5%;
    }
}

.search-label {
    @media (max-width: 576px) {
        width: 97.5%;
    }
}

.datatable-search-label {
    /*width: 20em;*/
    /*@media (max-width: 576px) {*/
    /*    width: 98%;*/
    /*}*/
}

.pace-container {
    /*width: 16.5em !important;*/
    display: inline-block;
    padding: 6px;
    border-radius: 4px;
}

.pace-container .btn-sm {
    @media (max-width: 576px) {
        font-size: 0.4em;
    }
    @media (max-width: 768px) {
        font-size: 0.4em;
    }
    @media (max-width: 992px) {
        font-size: 0.4em;
    }
    @media (max-width: 1200px) {
        font-size: 0.4em;
    }
    @media (max-width: 1400px) {
        font-size: 1em;
    }
}

.proof-hidden {
    display: none;
}

.artwork-proof.clickable {
    cursor: pointer;
}

.create-ecom-ticket.disabled {
    cursor: inherit;
}

.create-ecom-text {
    color: var(--primary) !important;
    /*cursor: none;*/
}

.ecom-ticket .text-small {
    font-size: 0.8em;
}

.cursor-inherit {
    cursor: inherit;
}

/*.job-status-select {*/
/*    width: 30em !important;*/
/*}*/

.production-status-select {
    /*max-width: 9em;*/
}

.filter-divider {
    line-height: 1em;
    width: 1em;
}

.filter-container .form-control {
    @media (max-width: 576px) {
        font-size: 0.8em !important;
        height: 3.4em;
    }
}

.logo-site-select {
    @media (max-width: 576px) {
        padding-left: 0 !important;
        border-left: none !important;
    }
}

.requested-delivery-date {
    line-height: 1.5em;
}

.request-complete .custom-switch .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: var(--success);
}

.highlight-icon i {
    color: #ffc107;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}


.first-login-message {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #ffc107;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
    font-size: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(-10px); }
}


