html {
  position: relative;
  min-height: 100%;
}

body {
  font-size: 17px;
  color: #5b6670;
  padding-top: 120px;
  padding-bottom: 50px;
}

body.emergency {
  background-color: #dc3545;
  color: white;
}

.navbar {
  min-height: 90px;
}

.navbar-top {
  position: fixed;
  top: 0px;
  width: 100%;
}

.navbar-brand {
  height: 80px;
  display: grid;
  align-items: center;
  justify-items: left;
}

.navbar-collapse {
  text-align: left;
}

.navbar-toggler {
  outline: none !important;
  font-size: 1.4rem;
}

.bg-dark {
  background-color: #5b6670 !important;
}

.text-muted {
  color: #ababab !important;
}

a:hover {
  color: #5b6670;
}

.k-hidden {
  display: none;
}

.k-list {
  list-style-type: none;
  padding: 0px;
  line-height: 1.2 !important;
}

.k-list:last-of-type {
  margin-bottom: 2rem;
}

.tab-content {
}

.k-list-step h6 {
  font-size: 1rem;
}

.due-date-header {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom: none !important;
  border-top: none !important;
  padding: 15px;
  margin: 0px;
}

.list-group {
  border-radius: 0px !important;
}

.list-group:last-child {
  border-bottom-left-radius: 0.25em !important;
  border-bottom-right-radius: 0.25em !important;
}

.tab-pane .list-group-item:first-child {
  border-top: none !important;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.k-list-step {
  border-bottom: solid 1px #cccccc;
  padding: 1rem;
  color: #808080 !important;
  background-color: #dee2e6b8;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
}

.k-list-step:hover {
  background-color: #dee2e67e;
}

.k-no-border {
  border: none !important;
}

.k-botones {
  align-self: end;
  display: flex;
}

.k-icon-button {
  font-size: 1.5rem;
  color: #343a40;
  margin-left: 1rem;
  opacity: 0.5;
}

.k-icon-button:hover {
  color: #343a40;
  opacity: 1;
  text-decoration: none;
}

.k-icon-button i {
  display: block;
  text-decoration: none;
}

.k-list-check-container {
  height: 30px;
  width: 100%;
}

.k-list-check-container,
.k-small-i {
  width: 20px;
  margin-right: 2px;
  align-self: end;
}

.k-breadcrumb {
  background: none;
}

.k-list,
.k-table {
  font-size: 0.86rem !important;
  color: inherit !important;
}

.k-list-item i:not(button i) {
  color: #c8c8c8;
  margin-right: 1rem;
  line-height: 24px;
  align-self: start;
}

.k-list-item span.check {
  margin-right: 1rem;
  line-height: 24px;
  align-self: start;
}

.k-list_k-task-danger i {
  color: #dc3545 !important;
  margin-right: 1rem;
}

.k-list_k-task-warning i {
  color: #f5a209 !important;
  margin-right: 1rem;
}

.k-list_k-task-success i,
i.success {
  color: #53dc35 !important;
  margin-right: 1rem;
}

.k-list_text-dark i {
  color: #767676 !important;
  margin-right: 1rem;
}

.k-table {
  width: 100% !important;
  display: table;
}

.k-table th,
.k-table td {
  border: solid 1px #dee2e6;
  position: relative;
}

.k-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 8px;
  align-items: center;
}

.k-title-action-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.k-list-title,
.k-sm-group {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 15px;
}

.k-list-item-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
}

