﻿
html * {
    /* Catch-all for elements not covered by kendo class */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Ensure app fills all available space */
html {
    height: 100vh;
}

html body {
    height: 100vh;
    margin-top:0;
    margin-bottom:0;
}

/*Force input font size to prevent iphone auto zoom*/
html input, html textarea {
    font-size: max(16px, 1em) !important;
}

/* App consists of header/content/footer within the main box. Establish fixed positioning and heights where required */
.main-box {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main-box .row.header {
    flex: 0 1 auto;
}

.main-box .main-content {
    flex: 1 1 auto;
    overflow-y:scroll;
    overflow-x:hidden;
}

.main-box .main-header {
    z-index:50;
    height:auto;
    flex-shrink: 0;
}

#allcontent {
    flex: 1 1 auto;
    overflow: auto;
}

.main-box .main-footer {
    margin-bottom:30px;
    min-height:48px;
    z-index:50;
    overflow:visible;
    flex-shrink: 0;
}

.k-dialog-wrapper {
    border: 2px solid;
}


.main-container {
    display: contents;
    position:relative;
    width:100%;
}

.k-tabstrip:not(.not-centered) ul.k-reset {
    justify-content:center;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.k-loading-panel {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 40;
}

.k-loading-panel-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}

.k-loading-panel-wrapper {
    position: relative;
    z-index: 2;
}

.k-loading-panel-text {
    margin-top: 20px;
    text-align: center;
}

/* Removed issue of selection borders on ios */
.k-tabstrip-top > div:focus {
    outline: none !important;
}

/* Removed issue with stepper line overlapping icons */
#stepper .k-step {
    z-index: 1;
}

#stepper div[data-role="progressbar"] {
    z-index: 0;
}

/* Made filter selections stand out more */
.k-menu-group[id^="filter"] {
    background-color: white !important;
}

/* Panel Bar styling for templated "table" replacements */
.transactionBriefDetail {
    display: grid;
    column-gap: 0;
    row-gap: 2px;
    width:100%;
}

.transactionBriefDetail span:not(.k-switch, .k-switch-track, .k-switch-thumb-wrap, .k-switch-label-on, .k-switch-label-off, .k-switch-thumb) {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-right: 10px;
    font-size: small;
}

.k-level-1 > span {
    padding-top: 0;
    padding-bottom: 0;
}

.k-level-1 h3 {
    margin: 0;
}

.k-level-1 .k-link {
    pointer-events: none;
    justify-content: space-evenly;
    padding: 0 !important;
    margin: 2% 0 2% 0;
}

.k-card div {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

/* Allow filter buttons to be scrollable in x without showing a scrollbar */
.filterDropdownDiv {
    white-space: nowrap;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.filterDropdownDiv::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

li.k-panelbar-item.k-panelbar-header.k-level-0.k-highlight.k-active.k-expanded {
    border: 1px solid;
    border-color: #f1ce00;
    border-radius:15px;
}

li.k-panelbar-header.k-level-0 .k-link {
    border-radius: 15px;
}

.k-switch-thumb.k-rounded-full::before {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    border: 3px ridge #F1CE00;
    border-radius: 50%;
}


.collapse-and-hide {
    height: 0;
    visibility:hidden;
}
.k-bottom-nav-item{
    padding: 0 !important;
    min-width: 1px !important;
}

.k-card-header .k-card-title {
    font-weight:bold;
}

@media (max-width: 330px) {
    .k-bottom-nav-item {
        font-size: 10px !important;
    }
}

@media (max-width: 215px) {
    .k-bottom-nav-item .k-bottom-nav-item-text {
        display:none;
    }
}

.creationWizardStep h2 {
    margin:0;
}


.k-list-item-text {
    display: inline-flex;
}

.k-table-th {
    background-color: rgba(255,255,255,0.02);
}

.k-table-td {
    padding: 0 !important;
    text-align: center !important;
    justify-content: center !important;
}

#login-card-number > span.k-svg-icon > svg {
    fill: none;
}

.create-btn {
    flex:none !important;
}


.create-btn-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .8em;
    border: 1px solid #F1CE00;
    border-radius: 50%;
    position: fixed;
    box-shadow: inset 0 0 0 2px #F1CE00;
}

.create-btn-div {
    /*background: radial-gradient(circle, inherit 20%, #F1CE00 100%);*/ /* Gradient from dark gray to black */
    background-image: radial-gradient(circle, rgba(0,0,0,0) 20%, #F1CE00 100%);
}

.delivery-input-collection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#delivery-create-dialog input {
    text-align: center;
    width: 100%;
}

#delivery-create-dialog div label {
    padding-bottom: 0.1em;
}

#delivery-create-dialog div label:not(:first-of-type) {
    padding-top: 1em;
}

#delivery-create-dialog .k-tabstrip-items .k-link {
    font-size: x-large;
    font-weight: bold;
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 500px) {
    #delivery-create-dialog .k-tabstrip-items .k-link {
        padding-left: 3px;
        padding-right: 3px;
    }
}

@media (max-width: 440px) {
    #delivery-create-dialog .k-tabstrip-items .k-link {
        font-size: large;
        padding-left: 2px;
        padding-right: 2px;
    }
}

@media (max-width: 330px) {
    #delivery-create-dialog .k-tabstrip-items .k-link {
        font-size: small;
        font-weight: normal;
        padding-left: 2px;
        padding-right: 2px;
    }
}

