#applyPopup, #privacyPolicyPopup {
    height: fit-content;
    width: 550px;
    top: -10% !important;
    overflow: unset;
}

#applyPopup div.modal-content {
    overflow-y: auto;
}

#applyPopup div.modal-content:has(#quickApplyForm) {
    overflow-y: hidden;
}

#applyPopup div.modal-body, #privacyPolicyPopup div.modal-body {
    padding: 0;
}

#applyPopup div.modal-body div.cardContainer, #privacyPolicyPopup div.modal-body div.cardContainer {
    padding: 0;
}

#applyPopup div.formRowStandard {
    padding-bottom: 4px;
    margin-bottom: 0;
}

#applyPopup div.modal-body label {
    width: 100%;
}

/*This fixes the close icon not appearing outside of ESS*/
#applyPopup .icon-close:before, #privacyPolicyPopup .icon-close:before {
    font-family: 'Material Icons', serif;
}

#applyPopup .password_reveal {
    background: none;
    border: none;
}

#applyPopup .iga-append-grp {
    position: absolute;
    right: .75rem;
    top: 8px;
}

#applyPopup .input-group-addon {
    background: none;
    border: none;
}

#applyPopup div[name="privacyPolicyGroup"] {
    display: inline-flex;
    align-items: center;
}

#applyPopup div[name="privacyPolicyText"] {
    margin-top: -11px;
}

#privacyPolicyPopup #closePrivacyPolicyContainer {
    text-align: right;
    padding-top: 12px;
}

#privacyPolicyPopup #closePrivacyPolicy {
    font-size: medium;
}

#privacyPolicyPopup .mediumPaddingBottom {
    padding-bottom: 0;
}

#applyPopup .progress {
    position: relative;
    height: 4px;
    display: block;
    width: 100%;
    background-color: #acece6;
    border-radius: 2px;
    margin: 0.5rem 0 1rem 0;
    overflow: hidden;
}

#applyPopup .progress .indeterminate {
    background-color: #26a69a;
}

#applyPopup .progress .indeterminate:before {
    content: '';
    position: absolute;
    background-color: inherit;
    top: 0;
    left: 0;
    bottom: 0;
    will-change: left, right;
    -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}

#applyPopup .progress .indeterminate:after {
    content: '';
    position: absolute;
    background-color: inherit;
    top: 0;
    left: 0;
    bottom: 0;
    will-change: left, right;
    -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    -webkit-animation-delay: 1.15s;
    animation-delay: 1.15s;
}

#applyPopup .pcmNotes .alert-danger, #verifyEmailPopup .pcmNotes .alert-danger {
    background-color: #efefef;
    border: none;
}

#applyPopup .pcmNotes .alert-text, #verifyEmailPopup .pcmNotes .alert-text {
    color: #737373;
}

#applyPopup span.errorEmail, span.errorPassword {
    border: none;
    background-color: transparent;
    width: 100%;
}

#applyPopup #quickApplyForm .quickApplySubtitle {
    font-weight: bold;
    font-size: 16px;
}

#applyPopup #quickApplyForm .fbText {
    margin-left: 0;
}

#applyPopup #quickApplyForm input.phone-number__input, button.phone-number__input {
    height: 43px;
}

/*Overrides ee label style while allowing us to keep rest of ee formatting*/
#applyPopup #quickApplyForm div.phone-number__label {
    font-weight: bold;
    margin-bottom: 0;
    color: #444;
    font-size: 12.8px;
}

#applyPopup #quickApplyForm #quickApplyOptInElement label {
    width: auto;
}

#applyPopup #quickApplyForm .parsley-resume{
    color: #D32F2F;
}

#applyPopup #applicationSubmittedForm button[name="myAccountButton"] {
    margin-bottom: 8px;
}

#applyPopup #applicationSubmittedForm button[name="viewMoreJobsButton"] {
    margin-bottom: -8px;
}

/* Hides password eye icon from Edge Browser */
::-ms-reveal {
    display: none;
}

/* Mobile view CSS */
@media all and (max-width: 600px)
{
    #applyPopup div[name="nameGroup"] input[name="firstName"] {
        margin-bottom: 20px;
    }

    #applyPopup div[name="privacyPolicyGroup"] div {
        width: auto;
    }

    /* Needed to make the mobile view Apply Button dynamically visible while remaining hidden on desktop*/
    #applyButtonDiv.hide{
        visibility: visible;
        display: inline !important;
    }
}

@-webkit-keyframes indeterminate {
    0% {
        left: -35%;
        right: 100%;
    }
    60% {
        left: 100%;
        right: -90%;
    }
    100% {
        left: 100%;
        right: -90%;
    }
}

@keyframes indeterminate {
    0% {
        left: -35%;
        right: 100%;
    }
    60% {
        left: 100%;
        right: -90%;
    }
    100% {
        left: 100%;
        right: -90%;
    }
}

@-webkit-keyframes indeterminate-short {
    0% {
        left: -200%;
        right: 100%;
    }
    60% {
        left: 107%;
        right: -8%;
    }
    100% {
        left: 107%;
        right: -8%;
    }
}

@keyframes indeterminate-short {
    0% {
        left: -200%;
        right: 100%;
    }
    60% {
        left: 107%;
        right: -8%;
    }
    100% {
        left: 107%;
        right: -8%;
    }
}
