/* CSS for MoonEase App */
@charset "UTF-8";

@font-face {
  font-family: "Rubik-Regular";
  src: url("../fonts/Rubik/Rubik-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik-Medium";
  src: url("../fonts/Rubik/Rubik-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik-SemiBold";
  src: url("../fonts/Rubik/Rubik-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat-Bold";
  src: url("../fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --white: #ffffff;
  --black-text: #1b1b1b;
  --light-pink: #f6bdf0;
  --indigo: #a729f0;
  --font-title: "Montserrat-Bold", sans-serif;
  --font-subtitle: "Rubik-Semibold", sans-serif;
  --font-paragraph: "Rubik-Regular", sans-serif;
  --font-strong: "Rubik-Medium", sans-serif;
}
html,
body {
  position: relative;
}
html,
body,
* {
  box-sizing: border-box;
  font-smooth: auto;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -moz-scroll-behavior: smooth;
  transition: all 0.3s ease-in-out;
  user-select: none;
  -webkit-tap-highlight-color: transparent !important;
  tap-highlight-color: transparent !important;
}
/* Estilos para las barras de desplazamiento */
/* Ancho y color de fondo de la barra de desplazamiento */
*::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
}

/* Color del relleno de la barra de desplazamiento */
*::-webkit-scrollbar-thumb {
  background-color: var(--indigo);
}

/* Color del relleno de la barra de desplazamiento cuando se le pasa el ratón por encima */
*::-webkit-scrollbar-thumb:hover {
  background-color: #e942d8;
}
/* Ocultar las flechas de las barras de desplazamiento */
/* Flecha superior e inferior */
*::-webkit-scrollbar-button:start,
*::-webkit-scrollbar-button:end {
  display: none;
}
/* Color del relleno de la barra de desplazamiento */
body::-moz-scrollbar-thumb,
*::-moz-scrollbar-thumb {
  background-color: var(--indigo);
}
/* Color del relleno de la barra de desplazamiento cuando se le pasa el ratón por encima */
body::-moz-scrollbar-thumb:hover,
*::-moz-scrollbar-thumb:hover {
  background-color: #e942d8;
}

body {
  background-color: var(--light-pink);
  min-height: 100vh;
  scrollbar-width: thin;
  scrollbar-color: #a729f0 #f5f5f5;
}
main {
  flex: 1 0 auto;
  margin-top: 1rem;
  padding-bottom: 2rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
}
hr {
  border: 0;
  display: block;
  height: 1px;
  background: #273c5a;
  background: linear-gradient(
    to right,
    rgba(39, 60, 90, 0.1) 0,
    rgba(39, 60, 90, 0.6) 50%,
    rgba(39, 60, 90, 0.1) 100%
  );
  margin-top: 24px;
  margin-bottom: 24px;
}
li:not(.list-style),
legend {
  list-style-type: none;
}
li:nth-of-type(even) {
  background-color: inherit;
}
p,
li {
  font-family: var(--font-paragraph);
}
strong {
  font-family: var(--font-strong);
}
/* Alerts and Confirm Styles */
dialog {
  background-color: var(--white);
  border: none;
  border-radius: 0.3rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
  margin: auto;
  padding: 1rem;
  -webkit-border-radius: 0.3rem;
  -moz-border-radius: 0.3rem;
  -ms-border-radius: 0.3rem;
  -o-border-radius: 0.3rem;
}
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-header,
.modal-footer {
  padding: 0.5rem;
}
.modal-header h2 {
  color: #e942d8;
  margin: 0.5rem auto;
  text-align: center;
}
.modal-body {
  font-size: 1.2em;
  margin: 1rem auto;
  text-align: center;
}
.modal-actions {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 1rem;
  justify-content: flex-end;
  margin: 1rem auto;
  width: 100%;
}
.modal-accept,
.modal-cancel {
  appearance: none !important;
  --webkit-appearance: none !important;
  --moz-appearance: none !important;
  --ms-appearance: none !important;
  --o-appearance: none !important;
  align-items: center;
  border: none;
  border-radius: 0.3rem;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: center;
  outline: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease-in-out;
  -webkit-border-radius: 0.3rem;
  -moz-border-radius: 0.3rem;
  -ms-border-radius: 0.3rem;
  -o-border-radius: 0.3rem;
  -webkit-transition: all;
  -moz-transition: all;
  -ms-transition: all;
  -o-transition: all;
}
.modal-accept {
  background-color: var(--indigo);
}
.modal-cancel {
  background-color: #f9425f;
}
.modal-accept:hover {
  background-color: #ae33f5;
}
.modal-cancel:hover {
  background-color: #f94763;
}
/* END Alerts and Confirm Styles */
summary {
  list-style: none;
  cursor: pointer;
  position: relative;
}
summary > span {
  display: inline-block;
  max-width: calc(100% - 25px);
}
summary::after {
  content: "";
  display: inline-flex;
  width: 20px;
  height: 20px;
  background-image: url("../images/chevron_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s ease-in-out;
}
details[open] summary::after {
  transform: rotate(90deg);
}
summary p {
  display: inline-block;
}
.fixed {
  position: fixed;
}
.bg-white {
  background-color: var(--white) !important;
}
.bt-1-w {
  border-top: 1px solid var(--white) !important;
}
.fs-09e {
  font-size: 0.9em;
}
.fs-1e {
  font-size: 1em;
}
.fs-1-2e {
  font-size: 1.2em;
}
.fw-nl {
  font-weight: normal !important;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.flex-row {
  flex-direction: row;
}
.flex-column {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.content-center {
  align-content: center;
}
.content-start {
  align-content: flex-start;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.space-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: 1fr;
}
.gap-05 {
  gap: 0.5rem;
}
.gap-1 {
  gap: 1rem;
}
.h-full {
  height: 100%;
}
.m-auto {
  margin: auto;
}
.mb-1r {
  margin-bottom: 1rem !important;
}
.mb-2r {
  margin-bottom: 2rem !important;
}
.ml-0 {
  margin-left: 0 !important;
}
.ml-1r {
  margin-left: 1rem !important;
}
.mr-0 {
  margin-right: 0 !important;
}
.mt-5px {
  margin-top: 5px;
}
.mt-7px {
  margin-top: 7px;
}
.mt-1r {
  margin-top: 1rem !important;
}
.mt-2r {
  margin-top: 2rem;
}
.mt-4r {
  margin-top: 3rem;
}
.p-07r {
  padding: 0.7rem !important;
}
.pt-2-5r {
  padding-top: 2.5rem !important;
}
.pt-4r {
  padding-top: 4rem !important;
}
.px-1r {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.relative {
  position: relative;
}
.w-full {
  width: 100%;
}
.ds-none {
  display: none !important;
}
.white {
  color: var(--white) !important;
}
.black {
  color: var(--black-text);
}
.danger {
  color: #dc143c;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-justify {
  text-align: justify !important;
}
.container-fluid {
  width: 100%;
}
.container {
  max-width: 1440px;
  width: 100%;
}
.is-boxed {
  background: var(--light-pink);
  position: relative;
}
.bg-info {
  background-color: #c444b7 !important;
}
.input-error {
  border: 2px solid #dc143c !important;
  color: #dc143c !important;
}
.body-wrapper {
  background: var(--light-pink);
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(6, 16, 31, 0.5);
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  top: 0;
  width: 100%;
}
.header {
  background-color: #e942d8;
  -webkit-box-shadow: 0px 2px 6px 0px rgba(61, 60, 60, 1);
  -moz-box-shadow: 0px 2px 6px 0px rgba(60, 60, 61, 1);
  box-shadow: 0px 2px 6px 0px rgba(60, 60, 61, 1);
  height: auto;
  left: 0;
  padding: 0.3rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3000;
}
.brand a,
.brand a:hover,
.brand a:focus,
.brand a:active {
  color: var(--white);
  text-decoration: none;
}
.nav-link-group {
  border: none;
  background-color: transparent;
  margin-right: 0.5rem;
}
.header-link {
  background-color: transparent;
}
.header-link a.button {
  background-color: #f9425f;
  border-radius: 0.3rem;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  -webkit-border-radius: 0.3rem;
  -moz-border-radius: 0.3rem;
  -ms-border-radius: 0.3rem;
  -o-border-radius: 0.3rem;
  text-decoration: none;
}
.header-link a.button:hover,
.header-link a.button:focus {
  background: #f94763;
}
.menu-left {
  align-content: stretch;
  align-items: flex-start;
  background-color: #e942d8;
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6rem 1rem 0;
  position: fixed;
  left: -100%;
  top: 0;
  transition: all 0.3s ease-in-out;
  z-index: 2900;
}
.menu-left.opened {
  left: 0;
}
.menu-left.closed {
  left: -100%;
}
#butCloseMenu {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
#butCloseMenu svg {
  fill: var(--white);
  height: 2.5rem;
  transform: rotate(180deg);
  width: 2.5rem;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}
.link-menu {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.1rem 0;
}
.link-menu a,
.link-menu a:hover,
.link-menu a:focus,
.link-menu a:active {
  text-decoration: none;
}
.link-menu svg {
  fill: var(--white);
  height: 1.5rem;
  margin-right: 0.3rem;
  width: 1.5rem;
}
.menu-left .app-info {
  bottom: 5vh;
  left: 0;
  position: absolute;
  width: 100%;
}
.main-content {
  padding-top: 7rem;
}
.hero-section {
  max-width: 100%;
  width: auto;
}
.hero-cta {
  padding-bottom: 2rem;
}
.btn-svg {
  fill: var(--white);
  height: 1.15rem;
  width: 1.15rem;
}
.button-install {
  appearance: none;
  --webkit-appearance: none;
  --moz-appearance: none;
  --ms-appearance: none;
  border: none;
  border-radius: 0.3rem;
  letter-spacing: 0px;
  font-weight: 700;
  background-color: #f9425f;
  cursor: pointer;
  outline: none;
  padding: 16px 32px;
  white-space: nowrap;
  -webkit-border-radius: 0.3rem;
  -moz-border-radius: 0.3rem;
  -ms-border-radius: 0.3rem;
  -o-border-radius: 0.3rem;
}
.button-install:hover {
  background: #f94763;
}
.button-install:active {
  outline: 0;
}
.button-install::before {
  border-radius: 0.3rem;
}
.button-shadow {
  position: relative;
}
.button-shadow::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: 0 8px 24px rgba(6, 16, 31, 0.25);
  mix-blend-mode: multiply;
  transition: box-shadow 0.15s ease;
}
.button-shadow:hover::before {
  box-shadow: 0 8px 24px rgba(6, 16, 31, 0.35);
}
.comment-add {
  background-color: var(--indigo);
}
.comment-add:hover {
  background-color: #ae33f5;
}
.card {
  background-color: #e942d8;
  border-radius: 0.5rem;
  -webkit-box-shadow: 1px 2px 16px -0.3rem rgba(60, 60, 61, 1);
  -moz-box-shadow: 1px 2px 16px -0.3rem rgba(60, 60, 61, 1);
  box-shadow: 1px 2px 16px -0.3rem rgba(60, 60, 61, 1);
  font-family: var(--font-paragraph);
  margin: 3rem auto 2rem;
  max-width: 1280px;
  padding: 2rem 3rem 3rem;
  width: 100%;
}
.loadersmall {
  border: 5px solid var(--white);
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  border-top: 5px solid #a729f0;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
.link-hover {
  /* color: #293e5e; */
  text-decoration: none;
}
.link-hover:hover {
  text-decoration: underline;
}
#butMenu {
  appearance: none;
  --webkit-appearance: none;
  --moz-appearance: none;
  --ms-appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  height: 30px;
  /* background: url("../images/menu.svg") center center no-repeat; */
  object-fit: cover;
  width: 30px;
}
#butMenu svg {
  fill: #fff;
  height: 30px;
  width: 30px;
}
#butRefresh {
  appearance: none;
  --webkit-appearance: none;
  --moz-appearance: none;
  --ms-appearance: none;
  border: none;
  cursor: pointer;
  height: 30px;
  background: url("../images/refresh.svg") center center no-repeat;
  width: 30px;
}
.wrap-dates {
  width: 100%;
}
.date-inner {
  border: none;
  width: 100%;
}
.label-date,
.label-comment {
  font-size: 1.3rem;
}
#wrapObs {
  height: 0;
  overflow: hidden;
  width: 100%;
}
input[type="date"],
.input,
textarea.observation {
  border: none;
  border-radius: 0.3rem;
  color: var(--black-text);
  cursor: pointer;
  font-size: 1rem;
  min-width: 150px;
  opacity: 0.88;
  outline: none;
  padding: 0.7rem;
  text-transform: uppercase;
  width: 100%;
}
.input {
  text-transform: none;
}
.observation {
  cursor: text !important;
  resize: none;
}
.body-history,
.body-statistics {
  margin-top: -2.5rem;
}
.body-history h2,
.body-statistics h2 {
  color: var(--white);
  margin-bottom: 1rem;
  text-align: center;
}
.history-card {
  background-color: var(--indigo);
}
.periods-content ul,
.statistics-content ul {
  align-content: flex-start;
  align-items: flex-start;
  background-color: var(--white);
  border-radius: 0.3rem;
  display: flex;
  flex-flow: column nowrap;
  padding: 1rem;
  width: 100%;
}
.periods-content ul > li {
  background-color: #e942d8;
  border-radius: 0.3rem;
  padding: 0.7rem 0.5rem;
  width: 100%;
}
.control-button {
  appearance: none;
  --webkit-appearance: none;
  --moz-appearance: none;
  --ms-appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  height: 23px;
  width: 23px;
}
.control-button svg {
  fill: var(--white);
  height: 23px;
  width: 23px;
}
.obs-period {
  border-top: 1px solid #f5f5f5;
  padding: 5px;
  width: 100%;
}
.obs-period p {
  background-color: var(--white);
  border-radius: 0.3rem;
  margin: 5px 0 0;
  padding: 5px;
  width: 100%;
}
.show-stats {
  background-color: var(--white);
  background-color: var(--white);
  border-radius: 0.3rem;
  padding: 1rem;
  width: 100%;
}
.show-stats .no-results {
  display: block;
  width: 100%;
}
.wrap-stats {
  width: 100%;
}
.stat-card {
  align-content: center;
  align-items: center;
  background-color: var(--indigo);
  border-radius: 0.3rem;
  display: inline-flex;
  flex-flow: column nowrap;
  gap: 0.3rem;
  padding: 0.5rem;
  width: calc(50% - 0.5rem);
  -webkit-border-radius: 0.3rem;
  -moz-border-radius: 0.3rem;
  -ms-border-radius: 0.3rem;
  -o-border-radius: 0.3rem;
}
.stat-card h3 {
  font-size: 0.8em;
}
#modalEdit {
  background-color: #e942d8;
}
#modalEdit label {
  font-family: var(--font-paragraph) !important;
}
.details-card {
  background-color: #e942d8;
  border-radius: 0.5rem;
  -webkit-box-shadow: 1px 2px 16px -0.3rem rgba(60, 60, 61, 1);
  -moz-box-shadow: 1px 2px 16px -0.3rem rgba(60, 60, 61, 1);
  box-shadow: 1px 2px 16px -0.3rem rgba(60, 60, 61, 1);
  font-family: var(--font-paragraph);
  max-width: 1280px;
  padding: 1rem;
  width: 100%;
}
.btn-pdf {
  align-items: center;
  appearance: none;
  --webkit-appearance: none;
  --moz-appearance: none;
  --ms-appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  font-family: "Rubik-Medium", sans-serif;
  justify-content: center;
  padding: 1px 2px 1px 0;
}
.btn-pdf svg {
  fill: var(--white);
  height: 22px;
  width: 22px;
}
/* [Begin] Special Styles */
/* Custom Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  display: none;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--indigo);
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--white);
}
input:checked + .slider:before {
  transform: translateX(26px);
}
/* Custom Checkbox */
/* The container */
.custom-checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--indigo);
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.custom-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* [Endig:] Special Styles */
.footer {
  background-color: #e942d8;
  height: 3rem;
  padding: 0.5rem 1rem;
  position: relative;
  width: 100%;
}
/* [Begin:] PDF STYLES */
.modalPdf {
  position: fixed;
  bottom: 0;
  right: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #e942d8;
  z-index: 3000;
}
#headPdf{
  background-color: #e942d8;
  height: auto;
  padding: 0.3rem 1rem;
  position: fixed;
  width: 100%;
}
#pdfNav button{
  padding: 0.4rem 0.6rem !important;
  min-width: 107px;
}
#pdfNav button svg{
  fill: var(--white);
  height: 1.2rem;
  width: 1.2rem;
}
.print-periods ul,
.print-stats ul{
  align-content: flex-start;
  align-items: flex-start;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
  width: 100%;
}
.print-periods ul li,
.print-stats ul li{
  border: 1px solid #1b1b1b;
  border-radius: 0.3rem;
  padding: 0.7rem 0.5rem;
  width: 100%;
}
/* Estilos para el contenido del modal */
.pdf-content {  
  margin: 0;  
  width: 100%;
  max-width: 100%;
}
.content-printed{
  padding: 1rem;
}
/* [Endig:] PDF STYLES */
/* [Begin:] @MEDIA QUERIES */
@media print{
  #pdfNav{
    display: none;
  }
}
/* [Endig:] @MEDIA QUERIES */
/* ANIMATIONS STYLES */
.showing {
  animation: fadeIn 0.1s linear forwards;
}
.hidding {
  animation: fadeOut 0.1s linear;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    height: 0;
  }
  to {
    opacity: 1;
    height: 100%;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    height: 100%;
  }
  to {
    opacity: 0;
    height: 0;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
