/* Style for main navigation items */
.mainNavItem a[href*="http"]:not([href*="support.citrix"]):not([href*="citrite.my.site.com"]):not(.social-media-section a) {
    position: relative;
    padding-right: 20px;
    /* Adjust padding to make room for the icon */
}

.mainNavItem a[href*="http"]:not([href*="support.citrix"]):not([href*="citrite.my.site.com"]):not(.social-media-section a)::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    position: absolute;
    right: 15px;
    top: 55%;
    transform: translateY(-50%);
}

/* Style for clickable list items */
ul.clickables li a[href*="http"]:not([href*="support.citrix"]):not([href*="citrite.my.site.com"]):not(.social-media-section a) {
    position: relative;
    padding-right: 20px;
    /* Adjust padding to make room for the icon */
}

ul.clickables li a[href*="http"]:not([href*="support.citrix"]):not([href*="citrite.my.site.com"]):not(.social-media-section a)::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Style for general external links with target="_blank" */
a[href*="http"]:not([href*="support.citrix"]):not([href*="citrite.my.site.com"]):not(.social-media-section a)[target="_blank"] {
    position: relative;
    padding-right: 5px;
    text-decoration: none;
}

a[href*="http"]:not([href*="support.citrix"]):not([href*="citrite.my.site.com"]):not(.social-media-section a)[target="_blank"]::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    position: relative;
    right: 0;
    top: -1px;
    transform: translateY(-50%);
    padding-left: 5px;
}

.mainNavItem a[href="https://community.citrix.com/"]:after {
    content: none !important;
}

/* Style for carousel outage banner */
.carouselSlide .js-content-title.js-content-navlink.slds-text-heading_small {
    display: inline-flex;
    justify-content: start;
    gap: 5px;
}

/* Remove underline on hover for the pseudo-element */
.carouselSlide a:hover::before {
    text-decoration: none !important;
}

.carouselSlide .js-content-navlink::before {
    content: "\26A0";
    color: #FF6E2B;
    display: flex;
    opacity: 1;
    font-size: 30px;
    line-height: 10px;
    position: relative;
    top: 5px;
}

/* Used :has() pseudo-class to target the parent element containing the empty span or div */
.forcePageBlockItem:has(.test-id__field-value > span:empty),
.forcePageBlockItem:has(.test-id__field-value > div:empty),
.article-column.selfServiceArticleLayout .forcePageBlockSectionView .forcePageBlockSectionRow:nth-child(2) {
    display: none !important;
}

/* Remove padding from the article content body */
.body .selfServiceArticleLayout.article-column {
    padding: 0 !important;
}

/* Remove breadcrumb margin */
.slds-breadcrumb.slds-list--horizontal {
    margin-left: 0px !important;
}

.contentRegion .selfServiceArticleTopicList.selfServiceArticleLayout {
    padding: 0 !important;
}

.carouselSlide a.js-content-title.js-content-navlink.slds-text-heading_small:hover {
    text-decoration: none !important;
}

.siteforceContentArea .downoadButton .downloadFile {
    padding: 10px 30px;
    margin-bottom: 10px;
    height: auto;
}

.siteforceContentArea .downoadButton {
    margin-bottom: 25px;
}

.siteforceContentArea .selfServiceArticleTopicList.selfServiceArticleLayout {
    padding: 10px 0;
}

@supports (-moz-appearance:none) {
    .carouselSlide .js-content-navlink::before {
        font-size-adjust: 0.3;
    }
}

.contentRegion .downoadButton {
    padding: 10px 0 0 !important;
}