* {
  box-sizing: border-box;
}

.wrapper-div {
  width: 100%;
    /* margin: 1em auto;*/
  padding-bottom: 1em;
  /* display: flex; *//* disabled for sticky header */
  position: relative;
  overflow-x: auto;
  transition: all 1s;
  background: white;
}

.sticky-header-first-row {
  position: sticky;
  top: 0;
}

.data-table--cols {
  position: relative;
  }

  .data-table--collapse .data-table-row--head {
    font-weight: bold;
  }

  .data-table .data-table-row .data-div-cell:first-child {
      background: white;
      position:sticky;
      position: -webkit-sticky;
      left:0;

      z-index: 1;
  }

  .data-table .data-table-row .data-div-cell:nth-child(2) {
      background: white;
      position:sticky;
      position: -webkit-sticky;
      left:45px;
      border-right:4px solid #ecf0f1;
      z-index: 1;
  }

/* .roster-mode-right > .data-table .data-table-row .data-div-cell:first-child {
    position: unset;;
} */

.roster-mode-right > .data-table .data-table-row .data-div-cell:nth-child(2) {
    position: unset;
    z-index: 0;
}

  .second-col-shadow .data-table-row .data-div-cell:nth-child(2) {
    /* content: '';:after
    position: absolute;
    top: -1px;
    bottom: -1px;
    right: 0px;
    width: 1px;
    background: rgba(0, 0, 0);
    filter: blur(2px); */
    box-shadow: 10px 5px 18px rgba(0, 0, 0, 0.8);
  }

.is-striped:nth-of-type(even) {
  background: #f9f9f9;
}

.is-striped:nth-of-type(even) .data-div-cell:nth-child(2) {
  background: #f9f9f9;
}
.is-striped:nth-of-type(even) .data-div-cell:nth-child(1) {
  background: #f9f9f9;
}

.data-table-row:not(:first-child):hover .data-div-cell{
  background: #f1f1f1;
}

.data-table-row:not(:first-child):hover .data-div-cell .cell-see-more{
  background: #f1f1f1;
}

.selected-row.data-table-row:not(:first-child) .data-div-cell{
  background: #DAD7D9;
}

.selected-row.data-table-row:not(:first-child) .data-div-cell .cell-see-more{
  background: #DAD7D9;
}

.data-table-row:not(:first-child):hover .data-div-cell{
  background: #f1f1f1;
}

.data-table-row:not(:first-child):hover .data-div-cell .cell-see-more{
  background: #f1f1f1;
}


  /* Table header items
   ================================== */

   .thead-cell-main-header {
    height: 30px;
    background: #666766;
    border-bottom: 1px solid #ecf0f1;
    display: grid;
    grid-template-columns: 15px auto 18px;
    align-self: stretch;
    align-items: center;
}

  .thead-cell-header {
      height: 100%;
      display: grid;
      grid-template-columns: 15px auto 18px;
      align-self: stretch;
      align-items: center;
  }

  .thead-cell-header-2 {
    grid-template-columns: 20px 20px !important;
  }

  .thead-cell-header-5 {
    grid-template-columns: 15px auto 20px 20px 10px !important;
}

.thead-cell-header-4 {
  grid-template-columns: 15px auto 20px 10px !important;
}

  .data-table-row-height {
    min-height: 60px;
    height: 60px;
  }

  .data-table-cell-height {
    min-height: 60px;
    height: 60px;
  }

.sub-column {
  display: inline-flex;
  flex-wrap: nowrap;
  border-right: 1px solid #ecf0f1;
}

.sub-column:last-child {
  display: inline-flex;
  flex-wrap: nowrap;
  border-right: 0px solid #ecf0f1;
}

.cell-padding {
  padding: 10px 8px;
  min-width: 100%;
  min-height: 100%;
}

.grouped-bottom-column-header {
  display: inline-flex;
}

.grouped-bottom-column-header .bottom-column-header {
  padding: 0 8px;
  align-items: center;
  justify-content: center;
}

.grouped-bottom-column-header > .bottom-column-header {
  background: #3d3d3d !important;
}

.grouped-bottom-column-header > .bottom-column-header-sorted {
  padding: 0 8px;
  background: #409CDD !important;
}

.grouped-column-header {
  display:flex;
  display:-webkit-flex;
  flex-direction: column;
  width: min-content;
}

