.table.table-ocp {

}
table.dataTable thead .sorting span::after,
table.dataTable thead .sorting_asc span::after,
table.dataTable thead .sorting_desc span::after,
table.dataTable thead .sorting_asc_disabled span::after,
table.dataTable thead .sorting_desc_disabled span::after {
  padding-left: 10px;
  font-family: 'Glyphicons Halflings';
  font-size: 8px;
  opacity: 0.5;
}
table.dataTable thead .sorting::after {
  opacity: 0.2;
  content: "";
  /* sort */
}
table.dataTable thead .sorting_asc::after {
  content: "";
  /* sort-by-attributes */
}
table.dataTable thead .sorting_desc::after {
  content: "";
  /* sort-by-attributes-alt */
}
table.dataTable thead .sorting span::after {
  content: url("/img/sing-gird-sorting.png");/*"\e150";*/
  /* sort */
}
table.dataTable thead .sorting_asc span::after {
  content: "\e260";
  /* sort-by-attributes */
}
table.dataTable thead .sorting_desc span::after {
  content: "\e259";
  /* sort-by-attributes-alt */
}
table.dataTable thead th a,
table.dataTable thead th a:visited,
table.dataTable thead th a:hover,
table.dataTable thead th a:active {
	color: #9ea0a5;
	padding: 0px 5px;
}
.table>thead:first-child>tr:first-child>th,
table.dataTable thead th {
	color: #9ea0a5;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;

	background-color: white;
	vertical-align: middle;

	padding: 14px 30px 11px 30px;
	/*box-shadow: 0 1px 0 ;*/
	border-top: 1px solid #eaedf3;
	border-bottom: 1px solid #eaedf3;

	white-space: nowrap;
}

.table>thead:first-child>tr:first-child>th:first-child {
	border-left: 1px solid #eaedf3;	
}
.table>thead:first-child>tr:first-child>th:last-child {
	border-right: 1px solid #eaedf3;	
}

.table>tbody>tr>td,
table.dataTable tbody td {
	color: #3e3f42;

	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
	
	background-color: white;

	padding: 19px 30px 17px 30px;
	border-top: none;
	border-bottom: 1px solid #eaedf3;
}
.table>tbody>tr:nth-child(odd)>td,
table.dataTable tbody tr:nth-child(odd)>td {
	background-color: #fbfbfd;
}
.table>tbody>tr>td:first-child,
table.dataTable tbody>tr>td:first-child {
	border-left: 1px solid #eaedf3;	
}
.table>tbody>tr>td:last-child {
	border-right: 1px solid #eaedf3;	
}

table.dataTable tbody td.strong {
	color: #3e3f42;
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
}
table.dataTable tbody td.grey {
	color: #6b6c6f;
	
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
	/*text-transform: uppercase;;*/
}
table.dataTable th.right,
table.dataTable td.right {
	text-align: right;
	
}
table.dataTable h1 {
	font-size: 20px;
}

table.dataTable {
	margin: 0px !important;
}
.customSmallBoxYes,
.customSmallBoxNull,
.customSmallBoxNo,
.customSmallBoxUnknown,
.customBoxYes,
.customBoxNo,
.customBoxNull,
.customBoxUnknown
{
	display: inline-block;
	min-width: 106px;
	height: 24px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	text-transform: uppercase;
	padding: 3px 12px;
	margin: 3px 0px;
	border-radius: 4px;
	text-align: center;
	box-sizing: border-box;
	white-space: nowrap;
	
}
.customSmallBoxYes,
.customSmallBoxNull,
.customSmallBoxNo,
.customSmallBoxUnknown 
{
	min-width: 10px;
}

.customBoxUnknown {
	background-color: #AAA;	
}
.customBoxNo
 {
	background-color: #ee2e2e;
}
.customBoxNull
{
	background-color: #0e024b;
}
.customBoxYes
 {
	background-color: #34aa44;
}

.table-ocp td .button {
	margin: 5px 8px;
}
/*
*
*	Control bar
*
*/

.tableHeaderControl {
	width: 100%;
	height: 74px;
	background-color: white;

	display: flex;

	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;

	padding: 0px 30px;

	border: 1px solid #eaedf3;;
	border-bottom: none;

	border-top-right-radius: 4px;
	border-top-left-radius: 4px;

	white-space: nowrap;


}

.tableHeaderControl h3 {
	margin: 0px;
	padding: 0px;

	color: #3e3f42;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
}
.tableHeaderControlHead {
	padding-right: 30px;
}

.tableHeaderControlSearch {
	margin-left: auto;
	padding: 0px 15px 0px 40px;
	
	flex-grow: 1;


}

