﻿.xo-notifications_container {
	position: fixed;
	margin-left: 25%;
	width: 50%;
	z-index: 20000;
	padding: 0;
}

.xo-notifications_notification {
	margin: 0.25rem;
	padding: 0.5rem;
	color: white;
	display: flex;
}

div.xo-notifications_notification--error {
	background-color: red;
}

div.xo-notifications_notification--info {
	background-color: gray;
}

div.xo-notifications_notification--success {
	background-color: #56c392;
	border: 0;
}



.xo-notifications_close-button {
	background-color: rgba(255, 255, 255, 0.3);
	border-width: 1px;
	border-radius: 4px;
	flex-basis: auto;
	width: 2rem;
	height: 2rem;
	margin-left: 0.5rem;
}

.xo-notifications_message {
	flex-basis: 100%;
	flex-grow: 1;
}

@keyframes xo-notifications_notification--fade-in-anim {
	0% {
		opacity: 0
	}

	15% {
		opacity: 1
	}
}


@keyframes xo-notifications_notification--fade-in-out-anim {
	0% {
		opacity: 0
	}

	15% {
		opacity: 1
	}

	85% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}
