.toasts {
	position: fixed;
	z-index: 9999;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	overflow: hidden;
	pointer-events: none;
}
.toasts__item {
	pointer-events: auto;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	width: auto;
	max-width: 300px;
	max-height: calc(100vh - 30px);
	padding: 15px;
	border-radius: 2px;
	opacity: 0.9;
	box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.25);
	background-color: #222e3c;
	color: #fff;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	transition: all 0.3s;
	animation-name: toast_appear;
	animation-duration: 0.3s;
	animation-fill-mode: both;
}
.toasts__item:not(:last-child) {
	margin-bottom: 20px;
}
.toasts__item:hover {
	opacity: 1;
	box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.35);
}
.toasts__item.success {
	background-color: #28a745;
}
.toasts__item.info {
	background-color: #3b7ddd;
}
.toasts__item.warning {
	background-color: #ffc107;
}
.toasts__item.error {
	background-color: #dc3545;
}
.toasts__item.disappear {
	animation-name: toast_disappear;
}
.toasts__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-right: 13px;
	border-radius: 50%;
	background-color: #fff;
	position: relative;
}
.toasts__icon::before, .toasts__icon::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	border-radius: 3px;
	background-color: #222e3c;
	transform: rotate(-45deg);
}
.toasts__icon::before {
	width: 3px;
	height: 11px;
	top: 6px;
	left: 11px;
	transform: rotate(45deg);
}
.toasts__icon::after {
	width: 3px;
	height: 6px;
	top: 10px;
	left: 6px;
	transform: rotate(-45deg);
}
.toasts__icon.warning::before, .toasts__icon.warning::after, .toasts__icon.error::before, .toasts__icon.error::after {
	width: 3px;
	height: 12px;
	top: 50%;
	left: 50%;
}
.toasts__icon.warning:after, .toasts__icon.error:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.toasts__icon.warning:before, .toasts__icon.error:before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.toasts__icon.success::before, .toasts__icon.success::after {
	background-color: #28a745;
}
.toasts__icon.info::before, .toasts__icon.info::after {
	background-color: #3b7ddd;
}
.toasts__icon.warning::before, .toasts__icon.warning::after {
	background-color: #ffc107;
}
.toasts__icon.error::before, .toasts__icon.error::after {
	background-color: #dc3545;
}
.toasts__text {
	height: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
}

@keyframes toast_appear {
	0% {
		opacity: 0;
		transform: translateY(25%);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes toast_disappear {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(25%);
	}
}
