pre {
    text-align: left;
}
select.form-control.error, textarea.form-control.error {
    border: 1px solid #ffadad !important;
    background: #fbe3e4 !important;
}
input.autoparam, select.autoparam {
    border: 1px solid yellow;
    background: lightgoldenrodyellow;
}
div.upload {
    margin-bottom: 1.2em;
}

.int-portal {
    opacity: 0.8;
}

.int-portal:hover {
    opacity: 1;
}
.ui-datepicker {
    z-index: 2000;
}
.jsgrid-cell {
    white-space: nowrap;
}
.user-icon {
    display: block;
    float: left;
    padding: 6px; 
    border-radius: 1.3em; 
    width: 3em; 
    height: 3em; 
    text-align: center;
    color: #fff;
}
.user-initials {
    display: block;
    float: left;
    padding: 6px; 
    border-radius: 1.3em; 
    width: 2.6em; 
    height: 2.6em; 
    text-align: center;
    color: #fff;
}
.preview-item-content p {
    width: 400px;
    white-space: normal;
}
.jsgrid-settings-button {
    background-image: url('/media/panel/icons/cog.png') !important;
    background-size: 16px 16px !important;
    background-position: 0 0 !important;
}
.jsgrid-upload-button {
    background-image: url('/media/panel/icons/upload.png') !important;
    background-size: 16px 16px !important;
    background-position: 0 0 !important;
}
.jsgrid-imports-button {
    background-image: url('/media/panel/icons/imports.png') !important;
    background-size: 16px 16px !important;
    background-position: 0 0 !important;
}
td.td-img {
    margin: 0;
    padding: 0;
}
td label {
    width: 100%;
}
td {
    overflow: hidden;
    text-overflow: ellipsis;
}
.int-portal .card-img {
    height: 100px;
    max-width: 100%;
    text-align: center;
}
.int-portal .card-img-top {
    width: auto !important;
}
.center {
    text-align: center;
}
.external-application.nav-link.active {
    background: none;
    color: blue;
    font-weight: bold;
}
input.error {
    background: #fbe3e4 !important;
    border: 1px solid #ffadad !important;
    color: #ff4747 !important;
}
.int-icons img {
    width: 16px !important;
    height: 16px !important;
}
.pricing-table .pricing-card .pricing-card-body {
    padding: 30px;
}
.pricing-card-description {
    min-height: 140px;
}
.pricing-card-head {
    min-height: 60px;
}
.fc-event:hover {
    opacity: 1;
    box-shadow: 2px 2px 4px #c2c2c2;
}
.fc-event {
    opacity: 0.9;
    cursor: pointer;
}
.nav .nav-item.finished .nav-link {
    color: #a2a2a2;
}
.alert.hide {
    display: none;
}
.input-helper.error {
    color: red;
}
.beta-page:hover {
    opacity: 1;
}
.beta-page {
    opacity: 0.6;
    cursor: pointer;
    width: 120px;
    height: 120px;
    background: red;
    display: block;
    position: fixed;
    bottom: 0px;
    right: 0;
    z-index: 91000;
    background: url('/media/autointegrator/images/beta-bottom.png') no-repeat;
    background-position: top right;
    background-size: 100%;
}
/*.context-help p {
    margin-right: 2em;
}*/
.context-help {
    position: absolute;
    left: 1em;
    right: 1em;
    background-color: #fff;
    z-index: 2000;

    border: 1px solid lightgreen;
    /*    background-image: url('https://partnersinprojectgreen.com/app/uploads/2017/01/PPG_EV_ICON_HELP-250x250.png');
        background-repeat: no-repeat;
        background-size: 24px;
        background-position: right 1em top 1em;*/
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 1em;
    padding: 1em;
    color: green;
    box-shadow: 3px 3px 6px #a2a2a2;
    display: none;
}
.context-help-before {
    float: right;
    color: green;
    cursor: pointer;
}
.form-control, .asColorPicker-input, .dataTables_wrapper select, .jsgrid .jsgrid-table .jsgrid-filter-row input[type="text"], .jsgrid .jsgrid-table .jsgrid-filter-row select, .jsgrid .jsgrid-table .jsgrid-filter-row input[type="number"], .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-search__field, .typeahead, .tt-query, .tt-hint {
    border-color: #e2e2e2;
}
.wizard > .content > .body input {
    border-color: #e2e2e2;
}
.auth-form-light {
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #f2f2f2;
    box-shadow: 3px 3px 6px #c2c2c2;
}
.auth-form-light input, .auth-form-light .btn {
    font-size: 1.3em !important;
    border-radius: 4px !important;
}
.auth-form-light .btn {
    margin-bottom: 48px;
    padding-left: 10%;
    padding-right: 10%;
}
.top-navbar .navbar-brand-wrapper {
    width: auto;
    height: 60px;
}
.navbar .navbar-brand-wrapper .navbar-brand-inner-wrapper .navbar-brand img {
    height: 34px;
    text-align: center;
}

