table.tobTab {
	border-width: 0;
	border-spacing: 0px;
	border-style: inset;
	border-color: #d4d5e1;
	border-collapse: collapse;
	text-align: center;
	table-layout: fixed;
	background-color:#f9f9f9;
        margin-bottom: 0; 
        border-left: 0;
        border-right: 0;
}
table.tobTab th {
	padding: 5px 1px;
	color: #aa5404;
	font-weight: 500;
	border: 0 !important;        
        text-align: center;  
        background: #f8e376;             
        height: 34px;
}

table.tobTab th:nth-of-type(odd) {
    background: #fccd25;   
}

.table-block-first-col table.tobTab th {
    background: #fccd25;
}

.table-block-first-col table.tobTab th:nth-of-type(odd) {
    background: #f8e376;
}

.table-block-first-col table.tobTab th:nth-of-type(1) {
    background: #fccd25;
}

table.tobTab thead {
    position: relative;
}

table.tobTab thead div.tooltip {
    position: absolute !important;
    display: none !important;
}


table.tobTab > tbody > tr > td {
	border:0 !important;
	padding: 5px 8px;	
	color: #8a8a8a;
	font-size: 12px;
        font-weight: 300;
	/*white-space: nowrap;*/ /* poki co wylaczone */
	text-align: center;
	overflow: hidden;
	vertical-align: middle;
	height: 34px;
}

table.tobTab td:first-child {
	border-left: 0;
}
table.tobTab td:last-child {
	border-right: 0;
}



table.tobTab td div{
	overflow: hidden;
	/*font-family: Tahoma;*/
	
}

table.tobTab,
.tobContainer {
    margin-bottom: 0px;
	
}

.tobContainer.table-responsive {
    transform: rotateX(180deg);
    overflow-x: scroll;
}
.tobContainer.table-responsive > table {
    transform: rotateX(180deg);
}

table.tobTab .usun {
	border: none;
	text-indent: -1000px;
	overflow: hidden;
	background: url(../img/delete-icon.png) no-repeat;
	height: 30px;
        width: 30px;
        cursor: pointer;
        padding: 0;
        margin: 0 auto;
        display: block;
	
}

body:not(.ModMKShipments) .tobSRow {
	background: #dfebf9 !important;	
}

.tobSRow  td{
	/*color: #FFFFFF !important;*/
}

table.tobTab tbody tr:hover {
	background-color:#d2d2d2;
}

.zebra {
    background: #f3f3f3;
}

.tobTab th div.descSortMarker,
.tobTab th div.ascSortMarker,
.tobTab th div.SortMarker {
    font-size: 0.7em;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center center;
    font-size: 8px !important;
    line-height: 4px;
}

.SortMarker {
	background-image: url(../img/tob/sortMarker.png);
}

.ascSortMarker{
     background-image: url(../img/tob/ascSortMarker.png);
}

.descSortMarker{
     background-image: url(../img/tob/descSortMarker.png);
}

.searchBtn {
	width: 15px;
	height: 19px;
     background-image: url(../img/tob/searchButton.png);
	background-position: center center;
}

#tobMain_pageInp {
	/*display: inline !important;*/ /* pokazuje strone w tob */
	float: none !important;
}

.filterBtn

{
	width: 15px;
	height: 15px;	
	background-image: url("../../jquery_ui/images/ui-icons_ffffff_256x240.png");
	background-position: -241px -98px;
}


.searchBox{
	background: #565656;
	padding: 10px;
	border: 1px solid #535050;
	z-index: 1003;
	color:#fff;
	font-size:12px;
}
.searchBox input {
    width: 200px;
    margin-bottom: 8px;
	border: 1px solid #7f7f7f;
	background:#FFFFFF;
	margin-top:15px;
	color: #2D2D2D;
}

.searchBox button {
    width: auto;
    border-radius: 3px;
    padding: 2px 5px;
    margin: 2px;
    float: left;
	font-size: 11px;
	color: #999999;
	background: #808080;
	border: 1px solid #CCCCCC;
	cursor:pointer;
}

.searchBox button {
	background:white;
	color:gray;
}

.filterBox{

	background: url(img/filter_hov.png) #eee 2px 5px no-repeat;

	padding-left:35px;

	border:1px solid #aaa;

	height:220px;
	z-index: 1003;

}

.filterBox div{
	margin-left:-32px;
	background:white;

}

.filterBox input{
	vertical-align: text-top;
	margin: 0 4px 0 0;
}

.filterBox button{

	width: auto;
    border-radius: 3px;
    padding: 2px 5px;
    margin: 2px;
    float: left;
	font-size: 11px;
	color: #999999;
	background: #414141;
	border: 1px solid #CCCCCC;
	cursor:pointer;

}

.filterBox button:hover{

	background:white;

	color:gray;

}

