﻿:root {
    --carrier-color: hsl(255, 83%, 37%);
}

.kpi {
    display: flex;
    flex-direction: column;
    border: 1px solid #3333;
    padding: .5rem;
    border-radius: .5rem;
    width: 100%;
    min-width: 150px;
    background: var(--primary-dark);
    color: #fff
}

.bg1 {
    background: hsl(285, 83%, 37%) !important;
}

.bg2 {
    background: hsl(255, 83%, 37%) !important;
}
.bg3 {
    background: hsl(225, 83%, 37%) !important;
}
.bg4 {
    background: hsl(195, 83%, 37%) !important;
}
.bg5 {
    background: hsl(165, 83%, 37%) !important;
}
.bg6 {
    background: hsl(135, 83%, 37%) !important;
}
.bg7 {
    background: hsl(105, 83%, 37%) !important;
}
.bg8 {
    background: hsl(75, 83%, 37%) !important;
}
.bg9 {
    background: hsl(315, 83%, 37%) !important;
}

.color1 {
    color: hsl(285, 63%, 27%) !important;
}
.color2 {
    color: hsl(255, 63%, 27%) !important;
}
.color3 {
    color: hsl(225, 63%, 27%) !important;
}
.color4 {
    color: hsl(195, 63%, 27%) !important;
}
.color5 {
    color: hsl(165, 83%, 37%) !important;
}

.kpi p {
    margin: 0;
}

.kpi-header {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
}

.kpi-body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.kpi-footer {
    position: relative;
}

.kpi-total-block {
    position: absolute;
    left: 0;
    top: -1rem;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 2px 4px;
}

.kpi-total-block p {
    margin: 0;
    font-size: .8rem;
}

.perc-bar-container {
    width: 100%;
    border: 1px solid #fff;
    height: .75rem;
    margin-top: 4px;
    border-radius: 8px;
    padding: 1px;
    
}

.perc-bar-bar {
    background: #fff;
    height: 100%;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    transition-duration: 500ms;
}

.border1 {
    border: 1px solid hsl(285, 63%, 27%);
    border-radius: 8px;
}

.border2 {
    border: 1px solid hsl(255, 63%, 27%);
    border-radius: 8px;
}

.border3 {
    border: 1px solid hsl(225, 63%, 27%);
    border-radius: 8px;
}

.border4 {
    border: 1px solid hsl(195, 63%, 27%);
    border-radius: 8px;
}

.border5 {
    border: 1px solid hsl(165, 63%, 27%);
    border-radius: 8px;
}

.scroll-table {
    max-height: 450px;
    overflow-y: auto;
    position: relative;
}

.scroll-table > table > thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.graph-card {
    text-align: center;
    color: var(--primary-dark);
    max-height: 450px;
    min-height: 350px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

    .graph-card.large {
        max-height: 650px;
        min-height: 550px;
    }

.graph-card canvas {
    max-width: 100%;
    height: auto;
}

.report-table {
    table-layout: fixed;
    transition-duration: 300ms;
    width: 100%;
    min-width: 600px;
}

.report-table.sized {
    width: max-content;
}

.report-table thead {
    background: var(--carrier-color);
    color: #fff;
    font-size: .7rem;
    font-weight: 500;
}


.total-col {
    border-left: 2px solid var(--carrier-color);
}

.total-row {
    border-top: 2px solid var(--carrier-color);
    background: #f8f8f8;
}

    #table1 tr {
        letter-spacing: 1.5px;
    }

td.positive {
    color: #0a0;
    text-shadow: 0 0 1px #000;
}

td.negative {
    color: #f00;
    text-shadow: 0 0 1px #000;
}

.report-table.hoverable tbody tr {
    transition-duration: 100ms;
}

.report-table.hoverable tbody tr:hover {
    background: #3333;
    text-shadow: 0px 0px 1px #000;
}

.carrier-name-cell {
    font-weight: 600;
    text-shadow: 0px 0px 0px #000;
    height: 30px;
    position: sticky;
    left: 0;
}

.table-striped .carrier-name-cell img {
    height: 30px;
    width: auto;
    max-width: unset;
    background: inherit;
}


.table-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: .5rem;
    position: sticky;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
}

    .table-pagination p, .table-pagination div {
        margin: 0;
        padding: .25rem 1rem;
        font-weight: 600;
        color: var(--carrier-color);
    }

    .table-pagination button {
        border: 1px solid var(--carrier-color);
        border-radius: 50%;
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition-duration: 200ms;
        font-weight: 700;
        font-size: 1rem;
        color: var(--carrier-color);
        background: #fff;
    }


        .table-pagination button:hover {
            background: var(--carrier-color);
            color: #fff;
        }

.table-pagination button:disabled {
    background: #dedede;
    border-color: #333;
    cursor: unset;
}
    .table-pagination button:disabled:hover {
        background: #dedede;
        border-color: #333;
        color: var(--carrier-color);
    }

#charges-modal .modal-header {
    padding: .25rem 1rem;
}

#charges-modal .modal-body {
    padding: 0rem 1rem;
    font-size: .9rem;
}

