/**
 * RAVE Custom/Emergency Alerts for Emerson Publications
 *
 * @author            Johnny Richardson
 * @copyright         2021 Emerson College
 *
 **/
 
#rave-alert {
	display: flex;
	padding: 1% 2.77778%;
	position: relative;
	width: 100%;
}

#rave-header {
	flex: 0 1 auto;
	width: calc(100% - (2.78% + 50px));
}

.alert__theme {
	background-color: #E8194D;
	color: #000;
}

.alert__theme--active {
	color: #fff;
}

.alert_title {
	display: flex;
	align-items: center;
}

.alert_title_icon {
	margin-right: 1em;
}

.alert_title_icon>.icon {
	height: 2em;
	width: 2em;
}

.alert_title_link_label {
	font-size: 1.4em;
	font-weight: 700;
}

.alert_body {
	margin-left: 3em;
}

#rave-header > div.alert_body > p > a  {
	color: currentcolor !important;
}


.alert_time {
	font-size: 0.9em;
}


button.alert_close {
	position: absolute;
	right: 2.77778%;

	height: 50px;
	line-height: 1em;
	padding: 0;
	width: 50px;

	top: 34px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.2);
	border-radius: 100%;
	-webkit-transition: background 0.25s;
	transition: background 0.25s;
}



.alert_close_icon {
	position: relative;
	top: 2px;
	display: inline-block;
	pointer-events: none;
	text-align: center;
	-webkit-transition: -webkit-transform 0.25s;
	transition: -webkit-transform 0.25s;
	transition: transform 0.25s;
	transition: transform 0.25s, -webkit-transform 0.25s;

	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}


.alert_close_icon .icon {
	width: 15px;
	height: 15px;
	fill: #000;	
	-webkit-transition: fill 0.25s;
	transition: fill 0.25s;
}
	
.alert__theme--active .alert_close_icon .icon {
	fill: #fff;
}

button:hover .alert_close_icon .icon {
	fill: #fff !important;
}


.alert_close_icon.closed {

	transform: rotate(0deg);
	-webkit-transform: rotate(0deg);

}