/** EMR CSS UPDATED OVERALL **/

header {
  position: relative;
  z-index: 999;
}

.emrfrm .form-group>label,
.emrfrm .form-label-group>label {
  pointer-events: none;
}

select.form-control {
  background-color: #fff !important;
}

.required span {
  color: #ff5252;
}

.form-label-group.input-group .form-group {
  margin: 0;
  margin-right: -1px;
}

.emrfrm .input-group-addon.max-120 {
  display: flex;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.emrfrm .form-group textarea::placeholder,
.emrfrm .form-label-group textarea::placeholder {
  color: transparent;
}

.fg-tableinp {
  display: inline-block;
}

.fg-tableinp input {
  max-width: 90px;
  padding: 10px;
  height: 35px !important;
}

/** EMR CSS UPDATED OVERALL **/

/** DataTable CSS OVERRIDE **/

.page-item.active .page-link {
  background-color: #d24350;
  border-color: #d24350;
}

.page-link {
  color: #5c5c5c;
}

.page-link:hover {
  border-color: #d24350;
  color: #d24350;
  background: transparent;
}

/** DataTable CSS OVERRIDE **/



/** STRIPED TABLE **/

.table-striped.ipdemr-tablestriped tbody tr {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-striped.ipdemr-tablestriped tbody tr:nth-of-type(odd) {
  background-color: initial;
}

/** STRIPED TABLE **/

/** STAND ALONE CHECKBOX **/

.ipdemr-clabel-blank label.custom-control-label:before {
  top: 0 !important;
  bottom: 0;
  left: 0 !important;
  right: 0;
  margin: 0;
}

.ipdemr-clabel-blank label.custom-control-label {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  top: 0 !important;
  left: 0 !important;
}

.ipdemr-clabel-blank label.custom-control-label:after {
  top: 44% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.ipdemr-clabel-blank input {
  display: none;
}

.ipdemr-clabel-blank {
  padding: 0;
  margin: 0;
}

/** STAND ALONE CHECKBOX **/

/** NAV PILLS **/

ul.nav.nav-pills.ipdemr-tabs a.nav-link {
  border: 1px solid #ccc;
  color: rgb(165, 165, 165);
  padding-left: 20px;
  padding-right: 20px;
}

ul.nav.nav-pills.ipdemr-tabs a.nav-link.active {
  position: relative;
  color: #fff;
  font-weight: bold;
  background: rgb(136, 136, 136);
}

ul.nav.nav-pills.ipdemr-tabs a.nav-link.active:before {
  content: "";
  height: 2px;
  width: 100%;
  background: #d24350;
  position: absolute;
  left: 0;
  top: -2px;
  right: 0;
}

/** NAV PILLS **/

/** FORM Checkbox **/

.form-control.ipdemr-check {
  background: transparent;
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.form-control.ipdemr-check .custom-control {
  padding-left: 0;
  height: 100%;
}

.form-control.ipdemr-check .custom-control.custom-checkbox-md .custom-control-label {
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
}

.form-control.ipdemr-check .custom-control.custom-checkbox-md .custom-control-label:before {
  position: relative;
  left: 0;
  margin-right: 0.5rem;
}

.form-control.ipdemr-check .custom-control.custom-checkbox-md .custom-control-label:after {
  left: 0.5rem;
  top: 0.4rem;
}

.round {
  position: relative;
}

.round label {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  height: 28px;
  left: 0;
  position: absolute;
  top: 0;
  width: 28px;
}

.round label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  left: 7px;
  opacity: 0;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 12px;
}

.round input[type="checkbox"] {
  visibility: hidden;
}

.round input[type="checkbox"]:checked+label {
  background-color: #d24350;
  border-color: #d24350;
}

.round input[type="checkbox"]:checked+label:after {
  opacity: 1;
}

/** FORM Checkbox **/

/** Graph Table CSS **/

/** Graph Markers **/

.ipdemr-graph span.badge {
  width: 20px;
  height: 20px;
  padding: 0;
  display: inline-block;
  border-radius: 5px;
  top: 0;
  vertical-align: middle;
}

.graph-duenow {
  background-color: #718b8c !important;
  color: #fff;
}

.graph-missed {
  background-color: #c16d30 !important;
  color: #fff;
}

/** Graph Markers **/

/** Graph table input **/

td.disabled-like {
  background-color: #e6e2e2;
}

td.graphtable-input {
  padding: 0;
}

td.graphtable-input {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 0 100%;
}

td.graphtable-input .form-group {
  width: 100%;
}

td.graphtable-input .form-group input {
  width: inherit;
  height: 46px;
  border: none;
  padding: 10px;
  background-color: #f1f0f0;
}

td.graphtable-input .form-group input::placeholder {
  color: grey;
}

td.graphtable-input .input-group {
  background-color: #f1f0f0;
}

td.graphtable-input .input-group input {
  height: 46px;
  border: none;
  padding: 10px;
  background-color: #f1f0f0;
}

td.graphtable-input .input-group input::placeholder {
  color: grey;
}

td.graphtable-input .input-group .input-group-append {
  visibility: hidden;
}

td.graphtable-input .input-group.hasdata .input-group-append {
  visibility: visible;
}

td.graphtable-input .input-group .input-group-text {
  background: transparent;
  border: none;
  padding: 0;
}

/** Graph table input **/

/** Graph Table CSS **/

/** ICONS BACKGROUND **/

.icon-common {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 30px;
  width: 30px;
}

.ic-drawing {
  background-image: url("../images/ic-drawing.png");
}

/** ICONS BACKGROUND **/

/** IPD EMR NEW PAGES **/

/** BREADCRUMB **/

#breadcrumb {
  width: 100%;
  margin: 15px 0;
}

ol.bc-ul {
  width: 100%;
  list-style: none;
  padding: 0;
}

ol.bc-ul li {
  float: left;
  padding: 0 2px;
}

ol.bc-ul li:after {
  content: "";
  height: 7px;
  width: 7px;
  border: 1px solid #000;
  border-left: 0;
  border-bottom: 0;
  display: inline-block;
  vertical-align: middle;
  margin: 1px 5px 5px;
  padding: 0;
  transform: rotate(45deg);
}

ol.bc-ul li:last-child:after {
  display: none;
}

ol.bc-ul li a {
  color: #000;
}

ol.bc-ul li a.current {
  color: #d24350;
  pointer-events: none;
  cursor: default;
}

ol.bc-ul li a.current:hover {
  text-decoration: none;
}

ol.bc-ul:after {
  content: "";
  display: block;
  clear: both;
}

/* * BREADCRUMB * */


/* rough */
.form-control.ipdemr-check {
  background: transparent;
  border: none;
  padding-left: 0;
  padding-right: 0;
}

/* * rough  * */


/* * Checkbox * */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: -28px;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 1px solid #a2a2a2;
  cursor: pointer;
}

.container:hover input~.checkmark {
  background-color: white;
}

.container input:checked~.checkmark {
  background-color: white;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked~.checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 9px;
  top: 2px;
  width: 7px;
  height: 16px;
  border: solid green;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mandatory {
  color: #d24350;
}

.checkbox-input-text {
  border-radius: .25rem;
  border: 1px solid #ced4da;
  width: 32%;
  margin-left: 46%;
  margin-top: 5%;
}

.report-TAT {
  padding-left: 6%;
}

/* * Checkbox * */

select.form-control {
  background-color: #ffffff !important;
}

.custom-multiSelect {
  height: calc(1.5em + .75em + 40px) !important;

}

.btn-add {
  color: #ffffff;
  background-color: #d24350;
  height: 1%;
  width: 7%;
  font-weight: 600;
}

.btn-add:hover {
  background-color: #b4101f;
  border-color: #b4101f;
  color: #fff;
}

.table tbody tr td.action a.delete-link {
  width: 22px;
  height: 22px;
  background: url(../images/ic-delete.png) no-repeat center center;
  display: inline-block;
}

.btn-plus {
  border: 1px solid grey;
  background-color: #ffffff;
  margin-top: -12px;
}

.table-row {
  height: 102px;
}

.textarea-height {
  height: calc(1.85em + .75rem + 60px) !important;
}

.search-box {
  margin-top: -26px;
  border: 10px solid #ffffff;
  border-left: 0px !important;
  border-bottom: 0px !important;
}

ul.nav.nav-pills.ipdemr-tabs a.nav-link.active {
  position: relative;
  color: #fff;
  font-weight: bold;
  background: rgb(136, 136, 136);
  border-top: 3px solid #d24350;
}

.myhealthcare-tabs .nav-item .nav-link {
  padding: .75rem 5rem !important;
  border-radius: 0 !important;
}

.search {
  background-color: #d24350 !important;
  padding-top: 9px !important;
  background: url(../images/search-ic.png);
  background-repeat: no-repeat;
  background-position: center;
}

/** Color-legend **/

.emrfrm .input-group-addon-color {
  padding: 5px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  background-color: #dddddd;
  border: 1px solid #ccc;
  min-width: 32px;
  border-radius: 0 5px 5px 0;
  z-index: 1;
}

.input-group-addon-color {
  width: 21%;
  height: 44px;
}

.input-group-addon-color  img {
  width: 62%;
  margin-top: 5px;
}

.custom-picker {
  margin: 0;
  padding: 0;
  width: calc(100% - 48px);
  z-index: 1;
}

.custom-picker .sp-preview {
  height: 100%;
  width: 100%;
}

.bgcolor-td {
  position: relative;
}

.bgcolor-td div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

/* .custom-picker.sp-active {
  pointer-events: none;
  visibility: hidden;
  z-index: -1;
}

.color-pick-input {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100% !important;
  z-index: 0; 
}*/

/** IPD EMR NEW PAGES **/

/** Responsive **/

/** Responsive EMR.CSS override **/

@media screen and (max-width: 991px) {
  header .navbar-dark .menu-dropdown .dropdown-menu {
    width: 100%;
    box-shadow: none;
  }
}

/** Responsive EMR.CSS override **/

/** Responsive **/