.sbMenu {
  width: 100%;
  position: fixed;
  z-index: 1001;
  margin-top: 0;
}

/* Pads the Comments... button/DD */
.ddPadding {
  width: 100%;
  margin-top: 85px;
  z-index: 1002;
}

/* To show the hand when hovering - does not seem to always work */
.pointer {
  cursor: pointer;
}

.indent15 {
  text-indent: 15px
}

.focusPagination {
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
}

.favePadding {
  width: 100%;
  position: relative;
  z-index: 1000;
  overflow: visible !important;
}

.historyPadding {
  width: 100%;
  position: relative;
  z-index: 900;
  overflow: visible !important;
}

.dropdown-menu1 {
  max-width: 385px !important;
  width: 300px;
  left: 20% !important;
  z-index: 1002;
}

.dropdown-menu > li > a:hover {
  background-color: #428BCA;
  background-image: none;
  color: white;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  left: 20%;
  width: 225px;
  margin-top: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu > a:after {
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

@media print {
  div.no-print {
    display: none;
  }
}

#favesList:has(.btnIndivColor) div.popover-content {
  text-align: center;
}

.btnIndivColor {
  border: 1px solid black;
  border-radius: 3px;
  margin: 3px;
  width: 20%;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.scroll-panel-body {
  overflow-y: scroll;
}

.groupColScroll {
  max-height: 500px;
  overflow-y: auto;
}

.panel-borderless {
  border: 0;
  box-shadow: none;
}

.button-120w {
  width: 120px !important;
}

.focusPagination {
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
}

.table-striped tbody tr.highlight td {
  border: solid;
}

.inactiveGroup {
  color: lightgrey;
}

.greyText {
  color: darkgrey;
}

#groupColumnParent {
  float: left;
  position: sticky;
  top: 50px;
}

#commentColumn {
  float: left;
}

.twentyLeft {
  margin-left: 20px;
}

.ui-widget.le-formal-share.col-xs-12 {
  padding-left: 0;
  padding-right: 0;
}

div.row.le-formal-share {
  margin-bottom: 10px;
}

#sharingModal {
  .modal-header, .modal-footer {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
  }

  div.modal-body#make-top-white {
    padding-top: 0;
    border-top: 15px solid white;
    min-height: 730px;
    max-height: 80VH;
    overflow-y: hidden;
  }

  hr#no-bottom-margin {
    height: 1px;
    color: #b1b1b1;
    background-color: #b1b1b1;
    width: 97%;
    margin: auto;
  }

  .no-right-padding {
    padding-right: 0;
  }

  .sharing-top {
    position: relative;
    background-color: white;
    z-index: 100;
  }

  div.row.gotTeaches.sharing-top > div.row > div.col-xs-3 {
    padding-right: 0;
  }

  div.lilMarg:has(#sharedTeach) {
    padding-right: 7px;
  }
  div.lilMarg:not(:has(#sharedTeach)) {
    padding-left: 7px;
  }
  div.lilMarg > div.panel:hover {
    border: 1px darkgrey solid;
  }

  #sharedTeach, #unsharedTeach {
    div.checkbox {
      padding: 0;
      border: 1px black solid;
      border-radius: 5px;
      box-shadow: 2px 2px lightgray;
      margin-bottom: 15px;

      &:hover, &:focus {
        border: 1px #1e931e solid;
        box-shadow: 3px 3px lightgray;
        > label:has(input[type="checkbox"]) {
          font-weight: 600;
        }
      }

      label {
        word-break: break-all;
        &:has(input[type="checkbox"]) {
          padding: 7px 7px 7px 25px;
          width: 100%;
        }
        &:has(input[type="checkbox"]:disabled) {
          color: darkgrey;
          cursor: initial;
          > * {
            cursor: initial;
          }
        }
      }
      cursor: pointer;
    }
    overflow-y: auto;
    max-height: 435px;
  }
}

div#make-top-white:has(div#shareInfo.collapse.in) {
  #sharedTeach, #unsharedTeach {
    max-height: 350px;
  }
}

div.row.gotTeaches.sharing-top div.toggle.btn:has(input[type="checkbox"]:disabled) {
  label {
    opacity: 0.6
  }
}

div#libraryDetailDiv div.row > div {
  padding-right: 0;
  padding-left: 0;
}

div.share-flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 20px;
}

div.inline-it > div {
  display: inline;
}

label[for="searchInMembers"] {
  margin-right: 10px;
}

input#searchInMembers {
  width: 96%;
}

div#shareInfoHere {
  margin-left: 5px;
  margin-right: 5px;
  br {
    display: block;
    margin-top: 10px;
    content: ' ';
  }
}

div#inactiveBackdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1050;
}

div#cChangeAlert {
  position: absolute;
  border-width: 4px;
  width: 65%;
  max-width: 900px;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1060;
  font-size: 15px;
}

#riskyAlert {
  margin-top: 10px;
}

.expand_caret {
  transform: scale(2.5);
  margin-left: 8px;
  margin-top: -4px;
}

a[aria-expanded='false'] > .expand_caret {
  transform: scale(2.5) rotate(-90deg);
}

#hidden-text.small {
  position: absolute;
  z-index: -1;
}

#wc.panel.panel-primary {
  margin: 7px;
}

#editCommentTable {
  border-collapse: unset;
  tr.annoRow {
    &:nth-of-type(odd) {
      border-radius: 3px;
      & > td {
        border: 1px solid #ddd;
        border-radius: 3px;
      }
    }
    &:nth-of-type(even) {
      border: none;
      & > td {
        border: none;
      }
    }
  }
}
