.badge {
    background: rgba(0,0,0,0.35);
    color: white;
    border-radius: 50%;
    position: relative !important;
    left: -12px !important;
    top: 8px !important;
    font-size: 1em;
}

.dialog-error-message > .e-dlg-content {
    font-weight: bold;
    color: red;
    white-space: pre-wrap;
}

body {
    background-color: #EEEEEE;
    margin-bottom: 25px;
}

.quick-search {
    margin-top: .25rem;
    margin-bottom: .25rem;
}

.persi-mp-logo {
    width: 130px;
    padding: 5px;
}

.persi-mp-title {
    width: 100%;
    padding-top: 15px;
    font-size: 1.5em;
}

.arrivos-logo-container {
    padding-left: 20px;
}

.arrivos-environment-banner {
    font-size: 1.5em;
}

.mp-environment-banner {
    font-size: 1.5em;
    background-color: red;
    text-align: center;
    height: 100%;
}

.arrivos-top-navbar {
    margin-left: 0px;
    background-color: rgb(47, 64, 80);
    color: white;
}

.arrivos-top-navbar .btn {
    height: 25px;
    background-color: transparent;
    vertical-align: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0px;
    padding-bottom: 5px;
}

.arrivos-body-container {
    padding-bottom: 25px;
    margin-left: 0px;
    margin-top: 0px;
}

.container-fluid {
    margin-top: 40px;
}

.staff-view {
    margin-left: 280px; /* required margin for side nav */
}

.inbox-item {
    color: white;
    margin-bottom: 1em;
}

.inbox-button {
    color: white;
    position: absolute;
    padding-left: .65em;
}

.unread-message {
    position: absolute;
    padding-right: 6em;
    padding-top: 0.4em;
}

.btn-primary {
    color: #fff;
    background-color: #53798D;
    border-color: #1861ac;
}

.button-bottom-div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0px;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 100%;
}

.button-bottom-div .button-bottom {
    min-width: 40%;
}

body .card {
    box-shadow: 2px 4px 4px gray;
    height: 100% !important;
}

body .card-transparent {
    box-shadow: 2px 4px 4px gray;
    background-color: transparent;
}

.card-content-container {
    height: 100% !important;
    padding-bottom: 35px;
}

.i-want-to-button {
    display: inline-block;
    padding-top: 2px;
    padding-bottom: 2px;
}

#PaymentMethodDialog_title {
    width: 90%;
}

.e-dialog .e-dlg-header {
    width: 90%;
}

.e-popup.e-popup-open.e-dialog {
    max-width: 90%;
}

.arrivos-help-section-container {
    border-radius: 10px;
    border: 2pt solid #00A3B3;
    padding: 5px;
    background-color: #F8FCFC;
    font-weight: bold;
    margin-bottom: 15px;
}


.help-content-clear .card-content-container .arrivos-help-section-container {
    border-radius: 10px;
    border: 0pt solid #00A3B3;
    padding: 5px;
    background-color: transparent;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.help-content-clear .arrivos-help-section-container {
    border-radius: 10px;
    border: 0pt solid #00A3B3;
    padding: 5px;
    background-color: transparent;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.background-transparent {
    background-color: transparent;
}

.validation-summary-errors {
    border-radius: 10px;
    color: black;
    margin: 0px;
    margin-bottom: 15px;
}

.validation-message {
    font-weight: bold;
    color: #EB0000;/*base validation error message color not ADA compliant.*/
}

.validation-summary-warnings {
    border-radius: 10px;
    color: black;
    background-color: #E2D1E6;
    border-color: #963C97;
    margin: 0px;
    margin-bottom: 15px;
}

.e-warning {
    color: #963C97;
    font-weight: bold;
}

.arrivos-help-section-container .highlighted-for-edit {
    min-height: 50px;
    min-width: 10px;
    background-color: #71C8D3;
}

.highlighted-for-edit {
    border: 2pt solid lightgray;
    border-radius: 5px;
}

.button-grid-text {
    color: blue;
    font-family: inherit;
    font-size: 1em;
    width: fit-content;
    padding: 0px 0px;
    background-color: transparent;
    border: none;
}

.button-grid-text:hover {
    background-color: transparent;
    color: blue;
}

.button-grid-text:focus {
    background-color: transparent;
    color: blue;
    outline: none;
    box-shadow: none;
}

/*** Alert Box Styles ***/

.alert-note-container {
    border: 2px solid #aedfe9;
    color: #555;
    border-radius: 10px;
    margin: 10px;
    flex-shrink: 1;
}

.alert {
    padding: 10px;
}

.footer {
    overflow: hidden;
    line-height: 30px;
}

html, body {
    height: 100%;
}

#wrapper {
    margin: auto;
    min-height: 100%;
    position: relative;
    box-sizing: border-box;
}

#wrapper:after {
    content: "";
    display: block;
    clear: both;
}

