@import 'blazor.css';
@import 'snkcustom.css';
@import 'print.css';

a {
    color: inherit;
    text-decoration: none;
}

.modal-fw {
    --bs-modal-width: 100vw;
}

.valign-middle {
    vertical-align: middle;
}

fadein, [fadein] {
    opacity: 1;
    animation: animfadein 0.4s ease-in-out;
    animation-iteration-count: 1
}

@keyframes animfadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.invalid-feedback {
    display: block;
    background: #ffffff;
    z-index: 99;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    background-color: inherit !important;
}


input[type=file] {
    border: 1px solid transparent !important;
    font-size: 0;
    width: 100px;
}

    input[type=file]::file-selector-button {
        font-size: var(--bs-body-font-size);
        border: 1px solid transparent !important;
    }


.validation-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-bottom: 0px;
    max-height: 200px;
    overflow-y: auto;
}

    .validation-toast li.validation-message {
        padding: 2px 0px;
    }


/*.table > :not(caption) > * > * {
    background-color: ;
    color: inherit;
}*/

.table-bordered th, .table-bordered td {
    border-width: 1px;
    border-color: #f3f3f3;
    font-weight: normal;
}

.table-bordered th {
    font-weight: 500;
}

.snk-grid thead .filter-container .filter-icon {
    color: rgba(0,0,0,.5);
    visibility: hidden;
}

.snk-grid thead th:hover .filter-icon {
    visibility: visible;
}

.snk-grid thead .has-filter .filter-icon {
    color: var(--bs-danger);
    visibility: visible;
}


.snk-grid .filter-icon::after {
    display: none;
}

.snk-grid .filter-container .dropdown-menu {
    width: 200px;
}

.stackedmodal {
    z-index: 0 !important;
}

.modal-fullscreen {
    width: calc(100% - var(--bs-modal-margin) * 2);
    height: calc(100% - var(--bs-modal-margin) * 2);
    margin: var(--bs-modal-margin);
}

    .modal-fullscreen .modal-content {
        border-radius: var(--bs-modal-border-radius);
    }

.blink {
    text-decoration: blink;
    animation-name: blinker;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

@keyframes blinker {
    25% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 1;
    }
}


.paging-container .btn-outline-primary {
    --bs-btn-color: var(--app-color);
    --bs-btn-border-color: var(--app-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--app-color);
    --bs-btn-hover-border-color: var(--app-color);
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--app-color);
    --bs-btn-active-border-color: var(--app-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--app-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--app-color);
    --bs-gradient: none;
}

/*.paging-container .page-link, .page-link {
    z-index: 3;
    color: var(--app-color);
    background-color: var(--app-color);
    border-color: var(--app-color);
}*/


/*/// ripple */

.wrap-ripple {
    position: relative;
    overflow: hidden;
    transition: background 400ms;
    cursor: pointer;
    display: inline-flex;
}

span.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 600ms linear;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 99;
    left: 0;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
