.changa-<uniquifier> {
    font-family: "Changa", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

body {
    font-family: 'Changa', sans-serif !important;
    font-family: "Nunito", sans-serif !important;
    transition: background-color 0.5s ease, color 0.5s ease;
    font-weight: 500;
    background: url('../img/sfondo_gs_7.png'), linear-gradient(315deg, #fc9d00 0%, #f9d37f 100%) !important;
 
    background-position-x: center !important;
    color: black !important;
    background-size: cover !important;
    background-repeat: no-repeat;
}


.container-priv {
    margin: 5%;
    overflow-y: scroll;
    max-height: 70vh;
    padding-bottom: 2rem;
}
.swiper-container_conf .swiper-slide {}

.welcome-screen {
    text-align: center;
   
}
.copri {
    z-index: 200;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    background-color: #433c3ca8;
    right: 0px;
}
.over {
    position: relative;
    z-index: 201;
}
.swiper-avvisi {
    width: 100%;
    height: 400px; /* Altezza slider */
  }

  .swiper-avvisi-slide {
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    width: 100%;
    height: 100%;
}

  .swiper-avvisi-slide button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #fea0027d;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
  }

  .swiper-avvisi-slide button:hover {
    background-color: #7751117d;
  }
#toggle-theme {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}
.benvenuto {
    background-color: #f6f9fce6;
    padding: 20px;
    position: absolute;
    left: 5%;
    right: 5%;
    color: orange;
    z-index: 20;
    top: 2rem;
    /* bottom: 10px; */
    /* min-height: 37rem; */
    border-radius: 13px;
}
.benvenuto img{
    width: 55%;
}

#confetti-container {
    position: fixed;
    top: 50;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.confetti {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: red;
    opacity: 0.7;
    will-change: transform, opacity;
    animation: confetti-fall linear infinite;
}


@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.accordion-button:not(.collapsed) {
    color: #ffffff !important;
    background-color: #fea002 !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.privacy {
    background-color: #f3f3f3;
    margin: 2%;
    padding: 6%;
    border-radius: 12px;
    text-align: justify;
    overflow-y: auto;
    max-height: 55vh;
}

.conf_button {
    position: absolute;
    z-index: 200;
    left: 5%;
    right: 5%;
    margin-top: 30px;
}

.button__badge {
    background-color: #fa3e3e;
    border-radius: 50px;
    height: 10px;
    width: 10px;
    color: white;
    padding: 1px 3px;
    font-size: 10px;
    position: absolute;
    top: 15px;
    right: 12px;
}

.badge {
    font-family: 'Changa', sans-serif !important;
    font-weight: 250 !important;
    border-radius: 0px !important;
}

.install-banner {
    display: block;
    z-index: 1000;
    position: absolute;
    text-align: center;
    background-color: white;
    bottom: 0;
    padding: 40px 10px;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    right: 0;
    -webkit-box-shadow: 1px -3px 20px -2px rgba(0, 0, 0, 0.89);
    box-shadow: 1px -3px 20px -2px rgba(0, 0, 0, 0.89);
}

.right-bar span.sub-title {
    color: orange;
    text-align: center;
    font-size: 1rem;
}

.right-bar .combos {
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.bell-container {
    position: relative;
    display: inline-block;
}

.bell-container .notification-badge {
    display: none;
    position: absolute;
    top: 15px;
    right: 13px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
}
/* Make content area fill the entire browser window */
html,
.fullscreen {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mini_calendar {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
   
    padding: 20px !important;

}

.notecont_dett textarea,
input {
    width: 100%;
}

.giorno {
    margin-bottom: 4%;
    padding-top: 4%;
    padding-bottom: 4%;
    border-radius: 0%;
    /* background: aliceblue; */
    color: white;
}

/*right-bar css*/
.right-bar .right-bar-content,
.right-bar .right-bar-overlay {
    top: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    transition: all .3s ease-in-out 0s
}

.right-bar .right-bar-overlay {
    right: 0;
    opacity: 0;
    width: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, .4)
}

.right-bar .right-bar-content {
    width: 80%;
    color: #333;
    padding: 15px;
    z-index: 9999;
    background: #fff;
    transform: translateX(200%)
}

.right-bar.active .right-bar-content {
    transform: translateX(25%)
}

.right-bar.active .right-bar-overlay {
    opacity: 1;
    z-index: 999;
}

/*fine rightbar*/
.sidebar .sidebar-content,
.sidebar .sidebar-overlay {
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    position: fixed;
    transition: all .3s ease-in-out 0s
}

.combo.combo-alli.text-center.alli {
    min-height: 4rem !important;
}

.col-12.headGiorno {
    background-color: #006571;
    color: white;
    padding: 3%;
    margin-bottom: 9px;
}

.sidebar .sidebar-overlay {
    right: 0;
    opacity: 0;
    width: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, .4)
}

.assenze .banner {
    width: 100%;
    text-align: center;
    padding: 10px;
}

.riepilogo {
    text-align: center;
    margin: 5%;
    display: grid;
    grid-row-gap: 10px;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
}

.sotto_riepilogo {
    background-color: white;
    padding: 0%;
}

span.number_riep {
    width: 100%;
    color: orange;
    font-weight: 700;
    font-size: 2rem;
}

.sidebar .sidebar-content {
    width: 80%;
    color: #333;
    padding: 15px;
    z-index: 9999;
    background: #fff;
    transform: translateX(-100%)
}

.centered-text {
    position: fixed;
    /* or absolute */
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.cont_voti {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 4px;
}

.sidebar.active .sidebar-content {
    transform: translateX(0)
}

.sidebar.active .sidebar-overlay {
    opacity: 1;
    z-index: 999;
}

.sidebar .sidebar-content .top-head .name {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px
}

.calend {
    text-align: right;
    font-size: 1.2rem;
}

.sidebar .sidebar-content .top-head .email {
    font-size: 13px;
    margin-bottom: 50px
}

.menu-item {
    background-color: orange;
    /* text-align: center; */
    padding: 5%;
    border-radius: 0px;
    color: white;
}

.menu-item.disable {
    background-color: #9f6d19;
    /* text-align: center; */
    padding: 5%;
    border-radius: 0px;
    color: white;
}

.grid-menu {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

span.sub-title {
    color: white;
    font-size: 10px;
}

.grid-utility {
    margin-bottom: 10px;
    border-radius: 11px;
    background-color: #f1f1f1;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    font-size: 1.5rem;
    color: #ffa500;
}

.sidebar .sidebar-content .nav-left>a {
    color: #333;
    display: block;
    font-size: 16px;
    padding: 10px 0;
    line-height: 24px;
    vertical-align: top;
    text-decoration: none
}
.delete-icon {
    display: none !important;
}
.sidebar .sidebar-content .nav-left>a>span {
    color: #aaa;
    font-size: 24px;
    min-width: 40px;
    display: inline-block
}
.nav-left {
    overflow-y: scroll;
    max-height: 73vh;
    padding-bottom: 50px;
}
.giorno.selected {

    padding-top: 4%;
    padding-bottom: 4%;
    border-radius: 10px;
    color: #fea002;
    background-color: white;
}


span.num_giorno {
    font-size: 19px;
    font-weight: 300;
}

span.num_nome {
    font-size: 14px;
}

.datepicker {
    top: 9em !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 10;
    display: block;

}

.head {
    position: relative;
    background-color: #fea002;
    --bs-gutter-x: 0rem !important;

    padding-left: 0%;
    padding-right: 0%;
    font-size: 1rem;
    color: white;

}

.head img {
    align-self: center;
    height: 60px;
    margin: 10px 0px;
}

.erricon {
    font-size: 4rem;
    color: red;
}

.notepres {
    color: #ff8731 !important;
}

.modal-dialog {
    top: 30% !important;
}

.votiCont {
    margin: 5% !important;
}

.datepicker .active {
    background: rgb(221, 24, 30) !important;
    background: linear-gradient(14deg, rgba(221, 24, 30, 1) 0%, rgba(254, 193, 0, 1) 56%, rgba(252, 176, 69, 1) 100%) !important;
}

textarea:focus {
    text-align: left;
}

#lezisadd {
    font-size: 0.7rem !important;
}

/* Center the content in the browser window */
.container {
    margin: auto;
    text-align: center;
}

.title {
    font-size: 3rem;
}

.info {
    font-size: 13px;
    color: #9ea1a5;
}

.spinner-border {
    position: fixed;
    width: 4rem !important;
    height: 4rem !important;
    top: calc(50% - 2rem);
    left: calc(50% - 2rem);
}

#Loading {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #f6f9fc;
}

.btn-primary {
    color: #ffffff;
    /* -webkit-text-stroke: medium; */
    background-color: #fca109 !important;
    border-color: #fca109 !important;
}

.oriniz {
    font-size: 1.2rem;
    color: orange;
    padding-bottom: 40px;
}

.orfine {
    font-size: 0.8rem;
    color: #3a3a3ad4;
}

.oriniz-a {
    font-size: 0.7rem;
    color: orange;

}

.orfine-a {
    font-size: 0.6rem;
    color: #3a3a3ad4;
}

.body-cont {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
}

.matCont {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
}

.combo_ora {
    min-width: 100%;
    position: relative;
    min-height: 5rem;
    padding: 10px;
    background: #FFFFFF;
    box-shadow: 0 2px 2px 0 #eeeeee40;
    /* border-radius: 10px; */
    box-shadow: 0px 16px 15px -10px rgba(105, 96, 215, 0.0944602);
    margin-bottom: 4px;
}

p.bg-firmed {
    padding: 20px;
    text-align: center;

}

p.bg-unfirmed {
    padding: 20px;
    text-align: center;

}

p.bg-expired {
    padding: 20px;
    text-align: center;

}

.big {
    background-color: #f6f9fc;
    position: fixed;
    left: 0%;
    top: 0%;
    bottom: 0%;
    right: 0%;
    border-radius: 0px;
    -webkit-transition: all 0.2s 0s ease;
    -moz-transition: all 0.2s 0s ease;
    -o-transition: all 0.2s 0s ease;
    transition: all 0.2s 0s ease;
}

textarea {
    background-color: #f6f9fc;
    /* border: 0px; */
    border: 1px solid #dbdbdb;
    padding: 10px;
}

.bottom_bar-overlay.active {
    position: absolute;
    z-index: 30;
    top: 0vh;
    height: 100vh;
    left: 0vh;
    right: 0vh;
    background-color: #0000008f;
}

.bottom_bar {
    padding: 6%;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0vh;
    right: 0vh;
    height: 100vh;
    z-index: 31;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
}

.bottom_bar.active {
    top: 50%;
}

button#btnadd {
    position: fixed;
    border-radius: 50px;
    height: 50px;
    /* padding: 4%; */
    width: 50px;
    z-index: 20;
    font-size: 20px;
    bottom: 8%;
    right: 8%;
    -webkit-box-shadow: 5px 5px 15px 5px #000000;
    box-shadow: 5px 5px 15px 5px #c9c9c9;
    -webkit-box-shadow: 5px 5px 15px -1px rgba(148, 148, 148, 0.69);
    box-shadow: 5px 5px 15px -1px rgba(148, 148, 148, 0.69);
}

