body.has-modal {
  overflow-y: hidden;
}

.themi-budget .legend > span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.themi-budget-details .tip {
  padding: 2rem;
  font-size: 0.8rem;
  font-style: italic;
  display: grid;
  grid-template: "text img"/2fr 80px;
}
@media screen and (max-width: 768px) {
  .themi-budget-details .tip {
    grid-template: "text text" 1fr ". img" auto/1fr 80px;
  }
}
.themi-budget-details .tip-figure {
  grid-area: img;
  display: block;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.themi-budget-details .tip-figure img {
  display: flex;
  position: absolute;
  height: auto;
  transform: scaleX(-1);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}
.themi-budget-details .tip-text {
  font-size: 1.2rem;
  color: #fff;
  grid-area: text;
}
.themi-budget-details .themi-budget-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.themi-budget-details .themi-budget-card-item {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 1rem;
  text-align: center;
}
.themi-budget-details .themi-budget-card-item:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition-duration: 0.3s;
  transform: scale(1.02);
  cursor: pointer;
}
.themi-budget-details .themi-budget-card-figure {
  display: block;
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 450/288;
}
.themi-budget-details .themi-budget-card-figure img {
  display: flex;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
}
.themi-budget-lines {
  padding: 0;
  margin: 0;
  list-style: inside none;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.themi-budget-monthly-lines .themi-budget-lines {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  position: relative;
}
@media only screen and (max-width: 499px) {
  .themi-budget-monthly-lines .themi-budget-lines {
    grid-template-columns: 1fr;
  }
}
.themi-budget-monthly-lines .themi-budget-lines .day {
  min-height: 43px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: flex-start;
  position: relative;
  padding-top: 0.5rem;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  padding-bottom: 1rem;
}
.themi-budget-monthly-lines .themi-budget-lines .day-empty {
  opacity: 0.5;
}
.themi-budget-monthly-lines .themi-budget-lines .day .themi-budget-monthly-day-lines {
  position: absolute;
  top: calc(100% - 0.6rem);
  width: calc(100% + 2px);
  left: -1px;
  height: 0;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  padding-left: 5px;
  padding-right: 5px;
  list-style: inside none;
  margin: 0;
}
.themi-budget-monthly-lines .themi-budget-lines .day input {
  display: none;
}
.themi-budget-monthly-lines .themi-budget-lines .day input:checked ~ .themi-budget-monthly-day-lines {
  height: auto;
  padding-top: 5px;
  padding-bottom: 5px;
}
.themi-budget-monthly-lines, .themi-budget-type-lines {
  padding-bottom: 2rem;
}
.themi-budget-monthly-lines .themi-budget-line,
.themi-budget-monthly-lines .balance .line,
.themi-budget-monthly-lines .legend, .themi-budget-type-lines .themi-budget-line,
.themi-budget-type-lines .balance .line,
.themi-budget-type-lines .legend {
  display: grid;
  width: 100%;
  grid-template: "title amount reccurence type payment ." 1fr/1fr 115px 250px 180px 180px 56px;
  gap: 1rem;
}
.themi-budget-monthly-lines .themi-budget-line > span.title,
.themi-budget-monthly-lines .balance .line > span.title,
.themi-budget-monthly-lines .legend > span.title, .themi-budget-type-lines .themi-budget-line > span.title,
.themi-budget-type-lines .balance .line > span.title,
.themi-budget-type-lines .legend > span.title {
  grid-area: title;
}
.themi-budget-monthly-lines .themi-budget-line > span.amount,
.themi-budget-monthly-lines .balance .line > span.amount,
.themi-budget-monthly-lines .legend > span.amount, .themi-budget-type-lines .themi-budget-line > span.amount,
.themi-budget-type-lines .balance .line > span.amount,
.themi-budget-type-lines .legend > span.amount {
  grid-area: amount;
}
.themi-budget-monthly-lines .themi-budget-line > span.reccurence,
.themi-budget-monthly-lines .balance .line > span.reccurence,
.themi-budget-monthly-lines .legend > span.reccurence, .themi-budget-type-lines .themi-budget-line > span.reccurence,
.themi-budget-type-lines .balance .line > span.reccurence,
.themi-budget-type-lines .legend > span.reccurence {
  grid-area: reccurence;
}
.themi-budget-monthly-lines .themi-budget-line > span.type,
.themi-budget-monthly-lines .balance .line > span.type,
.themi-budget-monthly-lines .legend > span.type, .themi-budget-type-lines .themi-budget-line > span.type,
.themi-budget-type-lines .balance .line > span.type,
.themi-budget-type-lines .legend > span.type {
  grid-area: type;
}
.themi-budget-monthly-lines .themi-budget-line > span.payment,
.themi-budget-monthly-lines .balance .line > span.payment,
.themi-budget-monthly-lines .legend > span.payment, .themi-budget-type-lines .themi-budget-line > span.payment,
.themi-budget-type-lines .balance .line > span.payment,
.themi-budget-type-lines .legend > span.payment {
  grid-area: payment;
}
.themi-budget-monthly-lines .legend, .themi-budget-type-lines .legend {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.themi-budget-monthly-lines .button-controls, .themi-budget-type-lines .button-controls {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.themi-budget-monthly-lines .button-controls .view-buttons, .themi-budget-type-lines .button-controls .view-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.themi-budget-monthly-lines .button-controls .view-buttons .btn, .themi-budget-type-lines .button-controls .view-buttons .btn {
  min-width: 43px;
  max-width: 43px;
  width: 43px;
}
.themi-budget-monthly-lines .add-line, .themi-budget-type-lines .add-line {
  font-weight: bold;
  min-height: 82px;
}
.themi-budget-monthly-lines .themi-budget-line.inactive, .themi-budget-type-lines .themi-budget-line.inactive {
  opacity: 0.5;
}
.themi-budget-monthly-lines .balance, .themi-budget-type-lines .balance {
  padding-top: 1rem;
}
.themi-budget-monthly-lines .balance .line > span.label, .themi-budget-type-lines .balance .line > span.label {
  grid-area: title;
}
.themi-budget-type-lines .themi-budget-line,
.themi-budget-type-lines .balance .line,
.themi-budget-type-lines .legend {
  grid-template: "title amount reccurence  ." 1fr/1fr 115px 250px 56px;
}
.themi-budget-type-lines .themi-budget-line > span.type, .themi-budget-type-lines .themi-budget-line > span.payment,
.themi-budget-type-lines .balance .line > span.type,
.themi-budget-type-lines .balance .line > span.payment,
.themi-budget-type-lines .legend > span.type,
.themi-budget-type-lines .legend > span.payment {
  display: none;
}
.themi-budget-monthly-lines .legend {
  display: grid;
  grid-template: initial;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
@media only screen and (max-width: 499px) {
  .themi-budget-monthly-lines .legend {
    grid-template-columns: 1fr;
  }
}
.themi-budget-monthly-lines .legend .day {
  min-height: 43px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.themi-budget-monthly-lines .monthly-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 500px;
}
.themi-budget-monthly-lines .monthly-icon svg {
  display: block;
  height: auto;
  max-width: 500px;
  max-height: 500px;
  width: auto;
}
.themi-budget-date {
  align-items: center;
}
.button-controls .themi-budget-date {
  display: flex;
  gap: 1ch;
}
.themi-budget-line-type-selection {
  display: grid;
  gap: 1rem;
  grid-template: ". debit debit credit credit ." 1fr ". . estimation estimation . ." 1fr/1fr 1fr 1fr 1fr 1fr 1fr;
}
.themi-budget-line-type-selection .btn-debit-form {
  grid-area: debit;
}
.themi-budget-line-type-selection .btn-credit-form {
  grid-area: credit;
}
.themi-budget-line-type-selection .btn-estimation-form {
  grid-area: estimation;
}
.themi-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  max-height: 100vh;
}
.themi-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.themi-modal .themi-input-description {
  margin: 0;
}
.themi-modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 90%;
  max-width: 635px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  position: relative;
  top: 0;
}
.themi-modal-content > .themi-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  padding: 0;
  cursor: pointer;
  font-size: 1.5rem;
  font-size: 0;
  border: 0;
}
.themi-modal-content > .themi-close:before, .themi-modal-content > .themi-close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  transition: all 0.3s ease-in-out;
  transform: translate(-50%, -50%) rotate(45deg);
}
.themi-modal-content > .themi-close:before {
  transform: translate(-50%, -50%) rotate(135deg);
}
.themi-modal-content > .themi-close:hover:before {
  width: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}
