/* Portal control structure,
independent of the admin Kendo stylesheet. */
.fxyz-modal-host {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    overflow: hidden;
}

.fxyz-modal-host::backdrop {
    background: transparent;
}

.fxyz-modal-host:not([open]) {
    display: none;
}

.fxyz-modal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #000;
    opacity: .5;
    cursor: pointer;
}

.fxyz-modal-window {
    position: absolute;
    z-index: 10001;
    max-width: 100vw;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    padding: 0;
    background: transparent;
    outline: none;
    font-size: 14px;
    line-height: 1.42857143;
    text-align: left;
}

.fxyz-modal-window .k-window-content {
    position: relative;
    box-sizing: border-box;
    overflow: auto;
    outline: 0;
}

.fxyz-modal-window .k-content {
    color: white;
}

.fxyz-normal .fxyz-modal-window {
    font-size: inherit;
    line-height: normal;
}

:where(.fxyz-normal) .k-widget * {
    box-sizing: content-box;
}

.fxyz-modal-window input,
.fxyz-modal-window textarea,
.fxyz-modal-window select {
    box-sizing: border-box;
}

.fxyz-select {
    display: inline-block;
    position: relative;
    width: 12.4em;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.42857143;
    border: 0;
    text-align: left;
    box-sizing: border-box;
}

.fxyz-select::after {
    content: '';
    position: absolute;
    right: 12px;
    top: calc(50% - 2px);
    border: 4px solid transparent;
    border-top-color: currentColor;
    pointer-events: none;
}

.fxyz-select-input {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: calc(2.006em + 2px);
    padding: .177em 2em .177em .8em;
    margin: 0;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.03);
    font: inherit;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

.fxyz-select-input:focus-visible {
    border-color: #8a2be1;
    box-shadow: 0 0 0 2px #8a2be133;
}

.fxyz-select-input option {
    color: #222;
    background: white;
}

.fxyz-date-range {
    display: inline-block;
    border: 0;
    background: transparent;
    font-size: 16px;
    line-height: 1.42857143;
}

.fxyz-date-range .k-textbox-container {
    display: inline-flex;
    position: relative;
    flex-direction: column;
    padding-top: 1.2375em;
    width: 12.4em;
    max-width: 100%;
}

.fxyz-date-range .k-textbox-container label {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    font-size: 12px;
    line-height: 19.8px;
    color: #999;
}

.fxyz-date-range input.k-textbox {
    width: 100%;
    height: 2.13em;
    padding: .177em .8em;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    background: white;
    font: inherit;
    box-sizing: border-box;
}

.fxyz-date-range input:focus {
    outline: 0;
    border-color: #8a2be1;
}

.fxyz-calendar {
    font: 14px Arial, sans-serif;
    border-radius: 4px;
    color: #333;
    background: white;
    box-shadow: 0 6px 12px #0003;
}

.fxyz-calendar .flatpickr-day {
    border-radius: 4px;
}

.fxyz-calendar .flatpickr-day.selected,
.fxyz-calendar .flatpickr-day.startRange,
.fxyz-calendar .flatpickr-day.endRange {
    background: #7921d5;
    border-color: #7921d5;
    color: white;
}

.fxyz-calendar .flatpickr-day.inRange {
    background: #eee3fa;
    border-color: #eee3fa;
    box-shadow: -5px 0 0 #eee3fa,5px 0 0 #eee3fa;
}

.fxyz-calendar .flatpickr-months .flatpickr-month,
.fxyz-calendar .flatpickr-current-month input.cur-year {
    color: #333;
    font-size: 14px;
}

.fxyz-tooltip {
    position: fixed;
    z-index: 10020;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-align: center;
    font-size: 14px;
    line-height: 1.42857143;
    box-shadow: 0 3px 8px #0004;
}

/* Preserve old form markup until those forms are independently redesigned. */
:where(#fxyz-portal,.fxyz-modal-host) input.k-checkbox {
    display: inline;
    appearance: none;
    opacity: 0;
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

:where(#fxyz-portal,.fxyz-modal-host) .k-checkbox-label {
    display: inline-block;
    position: relative;
    padding-left: 25.2px;
    vertical-align: top;
    line-height: 16px;
    cursor: pointer;
}

:where(#fxyz-portal,.fxyz-modal-host) .k-checkbox-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: white;
}

:where(#fxyz-portal,.fxyz-modal-host) .k-checkbox:checked + .k-checkbox-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fxyz-modal-host #windowAffiliate .k-checkbox:checked + .k-checkbox-label::after {
    left: 8px;
    top: 4px;
    width: 7px;
    height: 12px;
    color: white;
}

:where(#fxyz-portal,.fxyz-modal-host) .k-checkbox:focus-visible + .k-checkbox-label::before {
    outline: 2px solid #8a2be1;
    outline-offset: 2px;
}

:where(#fxyz-portal,.fxyz-modal-host) .k-button {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    color: #333;
    font: inherit;
    line-height: 1.42857143;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .fxyz-modal-window .k-content {
        animation: none !important;
    }

}


