/*
    Theme Name:         OVERC 2025
    Text Domain:        overc
    Version:            0.1
    Description:        Template di OVERC.
    Tags:               ecommerce, siti internet, web marketing, social media, google ads, grafica, web
    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;
    --nero: #000000;
    --arancione: #F15A24;
}
html {
    scroll-behavior: smooth;
}
body { 
    min-height: 100vh;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: "DM Sans", serif;
    font-size: 18px;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--nero);
}
h1, h2, h3 {
    font-weight: 500;
    color: var(--arancione);
    margin: 5px 0 0 0;
}
h1, h2 {
    font-size: 26px;
}
h3 {
    font-size: 19px;
}
p.sottotitolo {
    margin-top: 0;
}
strong {
    font-weight: 500;
}
a {
    color: var(--nero);
}
a:hover {
    color: var(--arancione);
}
.flex {
    display: flex;
}
.column {
    flex-direction: column;
}
.max-size {
    max-width: 1024px;
    margin: 0 auto;
    padding: 100px 20px;
}
.responsive {
    width: 100%;
    height: auto !important;
}
.bg-nero {
    background-color: var(--nero);
    color: var(--bianco);
}
.bg-grigio {
    background-color: var(--grigio);
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;    
    background-color: var(--bianco);
    z-index: 999999;
    box-shadow: 0 1px 20px 0 rgba(32, 33, 36, 0.15);
    -moz-box-shadow: 0 1px 20px 0 rgba(32, 33, 36, 0.15);
    -webkit-box-shadow: 0 1px 20px 0 rgba(32, 33, 36, 0.15);
}
.aggiustaltezza {
    padding-top: 64px !important;
}
header .logo, header nav, footer {
    padding: 15px;
}
header .logo img, footer .logo img {
    max-width: 180px
}
header nav {
    text-transform: uppercase;
}
header nav ul {
    margin: 0; 
    padding: 0;
}
header nav ul li {
    margin: 8px 5px; 
    padding: 0; 
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
header nav ul li a {
    color: var(--nero);
    text-decoration: none;
    padding-bottom: 23px;
}
header nav ul li a:hover {
    border-bottom: solid 2px var(--arancione);
}
#cta {
    color: var(--arancione);
}
#cta img {
    vertical-align: middle;
}
#cta span {
    display: none;
}
#iservizi div {
    margin-top: 50px;
}
#iservizi div img {
    width: 65px;    
    opacity: 0;
    transition: all 1.5s ease;
}
#iservizi div img.dentro {
    opacity: 1;
    transform: rotateY(360deg)
}
footer {
    padding-top: 30px !important;
    background-color: var(--nero);
    color: var(--bianco);
    font-size: 14px;
    box-shadow: 0 1px 20px -5px rgba(32, 33, 36, 0.28);
    -moz-box-shadow: 0 1px 20px -5px rgba(32, 33, 36, 0.28);
    -webkit-box-shadow: 0 1px 20px -5px rgba(32, 33, 36, 0.28);
}
footer a {
    color: var(--bianco);
    text-decoration: underline;
    cursor: pointer;
}
#contatti div:first-child {
    min-height: 300px;
    background-image: url('img/ufficio.jpg');
    background-size: cover;
    background-position: center center;
}
#contatti div:last-child {
    padding: 50px 20px;
}
#altro {
    margin-top: 80px;
}
#altro img {
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border: solid 1px grey;
    padding: 5px;
    margin: 0 5px;
    max-width: 150px;
}
#altro p {
    max-width: 350px;
    margin: 0 auto 50px auto;
}
#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: none !important;
}

/* FORM */

#wpcf7-f10-o1 {
    padding:0 !important;
}

form {
    display: block;
    max-width: 400px;
    margin: 30px auto 0 auto;    
}
form label {
    font-size: 14px;
}
form input[type=text], 
form input[type=tel], 
form input[type=email], 
form textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    margin-bottom: 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
form textarea {
    resize: none;
    height: 100px;
}
form input[type=submit] {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    margin-bottom: 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: var(--bianco);
    background-color: var(--arancione);
    text-transform: uppercase;
    font-weight: bold;
}
form input[type=checkbox] {
    width: 14px;
    height: 14px;
    background-color: var(--bianco);
	-webkit-appearance: auto;
}
.screen-reader-text {
    display: none;
}

/* 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) {
    #iservizi {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #iservizi div {
        flex-basis: 45%;
    }    
    header nav ul li {
        margin: 8px;
    }
}

@media screen and (min-width: 600px) {
    #cta span {
        display: inline-block;
    }    
}

@media screen and (min-width: 768px) {
    header .logo, header nav, footer {
        padding: 15px 25px;
    }
    #iservizi div {
        flex-basis: 30%;
    }
    h1, h2 {
        font-size: 30px;
    }
    #contatti {
        flex-direction: row;
    }
    #contatti div {
        flex-basis: 50%;
    }
}

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

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

}