/** ACCOUNT CREATION TEAM Job alert toggle */
.no-scroll-job-alert {
    overflow: hidden!important;
}

#my-sticky-element.jobAlert.toggle_position {
    z-index: 7;
    max-width: 600px;
}

.toggle_position {
    position: sticky;
    width: 100%;
    z-index: 19;
}

#my-sticky-element-2.toggle_position{
    position: relative;
}

.toggle_sticky-bottom {
    bottom: 0;
    margin-top: 24px;
}

.toggle_sticky-top {
    top: 0;
}

.toggle-switch__holder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--purple);
    padding: 16px;
    margin-bottom: -1px;
}

.toggle_sticky-top .toggle-switch__holder {
    border-radius: 8px;
}

.toggle_sticky-top.sticky-border-top .toggle-switch__holder {
    border-radius: 0 0 8px 8px;
}

.toggle_sticky-bottom .toggle-switch__holder {
    border-radius: 8px 8px 0 0;
}

.toggle_sticky-bottom.sticky-border-bottom .toggle-switch__holder {
    border-radius: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 53px;
    height: 32px;
}

.toggle-switch input {
    display: none;
}

.toggle-switch__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFF;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch__slider:before {
    position: absolute;
    top: 5px;
    left: 5px;
    content: "";
    height: 22px;
    width: 22px;
    background-color: var(--violate-light);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch__checkbox:checked + .toggle-switch__slider {
    background-color: var(--purple);
}

.toggle-switch__checkbox:focus + .toggle-switch__slider {
    box-shadow: 0 0 1px var(--purple);
}

.toggle-switch__checkbox:checked + .toggle-switch__slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    left: 0;
    background: #FFF;
}


.toggle-switch__holder--hidden, .toggle-switch__stepsLabel {
    display: none;
}

.toggle-switch__holder--activated .toggle-switch__stepsLabel {
    display: block;
}

.toggle-switch__label,
.toggle-switch__label--activated {
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    color: #FFFFFF;
}

.toggle-activated-icon {
    align-self: flex-start;
    margin-top: 1px;
    display: none;
}

.toggle-switch__holder--activated {
    box-shadow: none;
    border: 1px solid #A0E5D9;
    display: flex;
    align-items: center;
    background-color: #F5FCFB !important;
}

.toggle-switch__label--activated {
    display: none;
    color: var(--nero);
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
}

.toggle-switch__holder.toggle-switch__holder--activated,
.toggle-switch__holder.toggle-switch__holder--updated {
    background-color: #FFF;
}

.toggle-switch__holder--updated .toggle-switch__stepsLabel {
    display: contents;
}

.toggle-switch__holder--updated .toggle-switch__label, .toggle-switch__holder--updated .toggle-switch__label-description {
    color: var(--nero);
}

.toggle-switch__holder--updated:before {
    content: "";
    display: flex;
    background-repeat: no-repeat;
    top: 0;
    left: 10px;
    height: 20px;
    width: 20px;
    background-image: url(https://nazim-dev-www.talent.com/ajax/img/get-svg.php?icon=job_alert_success&size=20&color=60D3BF);
    padding-bottom: 16px;
}

.toggle-switch__holder--activated .toggle-switch__label {
    display: none;
}

.toggle-switch__holder--activated .toggle-switch__label--activated {
    display: flex;
    align-items: center;
}

.toggle-switch__holder--activated {
    display: flex;
    align-items: center;
}

.toggle-switch__holder--activated .toggle-switch__slider:before {
    background-color: #FFFFFF;
}

.toggle-switch__holder--activated .toggle-activated-icon {
    display: block;
    margin-right: 8px;
}

.toggle-switch__label-description {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #FFF;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-right: 24px;

}

.toggle-switch__holder--activated .toggle-switch__label-description {
    color: var(--nero);
}

.toggle-switch__labels-holder {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

/* toggle-switch for LOGGED OFF users */
.toggle-switch.activate-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    gap: 4px;
    width: 111px;
    height: 36px;
    background: var(--purple);
    border-radius: 100px;
    border: 1px solid #FFFFFF;
    cursor: pointer;
}

.toggle-switch.activate-wrapper:hover {
    background: #81358C;
}

.jobAlert--parent.show .toggle-switch.activate-wrapper {
    display: none;
}

.activate-wrapper .activate--button_label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFF;
}

.activate-wrapper.showed {
    display: flex;
}

.activate-wrapper.closed {
    display: none;
}

.jobAlert-icon__close {
    position: absolute;
    border-radius: 50px;
    z-index: 1;
    cursor: pointer;
    height: 24px;
    width: 24px;
    top: 16px;
    right: 16px;
    background-color: rgba(240, 240, 243, 0.3);
    background-image: url(https://cdn-dynamic.talent.com/ajax/img/get-svg.php?icon=close_icon&size=8&color=FFFF) !important;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    display: none;
}

.jobAlert--parent.show .jobAlert-icon__close {
    display: block;
}

.jobAlert--parent .disclaimer {
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
}

/*** JOB ALERT SLIDE UP POPUP **/
.jobAlert--parent {
    box-shadow: 0 12px 28px rgba(48, 55, 61, 0.1);
    background-color: #FFFFFF;
    border-radius: 16px;
    z-index: 30;
}

.jobAlertForm-container {;
    display: none;
}

.jobAlert--parent .card__header__snippet {
    border-bottom: none;
}

.jobAlertResponse {
    display: none;
}

.jobAlertOTP {
    display: none;
}

.card-jobAlert--slideUp {
    position: fixed;
    background-color: #FFF;
    width: 100%;
    bottom: 0;
}

.jobAlert__body--wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFF;
    position: relative;
    width: 100%;
    padding: 24px;
}

