/*
Formats the UMB Alerts banner on pharmacy.umaryland.edu, which is pulled from https://www.umaryland.edu/alerts-include/
Generated by UMB's central Office of Communications and Public Affairs April 19, 2019
*/

.header_alert a {
  text-decoration:none; 
}

.header_alert .um_alert {
  color: rgb(255, 255, 255);
  padding: 1em 2em;
  -webkit-transition: background-color .5s; /* For Safari 3.1 to 6.0 */
  transition: background-color .5s;
  font-size: 15px;
  line-height: 1.5;
}

.header_alert .alert_text {
  margin-left: 3.5em;
}

.header_alert .alert_title {
  font-weight:bold;
  padding-right:.5em;
  display:block;
}
.header_alert .alert_summary {
  color:#F8F8F8;
  display: block;
  line-height: 1.5em;
  max-height: 9em; /*The text will never be cut off mid-line, so long as the max height is evenly divisible by the line height.*/
  overflow: hidden;
}

.header_alert  .alerts_read_more {
  font-weight: normal;
}

.header_alert .um_alert img {
  float: left;
  height: 1.75em;
  margin: 0 1.5em 0 0; 
}

.header_alert .um_alert {
    background-color: #007698;
} 

.header_alert a:hover .um_alert {
  	background-color:#0290B3;
}

header.site-header {
  	position: relative;
}