/* Content styles */
#myalerts_alerts_modal .modal-content {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}
.modal-content {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #999999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}


/* Header styles */
#myalerts_alerts_modal .modal-header {
    padding: 12px 5px;
    background: #0d91d3;
    text-decoration: none;
}
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    height:50px;
}
#myalerts_alerts_modal .modal-header .btn-primary {
    border-color: transparent;
    color: #fff;
}
#myalerts_alerts_modal .modal-header .btn-xs {
    padding: 0px 5px;
    font-size: 14px;
    line-height: 1.6;
}
#myalerts_alerts_modal .modal-header .btn-xs {
    padding: 0px 5px;
    font-size: 14px;
    line-height: 1.6;
}
.btn-message {
    border-color: transparent;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
    background: #66cc33;
    color: #fff !important;
}
#myalerts_alerts_modal .list-group {
    margin-top: -1px;
}

/* Footer styles */
#myalerts_alerts_modal .modal-footer {
    padding: 5px;
}
.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    margin-top:-1px;
}

/* Controlling close button positioning */
.myalerts-closeicon {
opacity: 0.8;
color: #fff;
font-size: 12px;
top: -2px;
margin-left: 2px;
margin-right: -4px;
text-shadow: none;
}


/* List item styles */
#myalerts_alerts_modal .media-body a {
    color: black;
}
#myalerts_alerts_modal .list-group-item:hover {
    background: #eff;
}
#myalerts_alerts_modal .notification-icon {
    color: #66cc33;
    margin-top: -2px;
}
#myalerts_alerts_modal .notification-icon .fa-fw {
    margin-top:-1px;
}
.alert__time {
    margin-top: 3px;
}


/* Why the heck does the MyAlerts modal add a 17px padding-right to things automatically? Pretty dumb addition... */
body, #myalerts_alert_modal {
padding-right: 0px !important;
}