@import "./fonts/rubik.css";

body {
  margin: unset;
  /* Added to avoid page scrollbar when using Slide component */
  overflow: hidden;
}

/* Override scrollbar style for Firefox */
@-moz-document url-prefix() {
  body {
    scrollbar-color: #d3d3dd transparent;
  }
}

/* Override scrollbar style for Chrome and Safari */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  height: 6px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    #212553;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.behavior-open {
  flex: 1;
}

div#msdoc-renderer {
  height: 100%;
}

div#proxy-renderer {
  height: 100%;
  overflow-y: hidden;

  .doc-detail-localization > & iframe {
    min-height: 412px;
  }
}

/* ensures date picker dialogs appear above other dialogs  */
body > div.MuiPopper-root.MuiPickersPopper-root {
  z-index: 10000000000 !important;
}

/* WebComponents override  */

.dashboard-container.forge-performance-dashboard
  > .padded-card
  > span.timeRange {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
}

.ql-snow .ql-tooltip {
  z-index: 2;
  left: 0 !important;
}
