﻿.SearchResult {
	box-shadow: 2px 3px 5px #b1b1b1;
	width: calc(100% - 31px);
	position: absolute;
	padding: 5px;
	background-color: white;
	max-height: 300px;
	overflow-y: auto;
	z-index: 1;
	display: none;
}

	.SearchResult::-webkit-scrollbar {
		width: 8px;
	}

	.SearchResult::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 10px;
	}

	.SearchResult::-webkit-scrollbar-thumb {
		background: #888;
		border-radius: 10px;
	}

		.SearchResult::-webkit-scrollbar-thumb:hover {
			background: #555;
			border-radius: 10px;
		}

.ResultItem {
	border-radius: 7px;
	border: 1px dashed black;
	margin: 5px;
	padding: 7px;
	line-height: 12px;
	font-weight: bold;
	cursor: pointer;
	transition-duration: .3s;
}

	.ResultItem:hover {
		transform: scale(.99);
		background-color: #ebebeb;
	}

.datatables-basic th {
	text-align: center !important;
}

.datatables-basic td {
	text-align: center !important;
}

.datatables-basic tr td:nth-child(2n) {
	background-color: #1ab39414;
}

.datatables-basic > tbody > .selected {
	background-color: #1ab394 !important;
}

#SelectedProductsContainer > .row {
	margin: 5px;
	border: 1px solid #1ab394;
	padding: 15px;
	margin-top: 10px;
	text-align: center;
}

	#SelectedProductsContainer > .row p {
		margin: 8px 0 0 0;
	}

#EshantionContainer > .row {
	margin: 5px;
	border: 1px solid #1ab394;
	padding: 15px;
	margin-top: 10px;
	text-align: center;
}

	#EshantionContainer > .row p {
		margin: 8px 0 0 0;
	}

.paginate_button {
	text-align: center;
}

.myCustomCart {
	padding: 25px;
	margin: 10px;
}

.customCart-head {
	text-align: center;
	font-weight: bold;
	font-size: 15px;
}

.fixedLable > label {
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	transition-duration: .4s;
	background-color: white;
	padding: 0 5px;
}

.fixedLable > input {
	text-align: left;
}

.customCartIcon {
	position: absolute;
	font-size: 30px;
	top: -15px;
	right: 5px;
}

.customCartTitle {
	position: absolute;
	top: -10px;
	font-size: 18px;
	right: 50%;
	transform: translateX(50%);
}
/*#region factor*/
.factorHead {
	border: 6px double;
	padding: 8px;
	font-weight: bold;
	text-align: center;
}

.factorBuyerInfo {
	border: 5px double;
	font-weight: bold;
}

	.factorBuyerInfo h2 {
		text-align: center;
	}
/*#endregion*/

/*#region Uploader*/
.MainProgressContainer {
	width: 100%;
	height: 100vh;
	position: fixed;
	background-color: #6e6e6e6e;
	z-index: 10000;
	top: 0;
}

.progressContainer {
	position: absolute;
	z-index: 100000;
	width: 300px;
	height: 130px;
	border-radius: 5px;
	box-shadow: 1px 1px 20px black;
	background-color: white;
	top: 50%;
	right: 50%;
	transform: translate(50%,-50%);
}

.progressOuter {
	position: relative;
	width: 90%;
	height: 20px;
	background-color: white;
	box-shadow: inset 1px 1px 13px black;
	top: 23%;
	left: 50%;
	transform: translate(-50%,-50%);
	border-radius: 7px;
	overflow: hidden;
}

.progressInner {
	position: relative;
	right: 0;
	top: 0;
	height: 20px;
	width: 0;
	background-color: #ACEB2F;
	filter: url(#blob);
}

.progresscircle1, .progresscircle2, .progresscircle3 {
	position: absolute;
	z-index: 1000100;
	width: 20px;
	height: 20px;
	background-color: #ACEB2F;
	border-radius: 20px;
	right: -10px;
	transform: translateY(-50%);
}

.progresscircle1 {
	top: 10%;
	animation-name: progresscircle;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
}

.progresscircle2 {
	top: 90%;
	animation-name: progresscircle;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-delay: .5s;
}

.progresscircle3 {
	top: 50%;
	animation-name: progresscircle;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-delay: 1s;
}

.progresspercent {
	margin-left: 45%;
	font-weight: bold;
	color: black;
}

#progressbarLogo {
	height: 30px;
	margin-left: 50%;
	transform: translateX(-50%);
	margin-top: 10px;
}

