﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --truckstop-red: #b60207;
    --dat-blue: #164ad6;
    --black: #2c2c2c;
    --gold: #ffc107;
    --gold-dark: #d7a81d;
    --red: #c11818;
    --green: #14a321;
    --border-color: #ededed;
    --font-size: 0.85rem;
    --font-size-small: 0.75rem;
    --sidebar-width: 50px;
    --bs-primary: var(--gold) !important;
    --mud-palette-primary: var(--gold) !important;
    --mud-palette-primary-darken: var(--gold-dark) !important;
}

.required-input:after {
    content: "*";
    color: red;
}

.compact-list {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    line-height: 1.2;
}

    .compact-list li {
        margin-bottom: 0.25rem;
    }

.deleting-mode .blurred-item {
    opacity: 0.3;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.deleting-item {
    background-color: #ffebeb;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.inline-delete-confirmation {
    text-align: center;
    font-size: 1.2rem;
}


.disabled-item {
    cursor: not-allowed !important;
    color: grey !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
}



::selection {
    background: #257cff !important; /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #257cff !important; /* Gecko Browsers */
}

.word-wrap-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#map {
    width: 100%;
    min-width: 290px;
    height: 100%;
}

.watermarked {
    position: relative;
    overflow: hidden;
}

    .watermarked::before {
        position: absolute;
        top: -70vh;
        left: -20vw;
        width: 100vw;
        height: 200vh;
        display: block;
        transform: rotate(-45deg);
        content: attr(data-watermark);
        opacity: 0.10;
        line-height: 2em;
        letter-spacing: 2px;
        font-size: 50px;
        color: red;
    }

.fs-small {
    font-size: var(--font-size-small);
}

.fs-normal {
    font-size: var(--font-size);
}

.badge-label {
    display: block;
    color: var(--black);
    opacity: 0.25;
}

    .badge-label.highlight {
        opacity: 1;
    }

.hover:hover, .hover:focus {
    opacity: 0.5;
    cursor: pointer;
}

.omit-hover:hover {
    opacity: 1 !important;
    cursor: default;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 15px !important;
    height: 15px !important;
}

::-webkit-scrollbar-thumb {
    background-color: #c1c1c1 !important;
}

::placeholder {
    color: var(--black);
    opacity: 0.5;
    font-size: var(--font-size);
}

html, body {
    font-family: 'Verdana', Verdana, Arial, sans-serif !important;
    font-size: var(--font-size) !important;
    color: var(--black);
    letter-spacing: -.01em;
    background-color: #f7f9fc;
}

.page {
    overflow-y: auto;
}

html, body, div#app, div.page, .sidebar {
    height: 100%;
}

.page-header {
    box-shadow: 20px 0 2rem 0 rgb(41 48 66 / 10%);
}

a, .btn-link {
    color: var(--black);
    text-decoration: none;
}

    a:hover, .btn-link:hover {
        color: var(--black) !important;
        opacity: 0.5 !important;
    }

.c-hand {
    cursor: pointer !important;
}

.c-default {
    cursor: default !important;
}

.nav-link {
    cursor: pointer;
}

select option {
    cursor: pointer;
}

    select option:checked {
        background-color: var(--gold) !important;
        color: white !important;
    }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.page-title {
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.05rem;
}

.modal-title {
    font-weight: 400;
    font-size: 1.15rem;
}

.input-label, .label {
    padding: 1px 5px;
    font-size: var(--font-size-small);
    opacity: .65;
    display: block;
    font-weight: 100;
}

.label-value {
    min-height: 15px;
}

.tab-navigation-container .list-group-item.active {
    background: var(--gold);
    border: 1px solid var(--gold-dark);
    color: #fff;
}

.list-group-item-unopened {
    background: var(--gold);
    border: 1px solid var(--gold-dark);
    background-color: #fff;
    animation: pulseBackground 2s infinite alternate ease-in-out;
}

@keyframes pulseBackground {
    0% {
        border-color: #fff;
    }

    100% {
        background-color: #dec800;
    }
}

.grid-shipments td.action-item .rz-cell-data {
    height: 35px;
}


/** Borders **/
.border {
    border: 1px solid var(--border-color) !important;
}

.border-2 {
    border: 2px solid var(--border-color) !important;
}

.border-b {
    border-bottom: 1px solid var(--border-color) !important;
}

.border-t {
    border-top: 1px solid var(--border-color) !important;
}

.border-l {
    border-left: 1px solid var(--border-color) !important;
}

.border-r {
    border-right: 1px solid var(--border-color) !important;
}

