﻿:root {
    --rz-primary: #252525 !important;
    --main-color: #F0F0F0; /*lgray*/
    --colore-critica: #6495ED;
    --dark-grey: #353535;
    --middle-grey: #767676;
    --danger-red: #EF4444;
    --lightest-grey: linear-gradient(#fafafa,#ebebeb);
    --shadow: 0 5px 15px 0 #00000026;
    --shadow-active: 0 5px 5px 0 #00000026;
    --border-radius-main: 0.2rem;
    --border-radius-icon: 10px;
    --main-green: #008080;
    --hover-gray: #DCDCDC;
    --hover-red: #e52e26;
    --hover-green: rgb(54, 162, 73);
    --light-gray: #e8e8e8;
    --facebook-color: #3b5998;
    --light-green: rgb(64, 192, 87);
    --section-background: aliceblue;
    --dark-blue: #2c3e50;
    --light-blue: #0064D1;
    --avatarW: 125px;
    --avatarH: 125px;
    --s: 18px; /* control the size*/
    --c1: #e1f5c4;
    --c2: #3b8183;
    --_g: #0000, #0004 5%, var(--c2) 6% 14%,var(--c1) 16% 24%,var(--c2) 26% 34%,var(--c1) 36% 44%, var(--c2) 46% 54%,var(--c1) 56% 64%,var(--c2) 66% 74%,var(--c1) 76% 84%, var(--c2) 86% 94%,#0004 95%,#0000;
    
    --min-w-chat: 290px;
}



/*fix bug css*/
*, *::before, *::after {
    box-sizing: border-box;
}

img {
    -webkit-user-drag: none; /* Per Safari e Chrome */
    -khtml-user-drag: none; /* Per Konqueror */
    -moz-user-drag: none; /* Per Firefox */
    -o-user-drag: none; /* Per Opera */
    user-drag: none;
    pointer-events: none; /* Per disabilitare eventi del puntatore come il drag */
}

/*linea critica*/
.reply {
   /* margin-top: 10px;*/
    /*padding-left: 50px;*/ /* Adjust to align the reply content */
    /*position: relative;*/
}

    .reply::before {
        content: '';
        /*position: absolute;*/
        /*top: -10px;*/ /* Adjust this value to position the curve */
        /*left: 10px;*/ /* Adjust this value to position the curve */
        /*width: 30px;
        height: 30px;*/
        border-left: 2px solid #ccc;
        /*border-bottom: 2px solid #ccc;
        border-bottom-left-radius: 20px;*/
    }

.dropdown-item:active {
    background-color: transparent !important;
}
.thin-scrollbar::-webkit-scrollbar {
    width: 6px; /* Larghezza della scrollbar */
}
.thin-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1; /* Colore della traccia della scrollbar */
}
.thin-scrollbar::-webkit-scrollbar-thumb {
    background: lightgray; /* Colore della thumb (parte mobile) della scrollbar */
}
.thin-scrollbar::-webkit-scrollbar-thumb:hover {
    background: lightgray; /* Colore della thumb quando viene hoverata */
}
.rz-dialog-content::-webkit-scrollbar-thumb {
    background: lightgray; /* Colore della thumb (parte mobile) della scrollbar */
}
.rz-dialog-content::-webkit-scrollbar {
    width: 8px; /* Larghezza della scrollbar */
}
.footer-link{
    text-decoration: none;
}
.footer-link:hover {
    text-decoration: underline;
}
/*per input password content eye*/
.password-container {
    position: relative;
}

.password-icon-wrapper {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .password-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }

@media(max-width: 766px) {
    .w-dialog {
        width: 100% !important;
        min-height: 500px !important;
    }
}

@media(min-width: 767px) {
    .w-dialog {
        width: 500px !important;
    }
    .h-avatars {
        height: 300px !important;
    }
}

.dim-voto-r{
    border-radius: 0.25rem;
}
.dim-voto {
    border-radius: 0.25rem;
}
/*login-btn*/
.login-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .8;
    margin: 0 0.5rem;
    cursor: pointer;
    user-select: none;
    border: 1px solid var(--middle-grey);
    border-radius: 20px;
    transition: .2s ease all;
    color: black;
}