#progressCover {
	position: absolute;
	width: 90%;
	height: 20px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 7px;
	background-image: linear-gradient(#0000004a,#00000000,#0000004a);
}

.primaryColor {
	color: #1AB394;
	font-weight: bold;
}

.jstree-search {
	color: #1AB394 !important;
	background-color: #EDFCF9 !important;
	font-weight: bold !important;
}

@keyframes progresscircle {
	0% {
		right: -10px;
		width: 20px;
		height: 20px;
	}

	100% {
		right: -80px;
		width: 0;
		height: 0;
	}
}
/*#endregion*/
/*#region FormCheck*/

.form-check {
	display: block;
	min-height: 1.378125rem;
	padding-left: 1.7em;
	margin-bottom: 0.125rem;
}

	.form-check .form-check-input {
		float: left;
		margin-left: -1.7em;
	}

.form-check-reverse {
	padding-right: 1.7em;
	padding-left: 0;
	text-align: right;
}

	.form-check-reverse .form-check-input {
		float: right;
		margin-right: -1.7em;
		margin-left: 0;
	}

.form-check-input {
	width: 1.2em;
	height: 1.2em;
	margin-top: 0.135em;
	vertical-align: top;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 1px solid #dbdade;
	appearance: none;
	print-color-adjust: exact;
}

	.form-check-input[type=checkbox] {
		border-radius: 0.25em;
	}

	.form-check-input[type=radio] {
		border-radius: 50%;
	}

	.form-check-input:active {
		filter: brightness(90%);
	}

	.form-check-input:focus {
		border-color: #7367f0;
		outline: 0;
		box-shadow: 0 0.125rem 0.25rem rgba(165, 163, 174, 0.3);
	}

	.form-check-input:checked {
		background-color: #7367f0;
		border-color: #7367f0;
	}

		.form-check-input:checked[type=checkbox] {
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='13' viewBox='0 0 15 14' fill='none'%3E%3Cpath d='M3.41667 7L6.33333 9.91667L12.1667 4.08333' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
		}

		.form-check-input:checked[type=radio] {
			background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='5' width='8' height='8' rx='4' fill='%23fff'/%3E%3C/svg%3E%0A");
		}

	.form-check-input[type=checkbox]:indeterminate {
		background-color: #7367f0;
		border-color: #7367f0;
		background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 9H12.5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	}

	.form-check-input:disabled {
		pointer-events: none;
		filter: none;
		opacity: 0.5;
	}

		.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
			cursor: default;
			opacity: 0.5;
		}

.form-check-label {
	cursor: pointer;
}

.form-switch {
	padding-left: 2.5em;
}

	.form-switch .form-check-input {
		width: 2em;
		margin-left: -2.5em;
		background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6' fill='rgba%2875, 70, 92, 0.3%29'/%3E%3C/svg%3E%0A");
		background-position: left center;
		border-radius: 2em;
		transition: background-position 0.15s ease-in-out;
	}

@media (prefers-reduced-motion: reduce) {
	.form-switch .form-check-input {
		transition: none;
	}
}

.form-switch .form-check-input:focus {
	background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6' fill='%237367f0'/%3E%3C/svg%3E%0A");
}

.form-switch .form-check-input:checked {
	background-position: right center;
	background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6' fill='%23fff'/%3E%3C/svg%3E%0A");
}

.form-switch.form-check-reverse {
	padding-right: 2.5em;
	padding-left: 0;
}

	.form-switch.form-check-reverse .form-check-input {
		margin-right: -2.5em;
		margin-left: 0;
	}

.form-check-inline {
	display: inline-block;
	margin-right: 1rem;
}

