﻿
body {
    font-family: Tahoma, Verdana, Geneva, Tahoma, sans-serif;
    /*font-family: 'Tahoma', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    /*font-size: 90%;*/
}




.right {
    direction: rtl;
    text-align: right;
    /* display: flex;*/
    /*justify-content: flex-end;*/
}



.left {
    direction: ltr;
    text-align: left;
}

.center-left {
    direction: ltr;
    text-align:center;
}

.center-right {
    direction: rtl;
    text-align: center;
}

/*.center {
    text-align: center;
}*/
.text-end {
    text-align: right;
}



.rightLayout {
    direction: rtl;
    text-align: right;
    /*transition: 4.8s;*/
    /*font-family:Tahoma;*/
    font-family: 'Tahoma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


.leftLayout {
    direction: ltr;
    text-align: left;
    /*transition: 0.8s;*/
}


.parallax {
    /* The image used */
    background-image: url("../img/02.jpg");
    /*background: url(../img/02.jpg);*/
    width: 100%;
    /* Full height */
    /*height: 100%;*/
    height: 260px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*=================*/
.nav-item {
    font-size: 0.9rem;
    /*padding-left:0px;*/
    /*padding-right:0px;*/
    /*padding-bottom: 0.5rem;*/
}

    .nav-item a.active::before {
        content: "|";
        /*margin-right: 1em;*/
        /*margin-left: 1em;*/
        background-color: orange;
        color: orange;
        /*background-color: whitesmoke;*/
        /*color: whitesmoke;*/
    }

.admin-nav-item {
    font-size: 0.9rem;
    /*padding-left:0px;*/
    /*padding-right:0px;*/
    /*padding-bottom: 0.5rem;*/
}

    .admin-nav-item a.active::before {
        content: "|";
        /*margin-right: 1em;*/
        /*margin-left: 1em;*/
        background-color: #90EE90;
        color: #90EE90;
        /*background-color: whitesmoke;*/
        /*color: whitesmoke;*/
    }



.nav-link {
    padding: 4px;
}
/*=================*/

/* Container */
.quickgrid-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: none;
    box-shadow: none;
    outline: none;
    overflow-x: auto;
}

/* QuickGrid table */
.quickgrid {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-family: system-ui, sans-serif;
    /*border: none;*/ /* no borders */
}

    /* Header */
    .quickgrid thead {
        background: #f8fafc;
    }

    .quickgrid th {
        padding: 14px 16px;
        text-align: left;
        font-weight: 600;
        color: #334155;
        border-bottom: 2px solid #e2e8f0;
        white-space: nowrap;
        /*border: none;*/ /* no borders */
    }

    /* Rows */
    .quickgrid td {
        padding: 12px 16px;
        border-bottom: 1px solid #f1f5f9;
        /*color: #475569;*/
        color: black;
        border: none;
    }

    .quickgrid tbody tr {
        transition: background-color 0.15s ease;
    }

        .quickgrid tbody tr:hover {
            background-color: #f8fafc;
        }

        /* Alternate rows */
        .quickgrid tbody tr:nth-child(even) {
            /*background-color: #fcfcfd;*/
            /*background-color: #E0F3FF;*/
            background-color: rgba(224, 243, 255, 0.5)
        }

    /* Sortable columns */
    .quickgrid th button {
        border: none;
        background: none;
        font: inherit;
        color: inherit;
        cursor: pointer;
        padding: 0;
        /*border: none;*/
    }

        .quickgrid th button:hover {
            color: #2563eb;
        }

/* Empty state */
.quickgrid-empty {
    padding: 2rem;
    text-align: center;
    color: #64748b;
}

/* Mobile */
@media (max-width: 768px) {
    .quickgrid th,
    .quickgrid td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/*
.quickgrid-wrapper {
    background: #0f172a;
    border-color: #334155;
}

.quickgrid thead {
    background: #1e293b;
}

.quickgrid th {
    color: #f1f5f9;
    border-bottom-color: #334155;
}

.quickgrid td {
    color: #cbd5e1;
    border-bottom-color: #1e293b;
}

.quickgrid tbody tr:hover {
    background: #1e293b;
}

.quickgrid tbody tr:nth-child(even) {
    background: #111827;
}
*/

.paginator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
    /*
    .paginator button {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 2px solid #0d6efd;
        background: white;
        color: #0d6efd;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .paginator button:hover:not(:disabled) {
            background: #0d6efd;
            color: white;
           
            transform: scale(1.1);
        }

        .paginator button:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

    .paginator .current-page {
        background: #0d6efd;
        color: white;
    }
*/

    quickgrid-pagination button,
    .paginator button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #0d6efd;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        transition: .3s;
    }

.quickgrid-pagination button:hover:not(:disabled) {
    transform: scale(1.1);
}



/*    =======================================*/

.myTable {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

    /*.myTable th,
    .myTable td {
        padding: 10px 12px;
        border: 1px solid #ddd;
    }*/

    .myTable th,
    .myTable td {
        padding: 3px 6px;
        font-size: 0.9rem;
    }

    .myTable th {
        background-color: #2c3e50;
        color: white;
        font-weight: 600;
    }

    /* Alternating row colors */
    .myTable tbody tr:nth-child(odd) {
        /*background-color: #f8f9fa;*/
        background-color: white;
    }

    .myTable tbody tr:nth-child(even) {
        /*background-color: #e9ecef;*/
        background-color: rgba(224, 243, 255, 0.5)
    }

    /* Hover effect */
    .myTable tbody tr:hover {
        background-color: #d6eaf8;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    /* Optional: sticky header */
    .myTable thead th {
        position: sticky;
        top: 0;
        z-index: 1;
    }

/*    =======================================*/


/* ======================================== */
.myBtn-danger {
    background: #ffffff;
    border: 1px solid #ff4500;
    border-radius: 4px;
    color: #ff4500;
    width: 100px;
}

    .myBtn-danger:hover {
        border: 1px solid #ffffff;
        border-radius: 4px;
        background: #ff4500;
        color: #ffffff;
        width: 100px;
    }


.myBtnDanger {
    border: 1px solid #ffffff;
    border-radius: 4px;
    background: #ff4500;
    color: #ffffff;
    width: 140px;
}

    .myBtnDanger:hover {
        background: #ffffff;
        border: 1px solid #ff4500;
        border-radius: 4px;
        color: #ff4500;
        width: 140px;
    }


.myBtnOrange {
    /*DodgerBlue*/
    border: 1px solid #ffffff;
    border-radius: 4px;
    background: #ff4500;
    color: #ffffff;
    width: 140px;
}

    .myBtnOrange:hover {
        border: 1px solid #ff4500;
        background: WhiteSmoke;
        color: #ff4500;
    }


/*https://www.figma.com/colors/light-blue/*/
.myBtnBlue {
    /*DodgerBlue*/
    border: 1px solid #ffffff;
    border-radius: 4px;
    background: DodgerBlue;
    color: #ffffff;
    width: 140px;
    
}

    .myBtnBlue:hover {
        border: 1px solid DodgerBlue;
        /*background: WhiteSmoke;*/
        background: rgba(144,213,255,0.2);
        color: DodgerBlue;
        /*color: Blue;*/
    }
/*
    .myBtnBlue:focus {
        outline: none;
        box-shadow: none;
    }
*/
.myBtnHref {
    /*DodgerBlue*/
    border: 1px solid DodgerBlue;
    border-radius: 4px;
    /*background: DodgerBlue;*/
    /*color: blue;*/
    color: DodgerBlue;
    width: 140px;
}

    .myBtnHref:hover {
        border: 1px solid DodgerBlue;
        background: WhiteSmoke;
        /*background: rgba(144,213,255,0.2);*/
        /*color: DodgerBlue;*/
        color: Blue;
    }

.myBtnHrefSmall {
    /*DodgerBlue*/
    border: 1px solid DodgerBlue;
    /*border: 1px solid lightslategrey;*/
    border-radius: 4px;
    /*background: DodgerBlue;*/
    /*color: blue;*/
    color: DodgerBlue;
    width: 120px;
   /* font-size: .8rem;*/
}

    .myBtnHrefSmall:hover {
        border: 1px solid DodgerBlue;
        background: WhiteSmoke;
        /*background: rgba(144,213,255,0.2);*/
        /*color: DodgerBlue;*/
        color: lightslategrey;
       /* font-size: .84rem;*/
    }
.myBtnRadzen {
    border: 1px solid #ffffff;
    border-radius: 4px;
    background: rgb(255, 45, 0);
    color: #ffffff;
    width: 110px;
    height: 36px;
    padding: 0px 4px 4px 4px
}

    .myBtnRadzen:hover {
        background: #ffffff;
        border: 1px solid #ff4500;
        border-radius: 4px;
        color: #ff4500;
        width: 110px;
        height: 36px;
        padding: 0px 4px 4px 4px
    }

/* ======================================== */

/* ========== MyTop-row =========================*/
.MyTop-row {
    margin: 0 auto;
    display: block;
    align-content: center;
    background-color: rgba(20,25,53, .8);
    border-bottom: 2px solid orange;
    justify-content: flex-end;
    height: 3.5rem;
    /*background-color: rgba(0,0,0,0.4);*/
}

    .MyTop-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        color: white;
    }

/* ========== MyTop-row  end =========================*/

/* ========== top-row =========================*/

.main .top-row {
    background-color: rgba(20,25,53, .8);
    border-bottom: 2px solid orange;
    justify-content: flex-end;
}

    .main .top-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        color: white;
    }



/* ========== top-row =========================*/

.orangeBottomBorder {
    border-bottom: 2px solid orange;
    /*border-bottom: 2px solid blue;*/
    /*border-bottom: 2px solid rgba(248, 148, 6, .8);*/
    /*border-left: 2px solid orange;*/
}


div.MyLine {
    background-color: orange;
    width: 200px;
    height: 2px;
    border: 0;
}

div.MyLine1 {
    background-color: orange;
    width: 100px;
    height: 2px;
    border: 0;
}

div.MyLine3 {
    background-color: orange;
    width: 300px;
    height: 2px;
    border: 0;
}

div.MyLine4 {
    background-color: orange;
    width: 400px;
    height: 2px;
    border: 0;
}

.red {
    /*background-color: orangered;
    color:orangered;*/
    background-color: orange;
    color: orange;
    /*font-size:smaller;*/
    /*width: 200px;*/
    /*max-width: 1px;*/
}

/*
    =======================
*/

.animated-table tbody tr {
    opacity: 0;
    transform: translateY(15px);
    animation: rowFadeIn .45s ease forwards;
}

@keyframes rowFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}