
body {
    --wp-admin-bar-height: 0px;
    --viewport-height: 100vh;
    --available-viewport-height: calc(var(--viewport-height) - var(--wp-admin-bar-height));
    font-family: "Sole Sans";
}

p:empty{
    display: none !important;
}

.wp-site-blocks *{
  transition: all .2s ease;
}

a,
button,
.wp-element-button{
  transition: all .2s ease;
}

a:hover,
button:hover,
.wp-element-button:hover {
 opacity: 0.7
}
.wp-block-button__link.wp-element-button {
    font-size:16px;
}
.no-decoration a{
    text-decoration:none !important;
}
.d-flex-fix {
    flex-grow: 0;
    flex-shrink: 0;
}
.wp-block-navigation .current-menu-item a{
    color: var(--wp--preset--color--red) !important;
}
.talenti-futuro-button-inverted,
.talenti-futuro-button-inverted:visited {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--testo);
    color: var(--wp--preset--color--testo);
}

.talenti-futuro-partecipa-login,
.talenti-futuro-partecipa-login:visited {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--testo);
    color: var(--wp--preset--color--testo);
}

.talenti-futuro-partecipa-register,
.talenti-futuro-partecipa-register:visited {
    background: var(--wp--preset--color--testo);
    border: 1px solid var(--wp--preset--color--testo);
    color: var(--wp--preset--color--white);
}

.txt-74to45 {
  font-size: clamp(45px, calc(36.71px + 2.59vw), 74px) !important;
}
.txt-60to32 {
  font-size: clamp(32px, calc(24px + 2.5vw), 60px) !important;
}
.txt-40to22 {
  font-size: clamp(22px, calc(16.86px + 1.61vw), 40px) !important;
}
.txt-32to22 {
  font-size: clamp(20px, calc(19.14px + 0.89vw), 32px) !important;
}
.txt-28to20 {
  font-size: clamp(20px, calc(17.71px + 0.71vw), 28px) !important;
}

#header-login {
    display: flex;
    gap: 12px;
}
#header-login a{
    text-decoration: none;
    font-size: 14px;
}
body .menu-mobile-container {
    width: 100%;
    height: var(--available-viewport-height);
    position: fixed;
    top: var(--wp-admin-bar-height);
    right: -700px;
    z-index: 200;
    transition: all 400ms ease-in-out;
    max-width: 600px;
}

body .menu-mobile-container, 
body .menu-mobile-open {
    display: none;
}

.menu-scroll{
    position: fixed;
    top: var(--wp-admin-bar-height); 
    left: 0;
    z-index: 15;
    width: 100%;    
}
.menu-scroll {
    transition: all 400ms ease-in-out;
}

.menu-scroll.fixed-off{
    top: var(--wp-admin-bar-height); 
} 
.menu-scroll.fixed-on {
    top: var(--wp-admin-bar-height);
}

.menu-mobile-container{

}
body:not(.page-template-wp-custom-template-pagina-blank) {
    padding-top: 99px;
}

footer a{
    text-decoration: none;
}

.back-top {
    position: fixed;
    top: max(60vh, 300px);
    right: 24px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    background-image: url("../images/back-top.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Header login */
#header-login {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    color: inherit;
    font-size: 14px;
    line-height: 1.2;
    margin: 8px 0;
}

#header-login a,
#header-login .header-user {
    color: inherit;
    text-decoration: none;
}

#header-login .header-user {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 16px;
    cursor: pointer;
}

#header-login .header-user::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

#header-login .user-modal {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 210;
    display: flex;
    flex-direction: column;
    min-width: 190px;
    padding: 10px 0;
    background: #fff;
    color: #1d1d1b;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#header-login:hover .user-modal,
#header-login:focus-within .user-modal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#header-login .user-modal a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 16px 8px 42px;
    color: #1d1d1b;
    background-position: 16px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    white-space: nowrap;
}

#header-login .user-modal a:hover {
    background-color: #f4f4f4;
    opacity: 1;
}

#header-login .prodotti {
    background-image: url("../images/prodotti.svg");
}

#header-login .archivio {
    background-image: url("../images/archivio.svg");
}

#header-login .account {
    background-image: url("../images/account.svg");
}

#header-login .logout {
    background-image: url("../images/logout.svg");
}

/* Footer modals */
.modal-backdrop {
    --bs-backdrop-opacity: 0.55;
}