.tableHeaderControlSearch input[type="text"] {
	width: calc(100% - 100px);
	height: 38px;
	box-shadow: inset 0 1px 2px rgba(102, 113, 123, 0.21);
	border-radius: 4px;
	border: 1px solid #e2e5ed;
	background-color: #ffffff;

	color: #3e3f42;
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;

	padding: 8px 16px;
	margin-right: 5px;

	background-image: url('/img/sign-magnifier.png');
	background-position: calc(100% - 10px) 50%;
	background-repeat: no-repeat;
}
.tableHeaderControlSearch.hasPresets input[type="text"] {
	width: calc(100% - 160px);
	margin-right: 0px;
}
.tableHeaderControlSearch input[type="text"]::placeholder  {
	color: #9ea0a5;
	
}
.tableHeaderControlSearch a.tableHeaderControlSearchPresetButton {
	margin-right: 0px;
}

.tableHeaderControlRecords {
	padding-left: 15px;
	border-left: 1px solid #eaedf3;
}
.tableHeaderControlRecords select {
	width: 61px;
	height: 38px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	border: 1px solid #d8dce6;
	background-color: #ffffff;

	color: #3e3f42;
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;

	padding: 8px;
}
.tableHeaderControlRecords label {
	display: inline-block;

	color: #0e024b;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	text-transform: uppercase;
	padding-right: 10px;
}

.tableHeaderControlCustom {
	padding: 8px 15px 6px 15px;
	border-left: 1px solid #eaedf3;
}
.tableHeaderControl .margin-left-auto {
	margin-left: auto;
}
.tableHeaderControlSearchPresetContainer {
	display: none;
	position: absolute;
	top: 63px;
	z-index: 100;

	padding: 20px 20px;
	background-color: white;

	border: 2px solid rgb(234, 237, 243);
	border-radius: 4px;
	box-shadow: 2px 2px 5px rgb(234, 237, 243);

}
.tableHeaderControlSearchPresetContainer ul {
	 list-style-type: none;
	 padding: 0px;
	 margin: 0px;

}
.tableHeaderControlSearchPresetContainer ul li {
	padding: 0px;
	font-size: 14px;

}
.tableHeaderControlSearchPresetContainer ul li.line {
	border-bottom: 2px solid rgb(234, 237, 243);
	margin: 10px 0px;
}
.tableHeaderControlSearchPresetContainer a {
	display: inline-block;
	padding: 8px 16px;

	cursor: pointer;
	color: #3e3f42;

}
.tableHeaderControlSearchPresetContainer a.strong {
	font-weight: bold;
}
.tableHeaderControlSearchPresetContainer a:first-child {
	width: 220px;
}

.tableHeaderControlSearchPresetContainer a:hover {

}
.tableHeaderControlSearchPresetContainer a:visited {
	color: #3e3f42;
}


.tableFooter {
	display: flex;

	width: 100%;
	height: 100px;

	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;

	padding: 0px;
	padding-left: 30px;

	white-space: nowrap;
}

.tableFooter .dataTables_info {
	color: #6b6c6f;
	font-size: 12px;
	font-weight: 400;
	padding-top: 15px;
}
.tableFooter .pagination>li>a,
.tableFooter .pagination>li>a:visited,
.tableFooter .pagination>li>a:focus,
.tableFooter .pagination>li>a:active {

	color: #3e3f42;
	font-size: 14px;
	font-weight: 400;

	border-radius: 4px;
}
.tableFooter .pagination>li>a:hover {

}

.tableFooter .dataTables_paginate.paging_simple_numbers {
	height: 38px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	border: 1px solid #d8dce6;
	background-color: #ffffff;

}
.tableFooter .dataTables_paginate.paging_simple_numbers .pagination {
	margin: 0px;
}
.tableFooter .dataTables_paginate.paging_simple_numbers .pagination .paginate_button a {
	border: 0px;
	width: 32px;
	height: 30px;
	margin: 3px;

	padding: 6px 0px;
	text-align: center;
}

.tableFooter .dataTables_paginate.paging_simple_numbers .paginate_button.previous a {
	border-right: 1px solid #d8dce6;
	border-radius: 0px;
	margin-right: 0px;

}
.tableFooter .dataTables_paginate.paging_simple_numbers .paginate_button.next a {
	border-left: 1px solid #d8dce6;
	border-radius: 0px;
	margin-left: 0px;

}
.tableFooter .dataTables_paginate.paging_simple_numbers .paginate_button.active a {
	background-color: #1665d8;
	border: 1px solid #1665d8;

	color: #ffffff;
	font-size: 14px;
	font-weight: 500;

	padding: 5px 0px;
	text-align: center;
	
}
.tableFooter .dataTables_paginate.paging_simple_numbers .paginate_button.previous a::after {
	content: url('/img/sign-arrow-left.png');

}
.tableFooter .dataTables_paginate.paging_simple_numbers .paginate_button.next a::after {
	content: url('/img/sign-arrow-right.png');
}
.tableFooter .dataTables_paginate.paging_simple_numbers .paginate_button.disabled a {
	background-color: #fbfbfd;
}

