@charset "UTF-8"
/* jspanel.sass: 2018-09-12 08:35 */
// http://stackoverflow.com/questions/30421570/sass-unicode-escape-is-not-preserved-in-css-file
@function unicode($str)
  @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")

@import 'themes_mdl_styles'
@import 'jsglyph'
// themes are imported at the bottom of the file

=basic-mixin
  border: 0
  box-sizing: border-box
  vertical-align: baseline
  font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif
  font-weight: normal

=flex-mixin
  display: -webkit-box
  display: -ms-flexbox
  display: flex

=footer-mixin
  -webkit-box-orient: horizontal
  -webkit-box-direction: normal
  -ms-flex-direction: row
  flex-direction: row
  -webkit-box-pack: end
  -ms-flex-pack: end
  justify-content: flex-end
  -ms-flex-wrap: nowrap
  flex-wrap: nowrap
  -webkit-box-align: center
  -ms-flex-align: center
  -ms-grid-row-align: center
  align-items: center

=header-mixin
  box-sizing: border-box
  +flex-mixin
  -webkit-box-orient: horizontal
  -webkit-box-direction: normal
  -ms-flex-direction: row
  flex-direction: row
  -ms-flex-wrap: nowrap
  flex-wrap: nowrap
  -webkit-box-align: center
  -ms-flex-align: center
  -ms-grid-row-align: center
  align-items: center

=connector-mixin-1
  width: 0
  height: 0
  border: 12px solid transparent
  position: absolute

=connector-mixin-2
  position: absolute
  width: 12px
  height: 12px
  border: none
  border-radius: 50%


.jsPanel
  +basic-mixin
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)
  opacity: 0
  overflow: visible
  position: absolute
  border-radius: 3px
  z-index: 100

  .jsPanel-hdr
    +basic-mixin
    border-top-left-radius: 3px
    border-top-right-radius: 3px
    font-size: 18px
    display: -webkit-box
    display: -ms-flexbox
    display: flex
    -webkit-box-orient: vertical
    -webkit-box-direction: normal
    -ms-flex-direction: column
    flex-direction: column
    overflow: hidden

  .jsPanel-content
    +basic-mixin
    background: #ffffff
    color: #000000
    font-size: 12px
    position: relative
    overflow: hidden

    pre
      color: inherit /* this is just to override the bootstrap setting */

  .jsPanel-ftr
    +footer-mixin
    border-bottom-left-radius: 3px
    border-bottom-right-radius: 3px
    border-top: 1px solid #e0e0e0
    cursor: move
    display: none
    box-sizing: border-box
    font-size: 12px
    height: auto
    background: #f5f5f5
    font-weight: normal
    color: black
    overflow: hidden

  .jsPanel-ftr.active
    +flex-mixin

    > *
      margin: 8px

  .jsPanel-ftr.panel-footer
    padding: 0

.jsPanel-headerbar, .jsPanel-hdr-toolbar
  font-size: 18px

.jsPanel-headerbar
  +header-mixin
  min-height: 38px
    
  .jsPanel-headerlogo
    cursor: move

  img
    vertical-align: middle
    max-height: 38px


.jsPanel-titlebar
  -webkit-box-flex: 1
  -ms-flex: 1 1 0px
  flex: 1 1 0px
  cursor: move
  min-height: 32px
  overflow: hidden

  h3
    color: #000000
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif
    white-space: nowrap
    overflow: hidden
    text-overflow: ellipsis
    font-size: 16px
    font-variant: small-caps
    font-weight: normal
    margin: 10px 5px 10px 8px

    small
      font-size: 75%
      color: inherit

.jsPanel-titlebar.jsPanel-rtl
  h3
    -webkit-box-flex: 1
    -ms-flex: 1 0 auto
    flex: 1 0 auto

.jsPanel-controlbar
  +flex-mixin
  -webkit-box-align: center
  -ms-flex-align: center
  -ms-grid-row-align: center
  align-items: center

  div
    span:hover
      opacity: .6

  .jsPanel-btn
    padding: 0 3px
    cursor: pointer

    span
      vertical-align: middle

  .jsPanel-btn-normalize
    display: none

  .jsPanel-btn-smallifyrev
    display: none

.jsPanel-hdr-toolbar
  display: none
  width: auto
  height: auto
  font-size: 16px

.jsPanel-hdr-toolbar.active
  +header-mixin

  > *
    margin: 6px 8px