.helpElement {
    border: none;
}

#footer {
    bottom: 0;
    position: fixed;
    width: 100%;
    text-align: center;
    background-color: #F4F1F1;
}

.content:before {
    content: "";
    display: block;
    height: 45px;
}

.vertical-align-wrapper {
    display: inline-block;
    white-space: normal;
}

.vertical-align-cell {
    display: inline-block;
    white-space: normal;
    vertical-align: middle;
    white-space: normal;
}

.e-upload .e-file-select-wrap .e-btn, .e-upload .e-upload-actions .e-btn, .e-bigger.e-small .e-upload .e-file-select-wrap .e-btn, .e-bigger.e-small .e-upload .e-upload-actions .e-btn {
    height: 40px;
    color: #fff;
    border-color: #1861ac;
    background-color: rgb(86, 126, 148);
}

.e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]) {
    color: #fff;
    background-color: rgb(86, 126, 148);
    border-color: #1861ac;
}

.e-btn.e-primary {
    color: #fff;
    background-color: rgb(86, 126, 148);
    border-color: #1861ac;
}

.display-field-spacing .form-field-row {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.display-field-spacing-post {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    font-style: italic;
}

.col-4-flex {
    width: 33%;
}

.paycheck-col-4-flex {
    width: 33%;
}

.statement-row {
    display: flex;
}

/* This style overrides the base address field to not be hardcoded at 400px. Base team says its up to us to do this.*/
/* Number is arbitrary will be auto filled to same size as other fields. Full style path used to ensure other fields arent hit by this. */
div.Arrivos-address-field-editor > div > div > div > div > div:nth-child(2) > div > span.e-ddl.e-lib.e-input-group.e-control-container.e-control-wrapper.valid {
    width: 50px !important;
}

.delete-col-flex {
    display: flex;
    flex-wrap: nowrap;
    padding: .3em;
}

.delete-item-left-header {
    padding-left: 0.25em;
    margin-right: 5em;
}

.delete-item-left {
    padding: .5em;
    margin-right: auto;
    width: 5em;
}

.delete-item {
    margin: auto;
    padding-left: 5em;
}

.delete-item-right {
    margin-left: auto;
    text-align: center;
    padding: 0.5em;
}


.compare-calculations .arrivos-form-container {
    width: 25%;
}

.center-align {
    text-align: center;
}

.upload-file-history-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-height: 3em;
}

.upload-history-popup {
    min-width: 33em;
    max-height: 15em;
    margin-bottom: -3em;
}

#CompleteRegistrationCard {
    margin-inline: auto !important;
    margin-top: 10px !important;
}

