body {
    background-color: #e9e9e9;
    background-image: url(../img/whitblur.jpg);
    background-position: center top;
}
pre {
    white-space: pre-wrap;
}
.beta_label {
    float: left;
    height: 55px;
    left: 0;
    position: absolute;
    top: 0;
    width: 50px;
    z-index: 10;
}
.beta_label.right {
    float: right;
    left: auto;
    right: 0;
}
.beta_shape {
    background: transparent;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    transform: rotate(180deg);
    width: 100%;
}
.beta_label.right .beta_shape {
    transform: rotate(90deg) translateX(-3px) translateY(2px);
}
.beta_shape:before {
    background: linear-gradient(to left, #0651db 0%, #152C55 100%);
    background-size: cover;
    content: '';
    display: block;
    height: inherit;
    transform: skewY(-30deg) rotate(60deg) translate(50%);
    width: inherit;
}
.beta_label.right .beta_shape:before {
    transform: skewY(-30deg) rotate(-120deg) translate(50%);
}
.beta_text {
    color: #fff;
    display: block;
    font-size: 100%;
    left: 0;
    letter-spacing: 1px ;
    padding: 5px 0;
    position: absolute;
    top: 0;
    transform: rotate(-50deg);
}
.beta_label.right .beta_text {
    left: auto;
    right: 0;
    transform: rotate(40deg);
}
.badge-beta {
    background: linear-gradient(to left, #0651db 0%, #152C55 100%);
    color: white;
}
.clickable {
    cursor: pointer;
}
.close.white {
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}
.font-size-small {
    font-size: small;
}
/* Hide spinners for input type numbers https://stackoverflow.com/questions/23372903/hide-spinner-in-input-number-firefox-29 */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* Dropdown links coloring */
.dropdown-toggle.no-caret:after {
    display: none;
}
.dropdown-menu:hover > a.dropdown-item,
.dropdown-menu:hover > a.dropdown-link {
    background-image: none;
    background-color: transparent;
    color: inherit;
    text-shadow: none;
}
.dropdown-menu a.dropdown-item:hover,
.dropdown-menu a.dropdown-link:hover,
.dropdown-menu .dropdown-item:hover {
    background-color: #ff9900;
    background-image: none;
    color: white;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}
.filter-color-indicator {
    background-color: transparent;
    border-style: solid;
    border-radius: 100%;
    border-width: 3px;
    display: inline-block;
    height: 20px;
    vertical-align: text-top;
    width: 20px;
}
.flash {
    background-color: lemonchiffon;
}

.legend-container {
    /*bottom: 78px;*/
    max-height: calc(100% - 150px);
    overflow-x: auto;
    overflow-y: auto;
    /* position: absolute; This has to be set for the element separately */
    right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.2);
    top: 14px;
    z-index: 3;
}
.legend-container::-webkit-scrollbar {
    width: 10px;
}
.legend-container::-webkit-scrollbar-button {
    display: none;
}
.legend-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}
.legend-container::-webkit-scrollbar-track-piece {
    background-color: rgba(0, 0, 0, 0.2);
}
.legend-container .legend {
    cursor: pointer;
}
.legend-container .legend b {
    height: 10px;
    width: 10px;
}

.prev-selected:after {
    background-color: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px red;
    content: '';
    height: 14px;
    left: -1px;
    position: absolute;
    width: 14px;
}

.results-overlay {
    background-position: center center;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    top: 0;
    z-index: 2;
}
.results-overlay.draft {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='240px' width='340px'><text x='-80' y='230' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='125' transform='rotate(-30)'>Draft</text></svg>");
}
.results-overlay.working {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='320px' width='540px'><text x='-120' y='310' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='125' transform='rotate(-30)'>Working</text></svg>");
}
.results-overlay.oso {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='440px' width='610px'><text x='-140' y='300' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='105' transform='rotate(-30)'>Operating</text><text x='-170' y='410' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='105' transform='rotate(-30)'>Speed Only</text></svg>");
}
.results-overlay.draft.oso {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='340px' width='550px'><text x='-30' y='260' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='125' transform='rotate(-30)'>Draft</text><text x='-130' y='310' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='50' transform='rotate(-30)'>Operating Speed Only</text></svg>");
}
.results-overlay.working.oso {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='410px' width='600px'><text x='-110' y='320' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='125' transform='rotate(-30)'>Working</text><text x='-125' y='390' font-family='Arial' font-weight='900' fill='rgba(150,150,150,0.3)' font-size='50' transform='rotate(-30)'>Operating Speed Only</text></svg>");
}

.switch-button-container {
    border: 1px solid #999;
    border-radius: 5px;
    margin: 0 3px;
}
.switch-button-container label {
    background: #eee;
    border: none;
    box-shadow: none !important;
    color: #999;
    cursor: pointer;
    display: block;
    font-size: 0.7rem;
    font-weight: bold;
    outline: none;
    width: 100%;
}
.switch-button-container label:active,
.switch-button-container label:focus,
.switch-button-container label:hover {
    background: #ddd;
    color: #666;
}
.switch-button-container label.active {
    background: #fff;
    color: #000;
    cursor: default;
    opacity: 1;
}
.switch-button-container.btn-group-vertical label {
    padding: 2px 5px !important;
}
.switch-button-container.btn-group-vertical label:first-child {
    border-bottom: 1px solid #999;
}
.switch-button-container.btn-group-vertical label:not(:first-child) {
    border-top: 1px solid #999;
}
.switch-button-container.btn-group label {
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    white-space: nowrap;
}
.switch-button-container.btn-group label:first-child {
    border-left: none;
}
.switch-button-container.btn-group label:last-child {
    border-right: none;
}

