/* Swagger */
.information-container, .models {
    display: none !important;
}

.schemes > :first-child {
    display: none !important;
}

.scheme-container {
    box-shadow: none !important;
}

/* Bootstrap collapsibles */
[data-toggle="collapse"].collapsed .display-if-expanded {
    display: none;
}
[data-toggle="collapse"]:not(.collapsed) .display-if-collapsed {
    display: none;
}

li.nav-item {
    margin-left: auto;
    padding-left: 10px;
}

.navbar-collapse.collapse.show li.nav-item, .navbar-collapse.collapsing li.nav-item {
    padding-bottom: 10px;
}

.form-control::placeholder {
    color: #999;
}

.select2-purple .select2-selection__choice {
    background: #9a59b5 !important;
}

.select2-green .select2-selection__choice {
    background: #16a086 !important;
}

.select2-blue .select2-selection__choice {
    background: #3598db !important;
}

.select2-orange .select2-selection__choice {
    background: #e67f22 !important;
}

.select2-yellow .select2-selection__choice {
    background: #f39c11 !important;
}

.select2-dark .select2-selection__choice {
    background: #343a40 !important;
}

.select2-selection__choice {
    background: #aaa !important;
    color: white !important;
    border: none !important;
    padding: 1px 6px !important;
}

.select2-selection__choice__remove {
    color: white !important;
}

.input-icon {
    position: absolute;
    top: 9px;
    right: 14px;
    pointer-events: none;
    color: #999;
}

.input-icon + input {
    padding-right: 30px;
}

.select2-like-input {
    font-size: 14px;
    height: 34px;
    border-color: rgb(204, 204, 204);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.navbar-title {
    position: relative;
    top: 1px;
    left: 2px;
}

.navbar {
    height: 65px;
}

.force-wrap {
    word-wrap: anywhere;
    white-space: normal;
}

.line-height-small {
    line-height: 1em !important;
}

.footer-logo {
    width: 150px;
    position: relative;
    top: -2px;
}

[data-toggle="collapse"] {
    cursor: pointer;
}

.debug-crop-image {
    border: 1px solid;
    max-width: min(100%, 160px);
    min-width: 30px;
}

.pagination-field {
    width: 4em !important;
}

/* Chrome, Safari, Edge, Opera */
.pagination-field::-webkit-outer-spin-button,
.pagination-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.pagination-field[type=number] {
  -moz-appearance: textfield;
}

/* Disable Bootstrap collapse animations */
.collapsing {
    transition: none !important;
}

.badge-success-light {
    background-color: #8bc34a;
    color: white;
}

.badge-blicker {
    color: white;
    background-color: #FF5435;
    border-color: #FF5435;
}

.btn-blicker {
    color: white;
    background-color: #FF5435;
    border-color: #FF5435;
}

.btn-blicker:hover {
    color: white;
    background-color: #D9462B;
    border-color: #D9462B;
}

.btn-grey {
    color: black;
    background-color: #e7e7e7;
    border-color: #e7e7e7;
}

.btn-grey:hover {
    color: black;
    background-color: #d8d8d8;
    border-color: #d8d8d8;
}

#image-upload-area {
    border: 1px dashed #aaa;
    user-select: none;

    height: 4em;
}

.non-interactive-children > * {
    pointer-events: none;
}

.image-upload-area-drop {
    background: #ffeeba;
}

#image-upload-area-suggestion {
    color: #aaa;
}

#image-progress-container {
    height: 4em;
}

#image-upload-area:hover {
    cursor: pointer;
    background: #fafafa;
}

.brain-loading-spinner-container {
    position: absolute;
    left: calc(50% - 2.5em);
    top: calc(50% - 2.5em);
}

.brain-loading-spinner-container img:first-child {
    position: absolute;
    width: 5em;
}

.brain-loading-spinner-container img:last-child {
    position: relative;
    width: 5em;
}

.input-button-container {
    position: relative;
    width: 100%;
}

.input-button {
    position: absolute;
    top: calc(50% - 1em);
    right: .5em;
    cursor: pointer;

    display: flex;
    width: 1.5em;
    height: 2em;
    align-items: center;
    justify-content: center;
}

.input-button-input {
    padding-right: 3em;
    width: 100%;
}

.darkened-background {
    background: rgba(0, 0, 0, 0.2);
}

.thumbnail-box {
    width: 100%;
    padding-top: 100%;
    position: relative;

    background:rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.125);
}

.thumbnail-box-message {
    background:rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.125);

    display: flex;
    justify-content: center;
    align-items: center;
}

.thumbnail-box-centerer {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.thumbnail-box-centerer img {
    max-width: 100%;
    max-height: 100%;

    cursor: none;
}

.thumbnail-box img:hover {
    opacity: 0.5;
}

.thumbnail-box img:hover + .img-magnifier-glass {
    visibility: visible;
}

.img-magnifier-glass {
    position: absolute;
    border: 3px solid #000;

    /* Size of the magnifier glass */
    width: 100px;
    height: 100px;
    pointer-events: none;
    visibility: hidden;
}

.clickable-row {
    text-decoration: none !important;
}

.mr-minus-1 {
    margin-right: -0.25rem !important;
}

/* Bootstrap/Popper tooltip */
.tooltip-inner {
    padding: 0.5rem 0.5rem !important;
    max-width: none !important;
}

.truncatable-badge-cage {
    position: absolute;
    top: 0.5em;
    right: 15px;
    bottom: 0;
    left: 15px;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.truncatable-badge-list {
    height: calc(0.5em + 0.75em - 2px + 0.5em);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    color: #6c757d;

    position: relative;
    top: -0.5em;
}

.truncatable-badge-shifter {
    position: relative;
    top: 0.5em;
}

.truncatable-badge {
    max-width: 12em;

    overflow: hidden;
    text-overflow: ellipsis;

    direction: ltr;
}

.truncatable-badge-tooltip-hitbox {
    position: absolute;

    top: 0.5em;
    right: 0;
    bottom: 0;
    left: 0;
}

.truncatable-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.tooltip.show {
    opacity: 1;
}

.table-warning {
    background-color: #ffeeba !important;
}

.demo-image {
    max-width: 100%; max-height: 30em; width: auto; height: auto; border: 3px solid #FF5435;
}

.oauth-divider {
    height: 250px;
}

.oauth-divider-line {
    flex-grow: 1;
    background: #ddd;
    width: 1px;
}

.oauth-divider-circle {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 60px;
    height: 60px;

    border: 1px solid #ddd;
    border-radius: 30px;

    color: #aaa
}

.oauth-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;

    border: 1px solid #8c8c8c;
    color: #5e5e5e;

    padding: 8pt;
    border-radius: 4px;

    user-select: none;
}

.oauth-button:hover {
    background: #eee;
}

.oauth-button img {
    margin-right: 4pt;
    height: 1.5em;

    display: inline-block;
}

.oauth-button span {
    width: 150px;
    display: inline-block;

    text-align: center;
}

.oauth-identity-field {
    padding-left: 35px;
    background-size: 21px 21px;
    background-repeat: no-repeat;
    background-position: 8px center;
}

.oauth-identity-icon {
    width: 21px;
    height: 21px;
}

.demo-example-images > * {
    margin-left: 1em;
    margin-right: 1em;
}

.table-borderless {
    border: none;
}

.table-borderless td {
    border: none;
}