#DataTables_Table_0_ellipsis a {
	height: 36px;
	width: 36px;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	color: #fbfbfd;
	
	border-radius: 0px;
	border-left: 1px solid #d8dce6;
	border-right: 1px solid #d8dce6;

	background-image: url('/img/sign-dots.png');
	background-position: center center;
	background-repeat: no-repeat;

}
.table-ocp .smallWrap {
	white-space: initial;
}
.table-ocp .smallEnd {

}
.table-ocp .smallButtons {

}

.table-ocp .smallLeft {

}

.table-ocp .smallRight {

}

.table-ocp .smallHeader {

}
.table-ocp .smallMarginRight{
		margin-right: 0px;
}

.table-ocp .smallLabel,
.smallBox {
	display: none;
}
.dataTables_wrapper {
		overflow: auto;
}
.table-ocp .valignMiddle {
	vertical-align: middle;	
}
.table-ocp .documentsContainer {
	vertical-align: middle;
	position: relative;
}
.table-ocp .documentsContainer span,
.table-ocp .documentsContainer a {
	display: inline-block;
	padding-left: 40px;

}
.table-ocp .documentsContainer span.desc {
	display: inline-block;
	
	color: #9ea0a5;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	padding-left: 40px;
	
}
.table-ocp .documentsContainer.filetype-pdf::before {
	content: url("/img/sign-file-pdf.png");
	position: absolute;
	width: 20px;
	height: 20px;
	top: calc(50% - 10px);
	/*left: 0px;*/

}
.button.download {
	white-space: nowrap;
}
.button.download::after {
	content: " Stáhnout";
}
.table.table-ocp#seznam-kalkulaci tbody tr td {
		vertical-align: middle;
}

.dataTableToolbox {
	width: 100%;
	
	padding: 15px 20px;
	background-color: white;
	border: 1px solid #eaedf3;
	border-bottom: none;

	text-align: right;

	font-size: 12px;
	color: #0e024b;
	font-weight: bold;
	text-transform: uppercase;
}

