/* Site Notice 4.2.1 by Jesse Fowler, Copyright 2018 Fiserv. All rights reserved. */
.notice {
    background-color: #EE3124;
    color: #fff;
}

.notice p {
    color: inherit;
    line-height: 1.2;
}

.notice a {
    white-space: nowrap;
}

@media only screen and (max-width: 1000px) {
    .notice-clone {
        display: none !important;
    }
}

.noticeHtml > table > tbody > tr > td > *:last-child {
    margin-bottom: 0;
}

.noticeHtml > table, .noticeHtml > table.dark {
    color: #ffffff;
}

.noticeHtml table td {
    padding: 1em 1em 0.5em 1em;
    text-align: left;
}

.noticeHtml > table.light {
    color: #000;
}


.noticeHtml a:not([class*="Button"]) {
    color: inherit;
}

.noticeHtml a:not([class*="Button"]):hover {
    color: inherit;
}

@media (min-width:963px) {
    .notice.popup {
        position: fixed;
        top: -100vh;
        bottom: auto;
        left: 0;
        right: 0;
        max-height: none;
        margin: 0;
        z-index: 490;
        background-color: rgba(0, 0, 0, 0);
    }

    .notice.popup.active {
        top: 0;
        bottom: 0;
        transition: background-color .75s ease-in-out;
        background-color: rgba(0, 0, 0, .5);
    }

    .notice.popup > * {
        position: relative;
    }

    .notice.popup .noticeHtml {
        transition-duration: 0s;
    }

    .notice.popup .noticeHtml {
        position: fixed;
        top: 45%;
        left: 50%;
        margin: 0;
        z-index: 490;
        min-width: 40em;
        max-height: 80%;
        margin-top: -100vh;
        transition-property: margin-top;
        transition-duration: 0s;
        transition-ease: ease-in-out;
        transform: translate(-50%, -45%);
        color: inherit;
    }

    .notice.popup .noticeHtml > table,
    .noticeHtml > table.light,
    .noticeHtml > table.light {
        background-color: #EE3124;
        color: #fff;
    }

    .notice.popup.active .noticeHtml {
        transition-duration: .75s;
        margin-top: 0;
    }

    .notice.popup .noticeHtml table {
        box-shadow: none;
        display: flex;
        padding: 0 !important;
        margin: 0;
        align-content: center;
        align-items: center;
    }

    .notice.popup .noticeHtml table > *, .notice.popup .noticeHtml table > * > tr, .notice.popup .noticeHtml table > * > tr > * {
        display: flex;
        height: 100%;
        padding: 0 !important;
        margin: 0;
        flex-grow: 1;
    }

    .notice.popup .noticeHtml table > * > tr > * {
        position: relative;
        padding: 2em 2em !important;
        z-index: 1000;
    }

    .notice.popup .noticeHtml table td {
        box-shadow: none;
    }

    .notice.popup.noticeHtml p {
        color: #666666;
    }

    .notice.popup.noticeHtml {
        color: #666666;
    }

    .notice.popup.active .noticeHtml {
        box-shadow: none;
    }

    .notice.popup .noticeclosers {
        color: inherit;
    }
}

@media (min-width:963px) {
    .notice.bottom-right-popup {
        position: fixed;
        right: -30em;
        bottom: 2em;
        z-index: 490;
        width: 23em;
        height: auto;
        max-height: 0em;
        color: #FFF;
        background-color: #666;
        transition: right 2.2s ease, background .5s ease;
        box-shadow: 0.083em 0.083em 0.208em 0em rgba(0,0,0,0.32);
        overflow: hidden;
        visibility: hidden;
    }

    .notice.bottom-right-popup:hover {
        background-color: #333;
    }

    .notice.bottom-right-popup .noticeHtml {
        height: auto;
        overflow: hidden;
    }

    .notice.bottom-right-popup.active {
        right: 2em;
    }

    .notice.bottom-right-popup.active, .notice.bottom-right-popup.active .noticeHtml {
        max-height: 8.333em;
        visibility: visible;
    }

    .notice.bottom-right-popup .noticeHtml table {
        display: flex;
        padding: 0.5em 1.5em 0.5em 3.667em !important;
        height: auto;
        overflow: hidden;
    }

    .notice.bottom-right-popup:before {
        display: block;
        position: absolute;
        content: '';
        height: 100%;
        width: 0.75em;
        top: 0;
        left: 0;
        z-index: 20;
        background-color: #FF6600;
    }

    .notice.bottom-right-popup .noticeHtml > table:after {
        display: flex;
        position: absolute;
        height: 100%;
        align-items: center;
        top: 0;
        left: 1em;
        content: '';
        font-family: 'FontAwesome';
        content: "\f05a";
        font-size: 1.792em;
        opacity: .65;
        z-index: 1;
    }

    .notice.bottom-right-popup h3 {
        font-size: 0.75em;
        line-height: 0.875em;
        padding: 0;
        margin: 0;
    }

    .notice.bottom-right-popup p {
        /* padding: 0.125em 0; */
        /* margin: 0.125em 0; */
    }

    .notice.bottom-right-popup .noticeclosers {
        position: absolute;
        box-sizing: border-box;
        text-align: center;
        right: 0.4em;
        z-index: 5;
    }

    .notice.bottom-right-popup .noticecloser, .notice.bottom-right-popup .noticeclosersession {
        display: block;
        min-height: 1.25em;
        box-sizing: border-box;
        width: 0.833em;
        cursor: pointer;
        text-align: center;
        font-family: 'FontAwesome';
        font-size: 0.75em;
    }
}

