.mainctn { 
  margin-left: 100px;
}

.qw_nav_top {
  padding: 10px !important;
  justify-content: center !important;
}

.nav-link {
  user-select: none;
}

/* make the above style 0px when the screen is less than 800px */
@media screen and (max-width: 768px) {
  .qw_nav_top {
    padding: 2px !important;
  }
  .mb-sm-3, .my-sm-3 {
    margin-bottom: 0px !important;
  }
  .nav-pills .nav-link {
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: none !important;
    border-color: transparent
  }
  .nav-item.qw_nav_top a {
    border: 1px solid transparent ;
    background-color: transparent ;
    border-radius: 20px !important;
  }
  .nav-link:active {
    background-color: #2c2c2c !important;
    color: white !important;
  }
  .nav-item.qw_nav_top:hover {
    background-color: rgb(221, 221, 221);
  }
  .nav.qw_nav_top {
    border-radius: 20px;
    border: 1px solid rgb(130, 130, 130);
    margin: 15px;
    margin-top: 25px;
  }
}

.nav-fill .nav-item {
  flex: none;
}

.nav-pills .nav-link {
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.nav-pills:hover .nav-link:hover {
  color: #31344b;
  background-color: #e6e7ee;
  border-color: #e6e7ee;
  box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF;
}

.att_top,
.att_content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.att_top {
  padding-left: 25px;
  padding-right: 25px;
}

.att_content {
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;
}

.att_header {
  -webkit-box-shadow: 0px 0px 23px 0px #00000075;
  box-shadow: 0px 0px 23px 0px #00000075;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #f0f0f0d4;
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.att_header_title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
}

.att_header_vignette {
  font-size: 1.5em;
  margin-right: 10px;
  margin-left: 10px;
  color: #9b9b9b;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently */
}

.no_margin {
  margin: 0px;
}

.uk-heading-line>::after {
  border-color: #585a7a;
}

.category_title {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.category_title .uk-icon {
  margin-right: 10px;
}

#category_title_small {
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
  margin-bottom: 10px;
  padding: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  border-radius: 10px;
  color: #585a7a;
}

#category_title_small:hover {
  color: #2d2f3b;
  cursor: pointer;
}

.category_title_line {
  flex: 1 1 auto;
  margin-bottom: 0px;
  margin-top: 0;
  margin-left: 0;
  color: inherit;
}

.top_nav {
  margin-top: 10px;
}

.patient_info_title {
  border-radius: 10px;
  background-color: #585a7a ;
  color: #FFFFFF;
  padding-left: 7px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-left: 5px;
  margin-right: 5px;
}

.att_header_patient {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding-right: 7px;
}

.qw_pat_cat {
  border-radius: 10px;
  line-height: 30PX;
  margin-inline-start: 10px ;
}

.pat_cat_save {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 12px;
  padding-right: 12px;
}

.pat_cat_discard {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 7px;
  padding-right: 7px;
}

.datehome {
  margin-left: 20px;
  font-size: 1.2em;
}

.centre_info {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}

._img::before {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#centre_info_text {
  margin-inline-start: 20px;
}

.cat_content {
  padding: 25px;
}

