body,
html {
  height: 100%;
  min-height: 481px;
  margin: 0;
  background-image: url(../img/sfondo_login_tecno.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.card-container.card {
  width: 500px;
  max-width: 500px;
  padding: 40px 58px 46px;
  box-sizing: border-box;
}

.card {
  background-color: rgba(247, 247, 247, 0.78);
  position: absolute;
  padding: 20px 25px 30px;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.profile-img-card {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  display: block;
  border-radius: 50%;
}

.profile-name-card {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 10px 0 0;
  min-height: 1em;
}

.reauth-email {
  display: block;
  color: #404040;
  line-height: 2;
  margin-bottom: 10px;
  font-size: 14px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

.form-signin {
  width: 100%;
}

.form-signin .scFormObjectOdd,
.form-signin input[type="email"],
.form-signin input[type="password"],
.form-signin input[type="text"],
.form-signin select,
.form-signin button,
.form-signin .btn {
  width: 100%;
  min-width: 0;
  display: block;
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
  box-sizing: border-box;
}

.form-signin select,
.form-signin input[type="email"],
.form-signin input[type="password"],
.form-signin input[type="text"],
.form-signin .scFormObjectOdd {
  direction: ltr;
  height: 44px;
  font-size: 16px;
}

.form-signin input[type="password"] {
  padding-right: 42px;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

span.sc-ui-pwd-toggle-icon {
  position: relative !important;
  display: block !important;
  float: right !important;
  right: 12px !important;
  bottom: 42px !important;
  width: 18px !important;
  height: 18px !important;
  margin-bottom: -18px !important;
  z-index: 5 !important;
  cursor: pointer;
}

.form-signin .form-control:focus {
  border-color: rgb(104, 145, 162);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(104, 145, 162);
}

.btn {
  font-weight: 700;
  height: 36px;
  user-select: none;
  cursor: default;
}

.btn.btn-signin {
  background-color: rgb(104, 145, 162);
  color: #fff;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
  height: 36px;
  border-radius: 3px;
  border: none;
  transition: all 0.218s;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
  background-color: rgb(12, 97, 33);
  color: #fff;
}

.btn.btn-exit {
  background-color: rgba(12, 35, 64, 0.82);
  color: #fff;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
  height: 36px;
  line-height: 36px;
  border-radius: 3px;
  border: none;
  text-align: center;
  text-decoration: none;
  margin-top: 6px;
  margin-bottom: 10px;
  display: block;
}

.btn.btn-exit:hover,
.btn.btn-exit:active,
.btn.btn-exit:focus {
  background-color: rgb(12, 97, 33);
  color: #fff;
  text-decoration: none;
}

.forgot-password,
.class-links a {
  color: rgb(104, 145, 162);
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus,
.class-links a:hover,
.class-links a:active,
.class-links a:focus {
  color: rgb(12, 97, 33);
}

button {
  margin-bottom: 20px;
}

.class-links a {
  text-decoration: none;
  font-family: inherit;
  display: block;
  margin-bottom: 5px;
}

.class-links a:hover,
.class-links a:active,
.class-links a:focus {
  font-weight: 500;
  text-decoration: underline;
}

#id_error_display_fixed {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
}

table.scFormErrorTable {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  opacity: 1;
  width: 250px;
  height: 100px;
}

td.scFormErrorMessage {
  padding: 25px 0 5px !important;
}

td.scFormErrorTitleFont {
  color: rgba(0, 0, 0, 0);
  position: relative;
  top: 8px;
}

td.scFormErrorTitleFont img {
  position: absolute;
  left: 50%;
  margin-left: -15px;
  margin-top: -5px;
}

a.scButton_default {
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 2px 5px;
  text-decoration: none;
  color: #555;
}

.sc-field-wrap select,
.sc-field-wrap .scFormObjectOdd,
.sc-field-wrap input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    display: block !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .card-container.card {
    max-width: 350px;
    width: 80%;
    padding: 6%;
  }
}