/*SITE NOTICE OVERRIDES*/
.notice.bottom-banner {
    z-index: 1003;
}

@media only screen and (min-width:1001px) {
    .noticeHtml {
        max-height: 8.208em;
    }
}

.noticeclosers {
    top: 0.25em;
    right: .5em;
    display: none; /*reset for two column*/
}

.notice table td:only-of-type .noticeclosers,
.notice table td:last-of-type .noticeclosers {
    display: flex;
}

.noticecloser, .noticeclosersession {
    margin: 0.125em .35em !important;
    font-size: 1em;
}

.noticecloser:hover, .noticeclosersession:hover {
    opacity: .65;
}

.noticeHtml h2, .noticeHtml h3, .noticeHtml h4 {
    margin: 0 !important;
    padding: 0 !important;
}

.notice[class*="-banner"] table td {
    padding: .75em 1em !important;
}

@media only screen and (min-width: 1001px) {

    .notice[class*="-banner"] table td:first-of-type:not(:only-of-type):before {
        display: flex;
        align-items: center;
        content: '\f071';
        font-family: 'FontAwesome';
        position: absolute;
        left: .25em;
        margin: auto;
        font-size: 3.5em;
        height: 100%;
        top: .05em;
        opacity: .4;
        z-index: 1;
        color: rgba(128, 128, 128, 0.5);
        transition: opacity .5s ease;
    }

    .notice[class*="-banner"] table.dark td:first-of-type:not(:only-of-type):before {
        color: rgba(255, 255, 255, 0.65);
    }

    .notice[class*="-banner"]:hover table td:first-of-type:not(:only-of-type):before {
        opacity: 1;
    }
}

@media only screen and (min-width: 669px) {

    .notice[class*="-banner"] table td:not(:only-of-type) {
        text-align: left;
    }

    .notice[class*="-banner"] table td:first-of-type:not(:only-of-type) {
        text-align: right;
        width: 25%;
    }
}

@media only screen and (max-width: 490px) {
    .notice[class*="-banner"] table tr td {
        float: left;
        width: 100%;
        padding: 0 1em .5em 1em !important;
        margin: 0 !important
    }

    .notice[class*="-banner"] table tr td:only-of-type {
        padding: 1.5em 1em 1em 1em !important;
    }

    .notice[class*="-banner"] table tr td:first-of-type:not(:only-of-type) {
        padding-top: 2em !important;
        padding-bottom: 0 !important;
    }
}

@media only screen and (max-width: 1000px) {
    .notice.active {
        max-height: 20em;
    }
}

/* App Banners 2.0.1 by Jesse Fowler, Copyright 2018 Fiserv. All rights reserved. */
.app {
    background-color: rgba(255,255,255,.5);
    border-radius: 1rem;
}

.app img {
    overflow: hidden;
    border-radius: 1rem;
}

.notice.appbanner .noticeHtml {
    padding: 1.5em .75em 0 .75em !important;
}

.appbanner.active .noticeclosers {
    top: 0.3em;
    right: 1rem;
    display: flex;
}

.appbanner .noticecloser, .appbanner .noticeclosersession {
    margin: 0 .5em !important;
    font-size: 0.9167rem;
}

.noticeHtml a:after {
    display: none; /*hide external link icon*/
}