.tobTab th div {
	display: inline-block;
	vertical-align: middle;
	font-size: 14px !important;
}

#tobScope {
	font-size: 13px;
	color: #EEE;
	padding: 3px;
	border: 1px solid #414141;
}

.pageStat {
    font-size:14px;
    text-align:left;
    color:#999;
    font-weight: normal;
    clear: none;    
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    min-height: 40px;
    display: inline-block;
    margin-bottom: 20px;
    margin-left: calc(50% - 32px);
}

.pageStat .page-desc,
.pageStat .page-desc-of,
.pageStat .pageInp {
    display: none;
}

.pageStat span.custom-block {    
    vertical-align: middle;
    line-height: 40px;
    padding: 0;  
    border: 0;
    margin-left: 0;
    margin-bottom: 0;
    display: inline-block;
    
    /*dwa ponizej, zeby wysrotkowaly sie w pionie inputy i selecty*/
/*    display: inline;
    padding: 10px;*/
}

.pageStat span.custom-block nobr {
    display: none;
}

.pageStat a {
	color: #FFFFFF !important;
	text-decoration: none;
}

/*.pageStat .sep {
    margin: -5px 15px 0;
    border-right: 1px solid #d9dae4;
    display: inline-block;
    height: 40px;    
    vertical-align: top;
}*/

nobr {
	/*font-family: Arial, Helvetica, sans-serif;*/
}

.pageStat a:hover {
    opacity: .4;
}

.pageStat button.prevPage,
.pageStat button.nextPage {
    background: none;
    width: 20px;
    height: 20px;
    border: none;
    text-indent: 1000px;
    overflow: hidden;
    cursor: pointer;
    margin: 0 6px;
    vertical-align: middle;
    position: relative;
}

.pageStat button.prevPage {
    background: url(../img/tob/page-prev.png) center center no-repeat;
}


.pageStat button.prevPage.first_page{
    opacity: .5;
}

.pageStat button.nextPage {
    background: url(../img/tob/page-next.png) center center no-repeat;
}

.pageStat button.nextPage.last_page {
    opacity: .5;
}

.pageStat button.prevPage.hide_pages,
.pageStat button.nextPage.hide_pages  {
    display: none;
}

.tobMainDiv {
    border: 0;
}

.tobMainDiv colgroup { 
    display: none;
}

.tobMenu_b {
    display: inline-block;
    float: right;
    margin: 0 -7px 20px;
}

.action-buttons input {
	display: inline-block !important;
	/*width: 200px !important;*/
	float: none !important;
}

.tobMainDiv td {
	vertical-align: middle;
}

input.pageInp,
#tobMain_pageInp,
input[type="text"].pageInp{
	width:40px;
	text-align: center;
	font-size: 14px !important;	
        height: 30px;
        border-radius: 0;
        background: #fff;
        margin: 0 5px;
        color: #006efc;
        border: 0;
}

#tobMain_pageInp,
input.pageInp,
select.tobScope,
input.pageInp:hover,
input.pageInp:focus,
select.tobScope:hover,
select.tobScope:focus {
/*	background: #3C3C3C;
	height:26px;
	padding:0 3px 0 3px;
	border:1px #4D4D4D solid;
	border-bottom:2px #4D4D4D solid;
	color:#d7d7d7;
	font-size:11px;*/
}

select.tobScope {    
    padding: 0 5px;
    color: #006efc;
    width: 80px;
    border-radius: 0;
    text-align: center;
    border: 1px solid #d4d5e1;
    margin-left: 5px;
    margin-right: -10px;
    height: 30px;
    font-weight: 300;
}


	
.tobRefresh {
	width: 17px;
	height: 20px;	
	background-image: url("../../jquery_ui/images/refresh_icon.png");
	display: inline-block;
	text-indent: 200px;
	overflow: hidden;
	vertical-align: text-top;
        margin-top: -2px;
        
        display: none;
}

.tobRefresh:hover {
	background-image: url("../../jquery_ui/images/refresh_icon.png");
        opacity: .4;
}

.tobOverlay {
	font-size: 25px;
    height: 100%;
    left: 0;
    opacity: 0.8;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 99;
	}
	
.tobOverlay table {
	width: 100%;
	height: 100%;
	text-align: center;
	background: black;
	}

.tobOverlay td {
	text-align: center;
	}

.tobOverlay td.spinner {
	background: url(../img/tob/spinner.png) 50% 50% no-repeat;
	}

.tobOverlay tr {
	background: none transparent;
	}

.tobMainDiv .lightButton, 
.tobMainDiv .lightButtonLeft,
.tobMenu_b .btn {
    float:right;
    margin: 0 7px 14px;
    font-weight: 500;
    border: 0;
    background: #006efc;
}