.flex_h {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.card {
  margin: 10px;
}

.att_bottomnav {
  padding-bottom: 20px;
  /* margin-left: 100px; */
}

.quill_content_container {
  width: 100%;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 20px;
  background-color: #FFFFFF;
}

.quill_editor_container {
  /* 400px but resizable */
  height: 400px;
  /* Add the resizable class to the textarea */
  overflow: auto;
  resize: vertical;
}

.ql-snow {
  border: none !important;
  border-radius: 0px !important;
}

.ql-toolbar {
  border-bottom: 1px solid rgb(180, 180, 180) !important;
}

.ql-editor {
  color: black;
  font-size: medium !important;
}

.ql-editor strong {
  font-weight: 800;
}

.ql-editor em {
  color: inherit;
  font-size: inherit !important;
}

.ql-editor p {
  color: inherit;
  font-size: inherit !important;
}


.form-control {
  background-color: #ffffffb7;
  color: #14141a;
}

.form-control:focus {
  background-color: #ffffff !important;
  color: #14141a !important;
  border-color: #14141a71 !important;
  border: 1px solid;
}

.content_cat {
  padding-top: 0px;
  padding-bottom: 35px;
  padding-left: 35px;
  padding-right: 35px;
}

.content_header {
  padding-top: 30px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.img_icon {
  margin-left: 3px;
  margin-right: 5px;
  filter: invert(15%) sepia(8%) saturate(2794%) hue-rotate(196deg) brightness(98%) contrast(84%);
}

.uk-accordion-title::before {
  content: "";
  width: 1.4em;
  height: 1.4em;
  margin-left: 0px;
  float: right;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%221%22%20height%3D%2213%22%20x%3D%226%22%20y%3D%220%22%20%2F%3E%0A%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: rgb(230 231 238);
  margin-right: 15px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff !important;
}

label {
  margin-bottom: 3px;
  margin-top: 0px;
  margin-left: 3px;
}

.form_icon {
  margin-right: 5px;
  font-weight: 800;
}

.category_content_indented {
  padding-left: 20px;
  margin-left: 27px;
  margin-top: -10px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-left: 2px solid #cccccc;
}

.uk-margin-medium-top {
  margin-top: 25px !important;
}

.dropdown-menu {
  /* inherit background color from body */
  background-color: #ffffff;
  box-shadow: 3px 3px 6px #b8b9be, -3px -3px 6px #ffffff;
}

.tooltip {
  text-align: center;
}

.whitebase_red {
  background-color: #ffeeee;
}

/* .alert .alert-inner--icon {
  font-size: 1.25rem;
  margin-right: .375rem;
} */

/* make the above commented style but for screen sizes smaller than 768px */
@media (max-width: 768px) {
  .alert .alert-inner--icon {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }
  .alert-dismissible .close {
    top: 1.5rem;
    right: .5rem;
  }
}

.search_patient_ctn {
  border-radius: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}


.search_patient_result {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  /* width: 70% !important; */
}

.trailing_text_ctn {
  display: flex;
  align-items: center;
}

.trailing_text {
  margin-top: 2px;
  background-color: #00000013;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.tt_pa {
  margin-left: -75px;
}

.input-group .form-control:not(:last-child) {
  padding-right: 5px;
}

.form-control{
  /* all transitions to 0.5s */
  transition: all 0.3s;
}

*+.uk-grid-margin, .uk-grid+.uk-grid, .uk-grid>.uk-grid-margin {
  margin-top: 3px;
}

.appended_btn {
  cursor: pointer;
  box-shadow: 0 0.5rem 1rem rgba(38, 40, 51, 0.15);
}
/* 
.appended_btn:focus {
  box-shadow: 0 0.5rem 1rem rgba(38, 40, 51, 0.15) !important;
} */

*:disabled, *[readonly] {
  cursor: not-allowed;
}

.uk-disabled {
  cursor: not-allowed;
}

.uk-disabled:after {
  background-color: #747474a2;
}

.input-group-text {
  user-select: none;
}

.bdr_l {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.bdr_r {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.bdr_all {
  border-radius: 0.5rem;
}

.wg_boolean_n {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}

/* custom button */
.b_c_ {
  padding: 0.75rem 0.85rem;
  transition: all 0.2s ease;
  box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff;
  border: 1px solid #d1d9e600;
}

.b_c_:hover {
  box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF;
  border: 1px solid #9ca0a7;
  background-color: #f0f0f0;
}

.b_c_.selected {
  box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff;;
  background-color: #2a2b3a;
  color: white;
  /* box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF; */
  cursor: default;
  z-index: 99;
}

.b_c_dw {
  width: 50%;
}

.b_c_neutral {
  background-color: #e7e7e7;
  color: #3a3a3a;
}

.modal {
  display: unset;
  top: 40%;
  overflow: unset;
}

.fade:not(.show) {
  opacity: unset;
}

#modal-bg {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1010;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 15px 15px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  backdrop-filter: blur(5px);
}

#modal-bg-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1080;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 15px 15px;
  background: rgba(255, 255, 255, 0.8);
  opacity: 1;
  backdrop-filter: blur(5px);
}


.modal-content {
  box-shadow: 0 0.5rem 1rem rgba(31, 33, 41, 0.507) !important;
}

#organs-tip {
  font: 14px/16px Trebuchet MS,Helvetica,Arial,sans-serif;
  opacity: 0;
  padding: 5px;
  border: 1px solid #404040;
  color: #404040;
  z-index: 1000;
  float: left;
  position: absolute;
  background: rgba(265,265,265,.9);
  word-break: keep-all;
  box-shadow: 1px 2px 4px rgba(0,0,0,.5);
  -moz-box-shadow: 1px 2px 4px rgba(0,0,0,.5);
  -webkit-box-shadow: 1px 2px 4px rgba(0,0,0,.5);
}

#bodyparts {
  height: 700px;
  width: 700px;
}

.b_c_.disabled, .b_c_:disabled {
  background-color: #c9c9c9;
  box-shadow: none;
  border: none;
  color: #747474;
}

