
@media(min-width: 900px) {
#SMyTable_new {
able-layout: fixed;
}
}

#vcount_tabs{
font-size:0.8em;
height: 500px;
}
#vcount_tabs-1,#vcount_tabs-2{
font-size:1.2em;
}
#load
{
margin-left:300px;
}


.MyTable_new {
    font-family:Arial, Helvetica, sans-serif;
    width: 100%;
    margin: auto;    
    color:#000;
    background:#fff;
	font-size: 0.9em;
    border:#fff 1px solid;
    border-collapse: separate;
    border-spacing: 0;
}

.MyTable_new th,
.MyTable_new td {
	padding: 5px 5px;
	text-align: center;
    border: 1px solid #ccc;
    border-top: 1px solid #aaa;
	border-bottom:1px solid #e0e0e0;
	border-left: 1px solid #aaa;
    border-right: 1px solid #e0e0e0;
}

.MyTable_new th {
    osition: -webkit-sticky;
    osition: sticky;
    op: 0;  
    -index:4;
    background: #065fa3;
    background-image: linear-gradient(#999,#555);
	ackground-image: linear-gradient(#6889bd,#065fa3);
    color: #fff;
	text-shadow: 1px 1px 0px #333;
    border-top:1px solid #fafafa;
	border-bottom:1px solid #e0e0e0;
	-moz-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .9);
	-webkit-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .9);
	box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .9); 
}


.MyTable_new tfoot td {
    osition: -webkit-sticky;
    osition: sticky;
    ottom: 0;
    -index:4;
    background: #065fa3;
    background-image: linear-gradient(#999,#555);
	ackground-image: linear-gradient(#6889bd,#065fa3);
    color: #fff;
	text-shadow: 1px 1px 0px #333;
    border-top:1px solid #e0e0e0;
	border-bottom:1px solid #fafafa; 
}

/*
    Если нужно фиксировать первую колонку, 
    в html коде добавляем класс fix_column к основному классу таблицы
    например, так : class="table-scroll fix_column"
    Если не нужно фиксировать первую колонку, fix_column убираем

.fix_column td:first-child, 
.fix_column thead th:first-child,
.fix_column tfoot td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
}
.fix_column td:first-child {
    background: #eee;
    color: #333;    
}
.fix_column thead th:first-child {
    background: #065fa3;
    background-image: linear-gradient(#4574b0,#065fa3);
    color: #fff;    
    z-index: 5;
}
.fix_column tfoot td:first-child {
    background: #065fa3;
    background-image: linear-gradient(#065fa3, #13518a);
    color: #fff;    
    z-index: 5;
}
*/
/*
    Если нужно фиксировать первую  и вторую колонки, 
    в html коде добавляем классы fix_column и fix_2column к основному, 
    например, так : class="table-scroll fix_column fix_2column"
    Кроме того, нужно к js коду добавить расчет позиции LEFT для второй колонки:
        $(document).ready(function() {
                var width=$("tr > td:nth-child(1)").outerWidth();       
                  $("tr > td:nth-child(2)").css('left',width-1); 
                  $("tr > th:nth-child(2)").css('left',width-1); 
		});    
    Если фиксировать вторую колонку не нужно, этот расчет нужно убрать (закомментировать)

.fix_2column td:nth-child(2), 
.fix_2column thead th:nth-child(2),
.fix_2column tfoot td:nth-child(2) {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
}
.fix_2column td:nth-child(2) {
    background: #eee;
    color: #333;    
}
.fix_2column thead th:nth-child(2) {
    background: #065fa3;
    background-image: linear-gradient(#4574b0,#065fa3);
    color: #fff;    
    z-index: 5;
}
.fix_2column tfoot td:nth-child(2) {
    background: #065fa3;
    background-image: linear-gradient(#065fa3, #13518a);
    color: #fff;    
    z-index: 5;
}
*/


.MyTable_new tbody tr:hover td {
	background: #e1e1e1;
	background: -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#e0e0e0));
	background: -moz-linear-gradient(top, #e2e2e2, #e0e0e0);
}

.MyTable_new td {
	padding: 2px 2px;
	white-space: nowrap;
}

.MyTable_new tbody tr:nth-child(even) td{
    background-color: #e8e8ff;
}
