/*
==============================================
alert & confirm dialogs
==============================================
*/
.reveal {
    border: none;
}
.reveal--card {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	padding: 0;
}
.reveal--card__header {
	background: #eee;
	border-bottom: 1px solid #eee;
	padding: 1rem 2.5rem 1rem 1rem;
}
.reveal--card__header h4,
.reveal--card__header h5 {
	font-weight: 400;
	line-height: 1.4;
	margin: 0;
}
.reveal--card__content {
	padding: 1rem;
}
.reveal--card__footer {
	border-top: 1px solid #eee;
	padding: 1rem;
}
.reveal--card__footer .button {
	margin: 0;
}

/*
==============================================
toaster notifications
==============================================
*/
#toaster {
	align-items: center;
	background: green;
	color: #fff;
	display: flex;
	left: 0;
	position: fixed;
	right: 0;
	text-align: center;
	visibility: hidden;
	width: 100%;
	z-index: 1006;	
}	
#toaster.pos-bottom {
	bottom: 0;
}
#toaster.pos-bottom.open {	
	-webkit-animation: toaster-fadein-pos-bottom 0.5s;
	animation: toaster-fadein-pos-bottom 0.5s;
	visibility: visible;
}
@-webkit-keyframes toaster-fadein-pos-bottom {
	from {bottom: -30px; opacity: 0;}
	to {bottom: 0; opacity: 1;}
}
@-webkit-keyframes toaster-fadeout-pos-bottom {
	from {bottom: 0; opacity: 1;}
	to {bottom: -30px; opacity: 0;}
}

@keyframes toaster-fadein-pos-bottom {
	from {bottom: -30px; opacity: 0;}
	to {bottom: 0; opacity: 1;}
}
@keyframes toaster-fadeout-pos-bottom {
	from {bottom: 0; opacity: 1;}
	to {bottom: -30px; opacity: 0;}
}

#toaster.pos-top {
	top: 0;
}
#toaster.pos-top.open {	
	-webkit-animation: toaster-fadein-pos-top 0.5s;
	animation: toaster-fadein-pos-top 0.5s;
	visibility: visible;
}
@-webkit-keyframes toaster-fadein-pos-top {
	from {top: -30px; opacity: 0;}
	to {top: 0; opacity: 1;}
}
@-webkit-keyframes toaster-fadeout-pos-top {
	from {top: 0; opacity: 1;}
	to {top: -30px; opacity: 0;}
}

@keyframes toaster-fadein-pos-top {
	from {top: -30px; opacity: 0;}
	to {top: 0; opacity: 1;}
}
@keyframes toaster-fadeout-pos-top {
	from {top: 0; opacity: 1;}
	to {top: -30px; opacity: 0;}
}

#toaster.primary {
	background: #277cea;
}
#toaster.success {
	background: #5da423;
}
#toaster.alert {
	background: #c60f13;
}
#toaster.warning {
	background: #FFF3D9;
	color: #222;
}
#toaster.black {
	background: #555;
}
.toaster__content {
	flex: 1 0 auto;
	padding: 1rem 2rem;
}
.toaster__close {
	border-left: 1px solid rgba(255,255,255,0.25);
	cursor: pointer;
	padding: 1rem 1.5rem;
}
.toaster__close i {
	color: rgba(255,255,255,0.85);
	font-size: 2rem;
}
.toaster__close:hover i {
	color: rgba(255,255,255,1);
}

@media screen and (max-width: 39.9375em) {
	.toaster__content {
		flex: initial;
	}
}