.offline-app footer {
    padding-bottom: 30px;
    background-color: #f9fafb;
}

.align-top {
    vertical-align: top !important;
}

.progressing:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4,end) 900ms infinite;
    animation: ellipsis steps(4,end) 900ms infinite;
    content: "\2026";
    width: 0px;
}

.progressing.stop:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: none;
    animation: none;
    content: "\2026";
    width: 0px;
}

@keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

.offline-app .navbar .navbar-nav.actions .icon-settings,
.offline-app .navbar .navbar-nav.actions .icon-feedback {
    display: none;
    width: 25px;
    cursor: pointer;
}

.offline-app .navbar .navbar-nav.actions .icon-feedback {
    margin-inline-end: 15px;
}

.offline-app .alert {
    margin-bottom: 0px;
    border-radius: 0px;
    line-height: 2;
    padding-right: 30px;
}

.offline-app #install-notification-android {
    margin-bottom: 0px;
    border-radius: 0px;
    line-height: 2;
    padding-right: 20px;
}

.offline-app #install-notification-ios {
    margin-bottom: 0px;
    border-radius: 0px;
    padding-right: 20px;
}

    .offline-app #install-notification-ios img {
        vertical-align: top;
        filter: invert(1);
    }


@media (max-width: 768px) {
    .offline-app .navbar .custom-logo {
        max-width: 275px;
    }
}

@media all and (display-mode: standalone) {
    .offline-app {
        overscroll-behavior-y: contain;
    }

        .offline-app .navbar .navbar-nav.actions .icon-settings,
        .offline-app .navbar .navbar-nav.actions .icon-feedback {
            display: block;
        }

        .offline-app #install-notification-android {
            display: none !important;
        }

        .offline-app #install-notification-ios {
            display: none !important;
        }
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
}

@supports not (-webkit-touch-callout: none) {
    /* CSS for other than iOS devices */
}

button {
    cursor: pointer;
}

.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 1.3rem;
    min-height: 200px;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0px;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.overlay-block {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    z-index: 9;
}

.progressBar {
    position: relative;
    height: 40px;
    border: 3px solid #198754;
    border-radius: 5px;
    overflow: hidden;
}

    .progressBar div {
        position: relative;
        height: 100%;
        background-color: #198754;
    }

    .progressBar .progressText {
        position: absolute;
        top: 6px;
        background-color: transparent;
    }

#toast-container.toast-bottom-center > div, #toast-container.toast-top-center > div {
    width: 100% !important;
    opacity: 1;
    border-radius: 0;
    margin-top: 0px;
}

#toast-container .toast-close-button {
    right: 5px !important;
    top: 1px !important;
}

/* Place toast close button on the left for RTL languages (e.g., Arabic) */
html[dir=rtl] #toast-container .toast-close-button {
    left: 5px !important;
    right: auto !important;
}

html[dir=rtl] #toast-wait-container .toast-close-button {
    left: 5px !important;
    right: auto !important;
}

form.feedbackform {
    max-height: 300px;
    overflow-y: auto;
}

    form.feedbackform .form-check {
        margin-left: 15px;
    }

    form.feedbackform::-webkit-scrollbar {
        width: 2px;
    }

    form.feedbackform::-webkit-scrollbar-track {
        box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    }

    form.feedbackform::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 2px solid slategrey;
    }

html[dir=ltr] .select2-container--cabi-classic .select2-search--inline .select2-search__field {
    direction: ltr !important;
    padding-right: 0px !important;
    padding-left: 10px !important;
}

html[dir=ltr] .select2-container--cabi-classic .select2-results__option {
    direction: ltr;
    text-align: left;
}

html[dir=ltr] .ms-2 {
    margin-left: .5rem !important;
}

html[dir=ltr] .me-2 {
    margin-right: .5rem !important;
}

html[dir=rtl] .select2-container--cabi-classic .select2-search--inline .select2-search__field {
    direction: rtl !important;
    padding-right: 10px !important;
    padding-left: 0px;
}

html[dir=rtl] .select2-container--cabi-classic .select2-results__option {
    direction: rtl;
    text-align: right;
}

html[dir=rtl] .ms-2 {
    margin-right: .5rem !important;
}

html[dir=rtl] .me-2 {
    margin-left: .5rem !important;
}

html[dir=rtl] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