.k-tabstrip-item .k-link.section-invalid span.k-i-error {
    display:block !important;
}

#sideMenu li:not(:hover):not(.k-selected) {
    color:unset !important;
}
#sideMenu li:not(:hover):not(.k-selected) .k-menu-link-text {
    color: unset !important;
}

#sideMenu li:hover {
    background: rgba(128,128,128,0.4);
}

#delivery-form .k-tabstrip .k-tabstrip-content .k-form-error {
    display: none;
}


.side-menu-label {
    display: flex;
    align-items: center;
}

#summary-tile-container .k-card {
    background: rgba(255, 255, 255, .1);
}

#summary-tile-container .k-card span:nth-of-type(2n+1):not(:first-of-type) {
    padding-top:15px
}

.k-grid thead * {
    text-align: center;
    white-space: normal;
}

.k-grid th {
    vertical-align:middle !important;
}

.tpga-lg-input::placeholder {
    font-size: small;
    opacity: 75% !important;
    font-style: italic;
}

.tpga-lg-input {
    padding: 4% 0;
    width: 100%;
    box-shadow: none;
    border: 1px solid;
    border-radius: 5px;
    outline: 0;
    background-color: inherit;
    text-align: center;
    color: inherit;
}

.tpga-lg-input:focus {
    background-color: rgba(128, 128, 128, 0.1);
}

.tpga-lg-button-padding {
    max-width: 75% !important;
    width: 75%;
    padding: 3% 0;
}

.tpga-wide-bordered-div {
    box-shadow: none;
    border: 1px solid;
    border-radius: 5px;
    outline: 0;
    background-color: inherit;
    text-align: center;
    color: inherit;
    padding: 3%;
    justify-self:center;
}

.tpga-row-item {
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content: space-evenly;
    gap:5%;
    padding-top:3%;
}

.tpga-row-item > * {
    width:auto;
}

.tpga-stripped-anchor {
    text-decoration: none;
    color: inherit;
    display: block;
    font-size: small;
    text-align: center;
}

.tpga-user-information {
    display: block;
    font-size: 0.95em;
    text-align: center;
    padding: 2vh 0;
}

.tpga-privacy-information {
    display: block;
    font-size: 0.8em;
    text-align: center;
    padding: 2vh 0;
}

.tpga-validated-input {
    flex-direction: column !important;
    align-items: center !important;
}

.header-user-info {
    background-color: rgba(128, 128, 128, 0.1);
    border-radius: 5px;
    padding: 5px 0;
    margin: 5px 0;
}

.disabled-not-really {
    outline: none;
    cursor: default;
    opacity: .6;
    filter: grayscale(0.1);
    box-shadow: none;
}

.info-overlay {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background: linear-gradient(135deg, hsla(48, 100%, 4%, 0), hsla(48, 80%, 8%, 1), hsla(48, 100%, 4%, 0));
}

.info-overlay.show {
    opacity: 1;
}

.pulsing-text {
    font-weight: bold;
    color: hsla(50, 100%, 60%, 100%);
    animation: pulseGlow 3s 750ms linear infinite;
}

@keyframes pulseGlow {
    0% {
        color: hsl(50, 100%, 80%);
        text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.2), 0 0 0.125em hsla(320, 100%, 60%, 0.3), -1em -0.125em 0.5em hsla(40, 100%, 60%, 0), 1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
    }

    30% {
        color: hsl(50, 100%, 90%);
        text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5), 0 0 0.125em hsla(320, 100%, 60%, 0.5), -0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2), 0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
    }

    40% {
        color: hsl(50, 100%, 95%);
        text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5), 0 0 0.125em hsla(320, 100%, 90%, 0.5), -0.25em -0.125em 0.125em hsla(40, 100%, 60%, 0.2), 0.25em 0.125em 0.125em hsla(200, 100%, 60%, 0.4);
    }

    70% {
        color: hsl(50, 100%, 90%);
        text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5), 0 0 0.125em hsla(320, 100%, 60%, 0.5), 0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2), -0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
    }

    100% {
        color: hsl(50, 100%, 80%);
        text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.2), 0 0 0.125em hsla(320, 100%, 60%, 0.3), 1em -0.125em 0.5em hsla(40, 100%, 60%, 0), -1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
    }
}

.tpga-banded-rows > *:nth-child(2n - 1){
    background-color: rgba(128,128,128,0.1);
}

@media (hover: hover) and (pointer: fine) {
    .tpga-banded-rows > div:hover {
        filter: drop-shadow(8px 8px 10px black) invert(0.25);
    }
}

.tpga-primary-gradient {
    background: linear-gradient(to bottom, #F1CE00, #917c09) !important;
}

.k-column-menu .k-menu-link-text {
    color: inherit;
}

.k-tabstrip-content:has(.k-loading-panel) {
    min-height:150px;
}

.k-filter-menu.k-popup .k-filter-menu-container .k-actions button[type="submit"] span {
    display:none;
}

.k-filter-menu.k-popup .k-filter-menu-container .k-actions button[type="submit"]::after {
    content: 'OK';
    text-indent: 0;
    display: block !important;
    line-height: initial;
    position: relative;
    opacity: inherit;
}

.k-bottom-nav-item.k-selected {
    color: #F1CE00;
}

#userInfoDiv {
    margin: auto;
}

.k-checkbox:not(.k-invalid) {
    outline: 1px solid white;
}