/*
 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;
}

/* Home */
.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-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-menu-divisioni {
	border: 1px solid #007FBB;
	margin-right: 40px !important;
}

.gpt-menu-divisioni a {
	line-height: 1.3;
}

.gpt-menu-divisioni ul a {
	border-bottom: 1px solid #007FBB;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li a{
	color: red;
}

/* Table - Intermedio */
@media (min-width: 981px) and (max-width: 1320px) {
	/* Home */
	.gpt-card-title, .gpt-card h4.et_pb_module_header
	{
		font-size: 20px !important;
	}
	/* */
	
	
   .gpt-menu-divisioni {
		margin-right: 10px !important;
   }
}

/* Mobile */
@media (max-width: 980px) {
	/* 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;
	}
	/* */
}