.btn-volante {
    position: fixed;
    border-radius: 50px;
    height: 50px;
    /* padding: 4%; */
    width: 50px;
    z-index: 20;
    font-size: 20px;
    bottom: 8%;
    right: 8%;
    -webkit-box-shadow: 5px 5px 15px 5px #000000;
    box-shadow: 5px 5px 15px 5px #c9c9c9;
    -webkit-box-shadow: 5px 5px 15px -1px rgba(148, 148, 148, 0.69);
    box-shadow: 5px 5px 15px -1px rgba(148, 148, 148, 0.69);
}

.little {


    position: fixed;
    left: 6%;
    top: 45%;
    bottom: 7%;
    right: 6%;
    border-radius: 30px;
    -webkit-transition: all 0.2s 0s ease;
    -moz-transition: all 0.2s 0s ease;
    -o-transition: all 0.2s 0s ease;
    transition: all 0.2s 0s ease;
}

.contIndex {
    margin-left: 25px;
    margin-top: 3rem;
}

/*login*/
.under-login {
    padding-top: 1rem;
}

.login {
    position: relative;
    top: 0px;
    bottom: 0px;
    margin-left: 2%;
    margin-right: 2%;
}

.login .contIndex {
    margin-left: 2%;
    margin-top: 3rem;
}

