﻿.Vlist {
    overflow-y: scroll;
    height: 100%;
    /*border: 1px solid #ccc;*/
    scrollbar-width: none;
}

.row {
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}





.roundbord {
    margin-right: 5px;
    border: 1px solid #dfe5ec;
    border-radius: 12px 12px 0px 0px;
}

.roundbordinner {
    margin-right: 5px;
    border-bottom: 1px solid #dfe5ec;
    border-left: 1px solid #dfe5ec;
    border-right: 1px solid #dfe5ec;
    border-radius: 0px 0px 12px 12px;
}
/* gotta sort out the preview pane first */


.wrap {
    max-width: 960px;
    margin: 2em auto;
}

/* ==== Table of DIVs with CSS Grid ==== VITAL CSS ==== */
.table-wrap { /* the table wrapper */
    margin: 2em auto;
    max-width: 960px;
    background-color: #fff;
    font-size: .9em;
}

.table-grid { /* the table */
    display: grid;
    grid-template-rows: auto;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: auto;
    font-family: 'Yantramanav', sans-serif;
    border-bottom: 2px solid #281B67;
}

    .table-grid.fixed-header {
        max-height: 300px;
        /* ^ max-height is only req'd for sticky/fixed header row */
    }

.table-row { /* all table rows */
    display: flex;
    border-bottom: 1px solid #dfe5ec;
    grid-template-columns: repeat(5, minmax(90px, auto));
    background-color: #fff;
}

.table-rowtable {
    display: table;
    border-bottom: 1px solid #dfe5ec;
    grid-template-columns: repeat(5, minmax(90px, auto));
    background-color: #fff;
}

.table-row:nth-of-type(2n),
.table-row:nth-of-type(2n) .fixed-col { /* styles the alternating rows */
    background-color: #f8fafb;
}

.table-row > div { /* the individual cells */
    padding: .5em;
    align-self: center;
    text-align: center;
}

.table-header { /* the header row */
    font-weight: bold;
    border-radius: 12px 12px 0px 0px;
    background-color: #F8FAFB;
    color: black;
    padding: 0;
}

.fixed-col { /* the fixed cells */
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 4;
    background-color: #fff;
    padding: 1.2em !important;
    border-right: 2px solid #281B67;
    text-align: left !important;
    box-shadow: 6px 0 4px -2px #6560A366;
}

.table-header .fixed-col {
    background-color: #281B67;
}

.fixed-header .table-header { /* 	makes the header row fixed/sticky */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
}

/* responsive changes ================================= */
@media screen and (min-width: 962px) {
    .table-grid {
        border-left: 2px solid #281B67;
        border-right: 2px solid #6560A3;
        border-top: 0;
        border-radius: .4em;
        transition: all .3s ease-in-out;
    }

    .fixed-col {
        box-shadow: none;
    }
}

@media screen and (min-width: 1080px) {
    .table-grid {
        font-size: 1.2rem;
        margin: 2em auto;
    }
}

/* styling ================================= */
a {
    color: #281B67;
}

    a:hover, a:focus {
        color: #6C63FF;
    }

    a:focus {
        /*   background: red; */
    }
/* testing links*/
.fa-check {
    color: #07F;
}

.fa-times {
    color: #FF4A4A;
}

.new {
    color: #BF7600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: .65em;
    font-style: normal;
    letter-spacing: .15em;
    font-weight: bold;
}

    .new::before {
        content: 'new';
    }







.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: auto;
    border-collapse: collapse;
    white-space: nowrap; /* Prevent line breaks within cells */
}

thead {
    position: sticky;
    top: 0;
    border-collapse: separate;
    border-bottom: 2px solid black;
    background-color: #F8FAFB;
}

th, td {
    border: 1px 0px 1px 0px solid #dfe5ec;
    padding: 8px;
    text-align: left;
}

.striptable {
    background-color: #fff;
}

    .striptable:nth-of-type(2n),
    .striptable:nth-of-type(2n) .fixed-col { /* styles the alternating rows */
        background-color: #f8fafb;
    }
