﻿
@font-face {
    font-family: 'Times-Roman';
    src: url('../fonts/Times-Roman.ttf');
}

@font-face {
    font-family: 'Times-Bold';
    src: url('../fonts/Times-Bold.ttf');
}

a {
    cursor: pointer;
}

h1:focus {
    outline: none;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .loader.fix {
        transform: unset;
    }

    .loader .logo-blue.animate__animated {
        animation-iteration-count: infinite;
    }

.print-backdrop {
    display: none;
}

.print-open {
    overflow: hidden;
}

    .print-open .print-backdrop {
        display: block;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 2;
    }

        .print-open .print-backdrop .print-loader {
            height: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }


.logo-blue,
.logo-white {
    text-align: center;
}

    .logo-blue .left,
    .logo-white .left {
        font-family: "Lobster", sans-serif;
        font-weight: 400;
        font-style: normal;
        color: rgb(0, 153, 0);
    }

    .logo-blue .right,
    .logo-white .right {
        font-family: "Righteous", sans-serif;
        font-weight: 400;
        font-style: normal;
        color: rgb(31, 95, 160);
    }

    .logo-blue .reg,
    .logo-white .reg {
        font-family: "Roboto", sans-serif;
        font-weight: 300;
        font-style: normal;
        color: rgb(31, 95, 160);
        font-size: 1rem;
    }

    .logo-white .left,
    .logo-white .right,
    .logo-white .reg {
        color: #ffffff;
    }

.validation-message {
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}

#cardList ul.pagination li a.page {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(--bs-pagination-color);
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#cardList ul.pagination li:first-child a.page {
    border-top-left-radius: var(--bs-pagination-border-radius);
    border-bottom-left-radius: var(--bs-pagination-border-radius);
}

@media(max-width:767.98px) {
    .loader.fix.payment {
        transform: translate(-50%,-50%);
    }
}

@media(max-width:767.98px) {

    .btn-lg {
        padding: .375rem .75rem;
        font-size: 1rem;
        border-radius: .25rem;
    }
}


/* Dark mode styles */

@media (prefers-color-scheme: dark) {
    body, .modal-content, .dropdown-menu, .swal-modal {
        background-color: #121212 !important;
        color: #D3D3D3 !important;
        --bs-primary: rgb(31, 95, 160) !important;
        --bs-primary-rgb: 31, 95, 160;
    }

    .border-primary {
        border-color: rgb(31, 95, 160) !important;
    }

    .dropdown-header, .swal-title, .swal-text {
        color: #D3D3D3 !important;
    }

    .btn-primary, .page-item.active .page-link {
        background: var(--bs-primary);
        border-color: var(--bs-primary);
    }

    a, .btn-link {
        color: var(--bs-primary);
    }

    .login-wrapper .col-left-wrapper, .print-open .print-backdrop, .toolbar {
        background-color: #121212 !important;
    }

    .form-control, .form-select, .form-check-input {
        background-color: #242424 !important;
        color: #D3D3D3 !important;
        /* border: none !important;*/
        /*border: 1px solid #D3D3D3 !important;*/
        border: 1px solid #4D4D4D !important;
    }

    .ql-toolbar.ql-snow, .ql-container.ql-snow {
        border-color: #4D4D4D !important;
    }

    .login-wrapper {
        border: solid 3px var(--bs-primary);
    }

    .card {
        background-color: #242424 !important;
        /*border: solid 1px var(--bs-primary);*/
        color: #D3D3D3 !important;
    }

    body .card .text-content, .dropdown-item, .page-banner .btn-light, .ql-snow .ql-picker {
        color: #D3D3D3 !important;
    }

    .ql-snow .ql-stroke {
        stroke: #D3D3D3 !important;
    }

    .dropdown-item:hover {
        color: #212529 !important;
    }

    .card .card-body .material-symbols-outlined {
        color: var(--bs-primary);
    }

    .card-footer, .swal-footer {
        border-top: solid 1px #D3D3D3 !important;
        background-color: #000000 !important;
        padding: 0.5rem;
    }

    .swal-button--confirm, .swal-button--confirm:hover, .swal-button--confirm:focus {
        background-color: var(--bs-primary) !important;
    }

    .loader {
        background-color: #121212 !important;
    }

    .shadow {
        /*box-shadow: 0 .5rem 1rem rgba(255, 255, 255, 0.15) !important;*/
    }

    .table-striped > tbody > tr:nth-of-type(odd) > * {
        --bs-table-accent-bg: #242424 !important;
        color: #D3D3D3;
    }

    /*    .card .form-control, .card .form-select, .card .form-check-input {
    }*/
    .modal-backdrop {
        background: #D3D3D3;
        opacity: 0;
    }

    .form-control[readonly], .form-select[readonly] {
    }
}
