.select2-container {
  width: 100% !important;
}

.table a {
  text-align: center;
}
.search-body.show {
  display: block;
  visibility: visible;
}
.search-body.show .alert {
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.search-body.hidden {
  display: none;
  visibility: hidden;
}
.pr {
  position: relative;
}
.search-box {
  position: absolute;
  overflow: hidden;
  width: calc(100% - 30px);
  max-height: 200px;
  background-color: #fff;
  z-index: 1;
  display: none;
  visibility: hidden;
}
.search-box.show {
  display: block;
  visibility: visible;
}
.search-box .menu {
  position: relative;
  overflow: auto;
  width: 100%;
  max-height: 200px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #00000026;
  border-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.search-box .menu li {
  padding: 0;
  margin: 0;
}
.search-box .menu a {
  display: block;
  white-space: nowrap;
  border-bottom: 1px solid rgb(244, 244, 244);
  margin: 0px;
  padding: 10px;
  transition: all 0.3s ease-in-out;
}
.search-box .menu a:hover {
  background: #f2f2f2;
}
.search-box .menu a img {
  width: 40px;
  height: 40px;
  margin: auto 10px auto auto;
  border-radius: 50%;
}
.search-box .menu a h4 {
  color: #3c8dbc;
  font-size: 16px;
  position: relative;
  padding: 0px;
  margin: 0px 0px 0px 45px;
}
.search-box .menu a p {
  padding: 0;
}
.search-box {
  left: 0 !important;
  top: 100% !important;
  z-index: 1000 !important;
  width: 100%;
}
.small_input_for_diag_receipt {
  text-align: left;
  color: #1b1b1b;
  font-weight: bold;
  font-size: 18px;
}
.has-error .select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
  border: 1px solid #dd4b39 !important;
}
.add-prescription input[type="text"],
.add-prescription select {
  height: 28px;
  padding: 0px 10px;
  line-height: 28px;
}
.add-prescription .btn {
  padding: 3px 8px;
}
.box-inner .box-header {
  padding: 0px !important;
  margin: 0px !important;
}
.small-box .box-header h3 {
  background: rgba(0, 0, 0, 0.1);
  padding: 5px !important;
  margin: 0px;
}
.info-box-icon i.fa {
  padding-right: 10px !important;
}
.box-tools i {
  color: #111111 !important;
}
#indoor_patient_list .box-body p {
  margin: 0 0 6px;
}
.v-select.single .selected-tag {
  background-color: #fff !important;
}
.v-select.single .dropdown-toggle {
  background: #fff !important;
}
ul.nav.indoor-nav li a {
  padding: 10px;
}
#indoor_patient_list .box-footer {
  padding: 0px !important;
}
ul.nav.indoor-nav {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}
ul.nav.indoor-nav > li {
  position: initial;
}
.indoor-nav ul {
  min-width: 100% !important;
  left: 0;
  right: auto;
}
.dr .select2-container {
  display: none;
}
.modal-lg {
  width: 1000px !important;
}

.tableFixHead {
  overflow-y: auto;
  height: 350px;
  padding: 0;
  margin: 0;
}
.tableFixHead thead th {
  position: sticky;
  top: -15px;
  background: #efefef;
}
.tableFixHead tbody tr:last-child th,
.tableFixHead tbody tr:last-child td {
  position: sticky;
  bottom: -15px;
  background: #efefef;
}

/* Just common table stuff. Really. */
table {
  border-collapse: collapse;
  width: 100%;
}
