@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --t_color_1: #00712C;
    --t_color_1_trans: #35b86866;
    --t_color_1_light: #39c66f;
    --t_color_1_light_bg: #edf6ea;
    --t_color_1_bg: #d7f4e2;
    --t_color_1_alt: #288a4e;
    --t_color_1_dark: #1d6338;
    --t_color_2: #ffd64e;
    --t_color_danger: #dc3545;
    --t_color_warning: #FFC91A;
    --t_color_warning_border: #ffc400;
    --t_color_warning_bg: #ffedb3;
    --t_color_success: #35b868;
    --t_color_info: #2B78E4;
    --t_color_bg_1: #fff;
    --t_color_bg_1_alt: #f7f7f7;
    --t_color_text_1: #000;
    --t_color_text_2: #4d4d4d;
    --t_color_text_3: #666;
    --t_color_input_border: #737373;
    --t_color_input_label: #404040;
    --t_padding_base: max(calc(((100vw - 75rem) / 2)), 3rem);
    --primary: #00712c;
    --primarytransparent: rgba(0, 113, 44, 0.08);
    --primarysemitransparent: rgba(0, 113, 44, 0.2);
    --primaryaccent: #028936;
    --alert-message: #0154ae;
    --base: #222;
    --base-light: #888;
    --white: #ffffff;
    --lightbg: #f9f9f9;
    --inquiry: purple;
    --whitelabel: #2B78E4;
    --border: #ddd;
    --icon-font: "Font Awesome 6 Pro";
    --icon-dashboard: "\f58d";
    --icon-jobs: "\f46d";
    --icon-add: "\2b";
    --icon-drives: "\e58b";
    --icon-lines: "\f364";
    --icon-area: "\f279";
    --icon-prices: "\f53c";
    --icon-elements: "\e3db";
    --icon-user: "\f2bd";
    --icon-calendar: "\f073";
    --icon-market: "\e0dc";
    --icon-menu: "\f0c9";
    --icon-info: "\f05a";
    --icon-message: "\f075";
    --icon-update: "\f013";
    --icon-companyinfo: "\f1ad";
    --icon-vehicles: "\f1b9";
    --icon-pauses: "\f811";
    --icon-exposure: "\e473";
    --icon-preview: "\f0ae";
    --icon-help: "\f059";
    --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Pro";
    --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Pro";
    --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
}

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
    color: var(--base);
    background-color: var(--lightbg);
}
/*TODO: Why is font awesome all.min.css free version being loaded??*/
    html .far,
    html .fa-regular,
    html .fa,
    html .fas,
    html .fal,
    html .fat {
        font-family: var(--icon-font);
    }

/*DESIGN REWORK*/

.required::after {
    content: '*';
    position: relative;
    margin-left: .4em;
    color: var(--t_color_danger);
}

p {
    margin-bottom: 1rem;
}

h1, h2, h3 {
    margin-bottom: 0.5rem;
}

*:is(h1, h2, h3, h4, h5) + *:is(h1, h2, h3, h4, h5){
    margin-top: 1rem;
}

a {
    color: var(--primary);
}

    a:hover {
        color: var(--primaryaccent);
    }

    .button,
    a.button {
        display: inline-block;
        width: fit-content;
        padding: 0.7rem 2rem;
        border-radius: 50px;
        background-color: var(--primary);
        color: var(--white);
        text-decoration: none;
    }

        .button:hover,
        a.button:hover {
            background-color: var(--primaryaccent);
        }

        .button.secondary,
        a.button.secondary {
            background-color: var(--white);
            color: var(--primary);
            border: 1px solid var(--primary);
        }

            .button.secondary:hover,
            a.button.secondary:hover {
                background-color: var(--primarytransparent);
            }

.bgbox {
    background-color: var(--primarytransparent);
    border: 1px solid var(--primarysemitransparent);
    padding: 1rem 1rem 0;
    margin-bottom: 1rem;
}

a.info {
    visibility: hidden;
    position: relative;
}

    a.info::after {
        visibility: visible;
        display: inline-block;
        font: var(--fa-font-solid);
        font-size: 16px;
        content: var(--icon-info);
        visibility: visible;
        position: absolute;
        color: var(--base-light);
        top: 0;
        left: 0;
    }


