.visually-hidden {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

body {
    min-height: 100vh;
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    flex-direction: column;
    font-family: "Salesforce Sans", Arial, Helvetica, sans-serif;
    color: #181818;
    font-size: 16px;
    line-height: 21px;
    font-weight: 500;
}

a {
    color: #0176D3;
    text-decoration: underline;
}

header {
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    flex-grow: 0;
}

section#intro {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    text-align: center;
    padding: 24px 10px;
}

section#intro p {
    font-weight: 400;
}

section#manage {
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    max-width: 750px;
    padding-top: 100px;
}

/* FORM */

form {
    margin-top: 32px;
    margin-bottom: 70px;
    display: block;
    max-width: 1140px;
}

form fieldset {
    padding: 0;
    margin: 0;
    border: 0;
    margin-bottom: 32px;
}

form legend {
    font-family: "ITC Avant Garde", Arial, Helvetica, sans-serif;
    font-size: 28px;
    line-height: 36px;
    color: #032d60;
    padding: 0;
    margin: 0;
    margin-bottom: 16px;
}

fieldset p {
    margin-bottom: 10px;
}

form fieldset ul {
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

form fieldset ul li {
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    position: relative;
    padding: 24px 72px 24px 24px;
    border: 1px solid rgba(23, 23, 23, 0.04);
    /* Replace hex alpha with rgba for IE */
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px -2px rgba(23, 23, 23, 0.08),
        0 8px 12px -2px rgba(23, 23, 23, 0.16);
    width: calc(50% - 15px);
    box-sizing: border-box;
    margin: 0 15px 24px 0;
    /* simulate spacing between items */
    cursor: pointer;
}

form fieldset ul li img {
    position: absolute;
    top: 25%;
    left: 10px;
    width: 64px;
    height: 64px;
}

form fieldset ul li input::after {
    position: absolute;
    width: 22px;
    height: 22px;
    top: calc(50% - 12px);
    right: 24px;
    border: 2px solid #747474;
    border-radius: 4px;
    content: '';
}

form fieldset ul li input:checked {
    background-color: #f00;
}

form fieldset ul li input:checked::after {
    content: '✓';
    background-color: #0176D3;
    color: #ffffff;
    border: 2px solid #0176D3;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}       

form fieldset ul li.checked {
    background-color: #eaf5fe;
}

form fieldset ul li:focus {
    outline: 2px solid #0176D3;
    outline-offset: 2px;
}

li.focused {
    outline: 2px solid #0078d4;
    /* custom focus style */
    outline-offset: 2px;
}

form fieldset ul li::after {
    content: ' ';
    background-color: #ffffff;
    display: block;
    position: absolute;
    top: 40%;
    right: 20px;
    border: 1px solid #747474;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    width: 16px;
    height: 16px;
    border-radius: 5px;
}


form fieldset ul li:hover::after {

    background-color: #EAF5FE;

    border: 1px solid #032D60;

}



form fieldset ul li.checked::after {
    content: '✓';
    background-color: #0176D3;
    color: #ffffff;
    border: 1px solid #0176D3;

    display: inline-block;
    margin-left: 8px;
}


form fieldset ul li div.checkbox_label {
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    flex-direction: column;
    margin-left: 64px;
    min-height: 90px;
}

form label {
    font-size: 20px;
    line-height: 26px;
    color: #032d60;
    margin-bottom: 6px;
    cursor: pointer;
}

form span {
    font-size: 16px;
    line-height: 21px;
    color: #1a1a1a;
    display: block;
}

[data-translate="Newsletters_Description"] {
    max-width: 660px;
}

.unsubscribe_wrap {
    max-width: 680px;
    margin-bottom: 30px;
}

.unsubscribe_wrap label {
    padding-right: 48px;
    font-size: 22px;
    line-height: 32px;
}

.unsubscribe_wrap input {
    appearance: none;
    position: relative;
    top: 0;
    cursor: pointer;
}

.unsubscribe_wrap input::after {
    content: ' ';
    display: block;
    position: absolute;
    top: -20px;
    right: 0;
    border: 2px solid #747474;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    width: 24px !important;
    height: 24px;
}

.unsubscribe_wrap input:checked:after {
    content: '✓';
    background-color: #0176D3;
    color: #ffffff;
    border: 2px solid #0176D3;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

.unsubscribe_wrap span {
    margin-top: 8px;
}

form button,
.CTAlinkButton {
    margin: 0px auto 0;
    padding: 18px 32px;
    color: #ffffff;
    background-color: #0176d3;
    font-family: "Salesforce Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 16px;
    border: 0px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.1s linear;
    text-decoration: none;
    display: inline-block;
}



form button:hover,
.CTAlinkButton:hover {
    background-color: #032d60;
    border-color: #032d60;
}

.margin-b-30 {
    margin-bottom: 30px;
}

.CTAlinkButton-outline {
    margin: 0px auto 0;
    margin-right: 20px;
    padding: 17px 32px;
    color: #0176d3;
    border: 1px solid #0176d3;
    background-color: #ffffff;
    font-family: "Salesforce Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.1s linear;
    text-decoration: none;
    display: inline-block;
}


.CTAlinkButton-outline:hover {
    color: #ffffff;
    border: 1px solid #0176d3;
    background-color: #0176d3;

}

/*Access Page Styles*/
body#short_page {
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    flex-direction: column;
}

#short_page h1 {
    font-size: 28px;
    line-height: 36px;
}

form#MCaccess {
    margin-top: 24px;
    margin-bottom: 0;
    font-family: "Salesforce Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 20px;
}