@media only screen and (max-width: 950px) {
    .col-4-flex {
        flex-direction: column;
    }

    .paycheck-col-4-flex {
        padding: 1em;
        font-size: .88em;
        width: 100%;
    }

    .delete-col-flex {
        flex-direction: column;
    }

    .upload-file-history-container {
        border-radius: 10px;
        border: 1pt solid gray;
        flex-direction: column;
        padding-bottom: 7em;
        margin-bottom: 1em;
    }

    .delete-item-left-header {
        padding: 1.55em;
        margin-right: auto;
        width: 5em;
        margin-left: auto;
        justify-content: center;
        margin-bottom: -2.7em;
        margin-top: -2em;
    }

    .delete-item-right-header {
        margin-left: auto;
        text-align: center;
        padding-top: 1.5em;
        margin-right: auto;
        padding: 1em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .delete-item-left {
        text-align: center;
        padding: 1.1em;
        margin-bottom: -1em;
        height: auto;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: -2em;
        margin-top: -0.5em;
    }

    .delete-item {
        text-align: center;
        padding: 1.1em;
        height: auto;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: -2em;
        padding-left: 1.5em;
    }

    .delete-item-right {
        text-align: center;
        padding: 1.1em;
        height: auto;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: -2.5em;
    }

    .col-sm-3 {
        padding: 5em;
    }

    .compare-calculations {
        display: flex;
        flex-direction: column;
        width: 100%
    }

    .upload-history-popup {
        min-width: 10em;
    }

    .compare-calculations .arrivos-form-container {
        width: 100%;
    }

    /*
        If you want to have an ArrivosControlCard without a title/dropdown, you can emulate
        it via these CSS id's. Refer to ContactUs.Razor to see example of how to use.
    */
    #ContactUsColumn::after, #ContactUsColumn::before {
        margin-left: 0.75em;
        margin-right: 0.75em;
    }

    #ContactUsRow::after, #ContactUsRow::before {
        padding-left: 0.75em;
        padding-right: 0.75em;
    }

    #ContactUsCard::after, #ContactUsCard::before {
        padding-left: 1rem;
    }
}

/*Uploaders*/
.e-upload.e-control-wrapper, .e-upload.e-control-wrapper ul {
    border: none !important;
}

.e-upload.e-control-wrapper ul li {
    display: inline-block !important;
    border: none !important;
}

.e-upload.e-control-wrapper .upload-file-box {
    margin-left: 10px;
    width: 100%;
    height: auto;
    border: 2px solid #5c636a;
    padding: 5px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    overflow: hidden;
    background-color: #f7f7f7;
}

.e-upload.e-control-wrapper .upload-file-box.upload-success {
    background-color: #e6ffcb;
}

.e-upload.e-control-wrapper .upload-file-box.upload-success-with-warnings {
    background-color: #f6b4ff;
}

.e-upload.e-control-wrapper .upload-file-box.upload-failed {
    background-color: #ffdede;
}

.e-upload.e-control-wrapper .upload-file-box div {
    text-align: center;
    white-space: nowrap;
}

.e-upload.e-control-wrapper .upload-file-box .upload-file-box-name a {
    float: right;
    margin-right: 5px;
    margin-top: 3px;
    color: #B93737;
    width: 10px;
}

.e-upload.e-control-wrapper .upload-file-box .upload-file-box-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: calc(100%);
}

.e-upload.e-control-wrapper .upload-file-box .upload-file-box-size {
    font-weight: bold;
}

.e-css.e-btn.e-upload-browse-btn {
    color: #2B2B2B !important;
    background-color: rgb(119, 150, 174) !important;
    border-color: rgb(119, 150, 174) !important;
}

.e-css.e-btn.e-upload-browse-btn:hover {
    background-color: #54768D !important;
    border-color: #54768D !important;
}

.w4p-field-section{
    margin-top: 0px;
    margin-bottom: 0px;
}

.w4p-field-label {
    margin-left: 25px;
}

.w4p-note-icon {
    padding-right: 12px;
}

.w4p-note-section {
    width: calc(100% - 80px);
    font-size: 12px;
}

.w4p-marital-status-section .e-radio-wrapper .e-label {
    font-weight: bold;
}

.anchor-tag-color {
    color: #006EBD;
}

.arrivos-control-collapse-link:focus-visible {
    background-color: #ffffff;
    border-color: black;
    box-shadow: 0 0 8px;
    transition: all 0.3s ease;
}