/* Bootstrap 5 tweak: do not underline links unless hovered over */
a:not([class*="btn"]) {
    text-decoration: none;
}

a:not([class*="btn"]):hover {
    text-decoration: underline;
}

.new-text-blu {
    color: #003366;
}

.newnavbar-blue {
    background-color: #003366;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.navbar-nopadding {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 12px;

}

.new-navbar-item {
    margin-right: 4px;
    margin-left: 20px;
}

/*COLLAPSE*/

.collapse-button {
    margin-top: 0px;
    background: #336699;
    color: white;
    padding-right: 29px;
    padding-left: 29px;
    padding-top: 4px;
    padding-bottom: 2px;
    font-weight: 400;
    font-size: 0.90rem;

}


.collapse-button[aria-expanded=true] {
    background: #6699cc;
}

.collapse-button:hover {
    color: white;
    text-decoration: none;
}


.collapse-card {
    background: #6699cc;

}

.collapse-p {
    color: white;
    padding-left: 12px;
    padding-right: 12px;

    font-weight: 300;
    margin-bottom: 0px;

}


body {
    background-color: #336699 !important;
    background-position: 75% 75%;
    background-size: 300px 300px;
    background-repeat: no-repeat;
    margin-bottom: 50px;
    font-family: 'Jost', sans-serif !important;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: right;
    font-size: 0.70rem;
}

.footer-a {
    color: #003366;
}

.new-titolo-centrale {
    text-align: center;
    margin-top: 40px;
}

.login-card-div {
    padding-top: 80px;
}

.exercise-card-div {
    padding-top: 32px;
}

.main-card-div {
    margin-top: 40px;
}

.bottom-div-card {
    margin-bottom: 44px;
}