.login-btn:hover {
    opacity: .9;
    box-shadow: var(--shadow);
}

.login-btn:active {
    opacity: .9;
    box-shadow: var(--shadow-active);
}

/*register-button*/
.register-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .8;
    margin: 0 0.5rem;
    cursor: pointer;
    user-select: none;
    border: 1px solid var(--middle-grey);
    border-radius: 20px;
    transition: .2s ease all;
    color: black;
}

.register-btn:hover {
    opacity: .9;
    box-shadow: var(--shadow);
}

.register-btn:active {
    opacity: .9;
    box-shadow: var(--shadow-active);
}

.green-btn {
    padding: .5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.5rem;
    cursor: pointer;
    user-select: none;
    background: var(--light-green);
    border: none;
    border-radius: var(--border-radius-main);
    transition: .2s ease all;
    color: white !important;
}

.green-btn:hover {
    background-color: var(--hover-green);
}

.green-btn:active {
    transform: scale(0.95);
}

.main-btn {
    padding: 0.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    cursor: pointer;
    user-select: none;
    background-color: var(--light-gray);
    border: none;
    border-radius: 5px;
    transition: .2s ease all;
    color: black;
} 
    .main-btn:hover {
        background-color: var(--hover-gray);
    }

    .main-btn:active {
        transform: scale(0.95);
    }

.danger-btn {
    padding: .5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.5rem;
    cursor: pointer;
    user-select: none;
    background: var(--danger-red);
    border: none;
    border-radius: var(--border-radius-main);
    transition: .2s ease all;
    color: white;
}

.danger-btn:hover {
    background-color: var(--hover-red);
}

.danger-btn:active {
    transform: scale(0.95);
}

/*like e dislike btn*/

.like-dislike-container .icons {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .6;
    cursor: pointer;
    user-select: none;
    border: 1px solid var(--middle-grey);
    border-radius: var(--border-radius-icon);
    background: var(--lightest-grey);
    transition: .2s ease all;
}

    .like-dislike-container .icons:hover {
        opacity: .9;
        box-shadow: var(--shadow);
    }

    .like-dislike-container .icons:active {
        opacity: .9;
        box-shadow: var(--shadow-active);
    }

    .like-dislike-container .icons .btn-label {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0.5rem;
        cursor: pointer;
        position: relative;
    }

.like-dislike-container .like-text-content {
    border-right: 0.1rem solid var(--dark-grey);
    padding: 0 0.6rem 0 0.5rem;
    pointer-events: none;
}

.like-dislike-container .dislike-text-content {
    border-left: 0.1rem solid var(--dark-grey);
    padding: 0 0.5rem 0 0.6rem;
    pointer-events: none;
}

.like-dislike-container .icons .svgs {
    width: 1.3rem;
    fill: #000000;
    box-sizing: content-box;
    padding: 10px 10px;
    transition: .2s ease all;
}

/*Apple e Google Simone*/

.buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 20px;
    gap: 15px;
}

/*.apple-login-button,*/
.google-login-button {
    border-radius: 20px;
    box-sizing: border-box;
    padding: 10px 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-size: 11px;
    gap: 5px;
}

/*.apple-login-button {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}*/

.google-login-button {
    border: 2px solid #747474;
}

/*.apple-icon,*/
.google-icon {
    font-size: 18px;
    margin-bottom: 1px;
}

/*SignUp e Registrati Simone*/

.sign-up-label {
    margin: 0;
    font-size: 10px;
}

.register-link {
    cursor: pointer;
    color: black;
    opacity: 0.6;
    font-size: 9px;
    font-weight: 700; 
    transition: opacity 0.3s ease, color 0.3s ease;
}
    .register-link:hover {
        opacity: 1;
        text-decoration: underline;
        color: var(--main-green)
    }
    
.page-link {
    text-decoration: underline;
    margin: 0;
    text-align: end;
    color: #747474;
    text-decoration-color: #747474;
}

