.segmenti-img {
    object-fit: cover;
    width: 100%;
    max-height: 265px;
    height: 265px;
    border-bottom-left-radius: .325rem;
    border-bottom-right-radius: .325rem;
}

.listacorsi-img {
    object-fit: cover;
    width: 100%;
    max-height: 265px;
    height: 265px;
}

.no-radius-bottom {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

iframe:not(.mini-embed) {
    min-height: 600px;
    max-height: 600px;
    width: 100%;
}

.lista-materiali li {
    padding: 16px 20px;
    border: 1px solid #dde0e3;
    border-radius: .325rem;
}

.risposta-lbl {
    overflow: visible;
    white-space: normal;
    font-weight: 400;
}

#alertsArea {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    width: 100%;
}

#alerts {
    position: absolute;
    z-index: 99;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
}

#modal-header {
    background-color: #e6f0f9;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zindexdue {
    z-index: 2;
}

.overlay-container {
    position: relative;
}

.overlay-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.overlay-container .content {
    position: relative;
    z-index: 2;
    /* il contenuto rimane sopra l’overlay */
    color: #fff;
    padding: 20px;
}

.choices.is-invalid .choices__inner {
    border-color: #dc3545 !important;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    padding-right: 2rem;
}

.materiale-blocco,
.datacorso,
.domanda {
    position: relative;
    border: 2px solid #dde0e3;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.ps-6 {
    padding-left: 3.5rem;
}

#creaCorsoModal .btn-close,
#esameModal .btn-close,
#deleteModal .btn-close,
#noteStudenteModal .btn-close,
#alertStudentsModal .btn-close {
    background: none;
    width: auto;
    height: auto;
    padding: 0.25em 0.5em;
}

#creaCorsoModal .btn-close i,
#esameModal .btn-close i,
#deleteModal .btn-close i,
#noteStudenteModal .btn-close i,
#alertStudentsModal .btn-close i {
    font-size: 1rem;
}

.anchor-target {
    position: relative;
    top: -80px;
    visibility: hidden;
}

#iscrizioniCorsi td {
    min-height: 150px !important;
    vertical-align: middle;
}

#rigeneraDiplomaBtn,
#scaricaDiplomaBtn {
    display: none;
}

.testo-bold {
    font-weight: bold;
}

.form-switch input {
    width: 4em !important;
    height: 2em;
}

section.full-height {
    min-height: calc(100vh - 446px);
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    background-color: #0076bd;
}

.number-id {
    position: absolute;
    left: 1rem;
    top: 0;
    font-size: 3rem;
    font-weight: bold;
    color: #ccc;
    opacity: 0.3;
    pointer-events: none;
}