table.table-sticky-column th:first-child, table.table-sticky-column td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}
table.table-sticky-column td:first-child {
    background-color: white;
}
table.table-sticky-column th:first-child:after, table.table-sticky-column td:first-child:after {
    border-right: 2px solid #dee2e6;
    content:'';
    height: calc(100% + 1px);
    position:absolute;
    right: 0;
    top: 0;
    width:100%;
}
table.table-sticky-column th:first-child:after {
    border-bottom: 2px solid #dee2e6;
}
table.table-sticky-column td:first-child:after {
    border-bottom: 1px solid #dee2e6;
}
table.table-sticky-column thead tr ,table.table-sticky-column tbody tr {
    border-bottom-color: #dee2e6;
    border-bottom-style: solid;
}
table.table-sticky-column thead tr {
    border-bottom-width: 2px;
}
table.table-sticky-column tbody tr {
    border-bottom-width: 1px;
}
table.table-sticky-column th, table.table-sticky-column td {
    border-bottom: 0;
}

.thead-sticky, .thead-sticky th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.toast {
    flex-basis: auto;
    width: 350px;
}
.toast-header:only-child {
    border-bottom: none;
    border-radius: .25rem;
}

#topLevelNavbar .dropdown-menu {
    z-index: 1001;
}

a.new-feature .new-feature-icon, button.new-feature .new-feature-icon {
    opacity: 0.8;
}
a.new-feature:hover .new-feature-icon, button.new-feature:hover .new-feature-icon {
    opacity: 1;
}
.new-feature.focused {
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.75);
    color: #333 !important;
    z-index: 1051;
}

.vida-hover:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.vida-menu-block {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #eeeeee 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#eeeeee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
    box-sizing: content-box;
    color: #333;
    min-height: 116px;
    width: 116px;
}
.vida-menu-block:hover {
    background: #fcfcfc; /* Old browsers */
    background: -moz-linear-gradient(top,  #fcfcfc 0%, #e6e6e6 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #fcfcfc 0%,#e6e6e6 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #fcfcfc 0%,#e6e6e6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */
    color: #222;
    text-shadow: 0 1px 0 white;
}
.vida-menu-block.coloured, .vida-menu-block.coloured:hover {
    background: grey;
    color: white;
    opacity: 0.9;
}
.vida-menu-block.coloured:hover {
    opacity: 1;
    text-shadow: 0 -1px 0 black;
}
.vida-menu-block img {
    transition-duration: 0.2s;
}
.vida-menu-block:hover img {
    transform: scale(1.2) translateY(-3px);
}
.vida-menu-block.disabled {
    background: #ddd;
    text-shadow: 0 1px 0 #eee;
    user-select: none;
}
.vida-menu-block.disabled:not(.tt) {
    pointer-events: none;
}
.vida-menu-block .menu-icon {
    height: 32px;
}
.vida-menu-block .menu-icon.large {
    height: 40px;
}
.vida-menu-block .menu-icon-text {
    font-style: italic;
    font-size: 20px;
    font-weight: bold;
    height: 32px;
    letter-spacing: 1px;
    opacity: 0.75;
    overflow: hidden;
    word-break: break-all;
}
.vida-menu-block .light {
    color: rgba(51, 51, 51, 0.75);
}
.vida-menu-block.coloured .light {
    color: rgba(255, 255, 255, 0.75);
}

#vida-modal .prev, #vida-modal .next {
    background: transparent;
    border: 0;
    color: white;
    padding: 0;
    position: absolute;
    top: 60px;
}
#vida-modal .prev:hover, #vida-modal .next:hover,
#vida-modal .prev:focus, #vida-modal .next:focus {
    color: #eee;
}
#vida-modal .prev:active, #vida-modal .next:active,
#vida-modal .prev.active, #vida-modal .next.active {
    color: #ccc;
}
#vida-modal .prev {
    left: -45px;
}
#vida-modal .next {
    right: -45px;
}

.vida-navbar .breadcrumbs {
    margin: 0;
    padding: 0;
}
.vida-navbar .breadcrumbs a {
    color: #f90;
}
.vida-navbar .breadcrumbs a:hover, .vida-navbar .breadcrumbs a:focus {
    color: #b36b00;
}

/** Custom Modal Overlay **/
.vida-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1075;
}

.vida-required:after {
    content: '\02217'; /* asterisk */
    font-size: 1.25em;
    position: absolute;
    right: 10px;
    top: 0;
}
.vida-required ~ input.form-control {
    width: calc(100% - 10px); /* subtracting same value as set for 'right' in prev selector, some space for asterisk */
}

.vida-ui-block {
    background-color: rgba(0, 0, 0, 0.8);
    bottom: 0;
    color: white;
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    z-index: 1025;
}

/* NProgress overwrite */
#nprogress .spinner-icon {
    border-width: 3px;
    height: 30px;
    width: 30px;
}
#nprogress .bar {
    height: 3px;
}
#nprogress .bar, #nprogress .spinner {
    z-index: 1100;
}

/* Bootstrap select overwrite */
.bootstrap-select > select {
    left: 0;
    width: 100% !important;
}

/* Validetta overwrite */
.validetta-error .validetta-bubble {
    max-width: none;
    white-space: nowrap;
}

/* Typeahead overwrite */
.twitter-typeahead {
    display: block !important;
}