.exercise-text {
    font-weight: 400;
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.login-text-footer {
    color: #336699;
    text-align: center;
    margin-bottom: 0px;
}

.footer-card-login {
    margin-top: 30px;
}

.new-faq-p {
    color: #003366;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.new-faq-p-notop {
    color: #003366;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.new-card {
    border-radius: 25px !important;
    border: 0px solid #505050 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2) !important;

}

.new-form-login {
    border-radius: 0 !important;
    border: 1px solid #336699 !important;
    height: 40px !important;
    margin-bottom: 24px;

}

.new-btn-label-login {
    margin-left: 16px;
    margin-right: 16px;
}

.login-label {
    margin-bottom: 0 !important;
    color: #336699 !important;

}

.new-login-card-body {
    padding: 1rem !important;
}

.new-button-center {
    margin-top: 40px;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    border-radius: 12px !important;
    border: 0;
    background-color: #003366 !important;
    color: white;
    font-size: 1.8rem !important;
    width: 75%;
    max-width: 200px;
}

.login-text {
    font-weight: bold;
    font-style: italic;
    color: #336699;
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.1rem;

}

.spacing-div-login {
    margin-left: 16px;
    margin-right: 16px;
}

.div-bottom-border {
    border-bottom: 1px solid #336699;

}

@keyframes pulse {
    0% {
        background: rgba(220, 53, 69, 0);
    }

    75% {
        background: rgba(220, 53, 69, 1);
    }
    100% {
        background: rgba(220, 53, 69, 0);
    }
}

.pulserv1 {
    animation: pulsev1 1s infinite;
}

@keyframes pulsev1 {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}


/*RISCRITTURA*/

.paper {
    width: 100%;
    overflow: hidden;
    background-color: #FFF;
    color: #222;
    font-weight: normal;
    font-size: 1.35rem;
    resize: none;
    line-height: 40px;
    padding-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
    background-image: url("/static/line-b.png");
    background-repeat: repeat-y, repeat;
    overflow: hidden;
    word-wrap: break-word;
    resize: none;
    height: 120px;
    border: 0px;
    max-width: 500px;
}


.paper:focus {
    outline: none;

}

.new-button {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 25px;
    border: 0;
    background-color: #336699;
    color: white;
    font-size: 1rem;
    width: 75%;
    max-width: 150px;
    font-weight: 500;
    padding: 4px;
}

.btn-riscrittura {
    margin-top: 40px;
}

/* RIORDINAMENTO */

.newInputCenter {
    border: 0;
    outline: 0;
    background: transparent;
    font-weight: normal;
    font-size: 1.35rem;
    border-radius: 1px;
    margin-top: 14px;
    text-align: center;
    border-bottom: 2px solid #336699;
    width: 80%;
}

.btn-riordinamento {
    margin-top: 8px;
}

.lable-text-riordinamento {
    margin: auto;
    padding: 8px;
}

.riordinamento-label {
    background: #003366;
    border-radius: 25px;
    color: white;
    min-height: 32px;
    margin: 4px;
    min-width: 150px;
}


/* COMPLETAMENTO */

.avoid-clicks {
    pointer-events: none;
}

.nav-completamento {
    background-color: #336699;
    border-radius: 25px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.nav-a-completamento {
    margin: 4px;
    height: 25px;
    width: 25px;
    text-align: center;
    background-color: #fff;
    border-radius: 50px;
}

.number-bianco-background {
    height: 24px;
    width: 24px;
    border-radius: 50px;
    margin: auto;
}

.completamento-form {
    padding: 8px 8px;
    height: 1.5em;
    outline: 0;
    background: transparent;
    border-right: 0;
    border-top: 0;
    border-left: 0;
    font-weight: 300;
    border-radius: 1px;
    margin-top: 14px;
    font-size: 1.3rem;
    display: inline-block
}

.completamento-text {
    margin: 30px 0px 0px;
    margin-left: 8px;
    margin-right: 8px;
    font-weight: 400;
    font-size: 1.3rem;
    display: inline-block;
}

.form-control:disabled {
    background: rgba(0, 0, 0, 0);
    color: #888888;
    cursor: not-allowed;
}

.btn-completamento {
    margin-top: 40px;
}

.nav-pills {
    color: #336699;
    border: 2px solid #336699;

}

.nav-link.avoid-clicks.text-center .number-bianco-background {
    background-color: #fff;
    color: #336699;
    border: 1px solid #fff;

}

.nav-link.avoid-clicks.text-center.active .number-bianco-background {
    background-color: #336699;
    color: #fff;
    border: 1px solid #fff;

}

.bottom-end {
    border-bottom: 2px solid #CC0000 !important;
}

.bottom-error {
    border-bottom: 2px solid #FF9900 !important;
}

.bottom-danger {
    border-bottom: 2px solid #FFCC00 !important;
}

/* Abbinamento */

.new-abb-engword {
    color: #336699;
    border: 1px solid #003366;
    border-radius: 5px;

}

.new-abb-text-center {
    margin: 24px;
    font-weight: 400;
    text-align: center;
}

.btn-abbinamento {
    margin-top: 30px;
}

/* Abbinamento */

.new-lvl-button {
    background-color: white;
    color: #003366;
    font-weight: 600;
    height: 45px;
    width: 45px;
    border-radius: 25px;
    border: 5px solid #336699;
    font-size: 1.25rem;
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;

}

.new-lvl-button-selected {
    border: 5px solid #d34a4a;
}

.home-titolo {
    color: white;
    border-bottom: 2px solid #336699;
    margin-top: -10px;

}

.home-card-header {
    background-color: #003366;
    border-top-left-radius: 25px !important;
    border-top-right-radius: 25px !important;
}

.new-text-center {
    text-align: center;
}

/* Abbinamento */

.new-progress {
    font-size: 1rem;
    border-radius: 25px;
    height: 30px;
    background-color: #ffffff;
    border: 2px solid #003366;
}

.new-progress-bar {
    background-color: #d34a4a;
    border-radius: 25px;
}

.intro-box {
    background-color: #003366;
    border-radius: 25px;
    height: 100px;
}

.advice-box {
    background-color: #ffffff;
    border-radius: 25px;
    height: 100px;
    border: 1px solid #003366;
}

.advice-p {
    margin: 8px;
    font-size: 0.85rem;
    color: #003366;
}

.video-text {
    /*    margin: 0;
        position: absolute;
        top: 90%;*/
    color: #FFFFFF;
    margin-top: unset;
}

.img-unit-page {
    width: 75%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Unit Page */

.new-ex-card {
    border: 2px solid rgba(51, 102, 153, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    min-width: 275px;
    max-width: 556px;
    height: 125px;

}

.new-header-card {
    /*box-shadow: 0 4px 5px -2px rgb(0, 0, 0.26);*/
    border-top-right-radius: 22px !important;
    border-top-left-radius: 22px !important;
    height: 35px;
}

.new-icon-card {
    margin-top: -18px;
    margin-left: 34px;
    width: 17px;
}

.header-no {
    background-color: rgba(234, 238, 244, 0.4);
}

.header-start {
    background-color: rgba(211, 74, 74, 0.4)
}

.header-end {
    background-color: rgba(51, 102, 153, 1)

}

.video-intro {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 25px;
}

.unit-background-image {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    max-width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.ubi-blu {
    background-image: url('/static/img/unit-blu.png');
}

.ubi-red {
    background-image: url('/static/img/unit-red.png');
}

.unit-text {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 1.7rem;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

.new-button-homepage {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 18px;
    border: 0;
    color: white;
    font-size: 1.5rem;
    width: 100%;
    max-width: 200px;
    min-width: 150px;
    font-weight: 500;
    padding: 4px;
    height: 50px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.btn-blu {
    background-color: #003366;
}

.btn-red {
    background-color: #d34a4a;
}

.new-modal {
    border-radius: 25px;
    background-color: #eef8ff;
}

.barcompletata {
    background-color: #003366;
}

.container-fluid {
    position: relative;
    z-index: 1;
}

.wrWhite {
    color: white;
    text-decoration: underline !important;
}

/*Css per calendario*/

.calendar-row {
    max-width: 100px;
}

.calendar-cell {
    max-height: 40px;
    min-height: 18px;
    font-size: 0.75rem;
    padding: 1px;
    border-radius: 5px;
    border: 1px solid blue;

}

.calendar-cell-student {
    cursor: pointer;
    min-height: 60px;
    min-width: 100px;
    font-size: 0.9rem;
    border-radius: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
    line-height: 1.2;
    margin: 4px;
    padding: 6px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

/* Hover & active states for better interactivity */
.calendar-cell-student:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.calendar-cell-student:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}


.row-calendar {
    max-width: 100%;
    margin-left: -2px;
}

.td-calendar {
    padding: 1px !important;
}

.btn-void-calendar {
    border: 1px solid blue;
    background: lightblue;
}

.progress-bar-striped-new {
    background-image: linear-gradient(316deg, rgba(1, 1, 1, .5) 25%, transparent 25%, transparent 50%, rgba(1, 1, 1, .5) 50%, rgba(1, 1, 1, .5) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;


}

/* COLORI INSEGNANTI - PALETTE MIGLIORATA E PIÙ ARMONICA */

.malacrinocarolina {
    background-color: #9ACD32; /* soft green */
    font-weight: 500;
    color: #1a1a1a;
}

.kingvicky {
    background-color: #E74C3C; /* warm red */
    font-weight: 500;
    color: whitesmoke;
}

.casonelizabeth {
    background-color: #F1C40F; /* rich yellow */
    font-weight: 500;
    color: #1a1a1a;
}

.rudeljtereza {
    background-color: #E5989B; /* muted rose */
    font-weight: 500;
    color: #1a1a1a;
}

.mirabellaerika {
    background-color: #5DADE2; /* soft sky blue */
    font-weight: 500;
    color: #1a1a1a;
}

.giardinimonica {
    background-color: #F39C12; /* deep orange */
    font-weight: 500;
    color: #1a1a1a;
}

.gencarelliclaudia {
    background-color: #D36AC2; /* bright magenta */
    font-weight: 500;
    color: whitesmoke;
}

.taherekiani {
    background-color: #8E5B2E; /* warm brown */
    font-weight: 500;
    color: whitesmoke;
}

.colagrossifrancesca {
    background-color: #8E44AD; /* elegant purple */
    font-weight: 500;
    color: whitesmoke;
}

.costanza {
    background-color: #1ABC9C; /* teal */
    font-weight: 500;
    color: whitesmoke;
}

.alfonsomarianelaines {
    background-color: #7D3C98; /* violet-indigo */
    font-weight: 500;
    color: whitesmoke;
}

.mbalilisajacobs {
    background-color: #95A5A6; /* neutral gray */
    font-weight: 500;
    color: whitesmoke;
}

.david {
    background-color: #2E7D32; /* deep forest green */
    font-weight: 500;
    color: whitesmoke;
}

.jade {
    background-color: #6E2C00; /* rich amber brown */
    font-weight: 500;
    color: whitesmoke;
}

.zelda {
    background-color: #00897B; /* deep turquoise */
    font-weight: 500;
    color: whitesmoke;
}

.stacy {
    background-color: #A93226; /* wine red */
    font-weight: 500;
    color: whitesmoke;
}

/* STATI */
.attesa-colore {
    background-color: #7F8C8D;
    color: whitesmoke;
}

.prenotato-colore {
    background-color: #145A32;
    color: whitesmoke;
}


.Start {
    background-color: #8AD2FF;
}

.Jump-In {
    background-color: #53D39F;
}

.Unit {
    background-color: #FFB533;
}

.G1 {
    background-color: #FFB533;
}

.G2 {
    background-color: #DB3E3E;
}

.G3 {
    background-color: #BE56EF;
}

.G4 {
    background-color: #9351FC;
}

.Preferenza {
    background-color: lightslategrey;
    max-height: 50px;
    min-height: 20px;

}

/* CSS */
.button-mac {
    flex-direction: column;
    align-items: center;
    padding: 6px 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    border-radius: 6px;
    border: none;
    margin: 4px;

    color: #fff;
    background: linear-gradient(180deg, #4B91F7 0%, #367AF6 100%);
    background-origin: border-box;
    box-shadow: 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-mac:focus {
    box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
    outline: 0;
}

.disabled-calendario {
    background-color: dimgrey;
    color: linen;
    opacity: 1;
    pointer-events: all !important;
}

/*.disabled-calendario {*/
/*    box-shadow:0px 0px 0px 7px dimgray inset!important;*/
/*    cursor: not-allowed;*/
/*    pointer-events: all !important;*/
/*}*/

.attesa-calendario {
    box-shadow: 0px 0px 0px 7px dimgrey inset !important;
    pointer-events: all !important;
}

.confirmed-calendario {
    box-shadow: 0px 0px 0px 7px greenyellow inset !important;
    pointer-events: all !important;
}

.lista-lezioni-cell {
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 4px;
    margin-right: 4px;
    min-height: 60px;
    border-radius: 25px;
    text-align: center;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
    line-height: 110%;
}

.col-lista-lezioni {
    margin-bottom: 4px;
    margin-top: 4px;

}

.clickable_text {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    background-color: white;
    color: black;
    border: 2px solid #04AA6D;
}

.blinking {
    animation-name: blink-red;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-iteration-count: Infinite;
}

.blinking-2 {
    animation-name: blink-grey;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-iteration-count: Infinite;
}


@keyframes blink {
    0% {
        opacity: 100%;
    }
    50% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}

@keyframes blink-2 {
    0% {
        opacity: 100%;
    }
    40% {
        opacity: 0%;
    }
    50% {
        opacity: 100%;
    }
    60% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}

@keyframes blink-grey {

    0% {
        border: 0px solid black;
    }
    100% {
        border: 0px solid black;
        outline: 5px solid grey;
    }
}

@keyframes blink-red {
    0% {
        border: 0px solid black;
    }
    100% {
        border: 0px solid black;
        outline: 5px solid red;
    }

}

a.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}

.promo-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 100px;
}

.teaching-img {
    margin: 0 18px;
    max-width: 233px;
    border-radius: 25px;
}