.attribute.red {
    color: red;
}
.text-padding-0 {
    padding-left: 0;
}
.text-padding-1 {
    padding-left: 1em;
}
.text-padding-2 {
    padding-left: 2em;
}

input::placeholder {
    opacity: 0.2;
}

.checkbox.inline {
    display: inline-block;
    vertical-align: baseline;
    padding-right: 1em;
}

span.readonly-multiselect {
    display: inline-block;
    margin-right: 5px;
}

td.overweight-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
}

td.overweight-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
}

ul#advanced_export_sortable {
    list-style: none;
    padding: 1em;
}

.DocketPhotos {
    width: 100vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.DocketPhotos img {
    width: 300px;
    height: auto;
    margin-right: 1ch;
}
.DocketPhotos img:nth-last-child(1) {
    margin-right: 0;
}

ul#advanced_export_sortable li input {
    display: inline-block;
    margin-left: 8px;
}

span.grippy {
    content: '....';
    width: 10px;
    height: 20px;
    display: inline-block;
    overflow: hidden;
    line-height: 5px;
    padding: 3px 4px;
    cursor: move;
    vertical-align: middle;
    margin-top: -.7em;
    margin-right: .3em;
    font-size: 12px;
    font-family: sans-serif;
    letter-spacing: 2px;
    color: #cccccc;
    text-shadow: 1px 0 1px black;
}

span.grippy::after {
    content: '.. .. .. ..';
}

.csv-display-name {
    width: 150px;
    display: inline-block;
}

.replay-controls {

}

.replay-controls > div {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.replay-controls > div > label {
    flex: 1;
}

.form-map,
.replay-controls {
    display: grid;
}

.box-headertoolbar {
    float: right;
    display: block;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
}

#link_codes {
    cursor: pointer;
    text-decoration: underline;
}

.attribute-overweight {
    color: red;
}

.form-description {
    padding: 16px;
}

.prompts-container {
    display: flex;
    flex-wrap: wrap;
    padding-left: 15px;
    padding-right: 15px;
}

.prompts-container > div.box {
    width: 50%;
    box-sizing: border-box;
}



.columned-view .box:nth-child(1) .form {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 64px;
}

@media screen and (max-width: 1000px) {
    .columned-view .box:nth-child(1) .form {
        flex-direction: column;
    }
    .columned-view .box:nth-child(1) .form .row {
        padding: 0;
        margin: 0;
        width: unset;
        flex: 1;
    }
}

@media screen and (min-width: 1000px) {
    .columned-view .box:nth-child(1) .form .row {
        padding: 0;
        margin: 0;
        width: 33%;
    }
}

@media screen and (min-width: 1500px) {
    .columned-view .box:nth-child(1) .form .row {
        padding: 0;
        margin: 0;
        width: 16%;
    }

    .columned-view .box:nth-child(1) .form .row:nth-last-child(2) {
        margin-bottom: 100px;
    }
}

.columned-view .box:nth-child(1) .form .row:nth-last-child(1) {
    position: absolute;
    left: 0;
    bottom: 0;
}

.primary-sidebar .nav > li.enabledadminonly {
    background: #515151;
}

.primary-sidebar .nav > li.enabledadminonly > a {
    text-shadow: none;
    color: white;
}

.MetadataState > .input {
    padding: 1ch;
}
.MetadataState > .input:hover {
    background-color: #eee;
}
.MetadataState > .input,
.MetadataState > .input > label {
    display: flex;
}

.MetadataState > .input > label > *:nth-child(1) {
    width: 150px;
}
.MetadataState > .input > label > *:nth-child(2) {
    width: 200px;
}
.MetadataState > .input > input {
    flex: 1;
}

.MetadataState > .input:nth-child(1) {
    font-weight: bold;
    text-transform: uppercase;
    margin: 1ch 0;
}

select.Disabled,
form.fill-up label.CheckboxLabel.Disabled {
    opacity: 0.5;
    pointer-events: none;
}