.b_c_.disabled:hover, .b_c_:disabled:hover {
  background-color: #b6b6b6;
  border: none;
  box-shadow: none;
}

.btn-primary.primary {
  box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff;;
  background-color: #2a2b3a;
  color: white;
  border: none;
}

.btn-primary.primary:active{
  box-shadow: none !important;
  background-color: #1e1f27 !important;
  color: white !important;
}

.body_obs {
  height: 200px;
  overflow: auto;
  resize: vertical;
}

textarea {
  transition: color 0.2s ease, border 0.2s ease, background-color 0.2s ease !important;
}

.bodygraph_ctn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #F0F0F0;
}

/* on below 900px, display bodygraph_ctn as column */
@media (max-width: 905px) {
  .bodygraph_ctn {
    flex-direction: column;
  }
}

.alert .alert-inner--text {
  padding-right: 25px;
}

@media (max-width: 768px) {
  .alert .alert-inner--text {
    padding-right: 0px;
  }
}

#bodyparts path {
  transition: all 0.2s ease;
}

.labcard {
  margin-left: 30px;
  margin-right: 0px;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 30px;
  padding-top: 20px;
  padding-bottom: 30px;
}

@media (min-width: 1200px) {
  .labcard {
    margin-left: 40px;
  }
}

.labbool {
  padding-right: 20px;
}

@media (max-width: 960px) {
  .labbool {
    padding-right: 0px;
  }
}

.invsep {
  display: block;
  height: 0px;
}

@media (max-width: 960px) {
  .invsep {
    height: 20px;
  }
}

.uk-notification-message {
  background: none;
  padding: 0px;
}

.inlinespinner {
  margin-left: 20px;
}

code {
  white-space: pre-wrap;
}

.qw_leftnav_main {
  background-color: #f0f0f0;
  z-index: 199;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 15px;
  -webkit-box-shadow: 4px 0px 10px 1px rgba(0,0,0,0.15);
  box-shadow: 4px 0px 10px 1px rgba(0,0,0,0.15);
  height: 100%;
  width: 100px;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 20px;
}

.main_container {
  padding: 40px;
}

/* same rule as above, but less for narrow screens */
@media (max-width: 960px) {
  .main_container {
    padding: 20px;
  }
  .uk-card-body {
    padding: 20px 20px;
  }
}

#menuToggle {
  display: none;
}

