﻿/* #region Page layout */

.submenu{
    font-size: 18px;
    color: rgba(1, 0, 0, 0.7) !important;
	list-style: none;
	margin: 0;
	padding: 0;
	padding-left: 1rem;
	padding-right: 1rem;
}

.toast-container {
    z-index: 1100;
}



#loading-overlay {
    position: absolute;
    width: 100%;
    height:100%;
    left: 0;
    top: 0;
    display: none;
    align-items: center;
    background-color: #000;
    z-index: 999;
    opacity: 0.5;
}


.loading-icon-1{
    position:absolute;
    border: 6px solid #FFF;
    border-bottom-color: transparent;

    border-radius:50%;
    width:64px;
    height:64px;
    margin:0 auto;
    position:absolute;
    left:50%;
    margin-left:-20px;
    top:50%;
    margin-top:-20px;
    z-index:4;
    -webkit-animation:spin-anim 1s linear infinite;
    -moz-animation:spin-anim 1s linear infinite;
    animation:spin-anim 1s linear infinite;
}

.loading-icon-2 {
    position:absolute;
    border: 8px solid;
    border-color: #fff transparent #fff transparent ;
    border-radius:50%;
    width:64px;
    height:64px;
    margin:0 auto;
    position:absolute;
    left:50%;
    margin-left:-20px;
    top:50%;
    margin-top:-20px;
    z-index:4;
    -webkit-animation:spin-anim 1s linear infinite;
    -moz-animation:spin-anim 1s linear infinite;
    animation:spin-anim 1s linear infinite;
}

@-moz-keyframes spin-anim {
    100% {
        -moz-transform: rotate(360deg);
    }
}
@-webkit-keyframes spin-anim {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes spin-anim {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

.loading-icon-3 {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-block;
    border-top: 5px solid #FFF;
    border-right: 5px solid #FFF;
    border-bottom: 5px solid transparent;
    box-sizing: border-box;
    margin:0 auto;
    left:50%;
    margin-left:-20px;
    top:50%;
    margin-top:-20px;
    z-index:4;
    animation: rotation-3 1.0s linear infinite;
}

@keyframes rotation-3 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn-x-success:hover {
    olor: #fff !important;
    border-color: #fff !important;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

.btn-x-danger:hover {
    color: #fff !important;
    border-color: #fff !important;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

.btn-x-warning:hover {
    dsdsad--cvbs-bg-opacity: .5;
    olor: #fff !important;
    border-color: #fff !important;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

#slot-docs.expanded {
    position: fixed;
    top: 10vh;
    left: 10vw;
    width: 80vw;
    height: 80vh !important;

    display: flex;
    flex-direction: column;
    background-color: white;
    z-index: 1050;
    overflow: auto;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#slot-notifiche {
    top: 60px;
    right: 10px;
    position: fixed;

    height: 300px;
    height: 80vh !important;
    z-index: 1050;
}

.cal-cell-footer {
    font-size: 0.7rem;
}

.cal-cell-badge {
    font-size: 0.85rem;
    text-align: center;
}

.pill-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1.5px solid;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    white-space: nowrap;
}
.pill-vacante   { border-color: #ffc107; color: #856404; background: #fff; }
.pill-assegnato { border-color: #6c757d; color: #495057; background: #fff; }
.pill-attivo    { border-color: #0d6efd; color: #084298; background: #fff; }
.pill-chiuso    { border-color: #198754; color: #0a3622; background: #fff; }
.pill-ritirato  { border-color: #dc3545; color: #842029; background: #fff; }
.pill-vacante.on   { background: rgba(255, 193,   7, 0.25); color: #856404; border-color: #ffc107; }
.pill-assegnato.on { background: rgba(108, 117, 125, 0.25); color: #495057; border-color: #6c757d; }
.pill-attivo.on    { background: rgba( 13, 110, 253, 0.25); color: #084298; border-color: #0d6efd; }
.pill-chiuso.on    { background: rgba( 25, 135,  84, 0.25); color: #0a3622; border-color: #198754; }
.pill-ritirato.on  { background: rgba(220,  53,  69, 0.25); color: #842029; border-color: #dc3545; }


#slot-notifiche.expanded {
    position: fixed;
    top: 10vh;
    left: 10vw;
    width: 80vw;
    height: 80vh !important;

    display: flex;
    flex-direction: column;
    background-color: white;
    z-index: 1050;
    overflow: auto;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* #region Pill buttons tipo giornata (registrazioneForm v2) */
.btn.tipo-btn-servizio.active { background-color:#d1e7dd; border-color:#0f5132; color:#0f5132; font-weight:600; }
.btn.tipo-btn-assenza.active    { background-color:#cff4fc; border-color:#055160; color:#055160; font-weight:600; }
.btn.tipo-btn-malattia.active   { background-color:#f8d7da; border-color:#842029; color:#842029; font-weight:600; }
.btn.tipo-btn-infortunio.active { background-color:#f8d7da; border-color:#842029; color:#842029; font-weight:600; }
.btn.tipo-btn-permesso.active { background-color:#fff3cd; border-color:#664d03; color:#664d03; font-weight:600; }
.btn.tipo-btn-neutro.active   { background-color:#e2e3e5; border-color:#41464b; color:#41464b; font-weight:600; }
.tipo-sep { width:1px; background-color:#ced4da; align-self:stretch; margin:0 0.2rem; }
/* #endregion */