.wpcf7-spinner {
    display: none;
}

.adl-widget-iconbox .icon-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.adl-widget-iconbox.icon-right .icon-wrapper {
    justify-content: end;
} 

.adl-widget-iconbox.icon-center .icon-wrapper {
    justify-content: center;
} 

.adl-widget-iconbox .title {
    font-weight: 600;
    text-transform: uppercase;
}

.adl-widget-iconbox .body {
    color: #fff;
}


/*******************************************************************************
                                                                          Popups
TODO ZZ Move to its own CSS
*/

.adl-popup-wrapper form {
    max-width: 800px;
}

.adl-popup-wrapper .adl-widget-boxedform .roundbox-outer {
    background-color: #2468FF;
    border-color: #2468FF;
}

.adl-popup-wrapper .adl-widget-boxedform .roundbox-wrapper {
    background-color: #1F1F1F;
    border-color: #2468FF;
    border-width: 5px;
}

.adl-popup-wrapper .adl-widget-boxedform .bullets-wrapper {
    border-color: #2468FF;
    background-color: #2468FF;
    border-width: 5px;
}

.adl-popup-wrapper.boxed .title {
    margin-bottom: 10px;
    color: var(--abv--colors--main);
    font-size: 25px;
}

.adl-popup-wrapper.boxed small {
    display: inline-block;
    line-height: 120%;
}

.adl-popup-content .title {
    font-size: 125%;
    color: white;
    font-weight: 600;
}

/*.adl-popup-wrapper.boxed.blue .adl-popup-content {
    background-color: #0b68cb;
    border-color: #0b68cb;
}

.adl-popup-wrapper.boxed.blue .adl-popup-content {
    background-color: #0b68cb;
    border-color: #0b68cb;
}

.adl-popup-wrapper.boxed.yellow .adl-popup-content {
    background-color: #ffba1a;
    border-color: #ffba1a;
    color: #1f1f1f;
}

.adl-popup-wrapper.boxed.orange .adl-popup-content {
    background-color: #f76808;
    border-color: #f76808;
}

.adl-popup-wrapper.boxed.red .adl-popup-content {
    background-color: #e93d82;
    border-color: #e93d82;
}

.adl-popup-wrapper.boxed.yellow .title {
    color: #1f1f1f;
}*/

/*.adl-popup-wrapper.blue button.resend-email {
    background-color: white;
    color: var(--abv--colors--main);
}*/

/*******************************************************************************
                                                                          Pop-Up
*/

.adl-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.adl-popup-wrapper .adl-popup-content {
    position: relative;
}

.adl-popup-wrapper.boxed .adl-popup-content {
    background-color: #1f1f1f;
    padding: 50px;
    border: #2468ff 5px solid;
    border-radius: 60px;
    max-width: 550px;
}

.adl-popup-wrapper .adl-close-button {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1f1f1f;
    border: 3px solid var(--abv--colors--main);
    border-radius: 100%;
    top: -20px;
    right: 0;
    cursor: pointer;
    font-weight: 800;
    color: white;
}
/*******************************************************************************
                                                                          Slider
*/

.adl-widget-slider {
    width: 100%;
    overflow: hidden;
    color: white;
    position: relative;
}

.adl-widget-slider .adl-slide, .adl-widget-slider .adl-slide-body {
    width: 100%;
}

.adl-widget-slider .adl-slide-image {
    padding-top: 45%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 24px;
}

.adl-widget-slider .adl-slides-wrapper {
    display: block;
    width: 100%;
}

.adl-widget-slider .nav-button {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.adl-widget-slider .nav-button svg {
  display: block;
  width: 100%;
  height: 100%;
}

.adl-widget-slider .nav-button.nav-prev {
    left: -5px;
}

.adl-widget-slider .nav-button.nav-next {
    right: -5px;
}

.adl-widget-slider .adl-image-reel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
}

.adl-widget-slider .adl-image-reel, .adl-widget-slider .adl-text-reel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: left 0.5s linear;
    position: relative;
    z-index: 0;
}

.adl-widget-slider .title {
    font-weight: 600;
    margin-top: 15px;
}

