li.vueTab {
  cursor: pointer;

  &.active {
    color: #FFF;
  }
}

.cardColumn {
  display: inline-block;
  width: 49%;
  margin-left: 1.5%;
  vertical-align: top;

  &:first-child {
    margin-left: 0;
  }
}

.card {
  background: #FFF;
  display: inline-block;
  vertical-align: top;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #999;
  width: 100%;
  margin-bottom: 20px;

  .cardTitle {
    position: relative;

    .actions {
      position: absolute;
      right: 0;
      top: 5px;
    }
  }

  .actions {
    i {
      padding-right: 10px;
    }
  }

}

.card, .newForm {
  i {
    cursor: pointer;
    color: #0f55c4;
  }

  .red {
    color: #e74c3c;
  }

  .green {
    color: #10BD10;
  }

  .yellow {
    color: #ffd52c;
  }

  .orange {
    color: #ff9b19;
  }

  .grey {
    color: #8f8f8f;
  }

}

.ui-datepicker {
  z-index: 1000000000 !important;
}

ul {
  float: none;
}

h4 {
  padding-top: 15px;
}

.loadMore {
  text-align: center;
  padding-top: 10px;
}

.textMuted {
  color: #999;
}

.recordsList {
  padding-top: 5px;

  .flagItem {
    border-top: 1px solid #CCC;
    padding: 10px 0;
    position: relative;

    &:first-child {
      border-top: 0;
    }

    i.deleteIcon {
      position: absolute;
      right: 5px;
      top: 12px;
    }

    .confirmDeletion {
      position: absolute;
      right: 5px;
      top: 12px;
      cursor: pointer;
    }

    .flagContent {
      width: 90%;
      i {
        padding-right: 5px;
      }
    }

    .flagDate {
      padding-top: 3px;
    }
  }
}

span {
  &.tag {
    display:inline-block;
    padding: 1px 5px;
    border-radius: 3px;
  }
  &.tag-blue {
    background-color: #e1edff;
    border: 1px solid #b0cfff;
  }
  &.tag-yellow {
    background-color: #fff2b5;
    border: 1px solid #ffe56d;
  }
  &.tag-red {
    background-color: #ffe1e1;
    border: 1px solid #f99090;
  }
  &.tag-grey {
    background-color: #f1f1f1;
    border: 1px solid #bbbbbb;
    color: #888;
  }
  &.tag-green {
    background-color: #c4fdb6;
    border: 1px solid #79dc65;
  }
}

.paymentList {
  padding-bottom: 30px !important;
  table {
    width: auto;
  }
}

.capitalize {
  text-transform: capitalize;
}

.multiRadio {
  width: auto;
  td {
    padding: 0 5px;
    white-space: nowrap;
  }
}

.detailsText {
  font-size: 0.8em;
  color: #999;
  margin-bottom: 0;
}

.countBubble {
  font-size: 0.8em;
  display: inline-block;
  color: #FFF;
  background-color: #0f55c4;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  text-align: center;
}

.formLoading {
  opacity: 0.3;
}

.smallText {
  font-size: 0.8em !important;
}

.detailsTable {
  width: 100%;

  tr {

    &.firstRow {
      td {
        border-top: 1px solid #CCC;
      }
    }
  }

  td {
    border: 1px solid #CCC;
    padding: 5px 10px;

    &.fieldName {
      text-align: right;
    }

    &.fieldValue {

    }

    &.dividerRow {
      border:0;
      height: 15px;
      background-color:#EBEBEB;
    }
  }
}

.patientDetails {
  padding-bottom: 20px;
  padding-top: 10px;
  clear: both;

  td {
    padding-bottom: 10px;
  }
}


.relative {
  position: relative;
}

.clearItemSearch {
  position: absolute;
  margin-right: 10px;
  top: 7px;
  right: 5px;
  cursor: pointer;
}

.newForm {
  .row {
    .formLabel {
      font-weight: bold;
    }

    margin-bottom: 20px;

    input[type="text"], input[type="number"], select {
      display: inline-block;
      border: 1px solid #d7dce4;
      border-radius: 4px;
      padding: 8px;
      font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
      text-align: left;
    }

    input[type="text"] {
      width: 100%;

      &.short {
        width: auto;
      }
    }

    .formRequired {
      color: #F00;
    }
    .validationMessage {
      float: none;
    }
  }

  .btn-section {
    float:none;
  }
}

.floatRight {
  float: right !important;
}

.pointer {
  cursor: pointer;
}

.uppercase {
  text-transform: uppercase;
}

.noBorder {
  border: 0 !important;
}

.viewThreadCell {
  width: 30px;
}

.threadHeader {
  background: #f1f1f1;
}



  /* Target the overlay content that contains the basket builder */
  #basketBuilder .mtcOverlay-content,
  #basketBuilder .overlayContent,
  #basketBuilder .mtcOverlay-inner {
    max-height: 50vh;           /* don’t exceed viewport height */
    overflow-y: auto;           /* enable vertical scrolling */
    padding-right: 1rem;        /* optional: space for scrollbar */
    box-sizing: border-box;
  }

  /* Make sure html/body don’t block scroll inside overlay */
  body.mtcOverlay-open {
    overflow: hidden; /* this is fine — internal scroll still works */
  }

  /* Keep template content in DOM for the overlay to target, but never visible */
  .overlay-stash {
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }


.overlayContentInner.overlayAjax {
  .basket-builder-scroll {
    max-height: 50vh;
    overflow-y: auto;
    padding: 1rem;
  }
}

#patients-results.is-loading { opacity: .6; pointer-events: none; }
