/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

:root {
  --gpt-color-automazione: #1689ca;
  --gpt-color-medicale: #23aa73;
  --gpt-color-domotica: #9f76a7;
  --gpt-color-difesa: #960018;
}

.et_pb_text_9 h3, .et_pb_text_12 h3, .et_pb_text_16 h3 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 3vw !important
}

.et_pb_text_2 h2, .et_pb_text_3 h2, .et_pb_text_6 h2, .et_pb_text_9 h2, .et_pb_text_12 h2, .et_pb_text_16 h2 {
    font-size: 50px !important;
    color: #FFFFFF !important;
}

.et_pb_text_5 h2, .et_pb_text_8 h2, .et_pb_text_11 h2, .et_pb_text_15 h2 {
    font-size: 50px !important;
}
/* Card */
.gpt-card
{
	border-radius: 20px;
	overflow: hidden;
	color: #FFF;
	padding: 10px;
	transition: transform 0.5s ease;
	
   background:
    radial-gradient(120% 110% at 100% 0%,
      rgba(220,230,240,.18) 0%,
      rgba(220,230,240,0) 55%),
    radial-gradient(90% 140% at 0% 50%,
      rgba(0,0,0,.70) 0%,
      rgba(0,0,0,0) 60%),
    linear-gradient(90deg,
      #050c17 0%,
      #0a1224 38%,
      #3a434d 100%);
}

.gpt-card:hover
{
	transform: translateY(-10px);
}

.gpt-card-img, .gpt-card .et_pb_image_wrap
{
	margin-top: 30px;
	max-width: 50%;
}

.gpt-card .et_pb_image_wrap img
{
	height: 150px;
}

.gpt-card-title, .gpt-card h4.et_pb_module_header
{
	font-size: 30px !important;
	line-height: 1.3em;
	color: #FFF;
	text-align: center;
}

.gpt-card-description, .gpt-card .et_pb_blurb_description
{
	font-size: 16px;
	line-height: 1.5em;
	text-align: center;
	font-weight: normal;
}

.gpt-card-link
{
	border-top-width: 1px;
	border-top-style: solid;
	display: inline-block;
	padding: 20px 15px !important;
}

.gpt-card-automazione .gpt-card-link
{
	color: var(--gpt-color-automazione);
	border-top-color: var(--gpt-color-automazione);
}
.gpt-card-medicale .gpt-card-link
{
	color: var(--gpt-color-medicale);
	border-top-color: var(--gpt-color-medicale);
}

.gpt-card-domotica .gpt-card-link
{
	color: var(--gpt-color-domotica);
	border-top-color: var(--gpt-color-domotica);
}

.gpt-card-difesa .gpt-card-link
{
	color: var(--gpt-color-difesa);
	border-top-color: var(--gpt-color-difesa);
}

.gpt-card-row-landing
{
	display: flex;
	gap: 10px;
	width: 100%;
    align-items: stretch;
}

.gpt-card-row-landing > .et_pb_column 
{
	margin-right: auto !important;
	width: auto;
    flex: 1 1 0;
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
}

.gpt-card-img, .gpt-card 
{
	height: 100%;
}

.gpt-card-img, .gpt-card .et_pb_image_wrap
{
	max-width: 100%;
}

.gpt-card-row-landing .gpt-card .et_pb_image_wrap img
{
	height: auto;
}

.gpt-card-row-landing .gpt-card .gpt-card-title
{
	font-size: 24px;
}

.gpt-card-row-landing > .et_pb_column, 
.gpt-card-row-landing > .et_pb_column.et-last-child
{
	margin-left: auto;
	margin-right: auto !important;
}

/* Header */

header.et-l
{
	z-index: 20001;
	position: sticky;
}

/* Menu */

.gpt-menu-divisioni {
	border: 2px solid #414f58;
	margin-right: 40px !important;
}

.et-menu a {
	line-height: 1.3;
}

.et-menu ul a {
	border-bottom: 1px solid #414f58;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a,
.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a
{
	padding-top: 20px;
	padding-bottom: 20px;
}

.et-menu a:hover, .et-menu ul a:hover {
	text-decoration: underline;
	opacity: 1 !important;
}

li.gpt-hamburger-icon > a
{
	font-size: 22px !important;
    padding-left: 40px !important;	
}

.current-menu-item > a, .current-menu-parent > a, .current-menu-ancestor > a
{
	font-weight: bold;
}

/* Footer */
footer
{
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

footer p {
	padding-bottom: 0px;
}

/* Condivise */
.gpt-visible-mobile
{
	display: none;	
}

.gpt-visible-desktop
{
	display: block;		
}

/* Prodotti */ 

/*
#anchor-prod
{
  
}
*/

#anchor-prod.et_pb_section
{
	padding-top: 20px;
}

#anchor-prod.et_pb_section .et_pb_column 
{
	padding-top: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title
{
	margin-top: -20px !important;
	font-size: 20px !important;
	line-height: 1em;
}

.woocommerce ul.products li.product .product-subtitle 
{
	font-size: 20px !important;	
	line-height: 1em;
}

#anchor-prod ul.products li.product .woocommerce-loop-product__title
{
	margin-top: -20px;
	font-size: 20px !important;
}

#anchor-prod .product-subtitle
{
	font-size: 18px;	
}

#anchor-prod .yith_pdil, .yith_pdil
{
	font-size: 13px !important;
	line-height: 1.5;
}

#anchor-prod .yith_pdil > blockquote
{
	margin-bottom: 20px;	
}

#anchor-prod .woocommerce ul.products li.product, 
#anchor-prod .woocommerce-page ul.products li.product
{
	margin-bottom: 10px;
}

/* Menu Prodotti */
#myDIV .et_pb_blurb:hover
{
	text-decoration: underline;	
}

#myDIV .et_pb_blurb.df-activebutton, 
#myDIV .et_pb_blurb.df-activebutton:hover
{
	background-color: currentcolor !important;		
}

#myDIV .et_pb_blurb.df-activebutton p
{
	color: #FFF;
}


/* Table - Intermedio */
@media (min-width: 1321px) and (max-width: 1600px) {
	
	#myDIV .et_pb_column > div
	{
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	
	/* Card */
	.gpt-card-row-landing
	{
		width: 98%;
	}
	
}

@media (min-width: 981px) and (max-width: 1320px) {
	/* Card */
	.gpt-card-title, .gpt-card h4.et_pb_module_header
	{
		font-size: 20px !important;
	}
	
	.gpt-card-row-landing 
	{
		flex-wrap: wrap;
		width: 80%;
	}

	.gpt-card-row-landing > .et_pb_column
	{
		min-width: 300px;
		max-width: 320px;
	}
	
	/* */
	
	/* Menu */
   .gpt-menu-divisioni {
		margin-right: 10px !important;
   }
	
   li.gpt-hamburger-icon > a
   {
		padding-left: 10px !important;	
   }

	/* Menu prodotti */
	#myDIV .et_pb_blurb {
		font-size: 12px;
	}

	#myDIV .et_pb_column
	{
		display: flex;
		flex-wrap: wrap;
	}

	#myDIV .et_pb_column > div
	{
		margin-left: 10px !important;
		margin-right: 0px !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

}

/* Mobile */
@media (max-width: 980px) {
	/* Cart */
	.gpt-card-row-landing
	{
		width: 80%;
		flex-wrap: wrap;
	}

	.gpt-card-row-landing .et_pb_column
	{
		min-width: 250px;
	}
	
	/* Menu */
	#mobile_menu1
	{
		height: calc(-70px + 100vh);
		margin-top: 10px;
  		overflow-y: scroll;
		overscroll-behavior-y: contain; 
	}

	#mobile_menu1 ul li a, #mobile_menu1 a
	{
		font-size: 14px;
	}
	
	.gpt-menu-divisioni {
		margin-right: 0px !important;
	}

	li.gpt-hamburger-icon > a
	{
		padding-left: 10px !important;	
	}
	
	/* Menu prodotti */
	#myDIV .et_pb_blurb {
		font-size: 12px;
	}
	
	#myDIV .et_pb_column
	{
		display: flex;
		flex-wrap: wrap;
	}

	#myDIV .et_pb_column > div
	{
		margin-left: 10px !important;
		margin-right: 0 !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

	#myDIV .et_pb_column > div
	{
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		height: auto;
		min-height: 38px;
		line-height: 1em;
	}

	/* */
	.gpt-visible-mobile
	{
		display: block;
	}

	.gpt-visible-desktop
	{
		display: none;		
	}
	
}