@media only screen and (max-width: 1300px) {
	#tableHeaderControlSearchButton {
		display: none;
	}
	.tableHeaderControlSearch {
		padding-left: 0px;
	}
	.tableHeaderControlSearchButton input[type="text"] {
		width: 100%;
	}
	.tableHeaderControlSearch.hasPresets input[type="text"] {
		width: calc(100% - 52px);
		margin-right: 0px;
	}
}
@media only screen and (max-width: 1000px) {
	#tableHeaderControlSearchInput {
		width: 100%;
	}
	.tableHeaderControlSearchPresetButton {
		display: none;
	}
}
@media only screen and (max-width: 900px) {
	.dataTableToolbox {
		text-align: center;
		padding: 20px;
		border-bottom: 1px solid #d8dce6;
	}

	.table-ocp .button.download::after {
		content: "";
	}
	#tableHeaderControlSearchButton {
		display: inline-block;
	}
	#tableHeaderControlSearchInput {
		width: calc(100% - 100px);
	}
	.dataTables_wrapper {
		overflow: hidden;
	}
	.tableHeaderControl { 
		width: 100%; 
		height: auto;

		display: flex;

		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;

		padding: 0px;
		
		border: none;

		border-radius: 0px;

	}

	.tableHeaderControl h3 {
		color: #3e3f42;
		font-size: 18px;
		font-weight: 500;
		line-height: 28px;

		text-align: center;
	}
	.tableHeaderControlHead {
		padding: 23px 30px;
		border: none;
		border-bottom: 1px solid #d8dce6;
		width: 100%


	}

	.tableHeaderControlSearch {
		margin: 0px;

		padding: 23px 30px;
		border-bottom: 1px solid #d8dce6;
		width: 100%;

		background-color: #fbfbfb;


	}

	.tableHeaderControlSearch input[type="text"] {
		width: calc(100% - 160px);
		height: 54px;
		border-radius: 4px;
		border-bottom-right-radius: 0px;
		border-top-right-radius: 0px;
		
		border: 1px solid #e2e5ed;
		background-color: #ffffff;

		color: #3e3f42;
		font-size: 14px;
		font-weight: 400;
		line-height: 22px;

		padding: 15px 18px 17px 18px;
		margin: 0px;
	}

	.tableHeaderControlSearch input[type="text"]::placeholder  {
		color: #9ea0a5;
		
	}
	.tableHeaderControlSearch input[type="button"]  {
		padding: 15px 25px;
		margin: 0px;
		border-bottom-left-radius: 0px;
		border-top-left-radius: 0px;

		position: relative;
		left: -4px;


	}
	.tableHeaderControlSearchPresetButton {
	/*	padding: 15px 25px;
		margin: 0px;
		border-radius: 0px;

		position: relative;
		left: -4px;*/

		display: none;

	}
	 
	.tableHeaderControlRecords {
		display: none;
	}
	
	.tableHeaderControlCustom {
		margin: 0px;

		padding: 23px 30px;
		border: none;
		border-bottom: 1px solid #d8dce6;
		width: 100%;

		text-align: center;

		background-color: #fbfbfd;
	}

	.table.table-ocp {
		width: 100%;
		max-width: 100% !important;

	}
	.table.table-ocp thead,
	.table.table-ocp tfoot
	 {
		display: none;
	}
	.table.table-ocp tbody {

		width: 100%;
		display: flex;

		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;

	}
	.table.table-ocp tbody tr {
		width: 100%;
		height: 135px;

		padding: 17px 30px;

		display: flex;

		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-start;
		align-content: space-between;

		border: none;
		border-bottom: 1px solid #d8dce6;
		
		

	}
	.table.table-ocp tbody tr.flex-end {
		justify-content: flex-end;
	}
	.table.table-ocp tbody tr:nth-child(odd) {

		background-color: white;
	}

	.table.table-ocp tbody tr td {
		display: block;
		width: calc( 50vw - 31px);

		padding: 0px;
		overflow: hidden;
		white-space: nowrap;
		border: none!important;
		background-color: transparent!important;
	}
	.table.table-ocp#seznam-kalkulaci tbody tr {
		height: 200px;
	}
	.table.table-ocp#seznam-novich-klientu tbody tr {
		height: 180px;
		align-content: flex-start;
		justify-content: flex-start;
	}
	.table.table-ocp#seznam-novich-klientu tbody tr td {
		margin-bottom: 5px;
	}
	.table-ocp .smallWrap {
		white-space: pre-line !important;
	}

	.table-ocp .smallLabel {
		display: inline;
	}

	.table-ocp .smallBegin {
		order: -1;
	}	

	.table-ocp .smallEnd {
		order: 99;
	}	
	table.table-ocp td.smallLeft,
	.table-ocp .smallLeft {
		text-align: left;
	}

	.table-ocp .smallRight {
		text-align: right;
	}
	.table-ocp .smallGrey {
		color: #6b6c6f;
	}

	.table-ocp .smallHidden {
		display: none!important;
	}
	.table-ocp .smallFloatLeftNoPadding {
		display: inline-block;
		float: left;
		padding-left: 0px;
	}
	.table-ocp .smallFloatLeft{
		display: inline-block;
		float: left;
		padding-left: 10px;
	}
	.table-ocp .smallFloatRightNoPadding {
		display: inline-block;
		float: right;
		padding-right: 0px;
	}
	.table-ocp .smallFloatRight{
		display: inline-block;
		float: right;
		padding-right: 10px;
	}

	.table-ocp .smallButtons {
		text-align: right;
		white-space: pre-line!important;
	}
	.smallBox {
		display: inline-block;
	}
	.smallBox label {
	display: none;
	
	}
	.smallBox select {
		display: inline-block;
		color: #3e3f42;
		font-size: 16px;
		font-weight: 400;
		line-height: 24px;

		border: none;
		padding: 10px;
		background-color: white;
	}
	.table-ocp .smallHeader,
	.table-ocp .strong.smallHeader {

		color: #3e3f42;
		font-size: 18px;
		font-weight: 500;
		line-height: 22px;
	}

	.tableFooter {
		flex-flow: column-reverse;
		justify-content: center;
		padding-right: 30px;
	}
	
}
@media only screen and (max-width: 600px) {
	.table.table-ocp tbody tr {
		height: auto!important;
	}
	.table.table-ocp tbody tr td {
		width: calc(100vw - 60px);
		padding: 4px 0px;
	}
	table.table-ocp td.extraSmallCenter,
	.table-ocp .extraSmallCenter {
		text-align: center;
	}
	.table-ocp .smallButtons {
		text-align: center;
		white-space: normal!important;


	}
}

