@media (max-width: 768px) {
    .themeBgImage {
        background-position-x: center !important;
    }

    .ia-header__country-text--full {
        display: none;
    }

    .ia-header__country-text--short {
        display: block;
    }
}

.header div[data-region-name="themeHeader"] {
    border: 0 !important;
}


@media (min-width: 769px) {
    .themeHeader.forceCommunityThemeHeaderBase.forceCommunityThemeHeaderCompact {
        width: min(100vw, 1400px) !important;
        position: relative !important;
    }

    .themeHeader .themeHeaderInner {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        margin: 0px 0px 0px 300px !important;
    }

    .header div[data-region-name="themeHeader"] {
        display: flex !important;
        justify-content: center !important;
    }
}

.themeNav .forceCommunityThemeNav .mainNavItem {
    padding-left: 0px !important;
}

.themeHeader .themeHeaderInner .forceCommunityThemeNav .visible-links {
    gap: 0px !important;
}

.header .forceCommunityThemeNav.cypressHomeHeader .mainNavItem .linkBtn.comm-navigation__top-level-item-link--active,
.header nav .slds-list__item .isActive {
    border-bottom: 2px solid rgb(197, 34, 66);
    border: none !important;
    color: rgb(197, 34, 66) !important;
    font-size: 18px;
    font-weight: 700;
}

.header nav.lwc-59kp5sov61j button.isActive {
    border: none !important;
}

.header .siteforceDesignTimeComponent .actualNode nav.cypressHomeHeader {
    display: inline-flex;
    align-items: center;
}

.header .forceCommunityThemeNav.cypressHomeHeader .mainNavItem .linkBtn,
.header nav .slds-list__item {
    font-size: 18px;
    font-family: "Metropolis", "Segoe UI", Arial, sans-serif;

}

@media(min-width: 48em) {
    .forceCommunityThemeNav.cypressHomeHeader .mainNavItem .subMenu::before {
        border-bottom-color: rgb(255, 255, 255) !important;
        display: none;
    }
}

.forceCommunityThemeHeaderBase .themeBgImage,
.forceCommunityThemeHeaderBase .themeBgOverlay {
    width: 256px !important;
    height: 6rem !important;
}

@media (max-width: 768px) {

    .forceCommunityThemeHeaderBase .themeBgImage,
    .forceCommunityThemeHeaderBase .themeBgOverlay {
        height: 100% !important;
    }

    .forceCommunityThemeHeaderCompact .themeUtils .themeUtilsContainer {
        display: flex !important;
    }
}

@media (width: 768px) {
    nav.lwc-59kp5sov61j.slds-has-flexi-truncate {
        width: 80%;
        margin-left: 40%;
    }
}

.slds-nubbin_top-left:before,
.slds-nubbin_top-left:after,
.slds-nubbin--top-left:before,
.slds-nubbin--top-left:after,
.slds-nubbin_top-left-corner:before,
.slds-nubbin_top-left-corner:after {
    left: var(--lwc-spacingLarge, 1.5rem);
    top: -.5rem;
    display: none;
}

.forceCommunityThemeNav .uiMenuList {
    left: 0 !important;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3) !important;
}

.header .slds-list__item nav ul {
    outline: none !important;
}


.header .subMenu ul li.uiMenuItem,
.header .slds-list__item nav ul li {

    font-family: 'Metropolis', 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 15px !important;
    line-height: 20px;
    letter-spacing: 1%;
    vertical-align: middle;
}

.header .subMenu ul li.uiMenuItem {
    padding: 8px 16px !important;
}


.themeUtil {
    min-height: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #cdd6df;
    background: #ffffff;
    border-radius: 6px;
    padding: 0 8px;
    color: #2d2b33;
    font-family: 'Metropolis', 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
}

.ia-header__flag {
    width: 16px;
    height: 11px;
    border: 1px solid #d6dde5;
    border-radius: 2px;
    overflow: hidden;
    flex: 0 0 auto;
}

.ia-header__flag-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ia-header__country-text--short {
    display: none;
}


lightning-input {
    margin-bottom: 16px;
    height: 50px;
}

/* Factory Progress help icon sizing */
c-factory-progress lightning-button-icon svg {
    width: 20px;
    height: 20px;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

c-factory-progress lightning-button-icon .slds-button__icon,
c-factory-progress lightning-button-icon lightning-primitive-icon,
c-factory-progress lightning-button-icon svg {
    width: 20px !important;
    height: 20px !important;
}

/* Tooltip background */
.slds-popover_tooltip,
.slds-popover--tooltip {
    background-color: #285559 !important;
    color: #ffffff !important;
}

/* Tooltip arrow (nubbin) */
.slds-popover_tooltip .slds-nubbin_top:before,
.slds-popover_tooltip .slds-nubbin_bottom:before,
.slds-popover_tooltip .slds-nubbin_left:before,
.slds-popover_tooltip .slds-nubbin_right:before {
    background-color: #285559 !important;
    color: #ffffff !important;
}

.slds-col--padded {
    padding: 0px !important;
}

.forceCommunityThemeHeaderCompact .themeUtil .slds-button:focus,
.forceCommunityThemeSearchSection .search-triggerButton:focus {
  outline: none !important;
}
.slds-button:focus {
  box-shadow: none !important;
}

