﻿/* Stato disabilitato */
#btn_SendProva[disabled] {
    pointer-events: none;
    opacity: .8;
}

#btn_SendContattaci[disabled] {
    pointer-events: none;
    opacity: .8;
}



/* Spinner nel bottone */
.btn-style-seven {
    position: relative;
}

    .btn-style-seven .spinner {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 18px;
        height: 18px;
        border: 2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        display: none;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Durante il loading nascondo i testi del bottone e mostro lo spinner */
.btn-style-seven.is-loading .text-one,
.btn-style-seven.is-loading .text-two {
    opacity: 0;
}

.btn-style-seven.is-loading .spinner {
    display: block;
}

/* Flash di successo/errore sul bottone */
.btn-style-seven.flash-success, .btn-style-seven.flash-success:hover {
    box-shadow: 0 0 0 0 rgba(46,204,113,.7) !important;
    color: #fff !important;
    background: linear-gradient(to left, #2ecc71 0%, 2fab63 100%) !important;
}
    .btn-style-seven.flash-success::before {
        background: linear-gradient(to left, 2fab63 0%, #2ecc71 100%);
    }


.btn-style-seven.flash-error, .btn-style-seven.flash-error:hover {
    box-shadow: 0 0 0 0 rgba(231,76,60,.7) !important;
    background: #e74c3c !important;
    color: #fff !important;
}

.btn-style-seven.flash-success,
.btn-style-seven.flash-error {
    transition: background .2s, color .2s;
}

/* Alert form */
.form-alert {
    display: none;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.3;
}

    .form-alert.success {
        background: #eafaf1;
        border: 1px solid #2ecc71;
        color: #1e8449;
    }

    .form-alert.error {
        background: #fdecea;
        border: 1px solid #e74c3c;
        color: #a93226;
    }





.error-message {
    color: #b00020;
    font-size: 12px;
    margin: 6px 0;
    background: #fbd4d4;
    padding: 10px;
    border-radius: 8px;
}

.is-invalid {
    outline: 0;
    border-color: #b00020 !important;
    box-shadow: 0 0 0 2px rgba(176,0,32,.12);
}

.form-toast {
    position: relative;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

    .form-toast.toast-ok {
        background: #e9f7ef;
        color: #1e7e34;
        border: 1px solid #c7ebd6;
    }

    .form-toast.toast-error {
        background: #fdecea;
        color: #842029;
        border: 1px solid #f5c2c7;
    }




.scroll-to-top {
    border-radius: 4PX;
    bottom: 64px;
    right: 16px;
    width: 34px;
    height: 34px;
}

.service-block_five-more.variant {
    margin-top: 0 !important;
    margin-bottom: var(--margin-top-20);
}

.services-one_pattern-layer {
    background-size:cover;
}

.img-full-screen {
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
}


input.error, textarea.error {
    border: 1px solid red;
    background-color: #ffe6e6;
}

label.error {
    color: red;
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

input[type=checkbox], input[type=radio] {
    display:inline-block;
    vertical-align:top;
    margin-right:10px;
    width:20px;
    height:20px;
    cursor:pointer;
}

.page-title.detail-news {
    padding: 80px 0px 60px;
}
.blog-single.detail-news h1 {
    line-height: 80px;
    font-weight: 700;
    font-size: 55px;
    padding-bottom: 10px;
}

.blog-single.detail-news h2 {
    line-height: 40px;
    font-size: 35px;
    padding-bottom: 10px;
}

.blog-single.detail-news h3 {
    line-height: 30px;
    font-size: 25px;
    padding-bottom: 10px;
}

.team_one-image {
    height:380px
}

.recensioni-list .testimonial-block {
    padding: 10px;
    border: 1px solid #dedede;
    margin-bottom: 50px;
}