/* <link rel="stylesheet" href="{basePath}/sfsites/c/resource/d2cStyle/styles/branding.css?{versionKey}"> */

:root {
    --dxp-c-strong-text-weight: 500;
}

strong {
    font-weight: 500;
}

/* BILLBOARD */

.d2c-text-heading-billboard {
    font-size: 4rem;
    line-height: 1.1;
}

@media (max-width: 1023.98px) {

    .d2c-text-heading-billboard {
        font-size: 2rem;
    }

}

/* HEADING 1 */

@media (max-width: 1023.98px) {

    .dxp-text-heading-xlarge {
        font-size: 2rem;
        line-height: 1.4;
    }

}

/* HEADING 2 */

@media (max-width: 1023.98px) {

    .dxp-text-heading-large {
        font-size: 1.5rem;
        line-height: 1.4;
    }

}

/* HEADING 5 */

.d2c-text-heading-5 {
    font-size: 1rem;
    line-height: 1.1;
}

/* HEADING 6 */

.d2c-text-heading-6 {
    font-size: 0.875rem;
    line-height: 1.1;
}

/* PARAGRAPH 20 */

.d2c-paragraph-20 {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.40;
}

/* PARAGRAPH 20 BOLD */

.d2c-paragraph-20-bold {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.40;
}

/* PARAGRAPH 18 */

.d2c-paragraph-18 {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.40;
}

/* PARAGRAPH 18 BOLD */

.d2c-paragraph-18-bold {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.40;
}

/* PARAGRAPH 16 */

.d2c-paragraph-16 {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.40;
}

/* PARAGRAPH 16 BOLD */

.d2c-paragraph-16-bold {
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.40;
}

/* PARAGRAPH 14 */

.d2c-paragraph-14 {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.40;
}

/* PARAGRAPH 14 BOLD */

.d2c-paragraph-14-bold {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.40;
}

/* BRANDING LINK */

.d2c-link {
    padding: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    font-weight: 500;
    line-height: calc(1.5rem - 2px);
    transform: translateY(2px);
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    background-color: transparent;
    transition: border-color 0.1s !important;
}

.d2c-link-icon:not(:disabled):hover .d2c-link,
.d2c-link:not(:disabled):hover {
    border-bottom-color: var(--d2c-color-tomato-orange);
}

.d2c-link-icon:disabled .d2c-link,
.d2c-link:disabled {
    border-bottom-color: transparent !important;
}

.d2c-link-icon {
    display: flex;
    grid-column-gap: 0.5rem;
    text-decoration: none !important;
    padding: 0;
    color: var(--d2c-color-dark-blue);
    border: 0;
    background-color: transparent;
}

.d2c-link-icon c-d2c-icon-common {
    color: var(--d2c-color-orange);
    transition: color 0.1s;
}

.d2c-link-icon:disabled c-d2c-icon-common {
    color: currentColor;
}

.d2c-link-icon:not(:disabled):hover c-d2c-icon-common {
    color: var(--d2c-color-tomato-orange);
}

.d2c-link:disabled,
.d2c-link-icon:disabled {
    color: var(--d2c-color-disabled-text) !important;
    cursor: not-allowed;
}

/* LINK UNDERLINED */

.d2c-link-underlined {
    padding: 0;
    font-weight: 500;
    text-decoration: none !important;
    color: var(--d2c-color-dark-blue);
    border: 0;
    border-bottom: 2px solid var(--d2c-color-dark-blue);
    cursor: pointer;
    background-color: transparent;
    transition: border-color 0.1s !important;
}

.d2c-link-underlined:hover {
    border-bottom-color: transparent;
}

.d2c-link-underlined:disabled {
    border: 0 !important;
    color: var(--d2c-color-disabled-text);
    cursor: not-allowed;
}

/* EYEBROW */

.d2c-text-eyebrow {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 1.28px;
    text-transform: uppercase;
}

/* TEXT BUTTON */

.d2c-text-button {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.33333;
}

/* SPINNER */

.slds-spinner_container {
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.75);
}

/* MODAL */

.d2c-modal__wrapper {
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: var(--d2c-color-white);
    box-shadow: 0px 20px 32px 0px rgba(0, 0, 0, 0.12), 0px 4px 12px 0px rgba(0, 0, 0, 0.08);
}

.d2c-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.d2c-modal__header-title {
    padding-right: 0.5rem;
}

.d2c-modal__header-close {
    padding: 0;
    margin: 0;
    color: var(--d2c-color-modal-close);
    border: 0;
    background-color: transparent;
    transform: translateY(0.125rem);
    transition: color 0.1s;
}

.d2c-modal__header-close:hover {
    color: var(--d2c-color-new-black);
}

.d2c-modal__header + .d2c-modal__body {
    margin-top: 0.75rem;
}

.d2c-modal__footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.d2c-modal__footer .slds-button {
    width: calc(50% - 0.5rem);
    font-weight: 500;
}

/* LIGHTNING TABSET */

lightning-tabset li.slds-tabs_default__item a {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.40;
    color: var(--d2c-color-new-black);
}

lightning-tabset a:link:not(.slds-button,.slds-dropdown__item>a) {
    color: var(--d2c-color-new-black);
}