/*
BOXES
*/
.box {
    display: flex;
    flex-direction: column;
}
.boxheader {
    padding: 1rem 0.5rem;
    background-color: var(--lightbg);
    border: 1px solid var(--border);
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
}

    .boxheader::before {
        display: inline-block;
        font: var(--fa-font-light);
        margin-right: 0.2rem;
    }

.box.jobs .boxheader::before {
    content: var(--icon-jobs);
}

.box.drives .boxheader::before {
    content: var(--icon-drives);
}

.box.calendar {
    margin-bottom: 1rem;
}

    .box.calendar .boxheader::before {
        content: var(--icon-calendar);
    }

.boxcontent {
    padding: 0.5rem;
    height: 100%;
    overflow-y: auto;
    border: 1px solid var(--border);
}

/* -------------------------------------------------
GENERAL LIST STYLING
--------------------------------------------------*/
.list {
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

    .list .item {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
        padding: 1rem 1rem;
        border-top: 1px solid var(--border);
        cursor: pointer;
        align-items: center;
    }

        .list .item:nth-child(odd) {
            background-color: var(--white);
        }

        .list .item:nth-child(even) {
            background-color: var(--lightbg);
        }

        .list .item .actions {
            display: flex;
            flex-wrap: wrap;
            gap: .3em;
            justify-content: end;
        }

    .list .header {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        padding: 1rem 1rem;
        background-color: var(--border) !important;
        border: none;
        font-weight: 700;
        gap: 1rem;
    }

@media screen and (max-width: 980px) {
    .list {
        border: none;
    }

        .list .item {
            gap: 0.2rem;
            padding: 0.5rem;
            border: 1px solid var(--border);
            border-radius: 5px;
            margin-bottom: 0.5rem;
            background-color: var(--white);
        }

            .list .item:nth-child(odd) {
                background-color: var(--white);
            }

            .list .item:nth-child(even) {
                background-color: var(--white);
            }

        .list .header {
            display: none;
        }
}

.boxcontent .list {
    border: none;
}

    .boxcontent .list .item {
        gap: 0.2rem;
        padding: 0.5rem;
        border: 1px solid var(--border);
        border-radius: 5px;
        margin-bottom: 0.5rem;
        background-color: var(--white);
    }

        .boxcontent .list .item:nth-child(odd) {
            background-color: var(--white);
        }

        .boxcontent .list .item:nth-child(even) {
            background-color: var(--white);
        }

        .boxcontent .list .item:hover {
            background-color: var(--primarytransparent);
        }

    .boxcontent .list .header {
        display: none;
    }

.list .item:hover {
    background-color: var(--primarytransparent);
}

/* -------------------------------------------------
GENERAL FORM STYLING
--------------------------------------------------*/
.form-section {
    padding: .8rem;
    background-color: var(--t_color_bg_1_alt);
    border: 1px solid lightgray;
    margin-bottom: 2rem;
}

.field-group-box {
    background-color: var(--t_color_bg_1);
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid lightgray;
}

.field-group {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    grid-template-rows: auto;
    gap: 1em 0.5rem;
    margin-bottom: 2rem;
}

    .field-group .heading {
        grid-column: col-start 1 / span 12;
        font-size: 1.2rem;
        font-weight: 700;
        width: 100%;
    }
    .field-group .heading.heading2 {
        font-size: 1.1rem;
    }

        .field-group .heading.radio-heading {
            display: flex;
            flex-wrap: wrap;
            font-weight: normal;
            align-items: center;
            gap: .5em;
            font-size: 1rem;
        }

        .field-group > *:last-child {
            margin-bottom: 0;
        }

    .field-group > * {
        grid-column: col-start 1 / span 12;
    }
    .field-group .labeled-input {
        grid-column: col-start 1 / span 12;
    }
    .field-group .input-group {
        grid-column: col-start 1 / span 12;
    }
    .field-group.split > * {
        grid-column: span 6;
    }

@media (max-width: 600px){
    .field-group.split > * {
        grid-column: span 12;
    }
    .field-group.split > *:nth-child(3) {
        grid-row: 2;
    }
        .field-group.split > *:nth-child(7) {
            grid-row: 6;
        }
        .field-group.split > *:nth-child(11) {
            grid-row: 10;
        }
}

.labeled-input {
    position: relative;
}

.labeled-input > label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}
    .labeled-input > :not(.input-label, [type=checkbox], [type=radio]) {
        width: 100%;
    }
