.custom-alert {
	display: block;
	position: relative;
	max-height: 0;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
	transition: max-height 0.3s ease-out, opacity 0.5s ease;
}
.custom-alert.is-shown {
	max-height: 400px;
	opacity: 1;
	pointer-events: all;
	transition: max-height 0.6s ease-in;
}

.custom-alert .alert-container {
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 25px 0;
	text-align: center;
}
.custom-alert .alert-container .closer {
	padding: 5px 8px;
	position: absolute;
	top: 5px;
	right: 0;
}
.custom-alert.green-bg .alert-container .closer,
.custom-alert.blue-bg .alert-container .closer,
.custom-alert.orange-bg .alert-container .closer {
	background-color: var(--white);
	color: var(--teal-dark);
}
.custom-alert.purple-bg .alert-container .closer {
	background-color: var(--white);
}
.custom-alert.purple-bg .alert-container .closer:hover {
	background-color: var(--teal-dark);
}
.custom-alert.green-bg .alert-container .closer:hover,
.custom-alert.orange-bg .alert-container .closer:hover, 
.custom-alert.blue-bg .alert-container .closer:hover {
	color: var(--white);
	background-color: var(--teal-light);
}

.custom-alert .alert-container .image-container {
	padding-bottom: 20px;
}

.custom-alert .alert-container .text-container {}
.custom-alert .alert-container .text-container h1 {
	margin: 0;
	font-size: 24px;
	line-height: 28px;
	text-align: center;
	color: var(--white);
}

.custom-alert .alert-container .text-container h1 a {
	color: var(--white);
}
.custom-alert.green-bg .alert-container .text-container h1,
.custom-alert.green-bg .alert-container .text-container h1 a,
.custom-alert.white-bg .alert-container .text-container h1,
.custom-alert.white-bg .alert-container .text-container h1 a {
	color: var(--teal-dark);
}

.custom-alert .alert-container .text-container p {
	margin-bottom: 0;
	color: var(--white);
}
.custom-alert.green-bg .alert-container .text-container p,
.custom-alert.white-bg .alert-container .text-container p {
	color: inherit;
}

.custom-alert .alert-container .text-container .readmore {
	font-weight: bold;
}
.custom-alert.purple-bg .alert-container .text-container .readmore,
.custom-alert.orange-bg .alert-container .text-container .readmore,
.custom-alert.blue-bg .alert-container .text-container .readmore {
	color: var(--white);
}

.custom-alert.green-bg .alert-container .text-container .readmore,
.custom-alert.white-bg .alert-container .text-container .readmore {
	color: var(--teal-dark);
}

.custom-alert.blue-bg .alert-container .text-container .readmore:hover {
	color: var(--orange);
}

.custom-alert.orange-bg .alert-container .text-container .readmore:hover {
	color: var(--teal-lightest);
}

.custom-alert.purple-bg .alert-container .text-container .readmore:hover {
	color: var(--teal-dark);
}

.custom-alert.red-bg .alert-container .text-container .readmore:hover {
	color: var(--white);
}

.custom-alert.green-bg .alert-container .text-container .readmore:hover,
.custom-alert.white-bg .alert-container .text-container .readmore:hover {
	color: var(--teal-light);
}

/* Tablet & up */
@media only screen and (min-width: 40.063em) {
	.custom-alert .alert-container {
		flex-direction: row;
		text-align: left;
	}
		.custom-alert .alert-container .text-container h1 {
			font-size: 28px;
			line-height: 36px;
			text-align: left;
		}

		.custom-alert .alert-container .image-container {
			padding-bottom: 0;
			padding-right: 25px;
		}
}

/* Desktop & up */
@media only screen and (min-width: 64.063em) {
	.custom-alert .alert-container .text-container h1 {
		font-size: 34px;
		line-height: 40px;
	}
}
