/* modules/unige/public/assets/unigepass.css */

/* Layout wrapper comune (ex: max-width inline) */
.unige-pagewrap {
  width: 100%;
  max-width: 700px;
}

/* Header box (ex: style="border-radius:..., padding..., max-width..." ) */
.unige-header {
  border-radius: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  width: 100%;
  max-width: 700px;
  margin-bottom: 0;
}

/* Logo container */
.unige-imgcontainer {
  text-align: center;
  margin: 2px 0;
}

.responsive {
  max-width: 100%;
  height: auto;
}

/* Loghi */
.unige-logo-cedia {
  padding-right: 1em;
  height: 100%;
  max-height: 120px;
  width: 30%;
  max-width: 200px;
}

.unige-logo-unigepass {
  width: 23%;
  max-width: 150px;
}

.unige-logo-idem {
  width: 20%;
  max-width: 150px;
}

/* Language switch */
.unige-langswitch {
  position: relative;
  right: 10px;
  max-height: 32px;
}

.unige-langswitch-p {
  margin: 0;
}

.unige-langswitch-label {
  cursor: pointer;
}

.unige-flag {
  max-width: 24px;
  vertical-align: middle;
}

/* Form */
form {
  border: 0 solid #f1f1f1;
  border-radius: 10px;
}

.container {
  padding: 16px;
}

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

.unige-admin-label {
  font-size: medium;
}

/* Inputs con icone: qui usiamo path relativi al CSS.
   Assicurati che le immagini siano in: modules/unige/public/assets/images/ */
.unige-input-user,
input[type="text"] {
  width: 100%;
  padding: 14px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;

  background: url("images/user.gif") no-repeat left center;
  background-size: 32px 32px;
  padding-left: 40px;
}

.unige-input-pass,
input[type="password"] {
  width: 100%;
  padding: 14px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;

  background: url("images/password.gif") no-repeat left center;
  background-size: 32px 32px;
  padding-left: 40px;
}

/* Submit */
.unige-submit {
  width: 50%;
}

/* Error handling */
.unige-error-h2 {
  margin-top: 0;
}

.unige-clear {
  clear: both;
}


.unige-spdetails {
  /* In origine era display:none; ora usiamo hidden.
     Questo stile è opzionale, ma utile se in futuro vuoi animazioni/spaziature. */
  margin-top: 0.5rem;
}

/* Footer help box */
.unige-help {
  width: 100%;
  max-width: 700px;
}

/* Logo pesciolino */
.unige-fish {
  float: right;
}

/* Table cells (dal vecchio CSS) */
td {
  vertical-align: center;
  padding: 10px;
}

/* Extra small screens (dal vecchio CSS) */
@media screen and (max-width: 300px) {
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }
}

/* Disabilita hover/focus su link e loghi nell'header */
.unige-header a,
.unige-header a:hover,
.unige-header a:focus,
.unige-header a:active {
  background: transparent;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.unige-header img,
.unige-header a:hover img,
.unige-header a:focus img,
.unige-header a:active img {
  opacity: 1;
  filter: none;
  transition: none;
}

.unige-header a img {
  border: 0;
}
