.side-nav a {
  font-size: 14px !important;
  font-size-adjust: 0.58;
}

.title {
  margin-top: 3% !important;
  margin-bottom: 3% !important;
  width: 100%;
  float: right;
  padding-left: 5%;
  font-size: 3em !important;
}

@media only screen and (min-width: 1000px) {
  .title {
    width: 100%;
    float: right;
    padding-left: 5%;
    font-size: 3rem !important;
  }
}

@media only screen and (max-width: 899px) and (min-width: 601px) {
  .title {
    width: 100%;
    float: right;
    padding-left: 5%;
    font-size: 2.5rem !important;
  }
}

@media only screen and (max-width: 600px) {
  .title {
    width: 100%;
    float: right;
    font-size: 2rem !important;
  }
}

.margin-right-nav {
  margin-right: 32px !important;
}

footer {
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100%;
  padding: 7px 0px 13px 0px !important;
}

footer .footercontainer {
  text-align: center;
  color: #ffffff;
}

/* general */

* {
  font-family: "Open Sans", sans-serif;
}

html body {
  background-color: rgb(247, 247, 247);
}

a {
  color: rgb(2, 105, 105) !important;
  font-weight: 600;
}

a:hover {
  color: rgb(21, 158, 158) !important;
}

/* utils */

.flex {
  display: flex !important;
}

.space-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.align-middle {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.align-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-56 {
  height: 56px !important;
}

.no-margin {
  margin-bottom: 0 !important;
}

.margin-top-8 {
  margin-top: 8px;
}

.margin-top-16 {
  margin-top: 16px;
}

.margin-left-8 {
  margin-left: 8px;
}

.margin-left-16 {
  margin-left: 16px;
}

.margin-left-32 {
  margin-left: 32px;
}

.font-size-10 {
  font-size: 10px;
}

.font-size-12 {
  font-size: 12px;
}

.font-size-14 {
  font-size: 14px;
}

.font-size-16 {
  font-size: 16px;
}

.color-primary {
  color: rgb(2, 105, 105);
}

/* classes */

.logo-title {
  padding: 24px 24px 8px 24px;
  text-align: center;
  border-radius: 0 0 15px 15px;
  box-shadow: 0px 3px 5px #cccccc;
}

.logo-footer {
  position: fixed;
  bottom: 60px;
  left: 0;
  width: 100%;
  padding: 15px 15px 8px 15px;
  text-align: center;
  border-radius: 15px 15px 0 0;
  box-shadow: 3px 0px 5px #cccccc;
}

.qr-code-header {
  margin-top: 12px;
  padding: 24px 24px 8px 24px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0px 3px 5px #cccccc;
}

.qr-code-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.item {
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #999999;
  padding: 16px;
  font-size: 18px;
}

.item-title {
  margin-bottom: 4px;
}

.item-text {
  font-size: 24px;
}

.mt {
  margin-top: 8px;
}

.side-nav {
  width: 256px !important;
}

.nav-text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-section {
  display: inline-block;
  padding: 24px 48px 16px 48px;
  border: 1px solid #eee;
  width: 50%;
}

.login-container {
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-container {
  height: 100%;
  padding: 24px 48px !important;
  margin-left: 24px !important;
}

.bg-title {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 24px;
  background-color: rgb(231, 241, 241);
  color: rgb(2, 105, 105);
  border-radius: 10px;
}

.qr-title {
  font-size: 48px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.collapsible-header {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 24px !important;
  color: #444444;
  display: flex !important;
  justify-content: space-between;
}

.collapsible-header i {
  margin-right: 0 !important;
  margin-left: 1rem;
}

.collapsible-actions {
  display: flex !important;
  align-items: center !important;
  padding: 8px;
  width: fit-content !important;
  line-height: initial !important;
  border-radius: 3px;
}

.subgroup-btn {
  color: rgb(2, 105, 105) !important;
  font-size: 12px !important;
  margin-left: 16px;
}

.small-section {
  max-width: 50% !important;
}

.group-section {
  padding: 16px 24px 16px 48px;
}

.group-border {
  border-bottom: 1px solid #eaeaea;
}

.material-icons {
  font-size: 12px;
  line-height: 40px;
  color: rgb(2, 105, 105);
}

.qr-code-icon {
  font-size: 56px !important;
}

.side-nav li > a > i.material-icons {
  color: #444444 !important;
  margin: 0 16px 0 0 !important;
}

.fixed li a {
  height: 48px !important;
  color: #444444 !important;
}

.input-number {
  width: 10%;
  border: none;
  padding: 8px;
  border-radius: 3px;
}

/* ids */

#notice {
  border-radius: 10px;
  color: rgb(43, 168, 39);
}

.qr-code-video-box {
  position: relative;
  width: 95%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.qr-code-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  height: 620px;
  border: 2px solid white;
  border-radius: 5%;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.8) inset;
  z-index: 1;
  overflow: hidden;
  display: none;
}

.image-container {
  max-width: 100%;
  height: auto;
  align-self: start !important;
}

.data-container {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-gap: 10px;
  align-items: center;
}

.hidden {
  display: none;
}

#loading-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.778);
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading-mask .spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.qr-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 200px;
  margin-top: 100px;
}

.button {
  flex: 1;
  font-size: 36px;
  height: 100% !important;
  border: none;
  background-color: blue;
  margin-right: 20px;
}

.button:last-child {
  margin-right: 0;
}

.toast {
  border-radius: 4px;
  font-weight: 500;
  line-height: 1.5;
  padding: 15px 25px;
}

.toast.green {
  background-color: #00838f !important;
  color: white;
}

.toast.red {
  background-color: #d32f2f !important;
  color: white;
}

#toast-container {
  top: 20px !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;
}
