/*!
 * Styles.css
 *
 * v 1.0.0
 */

/* Something is only visible on mobile or only visible on the desktop version */

@media (min-width: 767px) and (min-height: 601px) {
    .desktopVisible {
    }

    .mobileVisible {
        display: none !important;
        visibility: hidden !important;
    }
}

@media (max-width: 767px) or (max-height: 601px) {
    .desktopVisible {
        display: none !important;
        visibility: hidden !important;
    }

    .mobileVisible {
    }
}

/* General attributes */

body {
    position: absolute;
    font-family: 'Roboto', sans-serif !important;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    min-width: 768px;
    background-color: #404b55 !important;
}

#loggedIn body {
}

/* General attributes end */

/* To show the border radius on the top corners of the header also with a background color */

.modal-header-custom {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    overflow: hidden;
}

.useCaseCloseButton {
    font-size: 30px !important;
}

.title {
    font-weight: 300;
    color: #fff;
}

.mainPanel {
    background: white;
    padding: 20px;
    margin: 20px;
}

/* Load Screen CSS */

.loadScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url("/img/load.gif");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: 50px 50px;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loadText {
    color: white;
    margin-top: 80px;
}

/* Hide the up/down arrows on input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

/* Hide the up/down arrows on input type number on firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Make the background color white on autocompleted input fields */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -webkit-text-fill-color: #333;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px white inset;
    -webkit-text-fill-color: #333;
}

.selected {
    background-color: #CFD8DC !important;
    color: white;
}

.businessData {
    margin: 0 0 2em 0;
    list-style-type: none;
    padding: 0;
    width: 10em;
}

.businessData li {
    cursor: pointer;
    position: relative;
    left: 0;
    background-color: #EEE;
    margin: .5em;
    padding: .3em 0;
    height: 1.6em;
    border-radius: 4px;
}

.businessData li.selected:hover {
    background-color: #BBD8DC !important;
    color: white;
}

.businessData li:hover {
    color: #607D8B;
    background-color: #DDD;
    left: .1em;
}

.businessData .text {
    position: relative;
    top: -3px;
}

.businessData .badge {
    display: inline-block;
    font-size: small;
    color: white;
    padding: 0.8em 0.7em 0 0.7em;
    background-color: #607D8B;
    line-height: 1em;
    position: relative;
    left: -1px;
    top: -4px;
    height: 1.8em;
    margin-right: .8em;
    border-radius: 4px 0 0 4px;
}

.table-custom {
    width: auto;
}

.table-custom td {
    border: none;
    padding: 0;
    vertical-align: top;
}

.table-custom td:first-child {
    padding-right: 40px;
}

/* Pagination styles */
.custom-pagination {
    display: flex;
    max-width: 300px;
    margin: auto;
}

.custom-pagination > div:hover {
    background-color: lightgray;
    cursor: pointer;
}

.custom-pagination > div {
    flex: 1;
    font-size: 14px;
    text-align: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    margin: 1px;
}

.custom-pagination > div.current {
    color: white;
    background-color: #2199e8;
}

.custom-pagination > div.disabled {
    visibility: hidden;
}

.helpButton {
    font-size: 1.5em;
    margin-right: 0;
    color: blue;
}

.helpButton:hover {
    color: darkslategrey;
    cursor: pointer;
}

.browser-not-supported-text {
    color: white;
    font-size: 20px;
}

/* JSON Syntax highlighting Styles */
.string {
    color: green;
}

.number {
    color: darkorange;
}

.boolean {
    color: blue;
}

.null {
    color: magenta;
}

.key {
    color: red;
}

.multiselect-dropdown .dropdown-btn .dropdown-down, .multiselect-dropdown .dropdown-btn .dropdown-up {
    border-bottom: 0 !important;
    border-top: 5px solid #000000 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
}

.email_svg {
    height: 0.9em;
    vertical-align: middle;
    padding-bottom: 1px;
}

