@media only screen and (max-width: 320px) {
  html {
    font-size: 0.8rem;
  }
  .card-container {
    min-width: 300px;
  }
}

@media only screen and (min-width: 321px) and (max-width: 575px) {
  html {
    font-size: 0.8rem;
  }
  .card-container {
    width: 100%;
  }
}

@media only screen and (min-width: 576px) {
  html {
    font-size: 0.9rem;
  }
  .card-container {
    min-width: 460px;
    max-width: 500px;
  }
}

@media only screen and (min-width: 433px) and (max-width: 575px) {
  #passDim {
    float: left;
  }
  #accediBtn {
    float: right;
  }
}

.label {
  font-size: 1rem!important;
}

.label-right {
  font-size: 1rem;
  position: absolute;
  top:0.2rem;
  right: 0;
}

.bg-primary {
  background: #bbe1ff !important;
}

.layer1, .layer2, .layer3 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 40%;
  pointer-events: none;
}

.layer1 {
  background-image: url('/auth/images/bg-layer-tl.svg');
  background-position: top left;
 }
.layer2 {
  background-image: url('/auth/images/bg-layer-tr.svg');
  background-position: top right;
}
.layer3 {
  background-image: url('/auth/images/bg-layer-bottom.svg');
  background-position: bottom;
}

.progress {
  border-radius: 6px 6px 0px 0px;
  margin-bottom: 0px;
}

.footer-logo {
  max-height: 50px;
}

.reveal {
  position: absolute;
  cursor: pointer;
  right: 0.5rem;
  top: 0.8rem;
  z-index: 3;
}

.list-group a.list-group-item:hover span {
  color: #51ade1!important;
  text-decoration: underline!important;
}

.list-group .list-group-item i {
  color: gray!important;
}

.text-dark {
    color: #221638!important;
	font-weight: 600 !important;
}

.btn-act{
    font-size: 1.2rem;
    font-weight: 600;
    background-color: #ffd014;
	color:#221638;
    border-color: #ffd014;
	margin: 0 0 30px 0 !important;
	}

.btn-act:hover {
    color: #fff;
	background-color: #221638;
    border-color: #221638;
    box-shadow: 0 10px 20px 5px rgb(75 75 75 / 55%);
}

.btn-act:active {
	background-color: #221638;
    border-color: #221638;
    box-shadow: 0 10px 20px 5px rgb(75 75 75 / 55%);
}

.carousel-inner {
    margin-bottom: 1.5em;
}

.italia-it-button-size-m {
  width: 100%;
  font-size: 1em;
}

.italia-it-button-size-m > span img {
  width: 22px;
  height: 22px;
}

.italia-it-button-text {
  width: 100%;
}

.course-title {
  color: #221638;
  font-family: "poppins";
  font-weight: 700;
  font-size: 2.00rem;
  line-height: 2.40rem;
  margin-top: 2.55rem;
  margin-bottom: 1.25rem;
}

.course-title.intro {
    margin-bottom: 0;
  }
/*

@media only screen and (min-width: 1025px) {
  .course-title {
    font-size: 0.9rem;
  }
  .course-title.intro {
    font-size: 0.7rem;
  }
}

@media only screen and (min-width: 1201px) {
  .course-title {
    font-size: 1.2rem;
  }
  .course-title.intro {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }
}
*/

@media only screen and (min-width: 1441px) {
  .course-title {
    font-size: 2rem;
  }
  .course-title.intro {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }
}
*/

iframe {
  height: 90vh;
  width: 100%;
}

.application-header__title {
  font-weight: 600;
}

.application-header__logo {
  padding-top: 20px;
}

/* TRAS-1927: correzioni contrasto accessibilità (WCAG AA 4.5:1) sul form di login.
   Gli override scuriscono i grigi/azzurri troppo chiari ereditati da material-kit
   mantenendo l'identità cromatica (minimo impatto visivo). */

/* Label dei campi (material-kit usa #aaa -> 2.3:1 su bianco). */
.bmd-form-group label.label,
.bmd-form-group label.bmd-label-static,
.form-group label.label,
.form-check-label {
  color: #767676 !important; /* 4.54:1 su bianco */
}

/* Testi di supporto grigi (help dei campi e nota "Ricordami"). */
.form-text.text-muted,
small.text-left {
  color: #767676 !important; /* 4.54:1 su bianco */
}

/* Link azzurri su sfondo chiaro (Recupera la password, Informativa SSO):
   material-kit/custom usa #51ade1 -> 2.26:1 su bianco. */
.label-right,
small.text-left a {
  color: #1b7cb0 !important; /* 4.61:1 su bianco */
}

/* Pulsante principale "Entra": testo bianco su azzurro #51ade1 -> 2.26:1. */
#accediBtn.btn-primary,
#accediBtn.btn-primary:focus {
  background-color: #1f7db2 !important; /* bianco su #1f7db2 = 4.53:1, stessa tonalità azzurra */
  border-color: #1f7db2 !important;
}

/* Pulsante "Torna indietro": testo bianco su corallo #ea5c47 -> 3.0:1. */
#cancellaBtn.btn-danger,
#cancellaBtn.btn-danger:focus {
  background-color: #e0331a !important; /* bianco su #e0331a = 4.51:1, stessa tonalità corallo */
  border-color: #e0331a !important;
}
