body {
    padding-right: 0 !important;
}
.hidden {
    display: none;
}
.pointer {
    cursor: pointer;
}
.pointer.link-hover:hover {
    background-color: #E5E7EB;
}
.spaced-div {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
}
.sidebar-icon {
    width: 25px;
    display: inline-block;
}
.text-right {
    text-align: right !important;
}
.input-group {
    border-radius: 1rem;
    transition: all 0.2s ease;
}
.input-group-text {
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.icon {
    text-align: center;
    display: inline-flex;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
}
.dropdown-menu {
    min-width: 12rem;
}
.user-avatar {
    height: 2.5rem;
    width: 2.5rem;
    min-height: 2.5rem;
    min-width: 2.5rem;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border-radius: 50%;
}
.badge {
    font-size: 0.75em;
}
li.spid-idp-button-link > a > img,
.spid-idp-button .spid-idp-button-menu li > a,
.spid-idp-button .spid-idp-button-menu label{
    box-sizing: content-box;
}

/* Gallery Card Style */
.gallery-card .figure {
    position: relative;
}

.gallery-card .figure .delete-icon {
    top: 10px;
    right: 10px;
    display: none;
    padding: 6px;
    cursor: pointer;
}

.gallery-card .figure:hover .delete-icon {
    display: block;
}
.gallery-card .figure .delete-icon:hover {
    background-color: yellow;
    border-radius: 50%;
}

/* FIX Bug di Volt Template che nasconde il border inferiore delle TAB non attive */
.nav-tabs .nav-link {
    background: none;
}

/* FIX select2 per adattare gli span creati allo spazio */
span.select2.select2-container {
    width: 100% !important;
}

/* Pratica Ospedaliera FieldSet group  */
.form-section {
    border-left: 2px solid #f2c689;
    padding: 0 14px 14px 14px;
    margin-bottom: 1em;
}

.form-section .section-title {
    background: #f2c689;
    margin-left: -14px;
    padding: 1rem 5px 1rem 14px;
    border-radius: 0.375rem;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/*MODAL*/
.list-group-item.active .text-primary {
  color: #fff !important;
}

.left {
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 768px) {
    #storico-list-necroscopica{
        max-height: 20vh;
        overflow-y: auto;
    }
    #storico-list-cremazione {
        max-height: 20vh;
        overflow-y: auto;
    }
}

.storico-pratiche{
    min-height: 40vh;
}

.field-box {
    min-width: 220px;
    flex: 1 1 220px;
    padding: 8px 10px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fafafa;
}

.field-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.field-value {
    font-size: 14px;
    margin-top: 2px;
}

.section-title {
    margin-top: 10px;
    font-weight: 600;
}

.dashboard-link {
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dashboard-link:hover {
    background-color: #f8f9fa;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Auth page */
.mobile-auth-header {
  display: none;
}
    .mobile-info-message{
        display: none;
    }

/* SOLO MOBILE */
@media (max-width: 991px) {

    .mobile-auth-header {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 20px 15px;
    height: 15vh;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /*position: relative;*/
    }
    .mobile-info-message{
        display: block;
    }


    .mobile-logo {
    max-height: 55px;
    }
}

@media (min-width: 992px) {
    .auth-left { flex: 0 0 35%; }
    .auth-right { flex: 0 0 65%; }
    .auth-section{ height: 100vh; overflow-y: auto;  }
}

.login-banner {
  background-image: url("assets/img/sfondo-login1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.app-footer {
    display: flex;
    justify-content: center;
    width: auto;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    font-size: 0.7em;
}
.btn-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 14px;
    border-radius: 6px;
    width: 100%;
    white-space: nowrap;
}

.btn-minimal img {
    height: 20px;
}
.footer-inner img {
    height: 20px;
}
.btn-medium img {
    /*height: 50px;*/
    max-height: 100px;
    max-width: auto;
}

.login-card-minimal {
    max-width: 420px;
    padding: 1rem;
}

.login-card-minimal h5 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.login-card-minimal p {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}
.auth-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
}

.auth-right{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.background-login-text{
    background-color: rgba(0,0,0,0.4);
    padding: 0.3rem;
}