.NoMargin {
    margin: 0px;
}

.k-button.RJCRedBigButton {
    border-color: #e60000;
    color: #ffffff;
    background-color: #e60000;
    width: 200px;
    height: 75px;
}
th.rz-unselectable-text.rz-sortable-column.rz-frozen-cell {
    background-color: #e60000;
}

.rz-datatable-even td.rz-frozen-cell {
    background: #fff;
}

.rz-datatable-odd td.rz-frozen-cell {
    background: #f7f9fa;
}

.rz-datatable-thead th .rz-column-title, .rz-grid-table thead th .rz-column-title {
    color: #ffffff;
}

label.rz-dropdown-label.rz-inputtext {
    font-size: 16px;
}

nav > ul > li > a {
    text-decoration: none;
}

.borderLIItems {
    position: relative;
}

    .borderLIItems:hover::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 0;
        left: 0;
        bottom: 0px; /*Change this to increase/decrease distance*/
        border-bottom: 2px solid #000;
    }

button:focus {
    outline: none;
}

.textbox:disabled, .textarea:disabled, .mask:disabled, .rz-dropdown:disabled, .rz-multiselect:disabled,
.rz-calendar .rz-inputtext:disabled, .rz-spinner:disabled, .rz-lookup-search input:disabled,
.rz-chkbox-box.rz-state-disabled, .rz-radiobutton-box.rz-state-disabled, .rz-state-disabled.rz-dropdown,
.rz-state-disabled.rz-multiselect, .rz-autocomplete-input:disabled, .rz-listbox.rz-state-disabled,
.rz-picklist.rz-state-disabled, .rz-calendar.rz-state-disabled .rz-inputtext, .rz-spinner.rz-state-disabled {
    color: black;
}

.rz-dropdown, .rz-multiselect {
    /*display: inherit;*/
}

@media (min-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

.tabSpinner .spinner {
    left: 50%;
}

.tabSpinner {
    height: 80px;
}

ul.nav.navbar-nav.navbar-brand > li {
    padding-left: 10px;
}

.form-group.input-wrap.button-right {
    float: right;
}

.row.JobTopRow {
    margin-bottom: 15px;
}

.rz-tabview-nav li a {
    color: #e60000;
}

.rz-tabview-nav li:hover:not(.rz-tabview-selected):not(.rz-state-disabled) {
    color: #e60000;
    border-top-color: #e60000;
}

.rz-tabview-nav .rz-tabview-selected {
    border-top-color: #e60000;
}

.rz-tabview-nav li:hover:not(.rz-tabview-selected):not(.rz-state-disabled) a {
    color: #e60000;
    border-top-color: #e60000;
}

.rz-state-active a[role='tab'] {
    color: #e60000;
}

.UploadButton {
    padding: 15px;
}

.center {
    margin-top: 20%;
    margin-left: 29%;
}

ul.reportLinks > li {
    font-size: 25px;
}

.rz-grid-table thead th {
    background-color: #e60000;
}

.rz-datatable-thead th {
    background-color: #e60000;
}

    .rz-datatable-thead th .rz-column-title {
        color: #ffffff;
    }

span.rz-sortable-column-icon.rzi-grid-sort.rzi-sort {
    color: #ffffff;
}

.topLink a:last-of-type {
    padding-right: 15px;
    border-right: 1px solid #dddd;
}

.topLink a:hover {
    color: #c40000;
}

.topLink a {
    border-left: 1px solid #ddd;
    padding-left: 15px;
    margin-left: 10px;
    height: 34px;
    display: inline-block;
}

.modal-dialog.WiderModal {
    max-width: 1500px;
}

.modal-dialog.WiderModalPercentage {
    max-width: 80%;
}

.modal.BlazorModal {
    z-index: 100;
}

span.rz-calendar.rz-calendar-w-btn.rz-state-disabled {
    background-color: #e0e0e0;
    color: #555555;
}

.col-md-5 > label {
    font-size: 16px;
}

.col-md-7 > p {
    font-size: 14px;
    margin-bottom: 0px;
}

label .control-label.indent {
    text-indent: 30px;
}

p.indent {
    text-indent: 30px;
}

span.rz-current-filter {
    color: #000000;
}

.rz-cell-filter input {
    color: #000000;
}

    .rz-cell-filter input:focus {
        color: #000000;
    }

span#Details_wnd_title {
    font-size: 24px;
}

span.pi.pi-chevron-up {
    color: #ffffff;
    background-color: #e60000;
}

span.rz-dropdown-trigger-icon.rzi.rzi-chevron-down {
    color: #ffffff;
    background-color: #e60000;
}

.rz-button.rz-apply-filter {
    color: #ffffff;
    background-color: #e60000;
}

.rz-datepicker-calendar td .rz-state-active {
    color: #ffffff;
    background-color: #e60000;
    padding: 0.5rem 0.875rem;
}

.rz-listbox-item.rz-state-highlight {
    background-color: #e60000;
    color: #ffffff;
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.01);
    border-radius: 4px;
}