.login .form-group {

    padding-top: 10px !important;
}

.login input {
    padding: 1rem 0rem;
    /* padding: 0.7rem; */
    border-radius: 0px;
    border: 0px;
    border-bottom: 1px solid #d7d8da;
}

.login button {
    padding: 0.7rem;
    border-radius: 15px;
}

.login .btn {

    margin-top: 10px !important;
}

/*datepicker*/
.datepks {}

.notecont {
    MAX-HEIGHT: 40REM;
    OVERFLOW-Y: scroll;
    OVERFLOW-X: HIDDEN;
}

.voticont {
    MAX-HEIGHT: 40REM;
    OVERFLOW-Y: scroll;
    OVERFLOW-X: HIDDEN;
}

.notecont_dett {
    margin: 2%;
}

.voticont_dett {
    margin: 2%;
}

.compiticont_dett {
    margin: 2%;
}

.circle {
    color: #3b66c7;
    font-size: 2rem;
    padding: 2px;
    background-color: transparent;
    border-color: transparent;
    float: right !important;
    font-size: 1.4rem;
}

/*combo*/
.combos {
    margin: 25px;
    padding-bottom: 10rem !important;
}

.bottom-align {
    position: absolute;
    bottom: 14px;
    width: 100%;
}

.combo {
    min-width: 100%;
    position: relative;
    min-height: 7rem;
    padding: 17px;
    background: #FFFFFF;
    box-shadow: 0 2px 2px 0 #eeeeee40;
    border-radius: 10px;
    box-shadow: 0px 16px 15px -10px rgba(105, 96, 215, 0.0944602);
    margin-bottom: 10px;
}