#toast-wait-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none
}

    #toast-wait-container * {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box
    }

    #toast-wait-container > div {
        position: relative;
        pointer-events: auto;
        overflow: hidden;
        margin: 0 0 6px;
        padding: 15px 15px 15px 50px;
        width: 300px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        background-position: 15px center;
        background-repeat: no-repeat;
        -moz-box-shadow: 0 0 12px #999;
        -webkit-box-shadow: 0 0 12px #999;
        box-shadow: 0 0 12px #999;
        color: #FFF;
        opacity: .8;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
        filter: alpha(opacity=80)
    }

        #toast-wait-container > div.rtl {
            direction: rtl;
            padding: 15px 50px 15px 15px;
            background-position: right 15px center
        }

        #toast-wait-container > div:hover {
            -moz-box-shadow: 0 0 12px #000;
            -webkit-box-shadow: 0 0 12px #000;
            box-shadow: 0 0 12px #000;
            opacity: 1;
            -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
            filter: alpha(opacity=100);
            cursor: pointer
        }

    #toast-wait-container > .toast-info { background-color: #2F96B4; }
    #toast-wait-container > .toast-error { background-color: #BD362F; }
    #toast-wait-container > .toast-success { background-color: #51A351; }
    #toast-wait-container > .toast-warning { background-color: #F89406; }

    #toast-wait-container.toast-bottom-center > div, #toast-wait-container.toast-top-center > div {
        width: 300px;
        margin-left: auto;
        margin-right: auto
    }

    #toast-wait-container.toast-bottom-full-width > div, #toast-wait-container.toast-top-full-width > div {
        width: 96%;
        margin-left: auto;
        margin-right: auto
    }

#toast-wait-container.toast-bottom-center > div, #toast-wait-container.toast-top-center > div {
    width: 100% !important;
    opacity: 1;
    border-radius: 0;
    margin-top: 0px;
}

#toast-wait-container .toast-close-button {
    right: 5px !important;
    top: 1px !important;
}

.center-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999998;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-popup {
    width: min(90vw, 480px);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    color: #fff;
    position: relative;
    padding: 20px 44px 20px 20px;
}

.center-popup.info { background-color: #2F96B4; }
.center-popup.success { background-color: #51A351; }
.center-popup.error { background-color: #BD362F; }
.center-popup.warning { background-color: #F89406; }

.center-popup-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.d-none { display: none !important; }
#toast-wait-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none
}

    #toast-wait-container * {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box
    }

    #toast-wait-container > div {
        position: relative;
        pointer-events: auto;
        overflow: hidden;
        margin: 0 0 6px;
        padding: 15px 15px 15px 50px;
        width: 300px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        background-position: 15px center;
        background-repeat: no-repeat;
        -moz-box-shadow: 0 0 12px #999;
        -webkit-box-shadow: 0 0 12px #999;
        box-shadow: 0 0 12px #999;
        color: #FFF;
        opacity: .8;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
        filter: alpha(opacity=80)
    }

        #toast-wait-container > div.rtl {
            direction: rtl;
            padding: 15px 50px 15px 15px;
            background-position: right 15px center
        }

        #toast-wait-container > div:hover {
            -moz-box-shadow: 0 0 12px #000;
            -webkit-box-shadow: 0 0 12px #000;
            box-shadow: 0 0 12px #000;
            opacity: 1;
            -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
            filter: alpha(opacity=100);
            cursor: pointer
        }

    #toast-wait-container > .toast-info {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important
    }

    #toast-wait-container > .toast-error {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=) !important
    }

    #toast-wait-container > .toast-success {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important
    }

    #toast-wait-container > .toast-warning {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important
    }

    #toast-wait-container.toast-bottom-center > div, #toast-wait-container.toast-top-center > div {
        width: 300px;
        margin-left: auto;
        margin-right: auto
    }

    #toast-wait-container.toast-bottom-full-width > div, #toast-wait-container.toast-top-full-width > div {
        width: 96%;
        margin-left: auto;
        margin-right: auto
    }

#toast-wait-container.toast-bottom-center > div, #toast-wait-container.toast-top-center > div {
    width: 100% !important;
    opacity: 1;
    border-radius: 0;
    margin-top: 0px;
}

#toast-wait-container .toast-close-button {
    right: 5px !important;
    top: 1px !important;
}

.loader {
    display: inline-block;
    margin-left: 5px;
    width: 20px;
    aspect-ratio: 4;
    background: radial-gradient(circle closest-side,#000 90%,#0000) 0/calc(100%/3) 100% space;
    clip-path: inset(0 100% 0 0);
    animation: l1 1s steps(4) infinite;
}

@keyframes l1 {
    to {
        clip-path: inset(0 -34% 0 0)
    }
}

