/**/
/* Index.css */
/**/

.set-nav.active {
    --tw-bg-opacity: 1;
    background-color: rgba(246, 246, 246, var(--tw-bg-opacity));
    --tw-border-opacity: 1;
    border-color: rgba(215, 25, 32, var(--tw-border-opacity));
    --tw-text-opacity: 1;
    color: rgba(215, 25, 32, var(--tw-text-opacity));
    --tw-bg-opacity: 1;
    background-color: rgba(246, 246, 246, var(--tw-bg-opacity));
    --tw-border-opacity: 1;
    border-color: rgba(215, 25, 32, var(--tw-border-opacity));
    --tw-text-opacity: 1;
    color: rgba(215, 25, 32, var(--tw-text-opacity));
}

.valid {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
    --tw-border-opacity: 1;
    border-color: rgba(70, 175, 96, var(--tw-border-opacity));
    border-radius: 0.25rem;
    border-width: 1px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.25rem;
    padding-left: 0.5rem;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.invalid {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
    --tw-border-opacity: 1;
    border-color: rgba(248, 113, 113, var(--tw-border-opacity));
    border-radius: 0.25rem;
    border-width: 1px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.25rem;
    padding-left: 0.5rem;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    appearance: none;
}

.validation-message {
    color: rgba(215, 25, 32, var(--tw-bg-opacity));
    font-size: .75rem;
}

#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;
}


/**/
/* Layout.css */
/**/
:root {
    --main-red-color: #d71920;
    --grey-color: #f6f6f6;
    --dark-grey: #ccc;
    --black-color: #333;
}

.hover--red:hover {
    color: var(--main-red-color);
}

.hide {
    display: none !important;
}

.inline {
    display: inline-block;
}

.box--bordered {
    border: 1px solid var(--dark-grey);
    background: #fff;
}

main.box--bordered {
    margin: 0 40px 20px 80px;
}

aside.box--bordered {
    margin: 0 80px 20px 40px;
}

.flex {
    display: flex;
}

.flex-fill {
    flex: 1 0 auto;
}

.col-100 {
    width: 100%;
    box-sizing: border-box;
}

.col-sm-6 {
    min-width: 50%;
    max-width: 50%;
    width: 50%;
    box-sizing: border-box;
}

.col-sm-4 {
    width: 33.33%;
    box-sizing: border-box;
}

.col-sm-8 {
    width: 66.66%;
    box-sizing: border-box;
}

.pull--right {
    float: right;
}

.clear-float {
    clear: both;
}

/* A href / Link Modifiers */

.padding--normal,
.pad--all {
    padding: 15px;
}

.pad--left {
    padding-left: 15px;
}

.pad--right {
    padding-right: 15px;
}

.pad--top {
    padding-top: 10px;
}

/* Text Modifiers */
.text--small {
    font-size: 0.7em;
}

.text--ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.text--grey {
    color: #aaa;
}

.text--red {
    color: var(--main-red-color);
}

.grid--width--500 {
    width: 500px;
}

.bold {
    font-weight: bold;
}

.text--red--bold {
    color: #d71920 !important;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.div--spacer {
    height: 50px;
}

.text--center {
    text-align: center;
    height: 55px;
}

.text--justify {
    text-align: justify;
}

.header {
    border-bottom: 1px solid var(--dark-grey);
    position: sticky;
    top: 0;
    background: #fff;
}

h5.header {
    padding: 20px;
}

/* JM Elements */
.input {
    box-sizing: border-box;
    max-width: 100%;
    border: none;
}

