/**
 * @file
 * Subtheme specific CSS.
 */
 /* Generali */
 /* Classe per stile pulsante submit enabled nel cv */
 #page {
    min-height: 100vh;
  display: flex;
  flex-direction: column;
 }
 .is-enabled {
    color: #fff!important;
    border: none!important;
    background-color: #1454F4!important;
    padding: 0.5rem 1.6rem!important;
 }
.ires-consulenti-menu,
.ires-consulenti-menu * {
    background: red;
    padding: 10px;
    color: white !important;
}
.navbar-users {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1)!important;
    height: 90px;
}
.navbar-users .row.region.region-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.navbar-users .row.region.region-top-header .navbar-brand{
    max-width: 250px;
}
.navbar-users .row.region.region-top-header #block-ires-theme-menuprofiloutente {
    width: fit-content;
}
.navbar-users .nav-link {
    color: #4D4D4D!important;
}
/* Pagina Login e Registrazione */
#user-login-form,
#user-register-form,
#user-pass {
    background-color: #fff;
    margin: 5%;
    padding: 5% 15%;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
}
#user-login-form h1,
#user-register-form h1,
#user-pass h1 {
    text-align: center;
    font-size: 29px;
    font-weight: 300;
    margin-bottom: 4%;
}
#user-login-form .login-subtitle,
#user-register-form .register-subtitle {
    text-align: center;
    font-weight: 300;
    font-size: 20px;
    color: #5D5D5D;
    margin-bottom: 4%;
}
#user-login-form .login-register-link,
#user-register-form .register-login-link {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 6%;
}
#user-login-form .login-register-link a,
#user-register-form .register-login-link a {
    font-weight: bold;
    color: #0B74DE;
}
#user-login-form .js-form-item,
#user-register-form #edit-account .js-form-item,
#user-login-form .login-forgot-password {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}
#user-login-form .js-form-item input,
#user-register-form .js-form-item input,
#user-pass .js-form-item input {
    border-radius: 0px;
    border: 1px solid #969696;
}
#user-login-form .login-forgot-password {
    font-size: 14px;
    color: #5D5D5D;
    font-weight: 300;
}
#user-login-form .login-forgot-password a{
    font-weight: bold;
    color: #0B74DE;
}
#user-login-form #edit-actions,
#user-register-form #edit-actions,
#user-pass #edit-actions {
    text-align: center;
    margin-top: 4%;
}
#user-login-form #edit-actions button,
#user-register-form #edit-actions button,
#user-pass #edit-actions button {
    background-color: #1454F4;
    margin-right: 20px;
    padding: 0.5rem 2.8rem;
    font-weight: 300;
}
#user-register-form #edit-account .js-form-item {
    margin-bottom: 40px!important;
}
#user-register-form .js-form-type-checkbox label{
    width: 100%;
    font-size: 16px;
    color: #5D5D5D !important;
    font-weight: bold;
}
#user-register-form .js-form-type-checkbox small{
    display: flex;
    width: 100%;
    font-size: 16px;
    color: #5D5D5D !important;
    font-weight: 300;
}
/* User pre reset */
#page-user-pre-reset {
    background-color: lightgray;
}
#page-user-pre-reset h2 {
    margin-bottom: 26px;
}
#page-user-pre-reset #user-pass-reset {
    text-align: center;
}
#page-user-pre-reset #user-form #edit-actions {
    text-align: center;
}
#page-user-pre-reset #user-pass-reset #edit-actions #edit-submit,
#page-user-pre-reset #user-form #edit-actions #edit-submit {
    width: 185px;
    text-align: center;
    background-color: #1454F4;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    margin-top: 30px;
}
#page-user-pre-reset #user-form .form-control {
    border-radius: 0px;
    border: 1px solid #969696;
}
#page-user-pre-reset #user-form .js-form-item {
    max-width: unset!important;
}
/* Pagina profilo utente */
.user-profile-cv .view-header:not(.stampa-cv-btn .view-header) {
    margin-top: 40px;
}
.user-profile-cv .view-empty {
    margin: 40px 0;
}
.user-profile-cv .view-header .user-profile-header,
.user-profile-cv .view-empty .user-profile-header,
.user-profile-cv .view-header:not(.stampa-cv-btn .view-header),
.user-profile-cv .view-empty:not(.stampa-cv-btn .view-header) {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    background-color: #EFF5FF;
    border: 1px solid #BEDBFF;
    border-radius: 5px;
    padding: 30px 40px 40px 40px;
}
.user-profile-cv .view-header:not(.stampa-cv-btn .view-header) {
    margin-bottom: 30px;
}
.user-profile-cv .view-header .user-profile-header .user-profile-header-text,
.user-profile-cv .view-empty .user-profile-header .user-profile-header-text,
.user-profile-cv .view-header .user-profile-header-text,
.user-profile-cv .view-empty .user-profile-header-text {
    display: flex;
    flex-direction: column;
    margin-right: auto;
}
.user-profile-cv .view-header .user-profile-header .user-profile-header-text .user-profile-title,
.user-profile-cv .view-empty .user-profile-header .user-profile-header-text .user-profile-title,
.user-profile-cv .view-header .user-profile-header-text .user-profile-title,
.user-profile-cv .view-empty .user-profile-header-text .user-profile-title {
    font-size: 31px;
    margin-bottom: 10px;
}
.user-profile-cv .view-header .user-profile-header .user-profile-header-text .user-profile-subtitle,
.user-profile-cv .view-empty .user-profile-header .user-profile-header-text .user-profile-subtitle,
.user-profile-cv .view-header .user-profile-header-text .user-profile-subtitle,
.user-profile-cv .view-empty .user-profile-header-text .user-profile-subtitle {
    color: #5D5D5D;
    font-weight: 200;
}
.user-profile-cv .view-header .user-profile-header .user-profile-header-btn a,
.user-profile-cv .view-empty .user-profile-header .user-profile-header-btn a,
.user-profile-cv .view-header .user-profile-header-btn a,
.user-profile-cv .view-empty .user-profile-header-btn a {
/* .user-profile-cv .stampa-cv-btn a{ */
    width: 185px;
    display: block;
    text-align: center;
    background-color: #1454F4;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
}
.user-profile-cv .stampa-cv-btn {
    margin-right: 20px;
}
.user-profile-cv .stampa-cv-btn a{
    width: 185px;
    display: block;
    text-align: center;
    background-color: #1454F4;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
}
.user-profile-cv .view-content.row {
    margin-right: 0!important;
    margin-left: 0!important;
    margin-top: 30px;
}
.user-profile-cv .view-content .views-row {
    background-color: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 40px;
}
.user-profile-cv .view-content .views-row .views-field{
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.user-profile-cv .view-content .views-row .views-label{
    font-size: 20px;
    font-weight: bold;
}
.user-profile-cv .view-content .views-row .field-content{
    font-size: 18px;
}
.user-profile-cv .view-footer .view-content.row,
.user-profile-cv .stampa-cv-btn .view-content.row{
    display: none;
}
/* .user-profile-cv .stampa-cv-btn .view-header{
    display: flex;
    justify-content: center;
    margin-bottom: 42px;
} */
.user-profile-cv .stampa-cv-btn .view-header a{
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-profile-cv .stampa-cv-btn .view-header a::before{
    content: '';
    display: inline-block;
    background-image: url('/sites/default/files/icone/print.png');
    width: 24px;
    height: 24px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 5px;
}
/* Pagina creazione e modifica curriculum vitae user */
.cv-form-section-title {
    font-weight: 300;
    margin: 60px auto;
}
.cv-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.cv-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 14%;
    height: 68px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    border: none;
    background: unset;
}
.cv-tab.is-active {
    font-weight: 500;
    color: #fff;
    background-color: #1454F4;
    border-radius: 12px;
}
.is-hidden {
    display: none !important;
  }
  
  .cv-panel .cv-nav {
    display: flex;
    justify-content: flex-start;   /* invece di space-between */
    gap: .5rem;
    margin-top: 1rem;
    border-top: 2px solid #EFEFEF;
    padding-top: 10px;
  }
  
  .cv-panel .cv-nav .cv-next {
    margin-left: auto;             /* spinge "Successivo" a destra */
  }
.cv-btn {
    border: none;
    background: none;
    cursor: pointer;
    user-select: none;
    color: #1454F4;
}
.cv-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}
.consulente-form-group {
    background-color: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 40px;
}
.consulente-form-group .form-control,
.consulente-form-group .form-select,
[id^="webform-submission-contact"] .form-control {
    border-radius: 0px;
    border: 1px solid #969696;
}
[id^="webform-submission-contact"] #edit-privacy--description {
    color: #4D4D4D;
}
.consulente-form-group:not(#form-cv-contatti) h3 {
    margin-bottom: 30px;
}
.consulente-form-group #field-passaporto-carta-identita-values thead,
.consulente-form-group .field-multiple-drag.paragraph-bullet,
.consulente-form-group .paragraph-top,
.consulente-form-group .tabledrag-toggle-weight-wrapper,
.consulente-form-group thead tr th:not(.field-label),
.consulente-form-group tbody tr .field-multiple-drag,
.consulente-form-group .field-multiple-table .field-label .paragraphs-actions {
    display: none;
}
.consulente-form-group:not(#field-passaporto-carta-identita-values) tr,
.consulente-form-group thead:not(#field-passaporto-carta-identita-values) tr {
    background: #fff!important;
}
.consulente-form-group thead:not(#field-passaporto-carta-identita-values) tr h4{
    color: #3b3b3b!important;
}
.consulente-form-group .field-multiple-table:not(#field-email-values) .field-label {
    padding: 30px 0px 0px 0px;
}
.consulente-form-group .field-multiple-table .field-label .paragraphs-actions h4 {
    margin: 0;
}
.consulente-form-group #field-passaporto-carta-identita-values .paragraph-type--passaporto-carta-identita {
    background-color: unset;
}
.consulente-form-group #edit-field-altri-titoli-studio-wrapper .clearfix,
.consulente-form-group #edit-field-altra-lingua-wrapper .clearfix,
.consulente-form-group #edit-field-esperienza-lavorativa-wrapper .clearfix {
    color: #fff!important;
}
.consulente-form-group #edit-group-diploma summary,
.consulente-form-group #edit-group-laurea summary,
.consulente-form-group #edit-group-dottorato summary,
.consulente-form-group #edit-field-altri-documenti-wrapper summary{
    pointer-events: none;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 30px;
    margin-bottom: 5px;
}
.consulente-form-group #edit-group-diploma summary::marker,
.consulente-form-group #edit-group-laurea summary::marker,
.consulente-form-group #edit-group-dottorato summary::marker,
.consulente-form-group #edit-field-altri-documenti-wrapper summary::marker{
    content: none;
}
.consulente-form-group #edit-field-titolo-studio-wrapper label {
    font-size: 1.5rem;
    font-weight: 400;
}
.consulente-form-group #edit-field-altra-lingua-wrapper .draggable .paragraphs-subform {
    display: flex;
    justify-content: space-between;
}
.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: 22%;
}
.consulente-form-group #edit-field-altra-lingua-wrapper .draggable .paragraphs-subform .field-group-fieldset legend {
    font-size: 15px;
    font-weight: 500;
}
.consulente-form-group #edit-field-esperienza-lavorativa-wrapper .draggable.paragraph-type--esperienza-lavorativa:not(:last-child),
.consulente-form-group #edit-field-altri-documenti-wrapper .draggable:not(:last-child),
.consulente-form-group #edit-field-altri-titoli-studio-wrapper .draggable.paragraph-type--altri-titoli-studio:not(:last-child),
.consulente-form-group #edit-field-altra-lingua-wrapper .draggable.paragraph-type--altra-lingua:not(:last-child) {
    border-bottom: 2px solid lightgray;
}
.consulente-form-group #edit-field-altri-titoli-studio-wrapper .draggable.paragraph-type--altri-titoli-studio:not(:last-child) td,
.consulente-form-group #edit-field-altri-documenti-wrapper .draggable:not(:last-child) td,
.consulente-form-group #edit-field-esperienza-lavorativa-wrapper .draggable.paragraph-type--esperienza-lavorativa:not(:last-child) td,
.consulente-form-group #edit-field-altra-lingua-wrapper .draggable.paragraph-type--altra-lingua:not(:first-child) td {
    padding-bottom: 40px;
}
.consulente-form-group #edit-field-altri-titoli-studio-wrapper .draggable.paragraph-type--altri-titoli-studio:not(:last-child) td,
.consulente-form-group #edit-field-altri-documenti-wrapper .draggable:not(:first-child) td,
.consulente-form-group #edit-field-esperienza-lavorativa-wrapper .draggable.paragraph-type--esperienza-lavorativa:not(:first-child) td,
.consulente-form-group #edit-field-altri-titoli-studio-wrapper .draggable.paragraph-type--altri-titoli-studio:not(:first-child) td,
.consulente-form-group #edit-field-altra-lingua-wrapper .draggable.paragraph-type--altra-lingua:not(:first-child) td {
    padding-top: 40px;
}
.table-hover > tbody > tr:hover > *,
.table-striped tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-accent-bg: #fff!important;
}
.cv-form-footer #edit-actions #edit-save-as-draft {
    font-weight: 300;
    padding: 0.5rem 1.6rem;
}
.cv-form-footer #edit-actions #edit-submit {
    font-weight: 300;
    padding: 0.5rem 1.6rem 0.5rem 2.5rem;
  }