form.fill-up label.CheckboxLabel {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 200px;
    clear: both;
}
form.fill-up label.CheckboxLabel > input[type='checkbox'] {
    margin: 0;
    padding: 0;
    width: 20px;
}

form.fill-up label.CheckboxLabel > * {
    margin: 0;
    padding: 0;
    display: inline-block;
}

form.fill-up .CheckboxDescription {
    display: block;
    margin-bottom: 8px;
}

form.fill-up label.CheckboxLabel > .tag,
form.fill-up .tag {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 8px;
    border-radius: 4px;
    color: white;
    background-color: orangered;
}

form.fill-up .TimezoneDescription {
    margin-top: 4px;
    margin-left: 3px;
}

form.DriverRegistrationInput {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
}

@media screen and (max-width: 800px) {
    .DriverRegistrationInput {
        flex-direction: column;
    }
}

.DriverRegistrationInput > .row:nth-child(2),
.DriverRegistrationInput > .row:nth-child(5),
.DriverRegistrationInput > .row:nth-child(6)
{
    display: none;
}
.DriverRegistrationInput > .row {
    flex: 1;
}
.DriverRegistrationInput .col-xs-12 .padded {
    padding-bottom: 0;
}

.AlternativeVehicleTypes > .row:nth-child(2),
.AlternativeVehicleTypes > .row:nth-child(4),
.AlternativeVehicleTypes > .row:nth-child(6),
.AlternativeVehicleTypes > .row:nth-child(7),
.AlternativeVehicleTypes > .row:nth-child(8) {
    display: none;
}

.AllowAlternativeGVMLimits .padded.separate-sections {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: 20px;
    margin-right: 20px;
}

.AllowAlternativeGVMLimits .padded.separate-sections > .input {
    width: 200px;
}

.input > .Info {
    display: flex;
    flex-direction: column;
    background-color: #c1eef6;
}
.input > .Info > span.heading {
    font-size: 1.2em;
    font-weight: bold;
}
.input > .Info > span.heading,
.input > .Info > span {
    flex: 1;
    margin: 0;
    padding: 1ch 2ch;
    line-height: 1.25em;
}

.input > .Info.Warning {
    background-color: #f6cedc;
}

.UsernameTag,
.UserTypeTag {
    margin-left: 1ch;
    font-size: 12px;
    color: #3f3f3f;
    background-color: #999999;
    padding: 4px 8px;
    border-radius: 8px;
}

.UserTypeTag {
    color: #3f3f3f;
    background-color: rgb(46, 224, 226);
}

.UserTypeTag.admin {
    color: white;
    background-color: rgb(50, 36, 134);
}

.recent-driver-rego {
    
}

.help-clickable {
    cursor: pointer;
}

.help-clickable.danger {
    color: red;
}
.ui-dialog { z-index: 1000 !important ;}

.help-clickable:hover {
    opacity: 0.5;
}

.ui-dialog-titlebar-close::after {
    content: 'x';
}
.ui-dialog-titlebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 2px;
}
.ui-dialog-titlebar-close:hover {
    border: 1px solid #ccc;
}

.NumberPlateStyle {
    color: #666;
    font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    display: inline-block;
    width: auto;
    background-color: white;
    border: 2px solid #666;
    border-radius: 4px;
    padding: 4px;
}


.BrowserErrorsTable td {
    padding: 0 1em;
}
.BrowserErrorsTable pre {
    font-size: 9px;
}

