@charset "utf-8";

main {
	position: relative;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	column-gap: 20px;
	row-gap: 50px;
	flex-wrap: wrap;
}

main #lines {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	row-gap: 20px;
}

main #lines .line {
	display: flex;
	flex-wrap: wrap;
	column-gap: 20px;
	align-items: center;
}

main #lines .line img {
	width: 75px;
	height: 75px;
	object-fit: cover;
}

main #lines .line .name {
	width: 350px;
	font-size: 1.5rem;
}

main #lines .line .EAN {
	font-size: 1.3rem;
}

main #lines .line .green,
main #lines .line .orange,
main #lines .line .red,
main #lines .line .black {
	width: 150px;
	font-size: 1.5rem;
}

main #lines .line .green {
	color: #008000;
}

main #lines .line .orange {
	color: #FF9900;
}

main #lines .line .red {
	color: #FF0000;
}

main #lines .line .black {
	color: black;
}

main #lines .line .green::before,
main #lines .line .orange::before,
main #lines .line .red::before,
main #lines .line .black::before {
	display: inline-block;
	background-size: 1rem 1rem;
	width: 1rem;
	height: 1rem;
	margin-right: 5px;
	line-height: 1.3rem;
	content: '';
}

main #lines .line .green::before {
	background-image: url('/assets/img/icons/circle_green.svg');
}

main #lines .line .orange::before {
	background-image: url('/assets/img/icons/circle_orange.svg');
}

main #lines .line .red::before {
	background-image: url('/assets/img/icons/circle_red.svg');
}

main #lines .line .black::before {
	background-image: url('/assets/img/icons/circle_black.svg');
}

main #lines .line .quantityChooser {
	display: flex;
	column-gap: 5px;
	align-items: center;
}

main #lines .line .quantityChooser .lessOrMore {
	width: 30px;
	height: 30px;
	vertical-align: bottom;
	cursor: pointer;
}

main #lines .line .quantityChooser .quantity {
	width: 30px;
	font-size: 1.8rem;
	text-align: center;
	line-height: 30px;
}

main #lines .line .remove {
	width: 30px;
	height: 30px;
	cursor: pointer;
}

main #lines .line .quantityChooser .lessOrMore:hover,
main #lines .line .remove:hover {
	fill: #E8943D;
}

main #lines .line .loader {
	width: 25px;
	height: 25px;
	visibility: hidden;
}

main #lines .empty {
	font-size: 2rem;
	align-self: center;
}

main #lines .line.comment {
	margin: 20px auto 20px 0;
}

main #lines .line.comment textarea {
	width: 800px;
}

main .tileSwitch {
	width: 500px;
	height: min-content;
	margin: 0 auto;
	padding: 30px;
	border: solid 4px #3A4980;
	border-radius: 10px;
	color: #3A4980;
	font-size: 1.8rem;
}

main .tileSwitch .switch {
	margin-top: 20px;
	display: flex;
	column-gap: 20px;
	row-gap: 20px;
	align-items: center;
}

#FetchMessage {
	font-size: 1.5rem;
}

@media only screen and (max-width: 900px) {
	main #lines .line.comment {
		margin: 20px auto;
	}

	main #lines .line.comment textarea {
		width: 500px;
		margin: 20px auto;
	}

	main .tileSwitch {
		margin-top: -50px;
	}
}

@media only screen and (max-width: 600px) {
	main #lines .line img {
		width: 50px;
		height: 50px;
		object-fit: cover;
	}

	main #lines .line .name {
		width: 250px;
		font-size: 1rem;
	}

	main #lines .line .EAN {
		font-size: 1rem;
	}

	main #lines .line .quantityChooser .lessOrMore {
		width: 20px;
		height: 20px;
	}

	main #lines .line .quantityChooser .quantity {
		width: 20px;
		font-size: 1.2rem;
		line-height: 20px;
	}

	main #lines .line .remove {
		width: 20px;
		height: 20px;
	}

	main #lines .line .loader {
		width: 15px;
		height: 15px;
	}

	main #lines .line.comment textarea {
		width: 300px;
	}

	main .tileSwitch {
		width: 300px;
		padding: 20px;
		font-size: 1.3rem;
	}

	main .tileSwitch .switch {
		flex-direction: column;
}

	main .tileSwitch .switch button {
		width: fit-content;
	}
}