/* Custom CSS fixes */

#helpdesk_widget {
    position: relative !important;
    bottom: 0 !important;
    right: 0 !important;
    width: initial !important;
    height: initial !important;
    flex-direction: column;

}

#helpdesk_ticket_container {
    position: initial !important;
    min-height: 720px !important;
}

.csl-entry {
    word-wrap: break-word;
}

/* remove on next release */
.skiplinks-wrapper a.skiplink:focus {
    top: 10px !important;
}

/* cleanup
.ui.secondary.inverted.pointing.menu:not(.vertical):not(.pagination) .active.item,
.ui.secondary.inverted.pointing.menu:not(.vertical):not(.pagination) .item:active,
.ui.pointing.secondary.menu.inverted .item:hover {
    color: #FFF;
    cursor: pointer;
}
 */


/* avoid menu item on 2nd row when we don't have enough space to have larger gap */
/* remove on next release */
@media screen and (min-width: 993px) and (max-width: 1199px) {
    .main.bar .ui.container .ui.text.menu {
        gap: 0;
    }
}

/* remove on next release */
.ui[class*="ary"] .tag .icon, .ui[class*="ary"] .tag .name {
   color: var(--text-color, #3d5265);
}

/* Warn editor when there is an empty link */
.slate-editor-link.external > span:first-child > span > span[data-slate-length="0"]::before {
  content: "Empty external link ";
  color: red;
}

.slate-editor-link.internal  > span:first-child > span > span[data-slate-length="0"]::before {
  content: "Empty internal link ";
  color: red;
}

/* quickfix for missing ellipsis icon on layout panel */
i.icon.ellipsis.horizontal:before {
  content: "\ef78";
  font-family: 'remixicon';
}

/* hide merge issue from volto core */
#page-sharing .help {
display: none;
}