/*!
 * Toastify js 1.12.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */

.toastify {
	padding: 18px 18px;
	color: #ffffff;
	display: flex;
	align-items: center;
	box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12),
		0 10px 36px -4px rgba(77, 96, 232, 0.3);
	background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
	background: linear-gradient(135deg, #73a5ff, #5477f5);
	position: fixed;
	opacity: 0;
	transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
	border-radius: 5px;
	text-decoration: none;
	min-width: 250px;
	max-width: 500px;
	font-size: 1.125rem;
	z-index: 2147483647;

	icon-component {
		width: 20px;
		height: 20px;
		margin-right: 10px;

		.icon {
			fill: white;
			width: 20px;
			height: 20px;
		}

		&[icon="circle-xmark-solid"] {
			width: 24px;
			height: 24px;

			.icon {
				width: 24px;
				height: 24px;
			}
		}
	}
}

.toastify.on {
	opacity: 1;
}

.toast-close {
	background: transparent;
	border: 0;
	color: rgb(255, 255, 255);
	cursor: pointer;
	font-family: inherit;
	font-size: 1em;
	opacity: 0.6;
	padding: 0 5px;
	margin-left: 20px;

	&:hover {
		opacity: 1;
	}
}

.toastify-right {
	right: 15px;
}

.toastify-left {
	left: 15px;
}

.toastify-top {
	top: -150px;
}

.toastify-bottom {
	bottom: -150px;
}

.toastify-rounded {
	border-radius: 25px;
}

.toastify-avatar {
	width: 1.5em;
	height: 1.5em;
	margin: -7px 5px;
	border-radius: 2px;
}

.toastify-center {
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	max-width: fit-content;
	max-width: -moz-fit-content;
}

@media only screen and (max-width: 360px) {
	.toastify-right,
	.toastify-left {
		margin-left: auto;
		margin-right: auto;
		left: 0;
		right: 0;
		max-width: fit-content;
	}
}