.themi-modal-content > .themi-close:hover:after {
  width: 15px;
  transform: translate(-50%, -50%) rotate(0);
}
.themi-modal-content .monthly-detail-lines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 0;
}
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line,
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line + .total {
  padding-left: 0;
  display: grid;
  grid-template: "title amount" 1fr/3fr 1fr;
  gap: 1rem;
  position: relative;
}
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line .line-title,
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line + .total .line-title {
  grid-area: title;
}
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line .line-amount,
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line + .total .line-amount {
  grid-area: amount;
}
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line + .total {
  padding-top: 14px;
}
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line + .total .line-amount {
  font-weight: bold;
}
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line + .total:before {
  content: "";
  width: 100%;
  top: 0;
  height: 2px;
  position: absolute;
  left: 50%;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}
.themi-modal-content .monthly-detail-lines .themi-budget-monthly-day-line + .total:hover:before {
  width: 80%;
}
#themi-spendings-modal .themi-modal-form {
  overflow-y: scroll;
  max-height: calc(100vh - 90px - 2rem - 8rem);
}
.themi-budget-list {
  padding-bottom: 2rem;
}
.themi-my-spendings {
  display: grid;
  gap: 2rem;
  grid-template: "list list" 1fr "add ." auto/auto 1fr;
  padding-bottom: 2rem;
}
.themi-my-spendings > ul {
  grid-area: list;
}
.themi-my-spendings .button-wrapper {
  grid-area: add;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.themi-my-spendings .button-wrapper > * {
  margin: 0;
}
.themi-variable-expense-list {
  margin: 0;
  padding: 0;
  list-style: inside none;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.themi-variable-expense-item {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template: "a aside" 1fr/106% 100%;
  transition: all 0.3s ease-in-out;
}
.themi-variable-expense-item > a,
.themi-variable-expense-item aside {
  position: relative;
  transform: translateX(0);
  padding: 1rem;
}
.themi-variable-expense-item.delete-mode > a,
.themi-variable-expense-item.delete-mode aside {
  transform: translateX(-90%);
}
.themi-variable-expense-item > a {
  width: 100%;
  text-decoration: none;
  display: grid;
  grid-template: "title title" auto "category category" auto "used used" auto "created created" auto/1fr 1fr;
}
.themi-variable-expense-item > a h3 {
  grid-area: title;
}
.themi-variable-expense-item > a .category {
  grid-area: category;
}
.themi-variable-expense-item > a .used-on {
  grid-area: used;
}
.themi-variable-expense-item > a .created-at {
  grid-area: created;
}
.themi-item-sliding-aside {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template: "a aside" 1fr/106% 100%;
  transition: all 0.3s ease-in-out;
}
.themi-item-sliding-aside > a,
.themi-item-sliding-aside aside {
  position: relative;
  transform: translateX(0);
  padding: 1rem;
}
.themi-item-sliding-aside .sliding-aside-button {
  position: absolute;
  right: calc(6% + 5px);
  top: 5px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(78px);
  transition: all 0.3s ease-in-out;
  max-width: 43px;
  min-width: 43px;
  width: 43px;
}
.themi-item-sliding-aside.delete-mode > a,
.themi-item-sliding-aside.delete-mode aside {
  transform: translateX(-90%);
}
.themi-item-sliding-aside.delete-mode > a .sliding-aside-button,
.themi-item-sliding-aside.delete-mode aside .sliding-aside-button {
  opacity: 1;
  pointer-events: initial;
  transform: translateX(0);
}
.themi-item-sliding-aside > a {
  width: 100%;
  text-decoration: none;
  display: grid;
  grid-area: a;
  min-width: 100%;
  transition: all 0.3s ease-in-out;
}
.themi-item-sliding-aside aside {
  grid-area: aside;
}

.field-repeater {
  display: grid;
  grid-template: "receiver button" 1fr/1fr auto;
  gap: 1rem;
}
.field-repeater .plus-button-wrapper {
  grid-area: button;
  max-width: 43px;
  opacity: 1;
  padding-top: 2.1rem;
  padding-bottom: 1rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
}
.field-repeater .plus-button-wrapper .button,
.field-repeater .plus-button-wrapper .btn {
  max-width: 43px;
  min-width: 43px;
  width: 43px;
}
.field-repeater .receiver {
  grid-area: receiver;
}
.field-repeater .repeater-0 {
  display: none !important;
}
.field-repeater .receiver-group {
  padding: 0.5rem;
  position: relative;
}
.field-repeater .receiver-group:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 20%;
  height: 1px;
  transition: all 0.3s ease-in-out;
  background-color: #000;
  pointer-events: none;
  transform: translateX(-50%);
}
.field-repeater .receiver-group:hover:after {
  width: 30%;
}
.field-repeater.themi-variable-expense-recurrences .receiver-group h3,
.field-repeater.themi-variable-expense-recurrences .repeater h3 {
  display: none;
}/*# sourceMappingURL=themi.css.map */