@media (max-width: 768px) {
  .main_container {
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
  }
  .main_container.index {
    padding-right: 0;
    padding-left: 0;
  }
  .qw_leftnav_main {
    overflow-x: scroll;
    display: none;
    opacity: 0;
    z-index: 1090;
    width: 100%;
    height: 100%;
    background-color: #f0f0f000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }
  .uk-divider-small::after {
    border-top: 1px solid #929292;
  }
  .mainctn {
    margin-left: 0px;
  }
  .leftnav_title {
    display: inline-block !important;
  }
  #menuToggle {
    display: block;
  }
  .narrow_heading {
    padding: 15px;
  }
  .uk-card-body {
    padding: 10px 10px;
  }
  .card-nested {
    margin-top: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .content_header {
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 5px;
  }
}

.ctn_home_dash {
  margin-right: 20px;
  margin-left: 20px;
  /* margin-right: 10px;
  margin-left: 10px; */
}

/* @media (max-width: 960px) {
  .ctn_home_dash {
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
} */

.home_dash_card {
  box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff;
  border-radius: 1rem;
  padding: 10px;
}

/* .home_dash_card_content {
  box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff !important;
  border-radius: 1rem;
  padding: 20px;
} */

.home_dash_card:first-child {
  margin-top: 10px;
}

.card_list_item {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.card_list_item:last-child {
  margin-bottom: 0px;
}

.card_list_item:first-child {
  margin-top: 0px;
}

.input_select_1st {
  background-color: #e6e7ee;
  border: 1px solid;
  border-color: rgb(209, 217, 230);
  border-bottom-left-radius: 0em;
  border-top-left-radius: 0em;
}

.input_select_1st:focus, .input_select_1st:active {
  box-shadow: 0 0 25px 0.5rem rgb(33 37 41 / 25%) !important;
  background-color: #e6e7ee !important;
  border-color: rgb(209, 217, 230) !important;
}

.bool_form_base {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.results_ctn_cie10 {
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: scroll;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0px;
  padding-bottom: 10px;
}

.search_hints {
  background-color: #e6e7ee;
  position: absolute;
  top: 100%;
  z-index: 120;
  width: 100%;
  max-width: 750px;
}

.search_parent {
  position: relative;
}

.shadow-2 {
  box-shadow: 0px 2em 3rem 7px rgb(38 40 51 / 39%) !important;
}

.cie10item {
  cursor: pointer;
}

.alert_icon {
  padding-right: 5px;
}

.alert {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 2.5rem;
  text-align: center;
}

.alert-dismissible .close {
  right: 1rem;
}

.form-control::placeholder {
	color: #aeaeae;
	opacity: 1;
  font-style: italic;
}

.content_home {
  margin-left: 20px;
  margin-right: 20px;
}

.div_inline {
  display: block;
  width: 50%;
  border-bottom: 0.2px solid;
}

.div_inline:first-child {
  margin-right: 10px;
}

.div_inline:last-child {
  margin-left: 10px;
}

.inline_heading_icon {
  margin-right: 5px;
}

.two_columns_home {
  
}

/* .uk-grid {
  margin-left: 0px;
} */

.leftnav_title {
  margin-left: 20px;
  font-weight: 400;
  display: none;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 3px;
  margin-bottom: 5px;
  position: relative;
  background: #8d8d8d;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle {
  z-index: 1095;
  -webkit-user-select: none;
  user-select: none;
  background-color: #ededeebe;
  border-radius: 10px 0px 0px 10px;
  cursor: pointer;
  position: fixed;
  top: 30vh;
  right: 0px;
  padding-top: 10px;
  padding-bottom: 5px;
  padding-right: 10px;
  padding-left: 10px;
  box-shadow: 0px 8px 23px 0px #0000003d;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-7px, -15px);
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  opacity: 1;
  transform: rotate(-45deg) translate(-5px, 13px);
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input {
  display: block;
  width: 58px;
  height: 47px;
  position: absolute;
  top: -3px;
  left: -3px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}

.uk-button-default {
  background-color: #f9f9f9;
}

.uk-button-default:hover {
  background-color: #f9f9f9;
}

.uk-button-default:active {
  background-color: #b4b4b4;
}

.uk-card-default {
  border-radius: 0.5rem;
  background-color: #e6e7ee;
  color: #44476a;
  box-shadow: 0 5px 15px rgb(0 0 0 / 24%);
}

.inline_heading_icon {
  min-width: 25px;
}

.narrow_heading {
  margin-top: 5px;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 20px;
}

.actionbar_latest_atenciones {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.icon-btn-min-20 {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
}

@media screen and (max-width: 960px) {
  .icon-btn-min-20 {
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 0.8;
  }
}

.icon-btn-min-20 .uk-icon {
  min-width: 20px;
}

@media (min-width: 1200px) {
  .uk-card-body {
    padding: 30px 30px;
  }
}

.selected_result {
  background-color: #aef4cf8f !important;
}

.text-color-emphasis {
  color: #44476a;
}

@media screen and (max-width: 480px) {
  .att_content {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .category_title {
    padding: 10px;
  }
}

.transparent {
  background-color: transparent;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.btn-primary:focus, .btn-primary.focus {
  border: 1px solid #a5a5a598;
}

.quill_content_container.uk-disabled {
  background-color: transparent;
  user-select: none !important;
}

.maintoolbar button,  .maintoolbar a {
  /*squared buttons*/
  width: 40px;
  height: 40px;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.maintoolbar {
  display: flex;
}

.maintoolbar:last-of-type{
  margin-left: 20px;
}

.att_header_title h3 {
  /*add ellipsis when text is too long*/
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.patient_name {
  /* font size depending on the length of the name */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

.patient_age {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* .att_header_title on below 768px, display its flex as column */
@media (max-width: 768px) {
  .att_header_title {
    flex-direction: column;
    margin-bottom: 8px;
    margin-top: -4px;
  }
  .att_header {
    flex-direction: column;
  }
  .att_header_vignette {
    display: none;
  }
  .patient_name {
    max-width: none;
  }
}

.nav-pills .nav-item {
  margin-bottom: 0rem;
}

#organs-tip {
  /*opacity*/
  display: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  max-width: 300px;
}
.alertify .ajs-dialog {
  background-color: #efeff0 !important;
  -webkit-box-shadow:0 15px 20px 0 rgba(0,0,0,.25);
  box-shadow:0 15px 20px 0 rgba(0,0,0,.25);
  border-radius: 15px;
}

.alertify .ajs-header {
  color:#000;font-weight:700;
  background: #efeff0 !important;
  border-bottom:#c7c7c7 1px solid;
  border-radius: 15px 15px 0px 0px;
}

.alertify .ajs-body {
  color:#000
}

.alertify .ajs-body .ajs-content .ajs-input {
  display:block;width:100%;
  padding:8px;margin:4px;
  border-radius:2px;border:1px solid #ccc
}

.alertify .ajs-body .ajs-content p {
  margin:0
}

.alertify .ajs-footer { 
  background:#efeff0 !important;
  border-top:#c7c7c7 1px solid;
  border-radius: 0px 0px 15px 15px;
}

.alertify .ajs-footer .ajs-buttons .ajs-button {
  background-color:transparent;
  color:rgb(155, 104, 104);border:0;
  font-size:14px;
  font-weight:700;
  text-transform:uppercase
}

.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok {
  color:#4f4560
}

.alertify-notifier .ajs-message {
  background:rgba(255,255,255,.95);
  color:#000;
  text-align:center;
  border: #c7c7c7 1px solid;
  border-radius:2px
}

.alertify-notifier .ajs-message.ajs-success {
  color:#fff;
  background:rgba(91,189,114,.95);
  text-shadow:-1px -1px 0 rgba(0,0,0,.5)
}

.alertify-notifier .ajs-message.ajs-error {
  color:#fff;background:rgba(217,92,92,.95);
  text-shadow:-1px -1px 0 rgba(0,0,0,.5)
}

.alertify-notifier .ajs-message.ajs-warning {
  background:rgba(252,248,215,.95);
  border-color:#999
}

.inlinespinner_single {
  margin-left: 0px;
}

.uk-description-list-divider>dt:nth-child(n+2) {
  border-top: 1px solid #8e8e8e;
}

.conditional_form_ctn {
  border: 1px solid #6d7196;
  border-radius: 15px;
  padding-bottom: 15px;
  margin-left: 30px;
  padding-top: 0px;
  margin-bottom: 20px;
  margin-top: 30px !important;
}

.conditional_form_ctn>div:first-child>div {
  margin-top: -15px;
  background-color: #e6e6ee;
  border-radius: 10px;
  border: 1px solid #6d7196;
  padding: 10px;
  margin-bottom: 15px;
}

.hint {
  color: #8e8e8e;
  font-weight: normal;
  margin-left: 10px;
  border-bottom: 2px dotted #8e8e8e;
  cursor: help;
}

.uk-list-striped>:nth-of-type(even) {
  background: #00000007;
}

.editable_text {
  cursor: pointer;
  user-select: auto;
  transition: 1s all ease-in-out;
}

.ajs-button:focus {
  outline: none;
  background: #4f45601b !important;
}

.ajs-close:focus {
  outline: none;
  background-color: #60454526 !important;
}

.uk-alert-success {
  color: #278763;
}

/* on below 768px change .content_cat padding */
@media (max-width: 768px) {
  .content_cat {
    padding: 5px;
  }
  .category_content_indented {
    padding-left: 10px;
    margin-left: 8px;
    border-left: 3px solid #a8a8a8;
}
}

.cie10_bubble {
  background-color: #44476a00;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #44476a;
}

.cie10_bubble:hover {
  background-color: #44476a1a;
}

.cie10_discard {
  cursor: pointer;
}

.uk-margin-xsmall-left {
  margin-left: 5px !important;
}

br {
  user-select: none;
}

div.profile-pic > img {
  border-radius: 50%;
  object-fit: cover;
}

.profile-pic.editable {
  cursor: pointer;
  position: relative;
  content: "...";
}

.profile-pic.editable::after {
  content: "+";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000073;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  font-weight: normal;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.profile-pic.editable:hover::after {
  opacity: 1;
}

.leftnav-pfp-online {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 0px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #00cc00;
  border: 2px solid #fff;
  box-shadow: 0 0 5px 1px #00000048;
}

@media (max-width: 768px) {
  .leftnav-pfp-online {
    bottom: 10px;
    left: 45px;
  }
}

@media (max-width: 960px) {
  .margin-top-onm {
    margin-top: 20px !important;
  }
}

.ui-disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(50%);
}

@media (max-width: 768px) {
  .att_header {
    border-radius: 0px 0px 15px 15px;
  }
  .index-header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .index-header h4 {
    font-size: 1rem;
  }
}

.form-check-label {
  user-select: none;
}

@keyframes updated-field-animation {
  0% {
    background-color: hsl(209, 100%, 85%);
  }
  100% {
    background-color: hsl(0, 0%, 98%);
  }
}

.animate-updated-field {
  animation: updated-field-animation 1s;
}

#indicadores-desarrollo {
  position: relative;
}

#indicadores-desarrollo .overlay-bg {
  background-color: hsla(240, 19%, 92%, 0.7);
}