.cv-form-footer #edit-actions #edit-save-as-draft {
    background-color: #1454F4;
    margin-right: 20px;
}
.cv-form-footer #edit-actions #edit-submit {
    background-color: transparent;
    color: #727272;
    border: 2px dashed #727272;
    position: relative;
}
.cv-form-footer #edit-actions #edit-submit::before {
    content: "";
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("/sites/default/files/icone/lock.png") no-repeat center;
    background-size: contain;
}
.cv-form-footer #edit-actions #edit-submit.is-enabled::before {
    display: none;
}
/* Contatti */
article .layout.layout--twocol-section.layout--twocol-section--50-50 {
    margin: 100px auto;
}
article .layout.layout--twocol-section.layout--twocol-section--50-50 #edit-actions-submit {
    font-weight: 500;
    color: #fff;
    background-color: #1454F4;
    border-radius: 12px;
    padding: 0.8rem 2rem;
}
/* Footer */
.site-footer {
    background: #fff!important;
    margin-top: auto;
}
.site-footer .region-footer-first {
    width: 100%;
}
.site-footer .region-footer-first .ires-footer{
    width: 100%;
}
.site-footer .region-footer-first .ires-footer .footer-copyright{
    font-size: 14px;
    font-weight: 300;
    color: #5D5D5D;
}
.site-footer .region-footer-first .ires-footer .footer-link-ires-piemonte,
.site-footer .region-footer-first .ires-footer .footer-link-contatti {
    font-size: 14px;
    color: #000;
    margin-left: 70px;
    text-decoration: none;
}
.site-footer .region-footer-first .ires-footer .footer-link-ires-piemonte:hover,
.site-footer .region-footer-first .ires-footer .footer-link-contatti:hover {
    text-decoration: underline;
}


