@media (max-width: 1024px) {
    .consulente-form-group #edit-field-altra-lingua-wrapper .draggable .paragraphs-subform {
        display: block;
    }
    .consulente-form-group #edit-field-altra-lingua-wrapper .draggable .paragraphs-subform .field--name-field-lingua, 
    .consulente-form-group #edit-field-altra-lingua-wrapper .draggable .paragraphs-subform fieldset {
        width: 100%;
    }
    #cv-tabs {
        max-width: 1024px;
        white-space: nowrap;
        overflow-x: auto;
      }
    #cv-tabs .os-content{
        display: flex;
        align-items: center;
        align-content: center;
    }
    .cv-tab {
        min-width: 140px;
        white-space: collapse;
        line-height: initial;
        margin-bottom: 15px;
        background-color: lightgray;
        border-radius: 12px;
    }
    .cv-tab:not(:last-child) {
        margin-right: 12px;
    }
    .node-curriculum-vitae-edit-form .content.clearfix.row{
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        display: unset!important;
        flex-wrap: unset!important;
        margin-top: unset!important;
        margin-right: unset!important;
        margin-left: unset!important;
    }
    /* Altezza scrollbar */
    #cv-tabs.os-theme-dark > .os-scrollbar-horizontal {
        height: 14px;
    }
    #cv-tabs.os-theme-dark > .os-scrollbar-horizontal > .os-scrollbar-track {
        height: 100%;
        border-radius: 8px;
    }
    #cv-tabs.os-theme-dark > .os-scrollbar-horizontal .os-scrollbar-handle {
        height: 100%;
        min-height: 0;
        border-radius: 8px;
    }
    /* Colore scrollbar */
    #cv-tabs.os-theme-dark > .os-scrollbar-horizontal > .os-scrollbar-track,
    #cv-tabs.os-theme-dark > .os-scrollbar-vertical > .os-scrollbar-track {
        background: #eef1f7;
        border-radius: 8px;
    }
    #cv-tabs.os-theme-dark .os-scrollbar-handle {
        background: #1454f4;
        border-radius: 8px;
    }
    #cv-tabs.os-theme-dark .os-scrollbar-handle:hover { background: #6848ff; }
    #cv-tabs.os-theme-dark .os-scrollbar-handle:active { background: #5638e6; }
    /* Contatti */
    .layout.layout--twocol-section.layout--twocol-section--50-50 {
        flex-direction: column;
    }
}
@media (max-width: 991px) {
    /* .user-profile-cv .view-header .user-profile-header,
    .user-profile-cv .view-empty .user-profile-header {
        flex-direction: column;
    }
    .user-profile-cv .view-header .user-profile-header .user-profile-header-text,
    .user-profile-cv .view-empty .user-profile-header .user-profile-header-text {
        margin-bottom: 40px;
    } */
    .user-profile-cv .view-header {
        flex-wrap: wrap;
    }
    .user-profile-cv .view-header .user-profile-header-text {
        width: 100%;
        margin-bottom: 30px;
    }
}
@media (max-width: 767px) {
    .site-footer .region-footer-first .ires-footer{
        display: flex;
        flex-direction: column;
    }
    .site-footer .region-footer-first .ires-footer .footer-copyright {
        text-align: center;
    }
    .site-footer .region-footer-first .ires-footer .footer-link-ires-piemonte,
    .site-footer .region-footer-first .ires-footer .footer-link-contatti {
        text-align: center;
        margin-left: 0px;
        margin-top: 10px;
    }
}
@media (max-width: 600px) {
    .site-footer .region-footer-first .ires-footer{
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .site-footer .region-footer-first .ires-footer .footer-link-ires-piemonte,
    .site-footer .region-footer-first .ires-footer .footer-link-contatti {
        margin-left: unset;
    }
    .site-footer .region-footer-first .ires-footer .footer-copyright,
    .site-footer .region-footer-first .ires-footer .footer-link-ires-piemonte {
        margin-bottom: 20px;
    }
}
@media (max-width: 504px) {
    .navbar-users .row.region.region-top-header {
        flex-direction: column;
    }
    .navbar-users {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
        height: 120px;
    }
    .user-profile-cv .stampa-cv-btn {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }
    .user-profile-cv .user-profile-header-btn {
        width: 100%;
    }
    .user-profile-cv .stampa-cv-btn a,
    .user-profile-cv .user-profile-header-btn a{
        margin: auto;
    }
}
@media (max-width: 410px) {
    .cv-utente-data .field,
    .cv-utente-data .field.field-presentazione {
        flex: 0 1;
    }
}