.material-checkbox {
	margin: auto;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
	padding: 11px 14px;
	margin-left: -14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

body[dir="rtl"] .material-checkbox {
	margin-left: unset !important;
	margin-right: -14px !important;
}

body[dir="ltr"] .material-checkbox .material-checkbox-text {
	padding-top: 2px;
}

.material-checkbox .material-checkbox-text {
	color: #858588;
	font-family: IRANSans;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}

.material-checkbox .material-checkbox-text.secondary {
	color: #858588;
	font-family: IRANSans-Bold;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.material-checkbox-input:disabled + .material-checkbox {
	opacity: 0.6;
}

.material-checkbox-input:not(:disabled) + .material-checkbox:not(.no-hover):hover .material-checkbox-icon:before {
	transform: scale(2.8) !important;
}

.material-checkbox span {
	display: inline-block;
	vertical-align: middle;
	transform: translate3d(0, 0, 0);
}

.material-checkbox .material-checkbox-icon {
	position: relative;
	width: 18px;
	height: 18px;
	border-radius: 0px;
	transform: scale(1);
	vertical-align: middle;
	border: 2px solid #8c8c8c;
	border-radius: 2px;
	transition: all 0.2s ease;
	min-width: 18px;
}

.material-checkbox .material-checkbox-icon svg {
	position: absolute;
	top: 2px;
	left: 1px;
	fill: none;
	stroke: #ffffff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16px;
	stroke-dashoffset: 16px;
	transition: all 0.3s ease;
	transition-delay: 0.1s;
	transform: translate3d(0, 0, 0);
}

.material-checkbox .material-checkbox-icon::before {
	content: "";
	width: 100%;
	height: 100%;
	background: #36459b;
	display: block;
	border-radius: 50%;
	transform: scale(0);
	transition: all 0.2s ease;
	opacity: 0.08;
	pointer-events: none;
}

.material-checkbox-input:disabled + .material-checkbox {
	cursor: auto;
}

.material-checkbox-input:disabled + .material-checkbox .material-checkbox-icon::before {
	display: none;
}

.material-checkbox:not(.no-hover):hover .material-checkbox-icon {
	border-color: #36459b;
}

/* not selected --> */
.material-checkbox-section.not-selected .material-checkbox {
	background: #efe2e5;
	border-radius: 4px;
}

.material-checkbox-group .material-checkbox-section.not-selected .material-checkbox-input:not(:checked) + .material-checkbox .material-checkbox-text {
	color: #8f3d4e !important;
}

.material-checkbox-section.not-selected .material-checkbox-input:not(:checked) + .material-checkbox .material-checkbox-icon .close {
	display: block;
}

.material-checkbox-section.not-selected .material-checkbox-input:not(:checked) + .material-checkbox .material-checkbox-icon {
	background: #8f3d4e;
	border-color: #8f3d4e !important;
}

.material-checkbox-section.not-selected .material-checkbox-input:not(:checked) + .material-checkbox .material-checkbox-icon .check {
	display: none;
}

.material-checkbox-section.not-selected .material-checkbox-input:checked + .material-checkbox .material-checkbox-icon .close {
	display: none;
}

.material-checkbox-section.not-selected .material-checkbox-input:checked + .material-checkbox .material-checkbox-icon .check {
	display: block;
}

.material-checkbox-section.not-selected {
	user-select: none;
	pointer-events: none !important;
	cursor: not-allowed !important;
}

.material-checkbox-group.not-bg .material-checkbox-section:not(.not-selected) .material-checkbox {
	background: #fff;
}

.material-checkbox-action,
.material-checkbox-action:focus {
	outline: none;
	border: none;
	background: unset;
	cursor: pointer;
	width: fit-content;
	margin: 0;
	padding: 0;
	min-height: inherit;
}

.material-checkbox-action {
	padding: 0 9px !important;
	border-left: 1px solid #e6ecf6;
}

.material-checkbox-content {
	padding-right: 14px;
}

body[dir="rtl"] .material-checkbox-action {
	border-right: 1px solid #e6ecf6;
	border-left: 0;
}

.material-checkbox-action:hover svg path {
	transform: scale(1.1);
	fill: #8f3d4e;
}

body[dir="rtl"] .material-checkbox-content {
	padding-right: 0;
	padding-left: 14px;
}

.material-checkbox-text-active {
	color: #36459b;
	text-align: right;
	font-family: IRANSans;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}

.material-checkbox-group .material-checkbox.active .material-checkbox-action.hide-is-active,
.material-checkbox-section.not-selected .material-checkbox:not(.active) .material-checkbox-action.hide-is-active,
.material-checkbox-group .material-checkbox-input:checked + .material-checkbox .material-checkbox-action.hide-is-active {
	display: none;
}

.material-checkbox.active .hide-is-active {
	display: none !important;
}

/* --- */

.material-checkbox-input:checked + .material-checkbox .material-checkbox-icon {
	background: #36459b;
	border-color: #36459b !important;
	animation: wave 0.4s ease;
}

.material-checkbox-input:checked + .material-checkbox .material-checkbox-text {
	color: #36459b !important;
	font-family: IRANSans-Medium;
}

.material-checkbox-section.not-bold .material-checkbox-input:checked + .material-checkbox .material-checkbox-text {
	color: #36459b !important;
	font-family: IRANSans !important;
	font-weight: 500 !important;
}

.material-checkbox-input:checked + .material-checkbox .material-checkbox-icon svg {
	stroke-dashoffset: 0;
}

.material-checkbox .material-checkbox-icon:before {
	transform: scale(0);
	/* opacity: 0;
	transition: all 0.6s ease; */
}

@keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

.material-checkbox-group {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap !important;
	gap: 18px;
}

.material-checkbox-group .material-checkbox-section {
	border-radius: 4px !important;
	border: 1px solid #f1f3fc !important;
	background: #ebecef !important;
	padding: unset !important;
}

.material-checkbox-group .material-checkbox {
	padding: 0 14px !important;
	justify-content: flex-start;
	margin-left: unset !important;
	width: 100% !important;
	min-height: 42px !important;
}

.material-checkbox-group .material-checkbox.has-action {
	padding-right: 0 !important;
}

body[dir="rtl"] .material-checkbox-group .material-checkbox.has-action {
	padding-right: 14px !important;
	padding-left: 0 !important;
}

body[dir="rtl"] .material-checkbox-group .material-checkbox,
body[dir="rtl"] .only-checkbox .material-checkbox {
	margin-right: unset !important;
}

.material-checkbox-group .material-checkbox.active {
	background: #e0e3f6 !important;
}

.material-checkbox-group .material-checkbox-input:checked + .material-checkbox {
	background: #e0e3f6 !important;
}

/* * colored checkboxes -->  */
.material-checkbox-group .material-checkbox-section.colored .material-checkbox.active .material-checkbox-text,
.material-checkbox-group .material-checkbox-section.colored .material-checkbox-input:checked + .material-checkbox .material-checkbox-text {
	color: #fff !important;
}

.material-checkbox-group .material-checkbox-section.colored {
	background: transparent !important;
}

.material-checkbox-group .material-checkbox-section.colored .material-checkbox.active {
	/* border: unset; */
}

.material-checkbox-group .material-checkbox-section.colored .material-checkbox {
	border-radius: 4px;
}

.material-checkbox-group .material-checkbox-section.colored .material-checkbox.active .material-checkbox-icon,
.material-checkbox-group .material-checkbox-section.colored .material-checkbox-input:checked + .material-checkbox .material-checkbox-icon {
	border-color: #fff !important;
}

.material-checkbox-group .material-checkbox-section.colored .material-checkbox-input:checked + .material-checkbox .material-checkbox-icon {
	background: #fff;
}

/* green */
.material-checkbox-group .material-checkbox-section.green .material-checkbox.active,
.material-checkbox-group .material-checkbox-section.green .material-checkbox-input:checked + .material-checkbox {
	background: #92caa2 !important;
}

.material-checkbox-group .material-checkbox-section.green .material-checkbox .material-checkbox-icon svg {
	stroke: #92caa2;
}

.material-checkbox-group .material-checkbox-section.green .material-checkbox {
	border: 1px solid #92caa2;
}

.material-checkbox-group .material-checkbox-section.green .material-checkbox .material-checkbox-text {
	color: #92caa2 !important;
}

.material-checkbox-group .material-checkbox-section.green .material-checkbox .material-checkbox-icon {
	border-color: #92caa2 !important;
}

/* yellow */
.material-checkbox-group .material-checkbox-section.yellow .material-checkbox.active,
.material-checkbox-group .material-checkbox-section.yellow .material-checkbox-input:checked + .material-checkbox {
	background: #e1b995 !important;
}

.material-checkbox-group .material-checkbox-section.yellow .material-checkbox .material-checkbox-icon svg {
	stroke: #e1b995;
}

.material-checkbox-group .material-checkbox-section.yellow .material-checkbox {
	border: 1px solid #e1b995;
}

.material-checkbox-group .material-checkbox-section.yellow .material-checkbox .material-checkbox-text {
	color: #e1b995 !important;
}

.material-checkbox-group .material-checkbox-section.yellow .material-checkbox .material-checkbox-icon {
	border-color: #e1b995 !important;
}

/* orange */
.material-checkbox-group .material-checkbox-section.orange .material-checkbox.active,
.material-checkbox-group .material-checkbox-section.orange .material-checkbox-input:checked + .material-checkbox {
	background: #f3a691 !important;
}

.material-checkbox-group .material-checkbox-section.orange .material-checkbox .material-checkbox-icon svg {
	stroke: #f3a691;
}

.material-checkbox-group .material-checkbox-section.orange .material-checkbox {
	border: 1px solid #f3a691;
}

.material-checkbox-group .material-checkbox-section.orange .material-checkbox .material-checkbox-text {
	color: #f3a691 !important;
}

.material-checkbox-group .material-checkbox-section.orange .material-checkbox .material-checkbox-icon {
	border-color: #f3a691 !important;
}

/* red */
.material-checkbox-group .material-checkbox-section.red .material-checkbox.active,
.material-checkbox-group .material-checkbox-section.red .material-checkbox-input:checked + .material-checkbox {
	background: #e1797d !important;
}

.material-checkbox-group .material-checkbox-section.red .material-checkbox .material-checkbox-icon svg {
	stroke: #e1797d;
}

.material-checkbox-group .material-checkbox-section.red .material-checkbox {
	border: 1px solid #e1797d;
}

.material-checkbox-group .material-checkbox-section.red .material-checkbox .material-checkbox-text {
	color: #e1797d !important;
}

.material-checkbox-group .material-checkbox-section.red .material-checkbox .material-checkbox-icon {
	border-color: #e1797d !important;
}

/* blue */
.material-checkbox-group .material-checkbox-section.blue .material-checkbox.active,
.material-checkbox-group .material-checkbox-section.blue .material-checkbox-input:checked + .material-checkbox {
	background: #95c5e1 !important;
}

.material-checkbox-group .material-checkbox-section.blue .material-checkbox .material-checkbox-icon svg {
	stroke: #95c5e1;
}

.material-checkbox-group .material-checkbox-section.blue .material-checkbox {
	border: 1px solid #95c5e1;
}

.material-checkbox-group .material-checkbox-section.blue .material-checkbox .material-checkbox-text {
	color: #95c5e1 !important;
}

.material-checkbox-group .material-checkbox-section.blue .material-checkbox .material-checkbox-icon {
	border-color: #95c5e1 !important;
}

/*  */
.material-checkbox-group .material-checkbox .material-checkbox-text {
	color: #8c8c8c !important;
}

.material-checkbox-group .material-checkbox .material-checkbox-text {
	color: #8c8c8c !important;
	font-weight: 400;
}

.material-checkbox-group .material-checkbox.active .material-checkbox-text {
	color: #36459b !important;
	font-weight: 700 !important;
}

.material-checkbox-group .material-checkbox.active .material-checkbox-icon {
	border-color: #36459b !important;
}

.material-checkbox-group .material-checkbox-icon {
	border-color: #8c8c8c !important;
}

/*  */
.material-checkbox.multi-row {
	padding-top: 14px !important;
	padding-bottom: 7px !important;
	align-items: flex-start !important;
}

.material-checkbox.multi-row .multi-text {
	align-items: flex-start !important;
}

.material-checkbox-mlr-30 {
	margin-left: -30px;
}

body[dir="rtl"] .material-checkbox-mlr-30 {
	margin-right: -30px;
	margin-left: unset;
}

.material-checkbox-warning-text {
	color: #e7999a;
	text-align: right;
	font-family: IRANSans;
	font-size: 11px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
}

.material-checkbox-action-box {
	min-height: 22px;
}

/* outline checkbox group */
.material-checkbox-group.outline-items .material-checkbox {
	border: 1px solid #b2c6e3 !important;
	background: transparent !important;
	border-radius: 4px !important;
}

.material-checkbox-group.outline-items .material-checkbox .material-checkbox-text {
	color: #b2c6e3 !important;
}

.material-checkbox-group.outline-items .material-checkbox-icon {
	border-color: #b2c6e3 !important;
}

.material-checkbox-group.outline-items .material-checkbox-section {
	background: transparent !important;
}

.material-checkbox-group.outline-items .material-checkbox-input:checked + .material-checkbox {
	background: #f4f6fb !important;
	border-color: #36459b !important;
}

.material-checkbox-group.outline-items .material-checkbox-input:checked + .material-checkbox .material-checkbox-text {
	color: #36459b !important;
}

@media (max-width: 576px) {
	.material-checkbox .material-checkbox-text {
		font-size: 13px;
	}
}

td > .material-checkbox-section {
	max-width: 50px;
}

td > .material-checkbox-section .material-checkbox {
	margin-right: 5px !important;
	margin-left: 5px !important;
}

/* orange-outline checkbox */
.material-checkbox-group.orange-outline-items .material-checkbox {
	border: 1px solid #e6a01475 !important;
	background: transparent !important;
	border-radius: 4px !important;
}

.material-checkbox-group.orange-outline-items .material-checkbox .material-checkbox-text {
	color: #e6a01475 !important;
}

.material-checkbox-group.orange-outline-items .material-checkbox-icon {
	border-color: #e6a01475 !important;
}

.material-checkbox-group.orange-outline-items .material-checkbox-section {
	background: transparent !important;
}

.material-checkbox-group.orange-outline-items .material-checkbox-input:checked + .material-checkbox {
	background: rgba(230, 160, 20, 0.04) !important;
	border-color: #e6a014 !important;
}

.material-checkbox-group.orange-outline-items .material-checkbox-input:checked + .material-checkbox .material-checkbox-text {
	color: #e6a014 !important;
}

.material-checkbox-group.orange-outline-items .material-checkbox-input:checked + .material-checkbox .material-checkbox-icon {
	background: #e6a014 !important;
	border-color: #e6a014 !important;
	animation: wave 0.4s ease;
}

.material-checkbox-group.orange-outline-items .material-checkbox .material-checkbox-icon::before {
	background: #e6a014;
}

.material-checkbox.with-footer {
	flex-direction: column;
	align-items: stretch;
	padding: 0 !important;
	gap: 0 !important;
	min-height: 80px !important;
}

.material-checkbox.with-footer .checkbox-main-row {
	display: flex;
	align-items: center;
	padding: 11px 14px;
	gap: 15px;
}

.material-checkbox.with-footer .checkbox-footer {
	display: flex;
	justify-content: center;
	padding: 11px 14px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: inherit;
	width: 100%;
	box-sizing: border-box;
	margin-top: auto;
}

.material-checkbox.with-footer .checkbox-main-row .material-checkbox-text {
	font-size: 12px;
	line-height: 16px;
	white-space: normal;
}

.material-checkbox.with-footer .checkbox-footer-text {
	border-top: 1px solid currentColor;
	padding-top: 8px;
	font-size: 12px;
	line-height: 14px;
	opacity: 0.9;
	width: 100%;
}