.border-tb {
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.border-lr {
    border-left: 1px solid var(--border-color) !important;
    border-right: 1px solid var(--border-color) !important;
}

.border-l-medium {
    border-left: 3px solid var(--border-color) !important;
}

.border-OpenOpp {
    border-left-color: #662AE7 !important;
}

.bg-signal-highlight {
    background-color: rgba(59, 130, 246, 0.04) !important;
}

.border-r-medium {
    border-right: 3px solid var(--border-color) !important;
}

.border-t-0 {
    border-top: 0 !important;
}

.border-primary {
    border-color: var(--gold-dark) !important;
}

.border-danger {
    border: 1px solid #9c5b5b !important;
}

.border-l-success {
    border-left-color: var(--green) !important;
}

.border-l-danger {
    border-left-color: #eb4848 !important;
}

.border-l-warning {
    border-left-color: #ffca07 !important;
}

.border-l-default {
    border-left-color: #ff000000 !important;
}

.border-r-success {
    border-right-color: var(--green) !important;
}

.border-r-danger {
    border-right-color: #eb4848 !important;
}

.border-r-warning {
    border-right-color: #ffca07 !important;
}

.border-size-2 {
    border-width: 2px;
}

.border-radius-none {
    border-radius: 0 !important;
}

/* Margin */
.mt-negative-1 {
    margin-top: -5px;
}

.mt-negative-2 {
    margin-top: -6px;
}

.mt-negative-3 {
    margin-top: -8px;
}

.mt-negative-5 {
    margin-top: -15px;
}

.ml-negative-1 {
    margin-left: -4px;
}

/* Open Shipments */
@keyframes FadeIn {
    from {
        opacity: 0.25;
    }

    to {
        opacity: 1;
    }
}

@keyframes FadeInHighlighted {
    from {
        background: #e6f1ff;
    }

    to {
        background: #fff;
    }
}

tr.shipment {
    cursor: pointer;
}

    tr.shipment:hover td:not(.omit-hover) {
        opacity: 0.5;
    }

    tr.shipment.updated td {
        animation: FadeInHighlighted 5s ease-in-out forwards;
    }

.vendor-label {
    opacity: 0.5;
}

    .vendor-label.active {
        opacity: 1;
    }

        .vendor-label.active.truckstop {
            color: var(--truckstop-red);
        }

        .vendor-label.active.dat {
            color: var(--dat-blue);
        }

.carrier-compliance-indicator {
    font-size: 7px;
}

.opaque {
    opacity: 0.35;
}

.opaque-less {
    opacity: 0.55;
}

.strikethrough {
    text-decoration: line-through;
}

.past-carrier {
    background-color: gold;
}

.link-primary.highlight.active {
    color: black !important;
    background: var(--gold) !important;
    border: 1px solid var(--gold-dark) !important;
}

.map-copyright dark {
    display: none;
}

.word-wrap-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #ededed;
    }

    .separator:not(:empty)::before {
        margin-right: .25em;
    }

    .separator:not(:empty)::after {
        margin-left: .25em;
    }


.container-primary {
    color: #ac8100 !important;
    background-color: #ffebb0 !important;
    border-color: var(--gold-dark) !important;
}

.corner-triangle-red {
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent #ff3737 transparent transparent;
    right: 0;
    top: 0;
    position: absolute;
}

.corner-triangle-darkgray {
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent #818181 transparent transparent;
    right: 0;
    top: 0;
    position: absolute;
}

.corner-triangle-sm-primary {
    border-style: solid;
    border-width: 0 7px 7px 0;
    border-color: transparent var(--gold) transparent transparent;
    right: 0;
    top: 0;
    position: absolute;
}

.corner-triangle-sm-success {
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent var(--green) transparent transparent;
    right: 0;
    top: 0;
    position: absolute;
}

.secondary-corner-triangle-red {
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: transparent #ff3737 transparent transparent;
    right: 0;
    bottom: 0;
    position: absolute;
}

.secondary-corner-triangle-darkgray {
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: transparent #818181 transparent transparent;
    right: 0;
    bottom: 0;
    position: absolute;
}


.disabled-link {
    color: currentColor;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
}

.incoming-icon-pulse {
    width: 60px;
    height: 60px;
    background-color: gold;
    border-radius: 50%;
    position: relative;
    animation: animate 3s linear infinite
}

    .incoming-icon-pulse i {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        color: #fff;
        height: 100%;
        cursor: pointer
    }

.btn-small {
    width: auto !important;
    min-width: auto !important;
    padding: 2px 20px !important;
}


.html-content ul {
    list-style: disc !important;
}

@keyframes animate {
    0% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0.7), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    40% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    80% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }
}


.blink {
    animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.shipment-items-grid .rz-column-title-content {
    font-weight: bold;
}

.carrier-credit-item-grid {
    font-weight: bold;
}

.carrier-compliance-note-info {
    font-weight: bold;
}

@media (min-width:991px) {
    .carrier-per-mile-bid-amount-text {
        position: relative;
        left: -25px;
        width: 80px;
        margin-top: 20px;
    }

    .carrier-per-mile-quote-amount-text {
        position: relative;
        left: -25px;
        width: 80px;
        margin-top: 20px;
    }
}

@media (max-width:991px) {
    .carrier-per-mile-bid-amount-text {
        position: relative;
        left: 50px;
        width: 80px;
        padding-bottom: 10px;
    }

    .carrier-per-mile-quote-amount-text {
        position: relative;
        left: 50px;
        width: 80px;
        padding-bottom: 10px;
    }
}

#carrier-review-tooltip:hover {
    color: darkblue;
    opacity: 0.5;
}


@keyframes beatFade {
    0%, 100% {
        opacity: 1;
        transform: scale(1.05);
    }

    50% {
        opacity: 0.5;
        transform: scale(1);
    }
}

.icon-beat-fade:hover {
    animation: beatFade 2s infinite;
}

.shared-lane-unopened-indicator {
    background-color: red;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    padding: 2px 6px;
    position: relative;
    top: 0px;
    right: 2px;
    display: inline-block;
    min-width: 20px;
    text-align: center;
}