#partecipaModal .modal-dialog,
#benvenutoModal .modal-dialog {
    max-width: 430px;
}

#partecipaModal .modal-content,
#benvenutoModal .modal-content {
    border: 0;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.talenti-futuro-video-modal-link,
.talenti-futuro-video-modal-link:visited {
    display: inline;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: transparent;
}

.talenti-futuro-video-modal .modal-content {
    border: 0;
    border-radius: 0;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.talenti-futuro-video-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 0;
    background: #fff;
}

.talenti-futuro-video-modal .modal-title {
    margin: 0;
    color: #1d1d1b;
    font-size: 22px;
    line-height: 1.2;
}

.talenti-futuro-video-modal .btn-close {
    flex: 0 0 auto;
    margin: 0;
    box-shadow: none;
}

.talenti-futuro-video-modal .modal-body {
    padding: 0;
}

.talenti-futuro-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.talenti-futuro-video-frame iframe,
.talenti-futuro-video-frame video,
.talenti-futuro-video-frame object,
.talenti-futuro-video-frame embed {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

#partecipaModal .modal-header,
#benvenutoModal .modal-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 38px 40px 34px;
    border-bottom: 0;
}

#partecipaModal .btn-close,
#benvenutoModal .btn-close {
    position: absolute;
    top: 18px;
    right: 18px;
    margin: 0;
    padding: 0;
    width: 18px;
    height: 18px;
    box-shadow: none;
}

#partecipaModal .modal-title,
#benvenutoModal .modal-title {
    margin: 0;
    color: #1d1d1b;
    font-size: 32px;
    line-height: 1.1;
}

#partecipaModal .modal-description,
#benvenutoModal .modal-description {
    display: block;
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.4;
}

#partecipaModal .modal-red,
#partecipaModal .modal-green {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

#partecipaModal .modal-red {
    background: var(--wp--preset--color--testo);
}

#partecipaModal .modal-green {
    background: var(--wp--preset--color--testo);
}

#form-login {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#form-login .form-input {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#form-login label {
    color: #1d1d1b;
    font-size: 14px;
    line-height: 1.2;
}

#form-login .form-control {
    height: 46px;
    border: 1px solid #d1d1d1;
    border-radius: 0;
    color: #1d1d1b;
    font-size: 15px;
    box-shadow: none;
}

#form-login .form-control:focus {
    border-color: #1d1d1b;
}

#form-login .show-pw {
    position: absolute;
    right: 14px;
    bottom: 12px;
    color: var(var(--wp--preset--color--testo););
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

#form-login .btn-primary {
    width: 100%;
    min-height: 48px;
    margin: 6px 0 0 !important;
    border: 0;
    border-radius: 0;
    background: var(--wp--preset--color--testo);
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.icon-social {
    display: flex;
    align-items: center;
    justify-content: center;    
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.icon-social .social-description {
    flex: 0 0 100%;
    margin: 0;
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.3;
}

.icon-social a {
    display: block;
    width: 34px;
    height: 34px;
    border: 1px solid #d1d1d1;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 17px 17px;
    text-decoration: none;
}
.socialLogin ul li a span.social-icon:before {
    content: "" !important;
}
#benvenutoModal .socialLogin  ul li a {
    background: transparent;
    background-position: center;    
}

.icon-social .social-fb {
    background-image: url("../images/social-facebook.svg") !important;
}

.icon-social .social-tw {
    background-image: url("../images/social-twitter.svg")  !important;
}

.icon-social .social-in {
    background-image: url("../images/social-linkedin.svg") !important;
}

.icon-social .social-gp {
    background-image: url("../images/social-google.svg") !important;
}

.no-account {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.3;
}

.no-account p {
    margin: 0;
    color: #5c5c5c;
}

.no-account-link {
    color: #e30613;
    text-decoration: none;
}

.round-50{
    min-width: 50px;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;

}
.round-50 p{
    padding-right: 3px;
}
.hp-slider-programma .tns-item > div {
    box-sizing: border-box;
}
.nav-left{
    /* transform: rotate(180deg); */
}
.nav-left,
.nav-right{
    cursor: pointer;
}

.nav-left[aria-disabled="true"],
.nav-right[aria-disabled="true"]{
    opacity: 0.4;
    cursor: default;
}

.tns-slider {
  display: flex;
  align-items: stretch;
}

.tns-item {
  display: flex !important;
  height: auto !important;
}