/* styles for panels using option.rtl */
.jsPanel-headerbar.jsPanel-rtl, .jsPanel-controlbar.jsPanel-rtl, .jsPanel-hdr-toolbar.jsPanel-rtl
  -webkit-box-orient: horizontal
  -webkit-box-direction: reverse
  -ms-flex-direction: row-reverse
  flex-direction: row-reverse

.jsPanel-hdr-toolbar.active.jsPanel-rtl
  padding: 7px 0 10px 0

.jsPanel-ftr.jsPanel-rtl
  -webkit-box-orient: horizontal
  -webkit-box-direction: normal
  -ms-flex-direction: row
  flex-direction: row



/* css for tooltip connectors */
.jsPanel-connector
  pointer-events: none
/* naming of connectors reflects position of tooltip and not pos of connector */
.jsPanel-connector-top
  +connector-mixin-1
  border-top-width: 10px
  left: calc(50% - 12px)
  bottom: -22px

.jsPanel-connector-topleft
  +connector-mixin-1
  border-top-width: 10px
  left: 2px
  bottom: -22px

.jsPanel-connector-topright
  +connector-mixin-1
  border-top-width: 10px
  left: calc(100% - 26px)
  bottom: -22px

.jsPanel-connector-right
  +connector-mixin-1
  border-right-width: 10px
  left: -22px
  top: calc(50% - 12px)

.jsPanel-connector-righttop
  +connector-mixin-1
  border-right-width: 10px
  left: -22px
  top: 2px

.jsPanel-connector-rightbottom
  +connector-mixin-1
  border-right-width: 10px
  left: -22px
  top: calc(100% - 26px)

.jsPanel-connector-bottom
  +connector-mixin-1
  border-bottom-width: 10px
  left: calc(50% - 12px)
  top: -22px

.jsPanel-connector-bottomleft
  +connector-mixin-1
  border-bottom-width: 10px
  left: 2px
  top: -22px

.jsPanel-connector-bottomright
  +connector-mixin-1
  border-bottom-width: 10px
  left: calc(100% - 26px)
  top: -22px

.jsPanel-connector-left
  +connector-mixin-1
  border-left-width: 10px
  left: 100%
  top: calc(50% - 12px)

.jsPanel-connector-lefttop
  +connector-mixin-1
  border-left-width: 10px
  left: 100%
  top: 2px

.jsPanel-connector-leftbottom
  +connector-mixin-1
  border-left-width: 10px
  left: 100%
  top: calc(100% - 26px)

/* naming of connectors reflects position of tooltip and not pos of connector */
.jsPanel-connector-lefttopcorner
  +connector-mixin-2
  left: calc(100% - 6px)
  top: calc(100% - 6px)

.jsPanel-connector-righttopcorner
  +connector-mixin-2
  left: -6px
  top: calc(100% - 6px)

.jsPanel-connector-rightbottomcorner
  +connector-mixin-2
  left: -6px
  top: -6px

.jsPanel-connector-leftbottomcorner
  +connector-mixin-2
  left: calc(100% - 6px)
  top: -6px



/* container that takes the minified jsPanels */
#jsPanel-replacement-container, .jsPanel-minimized-box
  +flex-mixin
  -ms-flex-flow: row wrap-reverse
  flex-flow: row wrap-reverse
  background: transparent none repeat scroll 0 0
  bottom: 0
  height: auto
  left: 0
  position: fixed
  width: auto
  z-index: 9998

  .jsPanel-replacement
    width: 200px
    height: 40px
    margin: 1px 1px 0 0
    z-index: 9999

    .jsPanel-hdr
      padding: 0

      .jsPanel-headerlogo
        cursor: move
        max-width: 50%
        overflow: hidden

        img
          max-width: 100px
          max-height: 38px

    .jsPanel-titlebar
      -webkit-box-flex: 1
      -ms-flex: 1 1 60%
      flex: 1 1 0
      cursor: default

    .jsPanel-btn.jsPanel-btn-normalize
      display: block

.jsPanel-minimized-box
  position: absolute
  width: auto



/* css for the modal backdrop ------------------------------- */
.jsPanel-modal
  .jsPanel-hdr, .jsPanel-ftr
    cursor: default

/* css for the hints --------------------------------------- */
.jsPanel-hint
  .jsPanel-hdr, .jsPanel-ftr
    cursor: default

/* css for the tooltips --------------------------------------- */
.jsPanel-tooltip
  overflow: visible

  .jsPanel-hdr, .jsPanel-ftr
    cursor: default



/* helper classes to make .jsPanel-content a flex box */
.flexOne
  display: -webkit-box
  display: -ms-flexbox
  display: flex
  -ms-flex-flow: row wrap
  flex-flow: row wrap