lightning-tabset li.slds-tabs_default__item.slds-is-active a {
    color: var(--d2c-color-dark-blue);
    font-weight: 500;
}

lightning-tabset .slds-tabs_default__item:after {
    bottom: -1px;
}

lightning-tabset .slds-tabs_default__item.slds-is-active:after,
lightning-tabset .slds-tabs_default__item.slds-has-focus:after  {
    background-color: var(--d2c-color-dark-blue);
    height: 2px;
}

lightning-tabset .slds-tabs_default__nav {
    border-bottom-color: var(--d2c-color-lightest-gray);
    border-bottom-width: 2px;
}

lightning-tabset a:active:not(.slds-button,.slds-dropdown__item>a),
lightning-tabset a:focus:not(.slds-button,.slds-dropdown__item>a),
lightning-tabset a:hover:not(.slds-button,.slds-dropdown__item>a) {
    text-decoration: none;
}

lightning-tabset .slds-tabs_default__item.slds-is-active .slds-tabs_default__link:hover {
    color: var(--d2c-color-dark-blue);
}

lightning-tabset .slds-tabs--default__item:hover:after, 
lightning-tabset .slds-tabs_default__item:hover:after {
    background-color: var(--d2c-color-dark-blue);
}

lightning-tabset .slds-tabs_default__link[tabindex="0"]:focus {
    text-decoration: none;
}

lightning-tabset .slds-tabs_default__content {
    padding: 0;
}

/* LIGHNINT HELPTEXT */

lightning-helptext .slds-form-element__icon {
    padding: 0;
}

lightning-helptext .slds-form-element__icon::before {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 10.5V18M12 6V7M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z' stroke='%230076A8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    display: block;

    position: absolute;
}

lightning-helptext .slds-button.slds-button_icon {
    width: 1.5rem;
    height: 1.5rem;
}

lightning-helptext lightning-button-icon {
    opacity: 0;
}

lightning-primitive-bubble .slds-popover--tooltip, 
lightning-primitive-bubble .slds-popover_tooltip {
    background: var(--d2c-color-deep-black);
}

lightning-primitive-bubble .slds-popover_tooltip .slds-popover__body {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    padding: 0.75rem;
}

lightning-primitive-bubble {
    left: 135px;
    top: 723px;
}

/* LIGHTNING FORMATTED RICH TEXT */

lightning-formatted-rich-text.slds-rich-text-editor__output h1,
lightning-formatted-rich-text.slds-rich-text-editor__output h2,
lightning-formatted-rich-text.slds-rich-text-editor__output h3,
lightning-formatted-rich-text.slds-rich-text-editor__output h4,
lightning-formatted-rich-text.slds-rich-text-editor__output h5,
lightning-formatted-rich-text.slds-rich-text-editor__output h6 {
    margin-bottom: 0;
}

lightning-formatted-rich-text.slds-rich-text-editor__output .d2c-text-heading-billboard {
    font-size: 4rem !important;
    font-weight: 400 !important;
    color: currentColor !important;
}

@media (max-width: 1023.98px) {

    lightning-formatted-rich-text.slds-rich-text-editor__output .d2c-text-heading-billboard {
        font-size: 2rem !important;
    }

}

lightning-formatted-rich-text.slds-rich-text-editor__output .dxp-text-heading-xlarge {
    font-size: var(--dxp-s-text-heading-extra-large-font-size, var(--dxp-g-font-size-9)) !important;
    font-weight: var(--dxp-s-text-heading-extra-large-font-weight) !important;
    color: currentColor !important;
}

@media (max-width: 1023.98px) {

    lightning-formatted-rich-text.slds-rich-text-editor__output .dxp-text-heading-xlarge {
        font-size: 2rem !important;
    }

}

lightning-formatted-rich-text.slds-rich-text-editor__output .dxp-text-heading-large {
    font-size: var(--dxp-s-text-heading-large-font-size, var(--dxp-g-font-size-9)) !important;
    font-weight: var(--dxp-s-text-heading-large-font-weight) !important;
    color: currentColor !important;
}

@media (max-width: 1023.98px) {

    lightning-formatted-rich-text.slds-rich-text-editor__output .dxp-text-heading-large {
        font-size: 1.5rem !important;
    }

}

lightning-formatted-rich-text.slds-rich-text-editor__output .dxp-text-heading-medium {
    font-size: var(--dxp-s-text-heading-medium-font-size, var(--dxp-g-font-size-7)) !important;
    font-weight: var(--dxp-s-text-heading-medium-font-weight) !important;
    color: currentColor !important;
}

lightning-formatted-rich-text.slds-rich-text-editor__output .dxp-text-heading-small {
    font-size: var(--dxp-s-text-heading-small-font-size, var(--dxp-g-font-size-5)) !important;
    font-weight: var(--dxp-s-text-heading-small-font-weight) !important;
    color: currentColor !important;
}

lightning-formatted-rich-text.slds-rich-text-editor__output .d2c-text-heading-5 {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: currentColor !important;
}

lightning-formatted-rich-text.slds-rich-text-editor__output .d2c-text-heading-6 {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: currentColor !important;
}