/*
    Theme Name:         ASSISTENZA DEPURATORI
    Text Domain:        assistenzadepuratori
    Version:            0.1
    Description:        Template di ASSISTENZA DEPURATORI.
    Tags:               assistenza, depuratori, assistenza depuratori
    Author:             Nanz
    Author URI:         https://www.nanz.it/
    Theme URI:          https://www.nanz.it/
    Version:            1.0 
    License:            GNU General Public License version 3.0
    License URI:        http://www.gnu.org/licenses/gpl-3.0.html
*/

/* GENERALI */

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -webkit-text-size-adjust: 100%;
}
*:focus {
    outline: none
}
:root {
    --bianco: #FFFFFF;
    --grigio: #F2F2F2;
    --celeste: #80a6ff;
    --nero: #222222;
    --azzurro: #2f6dff;
    --blu: #0b40db;
}
html {
    scroll-behavior: smooth;
}
body { 
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: var(--nero);
}
h1, h2, h3 {
    color: var(--azzurro);
    margin: 5px 0 0 0;
    font-weight: 300;
    line-height: 1.1;
    font-size: 30px;
}
img {
    vertical-align: bottom;
}
strong {
    font-weight: 700;
}
a {
    color: var(--azzurro);
    -webkit-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out
}
a:hover {
    color: var(--blu);
}
.centrato {
    text-align: center;
}
.piccolo {
    font-size: 16px;
}
.nero {
    color: var(--nero);
    text-decoration: none;
}
.celeste {
    color: var(--celeste);
    text-transform: uppercase;
}
.celeste strong {
    font-weight: 500;
}
.inside {
    max-width: 1200px;
    margin: 30px auto;
}
.flex {
    display: flex;
    flex-direction: column;
}
.flex-row-mob {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.responsive {
    width: 100%;
    height: auto !important;
}
.piccola {
    max-width: 200px;
    float: left;
    margin-bottom: 20px;
}
.pdg-20 {
    padding: 20px;
}
.bg-azzurro {
    background-color: var(--azzurro);
    color: var(--bianco);
}
.bg-blu {
    background-color: var(--blu);
    color: var(--bianco);
}
.bg-azzurro h2,
.bg-blu h2 {
    color: var(--bianco);
    font-weight: 600;
    margin-bottom: 0;
}
footer {
    background-color: var(--blu);
    color: var(--bianco);
	padding: 20px;
}
header a, footer a {
    color: var(--bianco);
    text-decoration: none;
}
header {
    padding: 10px 20px;
}
footer a:hover {
    color: var(--bianco);
	text-decoration: underline
}
a.button {
    display: inline-block;
    text-align: center;
    word-break: break-word;
    padding: 11px 30px;
    background-color: var(--azzurro);
    color: var(--bianco);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
a.button:hover {
    background-color: var(--blu);
    color: var(--bianco);
}
.flex-2-768 div.doppia-testo span {
    display: block;
    margin: 20px 0 40px 0;
} 
.flex-2-768 div.doppia-testo ul {
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}
.flex-2-768 div.doppia-testo ul li {
    margin: 7px 0;
}
.flex-2-768 div.doppia-testo ul li:before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #4BAE4F;
}
.maxwidth {
    max-width: 768px; 
    margin: 0 auto;    
}
#modulo, #faq {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* FORM */

#wpcf7-f10-o1 {
    padding:0 !important;
}
form {
    display: block;
    margin: 50px auto 10px auto;   
}
form label {
    font-size: 16px;
    display: block;
	text-align: left
}
form input[type=text], 
form input[type=tel], 
form input[type=email], 
form textarea {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    margin: 10px 0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
form textarea {
    resize: none;
    height: 100px;
}
form input[type=checkbox] {
    width: 14px;
    height: 14px;
    background-color: var(--bianco);
	-webkit-appearance: auto;
	margin-right: 10px
}
.wpcf7-list-item {
    margin-left: 0
}
form input[type=submit] {
    border: none;
    margin-bottom: 10px;
    display: inline-block;
    text-align: center;
	text-transform: uppercase;
    word-break: break-word;
    padding: 11px 30px;
    background-color: var(--azzurro);
    color: var(--bianco);
    font-size: 15px;
    font-weight: 600;
	letter-spacing: 3px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.screen-reader-text {
    display: none;
}

/* Accordion FAQ */

#faq {
    color: #ffffff !important;
}
.accordion {
    background-color: var(--azzurro);
    background-image: url('img/piu.svg');
    background-position: right 15px center;
    background-repeat: no-repeat;
    color: #ffffff !important;
    cursor: pointer;
    padding: 20px 40px 20px 15px;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: solid 1px var(--bianco);
    outline: none;
    transition: 0.4s;
    font-size: 16px;
}
.active, .accordion:hover {
    background-color: var(--blu);
}
.panel {
    font-size: 16px;
    padding: 0 20px;
    background-color: white;
    color: var(--nero);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.active {
    background-image: url('img/meno.svg');
}
#faq .noborder {
    border: none;
}
.icona {
    max-width: 60px;
}
.wpcf7-spinner {
    display: none
}
#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: none
}
.wpcf7-acceptance .wpcf7-list-item {
    display: block;
}
.wpcf7-acceptance .wpcf7-list-item label {
	font-size: 14px;
	text-align: left;	
    width: 100%;
	display: flex;
	margin-bottom: 30px;
}
.wpcf7-acceptance .wpcf7-list-item-label a,
.wpcf7-acceptance .wpcf7-list-item-label a:hover {
	color: var(--bianco)
}

/* Hamburger Button */

.hamburger {
    width: 20px;
    height: 20px;
    padding: 0;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible; 
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #ffffff; 
}
.hamburger-box {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative; 
}
.hamburger-inner {
    display: block;
    top: 50%
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; 
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; 
}
.hamburger-inner::before {
    top: -8px; 
}
.hamburger-inner::after {
    bottom: -8px; 
}
.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}
.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease; 
}
.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--squeeze.is-active .hamburger-inner {
    background-color: #fecb00;
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
}
.hamburger--squeeze.is-active .hamburger-inner::before {
    background-color: #fecb00;
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease; 
}
.hamburger--squeeze.is-active .hamburger-inner::after {
    background-color: #fecb00;
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); 
}


@media screen and (min-width: 480px) {
    body {
        font-size: 18px;
    }
}

@media screen and (min-width: 600px) {

}

@media screen and (min-width: 768px) {
    .flex-row-768 {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .flex-2-768 div {
        flex-basis: 48%;
    }
    .flex-inverti {
        flex-direction: row-reverse;
    }    
    .piccola {
        max-width: 300px;
        float: none;
        margin-bottom: 0;
    }
    .parallax {
        /* The image used */
        background-image: url("img/bollicine.jpg");

        /* Set a specific height */
        min-height: 500px;

        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media screen and (min-width: 1024px) {
    h1 {
        font-size: 40px;
    }
    h2, h3 {
        font-size: 35px;
    }
}