.btn-check {
	position: absolute;
	clip: rect(0, 0, 0, 0);
	pointer-events: none;
}

	.btn-check[disabled] + .btn, .btn-check:disabled + .btn {
		pointer-events: none;
		filter: none;
		opacity: 0.65;
	}

.custom-option {
	padding-left: 0;
	border: 1px solid #dbdade;
	border-radius: 0.375rem;
}

	.custom-option:hover {
		border: 1px solid #c9c8ce;
	}

	.custom-option.custom-option-image {
		border-width: 1px !important;
	}

		.custom-option.custom-option-image .custom-option-body img {
			border-radius: 0.375rem;
		}

	.custom-option .custom-option-content {
		cursor: pointer;
		width: 100%;
	}

.custom-option-basic .custom-option-content {
	padding: 1.07em;
	padding-left: 2.77em;
}

.custom-option-basic .custom-option-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 0.25rem;
}

.custom-option-icon.checked i,
.custom-option-icon.checked svg {
	color: #7367f0;
}

.custom-option-icon .custom-option-content {
	text-align: center;
	padding: 1.07em;
}

.custom-option-icon .custom-option-body {
	display: block;
	margin-bottom: 0.5rem;
}

	.custom-option-icon .custom-option-body i {
		font-size: 1.75rem;
		margin-bottom: 0.5rem;
		display: block;
	}

	.custom-option-icon .custom-option-body svg {
		height: 38px;
		width: 38px;
		margin-bottom: 0.25rem;
	}

	.custom-option-icon .custom-option-body .custom-option-title {
		display: block;
		font-size: 0.9375rem;
		font-weight: 600;
		color: #5d596c;
	}

.custom-option-icon .form-check-input {
	float: none !important;
	margin: 0 !important;
	transform: translateX(50%);
}

.custom-option-image {
	border-width: 1px;
}

	.custom-option-image .custom-option-content {
		padding: 0;
	}

	.custom-option-image .custom-option-body img {
		height: 100%;
		width: 100%;
	}

	.custom-option-image.custom-option-image-radio .form-check-input {
		display: none;
	}

	.custom-option-image.custom-option-image-check {
		position: relative;
	}

		.custom-option-image.custom-option-image-check .form-check-input {
			position: absolute;
			top: 16px;
			right: 16px;
			margin: 0;
			border: 0;
			opacity: 0;
		}

			.custom-option-image.custom-option-image-check .form-check-input:checked {
				opacity: 1;
			}

		.custom-option-image.custom-option-image-check:hover .form-check-input {
			border: inherit;
			border-width: 1px;
			opacity: 1;
		}

[dir=rtl] .custom-option {
	padding-right: 0;
}

[dir=rtl] .custom-option-basic .custom-option-content {
	padding-right: 2.77em;
	padding-left: 1.07em;
}

[dir=rtl] .custom-option-image.custom-option-image-check .form-check-input {
	right: auto;
	left: 10px;
}
/*#endregion*/
.popover {
	z-index: 9000000000;
}

.deadline {
	position: absolute;
	bottom: 3px;
	left: 3px;
}

	.deadline > label {
		height: 15px;
		width: 15px;
		margin: unset;
		margin-right: 3px;
	}

.cursorDefault {
	cursor: default;
}

.cursorPointer {
	cursor: pointer;
}

.swal2-container {
	z-index: 9999999999;
}

#taskComments li .top-right {
	top: 2px;
	right: 5px;
}

#taskComments li .bottom-left {
	bottom: 2px;
	left: 10px;
}

#taskComments li .bottom-right {
	bottom: 2px;
	right: 10px;
}

.bg-light-success {
	background-color: #D5FFE7 !important;
}

.operatorUser {
	position: absolute;
	bottom: 3px;
	right: 5px;
	line-height: 10px;
}

#timeDiv {
	min-width: 120px;
	text-align: left;
}

