/*
Theme Name: Studio Paone 2020
Description: Un tema <a href='https://www.magicnet.it/'>MagicNet</a> figlio di Enfold .
Version: 1.0
Author: MagicNet
Author URI: https://www.magicnet.it/
Template: enfold
*/
#top .gallery-caption {
    display: block !important;
}
.gallery .gallery-icon a {
    display: inline-block;      /* Necessario per text-overflow */
    white-space: nowrap;        /* Impedisce il capo */
    overflow: hidden;           /* Nasconde l'eventuale testo in eccesso */
    text-overflow: ellipsis;    /* Aggiunge i puntini (...) alla fine */
    max-width: 200px;           /* Esempio di larghezza fissa o variabile */
}

// stile elenco categorie in sidebar
.widget ul {
    padding: 20px !important;
    list-style: square !important;
    line-height: 1em !important;
}


.wpcf7-form-control-wrap {
    position: inherit;
}
.wpcf7-text {
width: 49% !important;
float: left;
height: 50px;
font-size: 13px;
border-radius: 2px;
padding: 16px !important;
margin-bottom: 3% !important;
}
.wpcf7-text[id="submit"] {
width: 49% !important;
float: left;
height: 50px;
font-size: 13px;
border-radius: 2px;
padding: 16px !important;
margin-bottom: 3% !important;
}
.wpcf7-email {
width: 65%;
float: right;
/* margin-top: -12px; */
}
.wpcf7-list-item {
margin: 0 !important;
}
.wpcf7 input[type="submit"] {
    margin: 0;
    padding: 16px 20px !important;
    border-radius: 2px !important;
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
    font-weight: normal !important;
    font-size: 0.92em !important;
    min-width: 142px !important;
    outline: none !important;
}
#cognomeclass
{
    float: right;
}
#oggettoclass
{
    width: 100% !important;
}
.wpcf7 input[aria-invalid='true'] {
	border: 1px solid #DF653E !important;
}
.wpcf7-not-valid {
	border: 1px solid #DF653E !important;
}

span.cv {
  width: 49% !important;
  position:relative;
}
span.cv:before {
  content:"Scegli file";
  position:absolute;
  left:0;
  padding:1px;
  background:#00c989;
  font-size: 0.92em;
  color:#fff;
  border-color: #00a767;
  width:90px;
  text-align:center;
  border-radius:2px;
  cursor:pointer;
}
span.cv>input {
  opacity:0;
}
/*Sfondo popup modale */
.mfp-zoom-in.mfp-ready.mfp-bg, .mfp-zoom-in.mfp-ready .mfp-preloader {
    opacity: 0.5 !important ;
}
.avia-cookie-consent-button {
    background-color: #00c79a !important;
	border-color: #507210 !important;
}
.avia-cookie-hide-notification {
    background-color: #c21d1d !important;
	border-color: #507210 !important;
}
.avia-cookie-info-btn {
    background-color: #e6e6e6 !important;
	border-color: #696969 !important;
}
/* nascondo la label della checbox mktg nella form contatti */
.marketing .wpcf7-list-item-label{display:none;}

/* carico la form per prima nella pagina contatti */
#caricaprimaform .entry-content-wrapper {
   display: flex;
   flex-direction: row;
}

@media only screen and (max-width: 767px){
.responsive #top .avia-post-nav {
    display: block;
}
}
.grecaptcha-badge {
bottom: 100px !important;
}
/*Add your own styles here:*/
.blog-author {
display:none !important;
}



// Centratura delle voci di menu che vanno a capo
#menu-item-2930 a .avia-menu-text {
    line-height: 1.2 !important; /* Imposta un'interlinea ridotta */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#menu-item-2930 a,
#menu-item-3683 a,
#menu-item-4522 a,
#menu-item-4406 a {
    height: auto !important; /* Rimuovi il vincolo di altezza */
    line-height: normal !important; /* Sovrascrive il valore line-height preimpostato */
    text-align: center;
    padding-top: 25px;
    padding-bottom: 27px;
}
