@charset "utf-8";

/* QR Login
================================================== */

.login-section-qr {
  padding: 30px;
  background-color: #f5f5f5;
  border-radius: 5px;
}
.login-section-qr > *:nth-child(n+2) {
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .login-section-qr {
    padding: 30px 20px;
  }
  .login-section-qr .module-thumbnail {
    width: auto;
  }
}

/* Title
------------------------------ */

.login-section-qr .qr-title {
  text-align: center;
}
.login-section-qr .qr-title-text {
  margin-top: calc(15px - .25em);
}
.login-section-qr .qr-title-text > *:nth-child(n+2) {
  margin-top: calc(15px - .5em);
}
.login-section-qr .qr-title-headline {
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .login-section-qr .qr-title {
    display: flex;
    align-items: center;
    text-align: left;
  }
  .login-section-qr .qr-title-icon {
    flex-shrink: 0;
  }
  .login-section-qr .qr-title-text {
    flex-grow: 1;
    margin-top: 0;
    margin-left: 15px;
  }
}

/* Image
------------------------------ */

.login-section-qr .qr-image {
  text-align: center;
}
.login-section-qr .qr-image img {
  width: 100%;
  max-width: 250px;
  border: 1px solid #ccc;
}

@media screen and (max-width: 767px) {
  .login-section-qr .module-thumbnail {
    width: auto;
  }
  .login-section-qr .qr-image img {
    max-width: 275px;
  }
}

/* Howto Login QR
================================================== */

.login-howto-qr .howto-list {
  display: flex;
}
.login-howto-qr .howto-item {
  position: relative;
  flex-grow: 1;
  flex-basis: 0;
  padding: 20px 0 0 20px;
}
.login-howto-qr .howto-item:nth-child(n+2) {
  margin-left: 30px;
}
.login-howto-qr .howto-item .item-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #fae06a;
  border-radius: 100vh;
  font-size: 14px;
  font-weight: bold;
}
.login-howto-qr .howto-item .item-image {
  display: block;
  background-color: #f5f5f5;
  text-align: center;
}
.login-howto-qr .howto-item .item-image img {
  width: 100%;
  max-width: 177px;
}
.login-howto-qr .howto-item .item-text {
  display: block;
  margin-top: calc(10px - .25em);
}

@media screen and (max-width: 767px) {
  .login-howto-qr .howto-list {
    flex-wrap: wrap;
    margin-left: -20px;
  }
  .login-howto-qr .howto-item {
    flex-grow: 0;
    flex-basis: auto;
    width: calc(50% - 20px);
    margin-left: 20px !important;
  }
  .login-howto-qr .howto-item:nth-child(n+3) {
    margin-top: calc(30px - .25em);
  }
  .login-howto-qr .howto-item .item-image img {
    max-width: 137px;
  }
}