/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-elementor
Description: Child theme for Hello Elementor
Author: Promos
Template: hello-elementor
Version: 1.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
*/

html, body {
  overflow-x: hidden;
}

.elementor-divider-separator{
	border-radius: 500px!important;
}

.info-contatto a{
	color:#000000!important;
	text-decoration:none;
}

.info-contatto a:hover{
	color:#dc0d15!important;
}

.ag-cf7, .ag-cf7 * {
  font-family: "Poppins", sans-serif !important;
  color: #000 !important;
}

/* Layout semplice: 1 colonna come nello screen */
.ag-cf7--grid .ag-field {
  margin-bottom: 18px;
}

.ag-cf7 label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Input / textarea */
.ag-cf7 input[type="text"],
.ag-cf7 input[type="email"],
.ag-cf7 input[type="tel"],
.ag-cf7 textarea {
  width: 100%;
  border: 1px solid #dbdbdb !important;
  border-radius: 8px;
  padding: 14px 14px;
  font-size: 15px;
  line-height: 1.2;
  background: #f5f5f5;
  box-shadow: none;
  outline: none;
}

/* Altezza textarea simile allo screen */
.ag-cf7 textarea {
  min-height: 160px;
  resize: vertical;
}

/* Focus ring pulito (sempre rosso) */
.ag-cf7 input:focus,
.ag-cf7 textarea:focus {
  border-color: #dc0d15 !important;
  box-shadow: 0 0 0 3px rgba(220, 13, 21, 0.15) !important;
}

/* Placeholder nero ma più soft */
.ag-cf7 ::placeholder {
  color: rgba(0,0,0,0.45) !important;
}

/* Bottone */
.ag-cf7 .ag-actions {
  margin-top: 8px;
}

.ag-cf7 input[type="submit"].ag-submit {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .05s ease;
}

.ag-cf7 input[type="submit"].ag-submit:hover {
  background: #dc0d15 !important;
  border-color: #dc0d15 !important;
  color: #fff !important;
}

.ag-cf7 input[type="submit"].ag-submit:active {
  transform: translateY(1px);
}

/* Messaggi CF7 */
.ag-cf7 .wpcf7-response-output,
.ag-cf7 .wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: 10px;
}

/*Servizi taglio del container*/
.taglio-logistica {
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}


/*********** GSYSTEM ***********/
.hover-gsystem:hover{
	background-color:#dc0d15!important;
}
.hover-gsystem:hover h3, .hover-gsystem:hover p{
	color: white!important;
}
.hover-gsystem:hover svg{
	fill:white!important;
}

/**** Promos Link ****/
.promos-link:hover{
	color:#fdb71c!important;
}

@media screen and (max-width:1350px){
	h1{
		font-size: 45px!important;
        line-height: 1.2em!important;
	}
	h2{
		font-size: 40px!important;
        line-height: 1.2em!important;
	}
	.resize-ipad a{
		font-size:12px!important;
	}
	.resize-ipad ul{
		margin-right: 10px;
	}
	.resize-ipad li{
		margin:0!important;
		}
	.resize-footer span, .resize-footer p  {
		font-size:12px;
	}
	
}

@media screen and (max-width:768px){
	h1{
		font-size: 28px!important;
        line-height: 1.2em!important;
	}
	h2{
		font-size: 25px!important;
        line-height: 1.2em!important;
	}
}

.wpcf7-not-valid-tip {
    color: #dc3232!important;
    font-size: 1em!important;
    font-weight: normal!important;
    display: block;
}
.wpcf7-list-item{
	margin:0px;
}
.grecaptcha-badge{
	display:none;
}


/* =============================================
   iubenda Google Maps Blocked Overlay
   Incolla in: Elementor > Impostazioni sito >
   CSS aggiuntivo  (o nel customizer WordPress)
   ============================================= */

.iub-maps-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 30, 0.82);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: inherit;
  pointer-events: none; /* non blocca il click sulla mappa se sbloccata */
}

.iub-maps-overlay__box {
  text-align: center;
  padding: 28px 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 300px;
  width: 90%;
  pointer-events: none;
}

.iub-maps-overlay__icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1;
}

.iub-maps-overlay__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.3;
}

.iub-maps-overlay__text {
	  font-size: 0.65rem;
	  line-height: 1.2;
  color: #555;
  margin: 0;
}

.elementor-widget-google_maps .elementor-custom-embed {
  position: relative;
}

@media screen and (max-width:1350px){
	.iub-maps-overlay__icon {
	  margin-bottom: 5px;
	}
	.iub-maps-overlay__box {
	  padding: 10px 10px;
	}
}
@media screen and (max-width:768px){
	.iub-maps-overlay__icon {
	  font-size: 1.5rem;
	  margin-bottom: 5px;
	}
	.iub-maps-overlay__title {
	  font-size: 0.8rem;
	}
	.iub-maps-overlay__text {
	  font-size: 0.75rem;
	  line-height: 1.2;
	}
}