.rz-listbox:not(.rz-state-disabled) .rz-listbox-item:hover:hover {
    background-color: #e60000;
    color: #ffffff;
    border-radius: 4px;
}

.rz-listbox:not(.rz-state-disabled) .rz-listbox-item:hover:hover {
    background-color: #e60000;
    color: #ffffff;
    border-radius: 4px;
}

a.rz-paginator-last.rz-paginator-element, a.rz-paginator-next.rz-paginator-element {
    background-color: #e60000;
    color: #ffffff;
}

a.rz-paginator-first.rz-paginator-element, a.rz-paginator-prev.rz-paginator-element {
    background-color: #e60000;
    color: #ffffff;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #e60000;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    left: 43%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

::-webkit-scrollbar-thumb {
    background: #e60000;
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border-radius: 8px;
}

.rz-dropdown-item:hover, .rz-dropdown-items li:hover, .rz-multiselect-items li:hover, .rz-autocomplete-items li:hover, .rz-multiselect-item:hover, .rz-autocomplete-list-item:hover, .rz-menrztem:hover {
    background-color: #e60000;
}

.rz-dropdown-item.rz-state-highlight, .rz-dropdown-items li.rz-state-highlight, .rz-multiselect-items li.rz-state-highlight, .rz-autocomplete-items li.rz-state-highlight, .rz-state-highlight.rz-multiselect-item, .rz-state-highlight.rz-autocomplete-list-item, .rz-state-highlight.rz-menrztem {
    background-color: white;
    color: #000000;
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.01);
    border-radius: 0;
}

.rz-message.rz-messages-error {
    font-size: 16px;
}

.rz-dropdown-item > span {
    font-size: 20px;
}

label {
    margin-bottom: 0;
    font-size: 20px;
}

    label > span {
        color: #e60000;
    }

.container a.loginButton {
    color: white;
}

.rz-button.rz-button-md.rz-widget.rz-state-default.rz-corner-all {
    background-color: #e60000;
}

.rz-dropdown.rz-widget.rz-state-default.rz-corner-all.rz-helper-clearfix {
    display: inherit;
}

.navbar-text {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 10px;
}

.navbar-right {
    flex-direction: row;
}

.jsgrid-selected-row > .jsgrid-cell {
    background: #D6D9D6;
    border-color: #D6D9D6;
}

.column {
    flex: 50%
}

.ptssection {
    display: flex;
    margin-right: 0px;
    margin-left: 0px;
}

.topLink {
    float: right;
}

