/*Info Type (and some NotifHub styles */ 
.standardInfoBanner.modal{
  margin:0;
  width:0;
  height:0;
}
.standardInfoBanner .modal-dialog{
  position:fixed;
  bottom:65px;
  right:15px;
  margin:0;
  width:400px;
}
.standardInfoBanner .modal-header, .notifHubModal .modal-header{
  background: #565656;
  color: white;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  outline: 1px solid #565656;
  border-bottom: 0px;
}
.standardInfoBanner .modal-body{
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  background: #747474;
  outline: 1px solid #747474;
  color:white;
}
.standardInfoBanner .modal-header i, .notifHubModal .modal-header i{
  font-size: 22px;
  margin-right: 10px;
  color: #1faa2c;
  background-color: white;
  padding: 5px 9px;
  border-radius: 15px;
}
.standardInfoBanner a, .notifHubModal a{
  color:white;
  text-decoration: underline;
}
.standardInfoBanner a:hover, .notifHubModal a:hover{
  filter:brightness(.85);
  color: white !important;
}
.standardInfoBanner .infoDismiss{
  font-size: 12px;
  display: block;
  text-align: right;
}
/* minimized banner css */
.minimized{
  position:fixed;
  bottom: 75px;
  right: 25px;
  width: 50px;
  background: white;
  color: #1faa2c;
  border: 1px solid #1faa2c;
  border-radius: 25px;
  padding:15px;
  text-align: center;
  box-shadow: 0 0 0 3px #cececea6;
}
.minimized i{
  font-size:18px;
}
.minimized:hover{
  cursor: pointer;
  animation: pulse 2s 2;
}
@keyframes pulse{ /* adapted from https://www.florin-pop.com/blog/2019/03/css-pulse-effect/ */
  0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 3px  #cececea6;
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 7px #cececea6;
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 3px #cececea6;
	}
}
.minimizeBtn{
  position: absolute;
  right: 15px;
  top: 18px;
  color: white;
  background: #565656;
  padding: 0px 7px 3px;
  cursor: pointer;
  border: 0;
  border-radius: 15px;
  font-size:28px;
  line-height: .85;
  opacity:.85;
}
.minimizeBtn:hover{
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0 0);
}
.standardInfoBanner.fade {
  opacity: 0;
  -webkit-transition: opacity .3s linear;
  transition: opacity .3s linear;
}

/*Notification Hub Modal */
.notifHubModal.modal{
  margin:0;
  width:0;
  height:0;
  z-index: 1040; /*show beneath other modals */
}
.notifHubModal .modal-dialog{
  position:fixed;
  bottom:150px;
  right:15px;
  margin:0;
  width:375px;
}
.notifHubModal .modal-content{
  background-color: #787878;
  color: white;
}
.notifHubModal .modal-header{
  background-color: #565656;
}
.notifHubModal .modal-body{
  max-height: 500px;
  overflow-y: scroll;
  margin-bottom: 15px;
}
.notifHubModal h5{
  font-size:15px;
}
.notifHubModal h5 i{
  padding-right:10px;
  font-size: 18px;
  margin-right: 10px;
  background-color: white;
  padding: 5px 8px;
  border-radius: 15px;
  color: #1faa2c;
}
.notifHubModal h5.Alert i{
  color:darkred;
}
.notifDiv{
  margin-left:1%;
  padding-bottom: 15px;
  border-bottom: 1px solid #9b9b9b;
}
.notifDiv .notifDate{
  font-size: 13px;
  font-weight: bold;
  font-style: italic;
  color: #424242;
  margin-bottom: 5px;
}
/* Custom Hub Scrollbar - tips from https://css-tricks.com/almanac/properties/s/scrollbar/ */
.notifHubModal ::-webkit-scrollbar {
  width: 11px;
}

.notifHubModal ::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
}

.notifHubModal ::-webkit-scrollbar-thumb {
  background-color: #606060;
}

/* Alert Type */
.standardAlertBanner .modal-dialog{
  padding-top: 8.5em;
  width:550px;
}
.standardAlertBanner .modal-header{
  background: darkred;
  color: white;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  outline: 1px solid darkred;
  border-bottom: 0px;
}
.standardAlertBanner .modal-body{
  text-align: center;
  padding: 25px 40px;
}
.standardAlertBanner .modal-header i, #alertTitle i{
  font-size: 22px;
  margin-right: 10px;
  color: darkred;
  background-color: white;
  padding: 5px 9px;
  border-radius: 15px;
}

/* inline Alert: used on course library pages */
.alert-inline{
  background-color: #efc1c1;
  border: 1px solid darkred !important;
  font-size: 15.5px;
}
#alertTitle{
  color: darkred;
  font-weight:bold;
}
#alertBody{
  margin:15px;
}

/* Extras, including Media Queries */
body.notifHubOpen{ /* if notifHub is open, please no padding! */
  padding-right: 0 !important;
  overflow-y:scroll;
}
@media screen and (max-height: 967px){
  .notifHubModal .modal-body{
    max-height: 250px;
  }
}
@media screen and (max-width: 400px){
  .standardInfoBanner .modal-dialog, .standardAlertBanner .modal-dialog, .notifHubModal .modal-dialog{
    max-width: 350px;
  }
}