.tobMainDiv .lightButton:hover, 
.tobMainDiv .lightButtonLeft:hover,
.tobMenu_b .btn:hover {
    background: #10299c;
}

.tobContainer {
	scrollbar-face-color: #5F5F5F;
	scrollbar-highlight-color: #5F5F5F;
	scrollbar-3dlight-color: #2B2B2B;
	scrollbar-darkshadow-color: #2B2B2B;
	scrollbar-shadow-color: #5F5F5F;
	scrollbar-arrow-color: #FCFEFC;
	scrollbar-track-color: #333333;  
	border-top: 0;
        margin-top: 60px;
        margin-bottom: 35px;
}

table.tobTab tfoot td {
	background: #FFFFFF;
    border-top: 1px solid #2B2B2B;
    font-size: 13px;
    font-weight: bold;
}

.pageInp {
/*	width: 40px !important;
	border: 0 !important;
	float: none !important;
	display: inline-block !important;
	font-weight: normal !important;*/
}

.searcherInRow td,
.searcherInRow div {
    overflow: visible !important;
}

.searcherInRow .form-control {
    color: #999;
    font-size: 10px;
    border: 1px dotted #e1e1e1 !important;
    background:url(../img/chosen-sprite-search.png) no-repeat -26px -17px;
    margin-bottom: 0;
    height: 31px;
}

.searcherInRow .form-control:active,
.searcherInRow .form-control:focus,
.searcherInRow .form-control:not(:placeholder-shown) {
    background:#FFF;
}

.searcherInRow .chosen-container {
    width: 100% !important;
    border: 1px dotted #e1e1e1 !important;
    border-radius: 5px;
    padding: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/* overwritten templates/ebay/plugins/bootstrap/css/less/tables.less */
.table > thead > tr > th {
    vertical-align: middle;
}

.table > thead > tr > th {
    border-bottom: 1px solid #d4d5e1; 
    border-left: 0;
}

.table > thead > tr > th:last-child {
    border-right: 0;
}

table.tobTab .searcherInRow .chosen-container {
    padding: 3px;  
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

table.tobTab .chosen-container-multi .chosen-choices {
    padding: 0 1px;
    border: 1px solid #fff;
}

table.tobTab .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

a.pdflink {
    text-indent: -9999px;
    width: 16px;
    height: 16px;
    display: inline-block;
    overflow: hidden;
    background: url("../../jquery_ui/images/pdf_icon.png") no-repeat center center; 
}

a.xlslink {
    text-indent: -9999px;
    width: 16px;
    height: 16px;
    display: inline-block;
    overflow: hidden;
    background: url("../img/document-excel.png") no-repeat center center;
}

a.downloadlink {
    text-indent: -9999px;
    width: 16px;
    height: 16px;
    display: inline-block;
    overflow: hidden;
    background: url("../img/download.png") no-repeat center center; 
}

table.tobTab input[type=radio] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}

table.tobTab .radio,
table.tobTab .checkbox {
    pointer-events: initial !important;
}








/*
        blokowaie pierwszej kolumny w tob na przesylkach
        trzeba ubrac tob'a w klasę css table-block-first-col
*/

.table-block-first-col .tobMainDiv {
    overflow: hidden;
    position: relative;
    width: 100%;
    float: left;
}    

.table-block-first-col .tobMainDiv colgroup {
    display: none;
}

.table-block-first-col .tobContainer {
    width: 100%; 
    overflow-y: hidden;
}

.table-block-first-col .table {
    min-width: 1140px;
}

.table-block-first-col .table> thead {
    position: initial;
}

.table-block-first-col .table> thead > tr > th {
    width: 100%;
}

.table-block-first-col tr[data-empty=true] {
    position: relative;
}

.table-block-first-col tr,
.table-block-first-col .table> tbody > tr > td:first-child {
    background: #f9f9f9
}

.table-block-first-col tr.zebra,
.table-block-first-col .table> tbody > tr.zebra > td:first-child {
    background: #f3f3f3;
}

.table-block-first-col .table> thead > tr > th:first-child,
.table-block-first-col .table> tbody > tr > td:first-child {
    position: absolute !important;
    display: inline-block !important;
    width: 50px !important;
    height: 100%;
    max-height: 34px; /* na probe bo jak nie ma ograniczenia to wysokosc wychodzi poza tabele*/
}

.table-block-first-col .table> thead > tr > th:first-child {
    background: none;
    pointer-events:none;  
}

.table-block-first-col .table> tbody > tr > td:first-child .radio {
    margin-top: 4px;
}

.table-block-first-col .table thead > tr > th:nth-child(2),
.table-block-first-col .table tbody > tr > td:nth-child(2) {
    padding-left:50px !important;
}

@media (max-width: 1199px) {          
    .table-block-first-col .tobContainer {
        overflow-x: scroll;
    }
}