.resetpsw-link {
    cursor: pointer;
    color: black;
    opacity: 0.6;
    font-weight: 700;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.resetpsw-link:hover {
    opacity: 1;
    text-decoration: underline;
    color: var(--main-green)
}



/* Hide the default checkbox */
.like-dislike-container .icons .input-box {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.like-dislike-container .icons #icon-dislike-regular {
    transform: rotate(180deg);
}
.like-dislike-container .icons #icon-dislike-solid {
    transform: rotate(180deg);
}






/* Shake Animation */
@keyframes rotate-icon-like {
    0% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }

    25% {
        transform: rotate(3deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-3deg) translate3d(0, 0, 0);
    }

    75% {
        transform: rotate(1deg) translate3d(0, 0, 0);
    }

    100% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }
}

@keyframes rotate-icon-dislike {
    0% {
        transform: rotate(180deg) translate3d(0, 0, 0);
    }

    25% {
        transform: rotate(183deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(177deg) translate3d(0, 0, 0);
    }

    75% {
        transform: rotate(181deg) translate3d(0, 0, 0);
    }

    100% {
        transform: rotate(180deg) translate3d(0, 0, 0);
    }
}

/* Checked Animation */
@keyframes checked-icon-like {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(-10deg);
    }
}

@keyframes checked-icon-dislike {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(-10deg);
    }
}

/* Google*/
.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
}

    .gsi-material-button .gsi-material-button-icon {
        height: 20px;
        margin-right: 12px;
        min-width: 20px;
        width: 20px;
    }

    .gsi-material-button .gsi-material-button-content-wrapper {
        -webkit-align-items: center;
        align-items: center;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        height: 100%;
        justify-content: space-between;
        position: relative;
        width: 100%;
    }

    .gsi-material-button .gsi-material-button-contents {
        -webkit-flex-grow: 1;
        flex-grow: 1;
        font-family: 'Montserrat', arial, sans-serif;
        font-weight: 500;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: top;
    }

    .gsi-material-button .gsi-material-button-state {
        -webkit-transition: opacity .218s;
        transition: opacity .218s;
        bottom: 0;
        left: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .gsi-material-button:disabled {
        cursor: default;
        background-color: #ffffff61;
        border-color: #1f1f1f1f;
    }

        .gsi-material-button:disabled .gsi-material-button-contents {
            opacity: 38%;
        }

        .gsi-material-button:disabled .gsi-material-button-icon {
            opacity: 38%;
        }

    .gsi-material-button:not(:disabled):active .gsi-material-button-state,
    .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
        background-color: #303030;
        opacity: 12%;
    }

    .gsi-material-button:not(:disabled):hover {
        -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
        box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    }

        .gsi-material-button:not(:disabled):hover .gsi-material-button-state {
            background-color: #303030;
            opacity: 8%;
        }
/* fine Google */

.no-focus-border:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/*btn invisibile*/
.transparent-item {
    border-color: transparent;
    background-color: transparent;
}