div.card {
    background: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 3px 3px 6px #e2e2e2;
}
.horizontal-menu .top-navbar .navbar-menu-wrapper .navbar-nav .nav-item.nav-profile img {
    width: 3em;
    height: 3em;
}

.shop-selector-nip {
    color: #6c757d;
    font-size: 0.78em;
    font-weight: 400;
    margin-left: 0.25rem;
}

@media (max-width: 991.98px) {
    .navbar .navbar-menu-wrapper .navbar-nav.navbar-nav-right .nav-item.navbar-desktop-action {
        display: none !important;
    }
    .shops-dropdown .shop-selector-label,
    .shop-selector-option .shop-selector-label {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        line-height: 1.15;
    }
    .shop-selector-nip {
        font-size: 0.68rem;
        margin-left: 0;
        margin-top: 0.15rem;
    }
}

#tags{
    width: 100%;
    float:left;
    border:1px solid #ccc;
    border-radius: 4px;
    padding: 4px;
}
#tags > span{
    width: 100%;
    cursor:pointer;
    display:block;
    float:left;
    font-size: 0.8em;
    color:#fff;
    background: #444;
    padding:5px;
    margin: 2px 0px 2px 0px;
    border-radius: 4px;
}
#tags > span.saved{
    background: #888;
}
#tags > span:hover{
    opacity:0.7;
}
#tags > span:before{
    float: right;
    content:"X";
    border:1px solid;
    border-radius: 4px;
    padding:2px 5px;
    margin-left:3px;
    font-size:11px;
}
#tags > input{
    background:#eee;
}
.accordion {
    width: 100%;
}
.accordion-button.no-colappse::after {
    background-image: none;
}

.tree-element {
    background: rgba(255,255,255,0.8);
    z-index: 200;
}
#company-tree .row {
    border-bottom: 1px dotted green;
}
.jsgrid-btn .mdi {
    font-size: 1.8em;
    margin: 0.2em;
    color: #000;
    text-decoration: none;
}
.jsgrid-btn .mdi:hover {
    color: #ff0000;
}
.jsgrid-align-checker {
    padding: 0 !important;
    width: 30px !important;
}
input[readonly] {
    opacity: 0.5;
}

.select2-container {
    min-width: 100%;
}

.select2-selection__rendered {
    position: relative;
    top: -14px;
}

.select2-results__option[aria-selected=true] {
    display: none;
}

.select2-container--default .select2-selection--multiple:before {
    content: ' ';
    display: block;
    position: absolute;
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    right: 6px;
    margin-left: -4px;
    margin-top: -2px;top: 50%;
    width: 0;cursor: pointer
}

.select2-container--open .select2-selection--multiple:before {
    content: ' ';
    display: block;
    position: absolute;
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
    height: 0;
    right: 6px;
    margin-left: -4px;
    margin-top: -2px;top: 50%;
    width: 0;cursor: pointer
}
.level-2 .sub-menu {
  padding: 0.25rem 0 0.6rem 1.55rem !important;
}

.ui-autocomplete {
    border-top: 0;
    z-index: 2000;
}

