$total-width: 100%;

p.caution {
  color: red;
  padding: 5px;
}

.clearfix {
  @include clearfix();
}
.asterick {
  color: red;
  display: inline-block;
  padding-left: 5px;
}

.strike-text {
  text-decoration: line-through;
}

input[file-upload] {
  position: absolute;
  z-index: -999;
  min-width: 1px;
  width: 1px;
}

.form-horizontal {
  fieldset {
    label {
      float: left;
      width: 200px;
      margin-left: 20px;
      @media screen and (max-width: 1024px) {
        width: 170px;
      }
      @media screen and (max-width: 850px) {
        width: 156px;
      }
    }
    &.hasLegend {
      label {
        margin-left: 10px;
      }
      .offset-label {
        padding-left: 0px;
      }
    }
  }
}

.is-abnormal {
  color: red !important;
}
.is-abnormal-bold {
  font-family: $OpenSansBoldFont !important;
  color: red !important;
}

.visible-print {
  display: none;
}

.referred {
  display: none;
  float: left;
}
.referred-out {
  .referred {
    display: inline-block;
    font-size: 12px;
    background: $bahmniSecondaryColor;
    color: $white;
    padding: 1px 7px;
    border-radius: 5px;
    margin-right: 7px;
  }
}

.row-remover {
  border: 1px solid $lightGray;
  border-radius: 5px;
  float: right;
  padding: 5px 10px;
  margin-top: 7px;
  margin-right: 6px;
  span {
    font-size: 20px;
    color: $clinicalRemoveBtn;
    padding: 0;
  }
}

.opd-wrapper .has-toggle {
  cursor: pointer;
  margin-bottom: 0;
}
.section-toggle {
  background: none;
  border: none;
  padding: 0;

  &:hover {
    background: none;
    border: none;
  }
  i {
    padding: 0;
    font-size: 26px;
    color: green;
  }
}
.notes p.left {
  width: 80%;
  float: left;
  text-align: left;
}

.diagnosis-notes-title {
  margin-right: 5px;
}

.view {
  .order {
    color: $mediumGray;
    margin: 0 5px;
  }
}
.quick-links {
  float: right;
}
button.save-consultation {
  float: right;
  margin: 8px 10px 0;
  padding: 10px 15px 9px;
}
button.save-consultation {
  &.hideSaveText {
    .fa-save {
      display: none;
    }
    .text {
      display: block;
    }
    @media screen and (max-width: 1024px) {
      padding: 19px 10px 13px;
      .text {
        display: none;
      }
      .fa-save {
        display: block;
      }
    }
  }
}

a.quick-links,
a.btn--success {
  @include button($success, darken($success, 8%), white);
  padding: 10px 20px;
  font-size: 16px;
}

td .status {
  color: orange;
  float: right;
}

.abnormal-vitals {
  width: auto !important;
  margin: 4px !important;
}

pre.chief-notes {
  background: none;
  float: left;
}

.accept-btn.active {
  color: $bahmniTertiaryColor;
  padding-top: 7px;
  span:before {
    font-family: FontAwesome;
    content: '\f00c';
    margin-right: 5px;
  }
}

.current-visit-icon {
  color: $clinicalCurrentVist;
}

.has-notes {
  color: orange;
  i {
    color: orange !important;
  }
}
/*home*/
.bahmni-home {
  margin-bottom: 5px !important;
  .fa-home {
    color: $lightestGray;
    margin-right: 5px;
    font-size: 18px;
  }
}

.highlight {
  border-left: 5px solid orange;
}
u,
.add-drug-btninput[value]:first-letter {
  text-decoration: none;
  border-bottom: 1px solid;
  font-family: $OpenSansBoldFont;
}

.drug-dispensed {
  color: $bahmniTertiaryColor;
  font-family: $primaryBoldFont;
}

.box {
  padding: 10px;
  border: 1px solid $lightGray;
  background: $white;
  border-radius: 5px;
  overflow: hidden;
  @include clearfix();
}

.overflowAuto {
  overflow: auto;
}
.is-abnormal .select2-chosen {
  color: red !important;
}

.placeholder-text {
  background: #fff;
  padding: 5px;
  color: #444 !important;
  p {
    margin-bottom: 0;
    color: #444 !important;
  }
}

.fa-pencil,
.fa-eye {
  cursor: pointer;
  &:hover {
    color: #5c8a93;
  }
  @media screen and (max-width: 1024px) {
    font-size: 20px;
  }
}

.cursor-pointer {
  cursor: pointer;
}

.clear-both {
  clear: both;
}
.select2-drop {
  z-index: 99999 !important;
}
.ng-dialog-all-details-page {
  .select2-container .select2-choice {
    height: 26px !important;
  }
}

.mylegend {
  background: $lightestGray;
  line-height: 16px;
  margin-bottom: 20px;
  padding: 3px 0;
  border-radius: 3px;
  border: 1px solid $lightGray;
  span {
    display: inline-block;
    padding: 2px 10px;
    font-weight: bold;
  }
}

.registraion_legend {
  margin: 15px 0 15px 25px;
  width: auto;
  position: relative;
  @media (max-width: 768px) {
    margin: 20px 0;
    width: 100%;
  }
  &:before {
    content: '';
    border-top: 1px $lightGray solid;
    position: absolute;
    top: 14px;
    width: 96%;
  }
  span.mylegend {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
    padding: 5px 6px;
    margin-left: 25px;
    position: relative;
  }
  &.first-registraion_legend {
    margin-left: 0;
    margin-right: 0;
    &:before {
      width: 100%;
    }
  }
  &.removeLegend {
    &:before {
      display: none;
    }
    span.mylegend {
      display: none;
    }
  }
}

.toggle-container {
  &.active {
    .fa-caret-right {
      display: none;
    }
    .fa-caret-down {
      display: inline;
    }
  }
  .fa-caret-down {
    display: none;
  }
}

.patient-image {
  background-color: #ffffff;
}

.video,
.video-dialog {
  width: 280px;
  height: 190px;
  display: table;
  margin: 0 auto;
  &.disable {
    opacity: 0.1;
    pointer-events: none;
    border: 3px solid black;
  }
}

.dashboard-section-loader {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(223, 223, 223, 0.4) url('../images/spinner-small.gif')
    no-repeat center center;
}

.print {
  @media screen and(max-width: 700px) {
    display: none;
  }
}
.spinnable {
  position: relative;
  min-height: 2em;
}
.ngdialog.ngdialog-theme-default .ngdialog-close {
  z-index: 999;
}

.cdss-alert-icon {
  cursor: pointer;
  width: fit-content;
  padding: 3px;
  height: 24px;
  i {
    color: #8e8e8e;
    width: auto !important;
  }
}