#charges-modal .modal-dialog {
    width: fit-content;
    max-width: 95%;
}

#carriers-modal .modal-dialog {
    max-width: 95%;
    width: max-content;
    font-size: 14px;
    position: relative;
}


#charges-modal #modal-title {
    text-shadow: 0px 0px 1px #000;
}


.table-container table {
    width: auto;
}

.table-container thead th {
    font-size: .8rem;
    font-weight: 500;
    line-height: 1rem;
    padding: 8px 4px;
    width: 100px;
    cursor: pointer;
}

.btnRow {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.btnRow.hide {
    display: none;
}

#table-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

p.negative {
    color: #f00;
}

p.positive {
    color: #0a0;
}

#lanes-otp-table * {
    font-size: .9rem !important;
}

#lanes-otp-table thead th {
    cursor: pointer;
}

#lanes-otp-table tbody tr {
    cursor: pointer;
}

/*summary*/
.summary-table thead tr {
    background: var(--primary);
    color: #fff;
    
}

    .summary-table thead tr th {
        font-weight: 400;
        cursor: pointer;
    }

    .summary-table .arrow-icon {
        margin-left: .25rem;
    }

    .summary-table td {
        padding: 6px 8px;
    }

    .summary-table tbody tr:hover {
        background: #efefef;
    }

/* spend trend */
.spendTrendBox h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.spendTrendBox canvas {
    height: 400px;
}

/** bid solicitation */
.my-grid-row{
    display: grid;
                          /* id   orig  dest  zone  HU   weight  insu  appt  LG */
    grid-template-columns: 1.0fr 1.0fr 1.0fr 1.0fr 1.0fr 1.0fr  1.0fr 1.0fr 1.0fr ;
    padding: .5rem;
    border-bottom: 1px solid #333;
    text-align: center;
    cursor: pointer;
    font-size: .8rem;
    transition-duration: 100ms;
}

.my-grid-row.parcel {
    grid-template-columns: 1fr 1.6fr 1fr 0.8fr 0.8fr 0.8fr 0.8fr 1.2fr 1.3fr 1.3fr 0.7fr 0.8fr;
}

    .my-grid-row[aria-expanded=true] {
        background: #682d9125 !important;
    }

.my-grid-row:hover {
    background: #682d9125 !important;
}

.my-grid-row span {
    border-right: 1px solid #333;
    overflow: hidden;
}

.my-grid-row.totals{
    background: #682d9125;
    cursor: unset;
}

.my-grid-row.header-row{
    background: var(--primary) !important;
    color: #fff;
    cursor: unset;
}

.my-grid-row span:first-child{
    border-left: 1px solid #333;
}

.my-grid-row.header-row span {
    border-right-color: #fff;
}
.my-grid-row.header-row span:last-child{
    border: none;
}
.my-grid-row.header-row span:first-child{
    border-left: none;
}

.my-collapse {
    border-bottom: 1px solid #333;
    padding: 0 !important;
    margin: 0 !important;
}

.collapse-table th, .collapse-table td {
    padding: .25rem;
    text-align: center;
    font-size: .85rem;
}


@media screen and (max-width: 991px) {
    .scroll-table{
        max-height: unset;
    }

    .my-grid-row, .collapse-table th, .collapse-table td {
        font-size: .7rem;
    }

    #charges-modal {
        font-size: .8rem !important;
    }
        #charges-modal .modal-dialog, #carriers-modal .modal-dialog {
            width: 100%;
            max-width: 100%;
            min-width: unset;
        }


    #charges-modal {
        font-size: 12px;
    }

    .table-container table {
        width: auto;
    }

        .table-container table th {
            min-width: 100px;
        }
}

@media screen and (max-width: 700px) {
    #charges-modal {
        font-size: .7rem !important;
    }
    .graph-card.large {
        max-height: 450px;
        min-height: 350px;
    }
    .report-table {
        min-width: 100%;
    }
    .my-grid-row, .collapse-table th, .collapse-table td {
        font-size: .6rem;
    }
}

.consignee-row {
    cursor: pointer;
}

@font-face {
    font-family: 'icomoon';
    src: url('fonts/custom/icomoon.eot?mefij9');
    src: url('fonts/custom/icomoon.eot?mefij9#iefix') format('embedded-opentype'), url('fonts/custom/icomoon.ttf?mefij9') format('truetype'), url('fonts/custom/icomoon.woff?mefij9') format('woff'), url('fonts/custom/icomoon.svg?mefij9#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

#carrier-markup-display-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
}
.carrier-markup-display {
    h3 {
           padding: .25rem;
           color: #fff;
           text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
           font-size: 1.5rem;
           text-align: center;
           margin-bottom: 1rem;
       }
       p {
           margin-bottom: .5rem;
       }
}

@media screen and (max-width: 1300px) {
    #carrier-markup-display-container {
        grid-template-columns: repeat(3,1fr)

    }
}
@media screen and (max-width: 800px) {
    #carrier-markup-display-container {
        grid-template-columns: repeat(2,1fr)
    }
}
@media screen and (max-width: 600px) {
    #carrier-markup-display-container {
        grid-template-columns: repeat(1,1fr)
    }
}

