/**
 * CSS for both Frontend+Backend.
*/
/*DataTable*/

.tpgb-table {
	border-spacing: 0;
	margin: 0;
	table-layout: auto;
	border-collapse: collapse
}

.tpgb-table-wrapper {
  	overflow-x: auto
}

.tpgb-table-wrapper::-webkit-scrollbar-track {
	border-radius: 10px;
	background-color: #f5f5f5
}

.tpgb-table-wrapper::-webkit-scrollbar {
	height: 8px;
	background-color: #fff
}

.tpgb-table-wrapper::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #000
}

table.csv-html-table th,.tpgb-table-row td.tpgb-table-col,tr.tpgb-table-row th {
  	padding: 15px
}

table.csv-html-table th,tbody tr .tpgb-table-col,tbody tr th.tpgb-table-col,thead th.tpgb-table-col {
  	border: 1px solid #bbb
}

.tpgb-table-col .pt_tpgb_button {
  	width: 150px
}

.tpgb-table .button-style-8 {
	position: relative;
	display: inline-block;
	width: auto;
	overflow: visible
}

.tpgb-table .button-style-8 .button-link-wrap {
	cursor: pointer;
	padding: 10px 20px;
	font-size: 16px;
	white-space: nowrap;
	text-decoration: none;
	line-height: 25px;
	letter-spacing: 1px;
	border: 1px solid #252525;
	border-radius: 3px;
	box-shadow: 0 8px 20px 1px rgba(0,0,0,.27)
}

.tpgb-table .button-style-8 .button-link-wrap:hover {
	border-color: #313131;
	box-shadow: 0 3px 6px 1px rgba(0,0,0,.08);
	transition: all .55s
}

.tpgb-table-wrapper table tbody>tr:nth-child(odd)>td,.tpgb-table-wrapper table tbody>tr:nth-child(odd)>th {
  	background-color: #eaeaea
}

tbody tr:nth-child(even) {
  	background-color: #fff
}

.tpgb-table-wrapper .tpgb-table {
	border-collapse: collapse;
	position: relative;
	display: table;
	overflow: hidden;
	width: 100%;
	margin-bottom: 0
}

.tpgb-table-wrapper .tpgb-advance-heading label {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	overflow-x: auto
}

.tpgb-table tr.tpgb-table-row {
  	border: 0
}

.tpgb-advance-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 2px
}

.tpgb-advance-heading .tpgb-tbl-entry-wrapper select {
	height: auto;
	margin: 0 5px 0 5px;
	width: 100px
}

.tpgb-advance-heading .tpgb-tbl-search-wrapper input {
	background-position: 10px 10px;
	background-repeat: no-repeat;
	height: auto;
	margin-left: 10px;
	width: 180px;
	background: 0 0;
	border: 1px solid #888;
	border-radius: 3px;
	padding: 8px 10px;
	color: #313131;
	font-size: 16px;
	line-height: 1
}

.tpgb-tbl-entry-wrapper,.tpgb-tbl-search-wrapper,span.sort-style {
	display: flex;
	align-items: center
}

.tpgb-table-wrapper .dataTables_paginate,.tpgb-table-wrapper .datatable-bottom  {
    display: none
}

.tpgb-table-row .tpgb-table-col {
  	vertical-align: middle
}

.tpgb-table__text-inner {
  	display: inline-block
}

.tpgb-align-icon--left,.tpgb-align-icon--left .tableicon,.tpgb-align-icon--right,.tpgb-align-icon--right .tableicon {
  font-size: 18px
}

.tpgb-align-icon--left {
	margin-right: 12px;
	display: inline-block
}

.tpgb-align-icon--right {
	order: 3;
	margin-left: 12px;
	display: inline-block
}

.tpgb-col-img--left,.tpgb-col-img--right {
	display: inline-block;
	vertical-align: middle;
	width: 30px
}

.tpgb-col-img--left {
  	margin-right: 12px
}

.tpgb-col-img--right {
	order: 2;
	margin-left: 12px
}

span.sort-style {
  	justify-content: space-between
}

.tpgb-sort-icon {
	float: right;
	margin-left: 5px;
	position: relative;
	height: 15px;
	display: none;
	width: 15px
}

.datatable-sorter .tpgb-sort-icon .down-icon,.datatable-sorter .tpgb-sort-icon .up-icon {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0
}

.datatable-ascending .tpgb-sort-icon .up-icon,.datatable-descending .tpgb-sort-icon .down-icon {
    visibility: visible;
    opacity: 1
}

.datatable-ascending .tpgb-sort-icon .down-icon,.datatable-descending .tpgb-sort-icon .up-icon {
    visibility: hidden;
    opacity: 0;
    display: none
}

.tpgb-table__text span.tpgb-table__text-inner+.pt_tpgb_button {
  	margin-top: 10px
}

.tpgb-table.tpgb-table-mob-res .tpgb-table-mob-row {
  	display: none
}

.tpgb-table .tpgb-table-col .tb-col-link {
	position: relative;
	display: block;
	width: 100%
}

.less-icon-space {
  	margin: 0!important
}

@media (max-width:767px) {
	.tpgb-table.tpgb-table-mob-res thead {
		display: none
	}

	.tpgb-table.tpgb-table-mob-res tbody tr,.tpgb-table.tpgb-table-mob-res tbody tr td {
		float: none;
		clear: left;
		width: 100%;
		text-align: left;
		display: flex;
		align-items: center
	}

	.tpgb-table.tpgb-table-mob-res tbody tr {
		flex-wrap: wrap
	}

	.tpgb-table.tpgb-table-mob-res tbody tr.tpgb-table-row {
		border: 1px solid #bbb;
		margin-bottom: 8px
	}

	.tpgb-table.tpgb-table-mob-res tbody tr td.tpgb-table-col:last-child {
		border-bottom: 0!important
	}

	.tpgb-table.tpgb-table-mob-res .tpgb-table-mob-wrap {
		display: flex;
		width: 100%
	}

	.tpgb-table.tpgb-table-mob-res .tpgb-table-mob-wrap span.tpgb-table-mob-row {
		display: none;
		padding: 15px;
		margin-right: 0;
		text-align: center;
	    flex : 0 0 120px
	}

	.tpgb-table.tpgb-table-mob-res .tpgb-table-mob-wrap span.tpgb-table__text {
		align-items: center;
		display: flex;
		width: 100%;
		justify-content: center
	}

	.tpgb-table.tpgb-table-mob-res .tpgb-table-mob-wrap span.tpgb-table__text .pt_tpgb_button {
		margin: 0 auto;
		text-align: center
	}

	.tpgb-table-mob-wrap span.tpgb-table-mob-row {
		border-right: 1px solid #bbb
	}
}

.tpgb-table .error-handal {
    text-align: center;
    color: #d8000c !important;
    background-color: #ffd2d2;
    padding: 10px;
    border: 1px solid #da1111;
    width: 100%;
    margin: 0px !important;
}
.datatable-sorter,.datatable-sorter:hover,.datatable-sorter:focus{
    background: transparent;
    border: none;
    width: 100%;
    padding: 0;
    color: initial;
    font-weight: unset;
}
.tpgb-table-col.tpgb-td-flex{
    display: flex;
    align-items: center;
    justify-content: center;
}
.pt_tpgb_button .button-link-wrap i,.pt_tpgb_button .button-link-wrap svg{
    margin-left: 5px;
}
.pt_tpgb_button .button-link-wrap:has(i),.pt_tpgb_button .button-link-wrap:has(svg) {
	display: flex;
	align-items: center;
}