.tableFixHead {
    overflow: auto;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    background-color: white;
}

.ta-editor {
    min-height: 150px !important;
}
.ta-scroll-window > .ta-bind {
    min-height: 150px !important;
    height: 100% !important;
}
.ta-scroll-window.form-control {
    height: calc(100% - 60px)
}
.home-card {
    background: #efefef;
}
.home-btn .far {
    font-size: 5em;
}
.home-btn .fas {
    font-size: 5em;
}
.home-btn .title {
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    height: 3em;
    white-space: normal;
}
.home-btn .btn {
    background-color: #166B7F;
    color:white;
    width: 140px;
}
.text-carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.text-carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.text-carousel > .carousel-indicators .active {
    background-color: #000;
}

.text-carousel > .carousel-indicators li {
    background-color: grey;
}

.text-carousel > .carousel-indicators {
    bottom: unset;
}

.text-carousel .carousel-item.active {
    display: block;
}

.text-carousel > .carousel-inner {
    height: 80%;
}

address {
    margin-bottom: 0px;
}

.textangular-dialog .ta-scroll-window {
    height: calc(100vh - 435px);
    overflow: auto;
}
.textangular-dialog .ta-bind {
    min-height: calc(100vh - 435px);
}
.textangular p {
    margin: 0px
}
.checkgrid {
    min-width: 200px;
    text-wrap: none;
    word-break: keep-all;
    white-space: nowrap;
    padding-right: 8px;
}
.table-fixed thead th {
    position: sticky;
    position: -webkit-sticky;
    background-color: white;
    outline: 1px solid black;
}
@media screen and (max-width: 993px) {
    .checkgrid {
        min-width: 200px;
        text-wrap: none;
        word-break: keep-all;
        white-space: nowrap;
        padding-right: 8px;
    }
}
@media screen and (max-width: 992px) {
    .w-lg-50 {
        width: 100%;
    }
}
@media screen and (min-width: 992px) {
    .w-lg-50 {
        width: 50%
    }
}
@media (min-width: 1400px){.d-xxl-none{display:none !important}}
.fullheight { height: calc(100vh) }
@media (max-width: 992px) {
    .fullheight { height: calc(100vh - 80px) }
}
.row-padding {
    padding-right: 15px;
}

.row-padding > [class*='col-'] {
    vertical-align: middle;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 7px;
    padding-left: 7px;
}

.fieldLabel {
    color: #999999;
    font-size: smaller;
}
legend.traditional {
    width: inherit; /* Or auto */
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom: none;
    font-size: medium;
    font-weight: bold;
}