.main-search-group {
    position: relative;
}
.main-search-group .main-search-type {
    background-color: #f5f6fa;
    border-left: 0;
    border-radius: 0 0.25rem 0.25rem 0;
    color: #414653;
    cursor: pointer;
    flex: 0 0 10.5rem;
    font-size: 0.78rem;
    font-weight: 400;
    max-width: 10.5rem;
    padding-left: 0.8rem;
    padding-right: 1.7rem;
}
.main-search-group .main-search-type:focus {
    border-color: #80bdff;
    box-shadow: inset 0 0 0 1px rgba(75, 73, 172, 0.08);
    position: relative;
    z-index: 4;
}
.main-search-group #main-search {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    min-width: 0;
    padding-right: 2.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.main-search-group #main-search.main-search--loading {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.12rem rgba(0, 123, 255, 0.14);
}
.main-search-loading {
    align-items: center;
    color: #4b49ac;
    display: none;
    height: 100%;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    right: 11.4rem;
    top: 0;
    width: 1.25rem;
    z-index: 5;
}
.main-search-loading--active {
    display: flex;
}
.main-search-loading .spinner-border {
    height: 1rem;
    width: 1rem;
}
.ui-autocomplete.main-search-autocomplete {
    animation: main-search-menu-in 0.16s ease-out;
    background: #f7f8fc;
    border: 1px solid rgba(31, 45, 61, 0.09);
    border-radius: 0.9rem;
    box-shadow: 0 1.25rem 3rem rgba(31, 45, 61, 0.2), 0 0.2rem 0.75rem rgba(31, 45, 61, 0.08);
    margin-top: 0.45rem;
    max-height: min(76vh, 40rem);
    min-width: min(34rem, calc(100vw - 2rem));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.5rem;
    scrollbar-color: #c9cdda transparent;
    scrollbar-width: thin;
}
.ui-autocomplete.main-search-autocomplete::before {
    color: #6f7580;
    content: attr(data-results-title);
    display: block;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.65rem 0.6rem;
    text-transform: uppercase;
}
.ui-autocomplete.main-search-autocomplete::after {
    border-top: 1px solid #e8eaf0;
    color: #858b96;
    content: attr(data-results-hint);
    display: block;
    font-size: 0.68rem;
    line-height: 1.35;
    margin: 0.45rem 0.25rem 0;
    padding: 0.65rem 0.45rem 0.2rem;
    text-align: center;
}
.main-search-autocomplete .main-search-autocomplete-item {
    margin: 0 0 0.3rem;
}
.main-search-autocomplete .ui-menu-item-wrapper {
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: 0.3rem;
    margin: 0;
    padding: 0;
    padding-left: 12px;
    padding-right: 12px;
    transition: background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}
.main-search-autocomplete .ui-menu-item-wrapper.ui-state-active {
    background: linear-gradient(105deg, #f4f4ff 0%, #eef4ff 100%);
    border: 1px solid rgba(75, 73, 172, 0.28);
    box-shadow: 0 0.35rem 0.9rem rgba(75, 73, 172, 0.12);
    color: inherit;
    margin: 0;
    transform: translateX(0.18rem);
}
.main-search-result {
    align-items: center;
    display: grid;
    gap: 0.95rem;
    grid-template-columns: 3.5rem minmax(0, 1fr) 2rem;
    min-height: 4.8rem;
    padding: 0.65rem 1.1rem;
}
.main-search-result__thumbnail {
    align-items: center;
    background: linear-gradient(145deg, #f8f9fc, #eef0f5);
    border: 1px solid #e4e7ed;
    border-radius: 0.7rem;
    color: #a7acb6;
    display: flex;
    height: 3.5rem;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 3.5rem;
}
.main-search-result__thumbnail > i {
    font-size: 1.35rem;
}
.main-search-result__thumbnail img {
    background: #fff;
    height: 100%;
    inset: 0;
    object-fit: contain;
    position: absolute;
    width: 100%;
}
.main-search-result__thumbnail--loaded > i {
    display: none;
}
.main-search-result__content {
    display: block;
    min-width: 0;
}
.main-search-result__name {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #20232a;
    display: -webkit-box;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.36;
    overflow: hidden;
}
.main-search-result__meta {
    align-items: center;
    color: #7a808a;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.7rem;
    gap: 0.35rem 0.65rem;
    margin-top: 0.45rem;
}
.main-search-result__code {
    align-items: center;
    background: #f0f1f5;
    border-radius: 999px;
    color: #555b66;
    display: inline-flex;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace;
    gap: 0.3rem;
    line-height: 1;
    max-width: 100%;
    padding: 0.3rem 0.55rem;
}
.main-search-result__code > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.main-search-result__id {
    color: #9ba0aa;
    font-weight: 600;
}
.main-search-result__description {
    color: #777d88;
    display: inline-block;
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.main-search-result__action {
    align-items: center;
    background: #f1f2f6;
    border-radius: 50%;
    color: #9ca2ad;
    display: flex;
    font-size: 1rem;
    height: 2rem;
    justify-content: center;
    transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
    width: 2rem;
}
.main-search-autocomplete .ui-state-active .main-search-result__action {
    background: #4b49ac;
    color: #fff;
    transform: rotate(4deg);
}
@keyframes main-search-menu-in {
    from {
        opacity: 0;
        transform: translateY(-0.35rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ui-autocomplete.main-search-autocomplete {
        animation: none;
    }
    .main-search-autocomplete .ui-menu-item-wrapper,
    .main-search-result__action {
        transition: none;
    }
}

@media (max-width: 1200px) {
    .main-search-group .main-search-type {
        flex-basis: 8.5rem;
        max-width: 8.5rem;
    }
    .main-search-loading {
        right: 9.4rem;
    }
}
