/* tables */
table.data tbody {
/*	height:640px;
	display: block;
    overflow-y: auto; */   /* Trigger vertical scroll    */
/*    overflow-x: hidden; */ /* Hide the horizontal scroll */
}
img.data {
	padding:0;
	margin:0;
	display: block;
	margin-left: auto;
    margin-right: auto;
}

a.link {
	display: block;
    width: 100%;
}

/*************
  Gray Theme
 *************/
/* overall */
.tablesorter-gray {
    width: 100%;
    background-color: #F9F9F9;
    margin: 0px 0 15px;
    text-align: left;
    border-spacing: 0;
    border: #999999 1px solid;
    border-width: 1px 0 0 1px;
	border-collapse: collapse; 
}

.tablesorter-gray th,
.tablesorter-gray td {
    border: #999999 1px solid;
    border-width: 0 1px 1px 0;
}

/* header */
.tablesorter-gray th,
.tablesorter-gray thead td {
	text-align: left;
	font-family:times, times new roman;
	font-style: normal;
    font-weight: bold;
    color: #393939;
    background-color: #E9E9E9;
	padding: 5px 4px 5px 4px;
  /*  text-shadow: 0 1px 0 rgba(204, 204, 204, 0.7); */
}

.tablesorter-gray thead {
	border-bottom: 2px solid #000;
/*	display: block; */
}

/* tbody */
.tablesorter-gray td {
    color: #3d3d3d;
	padding: 5px 4px 5px 4px;
    vertical-align: middle;
}

.tablesorter-gray tbody td,
.tablesorter-gray tfoot th,
.tablesorter-gray tfoot td {
	padding: 5px 4px 5px 4px;
    vertical-align: middle;
}

/* tfoot */
.tablesorter-gray tfoot td {
	background-color: #E9E9E9;
	padding: 4px 4px 5px 4px;
	font-style: normal;
    font-weight: bold;
	color: #393939;
}

.tablesorter-gray tfoot {
/*	display: block; */
	border-top: 2px solid #000;
}

.tablesorter-gray .header,
.tablesorter-gray th.tablesorter-header {
    /* black (unsorted) double arrow */
    /* background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==); */
    /* white (unsorted) double arrow */
    /* background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==); */
    /* image */
    background-image: url(images/black-unsorted.gif);
    background-repeat: no-repeat;
    background-position: center center;
	padding: 1px 4px 1px 4px;
    white-space: normal;
    cursor: pointer;
}

.tablesorter-gray .headerSortUp,
.tablesorter-gray .tablesorter-headerSortUp,
.tablesorter-gray th.tablesorter-headerAsc {
    background-color: #CCCCCC;
    /* black asc arrow */
    /* background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7); */
    /* white asc arrow */
    /* background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7); */
    /* image */
    background-image: url(images/black-asc.gif);
}

.tablesorter-gray .headerSortDown,
.tablesorter-gray .tablesorter-headerSortDown,
.tablesorter-gray th.tablesorter-headerDesc {
    background-color: #CCCCCC;
    /* black desc arrow */
    /* background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7); */
    /* white desc arrow */
    /* background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7); */
    /* image */
    background-image: url(images/black-desc.gif);
}

.tablesorter-gray thead .sorter-false {
    background-image: none;
    cursor: default;
	padding: 5px 4px 5px 4px;
}

/* tfoot */
.tablesorter-gray tfoot .tablesorter-headerSortUp,
.tablesorter-gray tfoot .tablesorter-headerSortDown,
.tablesorter-gray tfoot .tablesorter-headerAsc,
.tablesorter-gray tfoot .tablesorter-headerDesc {
    /* remove sort arrows from footer */
    background-image: none;
}

/* hovered row colors
 you'll need to add additional lines for
 rows with more than 2 child rows
 */
.tablesorter-gray tbody > tr:hover > td,
.tablesorter-gray tbody > tr:hover + tr.tablesorter-childRow > td,
.tablesorter-gray tbody > tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td,
.tablesorter-gray tbody > tr.even:hover > td,
.tablesorter-gray tbody > tr.even:hover + tr.tablesorter-childRow > td,
.tablesorter-gray tbody > tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
    background: #DDDDDD;
}

.tablesorter-gray tbody > tr.odd:hover > td,
.tablesorter-gray tbody > tr.odd:hover + tr.tablesorter-childRow > td,
.tablesorter-gray tbody > tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
    background: #DDDDDD;
}

/* table processing indicator */
.tablesorter-gray .tablesorter-processing {
    background-position: center center !important;
    background-repeat: no-repeat !important;
    /* background-image: url(../addons/pager/icons/loading.gif) !important; */
    background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=') !important;
}

/* Zebra Widget - row alternating colors */
.tablesorter-gray tbody tr.odd > td {
    background-color: #ebf2fa;
}

.tablesorter-gray tbody tr.even > td {
    background-color: #fff;
}

/* Column Widget - column sort colors */
.tablesorter-gray td.primary,
.tablesorter-gray tr.odd td.primary {
    background-color: #99b3e6;
}

.tablesorter-gray tr.even td.primary {
    background-color: #c2d1f0;
}

.tablesorter-gray td.secondary,
.tablesorter-gray tr.odd td.secondary {
    background-color: #c2d1f0;
}

.tablesorter-gray tr.even td.secondary {
    background-color: #d6e0f5;
}

.tablesorter-gray td.tertiary,
.tablesorter-gray tr.odd td.tertiary {
    background-color: #d6e0f5;
}

.tablesorter-gray tr.even td.tertiary {
    background-color: #ebf0fa;
}

/* caption */
caption {
    background: #fff;
}

/* filter widget */
.tablesorter-gray .tablesorter-filter-row td {
    background: #eee;
    line-height: normal;
    text-align: center; /* center the input */
    -webkit-transition: line-height 0.1s ease;
    -moz-transition: line-height 0.1s ease;
    -o-transition: line-height 0.1s ease;
    transition: line-height 0.1s ease;
}

/* optional disabled input styling */
.tablesorter-gray .tablesorter-filter-row .disabled {
    opacity: 0.5;
    filter: alpha(opacity=50);
    cursor: not-allowed;
}

/* hidden filter row */
.tablesorter-gray .tablesorter-filter-row.hideme td {
    /*** *********************************************** ***/
    /*** change this padding to modify the thickness     ***/
    /*** of the closed filter row (height = padding x 2) ***/
    padding: 2px;
    /*** *********************************************** ***/
    margin: 0;
    line-height: 0;
    cursor: pointer;
}

.tablesorter-gray .tablesorter-filter-row.hideme * {
    height: 1px;
    min-height: 0;
    border: 0;
    padding: 0;
    margin: 0;
    /* don't use visibility: hidden because it disables tabbing */
    opacity: 0;
    filter: alpha(opacity=0);
}

/* filters */
.tablesorter-gray input.tablesorter-filter,
.tablesorter-gray select.tablesorter-filter {
    width: 98%;
    height: auto;
    margin: 0;
    padding: 1px;
    background-color: #fff;
    border: 1px solid #bbb;
    color: #333;
    -webkit-appearance: none;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: height 0.1s ease;
    -moz-transition: height 0.1s ease;
    -o-transition: height 0.1s ease;
    transition: height 0.1s ease;
}

/* rows hidden by filtering (needed for child rows) */
.tablesorter .filtered {
    display: none;
}

/* ajax error row */
.tablesorter .tablesorter-errorRow td {
    text-align: center;
    cursor: pointer;
    background-color: #e6bf99;
}