.data-table .data-table-row .data-div-cell > .grouped-column-header > .grouped-top-column-header:hover {
  background-color: black;
  color: white;

  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -o-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.data-table .data-table-row .data-div-cell > .grouped-column-header > .grouped-bottom-column-header > .bottom-column-header:hover {
  background-color: black !important;
  color: white;

  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -o-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.data-table .data-table-row .data-div-cell > .grouped-column-header > .grouped-bottom-column-header > .bottom-column-header-sorted:hover {
  background-color: #3075A6 !important;
  color: white;

  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -o-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.grouped-column-header-container.movable-handle, .grouped-column-header-container.sortable-handle, .grouped-column-header-container.resize-col-bg,  .grouped-column-header-container.see-more-col {
  opacity:0;
}

.grouped-column-header-container:hover > .movable-handle, .grouped-column-header-container:hover > .sortable-handle, .grouped-column-header-container:hover > .resize-col-bg, .grouped-column-header-container:hover > .see-more-col {
  opacity: 1;
}

.grouped-bottom-column-header .bottom-column-header-sorted > .sortable-handle {
  opacity: 1;
}

.bottom-column-header-sorted > .sortable-handle {
  color: #3075A6
}

.bottom-column-header-sorted:hover > .sortable-handle {
  color: #003366;
}


/* Table header items - icons
   ================================== */

   .icon-display-middle {
      height: 100%;
      display: flex;
      display:-webkit-flex;
      align-items: center;
      justify-content: center;
   }

   .icon-display-left {
    height: 100%;
    display: flex;
    display:-webkit-flex;
    align-items: center;
    justify-content: stretch;
    padding-left: 6px;
 }

   .movable-handle {
    color: #999999;
    cursor: grab;
  }

  .drag-grabbing {
    cursor: grabbing !important;
  }

  .sortable-handle {
    color: #999999;
    cursor: pointer;
  }

.movable-handle, .sortable-handle, .resize-col-bg, .see-more-col {
opacity:0;
}

.column-container:hover > .thead-cell-header > .movable-handle, .column-container:hover > .thead-cell-header > .sortable-handle {
opacity: 1;
}

.column-container:hover > .thead-cell-header > .resize-col-bg {
opacity: 1;
}

.column-container:hover > .thead-cell-header > .see-more-col {
opacity: 1;
}

.column-heading-sorted > .thead-cell-header > .sortable-handle {
opacity: 1;
color: #3075A6
}

.column-heading-sorted:hover > .thead-cell-header > .sortable-handle {
color: #003366;
}



/* Initially hide the .remove-handle elements */
.li-icon-container .remove-handle {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Show the .remove-handle elements when .li-icon-container is hovered */
.li-icon-container:hover .remove-handle {
  visibility: visible;
  opacity: 1;
}

  /* Table column sizing
   ================================== */
.first-div-cell {
  width: 45px;
  min-width: 45px;
}


  /* Apply styles
   ================================== */
.data-table {
  display: inline-flex;
  display:-webkit-inline-flex;
  flex-wrap: wrap;/* enabled for sticky header */
  flex-direction: column;
  /* box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  border-top: 1px solid #ecf0f1;
  border-left: 1px solid #ecf0f1; */
}

.data-table .data-table-row {
    /* width: 100%; */
  display: flex;
  display:-webkit-flex;
  border-bottom: 1px solid #ecf0f1;
}

.data-table .data-table-row .data-div-cell {
  box-sizing: border-box;
  /* flex-grow: 1; ??????????*/
  /* padding: 10px 8px; */
  overflow: hidden;
  border-right: 1px solid #ecf0f1;

  position: relative;
}

.data-table .data-table-row .data-div-cell:last-child {
  flex-grow: 1;
}

.data-table .data-table-row .data-div-cell.column-heading-true {
  background-color: #3d3d3d !important;
  color: white !important;
}

.data-table .data-table-row .data-div-cell.column-heading {
  background-color: #3d3d3d;
  color: white;
}

.data-table .data-table-row .data-div-cell.column-heading:hover {
  background-color: black;
  color: white;

  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -o-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.data-table .data-table-row .data-div-cell.column-heading-sorted {
  background: #409CDD !important;
  color: white;
  border-bottom: 1px solid #ecf0f1;
}

.data-table .data-table-row .data-div-cell.column-heading-sorted:hover {
  background: #3075A6 !important;
  color: white;

  -webkit-transition: background-color 500ms fade;
  -moz-transition: background-color 500ms linear;
  -o-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.data-table .data-table-row .data-div-cell .data-div-cell--heading {
  display: none;
}

.data-table .data-table-row .data-div-cell .data-div-cell--content {
  font-size: 15px;
  color: #333333;
  min-height: 100%;
  display: flex;
  display: -webkit-flex;
}

.data-table .data-table-row .data-div-cell .data-div-cell--content {
  word-break: break-all;
}

.cell-see-more {
  height: 25px !important;
  width: 100%;
  padding-left: 10px;
  background: #ffffff;
  font-weight: bold;
  color: #3F8F24;
  cursor: pointer;
  position: absolute;
  bottom: 0;
}

.is-striped:nth-of-type(even) .cell-see-more {
  height: 25px !important;
  width: 100%;
  padding-left: 10px;
  background: #f9f9f9;
  font-weight: bold;
  color: #3F8F24;
  cursor: pointer;
  position: absolute;
  bottom: 0;
}

.cell-see-more:hover {
  color: #2F6B1B;
}

.cell-height-auto {
  height: auto;
}


 /* selection indicator */
 .selection-indicator-filter-bar {
   padding: 8px 10px;
   height: 100%;
   border: 1px solid transparent;
   border-bottom: 0px;
   border-radius: 4px 4px 4px 4px;
   background: #575757 !important;
}

.selection-indicator-bar {
height: 40px;
border: 1px solid #ecf0f1;
border-radius: 4px 4px 0px 0px;
background: #3075A6 !important;
}

.status-col {
display: inline-flex;
cursor:pointer;
}

.status-col:hover {
background-color:rgba(0, 0, 0, 0.1);
}

/* shift color */
.shift-understaffed {
color: #EE4A5D !important;
}

.shift-minimum {
color: #F3A424 !important;
}

.shift-full {
color: #3F8F24 !important;
}

.understaffed-bg {
background: #EE4A5D;
color: #ffffff;
}

.minimum-bg {
background: #F3A424;
color: #ffffff;
}

.full-bg {
background: #70B300;
color: #ffffff;
}

.drag-over-bg {
background: #999999 !important;
}

.drag-over-bg-right {
background: #999999 !important;
border-right: #409CDD 6px solid !important;
}

.drag-over-bg-left {
background: #999999 !important;
border-left: #409CDD 6px solid !important;
}


/* buttons */

.three-section-button{
display: grid;
grid-template-columns: 25px auto 18px;
align-self: stretch;
}

.box-header-col {display: inline-flex;}

.box-header-item-icon {
width: 32px;
display: flex;
align-items: center;
}

.box-header-item {
margin: 8px 0;
}
.box-header-item button
{
}

.box-header-item:nth-child(2) {
margin-right: 6px;
}

.box-header-item:nth-child(3) {
margin-right: 6px;
}

.box-header-item:nth-child(4) {
margin-right: 6px;
}

.box-header-item:nth-child(5) {
  margin-right: 6px;
  }

.box-header-special-item {
margin-left: auto;
}

.selection-indicator-filter-bar .box-header-col {
display: flex;
}
.selection-indicator-filter-bar .box-header-col .filter-header-item-icon {
width: 32px;
display: flex;
align-items: center;
justify-content: center;
}

.selection-indicator-filter-bar .box-header-col .filter-header-item {
display: flex;
align-items: center;
justify-content: center;
}

.selection-indicator-filter-bar .box-header-col .filter-header-special-item {
margin-left: auto;
}

.no-flexbox .data-table {
  display: block;
}

.no-flexbox .data-table.data-div-cell {
  width: 100%;
}

.font-bold {
  font-weight: bold;
}


.dropdown-menu > .dropdown-submenu {
position: relative;
}

.dropdown-submenu .dropdown-menu {
display: block;
top: 0;
left: 100%;
}

.custom-export .list-view-header {
background: #333333;
color: white;
}

.export-sub-menu {
opacity: 0;
z-index: 1000;
}

.open-submenu:hover > .export-sub-menu {
opacity: 1;
z-index: 9999;
}

.display-long-string {
white-space: nowrap;
text-overflow: ellipsis;
display: block;
overflow: hidden;
}

.shift-color-center {
display: flex;
align-self: center;
justify-content: center;
}

.roster-view {
  display: flex;
  align-items: stretch;
  height: 95%;
}

.full-size-mode .roster-view {
  height: 100%;
}

.roster-view-left {
width: 100%;
/* min-width: 900px; */
min-width: 700px;
flex-shrink: 0;
position: relative;
}

.roster-view-right {
position: relative;
width: 100%;
min-width: 300px;
}

.full-size-mode {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
z-index: var(--fullscreen-z-index, 12);
}

.rostering-full-height {
height: 100%;
}

.rostering-wrapper-div {
position: absolute;
top: 86px;
bottom: 110px;
}

/* SCROLLBAR */
/* Let's get this party started */

/* width */
.rostering-wrapper-div::-webkit-scrollbar {
width: 16px;
}

/* Track */
.rostering-wrapper-div::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px #999999;
border-radius: 4px;
}

/* Handle */
.rostering-wrapper-div::-webkit-scrollbar-thumb {
background: #cccccc;
border-radius: 4px;
}

/* Handle on hover */
.rostering-wrapper-div::-webkit-scrollbar-thumb:hover {
background: #999999;
}

.pagination-row {
position: absolute;
bottom: 45px;
right: 0;
}

.schedule-view-tool-bar {
z-index: 999;
background: #cccccc;
height: 80px;
width: 100%;
position: fixed;
bottom: 0;
right: 0;
left: 0;
}

.roster-view-left:after {
content: '';
position: relative;
}
.resizable-handle {
cursor: ew-resize;
position: absolute;
width: 10px;
height: 100%;
background: #cccccc;
border: 1px solid #999999;
/* opacity: 0; */
right: -1px;
top: 0;
display: flex;
align-items: center;
justify-content: center;
}

.resizable-col-handle {
position: absolute;
width: 12px;
height: 100%;
/* opacity: 0; */
right: -1px;
top: 0;
display: flex;
z-index:2;
cursor: ew-resize;
}

.moving-handle, .fake-handle {
position: absolute;
width: 10px;
height: 100%;
background: #cccccc;
border: 1px solid #999999;
/* opacity: 0; */
right: -1px;
top: 0;
display: flex;
}

.drag-resize {
cursor: ew-resize !important;
}

.resize-col-bg {
background: #cccccc;
}
.resize-bar-bg {
background: #dddddd;
}

.resize-bar-bg:hover {
background: #cccccc;
}

.resizable-handle .resize-bar-icon {
color: #999999;
}

.resizable-handle:hover .resize-bar-icon {
color: #888888;
}

.filter-component {
 position: absolute;
 z-index: 999;
}

.filter-component-box {
-webkit-box-shadow: 0px 19px 29px -1px rgba(0,0,0,0.8);
-moz-box-shadow: 0px 19px 29px -1px rgba(0,0,0,0.8);
box-shadow: 0px 19px 29px -1px rgba(0,0,0,0.8);
}

.margin-bottom-0 {
margin-bottom: 0 !important;
}

.filter-component-box-x {
position: absolute;
top: 4px;
right: 24px;
}


.roster-mode-bottom-row {
position: absolute;
bottom: 0;
right: 0;
left: 0;
padding-bottom: 15px;
}

.calendar-wrapper-div {
position: absolute;
top: 50px;
bottom: 55px;
left: 0;
right: 0;
}
.disabled-message-btn{
  color: #fff;
  background-color: #8DC233;
  border-color: #8DC233;
  opacity: .65;
}

.disabled-message-btn:hover,
.disabled-message-btn:hover,
.disabled-message-btn:focus,
.disabled-message-btn.focus {
  cursor: default;
  background-color: #8DC233;
  border-color: #8DC233;
  color: #fff;
}


.not-show {
visibility: hidden;
}

.list-view-by-staff {
margin: 0;
width: 100% !important;
}

.default-secondary-box-btn-disabled {
background: #dfdfdf;
color:#ffffff;
border: 2px solid #dfdfdf;
border-radius: 4px;
}

.data-table-reset-button {
background-color: #3d3d3d !important;
color: white;
}

.data-table-reset-button:hover {
background-color: black !important;
color: white;
}

.data-table-expand {
border-radius: 5px;
border-color: transparent !important;
background: #555555 !important;    
width: 36px;
height: 36px;
display: flex; 
align-items: center;
}

.data-table-expand:hover {
background-color: black !important;
}

.shift-popup-inner-shadow {
-webkit-box-shadow: inset 0px 0px 40px -10px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 40px -10px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 40px -10px rgba(0,0,0,0.75);

border-top: 1px solid #999999;
}

.form-group-row {
display: flex;
}

.form-group-row-col-1 {
display: flex;
align-items: center;
justify-content: flex-end;
}

.div-group-row-col-1 {
display: flex;
justify-content: center;
}

.indicator-table {
margin-top:-19px;
}

.btn-close .close-roster {
color: #666666;
}

.btn-close .close-roster:focus, .btn-close .close-roster:hover {
color: #f4f4f4 ;
}

.btn-info .close-roster {
color: #666666;
}

.btn-info .close-roster:focus, .btn-info .close-roster:hover {
color: #f4f4f4 ;
}

.border-right-ten {
border-right: 10px solid #cccccc;
}