html {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-grid {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
}

#app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-negro-grisaceo);
  color: var(--color-blanco);
  position: relative;
  height: 80px;
}

#logo-app {
  margin-left: 32px;
}

#app-header ul {
  display: flex;
  height: 100%;
}

#app-header ul,
#app-header li {
  padding: 0;
  list-style: none;
}

#app-header li {
  width: auto;
  height: 100%;
}

#app-header li a {
  display: flex;
  padding: 16px;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
  font-family: Poppins-Regular;
  color: var(--color-blanco);
  font-size: 16px;
}

#app-header li a:hover {
  background: var(--color-negro-light);
  border-radius: 5px;
}

#app-header li .seleccionado {
  border: none;
  background: var(--color-gris) !important;
  border-radius: 5px;
}

#logo-dev {
  width: 120px;
  margin: 3px 0px 5px 0px;
}

#app-main {
  height: 100%;
  width: 100%;
  /* padding: 42px 32px; */
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

#modal {
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal.show {
  visibility: visible;
  opacity: 1;
}

.thin-ui-modal-dialog {
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thin-ui-modal-window {
  background-color: var(--color-blanco);
  min-width: 320px;
  border: 1px solid var(--color-corporativo-dark);
  border-top-width: 0;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 15%), 0 0 10px rgb(0 0 0 / 85%);
  display: flex;
  flex-flow: column wrap;
  border-radius: 5px;
}

.thin-ui-modal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: var(--color-corporativo);
  width: 100%;
  color: var(--color-blanco);
  padding: 4px 16px;
  font-size: 15px;
  border-radius: 3px 3px 0px 0px;
}

.thin-ui-modal-close {
  margin-left: auto;
  background: none;
  border: 0 none;
  font-size: 26px;
  font-weight: inherit;
  font-family: inherit;
  color: var(--color-blanco);
}

.thin-ui-modal-text {
  font-size: 15px;
  margin: 48px 0;
  padding: 0 16px;
}

.thin-ui-modal-button-group {
  margin: auto 0 16px 0;
  padding: 0 16px;
  display: flex;
  justify-content: flex-end;
}

.thin-ui-modal-button-group button {
  font-weight: inherit;
  font-family: inherit;
  margin-left: 8px;
  background: var(--color-corporativo);
  padding: 4px 16px;
  margin-top: 0.25rem;
  border: 1px solid var(--color-corporativo-dark);
  border-radius: 5px;
  color: var(--color-blanco);
  cursor: pointer;
}

#alertaCaidas {
  visibility: hidden;
  position: absolute;
  height: 90px;
  width: 400px;
  top: 20px;
  right: 33px;
  display: flex;
  background-color: #e6b8b8;
  border: 1px solid #df8483;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  align-items: center;
  z-index: 99999;
}

.warningFallPic {
  position: absolute;
  right: 0;
  height: 75px;
}

.warningDecorator {
  height: 85px;
  margin-left: 2px;
}

.warningAlert {
  margin: 16px;
  height: 65%;
}

.horaAlarma {
  font-size: 12px;
  margin-bottom: auto;
  color: #e0393b;
  margin-left: 8px;
}

.datosAlarma {
  text-align: center;
  display: flex;
  flex-direction: column;
  padding-left: 48px;
}

.datosAlarma .titleLugar {
  font-weight: bold;
  color: #cc0507;
  font-size: 18px;
}

.lugar {
  font-size: 14px;
  color: #e0393b;
  margin-top: 8px;
}

.btnCloseWarning {
  margin-top: 6px;
  margin-bottom: auto;
  margin-right: 6px;
  margin-left: auto;
  border: none;
  cursor: pointer;
  background-color: transparent;
  padding: 0;
  z-index: 1;
}

#loading-container {
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

#loading-container.show {
  visibility: visible;
  opacity: 1;
}

#loading-background {
  background-color: black;
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  opacity: 0.4;
}

#loading-content {
  position: fixed;
  right: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  padding-left: 250px;
  flex-flow: wrap;
  top: 40%;
}

#loading-message {
  width: 100%;
  text-align: center;
  color: #e5e5e5;
  font-weight: bolder;
  padding-top: 1rem;
  text-shadow: 2px 2px 2px #2e2e2e, -1px -1px 2px #2e2e2e, 0px 0px 7px #2e2e2e;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid var(--color-corporativo);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
