.container {
  max-width: 100%;
  height: 100%;
}

.form-control.error {
  border-color: #fd397a;
}

label.error {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #fd397a;
}

/* Navbar icons start */

.quick-panel-right.demo-panel-right.offcanvas-right.header-fixed.aside-enabled.aside-fixed,
button.brand-toggle {
  transition: all 1s ease-out;
}

#kt_aside_menu > form > ul > .menu-item > .menu-link {
  gap: 10px;
  border: none;
}

#kt_aside_menu > form > ul > .menu-item > .menu-link > span:nth-child(1) {
  width: 21px !important;
  height: 24px !important;
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
}

#kt_aside_menu > form > ul > .menu-item > .menu-link > span:nth-child(1) > svg {
  width: 20px;
  height: 21px;
}

#kt_aside_toggle > svg {
  width: 24px;
  height: 24px;
}

/* Navbar icons end */

.pt-4px {
  padding-top: 4px;
}

.bg-violet {
  background-color: var(--theme-primary);
}

.active-bg-violet:active {
  background-color: var(--theme-primary);
}

/* Mobile hide */
.show-mobile-alert {
  display: none;
}

.hide-mobile-alert {
  display: block;
}

.content-table-height {
  overflow-y: scroll !important;
  min-height: 450px !important;
}

@media screen and (max-width: 991px) {
  .show-mobile-alert {
    display: block;
  }
  .hide-mobile-alert {
    display: none;
  }
  /* consutlation, medical record, customization */
  .content-table-height {
    overflow-y: initial !important;
    min-height: unset !important;
    height: 100% !important;
  }
  #kt_content {
    padding-bottom: 0 !important;
  }
  .container {
    padding: 0;
  }
}

/* Mobile navbar start */

.navbar.d-block.d-lg-none.navbar-expand-lg.navbar-light.px-0 {
  position: sticky;
  top: 0;
  z-index: 10000;
}

#mobile-navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#mobile-navbar-hamburger-menu {
  border: none;
  position: absolute;
  left: 1rem;
}

#mobile-navbar-hamburger-menu > svg {
  width: 30px;
  height: 30px;
}

#mobile-navbar-logo-link {
  margin: 1rem 0 1rem 0;
  padding-bottom: 0.7rem;
}

#navbarSupportedContent .menu-link {
  display: inline-block;
  width: 100%;
  padding: 0.7rem 0.5rem;
}

#navbarSupportedContent .menu-link svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

/* Mobile navbar end */

/* Users and practice subnavbar homogenenous */

.subnavbar {
  min-height: 75px;
}

.subnavbar .nav-link {
  min-height: 75px;
}

/* navbar separator */
.navbar-separator {
  border-bottom: 1px solid var(--navbar-separator-color);
  margin-top: 1rem;
  margin-bottom: 1rem;
  opacity: 40%;
}

select[name="paid_status"],
select[name="paid_status"]:focus-visible,
select[name="paid_status"]:focus {
  border: none;
  outline: none;
}

.bottom-border {
  border-bottom: 1px solid #ebedf3;
}

.dataTables_wrapper .dataTable {
  width: 100% !important;
  border-collapse: collapse !important;
}

.datatable-row th {
  width: 10%;
  min-width: 100px;
  color: var(--datatable-head) !important;
  font-size: 1rem !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  letter-spacing: 0.1rem;
}

#patient_datatable_export_wrapper,
#email_datatable_export_wrapper {
  display: none;
}

/* Modal start */

.modal-dialog {
  margin: 150px auto 1.75rem auto;
}

@media screen and (min-width: 992px) {
  .modal-dialog {
    margin: 100px auto 1.75rem auto;
  }
}
/* Modal end */

.referral-heart {
  color: var(--heart-color);
}

.font-weight-500 {
  font-weight: 500;
}

.font-weight-600 {
  font-weight: 600 !important;
}

.font-weight-700 {
  font-weight: 700 !important;
}

.banner-text-underline {
  text-decoration: underline;
}

.alert:not(.alert-secondary) .alert-text {
  font-weight: 600;
}

select:focus-visible {
  outline-color: var(--theme-primary);
}

.previous-btn > i {
  color: var(--previous-btn);
}

#kt_aside,
#kt_wrapper {
  transition: all 0.15s ease-out;
}

@keyframes heart-float-pulse {
  0%, 95%, 100% {
    transform: translateY(0px) scale(1);
  }
  
  /* First jump */
  2% {
    transform: translateY(-12px) scale(1.03);
  }
  4% {
    transform: translateY(0px) scale(1);
  }
  
  /* Second jump */
  6% {
    transform: translateY(-12px) scale(1.06);
  }
  8% {
    transform: translateY(0px) scale(1);
  }
}

#heart-svg.heart-float-pulse-animation {
  animation: 6s ease-out heart-float-pulse;
}

#heart-svg-mobile.heart-float-pulse-animation {
  animation: 6s ease-out heart-float-pulse;
}

/* Referral heart css END */

/* Referral ALERT */

#referral-alert-link:hover,
#rpps-updated-banner:hover,
#resources-alert-link:hover {
  text-decoration: none !important;
}

.alert-resources-banner {
  background-color: #faad13;
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  position: relative;
  min-height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert-referral-banner {
  /* background-color: var(--heart-color); Xmas color */
  background-color: var(--heart-color);
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  position: relative;
  min-height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert-resources-text {
  color: #120034;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  vertical-align: center;
  width: fit-content;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.alert-referral-text,
.alert-rpps-updated-text {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.close-referral-banner,
.close-resources-banner,
.close-rpps-updated-banner {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  margin-bottom: 0;
  z-index: 100;
  height: 50px;
  width: 50px;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .alert-referral-text,
  .alert-resources-text,
  .alert-rpps-updated-text {
    max-width: calc(100% - 40px);
    padding-left: 0;
  }
  .close-referral-banner,
  .close-resources-banner,
  .close-rpps-updated-banner {
    right: 0;
    width: 40px;
    height: 40px;
  }
}

#fixed-card-body {
  overflow-y: auto;
}

/* QuillElements Start */

.ql-editor {
  height: fit-content;
  color: var(--new-black);
  background-color: var(--form-control-bg);
  font-weight: 400;
  border: 1px solid var(--form-control-border);
  border-radius: 0.42rem;
  box-shadow: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* 
  bold default value, which is set to 600 in quill default font 
  and quill default font only has 3 weight light normal and bold
  so 600 weight is equal to 700+ weight
*/
.ql-editor strong {
  font-weight: 700;  
}

.ql-editor:focus {
  border-color: var(--theme-primary);
}

/* SVGS ON TOOLBAR */
[aria-label="background: highlighted"].ql-background svg > *,
[aria-label="background: highlighted"].ql-background.ql-active svg > * {
  fill: var(--quill-background-fill) !important;
}

[aria-label="background: highlighted-important"].ql-background svg > *,
[aria-label="background: highlighted-important"].ql-background.ql-active svg > * {
  fill: var(--quill-background-important-fill) !important;
}

/* Styles on background classes */
.ql-bg-highlighted {
  background-color: var(--quill-background);
  border-radius: 0.42rem;
  padding: 0.2rem;
  line-height: 1.6rem;
}

.ql-bg-highlighted-important {
  background-color: var(--quill-background-important);
  border-radius: 0.42rem;
  padding: 0.2rem;
  line-height: 1.6rem;
}

/* QuillElementsEnd */