.k-list-item-grid-oneline {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.k-list-item-subgrid {
  display: grid;
  align-items: start;
}

.k-list-item-subgrid h6 {
  margin-bottom: 0px;
}

.k-list-item-subgrid-subindex {
  font-size: 0.8rem !important;
  margin-bottom: 1rem;
  display: block;
}

.k-cb-container,
.k-sm-group i {
  font-size: 0.8rem;
  width: 12px;
}

.k-cb-container {
  display: block;
  float: none;
}

.k-list-item {
  transition: background 0.3s;
  padding: 15px;
}

.k-list-item:hover {
  background-color: #ececec57;
}

.k-list-item.k-bg-emergency:hover {
  background-color: #a82b37;
}

.k-list-item small {
  font-size: 0.9rem;
}

.k-list-item-index {
  list-style: none;
  margin-top: 2rem;
}

.k-action-btns {
  float: right;
}

.k-action-btns .btn-group {
}

.k-action-btns button {
  width: 32px;
  height: 32px;
  display: grid;
}

.k-action-btns button i {
  align-self: center;
  justify-self: center;
  color: inherit !important;
  margin: 0px !important;
}

.btn-outline-secondary {
  border: solid 1px #9ca0a3;
  color: #9ca0a3;
}

.btn-outline-secondary:hover {
  color: #fff !important;
  background-color: #9ca0a3;
  border-color: #9ca0a3;
}

.tasklog li {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  width: 100%;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.tasklog li:nth-child(even) {
  background-color: #f8f9fa !important;
}

.tasklog li:first-child,
.tasklog li:last-child {
  border-bottom: solid 1px #9ca0a3;
}

.boldme {
  font-weight: 700;
}

small.smallr {
  font-size: 0.7rem;
  margin-top: 0px;
  padding-top: 0px;
}

.k-list-title-text {
  margin: 0;
  align-self: center;
}

.k-grid-2 {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.k-warning {
  color: #e49c03 !important;
}

.k-inner-link {
  color: #334353;
}

.k-two-cards {
  display: grid;
  gap: 15px;
}

.k-small-text-block {
  display: block;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  margin-bottom: 0.2rem;
}

.k-dz-container {
  display: block;
  width: 100%;
  /*height: 120px;*/
  position: relative;
}

.k-dz-container .dz-details,
.k-dz-container .dz-progress,
.k-dz-container .dz-success-mark,
.k-dz-container .dz-error-message,
.k-dz-container .dz-error-mark,
.k-dz-container .dz-image {
  display: none;
}

.k-dz-container .container {
  height: 100% !important;
}

.k-process-instructions {
  border: solid 1px #5b6670;
  border-radius: 4px;
  color: #5b6670;
  padding: 0.5rem;
  cursor: pointer;
}

.k-dz-container .k-dz-instructions {
  display: grid;
  align-items: center;
  height: 100%;
  grid-template-columns: 30% 70%;
  grid-gap: 1rem;
  width: Calc(100% + 15px);
  margin-left: -15px;
}

.k-dz-container #FileUploadDz {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: color(srgb 1 0.749 0.8 / 0.268); */
  top: 0px;
  left: 0px;
}

.k-attached-files {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.k-attached-file {
  position: relative;
  margin-bottom: 1rem;
  width: fit-content;
  display: grid;
  width: 200px;
  min-height: 200px;
  background-color: #e0e0e0;
  border: solid 1px #ced4da;
  overflow: hidden;
  align-items: center;
  justify-items: center;
}

.k-attached-file-info {
  position: absolute;
  width: 90%;
  background-color: rgba(255, 255, 255, 0.52);
  color: #444444;
  left: 5%;
  bottom: 5%;
  padding: 5%;
  font-size: 0.7rem;
  text-align: center;
  border-radius: 4px;
  z-index: 100;
}

.k-attachment-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 4rem;
  color: #ced4da;
  transform: translateX(-50%) translateY(-50%);
}

.k-attached-file img {
  width: 200px;
  height: auto;
}

.k-attached-file button {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 100;
}

.k-alert-buttons {
  text-align: center;
  margin-top: 3rem;
}

.card-title i {
  display: inline-block;
  margin-right: 0.4rem;
}

.k-list-actions i {
  font-size: 17px;
}

.k-task-danger {
  border-bottom: solid 1px #dc3545 !important;
}

.k-task-warning {
  border-bottom: solid 1px #e49c03 !important;
}

.k-collapser.collapsed .fa-times {
  display: none;
}

.k-collapser.collapsed .fa-caret-right {
  display: block;
}

.k-collapser .fa-times {
  display: block;
}

.k-collapser .fa-caret-right {
  display: none;
}

.k-audio-p {
  width: 100%;
}

.k-spacer {
  margin-bottom: 1rem;
  margin-top: 1rem;
  display: block;
}

.k-card {
  border-radius: 0px !important;
}

.k-card a {
  color: #a6a7a9;
}

.k-card a:hover {
  color: #343a40;
}

.carousel-inner {
  background-color: rgb(191, 191, 191);
}

p {
  font-size: 0.9rem;
  line-height: 1.1;
}

.nav-item {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
}

.form-control {
  font-size: 0.85rem !important;
  color: #808080 !important;
  min-height: 40px;
}

.form-control.req {
  position: relative;
}

.form-control.param_xtra {
  font-size: 0.8rem;
  font-family: "Courier New", Courier, monospace;
  background-color: #f9f6f3;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #9c9c9c !important;
  opacity: 1; /* Firefox */
}

.req::after {
  position: absolute;
  right: 5px;
  top: 5px;
  content: "*";
  color: red;
  font-size: 1.2rem;
  display: block;
}

.form-control.fieldErr {
  border: solid 1px rgb(172, 64, 64);
}

a.bread {
  color: #5b6670;
}

.text-secondary {
  font-size: 0.9rem;
}

.text-small-as-a-flea {
  font-size: 0.7rem;
}

.emergency a.bread,
.emergency .text-secondary {
  color: white !important;
}

label {
  font-size: 0.9rem;
}

.footer {
  display: block;
  position: fixed;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 50px;
  line-height: 50px; /* Vertically center the text there */
  background-color: #f5f5f5;
  z-index: 100;
}

.emergency .footer,
.emergency .navbar {
  background-color: #a82b37 !important;
}

.nav-item {
  font-size: 0.9rem !important;
}

footer .container,
footer .container .row {
  height: 100%;
}

.k_footer_icons_container {
  display: flex;
  width: 100%;
  justify-content: center;
  height: 100%;
  align-items: center;
}

.k_footer_btn {
  height: max-content;
  margin-left: 1rem;
  margin-right: 1rem;
  height: 32px;
  width: 32px;
  display: grid;
  line-height: 32px;
  align-content: center;
  justify-content: center;
}

.k_footer_btn i {
  font-size: 1rem;
}

.k_footer_btn:disabled {
  pointer-events: none !important;
  opacity: 0.3 !important;
}

.k_footer_btn:hover,
.k_footer_btn:active {
  opacity: 1;
  scale: 1.1;
}

.hide {
  display: none;
}

/* Custom page CSS
	-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
  padding: 60px 15px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

body.emergency_body {
  background-color: #dc3545;
  color: white !important;
}

.k-bg-emergency {
  border: solid 1px #a82b37;
  background-color: #dc3545;
  color: #ffffff;
}

.k-bg-notice {
  border: solid 1px #808080;
  background-color: #ffffff;
  color: #808080;
}

.k-card-title-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: first baseline;
}

.card-title {
  font-size: 0.9rem;
}

.k-notice {
  transition: all 0.3s;
  opacity: 1;
}

.k-notice.k-dismissed {
  opacity: 0;
}

.k-bg-emergency i {
  color: white !important;
}

.modal-footer {
  border: none !important;
}

a {
  color: #808080;
}

#recordingsList {
  padding: 0px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  list-style: none;
}

.audio_formats {
  display: none;
}

.recording_container {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.attached_audio {
  max-width: 90%;
}

.record-status {
  margin-top: 1rem !important;
  margin-bottom: 1rem;
}

body.emergency .btn-light,
body.emergency .card-title {
  color: #dc3545 !important;
}

body.emergency a.bread {
  color: white !important;
  /*display: inline-block;*/
}

body.emergency .modal-content {
  background-color: #dc3545 !important;
}

.footer a {
  margin: 0px;
  padding: 0px;
}

/* CALENDAR STYLES */
.monthviewer th,
.monthviewer td {
  position: relative;
}

.monthviewer td.dotgreen:after {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #53dc35;
  right: 2px;
  bottom: 1px;
  content: " ";
  display: block;
}

.navbar-notif {
  display: block !important;
}

.star-rate {
  display: inline-block;
  text-align: left;
  margin-bottom: 1rem;
}

.rate-star {
  font-size: 0.8rem;
  margin-right: 5px !important;
}

.star-grey {
  color: lightgray;
}

.star-gold {
  color: goldenrod !important;
}

.star-legend {
  text-align: left !important;
  display: block;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.star-rating-int {
  display: inline;
}

.star-rating-int .rate-star {
  font-size: 0.8rem;
}

.not-rated {
  font-family: monospace;
  color: lightgray !important;
}

h6 {
  font-size: 1rem;
}

.tab-content h6 {
  font-size: 0.9rem;
}

.text-small-super {
  font-size: 0.8rem !important;
}

.checkbox-container {
  color: white;
  font-size: 0.86rem;
  margin-top: 1rem;
  border-radius: 0.25rem;
  display: grid;
  height: 2rem;
  width: 2rem;
  justify-self: right;
  border: solid 1px #cccccc;
}

.checkbox-container .checkbox {
  align-self: center;
  justify-self: center;
}

/* .carousel-inner {
    width: 500px;
    max-width: 100%;
    border: solid 1px #5b6670;
} */

.k-dz-status {
  display: none;
}

.k-dz-status.active {
  display: block;
}

/* .peopleInCondo small{
  display: block;
} */

.k-list-person {
  display: grid;
  grid-template:
    "a b b"
    "a c c";
  align-items: center;
  justify-items: left;
  grid-template-columns: 20px auto;
  margin-bottom: 1rem;
}

.k-list-person input {
  grid-area: a;
}

.k-list-person small {
  grid-area: b;
  color: #808080;
}

.k-list-person .k-list-person-name {
  grid-area: c;
}

.k-list-popup-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

#LinkEmergencyButton {
  display: none;
}

.cal_container {
  display: block;
  width: 100%;
}

.calendar {
  display: flex;
  flex-flow: column;
}

.calendar .header.cal-header {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 1rem;
  align-items: end;
}

.calendar .header .month-year {
  font-size: 1rem;
  font-weight: bold;
  color: #636e73;
}
.calendar .days {
  display: flex;
  flex-flow: wrap;
}
.calendar .days .day_name {
  width: calc(100% / 7);
  border-right: 1px solid #5c6671;
  padding: 5px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  color: #818589;
  color: #fff;
  background-color: #5c6671b7;
  text-align: center;
}
.calendar .days .day_name:nth-child(7) {
  border: none;
}
.calendar .days .day_num {
  display: grid;
  grid-template-rows: auto auto;
  width: calc(100% / 7);
  border-right: 1px solid #e6e9ea;
  border-bottom: 1px solid #e6e9ea;
  padding: 15px;
  font-weight: bold;
  color: #7c878d;
  cursor: pointer;
  min-height: 100px;
}
.calendar .days .day_num span {
  display: inline-flex;
  width: 30px;
  font-size: 14px;
}

.calendar .days .day_num .day_events {
  align-self: end;
  justify-self: right;
}

.event_mark {
  margin-top: 2px;
  font-weight: 500;
  font-size: 14px;
  padding: 3px 3px;
  width: 0px;
  height: 0px;
  border-radius: 4px;
  background-color: white;
  color: #fff;
  word-wrap: break-word;
  border: solid 1px #5b6670;
  justify-self: right;
  position: relative;
}

.event_mark.legend {
  display: inline-block;
}

.event_mark span.spot_due {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: #ff0000 solid 1px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.event_mark.green {
}
.event_mark.blue {
}
.event_mark.red {
  background-color: #b4bcc3;
  border: solid 1px #5b6670;
}
.calendar .days .day_num:nth-child(7n + 1) {
  border-left: 1px solid #e6e9ea;
}
.calendar .days .day_num:hover {
  background-color: #fdfdfd;
}
.calendar .days .day_num.ignore {
  background-color: #fdfdfd;
  color: #ced2d4;
  cursor: inherit;
}
.calendar .days .day_num.selected {
  background-color: #f1f2f3;
  cursor: inherit;
}

.cal_yr_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}