fieldset.traditional {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

@media only screen and (max-width : 992px) {
    .nav-body {
        margin-left: 318px;
        width: calc(100vw - 30px);
    }
}

@media only screen and (min-width : 993px) {
    .nav-body {
        margin-left: 318px;
        width: calc(100vw - 343px);
    }
}

.bg-alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.bg-short {
    background-color: #f2dede !important;
}

.bg-caution {
    background-color: #fcf8e3 !important;
}

.bg-ok {
    background-color: #dff0d8 !important;
}

.bg-unconfirmed {
    background-color: #ffe5d0 !important;
}

.alert-unconfirmed {
    color: #864d1e;
    background-color: #ffe5d0;
    border-color: #fdd9bb;
}

button.inline-icon {
    background: transparent;
    border: none;
    padding-right: 16px;
    font-size: small;
    color: grey;
    cursor: pointer;
}

button.inline-icon-lg {
    background: transparent;
    border: none;
    padding-right: 16px;
    color: grey;
    cursor: pointer;
    font-size: large;
}

td.roster, div.roster, button.roster {
    background-color: #166B7F;
    color: white;
    font-size: small;
    cursor: pointer;
}
td.available_preferred, div.available_preferred, button.available_preferred {
    background-color: #0085A3;
    color: white;
    font-size: small;
    cursor: pointer;
}
td.meeting, div.meeting, button.meeting {
    background-color: #6D528E;
    color: white;
    font-size: small;
    cursor: pointer;
}
td.leave, div.leave, button.leave {
    background-color: #6d002a;
    color: white;
    font-size: small;
    cursor: pointer;
}
td.availability-select {
    background-color: lightgray;
    font-size: small;
}

.nav-side-menu {
    overflow: auto;
    font-family: verdana;
    font-size: 12px;
    font-weight: 200;
    background-color: #166B7F;
    width: 300px;
    height: 100%;
    color: #e1ffff;
}
.nav-side-menu.login {
    background-color: #00aeff;
    color: #e1ffff;
}
.nav-side-menu .brand {
    background-color: #166B7F;
    line-height: 50px;
    display: block;
    text-align: center;
    font-size: 14px;
}
.nav-side-menu.login .brand {
    background-color: #00aeff;
}
.nav-side-menu .toggle-btn {
  display: none;
}
.nav-side-menu ul,
.nav-side-menu li {
  list-style: none;
  padding: 0px;
  margin: 0px;
  line-height: 35px;
  cursor: pointer;
}
.nav-side-menu ul .collapsed .arrow:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: left;
}
.nav-side-menu ul :not(collapsed) .arrow:before,
.nav-side-menu li :not(collapsed) .arrow:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f077";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: left;
}
.nav-side-menu ul .active,
.nav-side-menu li .active {
    border-left: 3px solid #ffffff;
    background-color: #00aeff;
}
.nav-side-menu ul .sub-menu li.active,
.nav-side-menu li .sub-menu li.active {
    border-left: 3px solid #ffffff;
    background-color: #00aeff;
}
.nav-side-menu ul .sub-menu li,
.nav-side-menu li .sub-menu li {
  background-color: #1c5a69;
  border: none;
  line-height: 28px;
  border-bottom: none;
  margin-left: 0px;
  padding-left: 36px;
}
.nav-side-menu ul .sub-menu li:hover,
.nav-side-menu li .sub-menu li:hover {
  background-color: #20424a;
  border-left: 3px solid #ffffff;
}
.nav-side-menu ul .sub-menu li:before,
.nav-side-menu li .sub-menu li:before {
    
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
}
.nav-side-menu li {
  padding-left: 0px;
  border-left: 3px solid #166B7F;
  border-bottom: none;
}
.nav-side-menu li a {
  text-decoration: none;
  color: #e1ffff;
}
.nav-side-menu li a i {
  padding-left: 10px;
  width: 20px;
  padding-right: 20px;
}
.nav-side-menu li:hover {
    border-left: 3px solid #ffffff;
    background-color: #7D8082;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
@media (max-width: 992px) {
  .nav-body { margin-left: 10px; }
  .nav-side-menu {
    position: relative;
    width: 100%;
  }
  .nav-side-menu .toggle-btn {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10 !important;
    padding: 3px;
    background-color: #ffffff;
    color: #000;
    width: 40px;
    text-align: center;
  }
  .brand {
    text-align: left !important;
    font-size: 22px;
    padding-left: 20px;
    line-height: 50px !important;
  }
  .nav-side-menu li,
  .nav-side-menu li .sub-menu li,
  .nav-side-menu ul .sub-menu li {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
@media (min-width: 993px) {
  .nav-side-menu .menu-list .menu-content {
    display: block;
  }
}

.login.card-container.card {
    width: 350px;
    padding: 40px 40px;
}

.login.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.signinForm input[type=email],
.signinForm input[type=password],
.signinForm input[type=text],
.signinForm button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.signinForm .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}
.nav-body {
    padding-top: 10px;
}
.datepicker {
    z-index: 1151 !important;
}

.datepicker.dropdown-menu {
    width: 250px;
    height: 270px;
}

.datepicker.dropdown-menu button {
    outline: none;
    border: 0px;
}

.datepicker.dropdown-menu tbody {
    height: 180px;
}

.datepicker.dropdown-menu tbody button {
    padding: 6px;
}

.datepicker.dropdown-menu.datepicker-mode-1 tbody button,
.datepicker.dropdown-menu.datepicker-mode-2 tbody button {
    height: 65px;
}

input.ng-invalid.ng-dirty {
    border-color: red;
}

.tags .tag {
    border-radius: 6px;
    background-color: #EFEFEF;
    border: 1px solid #DDD;
    padding: 2px 5px 2px 5px;
    margin-right: 10px;
    margin-bottom: 5px;
    white-space: nowrap;
}

.tags .tag a {
    cursor: pointer;
}

.modal-xlg {
    max-width: 80%;
    margin-left: 10%;
}

@media (min-width: 992px) {
    .rostering-left-panel {
        flex-grow: 1;
        flex-basis: 25%;
    }
}


.equal {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}

.dark-weekend {
    background-color: rgba(109, 82, 142, 0.8);
}
.light-weekend {
    background-color: rgba(109, 82, 142, 0.4);
}
.dark-weekday {
    background-color: rgba(115, 154, 166, 1.0);
}
.light-weekday {
    background-color: rgba(115, 154, 166, 0.4);
}

.file-drop {
    width: 250px;
    height: 100px;
    text-align: center;
    border: 5px dashed lightgrey;
    color: lightgrey;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}
.file-drop.dragover {
    color: blue;
    border: 5px dashed blue;
}

.btn-chrono {
    color:#fff;
    background-color:#0AAEEF;
    border-color:#0AAEEF
}
.btn-chrono:hover{
    color:#fff;
    background-color:#0787ba;
    border-color:#0787ba
}
.btn-chrono:focus,.btn-primary.focus{
    box-shadow:0 0 0 .2rem rgba(0,123,255,0.5)
}
.btn-chrono.disabled,.btn-primary:disabled{
    color:#fff;
    background-color:#0AAEEF;
    border-color:#0AAEEF
}
.btn-chrono:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{
    color:#fff;
    background-color:#0787ba;
    border-color:#04506e
}
.btn-chrono:not(:disabled):not(.disabled):active:focus,.btn-primary:not(:disabled):not(.disabled).active:focus,.show>.btn-primary.dropdown-toggle:focus{
    box-shadow:0 0 0 .2rem rgba(0,123,255,0.5)
}












:root {
    --headerWidth: 80px;
    --slotHeight: 25px;
    --border: 1px solid black;
}


.rosteringGrid {
    display: grid;
    gap: 0;
    overflow: auto;
    max-height: calc(100vh - 130px);
    max-width: 100%;
    min-width: 0;
}

.slot {
    /*min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;*/
    /*background-color: white;*/
}

.topBorder {
    border-top: var(--border);
} 

.bottomBorder {
    border-right: var(--border);
    border-bottom: var(--border);
}

.leftBorder {
    border-left: var(--border);
}

.headerSlot {
    background-color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeHeader {
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--slotHeight);
    background-color: white;
}

.rosterHeaderSlot {
    background-color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rosterStickyColumn1 {
    position: sticky;
    left: 0;
}

.rosterHeaderSlot.rosterStickyColumn1 {
    width: 180px
}

.rosterStickyColumn2 {
    position: sticky;
    left: 180px;
}
.rosterHeaderSlot.rosterStickyColumn2 {
    width: 40px
}

.rosterStickyColumn3 {
    position: sticky;
    left: 220px;

}
.rosterHeaderSlot.rosterStickyColumn3 {
    width: 40px
}
.rosterStickyColumn4 {
    position: sticky;
    left: 260px;
}
.rosterHeaderSlot.rosterStickyColumn4 {
    width: 40px
}

.stickyColumn1 {
    position: sticky;
    left: 0;
}
.headerSlot.stickyColumn1 {
    width: 140px;
}

.stickyColumn2 {
    position: sticky;
    left: 140px;

}
.headerSlot.stickyColumn2,
.headerSlot.stickyColumn3,
.headerSlot.stickyColumn4 {
    width: var(--headerWidth);
}

.stickyColumn3 {
    position: sticky;
    left: calc(140px + var(--headerWidth));

}
.stickyColumn4 {
    position: sticky;
    left: calc(140px + 2 * var(--headerWidth));
}

.stickyRow1 {
    position: sticky;
    top: 0;

}

.stickyRow2 {
    position: sticky;
    top: var(--slotHeight);

}

[uib-typeahead-popup].dropdown-menu {
    max-height: calc(80vh);
    overflow-y: auto;
}

.dropdown-menu.show {
    max-height: calc(80vh);
    overflow-y: auto;
}

.speech-bubble-right {
    position: relative;
    color: #ffffff;
    background: #166B7F;
    border-radius: .4em;
    padding: 12px;
    width: 75%;
    float: right;
    margin-right: 10px;
    margin-top: 8px;
}

.speech-bubble-right:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #166B7F;
    border-right: 0;
    border-top: 0;
    margin-top: -5px;
    margin-right: -10px;
}

.speech-bubble-left {
    position: relative;
    color: #166B7F;
    border-radius: .4em;
    border: 1px solid #166B7F;
    padding: 12px;
    width: 75%;
    float: left;
    margin-left: 10px;
    margin-top: 8px;
}

.speech-bubble-left:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #166B7F;
    border-left: 0;
    border-top: 0;
    margin-top: -5px;
    margin-left: -10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }