.page--email-pref-rebrand {
    overflow-x: hidden;
}

.page--email-pref-rebrand .form {
    background-color: #e4e3de;
}

.page--email-pref-rebrand .form .hs_submit {
    clear:both;
    width: 100% !important;
    margin-top: 1rem !important;
}



.onoffswitch {
    position: relative; width: 65px;
    margin-left: 15px;
    margin-right: 15px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    height: 23px; padding: 0; line-height: 23px;
    border: 0px solid #FFFFFF; border-radius: 30px;
    background-color: #e4e3de;
}
.onoffswitch-label:before {
    content: "";
    display: block; width: 32px; margin: -5px;
    background: #EBEBEB;
    position: absolute; top: 0; bottom: 0;
    right: 0px;
    border-radius: 30px;
    box-shadow: 0 6px 12px 0px #757575;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label {

}
.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: #627A6B;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 45px;
    background-color: #db282b;
    box-shadow: 3px 6px 18px 0px rgba(0, 0, 0, 0.2);
}

.email-preference__row {
    border: 3px solid #e6e2df;
    padding: 30px;
}

.email-preference__row + .email-preference__row {
    margin-top: .7rem;
}

.email-preference__row img {
    width: auto;
    height: auto;
    max-height: 80px;
    min-width: 80px;
}

.email-preference__row .hs-form-radio-display {
    opacity: 0;
    position: absolute;
}

.email-preference__row [gr-grid=row] > [gr-grid]:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.page--email-pref-rebrand #update_information_form .hs-form .hs-form-field > label {
    position: relative;
    clip: auto;
    width: auto;
    height: auto;
    margin: auto;
    font-size: 18px;
    font-weight: 400;
}

.email-preferences-form .hs_submit {
    margin-top: 1.5rem;
}

.form-image {
    text-align: center;
}

@media screen and (min-width: 46.8em) {
    .hs-form-required {
        width: auto;
        text-indent: 0;
    }

    .hs-form-required:before {
        display: none;
    }
}

@media screen and (max-width: 374px) {
    .email-preference__row [gr-grid=row] {
        display: block;
        text-align: center;
    }

    .email-preference__row [gr-grid=row] > [gr-grid]:nth-child(2) {
        margin-top: 1rem;
        justify-content: center;
    }
}



.page--email-pref-rebrand .form.update-information-form .hs_title {
    display: none;
}

.page--email-pref-rebrand #update_information_form .hs-form > .field,
.page--email-pref-rebrand #update_information_form .hs-form > .hs_submit {
    width: 100%;
    margin: 0 !important;
    margin-bottom: 1rem !important;
    float: none;
}

.page--email-pref-rebrand #update_information_form .hs-form {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
}

.page--email-pref-rebrand #update_information_form .hs-form > * {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 100%;
    padding-left: 20px;
    padding-right: 20px;

}

@media screen and (min-width: 640px) {
    .page--email-pref-rebrand #update_information_form .hs-form > * {
        flex-basis: 50%;
    }
}

.button--full-width {
    width: 100%;
    text-align: center;
    display: table;
    margin-left: auto;
    margin-right: 0;
    
}

@media screen and (min-width: 46.8em) {
    .button--full-width {
        max-width: 30.66%;
    }   
}

.h-vspacing-mt-half {
    margin-top: 1rem;
}

.h-vspacing-mt-1 {
    margin-top: 1rem;
}

.h-vspacing-mt-2 {
    margin-top: 2rem;
}

.h-vspacing-mt-3 {
    margin-top: 3rem;
}