.button {
    display: inline-block;
    font-weight: 600;
    border: none;
    background-color: inherit;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

    .button:hover svg {
        fill: var(--main-red-color);
    }

.button--flat {
    color: #fff;
    margin: 10px;
    border-radius: 0.25em;
    padding: 10px;
}

.button--accept {
    background-color: var(--main-red-color);
}

.button--cancel {
    background-color: #000;
}

.button:focus {
    outline: none;
    box-shadow: 0px 0px 4px #2ae;
}

.button[disabled] {
    background-color: var(--grey-color);
    color: var(--black-color);
    cursor: not-allowed;
}

.link {
    color: var(--main-red-color);
    text-decoration: underline;
}

.input,
.select {
    max-width: 100%;
    box-sizing: border-box;
    margin: 6px 0;
    border: 1px solid var(--dark-grey);
    box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
    border-radius: 0.25em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    line-height: 1.5em;
}

.input {
    padding: 4px 4px 4px 6px;
}

.select {
    display: inline-block;
    font-weight: 600;
    padding: 0.2em 2em 0.3em 0.4em;
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='rgb(215,25,32)' d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/><path d='M0 0h24v24H0z' fill='none'/></svg>"), linear-gradient(to bottom, #fff 0%, #fff 100%);
    background-position: right 2px top 50%, 0 0;
    background-repeat: no-repeat, repeat;
}

    .select::-ms-expand {
        display: none;
    }

    .select > option {
        font-weight: normal;
    }

/* .select.error:not(:focus),
.input.error:not(:focus) {
  border-color: #aaa;
  box-shadow: 0 0 1px 1px rgba(215, 25, 32, 0.7);
  box-shadow: 0 0 0 1px -moz-mac-focusring;
  outline: none;
} */

/* Modifiers */
.background--bluegrey {
    background: #f5f6fa;
}

.border--red {
    border: 1px solid var(--main-red-color);
}

/* Layout */
.expand,
.rotate {
    transition: transform 2s;
    transform-origin: 50% 50%;
}

.transform .expand {
    transform: scale(1.2);
}

.transform .rotate {
    transform: rotate(180deg);
}

textarea {
    min-height: 29px;
}

.content--center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.font--mono {
    font-family: "Courier New", Courier, monospace;
}

/**/
/* TabSelector.css */
/**/
.tab-selector {
    transition: transform 0.5s ease;
    transform: translateX(-0%);
    flex-flow: column;
    flex: 0 0 auto;
    justify-self: start;
    overflow-y: auto;
    min-width: 160px;
    width: 20%;
}

.tab-selector__tab,
.tab-selector__fill {
    border: 0 solid #ccc;
    border-right-width: 1px;
}

.tab-selector__tab {
    padding: 10px 20px;
    border-bottom: 1px #cecfd0 solid;
    display: block;
    width: 100%;
    text-align: initial;
}

    .selected + .tab-selector__tab,
    .tab-selector__tab + .selected {
        padding-top: 8px;
        border-top-width: 1px;
    }

    .tab-selector__tab.selected,
    .selected + .tab-selector__fill {
        transition: color 0.2s ease, background-color 0.8s ease;
        border-right-color: transparent;
    }

    .tab-selector__tab:focus {
        box-shadow: none;
    }

/**/
/* JMInput */
/**/
.label {
    position: relative;
    display: flex;
}

.input {
    flex: 1 1;
}

.button--cancel,
.button--accept {
    position: absolute;
    border: none;
    background: none;
    font-weight: 600;
    cursor: pointer;
}

.button--cancel {
    right: 56px;
    bottom: 16px;
    color: #ccc;
}

.button--accept,
.button--delete {
    right: 5px;
    top: 11px;
    background: var(--main-red-color);
    height: calc(100% - 20px);
    width: 110px;
    color: #fff;
}

.button--delete {
    background: var(--main-red-color);
}

.button--cancel:focus,
.button--cancel:hover,
.button--cancel:active {
    outline: none;
    text-shadow: 1px 1px 2px var(--main-red-color);
}

.button--delete:focus,
.button--accept:focus,
.button--delete:hover,
.button--accept:hover,
.button--delete:active,
.button--accept:active {
    outline: var(--main-red-color) auto 5px;
}

/**/
/* VehicleDetails */
/**/
#map {
    height: 100%;
}

#locationInfo {
    width: 220px;
}

#locationInfo .name {
    font-size: 16px;
    font-weight: bold;
    padding-bottom:20px;
}

#locationInfo ul.measurement
{
    float:left;
    color: #777;
    font-size: 12px;
    margin-left: -5px;
}

#locationInfo ul.measurement li {
    font-weight: 400;
}

#locationInfo ul.measurement li:before {
    content: '';
    height: 23px;
    width: 21px;
    display: inline-block;
    vertical-align:middle;
    background: url('../images/icons-toolbar-000.svg');
    background-size: 68px 34px;
    background-position: -32px 2px;
}

#locationInfo ul.toolbar {
    float: right;
}

#locationInfo ul.toolbar li.edit {
    content: '';
    height: 21px;
    width: 21px;
    display: inline-block;
    vertical-align:middle;
    background: url('../images/icons-app-000.svg');
    background-position: 23px 21px;
    opacity: 0.5;
    margin-left: 5px;
}

#locationInfo ul.toolbar li.delete {
    content: '';
    height: 21px;
    width: 21px;
    display: inline-block;
    vertical-align:middle;
    background: url('../images/icons-infowindow-002.svg');
    background-position: -42px 0px;
    opacity: 0.5;
    margin-left: 5px;
}

#locationInfo ul.buttons li.save {
    display: inline-block;
}

#locationInfo ul.buttons li.cancel {
    display: inline-block;
}

#locationInfo ul.toolbar li:hover {
    opacity: 0.75;
}

.bg-lime-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(237, 249, 236, var(--tw-bg-opacity));
}