.firmed {

    border-left: 4px solid #3F9749;
}

.unfirmed {

    border-left: 4px solid #bbbbbb;
}

.expired {
    border-left: 4px solid red;

}

/*form*/
.formCl {
    margin: 1rem;

}

.formCl textarea {
    width: 100%;
}

.btn-group {
    width: 100% !important;
}

.formCl .btn {
    width: 100% !important;
}

.bg-firmed {
    background-color: #3F9749 !important;
    color: white;
}

.voto {
    display: block;
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    border-radius: 6px;
    text-align: center;
    /* margin-right: 25px; */
}

.calendario_custom {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    margin: 5px 5px;
    background: #ffffff;
}

.giorno_custom {
    color: #006571;
    text-align: center;
    font-weight: 500;
    font-size: 2rem;
    background: #ffffff;
    border: 1px solid #ededed;
}

.giorno_intest {
    font-size: 11px;
    color: #bbbbbb;
    font-weight: 300;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.punti {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 4px;
    grid-row-gap: 5px;
}

.bg-unfirmed {
    background-color: #ad3c3c;
    color: white;
}

.bg-expired {
    background-color: #ad3c3c;
    color: white;
}

.datepicker.datepicker-inline {
    width: 100% !important;
}

.bg-gs {
    background-color: #fea002;
}

.bg-blu-gs {
    background-color: #006571 !important;
}
.btn-blu-gs {
    background-color: #006571 !important;
    color: white;
    font-size: 1.2rem;
    padding: 10px;
}

.bg-brown-gs {
    background-color: #690307;
}

.argo-label {
    font-size: 1.4rem;
    font-weight: 200;
    padding-bottom: 5px;
}

.argo-text {
    padding: 12px;
    min-height: 8rem;
    border-radius: 5px;
    font-weight: 100;
    background-color: #f1f1f1;
}

table.table-condensed {
    width: 100%;
    background-color: white;
}

.lista {
    padding-bottom: 1rem;
}

.submenu .row>* {
    width: auto !important;
}

.submenu {
    position: fixed;
    z-index: 2;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 0rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    font-size: 1.375rem;
    background-color: #708db9;
    background-image: linear-gradient(182deg, #b8c6db 0%, #ebebeb 74%);
}

.custom-navbar {
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 700;
}

.custom-nav-item {
    padding: 10px;
    text-align: center;
    z-index: 700;
}

/* Stile per l'elemento attivo */
.custom-nav-item.active {
    color: #690307;
    /* Colore per l'elemento attivo */
}

.select_voto .badge {
    padding: 10px;
}

.select_voto {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 5px;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.message-popup {
    font-family: 'Changa';
    font-weight: 200;
    text-align: center;
    position: fixed;
    bottom: 82px;
    left: 6%;
    font-size: 0.9rem;
    right: 6%;
    color: white;
    padding: 16px;
    z-index: 1000;
    -webkit-transition: all 0.2s 0s ease;
    -moz-transition: all 0.2s 0s ease;
    -o-transition: all 0.2s 0s ease;
    transition: all 0.2s 0s ease;
    display: none;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    animation: slideUpFadeIn 0.5s forwards;
}

.message-popup.error {
    background: rgb(206 36 36 / 75%);
}

.message-popup.success {
    background: #119411b3;
}

.message-popup.info {
    background: rgb(206 36 36 / 75%);
}

.custom-navbar .btn {
    max-width: 0px;
    /* Usa max-width invece di width per l'animazione */
    opacity: 0;
    /* Inizia con opacità 0 */
    overflow: hidden;
    /* Impedisce di vedere il contenuto durante l'espansione */
    display: block;
    /* Mantiene display: block */
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.custom-navbar .btn.active {
    max-width: 100%;
    /* Imposta una larghezza massima per mostrare il contenuto */
    opacity: 1;
    /* Rendi completamente opaco */
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

@keyframes slideUpFadeIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.pulse {
    position: relative;
    height: 48px;
    width: 48px;
}

.pulse:before,
.pulse:after {
    border-radius: 50%;
    content: '';
    position: absolute;
}

.pulse:before {
    background: #ed4141;
    height: 9.6px;
    width: 9.6px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pulse:after {
    animation: pulse-t3pv1p 1.5s infinite;
    border: 4.8px solid #ed4141;
    height: 100%;
    width: 100%;
}

@keyframes pulse-t3pv1p {
    from {
        opacity: 1;
        transform: scale(0);
    }

    to {
        opacity: 0;
        transform: scale(1);
    }
}



.separator {
    display: flex;
    align-items: center;
    font-size: 12px;
    text-align: center;
    color: #c5c5c5;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #c5c5c5;
}

.separator:not(:empty)::before {
    margin-right: .25em;
}

.separator:not(:empty)::after {
    margin-left: .25em;
}


.toggle-switches {
    display: none;
    flex-direction: column;
    margin-top: 10px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-switch input[type="checkbox"] + label {
    position: relative;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch input[type="checkbox"] + label::after {
    content: "";
    position: absolute;
    width: 21px;
    height: 21px;
    background-color: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.toggle-switch input[type="checkbox"]:checked + label {
    background-color: #b67a0a;
}

.toggle-switch input[type="checkbox"]:checked + label::after {
    transform: translateX(25px);
}

.toggle-switch label span {
    margin-left: 10px;
    font-size: 14px;
}

.toggle-switches.show {
    display: flex;
}
.codice_amico {
    font-family: monospace !important;
    margin: 10px 5%;
    background-color: #fea002;
    padding: 10px;
    border-radius: 5px;
    font-size: 30px;
    overflow-x: auto;
    text-align: center;
    color: white;
    font-weight: 200;
}
.codice_subtitle {
    color: #690307;
    margin: 1% 5%;
    text-align: center;
    font-size: 0.8rem;
}

.porta_un_amico .swiper-container {
    width: 100%;
    height: auto; /* Altezza della viewport */
}

.porta_un_amico .swiper-slide {
    padding: 3%;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #690307;
    height: 100%;
}
.saluto{
    margin: 3%;
    font-size: 20px;
    font-weight: 400;
}
.link_white {
    color: #f8f8f8 !important;
    text-decoration: underline;
}
.link_cod{
    float: left !important;
}
.toggle-btn {
    position: relative;
    width: 100px;
    height: 40px;
    background-color: #f39c12;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.5s ease;
}

.toggle-btn i {
    color: white;
    font-size: 18px;
}

.toggle-circle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 34px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.dark-mode .toggle-circle {
    transform: translateX(60px);
}

.dark-mode body {
    background-color: #2c3e50;
}

.dark-mode .toggle-btn {
    background-color: #34495e;
}
.notification {
    position: relative;
    padding: 15px;
    margin: 10px 0;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.notification.hide {
    transform: translateX(100%); /* Sposta il div fuori dallo schermo */
    opacity: 0; /* Svanisce */
}


/*notifiche*/
.btn.btn_canc {
    border-radius: 5px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 11px 11px 22px #dadada, -11px -11px 22px #ffffff;
}
.notification-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  .notification-card.hide {
    transform: translateX(100%); /* Sposta il div fuori dallo schermo */
    opacity: 0; /* Svanisce */
}
 
  
  .notification-content {
    padding: 20px;
  }
  
  .notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .notification-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
  }
  
  .notification-date {
    font-size: 12px;
    color: #888;
  }
  
  .notification-body {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
  }
  
  .notification-actions {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: #f8f8f8;
  }
  
  .notification-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }
  
  .row.bottom {
    font-size: 1.3rem;
    position: absolute;
    bottom: 34px;
    left: 0px;
    /* right: 0px; */
    width: 100%;
}



/*prova sidebar*/
/* Sovrascrive tutti i cerchi della sidebar con lo stesso arancione */
.sidebar .icon-circle {
    background-color: #FF7043 !important;  /* Arancione uniforme */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
  }
  
  /* Dimensione font leggermente più grande */
  .sidebar .nav-link {
    font-size: 1.1rem;
    color: #ff7f50; /* colore arancione scuro testo */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* bordo leggero sotto ogni voce */
    display: flex;
    align-items: center;
    padding: 10px 16px;
  }
  
  /* Hover */
  .sidebar .nav-link:hover {
    background-color: #495057;
    color: #ffa65c;
  }
  
  /* Riduzione dimensioni dei cerchi sulle sottovoci */
  .sidebar .collapse .nav-link .icon-circle {
    width: 24px;
    height: 24px;
  }
  
  /* Facoltativo: ridurre ulteriormente sui piccoli dispositivi */
  @media (max-width: 768px) {
    .sidebar .icon-circle {
      width: 28px;
      height: 28px;
    }
    .sidebar .collapse .nav-link .icon-circle {
      width: 28px;
      height: 28px;
    }
  }




  /*stelle*/
  .star {
    -webkit-box-shadow: inset 5px 5px 27px -8px #000000;
    box-shadow: inset 5px 5px 27px -8px #dfdfdf;
    display: grid
;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    background-color: #ffffff00;
    padding: 3px;
    border-radius: 50px;
}
.half-star {
    clip-path: inset(0 50% 0 0);
    /* taglia metà destra */
  }
  .central-btn {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

#medie{
    background-color: white;
    box-shadow: 0 2px 2px 0 #eeeeee40;
    border-radius: 10px;
    box-shadow: 0px 16px 15px -10px rgba(105, 96, 215, 0.0944602);
    margin-bottom: 20px;
}
#medieTutor{
    background-color: white;
    box-shadow: 0 2px 2px 0 #eeeeee40;
    border-radius: 10px;
    box-shadow: 0px 16px 15px -10px rgba(105, 96, 215, 0.0944602);
    margin-bottom: 20px;
}
#assenzeMese{
    background-color: white;
    box-shadow: 0 2px 2px 0 #eeeeee40;
    border-radius: 10px;
    box-shadow: 0px 16px 15px -10px rgba(105, 96, 215, 0.0944602);
    margin-bottom: 20px;
}
#matCont>h5{
   
        font-weight: 300;
  
}

.blog-text {
    font-weight: 100 !important;
}

<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<title>Foglio a Righe</title>
<style>
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    background: #f0f0f0;
    font-family: 'Patrick Hand', cursive, sans-serif;
    padding: 50px;
  }

  /* Contenitore foglio */
  #notebook {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    position: relative;
    min-height: 80vh;
  }

  /* Linee foglio */
  #notebook {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 17px;
  
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    position: relative;
    min-height: 80vh;
  }

  /* Linee foglio */
  #notebook::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 29px,
      #b1b1b1 30px
    );
    z-index: 0;
  }

  /* Contenitore testo */
  #content {
    position: relative;
    z-index: 1;
  }

  #content p {
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 0px; /* ogni riga sopra la linea */
    background: transparent;
  }

  .evidenziatore-giallo{
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(to right, rgba(255, 225, 0, 0.1), rgba(255, 225, 0, 0.7) 4%, rgba(255, 225, 0, 0.3));
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .evidenziatore-verde{
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(to right, rgba(255, 225, 0, 0.1), rgba(17, 206, 33, 0.7) 4%, rgba(255, 225, 0, 0.3));
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .evidenziatore-rosso{
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(to right, rgba(240, 75, 34, 0.1), rgba(230, 79, 10, 0.7) 4%, rgba(241, 147, 110, 0.3));
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  #task1  {
    /* stile minimal e sottile */
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #00b0d7; /* colore linea quaderno */
    cursor: pointer;
  }
  .compDescr {
    font-weight: 300;
    color: #2a2a2a;
}
.contCompito.finito {
    text-decoration: line-through;
}


.swiper-novita {
    width: 100%;
    max-width: 800px;
    
    padding: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }
  
  
  

  
  /* puntini sotto */
  .swiper-novita-pagination {
    text-align: center;
    margin-top: 10px;
  }
  
  .swiper-novita-pagination .swiper-pagination-bullet {
    background: #00b0d7;
    opacity: 0.6;
  }
  
  .swiper-novita-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #007ea7;
  }


  @media screen and (max-height: 680px)
   {
    .body-cont {
        max-height: 80vh;
        overflow-y: scroll;
        overflow-x: hidden;
        padding-bottom: 8rem;
    }
    }