h2, .h2 {
    font-size: 30px;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

h2 {
    display: block;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.navbar {
    padding: 0px 0px 0px 0px
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
}

.navbar > .container .navbar-brand, .navbar > .container-flrzd .navbar-brand {
    margin-left: -15px;
}

.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
}

.navbar > .container, .navbar > .container-flrzd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

* {
    box-sizing: border-box;
}

.nav > li > a {
    position: relative;
    display: inline;
    text-align: center;
}

.jsgrid-header-sort-asc:before {
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent #000000 transparent;
}

.jsgrid-header-sort-desc:before {
    border-width: 5px 5px 0 5px;
    border-color: #000000 transparent transparent transparent;
}

.jsgrid-header-row > .jsgrid-header-cell {
    background: #e60000;
    color: #FFFFFF;
}

body * {
    font-family: "Roboto Condensed";
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.container a {
    color: #e60000;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.top-logo {
    float: left;
    max-height: 40px;
    margin-top: 6px;
    margin-right: 10px;
    margin-bottom: 6px;
}


.navbar.navbar-inverse {
    background-color: #e60000;
    color: #FFFFFF;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.26);
    border-bottom: 0;
}

.navbar-inverse .navbar-text,
.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-header .navbar-brand {
    color: white;
}

h3 {
    padding-bottom: 15px;
    border-bottom: 2px dashed #333;
}

/* Set width on the form input elements since they're 100% wide by default */
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    max-width: 100%;
    width: 100%;
    min-width: 95%;
    padding: 5px 8px;
    border: 1px solid;
    height: 34px;
    border-radius: 5px;
    background: white;
}

.input-wrap {
    margin-bottom: 15px;
    padding-left: 15px;
}

.red {
    color: #e60000;
}

form button {
    background-color: #e60000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid #e60000;
    margin-right: 20px;
}

    form button[value="save"] {
        background-color: #ffffff;
        color: #e60000;
    }

    form button:hover {
        background-color: #b40000;
    }

    form button[value="save"]:hover {
        background-color: #dddddd;
    }

.input-wrap textarea {
    min-width: 100%;
    min-height: 100px;
}

/*input[type="checkbox"] {
    width: auto;
    vertical-align: top;
}*/

label.toggle-slider {
    min-height: 38px;
    position: relative;
    width: 100%;
}

label + span.required {
    color: red;
}

.input-wrap input:read-only,
.input-wrap textarea:read-only,
.input-wrap input[type="checkbox"]:disabled,
.input-wrap select:disabled {
    background-color: #e0e0e0;
    color: #555555;
    border: 2px solid;
    border-color: #cccccc;
}

    .input-wrap input[type="checkbox"]:disabled ~ .slider {
        background-color: #888;
    }

        .input-wrap input[type="checkbox"]:disabled ~ .slider:before {
            background-color: #ddd;
            color: #555;
        }

    .input-wrap input[type="checkbox"]:disabled:checked ~ .slider {
        background-color: #B30000;
    }

        .input-wrap input[type="checkbox"]:disabled:checked ~ .slider:before {
            background-color: #ddd;
            color: #B30000;
        }

.input-wrap .toggle-slider ~ .amend {
    width: 60px;
    height: 38px;
    border-radius: 50px;
    left: 15px;
    right: auto;
    padding: 2px 20px;
}

.table-stripe {
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 100%;
    overflow-y: scroll;
}

    .table-stripe:nth-of-type(2n+1) {
        background-color: #e0e0e0;
    }


/* The switch - the box around the slider */
.switch {
    min-height: 34px;
    margin-bottom: 15px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: calc(100% - 60px);
    height: 38px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "N";
        height: 26px;
        width: 26px;
        left: 6px;
        bottom: 6px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        padding: 4px 8px;
    }

input:checked + .slider {
    background-color: #e60000;
}

input:focus + .slider {
    box-shadow: 0 0 1px #e60000;
}

input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
    content: "Y";
    color: #e60000;
    padding: 4px 9px;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.slider ~ .label-text {
    padding-left: 75px;
    position: relative;
    width: calc(100% - 75px);
    display: inline-block;
    margin-top: -25px;
}

    .slider ~ .label-text::after {
        content: " ";
        display: table;
        clear: both;
    }

.search-results {
    position: absolute;
    background: white;
    border: 1px solid #333;
    border-right-width: 2px;
    max-height: 600px;
    overflow-y: scroll;
    z-index: 5;
}

    .search-results:empty {
        display: none;
    }

.search-result-item {
    padding: 8px 10px;
    border-bottom: 1px solid #888;
    cursor: pointer;
}

    .search-result-item:last-of-type {
        border-bottom: none;
    }

    .search-result-item p {
        margin: 0;
    }

.amend {
    position: absolute;
    right: 15px;
    top: 0;
    background: #e60000;
    width: 34px;
    height: 34px;
    border-top-right-radius: 5px;
    opacity: 0;
    transition: all 0.5s;
    color: white;
    font-size: 1.5em;
    padding: 1px 7px;
}

.history-toggle {
    background: #e60000;
    width: 40px;
    color: white;
    padding: 10px 11px;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
}

input[type="text"] ~ .amend,
input[type="phone"] ~ .amend,
input[type="date"] ~ .amend,
input[type="time"] ~ .amend,
select ~ .amend {
    border-bottom-right-radius: 5px;
}

.input-wrap:hover .amend {
    opacity: 1;
    cursor: pointer;
}

.form-controls-inner.fix {
    left: 0;
    right: 0;
    position: fixed;
    background: white;
    bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #222;
}

.form-image {
    max-width: 100%;
    margin-bottom: 15px;
}

.link-wrapper {
    margin-bottom: 20px;
}

@media print {
    body {
        padding-top: 15px;
    }

    body, label {
        font-size: 14px !important;
        font-weight: 400;
        font-family: sans-serif;
    }

    h3 {
        padding-bottom: 8px;
        border-bottom: 2px solid black;
    }

    .input-wrap {
        width: 100%;
        margin-bottom: 0;
    }

        .input-wrap .col-xs-12 {
            width: auto;
        }

    .required, .history-toggle, .dropzone {
        display: none;
    }

    label {
        font-weight: bold;
        margin-top: 5px;
    }

        label:not(.toggle-slider)::after {
            content: ":";
        }

    .col-xs-12:empty {
        display: none;
    }

    .col-md-6:not(.col-lg-4) {
        width: 100%;
    }

    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none; /* If you want to remove the border as well */
        background: none;
    }

    .input-wrap input,
    .input-wrap select,
    .input-wrap textarea {
        border: 0 !important;
        min-width: 300px;
    }

    .input-wrap textarea {
        height: auto;
        min-height: unset;
    }

    input[type="checkbox"] {
        display: none;
    }

    textarea:empty {
        display: none;
    }

        textarea:empty::after {
            content: "N/A";
        }

    .switch {
        margin-bottom: 0;
    }

    .slider {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
    }

        .slider:before {
            position: relative;
            bottom: 0;
            font-weight: 400;
        }

        .slider.round {
            float: right;
        }

        .slider ~ .label-text {
            padding-left: 0;
            width: calc(100% - 28px);
            margin-top: 0;
        }

    .clearfix {
        height: 0;
    }

    .form-controls-inner {
        display: none;
    }
}