@keyframes animation {
    0% {
        background-color: hsl(200,20%,70%);
    }

    100% {
        background-color: hsl(200,20%,95%);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes sali {
    0% {
        transform: translateY(100%); /* Partenza dal basso */
        opacity: 0; /* Invisibile */
    }

    100% {
        transform: translateY(0); /* Posizione finale */
        opacity: 1; /* Visibile */
    }
}

.animate-sali {
    animation: sali 0.3s ease-in-out; /* Applica l'animazione */
    opacity: 1; /* Visibile */
}



.p-i {
    padding-top: 40px;
}
/*borderadius*/
.bradius {
    border-radius: 0.5rem !important;
}

.bradius-top {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
/*backgrounds*/
.bg-lgray {
    background-color: #f0f2f5 !important;
}

.bg-criticavoto {
    background-color: var(--colore-critica);
}

.border-lgray {
    border: 1px solid lightgray !important;
}
/*scrollbar per tutti i browser */

.tab {
    color: black;
}

    .tab:hover {
        color: black;
    }
/*width*/

.max-h-editor {
    min-height: 720px !important;
    max-height: 720px !important;
}

.w-popup-sm {
    width: 50px;
}

.w90px {
    width: 90px;
}
.w100px {
    width: 100px;
}


.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-50 {
    width: 50% !important;
}

.w-60 {
    width: 60% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.w-100 {
    width: 100% !important;
}

.btn-2 {
    border: none;
}
/*classi bootstrap riscritte*/
.nav-underline .nav-link {
    padding-bottom: 2px;
}
/*utility*/
.no-resize {
    resize: none;
}

.black-border:focus-within {
    border-color: black !important; /* Cambia il colore del bordo in nero */
}

.box-voto {
    width: 25px;
    height: 25px;
    font-size: 11px !important;
    color: white;
}


/*testo*/
.text-justify {
    text-align: justify;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.tab {
    color: black;
}

    .tab:hover {
        color: black;
    }
/*fontsize*/
.fs-100 {
    font-size: 100px;
}


.fs-32 {
    font-size: 32px; /*testo*/
}
.fs-24 {
    font-size: 24px; /*testo*/
}

.fs-22 {
    font-size: 22px; /*testo*/
}

.fs-20 {
    font-size: 20px; /*testo*/
}

.fs-18 {
    font-size: 18px; /*testo*/
}

.fs-16 {
    font-size: 16px; /*testo*/
}

.fs-14 {
    font-size: 14px; /*testo*/
}

.fs-13 {
    font-size: 13px; /* Dimensione corrispondente a fs-6 in Bootstrap */
}

.fs-12 {
    font-size: 0.75rem; /* Dimensione corrispondente a fs-6 in Bootstrap */
}

.fs-11 {
    font-size: 11px;
}

.fs-10 {
    font-size: 10px;
}

.fs-9 {
    font-size: 9px;
}

/* CSS personalizzato per gestire la larghezza su dispositivi sm e superiori */
/*sm == breakpoint telefono*/
@media (min-width: 375px) and (max-width: 575px){

    .dim-voto-r {
        width: 17px;
        height: 17px;
        color: white;
        background-color: var(--colore-critica);
    }

}


@media (min-width: 576px) {
    /*immagini*/
    .w-sm-img {
        width: 100px;
    }

    .h-sm-img {
        width: 225px;
    }
    /*width*/
    w-cmt {
        width: 700px;
    }

    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-90 {
        width: 90% !important;
    }

    .w-sm-80 {
        width: 80% !important;
    }

    .w-sm-70 {
        width: 70% !important;
    }

    .w-sm-60 {
        width: 60% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-40 {
        width: 40% !important;
    }

    .w-sm-30 {
        width: 30% !important;
    }

    .w-sm-20 {
        width: 20% !important;
    }

    .card-sm {
        max-width: 375px;
    }

    .fs-small {
        font-size: 12px;
    }

    .max-w-editor {
        min-width: 550px !important;
        max-width: 550px !important;
    }

    .max-h-editor {
        min-height: 650px !important;
        max-height: 650px !important;
    }

    .fs-titolo { /*titolo dettaglio risorsa */
        font-size: 32px !important;
    }
    

    .dim-voto {
        min-width: 25px;
        height: 25px;
        color: white;
        background-color: var(--colore-critica);
    }

    .dim-voto-r {
        width: 22px;
        height: 22px;
        color: white;
        background-color: var(--colore-critica);
    }

    .titolo-r {
        font-size: 18px;
    }
    .overflow-avatar {
        overflow-y: scroll;
    }
}

@media (max-width: 576px) {
    .wrapper-md {
        margin-top: 20% !important /*da 50 a 20*/
    }

    .fs-small {
        font-size: 12px;
    }

    .card-w {
        max-width: 100% !important;
    }

    #tabsnopadding .rz-tabview-panel {
        padding: 5px !important;
    }


    .max-w-editor {
        max-width: 300px !important;
        min-width: 300px !important;
    }

    .max-h-editor {
        min-height: 450px !important;
        max-height: 450px !important;
    }


    .fs-titolo {
        font-size: 18px;
    }
    
    .dim-voto {
        min-width: 22px;
        height: 21px;
        color: white;
        background-color: var(--colore-critica);
        margin-bottom: 0px !important;
    }

    .dim-voto-r {
        width: 22px;
        height: 21px;
        color: white;
        background-color: var(--colore-critica);
    }

    .titolo-r {
        font-size: 16px;
    }

    .mt-editor {
        margin-top: 5rem !important
    }

    .w-cropper-dialog {
        width: 100% !important;
    }
}


/*md == breakpoint ipad*/
@media (max-width: 768px) {

    .order-md-1, .order-md-2 {
        order: initial;
    }

    .text-md-left {
        text-align: center;
    }


    .card-risorsa .titolo-risorsa {
        font-size: 0.9rem;
    }

    .card-risorsa .card-descrizione {
        font-size: 0.8rem;
    }

    /*.dialog-commenti {
        width: 450px !important;
        height: 600px !important;
    }*/
}

@media (min-width: 768px) {


    .card-w-md {
        max-width: 360px;
    }

    .fs-medium {
        font-size: 12px;
    }
    /*width*/
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-90 {
        width: 90% !important;
    }

    .w-md-80 {
        width: 80% !important;
    }

    .w-md-70 {
        width: 70% !important;
    }

    .w-md-60 {
        width: 60% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-40 {
        width: 40% !important;
    }

    .w-md-30 {
        width: 30% !important;
    }

    .w-md-20 {
        width: 20% !important;
    }
    .w-md-10 {
        width: 10% !important;
    }
}

/*lg ==  grandi ipad e piccoli pc */
@media (max-width: 992px) {
    .w-img {
        width: 90px;
    }

    .h-img {
        height: 135px;
    }

    .mt-dr { /*margin top dettaglio risorsa*/
        margin-top: 1rem !important;
    }

    .mt-cb { /*marign top box*/
        margin-top: 1rem !important;
    }
}

@media (min-width: 992px) {
    /*width*/
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-90 {
        width: 90% !important;
    }

    .w-lg-80 {
        width: 80% !important;
    }

    .w-lg-70 {
        width: 70% !important;
    }

    .w-lg-60 {
        width: 60% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-40 {
        width: 40% !important;
    }

    .w-lg-30 {
        width: 30% !important;
    }

    .w-lg-20 {
        width: 20% !important;
    }

    .card-w-lg {
        max-width: 400px;
    }

    .fs-large {
        font-size: 12px;
    }
    /* overflows*/
    .overflow-auto-lg {
        overflow: auto;
    }

   

   
   

    .mt-dr {
        margin-top: 3rem !important;
    }

    .max-w-editor {
        min-width: 700px !important;
        max-width: 700px !important;
    }
}


/*xl = pc e monitor*/
@media (max-width: 1200px) {
    .navbar-expand-custom .navbar-nav,
    .navbar-expand-custom .navbar-collapse {
        display: none !important; /* Nasconde navbar e collapse a schermi piccoli */
    }

    .navbar-expand-custom .navbar-toggler {
        display: inline-block; /* Mostra il toggler */
    }

    .overflow-auto-lg {
        overflow: inherit;
    }

  
}

@media (min-width: 1200px) {
    .max-w-cmt {
        max-width: 25.625rem;
    }

    .max-h-cmt {
        min-height: 720px;
        max-height: 720px;
    }

    .mheightcmtbox-lg {
        height: 500px;
    }

    .navbar-expand-custom {
        flex-flow: row nowrap;
        justify-content: flex-start;
    }

        .navbar-expand-custom .navbar-nav {
            flex-direction: row;
            width: auto;
            justify-content: flex-start;
        }

        .navbar-expand-custom .navbar-collapse {
            display: flex !important; /* Mostra navbar e collapse a schermi grandi */
            flex-basis: auto;
            justify-content: flex-start;
        }

        .navbar-expand-custom .navbar-nav .nav-item {
            padding-right: .5rem; /* O quanto spazio desideri tra gli elementi */
        }

        .navbar-expand-custom .nav-item,
        .navbar-expand-custom .nav-link {
            display: flex;
            align-items: center; /* Questo mantiene i link della navbar verticalmente centrati */
        }

        .navbar-expand-custom .navbar-toggler {
            display: none !important; /* Nasconde il toggler */
        }

    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-90 {
        width: 90% !important;
    }

    .w-xl-80 {
        width: 80% !important;
    }

    .w-xl-70 {
        width: 70% !important;
    }

    .w-xl-60 {
        width: 60% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-40 {
        width: 40% !important;
    }

    .w-xl-30 {
        width: 30% !important;
    }

    .w-xl-20 {
        width: 20% !important;
    }
}

/*classi radzen sovrascritte*/
.rz-dialog-confirm-buttons {
    justify-content: center;
    gap: 3rem !important;
}

.rz-dialog-alert-buttons {
    text-align: center !important;
}

.rz-dialog-confirm-buttons button:nth-child(2) {
    padding: 0.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    cursor: pointer;
    user-select: none;
    background-color: var(--light-gray) !important;
    border: none;
    border-radius: 5px !important;
    transition: .2s ease all;
    color: black !important;
    box-shadow: none !important;
    max-width: 100px !important;
}
    .rz-dialog-confirm-buttons button:nth-child(2):hover {
        background-color: var(--hover-gray) !important;
    }

    .rz-dialog-confirm-buttons button:nth-child(2):active {
        transform: scale(0.95);
    }
    

    .rz-dialog-alert-buttons .rz-primary, .rz-dialog-confirm-buttons .rz-primary {
    padding: .5rem;
    position: relative;
    margin: 0 0.5rem;
    cursor: pointer;
    user-select: none;
    background: var(--light-green) !important;
    border: none;
    border-radius: var(--border-radius-main) !important;
    transition: .2s ease all;
    color: white !important;
    box-shadow: none !important;
    min-width: 100px !important;
    max-width: 100px !important;
}
    .rz-dialog-alert-buttons .rz-primary:hover,
    .rz-dialog-confirm-buttons .rz-primary:hover {
        background-color: var(--hover-green) !important;
    }

    .rz-dialog-alert-buttons .rz-primary:active,
    .rz-dialog-confirm-buttons .rz-primary:active {
        transform: scale(0.95) !important;
    }



.elimina-popup .rz-primary {
    background: var(--danger-red) !important;
}

    .elimina-popup .rz-primary:hover {
        background-color: var(--hover-red) !important;
    }
/*css delle immagini e delle card*/
.card-risorsa {
    background-color: #F2F3F4;
    border-radius: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.titolo-risorsa {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.contenuto-risorsa {
    margin-top: -0.5rem; /* Riduce lo spazio sopra il testo */
}

.risorsa-img {
    height: 197.27px;
    object-fit: cover;
    margin-bottom: 0.25rem;
}

.card-descrizione {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem; /* Dimensione di partenza per il testo descrittivo */
}

/* Adattamento del testo per schermi più piccoli */


@media (max-width: 480px) {
    .card-risorsa .titolo-risorsa {
        font-size: 0.8rem;
    }

    .card-risorsa .card-descrizione {
        font-size: 0.7rem;
    }
}

.card-risorsa {
    background-color: #F2F3F4;
    border-radius: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem; /* Spazio tra le card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sottile ombra per profondità */
}



/*box risposta*/

.reply-input {
    width: 100%;
    max-width: 400px;
    margin-left: 10px;
    padding: 8px 16px;
    border: none;
    outline: none;
}

/*rating*/
.rating-control .rating-content {
    width: 240px;
    margin: 15px 0;
    min-height: 75px;
    padding: 0;
    text-align: center;
}

.e-bigger .rating-control .rating-content {
    width: 260px;
    margin: 15px 0;
    min-height: 75px;
    padding: 0;
    text-align: center;
}

.rating-control {
    margin: 6% auto;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/*Simone*/
/*card delle opere*/
.opere-nonfinite {
    border: 1px solid var(--lightest-grey);
    border-radius: var(--border-radius-main);
    transition: .2s ease all;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
}



.divider-custom {
    display: flex;
    align-items: center;
    text-align: center;
}

.divider-custom-line {
    flex-grow: 1;
    height: 1px;
    background-color: lightgray;
}

.divider-custom-text {
    padding: 0 10px;
}

.object-fit-cover {
    object-fit: cover;
    object-position: -100% 0;
    width: 100%;
    height: 100%;
}

.max-w-cmt {
    width: 350px;
}

.max-w-contenuto {
    max-width: 350px;
    min-width: 350px;
}


.cropped-img {
    position: absolute;
    top: 0px; /* Sposta l'immagine verso l'alto */
    left: 0px; /* Sposta l'immagine verso sinistra */
}

.crop-container {
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
}
.crop-container-p1 { /*immagine di pubblica risorsa 1*/
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
}
/*.crop-container-dr{*/ /*immagine di pubblica risorsa 1*/
    /*width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
}*/

/* Da 576px a 767px */
@media (min-width: 576px) and (max-width: 767px) {
    .max-w-cmt {
        width: 500px;
    }

    .max-w-contenuto {
        max-width: 500px;
        min-width: 500px;
    }

    .crop-container {
        width: 300px;
        height: 100px;
        overflow: hidden;
        position: relative;
    }
    .w-cropper-dialog {
        width: 500px !important;
    }
}

/* Da 768px a 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .max-w-cmt {
        width: 700px;
    }

    .max-w-contenuto {
        max-width: 700px;
        min-width: 700px;
    }

    .crop-container {
        width: 500px;
        height: 100px;
        overflow: hidden;
        position: relative;
    }
    .w-cropper-dialog {
        width: 750px !important;
    }
}

/* Da 1200px in su */
@media (min-width: 1200px) {
    .max-w-cmt {
        width: 700px;
    }

    .max-w-contenuto {
        max-width: 700px;
        min-width: 700px;
    }

    .crop-container {
        width: 500px;
        height: 100px;
        overflow: hidden;
        position: relative;
    }
    .w-cropper-dialog {
        width: 1000px !important;
    }
}



/*!!! Dettaglio Owner !!!*/
.border-lgray {
    border: 1px solid lightgray;
}

.w-profile-img {
    width: 75px;
    height: 75px;
}

@media (max-width: 575px) {
    .w-profile-img {
        width: 65px;
        height: 65px;
    }
}

/* Media query per schermi medi */
@media (min-width: 576px) and (max-width: 767px) {
    .w-profile-img {
        width: 65px;
        height: 65px;
    }
}

/* Media query per schermi grandi */
@media (min-width: 768px) and (max-width: 1199px) {
    .w-profile-img {
        width: 65px;
        height: 65px;
    }
}

/* Media query per schermi extra-large */
@media (min-width: 1200px) {
    .w-profile-img {
        width: 75px;
        height: 75px;
    }
}

/*Simone 30*/

/*Linea divider login e register*/

.divider-custom {
    display: flex;
    align-items: center;
    text-align: center;
}

.divider-custom-line {
    flex-grow: 1;
    height: 1px;
    background-color: lightgray;
}

.divider-custom-text {
    padding: 0 10px;
}





.fade-box-cc-top {
    background-image: linear-gradient(to bottom, white, transparent);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
}
.fade-box-cc-bottom {
    background-image: linear-gradient(to bottom, transparent, white);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

.no-scrollbar {
    /* Nascondi scrollbar in Firefox */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    /* Nascondi scrollbar in WebKit (Chrome, Safari, Edge) */
}

    .no-scrollbar::-webkit-scrollbar {
        display: none; /* Nasconde la scrollbar */
    }




/*avatar likes e followers*/


.freccia {
    color: black;
    font-weight: bold;
    height: 100%;
    width: 45px;
    font-size: 25px;
    text-align: center;
    top: 0;
    z-index: 3;
    cursor: pointer;
}