.AuditTable {
    width: auto;
    margin-left: 20px;
    border: 1px solid #ccc;
}
.AuditTable tr {
    display: flex;
    flex-direction: row;
}
.AuditTable:hover {
    background: white;
}
.AuditTable td,
.AuditTable th {
    width: 180px;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.AuditTable th:nth-child(1),
.AuditTable td:nth-child(1) {
    width: 260px;
}
.AuditTable td:nth-child(2) {
    background-color: rgba(0, 84, 158, 0.05);
}
.AuditTable td:nth-child(3) {
    background-color: rgba(0, 84, 158, 0.15);
}
.AuditRow {
    width: auto;
    display: flex;
    flex-direction: row;
}
.AuditRow > *:nth-child(1) {
    width: 50px;
}
.AuditRow > *:nth-child(2) {
    width: 100px;
}

.ActiveShift {
    color: green;
    font-weight: bold;
}

ol li {
    margin-left: 2em;
}

.CreatedPositionInfoWindow {
    display: flex;
    flex-direction: column;
}

.CreatedPositionInfoWindow a {
    font-weight: bold;
}

.CreatedPositionInfoWindow a:hover {
    text-decoration: underline;
}

.MetadataFormRow > * {
    margin-right: 1em;
}

.MetadataFormRow input[type='checkbox'],
.MetadataFormRow input[type='radio'] {
     width: inherit;
    margin-right: 4px;
 }

.uk_pin_active_tag {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 8px;
    border-radius: 4px;
    color: white;
    background-color: #85ccb4;
}

.uk_pin_inactive_tag {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 8px;
    border-radius: 4px;
    color: white;
    background-color: #ced5d3;
}

.support-section {
    background-color: #f1ffff;
}

.WarningBox {
    background-color: #f6f3ce;
    padding: 1em;
    border-radius: 4px;
}

.descriptionRight {
    max-width: 800px;
}

.supportTable tr:nth-child(even) {
    background-color: #f1f1f1;
}
.supportTable td {
    padding: 4px 0;
}

.padded .choices__list--multiple .choices__item,
.padded .choices__list--multiple .choices__item.choices__item--selectable {
    position: relative;
    margin: 3px 5px 3px 0;
    padding: 3px 20px 3px 5px;
    border: 1px solid #aaa;
    max-width: 100%;
    border-radius: 3px;
    background-color: #eeeeee;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee));
    background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    background-size: 100% 19px;
    background-repeat: repeat-x;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
    line-height: 13px;
    color: #333;
    cursor: default;
}

.padded .choices[data-type*=select-multiple] .choices__button,
.padded .choices[data-type*=text] .choices__button {
    color: #333;
    border-left: none;
    background: url(https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.3/chosen-sprite.png) -42px 1px no-repeat;
    appearance: none;
    position: absolute;
    top: 4px;
    right: 3px;
    display: block;
    width: 12px;
    height: 12px;
    font-size: 1px;
    opacity: 1;
}

.choices__inner--custom {
    overflow: hidden;
    margin: 0;
    padding: 4px 5px 0 5px;
    width: 100%;
    height: auto;
    border: 1px solid #aaa;
    background-color: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #eee), color-stop(15%, #fff));
    background-image: linear-gradient(#eee 1%, #fff 15%);
    cursor: text;
}

.padded input[type="text"].choices__input--custom {
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    -webkit-border-radius: unset;
    -moz-border-radius: unset;
    color: unset;
    border: unset;
    display: unset;
    height: unset;
    line-height: unset;

    vertical-align: baseline;
    background-color: #f9f9f9;
    font-size: 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 4px 0 4px 2px;
}

.padded .is-highlighted--custom {
    background-color: #3875d7;
    background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
    color: #fff;
}

.padded .choices__item,
.padded .choices__list--multiple .choices__item {
    font-size: 13px;
}

.padded .choices__list--dropdown .choices__item {
    padding: 5px 10px;
    font-size: 13px;
}

.btn-support {
    display: inline-block;
    background-color: #a7e6f1;     /* Bootstrap-ish blue */
    color: #303030;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.btn-support:hover {
    background-color: #0056b3;     /* Darker blue on hover */
    color: white;
}

/* Next pre should be hidden */
.click-toggle-pre + pre {
    display: none;
}

.click-toggle-pre {
    display: inline-block;
    background-color: #a7e6f1;     /* Bootstrap-ish blue */
    color: #303030;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.click-toggle-pre:hover {
    background-color: #0056b3;     /* Darker blue on hover */
    color: white;
}