/*
Theme Name: Divi Child
Theme URI: https://tuosito.it
Description: Child theme per Divi
Author: Tuo Nome
Author URI: https://tuosito.it
Template: Divi
Version: 1.0.0
*/

@media (max-width: 980px) {
	#logo{
/* 		max-height: 95% !important; */
		max-height: 70px;
	}
}


@keyframes fadeInDown {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

.fixed {
	animation-name: fadeInDown;
	animation-duration: 1s;
	position: fixed !important;
	top: 0 !important;
}


@media (max-width: 1150px) {
	#et_mobile_nav_menu {
		display: block;
	}

	#top-menu {
		display: none;
	}
}

.nf-form-fields-required {
	display:none;
}


/* ----- responsive gmap iframe ----- */
.map-responsive {
	height: 100%;
	min-height: 400px;
	display: flex;
	align-items: stretch;
}

.map-responsive .et_pb_code_inner {
	display: flex;
	width: 100%;
}

.map-responsive iframe{
	width: 100%;
}

@media (max-width: 980px) {

	.map-responsive{
		min-height: 0px;
		height: 350px;
	}
}

@media (max-width: 767px) {

	.map-responsive{
		min-height: 0px;
		height: 250px;
	}
}
/* ----- end of responsive gmap iframe ----- */


.nf-field-container {
	margin-bottom:10px !Important;
}

.nav li li {
	line-height: 1.4em;
}

/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
	position: relative;
}
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
	position: absolute;
	background-color:rgba(0,0,0,0.1);
	z-index: 1;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	top: 4px;
	right: 4px;
	cursor: pointer;
	text-align: center;
}
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
	background-color:#b3b9c0;
}
/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '33';
	color:#fff;
}
/* toggle icon when triggered */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
	content: '32';
}
/* hide sub menus by default */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
	background-color: rgba(0,0,0,0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */
#main-header #mobile_menu.et_mobile_menu li li {
	padding-left: 0;
}

/* adjust mobile menu anchors side paddings */
#main-header #mobile_menu.et_mobile_menu li a {
	padding-left: 20px;
	padding-right: 20px;
}
/* indent sub menu */
#main-header #mobile_menu.et_mobile_menu li li a {
	padding-left: 40px;
	padding-right: 20px;
}
/* indent sub sub menus further */
#main-header #mobile_menu.et_mobile_menu li li li a {
	padding-left: 60px;
	padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
	padding-right: 44px;
}

/* - end mobile menu toggling elements - */

/* undo Divi's default styling of mobile menu links that have children */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	font-weight: inherit;
}

/* make the current page's mobile menu link be different */
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
	font-weight: bolder;
}

/* ----- ----- */

/*----- CORREZIONE Z-INDEX CALL NOW BUTTON PER IUBENDA -----*/

.cnb-zindex-10  {
	z-index: 2147483;
} 