.alert {
    padding: 0;
    margin: 0;
}

.alert_wrapper:before {
    content: '\f0f3';
    font-family: 'FontAwesome';
    font-weight: 900;
    /* text-shadow: 2px 2px 5px black; */
    color: black;
    transform: rotate(-20deg);
    display: block;
    width: 1em;
    line-height: 40px;
}

.red.alert_wrapper:before {

    color: white;
}

.alert_wrapper {
    display: flex;
    padding: 0.3em 1em;
    /* position: absolute; */
    bottom: 0;
    /* max-width: 100vw; */
    width: 100%;
    background: #ffffff;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: inset 0 -5px 20px #0000001c;
    transition: .3s all ease;
}

a.alert_item {
    color: black;
    margin-left: 0.7em;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: calc(100% - 2rem);
}

.red a.alert_item {
    color: white
}

a.alert_item:hover {
    color: black;
}

.red a.alert_item:hover {
    color: white;
}

.alert_wrapper.yellow {
    background: var(--mr-color-yellow);
}

.alert_wrapper.green {
    /* background: var(--mr-color-green); */
}

.alert_wrapper.red {
    background: var(--mr-color-red);
}

a.alert_item p {
    margin: 0;
}

a.alert_item .alert_description {
    font-weight: 400;
    margin-left: 0.4rem;
    line-height: 1.1;
    text-decoration: none !important;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
}

a.alert_item .alert_title {
    font-size: 1.1em;
    margin: 0;
}

span.alert_readmore::after {
    content: '\f061';
    font-family: 'FontAwesome';
    font-weight: 900;
    font-size: 1rem;
    margin-left: 0.5rem;
    color: var(--mr-color-black);
}

.red span.alert_readmore::after {

    color: #ffffff;
}

span.alert_readmore {
    color: var(--mr-color-black);
}

.red span.alert_readmore {
    color: #ffffff;
}

a.alert_item .alert_text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
    flex-grow: 1;
}

@media (max-width:991px) {
    .alert_wrapper {
        position: relative;
        top: 58px;
        z-index: -1;
        transform: translate(0, 0)
    }

    header.is_stuck .alert_wrapper {
        transform: translate(0, -101%);
    }

    body.has_alert .page {
        margin-top: 110px;
    }
}