.jobAlertForm {
    overflow-y: auto;
}

/* BOTTOM PART FOR OTP CODE */
.jobAlertOTP.formPopup {
    position: relative;
}

/* Back button */
.button__back.icon--backIcon.jobAlert {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-image: url(https://cdn-dynamic.talent.com/ajax/img/get-svg.php?icon=left_arrow&color=676767);
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F3F1F3;
    border-radius: 50px;
    z-index: 1;
    padding: 0;
}

/* Success Step */
.jobAlert__body-success--wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 56px;
    gap: 16px;
    text-align: center;
}

.jobAlert__body-success--wrapper span.jobAlertTotal {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #222222;
}

.jobAlert__body-success--wrapper .jobAlert__success-text {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: -8px;
}

.jobAlert--email {
    font-weight: bolder;
}

.jobAlert__body-success--wrapper .jobAlert__success-unsubLabel {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #676767;
}

.jobAlert .form.formPopup .error-message.many-attempts-error.has--error   {
    text-align: left;
    color: #222222;
    background: #FEF7F7 url(https://cdn-static.talent.com/img/others/error.png) no-repeat;
    background-size: 24px;
    background-position-y: center;
    background-position-x: 16px;
    -webkit-appearance: none!important;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    border: 2px solid #EB5757;
    border-radius: 8px;
    padding: 16px 16px 16px 56px;
    margin: 0 0 24px;
}

.jobAlert .form.formPopup .error-message.no-error-notification.has--error {
    text-align: left;
    color: #222222;
    background: #F6FCF9 url(https://cdn-static.talent.com/img/others/success.png) no-repeat;
    background-size: 24px;
    background-position-y: center;
    background-position-x: 16px;
    -webkit-appearance: none!important;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    border: 2px solid #60D3BF;
    border-radius: 8px;
    padding: 16px 16px 16px 56px;
    margin: 0 0 16px;
}

.jobAlert .no--code {
    color: #222;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

.jobAlert--parent .card__header__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
}

.button--resend-code.is--counting,
.button--resend-code.is--counting:hover {
    pointer-events: none;
    color: var(--grey);
    text-decoration: none;
}

.button--resend-code.is--disable {
    color: #B3B3B3;
    text-decoration: none;
}

.button--resend-code.is--counting b {
    color: var(--nero);
    text-decoration: none;
}

.jobAlert .error-message {
    background-image: none;
}

.jobAlert .inputWrap > .input--label {
    margin-bottom: 4px;
}

.inputWrap .error-message.has--error {
    margin-top: 4px;
}

.button--middleText.button--resend-code {
    font-weight: 500;
}

.jobAlertForm-container .inputWrap {
    margin-bottom: 16px;
}

.card--popup__app-design .error-message.has--error {
    padding-left: 0px;
}

#jobAlert-count {
    padding-right: 3px;
}

.jobAlertOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(48, 24, 63, 0.3);
    z-index: 5; /* set a high z-index value to ensure it appears on top of other elements */
}

.toggle-switch__label--activated > * {
    color: var(--nero);
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
}
.jobAlertForm .jobApply__alternativeCTA {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.jobAlertForm .common__container {
    display: flex;
    align-items: center;
    justify-content: center;
    order:3;

}


.disclaimer.noDisplay {
    display: none;
}

/* Limited side of the CSS */
.toggle-switch__holder.toggle-switch__holder--limited{
    background-color: #fff;
}
.toggle-switch__holder.toggle-switch__holder--limited .toggle-switch__label{
    color: #222;
}
.toggle-switch__holder.toggle-switch__holder--limited .toggle-switch__label span{
    font-weight: normal;
    font-size: 12px;
}
.toggle-switch__label-description a {
    color: #691F74;
    font-weight: bold;
    font-size: 14px;
}
.toggle-switch__label-description a:hover {
    text-decoration: underline;
}
.ja__flex{
    display: flex;
}
.toggle-switch__holder--limited .icon--closeIcon {
    width: 28px;
    height: 28px;
}

/* Active side of the CSS */
.toggle-switch__holder.toggle-switch__holder--activate{
    background-color: #FFFFFF;
}
.toggle-switch__holder.toggle-switch__holder--activate .toggle-switch__label{
    color: #222;
}
.toggle-switch__holder.toggle-switch__holder--activate .toggle-switch__label span{
    font-weight: normal;
    font-size: 12px;
}
.toggle-switch__holder.toggle-switch__holder--activate .toggle-switch__label-description{
    color: #222;
    font-weight: normal;
    font-size: 12px;
}
.hidden {
    display: none !important;
}

.stickyPopup__jdp{
    position: fixed !important;
    bottom: 0;
    margin: 0 !important;
}
.stickyPopup__jdp .jobAlert--parent .toggle-switch__holder{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

@media only screen and (max-width: 1400px) {
    #my-sticky-element{
        width: 500px;
    }
}
@media only screen and (max-width: 1250px){
    #my-sticky-element {
        width: 420px;
        margin-left: 17px;
    }
}

@media screen and (max-width: 700px) {

    .toggle_position {
        position: fixed;
        bottom: 0;
        top: unset;
    }
    #my-sticky-element-2 {
        margin: 10px 8px 12px;
    }
    #my-sticky-element-2.toggle_position{
        width: auto;
    }

    #my-sticky-element {
        width: 100%;
        margin: 0;
    }

    .toggle_position .toggle-switch__holder,
    .toggle_sticky-bottom.sticky-border-bottom .toggle-switch__holder,
    .toggle_sticky-top.sticky-border-top .toggle-switch__holder {
        border-radius: 0;
        box-shadow: 0px -12px 28px 0px rgba(48, 55, 61, 0.10);
    }


    .jobAlert--parent {
        border-radius: 16px 16px 0 0;
    }

}