table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.428571429;
  border-top: 1px solid #dddddd;
}

table > thead > tr > th {
  border-bottom: 2px solid #dddddd;
}

table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > th,
table > caption + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > td,
table > thead:first-child > tr:first-child > td {
  border-top: 0;
}

table > tbody + tbody {
  border-top: 2px solid #dddddd;
}

table table {
  background-color: #ffffff;
}

table{
	width:100%;
	color:#575757;
	margin-bottom: 20px;
	border-collapse: collapse !important;
}
table td{
	padding:3px 3px 3px 5px;
}
table th{
	color:#fff;
	padding: 4px 5px;
	background: #092e47;
	font-weight:normal;
	text-align:left;
}
table th:focus{outline:none;}
td.left, th.left {
	text-align: left;
}

.even td{
	background:#f2f2f2;
}

.center{
	text-align:center;
}
td.discipline{
	width:34%;
}
td.exam-discipline{
	width:50%;
}
td.type{
	width:10%;
}
td.mark{
	width:8%;
}
td.date, td.exam-day{
	width:11%;
}
td.time, td.exam-time, td.exam-room{
	width:10%;
}
td.prepod{

}
td.list{
	width:11%;
}
td.order_object{
	width:23%;
}
td.oder_content{
	width:50%;
}
td.order_type{
	width:8%;
}
td.rk_discipline{
	width:55%;
}
td.skip{
	width:8%;
}
td.rk_prepod{
	width:30%;
}
td.l_room{
	width:4%;
}
td.book_name{
	width:45%;
}
td.author{
	width:25%;
}
td.l_debt{
	width:4%;
}
td.mark5{
	background:url('../images/mark_5.png');
}
td.mark4{
	background:url('../images/mark_4.png');
}
td.mark3{
	background:url('../images/mark_3.png');
}
td.mark2{
	background:url('../images/mark_2.png');
}

.login_form, .login_form td{
	border:none;
	padding: 3px 0px 3px 0px;
}

.reg_form, .reg_form td{
	border:none;
	padding: 3px 0px 3px 0px;
}

.subheader td, td.subheader {
	background-color: #d6e7f2 !important;
}

.filters td input{
    margin-bottom: 0;
    padding: 0;
   width: 100% !important;
}
.filters td {
    text-align: center;
padding: 3px 5px 3px 5px;
}

.tablefilter th.header { 
    background-image: url('../img/sort_both.png')!important;     
    cursor: pointer; 
    font-weight: bold; 
    background-repeat: no-repeat; 
    background-position: center left; 
    padding-left: 20px; 
    margin-left: -1px; 
} 

.tablefilter th.headerSortUp { 
    background-image: url('../img/sort_desc.png')!important;
    background-color: #052235; 
} 

.tablefilter th.headerSortDown { 
    background-image: url('../img/sort_asc.png')!important; 
    background-color: #052235; 
} 

.not-sorted.header {
background-image: none !important;
padding-left: 5px;
}

#catalog-bachelor .btn-xs, #catalog-magister .btn-xs,#catalog-spec .btn-xs{margin:3px 0;}
.sorting {background:  #092e47 url('../img/sort_both.png') no-repeat center right;}
.sorting_desc {background: #052235 url('../img/sort_desc.png') no-repeat center right;}
.sorting_asc {background:  #052235 url('../img/sort_asc.png') no-repeat center right;}

.paginate_button {
	padding: 0 6px;
	margin: 0;
	cursor: pointer;
}

.paginate_active{
	padding: 0 6px;
	margin: 0;
	color: #333 !important;
}

.dataTables_filter {
	width: 50%;
	float: right;
	text-align: right;
}

.dataTables_length {
	width: 40%;
	float: left;
}

.dataTables_paginate span a{
	border: 1px solid #d3d3d3;
	background: #f1f1f1;
}
.dataTables_wrapper{
	margin-top: 20px;
}

.dataTables_wrapper select{
	width: 70px;
}
#sorted_table_first {
	padding: 0;
}

#sorted_table thead th {
	cursor: pointer;
	padding-right: 15px;
}
thead th a, thead th a:visited{
	color: #d9e2ee;
}
 .overflow-div-perm, .overflow-div{
 	width: 100%;
	margin-bottom: 15px;
	overflow-x: scroll;
	overflow-y: hidden;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	-webkit-overflow-scrolling: touch;
 }

table.v-border {border-bottom: 1px solid #dddddd;} 
.v-border td{border-right:1px solid #dddddd;}
.v-border td:first-child{border-left:1px solid #dddddd;}
.v-border th {border-right: 1px solid #fff;}

@media screen and (max-width: 1280px) and (min-width: 768px) {
.overflow-div-small{
	width: 100%;
	margin-bottom: 15px;
	overflow-x: scroll;
	overflow-y: hidden;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	-webkit-overflow-scrolling: touch;
}
}
/* Mobile */
@media only screen and (max-width: 767px) {
	table.responsive, .pinned table { margin-bottom: 0; }
	.pinned { position: absolute; left: 0; top: 0; background: #fff; width: 30%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; }
	.pinned table { border-right: none; border-left: none; width: 100%; }
	.pinned table th, .pinned table td { white-space: nowrap; }
	.pinned td:last-child { border-bottom: 0; }
	div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ccc; }
	div.table-wrapper div.scrollable { margin-left: 30%; }
	div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }	
	table.responsive td, table.responsive th { position: relative; white-space: nowrap; overflow: hidden; }
	table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; }
	.phones-list .pinned {width:35%}
	.phones-list div.table-wrapper div.scrollable{margin-left: 35%;}
}
