/*
 Theme Name:     Divi Child
 Theme URI:      http://www.cnmcomunicazione.com
 Description:    Divi Child
 Author:         CNM Comunicazione
 Author URI:     http://www.cnmcomunicazione.com
 Template:       Divi
 Version:        999.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

:root {
    --rosso: #dc283b;
}
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

* {
	text-wrap: pretty!important;
}

.sezione-sb .et_pb_column {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
	gap: 50px;
}

.sezione-card .et_pb_column {
    border-radius: 40px;
    padding: 0 20px 50px 20px;
    box-shadow: 0 7px 12px 7px #00000030;
}

.lswssp-logo-showcase .slick-slide {
    margin: 0 50px;
}

@media (max-width: 766px) {
.lswssp-logo-showcase .slick-slide {
    margin: 0 20px;
}
}

.lswssp-logo-showcase .slick-dots li button {
    border: none!important;
    width: 10px !important;
    height: 10px !important;
    background-color: #d9d9d9;
}

.lswssp-logo-showcase .slick-dots li.slick-active button {
    background: #dc283b !important;
}

/* FORM */
/* =========================
   STRUTTURA FORM CF7
========================= */

.wpcf7 form {
    width: 100%;
}

.wpcf7 form p {
    margin: 0 0 2rem;
}

.wpcf7 form label {
    display: block !important;
    width: 100%;
    margin: 0;
    position: relative;
}

/* wrapper interno dei campi CF7 */
.wpcf7 form .wpcf7-form-control-wrap {
    display: block !important;
    width: 100%;
}

/* display non messaggio di conferma invio */
.wpcf7 form.sent .wpcf7-response-output {
  display: none !important;
}

/* =========================
   GRIGLIA PRIMA RIGA
========================= */

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

.two-col > label {
    margin: 0;
}

@media (max-width: 766px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.one-col, .two-col {
    padding-bottom: 30px!important;
}

/* =========================
   LABEL FLOTTANTI
========================= */

.etichetta-form {
    position: absolute;
    top: 0;
    left: 16px;
    transform: translateY(-50%);
    display: inline-block;
    padding: 0 8px;
    border-radius: 6px;
    background: #ffffff !important;
    z-index: 2;
    line-height: 1;
    bottom: auto;
}

/* =========================
   CAMPI
========================= */

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0;
}

.wpcf7 form textarea {
    min-height: 340px;
    resize: vertical;
}

/* =========================
   PRIVACY / CHECKBOX
========================= */

.wpcf7 form .wpcf7-acceptance {
    display: block;
    margin-top: -0.5rem;
}

.wpcf7 form .wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0 !important;
}

.wpcf7 form .wpcf7-acceptance label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.wpcf7 form .wpcf7-acceptance input[type="checkbox"] {
    margin: 0 !important;
    flex: 0 0 auto;
    position: relative;
    top: 2px;
}

.wpcf7 form .wpcf7-list-item-label,
.wpcf7 form .privacytext,
span.privacytext {
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.45;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0 !important;
}

input[type="checkbox"] {
    margin-left: 0 !important;
}

/* =========================
   BOTTONE
========================= */

.wpcf7 form .wpcf7-submit {
    display: inline-block;
    width: auto;
}