:root {
    --bs-primary: #3796FF;
    --bs-primary-rgb: 37, 140, 251;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*bootstrap overrides*/
.table-sm td {
    font-size:x-small
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

/* Custom CSS for dropdown inside dropdown */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
    }

    .dropdown-submenu:hover .dropdown-menu {
        display: block;
    }

/*for debugging json*/
pre {
    outline: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
    min-width: 350px;
    max-height: 100%;
    scroll-behavior: auto;
}

.string {
    color: green;
}

.number {
    color: darkorange;
}

.boolean {
    color: blue;
}

.null {
    color: magenta;
}

.key {
    color: red;
}

/* Typeahead dropdown styling */
.twitter-typeahead {
    display:inline !important;
    width:100%;
}
.tt-menu {
    width: 100%;
    min-width: 300px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    z-index: 1000;
    margin-top: 0.25rem;
    padding: 0.25rem 0;
}

/* Individual suggestion item */
.tt-suggestion {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

    /* Hover/focus style */
    .tt-suggestion:hover,
    .tt-suggestion.tt-cursor {
        background-color: #f8f9fa;
        color: #212529;
    }

/* Style for the input field if needed */
.typeahead {
    background-color: #fff;
}
