.usercp_nav_myalerts {
	background: url(../../../images/usercp/transmit_blue.png) no-repeat left center !important;
}

.usercp_nav_myalerts_delete_all {
	background: url(../../../images/usercp/delete.png) no-repeat left center !important;
}

.usercp_nav_myalerts_delete_read {
	background: url(../../../images/usercp/bin.png) no-repeat left center !important;
}

.newAlerts > a {
	color: red !important;
}

ul.panel_links a.myalerts {
	background-position: 0 -180px;
}

.alert-row__no-alerts td {
	text-align: center;
}

.alert--read.alert {
	opacity: .5;
}

.alert.alert--read td.trow1 {
	background-color: #F5F5F5;
}

.alerts--new a {
	color: red !important;
	font-weight: bold;
}

#myalerts_alerts_modal {
	width: 460px;
}

#myalerts_modal_right_btns {
	margin-top: 4px;
}

.alert {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    min-height: 3rem;
    background-color: #202020;
    border-radius: .5rem;
    color: #ccc;
    box-sizing: border-box;
}

/* columns */
.alert__col {
    display: flex;
    align-items: center;
}

.alert__col--icon {
    margin-right: 0.5rem;
    flex: 0 0 auto;
}

/* main text column grows and centers contents */
.alert__col--main {
    flex: 1 1 auto;
    justify-content: center;   /* NEW */
}

.alert__col--dismiss {
    margin-left: 0.5rem;
    flex: 0 0 auto;
}

/* text inside should be centered */
.alert__col--main .t-center {
    text-align: center;
    width: 100%;
}

/* icon sizing */
.alert__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

p.bam_announcement.rxcl-alert-danger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    min-height: 3rem;
    background-color: #f44336 !important;   /* force red bg */
    border-radius: .5rem;
    color: #1c1c1c !important;
	font-weight: bold;
    box-sizing: border-box;
    margin: 1rem 0 1.5rem 0;
    text-align: center;
}

/* Style the date to be slightly dimmer but still readable */
.rxcl-alert-danger .bam_date {
    opacity: 0.8;
    margin-left: .25rem;
}

/* Close "x" on the right */
.rxcl-alert-danger .close_bam_announcement {
    margin-left: 0.75rem;
    cursor: pointer;
    font-weight: bold;
}

/* Ensure any link inside is visible */
.rxcl-alert-danger a {
    color: #fff;
    text-decoration: underline;
}