form#MCaccess input {
    display: block;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid #c7c7c7;
    border-radius: 5px;
    padding: 10px 18px;
    width: 100%;
    max-width: 466px;
}

form#MCaccess button {
    margin: unset;
    margin-top: 38px;
    width: fit-content;
}

#error_message {
    display: none;
    color: #BA0517;
    font-size: 16px;
    margin-top: 12px;
    line-height: 21px;
    font-weight: 600;
    margin-bottom: 8px;
}

.access_label {
    font-size: 16px;
    color: #181818;
}


/* CONFIRMATION */
body#confirmation_page,
.main {
    flex-grow: 1;
    background-image: url(https://image.mail.salesforce.com/lib/fea31c727564047c74/m/1/prefcenter-bg3.jpg), linear-gradient(180deg, #ffffff, #ffffff);
    background-size: 100% auto, cover;
    background-position: bottom center, bottom center;
    background-repeat: no-repeat, no-repeat;
    padding-bottom: 300px;
    font-size: 20px;
    line-height: 24px;
}

body#confirmation_page header .lang_control,
section#short_page header .lang_control {
    display: none;
}

section.container p {
    font-size: 18px;
    line-height: 155%;
}



/*cp edit */

section#preferences_page {
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/*Responsive Styles*/

@media screen and (max-width: 850px) {
    section#manage {
        padding-top: 85px;
    }

    form fieldset ul li {
        width: 100%;
    }

    section#confirmation_page,
    section#short_page {
        padding-top: 60px;
        padding-bottom: 240px;
    }
}

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

html,
body {
    font-size: 14px;
    line-height: 18px;
}

.container {
    max-width: 540px;
}

section#preferences_page {
    background-size: 100% auto, 100% 205px;
    background-position: top 205px center, top center;
}

header {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

header .logo_wrap img {
    width: 70px;
}

header .logo_wrap h4 {
    font-size: 15px;
    line-height: 20px;
}

header .lang_control label {
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 10px;
    text-align: left;
}

header .lang_control select {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    line-height: 21px;
}

section#intro {
    font-size: 20px;
    line-height: 26px;
    padding: 20px 0;
}

section#manage {
    text-align: left;
    font-size: 14px;
    line-height: 18px;
}

section#manage h1 {
    font-size: 28px;
    line-height: 36px;
}

form {
    margin-top: 24px;
    margin-bottom: 40px;
}

form fieldset legend {
    font-size: 20px;
    line-height: 26px;

}

form fieldset ul li img {
    width: 48px;
    height: auto;
}

form fieldset ul li div.checkbox_label label {
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 6px;
}

form span {
    font-size: 14px;
    line-height: 18px;
}

.unsubscribe_wrap {
    margin-top: 16px;
}

.unsubscribe_wrap label {
    font-size: 18px;
    line-height: 32px;
    padding-right: 32px;
}

form button {
    margin-top: 40px;
}

section#confirmation_page,
section#short_page {
    padding-top: 40px;
    padding-bottom: 200px;
}

#short_page h1,
#confirmation_page h1 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 16px;
}

#short_page p,
#confirmation_page p {
    font-size: 16px;
    line-height: 21px;
}
}

@media screen and (max-width: 460px) {
section#preferences_page {
    background-size: 100% auto, 100% 250px;
    background-position: top 250px center, top center;
}
}

@media screen and (max-width: 400px) {
form fieldset legend {
    width: min-content;
}

section#confirmation_page,
section#short_page {
    padding-top: 30px;
    padding-bottom: 140px;
}
}

@media screen and (max-width: 350px) {
form fieldset ul li img {
    display: none;
}

form fieldset ul li div.checkbox_label {

    margin-left: 0;
    min-height: auto;
}

}

@media screen and (min-width: 1600px) {
section#preferences_page {
    background-size: 100% auto, 100% 0;
    background-position: top -40px center, top center;
}
}

@media screen and (min-width: 1900px) {
section#preferences_page {
    background-size: 100% auto, 100% 0;
    background-position: top -100px center, top center;
}
}

@media screen and (min-width: 2300px) {
section#preferences_page {
    background-size: 100% auto, 100% 0;
    background-position: top -170px center, top center;
}
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: -ms-flexbox;
    /* IE11 */
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

#short_page {
    flex: 1 0 auto;
    /* Allow main content to grow */
    -ms-flex: 1 0 auto;
    background-image: url(https://image.mail.salesforce.com/lib/fea31c727564047c74/m/1/prefcenter-bg3.jpg), linear-gradient(180deg, #ffffff, #ffffff);
    background-size: 100% auto, cover;
    background-position: bottom center, bottom center;
    background-repeat: no-repeat, no-repeat;
    padding-bottom: 150px;
    font-size: 20px;
    line-height: 24px;
}

#short_page footer {
    -ms-flex-negative: 0;
    flex-shrink: 0;

}

.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}