.cal_yr_container .yr_mth {
  border: none;
}

.yr_mth * {
  font-size: 0.7rem !important;
}

.yr_mth .k-action-btns {
  display: none;
}

.yr_mth .calendar .days .day_name {
  padding: 0;
  font-size: 0.6rem;
  background-color: transparent;
  color: #5b6670;
  min-height: 40px;
  border: none !important;
  text-align: center; /* force single line */
}

.yr_mth .calendar .days .day_num {
  background-color: transparent;
  height: auto;
  padding: 2px;
  min-height: 40px;
  border: none !important;
  text-align: center;
}

.calendar .days .day_num span {
  display: block;
}

.yr_mth .calendar .days .day_num .event {
  padding: 1px;
  margin-top: 2px;
}

.yr_mth .calendar .header.cal-header {
  text-transform: uppercase;
}

.k-list-brand-new {
  animation-name: k-list-brand-new-glow-off;
  animation-duration: 2s;
  animation-iteration-count: 1;
}

.k-div-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100%;
  position: relative;
}

.indicators {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: right;
}

.indicators i {
  font-size: 0.4rem !important;
}

.indicators i.red {
  color: #a82b37;
}

.indicators i.green {
  color: #53dc35;
}

.month_clicker {
  cursor: pointer !important;
}

@keyframes k-list-brand-new-glow-off {
  from {
    box-shadow: 0 0 20px #d1c4c4;
  }
  to {
    box-shadow: 0 0 20px #d1c4c400;
  }
}

@media (min-width: 960px) {
  .navbar-expand-lg .navbar-nav {
    align-items: end;
  }

  #LinkEmergencyButton {
    padding: 0.5rem !important;
    position: absolute;
    top: 50px;
    right: 0px;
  }

  footer {
    display: none;
  }

  .nav-item {
    font-size: 0.8rem !important;
  }

  .cal_yr_container {
    grid-template-columns: repeat(4, 1fr);
  }
}