/*******************************************************************************
                                                                     Rounded box
*/

.adl-widget-roundedbox {
    border-radius: 20px;
    padding: 20px 25px;
}

.adl-widget-roundedbox .box-content {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.adl-widget-roundedbox .icon {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.adl-widget-roundedbox .title,
.adl-widget-roundedbox .body {
    color: inherit;
}

.adl-widget-roundedbox .title {
    font-weight: 600;
}

/*******************************************************************************
                                                           Multi purpose CTA box
*/

.content-wrapper {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 8px;
  padding-right: 40px;
  height: 100%;
}

.adl-widget-imagectabox {
    position: relative;
    width: 100%;
    border-top-style: solid;
    padding: 20px;
}

.adl-widget-imagectabox .icon-sx {
    position: absolute;
    top: 12px;
    left: 12px;
}

.adl-widget-imagectabox .icon-dx {
    position: absolute;
    top: 12px;
    right: 12px;
}

.adl-widget-imagectabox.image-top .image-content {
    text-align: center;
}

.adl-widget-imagectabox.image-top .image-content img {
    width: auto;
    max-height: 100%;
    margin: 20px 0;
}

.adl-widget-imagectabox .title {
    font-weight: 600;
    line-height: 100%;
    margin-bottom: 15px;
}

.adl-widget-imagectabox .cta-wrapper {
    margin-top: 20px;
}

.adl-widget-imagectabox.image-right, 
.adl-widget-imagectabox.image-left {
    display: grid;
    gap: 15px;
}

.adl-widget-imagectabox.image-right .content-wrapper,
.adl-widget-imagectabox.image-left .content-wrapper {
    height: 100%;
}

.adl-widget-imagectabox.image-right .content-wrapper .body,
.adl-widget-imagectabox.image-left .content-wrapper .body {
    flex: 1;
}

.adl-widget-imagectabox.image-right img, 
.adl-widget-imagectabox.image-left img {
    margin: 0;
}

.adl-widget-imagectabox.image-right {
    grid-template-columns: 1fr 40%;
}

.adl-widget-imagectabox.image-right .image-wrapper,
.adl-widget-imagectabox.image-left .image-wrapper {
    width: 100%;
}

.adl-widget-imagectabox.image-right .image-wrapper {
    order: 1;
}

.adl-widget-imagectabox.image-left {
    display: grid;
    grid-template-columns: 40% 1fr;
}

.adl-widget-imagectabox.image-left .image-wrapper {
    width: 100%;
}

.noscrollbar::-webkit-scrollbar {
    display: none;
}


/*******************************************************************************
                                                                      Boxed form
*/

.adl-widget-boxedform .roundbox-outer {
    border-radius: 60px 60px 0 60px;
    position: relative;
    overflow: hidden;
}

.adl-widget-boxedform .roundbox-wrapper {
    border-style: solid;
    z-index: 1;
    border-radius: 60px;
}

.adl-widget-boxedform .form-reel form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    transition: left 0.5s ease-in;
}

.adl-widget-boxedform .form-reel form > p {
    display: none;
}

.adl-widget-boxedform .form-reel form section {
    padding: 40px;
}


.adl-widget-boxedform .form-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 15px;
    height: 60px;
}

.adl-widget-boxedform .form-header .icon {
    display: inline-block;
}

.adl-widget-boxedform .form-header .title {
    font-weight: 600;
    color: white;
    font-size: 32px;
}

.adl-widget-boxedform .icon img {
    height: 32px;
    width: auto;
}

.adl-widget-boxedform .bullets-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: fit-content;
    padding: 10px 15px 10px 15px;
    border-style: solid;
    border-radius: 0 0 10px 10px;
}

