//	=================
//    	Imports
//	=================

@import '../../../assets/base/color_variables';   	// Color Variables
@import '../../../assets/base/fonticons';   			// Fonticons Variables
@import '../../../assets/base/urls';   				// URLS Variables
@import '../../../assets/base/utilities_variables';  // Utilities Variables

.dataTables_filter {
	input {
		margin-left: 5px;
		border-radius: $br-30;
		padding-bottom: 5px;
		padding-top: 5px;
		border: $solid $b-width-1 $additional-color-6;
	}
}
table.dataTable {
	td {
		border-top: $b-width-1 $solid $color_6;
	}
}
.table {
	>thead {
		>tr {
			>th {
				color: $color_264;
				&:hover {
					color: $color_56;
				}
			}
		}
	}
	.toolbar {
		position: $pos-rel;
	}
	tbody {
		tr {
			&:hover {
				color: $color_47;
			}
			td {
				position: $pos-rel;
			}
		}
	}
	.badge-success {
		border-radius: $br-30;
		padding: 6px;
		width: 80px;
	}
	.badge-danger {
		border-radius: $br-30;
		padding: 6px;
		width: 80px;
	}
	.badge-primary {
		border-radius: $br-30;
		padding: 6px;
		width: 80px;
	}
	.badge-warning {
		border-radius: $br-30;
		padding: 6px;
		width: 80px;
	}
}
.toolbar-toggle {
	cursor: pointer;
	font-size: 36px;
	position: $pos-rel;
	top: -26px;
}
.table-controls {
	padding: $p-0;
	margin: $m-0;
	list-style: none;
	>li {
		display: inline-block;
		margin: $m-0 4px;
		line-height: 1;
		>a {
			display: inline-block;
			i {
				margin: $m-0;
				color: $light-dark;
				font-size: 18px;
				display: block;
			}
		}
	}
}
.toolbar {
	&:hover {
		.toolbar-dropdown {
			display: block;
		}
	}
}
.toolbar-dropdown {
	position: $pos-abs;
	left: 0;
	right: 0;
	margin-top: -12px;
	margin-left: auto;
	margin-right: auto;
	z-index: 10;
	padding: 5px 5px;
	border-radius: 4px;
	background-color: $white !important;
	border: $b-width-1 $solid #fff !important;
	max-height: 400px;
	height: auto;
	max-width: 111px;
	overflow-x: hidden;
	overflow-y: auto;
	box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.2);
	display: none;
}
.table-striped {
	tbody {
		>tr {
			&:nth-child(odd) {
				>td {
					background-color: $white;
				}
			}
		}
		tr {
			&:nth-of-type(odd) {
				td {
					background-color: $color_6 !important;
				}
			}
		}
	}
}
.product-list-img {
	background: transparent;
	border: none;
	img {
		border-bottom-left-radius: 12px;
		border-bottom-right-radius: 2px;
		border-top-left-radius: 2px;
		border-top-right-radius: 12px;
		max-height: 100%;
	}
}
tbody {
	color: $color_2;
}
.label.label-success {
	padding-left: 5px;
}
.d-m-success {
	background-color: $color_148;
	border: $solid 2px #94f1c8;
	width: 8px;
	height: 8px;
}
.label.label-warning {
	padding-left: 5px;
}
.d-m-warning {
	background-color: $color_88;
	border: $solid 2px #f1dc94;
	width: 8px;
	height: 8px;
}
.label.label-danger {
	padding-left: 5px;
}
.d-m-danger {
	background-color: $color_149;
	-webkit-transition: all 0.3s ease-out;
	border: $solid 2px #f19494;
	width: 8px;
	height: 8px;
}
.page-item.active {
	.page-link {
		border-color: $additional-color-11;
		color: $white;
		border-radius: 1px;
		will-change: opacity, transform;
		transition: all 0.3s ease-out;
	}
}
ul.pagination {
	li {
		a {
			&:hover {
				&:not(.active) {
					background-color: $color_57;
					color: $white;
					border-radius: 1px;
					will-change: opacity, transform;
					transition: all 0.3s ease-out;
					-webkit-transition: all 0.3s ease-out;
				}
			}
		}
	}
}
div {
	ul.pagination {
		li.previous {
			i {
				vertical-align: $v-align-middle;
			}
		}
		li.next {
			i {
				vertical-align: $v-align-middle;
			}
		}
	}
}
.page-link {
	&:focus {
		box-shadow: none;
	}
}
img.img-thumbnail.rounded-circle {
	width: 60px;
	height: 60px;
	border: $b-width-2 $solid $color_54;
}
.custom-dropdown {
	.dropdown-menu {
		min-width: 8rem;
		left: -40px !important;
		cursor: pointer;
		&:before {
			position: $pos-abs;
			content: '\e942';
			font-family: $font_family_1;
			left: auto;
			right: -20px;
			top: -20px;
			background-color: $primary;
			color: $white;
			padding: 10px 12px;
			border-radius: 50%;
			cursor: pointer;
			font-size: 9px;
		}
	}
	a.dropdown-toggle {
		i {
			font-size: 17px;
			color: $primary;
		}
	}
}
.custom-dropdown-icon {
	a.dropdown-toggle {
		i {
			font-size: 17px;
			color: $primary;
		}
	}
}
.table-responsive {
	>.dataTables_wrapper {
		.row {
			&:nth-child(2) {
				>.col-sm-12 {
					&:first-child {
						margin-top: 3.5rem;
					}
				}
			}
		}
	}
}
.style-2 {
	.flaticon-close-fill {
		color: $color_38;
		&:hover {
			color: $danger;
		}
	}
}
.style-3 {
	img {
		width: 60px;
		height: 60px;
		border-radius: 10px;
		background-color: $color_54;
		border: none;
	}
	ul.table-controls {
		li {
			&:nth-child(1) {
				a {
					i {
						color: $primary;
						border: $b-width-1 $solid $primary;
						&:hover {
							background-color: $primary;
							color: $white;
							border: $b-width-1 $solid $primary;
						}
					}
				}
			}
			&:nth-child(2) {
				a {
					i {
						color: $danger;
						border: $b-width-1 $solid $danger;
						&:hover {
							background-color: $danger;
							color: $white;
							border: $b-width-1 $solid $danger;
						}
					}
				}
			}
		}
	}
}