/* css for resizeit handles ------------------------- */
.jsPanel-resizeit-handle
  display: block
  font-size: 0.1px
  position: absolute

.jsPanel-resizeit-handle.jsPanel-resizeit-n
  cursor: n-resize
  height: 10px
  left: 0
  top: -5px
  width: 100%

.jsPanel-resizeit-handle.jsPanel-resizeit-e
  cursor: e-resize
  height: 100%
  right: -5px
  top: 0
  width: 10px

.jsPanel-resizeit-handle.jsPanel-resizeit-s
  bottom: -5px
  cursor: s-resize
  height: 10px
  left: 0
  width: 100%

.jsPanel-resizeit-handle.jsPanel-resizeit-w
  cursor: w-resize
  height: 100%
  left: -5px
  top: 0
  width: 10px

.jsPanel-resizeit-handle.jsPanel-resizeit-ne
  cursor: ne-resize
  height: 12px
  right: -6px
  top: -6px
  width: 12px

.jsPanel-resizeit-handle.jsPanel-resizeit-se
  bottom: 1px
  cursor: se-resize
  height: 12px
  right: 1px
  width: 12px

.jsPanel-resizeit-handle.jsPanel-resizeit-sw
  bottom: -6px
  cursor: sw-resize
  height: 12px
  left: -6px
  width: 12px

.jsPanel-resizeit-handle.jsPanel-resizeit-nw
  cursor: nw-resize
  height: 12px
  left: -6px
  top: -6px
  width: 12px




/* bootstrap adjustments */
.jsPanel.panel-default, .jsPanel.panel-primary, .jsPanel.panel-info, .jsPanel.panel-success, .jsPanel.panel-warning, .jsPanel.panel-danger, .jsPanel.card.card-inverse
  box-shadow: 0 0 6px rgba(0, 33, 50, 0.1), 0 7px 25px rgba(17, 38, 60, 0.4)

.jsPanel.panel
  margin: 0

.jsPanel-hdr.panel-heading
  border-bottom: none
  padding: 0

//.jsPanel-hdr.panel-heading
//  .jsPanel-headerbar
//    .jsPanel-controlbar
//      div:hover
//        /*does not work in IE/EDGE*/
//        -webkit-filter: invert(100%)
//        filter: invert(100%)

.jsPanel-title.panel-title .small, .jsPanel-title.panel-title small
  font-size: 75%


/* bootstrap 4 adjustments */
.jsPanel.card.card-inverse
  box-shadow: 0 0 6px rgba(0, 33, 50, 0.1), 0 7px 25px rgba(17, 38, 60, 0.4)

.card-default
  background: #f5f5f5

.card-primary > .jsPanel-content.jsPanel-content-filled,
.card-success > .jsPanel-content.jsPanel-content-filled,
.card-info > .jsPanel-content.jsPanel-content-filled,
.card-warning > .jsPanel-content.jsPanel-content-filled,
.card-danger > .jsPanel-content.jsPanel-content-filled
  background: transparent
  color: #f5f5f5

.card-default > .jsPanel-content.jsPanel-content-filled
  background: transparent
  color: #000000



/* css3 animations */
@keyframes jsPanelFadeIn
  from
    opacity: 0
  to
    opacity: 1

.jsPanelFadeIn
  opacity: 0  /* make things invisible upon start */
  animation: jsPanelFadeIn ease-in 1
  animation-fill-mode: forwards
  animation-duration: 600ms

@keyframes modalBackdropFadeIn
  from
    opacity: 0
  to
    opacity: 0.65

.jsPanel-modal-backdrop
  animation: modalBackdropFadeIn ease-in 1
  animation-fill-mode: forwards
  animation-duration: 750ms
  background: rgb(0,0,0)
  position: fixed
  top: 0
  left: 0
  width: 100%
  height: 100%

@keyframes modalBackdropFadeOut
  from
    opacity: 0.65
  to
    opacity: 0

.jsPanel-modal-backdrop-out
  animation: modalBackdropFadeOut ease-in 1
  animation-fill-mode: forwards
  animation-duration: 400ms

.jsPanel-modal-backdrop-multi
  background: rgba(0,0,0,0.15)

@import "themes"


// these styles need to be after the themes
.jsPanel-content.jsPanel-content-noheader
  border-top-left-radius: 3px
  border-top-right-radius: 3px
  border: none !important

.jsPanel-content.jsPanel-content-nofooter
  border-bottom-left-radius: 3px
  border-bottom-right-radius: 3px