.adl-widget-boxedform .boxedform-footer {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.adl-widget-boxedform .bullets-wrapper .bullet {
    width: 17px;
    height: 17px;
    background-color: white;
    border-radius: 100%;
}

.adl-widget-boxedform .bullets-wrapper .bullet.current {
    width: 17px;
    height: 17px;
    background-color: black;
    border-radius: 100%;
}

.adl-widget-boxedform .form-claim {
    margin-bottom: 30px;
    color: var(--abv--colors--main);
    font-size: 25px;
    line-height: 110%;
}

.adl-widget-boxedform .button.next,
.adl-widget-boxedform input[type="submit"] {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    background-color: var(--abv--colors--main);
    padding: 5px;
    cursor: pointer;
    font-family: "Saira", sans-serif;
}

.adl-widget-boxedform .section-2 .section-header {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-bottom: 35px;
}

.adl-widget-boxedform .section-2 .section-header img {
    height: 22px;
}

.adl-widget-boxedform .section-2 .item .circle {
    width: 15px;
    height: 15px;
    border: 2px solid var(--abv--colors--main);
    border-radius: 100%;
    line-height: 15px;
    cursor: pointer;
    display: block;
    padding: 2px;
}

.item {
    cursor: pointer;
}

.item input[type="radio"]:checked + .circle {
    background-color: var(--abv--colors--main);
}

.adl-widget-boxedform .section-2 .item {
    display: flex;
}

.adl-widget-boxedform .section-2 .radio-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 15px;
    margin-bottom: 15px;
}

.adl-widget-boxedform .section-2 .radio-wrapper .label {
    color: white;
    font-size: 14px;
    padding-left: 6px;
}

.adl-widget-boxedform .section-2 .radio-wrapper .label {
    color: white;
    font-size: 14px;
    padding-left: 6px;
}

.adl-widget-boxedform .section-2 span.wpcf7-list-item {
    margin-left: 0;
}

.adl-widget-boxedform .section-2 .wpcf7-list-item-label::before {
    width: 15px;
    height: 15px;
    border: 2px solid var(--abv--colors--main);
    display: inline-block;
    margin-right: 10px;
    padding: 2px;
}

.adl-widget-boxedform input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: var(--abv--colors--main) content-box;
}

.adl-widget-boxedform .boxedform-footer .text {
    font-size: 10px;
    margin-top: 15px;
    padding-left: 60px;
    flex: 1;
}

.adl-widget-boxedform input,
.adl-widget-boxedform textarea {
    font-size: 18px;
}

.adl-widget-boxedform .blue-text {
    color: var(--abv--colors--main);
    margin-bottom: 15px;
}

.wpcf7-response-output {
    display: none;
}

.adl-popup-content button {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    background-color: var(--abv--colors--main);
    padding: 5px;
    cursor: pointer;
    font-family: 'Saira', sans-serif;
    color: white;
    margin-top: 35px;
}

.wpcf7-form-control-wrap[data-name="azienda-text"] input {
    display: none;
}

.wpcf7-form-control-wrap[data-name="azienda-text"] .wpcf7-not-valid-tip {
    left: 0;
    right: auto;
}

@media screen and (max-width: 750px) {
    .adl-widget-boxedform .section-2 .radio-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .form-home .adl-widget-boxedform .form-reel form {
        grid-template-columns: 50% 50%;
    }
    
    .adl-widget-boxedform .wpcf7-acceptance label {
        white-space: normal;
    }
    
    .adl-popup-wrapper .adl-popup-content {
        max-width: calc(100% - 20px);
    }
    
    .adl-widget-boxedform .form-reel form section {
        padding: 15px;
    }
    
    .adl-widget-boxedform .form-claim {
        font-size: 22px;
    }
    
    .adl-widget-imagectabox.image-left.has-flow {
        grid-template-columns: 100%;
    }

    .adl-widget-imagectabox.image-left.has-flow .image-content > img {
        max-width: 40%;
    }
    
    .adl-widget-imagectabox.image-right {
        grid-template-columns: 100%;
    }

    .adl-widget-imagectabox.image-right .image-wrapper {
        grid-column: 1;
        grid-row: 1;
        max-width: 40%;
    }
    
    .wpcf7 .button-wrapper {
        position: relative;
    }

    .button-wrapper .wpcf7-spinner {
        position: absolute;
        top: calc(50% - 12px);
        left: calc(50% - 36px);
    }

    .button-wrapper .wpcf7-spinner::before {
        visibility: visible;
        top: calc(50% - 6px);
        left: calc(50% - 6px);
        transform: translate(-50%, -50%);
    }
}