/* HEADER */
.b2b-theme__wrapper .forceCommunityThemeHeaderBase .themeBgImage {
    background-color: transparent !important;
}

/* NAVIGATION MENU */
/* Hide navigation menu
.navBarContainer {
    display: none !important;
} */

/* Add label wrap */
.b2b-theme__header .forceCommunityThemeHeaderB2B .dropDownListItem {
    background: var(--b2b-colorWhite) !important;
    border-bottom: 1px solid rgb(240, 240, 240) !important;
    white-space: pre-wrap !important;
}

.b2b-theme__header .forceCommunityThemeHeaderB2B .dropDownListItem a {
    padding-right: 1.5rem;
}

/* Full-height menu items */
community_navigation-multi-level-navigation > nav > ul,
community_navigation-multi-level-navigation > nav > ul > li.textMenuItem {
    height: 100% !important;
}

/* Alignment of the icon position */
community_navigation-multi-level-navigation > nav > ul.slds-list_horizontal > li.textMenuItem button lightning-icon {
    transform: translateY(-1px);
}

/* Removing the border and shadow on the menu for mobile phones */
@media(max-width: 767.98px) {
    community_navigation-multi-level-navigation-list > ul {
        border: 0 !important;
        box-shadow: unset !important;
    }
}

/* Remove shadow on User Profile Menu */
.b2b-theme__header community_user-user-profile-menu > div > button:active,
.b2b-theme__header community_user-user-profile-menu > div > button:focus {
    border-color: transparent !important;
    box-shadow: unset !important;
}

/* Remove Notification Tooltip */
.b2b-theme__header .themeNotifications .slds-global-actions__notifications {
    transform: translateY(-1px);
}

.b2b-theme__header .themeNotifications .slds-global-actions__notifications:focus,
.b2b-theme__header .themeNotifications .slds-global-actions__notifications:active {
    animation: unset !important;
    border-color: transparent !important;
    box-shadow: unset !important;
}

.b2b-theme__header .themeNotifications span[role="tooltip"] {
    display: none !important;
}

/* Remove Cart Icon focus shadow */
.b2b-theme__header .forceCommunityThemeHeaderB2B .cartButton svg:active,
.b2b-theme__header .forceCommunityThemeHeaderB2B .cartButton svg:focus {
    animation: unset !important;
    border-color: transparent !important;
    box-shadow: unset !important;
    outline: none !important;
}


/* LOGIN PAGES */
body[class*="comm-page-login-home"] .salesforceIdentityLoginForm2 .inputContainer,
body[class*="comm-page-forgot-password"] .salesforceIdentityForgotPassword2 .inputContainer,
body[class*="comm-page-self-register"] .salesforceIdentitySelfRegister2 .inputContainer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

body[class*="comm-page-login-home"] .salesforceIdentityLoginForm2 .inputBox,
body[class*="comm-page-forgot-password"] .salesforceIdentityForgotPassword2 .inputBox,
body[class*="comm-page-self-register"] .salesforceIdentitySelfRegister2 .inputBox {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

body[class*="comm-page-login-home"] .salesforceIdentityLoginForm2 .uiInput,
body[class*="comm-page-forgot-password"] .salesforceIdentityForgotPassword2 .uiInput,
body[class*="comm-page-self-register"] .salesforceIdentitySelfRegister2 .uiInput {
    width: 100%;
    padding: 3px 0.75rem 0 0.75rem;
}

body[class*="comm-page-login-home"] .salesforceIdentityLoginForm2 .inputBox:hover,
body[class*="comm-page-login-home"] .salesforceIdentityLoginForm2 .inputBox:active,
body[class*="comm-page-login-home"] .salesforceIdentityLoginForm2 .inputBox:focus,
body[class*="comm-page-forgot-password"] .salesforceIdentityForgotPassword2 .inputBox:hover,
body[class*="comm-page-forgot-password"] .salesforceIdentityForgotPassword2 .inputBox:active,
body[class*="comm-page-forgot-password"] .salesforceIdentityForgotPassword2 .inputBox:focus,
body[class*="comm-page-self-register"] .salesforceIdentitySelfRegister2 .inputBox:hover,
body[class*="comm-page-self-register"] .salesforceIdentitySelfRegister2 .inputBox:active,
body[class*="comm-page-self-register"] .salesforceIdentitySelfRegister2 .inputBox:focus {
    box-shadow: unset;
}

body[class*="comm-page-login-home"] .salesforceIdentityLoginForm2 .inputIcon,
body[class*="comm-page-forgot-password"] .salesforceIdentityForgotPassword2 .inputIcon,
body[class*="comm-page-self-register"] .salesforceIdentitySelfRegister2 .inputIcon {
    font-size: unset;
}


/* Flexible pages set max-width */
.b2b-theme__body-content .siteforceDynamicLayout {
    max-width: var(--b2b-theme-containerMaxWidth);
    margin: 0 auto;
}


/* ERROR PAGE*/
/* Remove content paddings */
body[class*="comm-page-error"] .b2b-layout__content {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    padding-left: 0;
}


/* PRODUCT DETAIL PAGE, SEARCH PAGE */
/* Show all product name */
body[class*="comm-page-detail"] b2b_search_product_card-product-field .slds-truncate,
body[class*="comm-page-global-search"] b2b_search_product_card-product-field .slds-truncate {
    white-space: unset;
    text-align: center;
}

/* Remove borders on arrows on pagination */
body[class*="comm-page-detail"] b2b_search_results_tiles-paging-control .slds-button_neutral.nav-direction,
body[class*="comm-page-global-search"] b2b_search_results_tiles-paging-control .slds-button_neutral.nav-direction {
    border: 0;
}

/* Display breadcrumbs on Mobile PLP */
body[class*="comm-page-detail"] .categoryBreadcrumbs,
body[class*="comm-page-global-search"] .categoryBreadcrumbs {
    display: block !important;
}

/* Fixed Combobox Icon Z-Index */
.slds-input-has-icon .slds-input__icon {
    z-index: unset;
}
