/* tables */
.font-grey {
 color: #808080;
}
table.tablesorter {
	font-family:Arial, Verdana, Helvetica, Sans-serif;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;	border-collapse:collapse;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	border: 1px solid #AFAFAF;
	border-collapse:collapse;
	font-size: 8pt;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background-image: url(images/bg.gif);
	background-repeat: no-repeat;
	background-position: center left;
	cursor: pointer;
}
table.tablesorter thead tr .headerNoSort {
        background-image: none;
        background-repeat: no-repeat;
        background-position: center left;
        cursor: pointer;
}
table.tablesorter tbody td, table.tablesorter thead tr .static  {
	color: #3D3D3D;
	padding: 4px;
		border: 1px solid #AFAFAF;
	border-collapse:collapse;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr:nth-child(odd) td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
/*	background-image: url(images/asc.gif);*/
}
table.tablesorter thead tr .headerSortDown {
/*	background-image: url(images/desc.gif);*/
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}


table.tablesorter1 {
        font-family:Arial, Verdana, Helvetica, Sans-serif;
        background-color: #CDCDCD;
        margin:10px 0pt 15px;
        font-size: 8pt;
        width: 100%;
        text-align: left;
        border-collapse:collapse;
        border: 1px solid #AFAFAF;
}
table.tablesorter1 thead tr th, table.tablesorter1 tfoot tr th {
        background-color: #e6EEEE;
        border: 1px solid #AFAFAF;
        border-top: 0px solid #AFAFAF;
        border-bottom: 0px solid #AFAFAF;
        border-collapse:collapse;
        font-size: 8pt;
        padding-right: 4px;
        padding-left: 4px;
        padding-top: 1px;
        padding-bottom: 0px;
}
table.tablesorter1 thead tr .header {
        background-image: url(images/bg.gif);
        background-repeat: no-repeat;
        background-position: center left;
        cursor: pointer;
}
table.tablesorter1 tbody td {
        color: #3D3D3D;
        border: 0px solid #FFFFFF; /* #AFAFAF; */
        border-collapse:collapse;
        /*background-color: #FFF;*/
        vertical-align: top;
        padding-right: 4px;
        padding-left: 4px;
        padding-top: 1px;
        padding-bottom: 0px;
}
/*
table.tablesorter1 tbody tr:nth-child(odd) td {
        background-color:#F0F0F6;
}
*/
table.tablesorter1 tbody tr {
        background-color:#FFFFFF;
}
table.tablesorter1 thead tr .headerSortUp {
        background-image: url(images/asc.gif);
}
table.tablesorter1 thead tr .headerSortDown {
        background-image: url(images/desc.gif);
}
table.tablesorter1 thead tr .headerSortDown, table.tablesorter1 thead tr .headerSortUp {
        background-color: #8dbdd8;
}
table.tablesorter1  tbody tr:hover {
        border-top: 1px solid #AFAFAF ;
        border-bottom: 1px solid #AFAFAF ;
}
table.tablesorter1 thead tr .headerNoSort {
        background-image: none ;
        background-repeat: no-repeat;
        background-position: center left;
        background-color: #e6EEEE;
        text-align: center;
        font-size: 8pt;
}

table.tablesorter2 {
        font-family:Arial, Verdana, Helvetica, Sans-serif;
        background-color: #CDCDCD;
        margin:10px 0pt 15px;
        font-size: 8pt;
        width: 100%;
        text-align: left;       border-collapse:collapse;
}
table.tablesorter2 thead tr th, table.tablesorter tfoot tr th {
        background-color: #F8F8F8;
        border: 1px solid #EEEEEE;
        border-collapse:collapse;
        font-size: 8pt;
        padding: 4px;
}
table.tablesorter2 thead tr .header {
        background-image: url(bg.gif);
        background-repeat: no-repeat;
        background-position: center left;
        cursor: pointer;
}
table.tablesorter2 thead tr .headerNoSort {
        background-image: none;
        background-repeat: no-repeat;
        background-position: center left;
        cursor: pointer;
}
table.tablesorter2 tbody td {
        color:  #3D3D3D; 
        padding: 4px;
                border: 1px solid #EEEEEE;
        border-collapse:collapse;
        background-color: #FFF;
        vertical-align: top;
}
table.tablesorter2 tbody tr:nth-child(odd) td {
        /*background-color:#F0F0F6;*/
}
table.tablesorter2 thead tr .headerSortUp {
        background-image: url(images/asc.gif);
}
table.tablesorter2 thead tr .headerSortDown {
        background-image: url(images/desc.gif);
}
table.tablesorter2 thead tr .headerSortDown, table.tablesorter2 thead tr .headerSortUp {
background-color: #8dbdd8;
}

/* ========================================================
   OVERRIDE MISSING GIF IMAGES WITH CSS UNICODE ARROWS
   ======================================================== */

/* Remove the broken background images and set up positioning */
table.tablesorter thead tr .header,
table.tablesorter1 thead tr .header,
table.tablesorter2 thead tr .header {
    background-image: none !important;
    position: relative;
}

/* Base state: Up/Down arrow for sortable columns */
table.tablesorter thead tr .header::before,
table.tablesorter1 thead tr .header::before,
table.tablesorter2 thead tr .header::before {
    content: "\2195"; 
    position: absolute;
    left: 4px;
    color: #999;
}

/* Ascending state: Up arrow */
table.tablesorter thead tr .headerSortUp::before,
table.tablesorter1 thead tr .headerSortUp::before,
table.tablesorter2 thead tr .headerSortUp::before {
    content: "\2191"; 
    color: #000;
}

/* Descending state: Down arrow */
table.tablesorter thead tr .headerSortDown::before,
table.tablesorter1 thead tr .headerSortDown::before,
table.tablesorter2 thead tr .headerSortDown::before {
    content: "\2193"; 
    color: #000;
}

/* Hide arrows completely on non-sortable columns */
table.tablesorter thead tr .headerNoSort::before,
table.tablesorter1 thead tr .headerNoSort::before,
table.tablesorter2 thead tr .headerNoSort::before {
    content: "";
}
/* ========================================================
   TABLE ENHANCEMENTS: STICKY HEADER & SORT HIGHLIGHT
   ======================================================== */

/* Freeze the top row */
#table_results thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    /* Keeps the solid background so scrolling rows are hidden behind it */
    background-color: #e6EEEE; 
}

/* Green background for the active sorted column */
#table_results tbody td.sorted-column {
    /* Using !important to override the alternating row colors */
    background-color: #dff0d8 !important; 
}
