﻿.input-group-right {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.badge-item-small {
    font-size: 90% !important;
}

.badge-list {
    display: flex;
    align-items: center;
}

.badge-list.flex-wrap-wrap {
    flex-wrap: wrap;
}

.badge-list.flex-wrap-nowrap {
    flex-wrap: nowrap;
}

.badge-list-chip {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px;
    border: 1px solid #888;
    border-radius: 5px;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
}

/********************************* Telerik MultiColumnComboBox overrides ****************************************/
.k-multicolumncombobox .k-list .badge-list,
.k-multicolumncombobox .k-table td .badge-list,
.k-multicolumncombobox .k-list .alias-chip-list,
.k-multicolumncombobox .k-table td .alias-chip-list {
    white-space: normal !important;
}

/********************************* Open Order Carousel ****************************************/
.no-border-carousel .k-scrollview,
.no-border-carousel .k-scrollview-wrap,
.no-border-carousel .k-carousel {
    border: none !important;
    box-shadow: none !important;
}

.custom-carousel-container {
    margin-left: 20px;
    margin-right: 20px;
    touch-action: pan-y;
}

@media (max-width: 768px) {
    .custom-carousel-container {
        touch-action: pan-y;
    }
}

.carousel-content {
    max-height: 100%;
    padding-right: 8px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.k-carousel .k-carousel-nav-button::before,
.k-carousel .k-carousel-nav-button .k-svg-icon {
    color: black !important;
    fill: black !important;
}

.fixed-size {
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    height: auto;
    min-height: 320px;
    padding: 0 8px;
}

.infoSelectedOpenOrder {
    border: #c0c3c4 1px solid;
    width: 100%;
    font-size: 0.8rem;
    line-height: 1.2;
}

.infoSelectedOpenOrder td {
    padding: 2px 6px;
}

.infoSelectedOpenOrder td:nth-child(2) {
    padding-left: 10px;
}

.infoSelectedOpenOrder td:first-child {
    background: rgb(222, 226, 230);
    border-right: 1px solid #dee2e6 !important;
    border-bottom: 1px solid #dee2e6 !important;
    font-weight: 600;
}

.infoSelectedOpenOrder tr {
    border-bottom-width: 0;
}

/********************************* Telerik switch ****************************************/

.alias-multi-select .k-input-inner {
    height: 34.6px !important;
}

.k-switch-md.k-switch-off .k-switch-thumb-wrap{
    inset-inline-start: 14px !important;
}

.k-switch.k-switch-on .k-switch-thumb-wrap .k-switch-thumb{
    margin-left: 0 !important;
}

.content-v-align-center {
    display: flex;
    align-items: center;
}

/********************************* Mobile optimize ****************************************/
.progress.progress-mobile {
    width: 60% !important;
    min-width: 120px;
}

.popover-mobile .k-popover-callout.k-callout-n,
.popover-mobile .k-popover-callout.k-callout-s {
    left: calc(100% / 3);
}

.k-animation-container:has(.popover-mobile.k-popover) {
    width: 100vw !important;
    left: 0 !important;
}

.k-animation-container:has(.popover-mobile.k-popover) .popover-mobile.k-popover {
    width: 80vw;
    margin: 0 calc((100vw - 80vw) / 2);
}

.pl-0 {
    padding-left: 0;
}
/********************************* Custom TAX Form ***************************************/
.tax-number {
    height: 34.25px;
}

/* Direct child buttons only */
.background-none-inner > button,
.background-none-inner > .k-button {
    background: none !important;
}

.border-inherit {
    border-color: inherit !important;
}

/********************************* Migration Wizard ***************************************/

.choice-selected {
    border-color: #00abd9 !important;
}