.opertunityBoard {
	overflow-x: scroll;
	transform: rotate(180deg);
	max-width: calc( 100% - 10px );
	direction: ltr;
}

	.opertunityBoard > div {
		transform: rotate(-180deg);
		padding-top: 10px;
		direction: rtl;
	}

	.opertunityBoard::-webkit-scrollbar {
		height: 8px;
		width: 100%;
		background-color: #D8D8DA;
		overflow: hidden;
	}

	.opertunityBoard::-webkit-scrollbar-thumb {
		cursor: pointer;
		border-radius: 10px;
		background-color: #1AB394; /* Set the color of the thumb */
	}

		.opertunityBoard::-webkit-scrollbar-thumb:hover {
			background-color: #179F84;
		}

.OpertunityCards {
	width: 460px;
	display: inline-block;
}

.OpertunityCardsContainer {
	display: flex;
	width: max-content;
}

.btn-12 {
	position: relative;
	border: none;
	box-shadow: none;
	width: 130px;
	height: 100px;
	line-height: 40px;
	-webkit-perspective: 230px;
	perspective: 230px;
}

	.btn-12 span {
		display: block;
		position: absolute;
		width: calc( 100% - 12px );
		height: 100px;
		border-radius: 5px;
		margin: 0;
		text-align: center;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-transition: all .3s;
		transition: all .3s;
	}

		.btn-12 span:nth-child(1) {
			display: flex;
			justify-content: center;
			align-items: center;
			opacity: 0;
			-webkit-transform: rotateX(90deg);
			-moz-transform: rotateX(90deg);
			transform: rotateX(90deg);
			-webkit-transform-origin: 50% 50% -20px;
			-moz-transform-origin: 50% 50% -20px;
			transform-origin: 50% 50% -50px;
			font-size: 50px;
		}

		.btn-12 span:nth-child(2) {
			display: flex;
			justify-content: center;
			flex-direction: column;
			/*box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;*/
			box-shadow: 6px 7px 6px #00000069;
			-webkit-transform: rotateX(0deg);
			-moz-transform: rotateX(0deg);
			transform: rotateX(0deg);
			-webkit-transform-origin: 50% 50% -20px;
			-moz-transform-origin: 50% 50% -20px;
			transform-origin: 50% 50% -50px;
		}

	.btn-12:hover span:nth-child(1) {
		opacity: 1;
		line-height: 60px !important;
		/*box-shadow: 2px 2px 2px 0px rgba(255,255,255,.5), 7px 7px 20px 0px rgba(0,0,0,.1), 4px 4px 5px 0px rgba(0,0,0,.1);*/
		box-shadow: 6px 7px 6px #00000069;
		-webkit-transform: rotateX(0deg);
		-moz-transform: rotateX(0deg);
		transform: rotateX(0deg);
	}

	.btn-12:hover span:nth-child(2) {
		color: transparent;
		-webkit-transform: rotateX(-90deg);
		-moz-transform: rotateX(-90deg);
		transform: rotateX(-90deg) translateZ(3px);
		opacity: 0;
	}

.custom-btn {
	width: 100%;
	height: 100px;
	color: #fff !important;
	border-radius: 5px;
	font-weight: 500;
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: inline-block;
	outline: none;
	font-weight: bold;
	font-size: 20px;
}

.accounting-btn span::before {
	content: '';
	background-image: url(https://cdn.ably.ir/img/accountingImage.png);
	opacity: .1;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.warehouse-btn span::before {
	content: '';
	background-image: url(https://cdn.ably.ir/img/warehouseImage.png);
	opacity: .1;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.voidGradient span {
	background: linear-gradient(0deg, rgb(61 0 96) 0%,rgb(0 25 44) 100%);
}

.cyonGradient span {
	background: linear-gradient(0deg, rgb(0 96 80) 0%,rgb(0 7 44) 100%);
}

.autumnGradient span {
	background: linear-gradient(0deg, rgb(255 133 0) 0%, rgb(229 60 0) 100%);
}

.oceanGradient span {
	background: linear-gradient(0deg, rgb(0 121 213) 0%, rgb(0 21 112) 100%);
}

.liverGradient span {
	background: linear-gradient(0deg, rgb(209 0 0) 0%, rgb(60 0 0) 100%);
}
