/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.card-home {
  position: relative;
  overflow: hidden;
}
.card-home::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  bottom: 20px;
  width: 50%;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  z-index: 2;
  pointer-events: none;
}


/* CONTACT FORM 7 — MINIMAL ELEGANT */

.form-contatti-elegante {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #000;
    font-family: 'Poppins';
}

/* ROW */
.form-contatti-elegante .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

/* CAMPI */
.form-contatti-elegante .cf7-col,
.form-contatti-elegante .cf7-field {
    width: 100%;
}

.form-contatti-elegante .cf7-field {
    margin-bottom: 28px;
}

/* LABEL */
.form-contatti-elegante label {
    display: block;
    margin-bottom: 0px;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* INPUT, SELECT, TEXTAREA */
.form-contatti-elegante input[type="text"],
.form-contatti-elegante input[type="email"],
.form-contatti-elegante input[type="tel"],
.form-contatti-elegante select,
.form-contatti-elegante textarea {
    width: 100%;
    height: 48px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 0;
    background: transparent;
    color: #000;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    box-shadow: none;
    transition: border-color 0.25s ease;
    box-sizing: border-box;
    margin-top: -20px;
}

/* TEXTAREA */
.form-contatti-elegante textarea {
    height: 130px;
    min-height: 130px;
    resize: vertical;
    line-height: 1.5;
}

/* PLACEHOLDER */
.form-contatti-elegante input::placeholder,
.form-contatti-elegante textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* SELECT */
.form-contatti-elegante select {
    color: #999;
    cursor: pointer;
}

.form-contatti-elegante select:valid {
    color: #000;
}

/* FOCUS */
.form-contatti-elegante input:focus,
.form-contatti-elegante select:focus,
.form-contatti-elegante textarea:focus {
    border-color: #000;
    outline: none;
    box-shadow: none;
}

/* SUBMIT */
.form-contatti-elegante .cf7-submit {
    margin-top: 45px;
    text-align: center;
}

.form-contatti-elegante input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 52px;
    padding: 0 30px;
    border: 1px solid #000;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Poppins';
}

/* HOVER */
.form-contatti-elegante input[type="submit"]:hover {
    background: #fff;
    color: #000;
}

/* MESSAGGI CF7 */
.form-contatti-elegante .wpcf7-not-valid-tip {
    margin-top: 7px;
    color: #000;
    font-size: 12px;
}

.form-contatti-elegante .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 15px 0;
    border: none;
    font-size: 13px;
}

/*  MOBILE  */

@media (max-width: 767px) {

    .form-contatti-elegante .cf7-row {
        grid-template-columns: 1fr;
        gap: 0px;
        margin-bottom: 10px;
    }

    .form-contatti-elegante .cf7-field {
        margin-bottom: 28px;
    }

    .form-contatti-elegante input[type="text"],
    .form-contatti-elegante input[type="email"],
    .form-contatti-elegante input[type="tel"],
    .form-contatti-elegante select {
        height: 46px;
        font-size: 14px;
    }

    .form-contatti-elegante textarea {
        height: 120px;
        min-height: 120px;
        font-size: 14px;
    }

    .form-contatti-elegante .cf7-submit {
        margin-top: 35px;
    }

    .form-contatti-elegante input[type="submit"] {
        width: 100%;
    }
}

/* PRIVACY */

.form-contatti-elegante .cf7-privacy {
    margin-top: 25px;
    color: #000;
    font-size: 13px;
    line-height: 1.6;
}

.form-contatti-elegante .cf7-privacy .wpcf7-list-item {
    margin: 0;
}

.form-contatti-elegante .cf7-privacy input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0 8px 0 0;
    vertical-align: -3px;
    accent-color: #000;
    cursor: pointer;
}

.form-contatti-elegante .cf7-privacy a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-contatti-elegante .cf7-privacy a:hover {
    text-decoration: none;
}

.testo-articolo a{
    text-decoration: underline;
  color:#836859;
}

a.wp-block-button__link:hover{
    color:#fff;
    opacity:80%;
}

.otgs-development-site-front-end{
    display:none!important;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0px!important;
    background-color: #f6f6f6!important;
}

.wpml-ls-legacy-list-horizontal a{
    background-color: #f6f6f6 !important;
}

/* =========================================
   FAQ - Gutenberg Details
   ========================================= */

.testo-articolo .wp-block-details {
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid #9f9f9f;
}

/* Ultima linea */
.testo-articolo .wp-block-details:last-child {
    border-bottom: 1px solid #9f9f9f;
}

/* Domanda */
.testo-articolo .wp-block-details summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 45px 15px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111111;
    cursor: pointer;
    list-style: none;
}

/* Nasconde il triangolino nativo */
.testo-articolo .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.testo-articolo .wp-block-details summary::marker {
    display: none;
}

/* Icona + */
.testo-articolo .wp-block-details summary::after {
    content: "+";

    position: absolute;
    right: 5px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 25px;
    font-weight: 300;
    line-height: 1;

    color: #111111;

    transition: transform 0.25s ease;
}

/* Icona quando aperto */
.testo-articolo .wp-block-details[open] summary::after {
    content: "-";
}

/* Risposta */
.testo-articolo .wp-block-details > :not(summary) {
    margin-top: 0;
}

.testo-articolo .wp-block-details > p {
    max-width: 900px;

    margin: 0;
    padding: 0 45px 24px 0;

    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    color: #555555;
}

/* Hover */
.testo-articolo .wp-block-details summary:hover {
    color: #555555;
}

/* Focus accessibile */
.testo-articolo .wp-block-details summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .testo-articolo .wp-block-details summary {
        padding: 18px 38px 18px 0;
        font-size: 16px;
    }

    .testo-articolo .wp-block-details summary::after {
        right: 2px;
        font-size: 22px;
    }

    .testo-articolo .wp-block-details > p {
        padding: 0 30px 20px 0;
        font-size: 15px;
        line-height: 1.6;
    }

}