/* Tooltip per pulsante disabilitato */
/* Wrapper tooltip e bottone */
.disabled-tooltip {
    position: relative;
    display: inline-block;
  }
  
  /* Il bottone disabilitato non deve catturare l'hover: lo fa il wrapper */
  .disabled-tooltip .js-conditional-submit[disabled] {
    pointer-events: none;
  }
  
  /* Bolla tooltip (nascosta di default) */
  .disabled-tooltip__bubble {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -10px);
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: .375rem;
    padding: .5rem .75rem;
    font-size: .875rem;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease, transform .12s ease, visibility .12s;
    pointer-events: none; /* evita hover locking */
  }
  
  /* Freccetta: interno bianco + leggero bordo */
  .disabled-tooltip__bubble::after,
  .disabled-tooltip__bubble::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    border: 7px solid transparent;
  }
  .disabled-tooltip__bubble::after { /* triangolo bianco */
    border-top-color: #fff;
  }
  .disabled-tooltip__bubble::before { /* bordo del triangolo */
    top: calc(100% + 1px);
    border-top-color: rgba(0, 0, 0, 0.25);
  }
  
  /* Mostra la bolla solo quando il wrapper è "disabilitato" */
  .disabled-tooltip.has-disabled:hover .disabled-tooltip__bubble,
  .disabled-tooltip.has-disabled:focus-visible .disabled-tooltip__bubble {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -14px);
  }
  
  /* Asterisco rosso e ben visibile */
  .disabled-tooltip__bubble .asterisk {
    color: #d22;
    font-weight: 700;
  }
  
/* Accessibilità */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 1rem;
    background: #000;
    color: #fff;
    z-index: 1000;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }