@keyframes goodDB {
	0% {
		background-color: #009e2f;
		color: rgb(0, 70, 3);
	}

	100% {
		width: 100%;
	}
}

@keyframes badDB {
	0% {
		background-color: #941e00;
		color: aliceblue;
	}

	100% {}
}


@keyframes warn {
	0% {
		background-color: #e5856c;
	}

	50% {
		background-color: #e5b5a9;
	}

	100% {
		background-color: #e5856c;
	}
}

@keyframes warnEditing {
	0% {
		background-color: #e5846c00;
		/* height: 3px; */
	}

	50% {
		background-color: rgb(59, 137, 151);
		/* height: 2px; */
	}

	100% {
		background-color: #e5846c00;
		/* height: 3px; */
	}
}


.answer {
	position: fixed;
	top: 0px;
	height: auto;
	width: 100%;
	z-index: 99;
	display: flex;
	flex-direction: column;
}

.answer-good {
	width: 0%;
	height: 3px;
	animation: 1s linear goodDB;
	animation-iteration-count: 1;
	position: relative;
	color: unset;
}

.answer-bad {
	/* width: 100%; */
	/* height: 12px; */
	animation: 6s linear badDB;
	animation-iteration-count: 1;
	position: relative;
	color: unset;
}

.answer-good,
.answer-bad {
	color: transparent;
}

.has-not-ordered {
	animation: 2s linear warn;
	animation-iteration-count: infinite;
}
/* 
.editing:before {
	animation: 0.5s linear warnEditing;
	animation-iteration-count: infinite;
} */

.editing {
	animation: 1s linear warnEditing;
	animation-iteration-count: infinite;
}

.warning-mark {
	position: relative;
}

.warning-mark::after {
	content: "!";
	color: white;
	text-align: center;
	vertical-align: middle;
	font-size: 14px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: var(--red);
	position: absolute;
	right: 5px;
	border: 1px solid red;
	/*top: 0;*/
}

.selected-row {
	border: 3px solid #a12c0d;
	position: sticky;
	top: 0;
	bottom: 0;
	z-index: 1;
}

#parts .modal-list-row {
	position: relative;
}

.selected-row-dark {
	border: 3px solid black;
}

.msg {
	min-height: 30px;
	border: 2px solid lightgray;
	padding: 2px;
	color: lightgray;
	border-radius: 4px;
	margin: 7px 0;
	text-align: center;
	opacity: 0;
	font-size: 16px;
	font-weight: 100;
}

.msg-warning {
	border: 2px solid red;
	color: red;
	opacity: 1;
}

.msg-good {
	border: 2px solid green;
	color: green;
	opacity: 1;
	transition-duration: 1s;
}

.not-ordered,
.not-ordered * {
	background-color: var(--red);
	color: white;
}

.waitorder-sign::after,
.dolg-sign::after {
	content: "!";
	color: white;
	font-size: 14px;
	width: 16px;
	height: 16px;
	background-color: var(--red);
	position: absolute;
	top: -5px;
	right: -5px;
	border-radius: 50%;
	text-align: center;
	vertical-align: middle;
}


#bank-list .modal-list-row.has-not-ordered span {
	color: #8f0026;
}

.client-setup .icon-note{
	position: absolute;
	right: 25px;
}
.parts-setup .icon-note{
	position: absolute;
	left: 280px;
}