.labeled-input input,
.labeled-input .input,
.labeled-input .form-control,
.labeled-input .custom-input {
    position: relative;
}
input[type=text], input[type=search], input[type=time], input[type=number] {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.6rem;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

input[type=time] {
    padding: 0.5rem; /*????*/
}

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        color: var(--base-light);
        font-size: 1.4rem;
        position: absolute;
        top: 50%;
        right: 0.6rem;
        transform: translateY(-50%);
    }

.input-with-units {
    display: flex;
    align-items: center;
}

    .input-with-units span {
        margin-left: 0.3rem;
        white-space: nowrap;
    }

select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.6rem;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.customselect {
    position: relative;
}

    .customselect::after {
        position: absolute;
        font: var(--fa-font-solid);
        content: "\f0d7";
        pointer-events: none;
        color: var(--base);
        font-size: 1.2rem;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
    }

.options-group {
    display: flex;
    flex-direction: column;
    column-gap: 1rem;
    row-gap: 0.3rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

    .options-group.horizontal {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .options-group input {
        margin-right: 0.3rem;
    }

    .options-group label {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .options-group .add-new-item {
        display: block;
        padding-bottom: 0.5rem;
        margin-bottom: 0.3rem;
        text-decoration: none;
        color: var(--base);
        border-bottom: 1px dashed var(--border);
    }

        .options-group .add-new-item::before {
            font: var(--fa-font-light);
            margin-right: 4px;
            content: var(--icon-add);
        }

        .options-group .add-new-item:hover {
            color: var(--primaryaccent)
        }

.form-buttons {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    text-align: right;
}

.publish-on-market {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1em;
    border-bottom: 1px solid var(--primarysemitransparent);
    align-items: start;
    margin-bottom: 1rem;
}

    .publish-on-market h2 {
        color: var(--primary);
        width: max-content;
    }

        .publish-on-market h2:before {
            font: var(--fa-font-light);
            margin-right: 6px;
            content: var(--icon-market);
        }

    .publish-on-market label {
        margin-left: auto;
        font-size: 1rem;
    }

        .publish-on-market label input {
            margin-right: 0.3rem;
        }
/*END DESIGN REWORK*/



a, .btn-link {
    color: #0366d6;
    text-decoration: none;
}

    a:hover, .btn-link:hover {
        text-decoration: underline;
    }

.badge.warning,
.label.warning {
    background-color: var(--t_color_warning);
    margin: .1em 0 .3em;
    padding: .1em .5em;
    border-radius: 0.2em;
    text-align: center;
}

.info-box {
    padding: .5em;
    border-radius: .3em;
}
    .info-box.info-box-warning {
        background-color: var(--t_color_warning);
        border: 1px solid var(--t_color_warning_border);
        color: black;
    }

.highlighted {
    background: #ffff00;
    box-shadow: 0px 2px 10px #ffff00;
    margin-left: -0.3em;
    margin-right: -0.3em;
    padding-left: 0.3em;
    padding-right: 0.3em
}

/*Icons*/
.calendar-toggle::before {
    content: "\e0d6";
    font-family: var(--icon-font);
    margin-right: .3em;
    display: inline-block;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
        gap: 1rem;
        padding: 1rem 1rem;
        border-top: 1px solid var(--border);
        cursor: pointer;
    }

        .list .item:nth-child(odd) {
            background-color: var(--white);
        }

        .list .item:nth-child(even) {
            background-color: var(--lightbg);
        }

    .list .header {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        padding: 1rem 1rem;
        background-color: var(--border) !important;
        border: none;
        font-weight: 700;
        gap: 1rem;
    }

@media screen and (max-width: 980px) {
    .list {
        border: none;
    }

        .list .item {
            gap: 0.2rem;
            padding: 0.5rem;
            border: 1px solid var(--border);
            border-radius: 5px;
            margin-bottom: 0.5rem;
            background-color: var(--white);
        }

            .list .item:nth-child(odd) {
                background-color: var(--white);
            }

            .list .item:nth-child(even) {
                background-color: var(--white);
            }

        .list .header {
            display: none;
        }
}

.boxcontent .list {
    border: none;
}

    .boxcontent .list .item {
        gap: 0.2rem;
        padding: 0.5rem;
        border: 1px solid var(--border);
        border-radius: 5px;
        margin-bottom: 0.5rem;
        background-color: var(--white);
    }

        .boxcontent .list .item:nth-child(odd) {
            background-color: var(--white);
        }

        .boxcontent .list .item:nth-child(even) {
            background-color: var(--white);
        }

        .boxcontent .list .item:hover {
            background-color: var(--primarytransparent);
        }

    .boxcontent .list .header {
        display: none;
    }

.list .item:hover {
    background-color: var(--primarytransparent);
}

.drive-title::before {
    content: "\f1e0";
    font-family: var(--icon-font);
    margin-right: .3em;
    display: inline-block;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}


/*Table*/
.data-table {
    width: 100%;
    border-collapse: collapse;
    page-break-inside: auto;
}

    .data-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    .data-table > thead > tr > th {
        padding: .3em .6em;
    }

    .data-table > tbody > tr > th {
        font-weight: normal;
    }

    .data-table > tbody > tr > td {
    }

    .data-table > tr > td,
    .data-table > tbody > tr > td,
    .data-table > thead > tr > td,
    .data-table > tr > th,
    .data-table > tbody > tr > th,
    .data-table > thead > tr > th {
        border: 1px solid #ddd;
        padding: .3em .6em;
        min-width: 10em;
    }

    .data-table > tbody > tr:nth-child(even),
    .data-table > thead > tr:nth-child(even),
    .data-table > tr:nth-child(even) {
        background-color: #f2f2f2;
    }
    .data-table .separator,
    .data-table .separator td {
        background-color: unset !important;
        border: none !important;
    }

    .data-table table {
        width: 100%;
        table-layout: fixed;
    }
    /*End Table*/
    /*Article*/
    article {
        max-width: 1200px;
    }

    article p {
        max-width: 74ch;
    }
/*End Article*/

/*Spinner*/
.btn .spinner-border {
    height: 1em;
    width: 1em;
    margin: 0 2em;
}
/*End Spinner*/

/*Links*/
.list-item {
    position: relative;
}

.list-item-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-decoration: none;
}

.list-item a:not(.list-item-link) {
    position: relative;
}

/*End links*/
/*Img, icons*/
img {
}

.icon-wrapper {
    display: flex;
}

object.icon {
    height: 1em;
    margin: auto 3px;
    pointer-events: none;
}

.icon {
    font-family: "Font Awesome 6 Pro";

    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

    .icon.icon-location-pin::before {
        content: "\f3c5";
    }
        .icon.icon-location-pin.icon-location-pin-start {
            color: var(--t_color_success);
        }
        .icon.icon-location-pin.icon-location-pin-end {
            color: var(--t_color_danger);
        }

i.fa-truck {
    transform: scaleX(-1);
}

.fa-comment-alt {
    bottom: -1px;
    position: relative;
}
/*End Img, icons*/
/*Badges*/
.badge {
    border-radius: .75em;
    padding: .3em .65em;
    font-weight: bold;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: .75em;
}

    .badge.badge-primary {
        background: var(--t_color_1_light);
        color: #fff;
    }

* + .badge {
    margin-left: .5em;
}
.badge.badge-missing-info {
    display: inline;
    padding: 0;
    font-size: 1.8em;
}
.badge.badge-missing-info::before {
    position: relative;
    font: var(--fa-font-solid);
    content: "\f071";
    color: var(--t_color_warning);
    display: inline;
}
.label.order-type-label {
    color: var(--t_color_text_2);
}

    .label.order-type-label.order-type-label-wl {
        border: 1px solid var(--t_color_info);
        color: var(--t_color_info);
    }

    .label.order-type-label.order-type-label-offer {
        border: 1px solid var(--t_color_info);
        color: var(--t_color_info);
    }
/*End Badges*/
/*Cards*/
.card {
    border: none;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 5px;
    padding: .5em .75em;
}
/*End Cards*/
/*Pricetags*/
.price-label {
    font-size: 1.6em;
    display: flex;
    flex-direction: column;
    align-items: end;
    max-width: max-content;
    line-height: 1;
    padding-top: .2em;
}

    .price-label .price-vat {
        margin-top: -.1em;
    }

    .price-label .price-vat,
    .price-label .price-tax-deduction {
        font-size: max(14px, .5em);
        color: var(--t_color_text_2);
    }
/*End Pricetags*/

/*Inputs*/
body input,
body .input {
    padding: .4em .4em;
}

body .form-control {
    border-color: var(--t_color_input_border);
    padding: .4em .75em;
}

body .blazored-typeahead__input {
    padding: .4em .75em !important;
    border-radius: .25rem !important;
    border: none !important;
}

body .blazored-typeahead__input-mask {
    padding: .4em .75em !important;
    border-radius: .25rem !important;
    border: none !important;
}

body .blazored-typeahead__clear {
    padding: .4em .75em !important;
    border-radius: .25rem !important;
    border: none !important;
}

input {
    padding: .2em;
}

    input[type="checkbox"] {
        accent-color: var(--t_color_1);
    }

    input[type="radio"] {
        accent-color: var(--t_color_1);
    }

    input[type="range"] {
        accent-color: var(--t_color_1);
    }

/*.labeled-input {
    position: relative;
    background-color: #fff;
}

    .labeled-input input {
        text-align: center;
    }

    .labeled-input .input-label {
        position: absolute;
        margin: auto;
        width: fit-content;
        left: 1em;
        font-size: .8em;
        height: min-content;
        top: -.8em;
        z-index: 2;
        padding: 0 .4em;
        color: var(--t_color_input_label);
    }

        .labeled-input .input-label::after {
            content: "";
            background: #fff;
            width: 100%;
            height: 0.5em;
            position: absolute;
            top: 0.8em;
            left: 0;
            z-index: -1;
        }

    .labeled-input > *:not(.input-label) {
        width: 100%;
    }

.unit-input {
    display: flex;
    align-items: center;
}

    .unit-input .input {
        width: 100%;
        border: 1px solid var(--t_color_input_border);
        border-radius: .25rem;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: 0;
        text-align: center;
        height: unset;
        padding-left: 1.5em;*/ /*TODO*/
    /*}

        .unit-input .input.valid.modified:not([type=checkbox]) {
            border-right: none;
        }

        .unit-input .input.invalid.modified:not([type=checkbox]) {
            border-right: none;
        }

    .unit-input .unit-label {
        height: 100%;
        border: 1px solid var(--t_color_input_border);
        border-left-color: var(--t_color_input_border);
        border-left-style: solid;
        border-left-width: 1px;
        border-radius: .25rem;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        padding: 0.4em 0.3em 0.4em 0;
        background-color: #fff;
    }

    .unit-input .input:focus + .unit-label {
        border-color: var(--t_color_2);
    }

    .unit-input .input.modified.valid + .unit-label {
        border-color: #26b050;
    }*/

.labeled-input .dropdown .dropdown-toggle {
    height: max-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*End Inputs*/

/*Buttons*/

.btn.btn-borderless {
    border-color: transparent !important;
    background-color: transparent !important;
    padding: 0;
}

.btn {
    padding: .35em .75em;
    border-style: solid;
    border-width: 1px;
    border-radius: .2em;
    font-size: inherit;
}

    .btn:not(.disabled, :disabled):hover {
        filter: brightness(80%);
        cursor: pointer;
    }

    .btn:focus {
        box-shadow: 0 0 0 .2rem var(--t_color_1_trans);
    }

    .btn.nav-link:focus {
        box-shadow: none;
    }


    .btn.btn-danger {
        background-color: var(--t_color_danger);
        color: #fff;
        border-color: var(--t_color_danger);
    }

    .btn.btn-danger-secondary {
        background-color: #fff;
        color: var(--t_color_danger);
        border-color: var(--t_color_danger);
    }

    .btn.btn-warning {
        background-color: var(--t_color_warning);
        color: #000;
        border-color: var(--t_color_warning);
    }
    .btn.btn-info {
        background-color: var(--t_color_info);
        color: #fff;
        border-color: var(--t_color_info);
    }
    .btn.btn-info-secondary {
        background-color: #fff;
        color: var(--t_color_info);
        border-color: #fff;
    }

.btn-transparent {
    color: black;
    background-color: transparent;
    border-color: transparent;
}

.btn.btn-transparent:hover {
    filter: none;
    background-color: #0001 !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--t_color_1) !important;
    border-color: var(--t_color_1);
}

    .btn-primary:hover {
        border-color: var(--t_color_1);
    }

    .btn-primary:disabled {
        border-color: var(--t_color_1);
    }

.btn-secondary {
    color: var(--t_color_1);
    background-color: #fff;
    border-color: var(--t_color_1);
}

    .btn-secondary:hover {
        color: var(--t_color_1);
        background-color: #fff;
        border-color: var(--t_color_1);
    }

.btn.btn-secondary:not(:disabled):active,
.btn.btn-secondary:not(:disabled):focus {
    color: var(--t_color_1);
    background-color: #fff;
    border-color: var(--t_color_1);
    box-shadow: 0 0 0 .2rem var(--t_color_1_trans);
}

.show > .btn-secondary.dropdown-toggle {
    color: var(--t_color_1);
    background-color: #fff;
    border-color: var(--t_color_1);
}

.btn.btn-min {
    border: none;
    background: none;
    color: black;
}

.btn.btn-settings {
    cursor: pointer;
    font-size: 20px;
    color: var(--t_color_1);
    text-stroke: 1px black;
    -webkit-text-stroke: 1px black;
    padding: 0;
}


.btn.btn-labeled {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0.275em !important;
    min-width: max-content;
    display: flex;
    align-items: center;
}

    .btn.btn-labeled.right {
        padding-right: 0.25em !important;
        padding-left: .55em !important;
    }

    .btn.btn-labeled .btn-label {
        position: relative;
        left: -0.275em;
        display: inline-block;
        background: rgba(0, 0, 0, 0.03);
        padding: 0.35em 0.5em;
        margin: auto;
        display: flex;
    }

    .btn.btn-labeled.right .btn-label {
        right: -0.275em;
        left: unset;
    }

.btn.btn-secondary.btn-labeled .btn-label {
    background: none;
    border-right: 1px solid var(--t_color_1);
}

.btn.btn-labeled > *:not(.btn-label) {
    width: 100%;
    padding-left: .35em;
}

.btn.btn-labeled.right > *:not(.btn-label) {
    padding-right: .35em;
    padding-left: 0;
}

.btn.btn-labeled.btn-transparent .btn-label {
    background: none;
    padding-right: 0;
}

.btn.btn-labeled .btn-label i,
.btn.btn-labeled .btn-label .icon {
    line-height: 1.5;
}

.btn.btn-block {
    display: block;
    width: 100%;
}

.btn.btn-wrapper {
    border: none;
    background: none;
    padding: 0;
    height: unset;
    width: unset;
    cursor: pointer;
}
/*End Buttons*/
/*Tabs*/
.tab-container {
}

    .tab-container .tabs {
        display: flex;
        border-bottom: 1px solid lightgray;
    }

        .tab-container .tabs .tab {
            border-top-left-radius: .6em;
            border-top-right-radius: .6em;
            border: 1px solid lightgray;
            margin-bottom: -1px;
            background-color: #fff;
            color: var(--t_color_text_2);
        }

            .tab-container .tabs .tab:not(:first-child) {
                margin-left: -1px;
            }

            .tab-container .tabs .tab.active {
                border-bottom: none;
                color: var(--t_color_text_1);
            }

                .tab-container .tabs .tab.active .btn {
                    color: var(--t_color_text_1);
                }

            .tab-container .tabs .tab .btn {
                color: var(--t_color_text_2);
            }

                .tab-container .tabs .tab .btn:focus {
                    box-shadow: none;
                }

    .tab-container .tab-content {
        padding: .8em .6em .4em;
        border: 1px solid lightgray;
        border-top: none;
        border-bottom-left-radius: .3em;
        border-bottom-right-radius: .3em;
    }
/*End Tabs*/

/*File upload*/
.imgupload {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.imgupload-btn {
    height: 100%;
    display: flex;
    font-size: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
}
/*End File upload*/

/*Tags*/
.tag {
    width: max-content;
    height: max-content;
    padding: 0 0 0 .5em;
    border-radius: .25em;
    border: 1px solid lightgray;
    margin-right: .5em;
    margin-bottom: .5em;
}

    .tag .btn-remove {
        color: var(--t_color_danger);
        border: none;
    }

        .tag .btn-remove:focus {
            box-shadow: none;
        }
/*End Tags*/

/*Labels*/
label {
    margin-bottom: .5rem;
}

.label {
    padding: .4em .6em;
    border-radius: .75em;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    font-size: .9em;
    line-height: 1;
}

    .label.id-label {
        font-family: Consolas, monospace;
        color: var(--t_color_text_2);
        padding: 0;
        margin: 0;
    }

    .label.route-id {
        background-color: lightgray;
    }

    .label.label-job-origin {
        background-color: white;
        border: 1px solid black;
        color: black;
    }

    .label.label-liner-traffic {
        background-color: white;
        border: 1px solid blue;
        color: blue;
    }
.route-published-label {
    background-color: var(--t_color_info);
    color: white;
}
/*End labels*/
/*Modals*/
.modal .modal-dialog .modal-header .tab-links {
    margin: auto 0;
    width: 100%;
}

.modal .modal-dialog .modal-header .tab-link {
    background: none;
    border: none;
    font-size: 1.2em;
    color: var(--t_color_text_2);
}

    .modal .modal-dialog .modal-header .tab-link.active {
        color: var(--t_color_text_1);
    }

        .modal .modal-dialog .modal-header .tab-link:active::after, .modal .modal-dialog .modal-header .tab-link:hover::after, .modal .modal-dialog .modal-header .tab-link.active::after {
            content: "";
            position: relative;
            display: block;
            margin: .2em auto 0;
            width: 95%;
            border-bottom: 1px solid var(--t_color_1);
        }

.modal .modal-dialog .modal-content .modal-body {
    max-height: calc(100vh - 12em);
    overflow: auto auto;
}

.modal-header.slim {
    padding: .5em .75em;
}
/*End modals*/

/*Headers*/
h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 1em;
}

h1, h2, h3, h4, h5 {
    width: 100%;
    margin-bottom: .5rem;
    font-weight: revert;
}
/*End Headers*/

/*DateRangePicker*/
.daterangepicker {
    overflow: auto;
    max-height: 28em;
}

    .daterangepicker .drp-calendar {
        max-width: 100%;
        width: 25em;
    }

    .daterangepicker .month select.monthselect,
    .daterangepicker .month select.yearselect {
        pointer-events: none;
        background-color: #fff;
        border: none;
        cursor: default;
        text-align: center;
        font-weight: bold;
        font-size: 1.3em;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

        .daterangepicker .month select.monthselect::-ms-expand,
        .daterangepicker .month select.yearselect::-ms-expand {
            display: none;
        }

    .daterangepicker .calendar-table th,
    .daterangepicker .calendar-table td {
        height: 3em;
    }

    .daterangepicker .calendar-table th {
        font-weight: normal;
        color: gray;
        font-size: .7em;
    }

    .daterangepicker .calendar-table td {
        font-size: .9em;
        border-radius: 1.2em;
    }

    .daterangepicker td.start-date {
        border-radius: 1.2em 0 0 1.2em;
    }

    .daterangepicker td.end-date {
        border-radius: 0 1.2em 1.2em 0;
    }

        .daterangepicker td.end-date.start-date {
            border-radius: 1.2em;
        }

    .daterangepicker td.in-range:not(.end-date, .start-date) {
        background-color: #f6f6f6;
        border-radius: 0;
    }

    .daterangepicker td.active,
    .daterangepicker td.active:hover {
        background-color: gray;
        border-color: transparent;
        color: #fff;
    }

    .daterangepicker.show-calendar .drp-buttons {
        display: none;
    }

    .daterangepicker select.hourselect, .daterangepicker select.minuteselect {
        font-size: 1.2em;
        background: #fff;
        border: 1px solid #fff;
    }

    .daterangepicker .ranges li {
        border-radius: .25em;
        white-space: pre-wrap
    }

        .daterangepicker .ranges li.active {
            background-color: gray;
            border-color: transparent;
            color: #fff;
        }

    .daterangepicker .highlighted-cell:not(.active) {
        background-color: var(--t_color_1_bg);
    }

    .daterangepicker .highlighted-cell:not(.highlight-start) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .daterangepicker .highlighted-cell:not(.highlight-end) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
/*End DateRangePicker*/
.hidden {
    visibility: hidden;
}

.content {
}

.valid.modified:not([type=checkbox]) {
    border: 1px solid #26b050;
}
.invalid:not([type=checkbox]) {
    border: 1px solid red;
    outline: none;
}

.custom-input input.modified.valid {
    border-color: transparent;
}

.input:focus-visible,
input:focus-visible,
.input:focus,
input:focus,
.form-control:focus,
.custom-input:focus-within {
    outline: none;
    box-shadow: none;
    border-color: var(--t_color_2);
}

.form-group {
    margin-bottom: 1rem;
}



.form-control:focus, .form-control:focus-within {
    border-color: var(--t_color_2);
    outline: none;
    box-shadow: none;
}

.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;
    }

@media (max-width: 1200px) {
    .hide-1200 {
        display: none;
    }
    .btn.btn-labeled.shrink-1200 {
        padding: 0 !important;
    }

        .btn.btn-labeled.shrink-1200 > .btn-label {
            width: 100%;
            border: none;
            left: 0;
        }

        .btn.btn-labeled.shrink-1200 > :not(.btn-label) {
            display: none;
        }

    .btn.btn-labeled.wrap-1200 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: .35em .75em !important;
    }

        .btn.btn-labeled.wrap-1200 > .btn-label {
            left: 0;
            background: none;
            padding: 0;
        }

        .btn.btn-labeled.wrap-1200 > :not(.btn-label) {
            padding: 0;
        }
}

@media (max-width: 1000px) {
    .hide-1000 {
        display: none;
    }

    .btn.btn-labeled.shrink-1000 {
        padding: 0 !important;
    }

        .btn.btn-labeled.shrink-1000 > .btn-label {
            width: 100%;
            border: none;
            left: 0;
        }

        .btn.btn-labeled.shrink-1000 > :not(.btn-label) {
            display: none;
        }
}


@media (max-width: 800px) {
    .hide-800 {
        display: none;
    }
}

    @media (max-width: 600px) {
        .hide-600 {
            display: none;
        }

        :root {
            --t_padding_base: 1em;
        }

        html {
            font-size: 16px;
        }

        .daterangepicker:not(.inline) {
            position: fixed !important;
            left: 0 !important;
            right: 0 !important;
            top: 0 !important;
            bottom: 0 !important;
            margin: auto !important;
            height: max-content;
            max-height: 95vh;
        }

        .daterangepicker::before,
        .daterangepicker::after {
            display: none;
        }

        .daterangepicker.show-calendar:not(.inline) .drp-buttons {
            display: block;
        }

        .daterangepicker .drp-calendar.right {
            display: none;
        }


        .btn.btn-labeled.shrink {
            padding: 0 !important;
        }

            .btn.btn-labeled.shrink > .btn-label {
                width: 100%;
                border: none;
                left: 0;
            }

            .btn.btn-labeled.shrink > :not(.btn-label) {
                display: none;
            }


        /*Fix cookieconsent mobile width*/
        .cc-isolation-container .cc-max-w-3xl .cc-grid .cc-col-span-10 {
            max-width: calc(100vw - 3.5rem);
        }

        .cc-isolation-container .cc-max-w-3xl {
            max-width: min(100%, 48rem) !important;
        }
    }

    @media (max-width: 400px) {
        .hide-400 {
            display: none;
        }
    }

    @media (min-width: 600px) {
        .modal.show .modal-dialog {
            min-height: 800px;
            padding-bottom: max(calc(800px - 100vh), 0px);
        }
    }