.tns-item > div {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

 @media screen and (max-width: 960px) {
    .nav-desktop{
        display: none
    }
    .header-loghi img{
        max-height: 22px;
        width: auto;
    }
    body:not(.page-template-wp-custom-template-pagina-blank) {
        padding-top: 90px;
    }

    .log-cdl{
        max-height: 26px;
        width: auto;

    }
    body.no-scroll{
        overflow-y: hidden;
    }
    body .menu-mobile-container.show {
        right: 0;
        transition: all 400ms ease-in-out;
    }
    .overlay-menu-mobile {
        position: fixed;
        top: var(--wp-admin-bar-height);
        left: 0;
        width: 100%;
        height: var(--available-viewport-height);
        background: rgba(0, 0, 0, 0.5);
        /* opacity: 0; */
        transition: opacity 0.3s ease-in-out;
        z-index: 199;
        pointer-events: none;
        display: none;
    }

    body .menu-mobile-container {
        display: block;
    }
    body .menu-mobile-open {
        display: block;
        position: relative;
        top:0;
    }
    .menu-scroll {
        top: var(--wp-admin-bar-height);
        position:fixed;
    }    
    .backgroundAdv .menu-scroll {
        top: calc(var(--wp-admin-bar-height) + 100px);
    }
    .menu-scroll > div{
        padding-top: 12px;
        padding-bottom:12px;
    }
   .menu-scroll.fixed-off,
    .menu-scroll.fixed-on {
        top: var(--wp-admin-bar-height);
        position:fixed;
    }

     .m-one-col {
    flex-direction: column;
  }

  .m-one-col > .wp-block-group:first-child,
  .m-one-col > .wp-block-group:last-child {
    flex: none;
    width: 100%;
  }
}

@media screen and (max-width: 575px) {
    .cover-hp {
        min-height: 60dvh !important;
    }   
    .cover-hp img {
        top: -80px !important;
    }

    .wp-block-button {
        width: 100%;
    }
    .wp-block-button a {
        width: 100% !important;
        display: block;
        text-align: center;
    }
    .m-center {
        justify-content: center;
    }
    .cover-hp .wp-block-cover__inner-container{
            width: 100vw;
        margin-left: -24px !important;
        margin-right: -24px !important;
        margin-bottom: -24px !important;
    }
    .cover-hp .wp-block-cover__inner-container > div{
        background: var(--wp--preset--color--testo);
        padding: 16px;
    }

    #partecipaModal .modal-dialog,
    #benvenutoModal .modal-dialog {
        margin: 16px;
    }

    #partecipaModal .modal-header,
    #benvenutoModal .modal-header {
        padding: 34px 24px 28px;
    }

    #partecipaModal .modal-title,
    #benvenutoModal .modal-title {
        font-size: 28px;
    }

    .no-account {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}

.talenti-futuro-du-filled-email-field .mailcheck-error {
    display: none !important;
}

.talenti-futuro-du-filled-field input {
    background-color: #E6E6E6 !important;
}

.talenti-futuro-du-filled-field input:focus {
    background-color: #E6E6E6 !important;
    border-color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
}

.talenti-futuro-wpforms-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.talenti-futuro-wpforms-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #7F7F7F;
    font-size: 16px;
    line-height: 1.35;
}

.talenti-futuro-wpforms-table th,
.talenti-futuro-wpforms-table td {
    padding: 8px 10px;
    border: 1px solid #7F7F7F;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.talenti-futuro-wpforms-table th {
    background: #F2F2F2;
    font-weight: 700;
}


.talenti-futuro-wpforms-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.talenti-futuro-wpforms-table th a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 500;
    color:#0F0F0F;
    color: inherit;
    text-decoration: none;
}
.talenti-futuro-wpforms-table th.talenti-futuro-wpforms-table-filter-active a{
    font-weight: 700;
}


.talenti-futuro-wpforms-table-sort {
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
}

.talenti-futuro-wpforms-table-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.talenti-futuro-wpforms-table-pagination a,
.talenti-futuro-wpforms-table-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border: 1px solid #7F7F7F;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}

.talenti-futuro-wpforms-table-pagination span {
    background: #111;
    border-color: #111;
    color: #fff;
}

.talenti-futuro-wpforms-table-pagination .talenti-futuro-wpforms-table-pagination-ellipsis {
    border-color: transparent;
    background: transparent;
    color: #111;
}

@media screen and (max-width: 767px) {
    .talenti-futuro-wpforms-table {
        min-width: 760px;
    }
}
