$uglypurple = #EA1EFF

.Calendar
  &-hovered
    .public_fixedDataTableCell_wrap2
      background-color rgba($bz-blue, .1)
  &-cell
    width 100%
    height 100%

.CalendarDate
  display inline-block
  position relative
  &:before
    icon()
    content '\E812'
    position absolute
    left 0
    line-height 2.5em
    padding-left 15px
  &-display
    display inline-block
    cursor pointer
    padding 0 1em 0 2.75em
    border-width 0 0 0 1px
    border-style solid
  &__underlay
    coverScreen(fixed)
    display none
  &-preset
    padding 10px 16px
    background 0
    width 25%
    box-sizing border-box
    border 0
    font-size 12px
    cursor pointer
    outline 0
    transition color .2s ease
    &:hover
      color $bz-blue
  &-picker
    z-index 2
    display none
    position absolute
    top calc(100% + 7px)
    white-space normal
    padding 20px
    width 570px
    left -320px
    boxShadow()
    &:before, &:after
      content ''
      position absolute
    &:before
      width 20px
      height 20px
      boxShadow()
      transform rotate(45deg)
      right 257px
      top -9px
      z-index 0
      display block
    &:after
      z-index 1
      top 0
      right 247px
      width 40px
      height 20px
    &.visible
      display block
      &+.CalendarDate-underlay
        display block
    .DateRangePicker__Month
      margin-bottom 20px
    .DateRangePicker__Month + .DateRangePicker__Month
      margin-left 20px

// .importance-level
//   height 3em
//   vertical-align middle
//   for i in (0..5)
//     &--{i}
//       circle:nth-last-child(-n + {i})
//         fill $bz-grey
//         stroke $bz-grey

.public
  &_fixedDataTable
    &Cell
      &_wrap1, &_wrap2, &_wrap3
        width 100%
        height 100%


.public_fixedDataTableCell_wrap1, .public_fixedDataTableCell_wrap2, .public_fixedDataTableCell_wrap3
  height 100%
  width 100%

// SCROLLBAR STUFF
.public_Scrollbar_main.public_Scrollbar_mainActive,.public_Scrollbar_main:hover
  background-color rgba($bz-grey, .25)

.public_Scrollbar_mainOpaque,.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,.public_Scrollbar_mainOpaque:hover
  background-color rgba($bz-grey,.25)

.public_Scrollbar_face
  &:after
    background-color $bz-grey

.public_Scrollbar_main:hover .public_Scrollbar_face:after,.public_Scrollbar_mainActive .public_Scrollbar_face:after,.public_Scrollbar_faceActive:after
  background-color $bz-grey


// TABLE STUFF
.public_fixedDataTable_header
  :hover
    cursor pointer

  .public_fixedDataTableCell_main
    font-weight 400

.public_fixedDataTable_horizontalScrollbar
  .public_Scrollbar_mainHorizontal
    background-color $uglypurple

.public_fixedDataTableCell_main
  overflow hidden
  background-color transparent

.public_fixedDataTableCell_cellContent
  padding 5px
  white-space nowrap
  font-size 13px
  font-weight 200

.public_fixedDataTableCell_columnResizerKnob
  background-color $bz-blue

.public_fixedDataTableColumnResizerLine_main
  border-color $bz-blue

.public_fixedDataTableRow_main
  background-color transparent

.public_fixedDataTableRow_fixedColumnsDivider
  border-color transparent

.ScrollbarLayout_main
  box-sizing border-box
  outline none
  overflow hidden
  position absolute
  transition-duration 200ms
  transition-timing-function ease
  noSelect()

.ScrollbarLayout_mainVertical
  bottom 0
  right 0
  top 0
  transition-property background-color width
  width 15px

.ScrollbarLayout_mainVertical.public_Scrollbar_mainActive,.ScrollbarLayout_mainVertical:hover
  width 17px

.ScrollbarLayout_mainHorizontal
  bottom 0
  height 15px
  left 0
  transition-property background-color height

.ScrollbarLayout_mainHorizontal.public_Scrollbar_mainActive,.ScrollbarLayout_mainHorizontal:hover
  height 17px

.ScrollbarLayout_face
  left 0
  overflow hidden
  position absolute
  z-index 1
  &:after
    border-radius 6px
    content ''
    display block
    position absolute
    simpleTransition(background-color)

.ScrollbarLayout_faceHorizontal
  bottom 0
  left 0
  top 0
  &:after
    bottom 4px
    left 0
    top 4px
    width 100%

.ScrollbarLayout_faceVertical
  left 0
  right 0
  top 0
  &:after
    height 100%
    left 4px
    right 4px
    top 0

.fixedDataTableCellGroupLayout_cellGroup
  -webkit-backface-visibility hidden
  backface-visibility hidden
  left 0
  position absolute
  top 0
  white-space nowrap
  & > .public_fixedDataTableCell_main
    display inline-block
    vertical-align top
    white-space normal

.fixedDataTableCellGroupLayout_cellGroupWrapper
  position absolute
  top 0

.fixedDataTableCellLayout_main
  border-right-style solid
  border-width 1px
  box-sizing border-box
  display block
  position absolute
  white-space normal

.fixedDataTableCellLayout_lastChild
  border-right-style hidden
  box-sizing content-box
  border-width 0 0 0 0

.fixedDataTableCellLayout_alignRight
  text-align right

.fixedDataTableCellLayout_alignCenter
  text-align center

.fixedDataTableCellLayout_wrap1
  display table

.fixedDataTableCellLayout_wrap2
  display table-row

.fixedDataTableCellLayout_wrap3
  display table-cell
  vertical-align middle

.fixedDataTableCellLayout_columnResizerContainer
  position absolute
  right 0
  width 15px
  z-index 1
  &:hover
    cursor ew-resize
    .fixedDataTableCellLayout_columnResizerKnob
      visibility visible

.fixedDataTableCellLayout_columnResizerKnob
  position absolute
  right 0
  visibility hidden
  width 4px

.fixedDataTableColumnResizerLineLayout_mouseArea
  cursor ew-resize
  position absolute
  right -5px
  width 12px

.fixedDataTableColumnResizerLineLayout_main
  border-right-style solid
  border-right-width 1px
  box-sizing border-box
  position absolute
  z-index 10

body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main,.fixedDataTableColumnResizerLineLayout_hiddenElem
  display none!important

.fixedDataTableLayout_main
  overflow hidden
  position relative

.fixedDataTableLayout_header,.fixedDataTableLayout_hasBottomBorder
  border-bottom-style solid
  border-bottom-width 1px

.fixedDataTableLayout_rowsContainer
  position relative

.fixedDataTableLayout_horizontalScrollbar
  bottom 0
  position absolute

.fixedDataTableRowLayout_main
  position absolute
  top 0

.fixedDataTableRowLayout_body
  left 0
  position absolute
  top 0

.fixedDataTableRowLayout_fixedColumnsDivider
  -webkit-backface-visibility hidden
  backface-visibility hidden
  border-left-style solid
  border-left-width 0px
  left 0
  position absolute
  top 0
  width 0

.fixedDataTableRowLayout_rowWrapper
  position absolute
  top 0


.ratings-name, .ratings-analyst, .conference-name, .economics-event_name, .dividends-name, .guidance-name, .splits-name
    text-overflow ellipsis
    overflow hidden
