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

.iub__us-widget {
	display:none!important;
}


.numero_lungo .et_pb_number_counter_2.et_pb_number_counter  h5.title {
	padding-top:65px!important;
}


h1 {
	font-size:50px!important;
	line-height:62px!important;
}

h2 {
	font-size:50px!important;
	line-height:62px!important;
}

.h2-hero h2 {
	font-size:30px!important;
	line-height:37px!important;
	font-weight:400!important;
}

.et_pb_blog_grid h2 {
	font-size:25px!important;
	line-height:31px!important;
}



h3 {
	font-size:40px!important;
	line-height:50px!important;
	font-weight:400!important;
}

h4 {
	font-size:28px!important;
	line-height:32px!important;
}

h5 {
	font-size:25px!important;
	line-height:35px!important;
}

.et_pb_blog_grid .et_pb_post {
	border-radius:20px;
}

.et_pb_blog_grid .et_pb_post img{
  border-radius: 10px 10px 0 0;
}


.et_pb_blog_grid p {
	color:#000!important;
}

.et_pb_blog_grid .post-meta {
	color:#47609a!important;
}

.et_pb_blog_grid .more-link {
	color:#c4cc5a!important;
	font-weight:700!important;
}

/*form*/

.form-container input, .form-container select {
	border:0;
	border-bottom:2px solid #FFF!important;
	color:#FFF!important;
	width:100%;
	background:none;
	margin-bottom:20px;
	font-size:18px;
}

.form-container textarea  {
	border:2px solid #FFF!important;
	color:#FFF!important;
	width:100%;
	background:none;
	margin-bottom:20px;
	font-size:18px;
	height:100px;
	margin-top:20px;
}

.wpcf7-not-valid-tip {
	font-size:14px;
	margin-top:-15px;
}


.row-form-privacy input {
	width:auto!important;
	font-size:16px!important;
}

.row-form-privacy .wpcf7-list-item-label {
	font-size:16px!important;
}



.row-form-privacy a {
	color:#FFF;
	text-decoration:underline;
}

.wpcf7-list-item {
	margin:0;
}

.row-form-send input{
	width:auto!important;
	background:#c4cc5a!important;
	border:0!important;
	padding:10px 20px;
	font-weight:700;
	border-radius:50px;
}


#left-area .single .post {
  padding-bottom: 0px!important;
}

#left-area .et_pb_post {
  margin-bottom: 0!important;
	padding-bottom: 0px!important;
}

.single-post #main-header {
	background:#000;
}

.single-post .post-meta, .single-post .post-meta a {
	color:#47609a;
}

#left-area {
	padding-bottom:100px!important;
}

#sidebar {
	background:#47609a;
	border-radius:15px;
	padding:20px!important;
	margin-bottom:70px;
}

#sidebar {
	font-size:18px;
	line-height:21px;
}

#sidebar h2 {
	font-size:27px!important;
	line-height:33px!important;
	color:#FFF!important;
}

#sidebar li {
	margin-top:15px;
	margin-bottom:20px;
}

.widgettitle {
	color:#FFF!important;
}

#sidebar a {
	color:#FFF;
}

#sidebar a:hover {
	text-decoration:underline;
}



  #main-content .container::before {
    display:none;
  }  

.widget_search input#s, .widget_search input#searchsubmit, .et_pb_widget .wp-block-search__input, .et_pb_widget .wp-block-search__button {
  border: 1px solid #fff!important;
  color: #fff!important;
  background: none!important;
}

/*menu*/


.et_header_style_left #et-top-navigation {
  padding-top: 20px!important;
}

.et-fixed-header img {
	width:200px!important;
}


#top-menu li {
  padding-right: 0px;
}

.et_header_style_left #et-top-navigation nav > ul > li > a {
	padding:15px!important;
	margin:0 0 15px 0!important;
	
}

#mobile_menu a{
		text-align:center;
    }


/*foter*/

#footer-custom a {
		color:#c4cc5a!important;
    }


.btn-contatti-menu a {
	background-color:#47609a;
	border-radius:50px!important;
}


@media (min-width: 981px) and (max-width: 1350px) {
	
	#main-header {
		/*background-color: rgba(0, 0, 0, 1)!important;*/
    }
	
	#mobile_menu {
		background-color: rgba(0, 0, 0, 1)!important;
    }
	
	#et_mobile_nav_menu {
		display:block!important;
    }
	#top-menu-nav {
		display:none!important;
    }
	
	
	#footer-custom {
		font-size:14px!important;
		line-height:18px!important;
    }
	
}



@media (min-width: 1351px) and (max-width: 1500px) {

	
	
	.et_header_style_left #et-top-navigation nav > ul > li > a {
		font-size:14px!important;
		padding:10px!important;
    }
	
	
}



/* Solo desktop-medi */
@media (min-width: 981px) and (max-width: 1400px) {
  
	
	h1 {
	font-size:40px!important;
	line-height:52px!important;
}

h2 {
	font-size:40px!important;
	line-height:52px!important;
}

.h2-hero h2 {
	font-size:27px!important;
	line-height:32px!important;
}
	
.et_pb_blog_grid h2 {
	font-size:23px!important;
	line-height:29px!important;
}	

h3 {
	font-size:32px!important;
	line-height:39px!important;
}

h4 {
	font-size:28px!important;
	line-height:32px!important;
}

h5 {
	font-size:22px!important;
	line-height:32px!important;
}	
	
body {
	font-size:16px!important;
	line-height:21px!important;
}
	
p {
	font-size:16px!important;
	line-height:21px!important;
}

.percent-value{
	font-size:45px!important;
	line-height:45px!important;
}	
	
.et_pb_number_counter .percent {	
	height:auto!important;
}	
	
	
.et_pb_button {
	font-size:16px!important;
	/*line-height:21px!important;*/
	padding-top:10px!important;
	padding-bottom:10px!important;
}		
	
	/*soluzione_bottone_hover*/
	
	.et_pb_button:after{
		top: 50% !important;
    transform: translateY(-50%) !important;
		border-radius:50px!important
	}
	
	/*soluzione_bottone_hover*/

#sidebar {
	font-size:16px;
	line-height:19px;
}

#sidebar h2 {
	font-size:23px!important;
	line-height:27px!important;
}

	
	
}


/* Solo Tablet */
@media (min-width: 768px) and (max-width: 980px) {
  
	h1 {
	font-size:40px!important;
	line-height:42px!important;
}

h2 {
	font-size:40px!important;
	line-height:42px!important;
}

.h2-hero h2 {
	font-size:25px!important;
	line-height:30px!important;
}
	
.et_pb_blog_grid h2 {
	font-size:21px!important;
	line-height:27px!important;
}		

h3 {
	font-size:30px!important;
	line-height:40px!important;
}	

	
h4 {
	font-size:25px!important;
	line-height:30px!important;
}

h5 {
	font-size:22px!important;
	line-height:28px!important;
}		
	
body {
	font-size:16px!important;
	line-height:21px!important;
}	
	
p {
	font-size:16px!important;
	line-height:21px!important;
}		
	
.percent-value{
	font-size:45px!important;
	line-height:45px!important;
}	
	
.et_pb_number_counter .percent {	
	height:auto!important;
}	
	
.et_pb_button {
	font-size:16px!important;
	/*line-height:21px!important;*/
	padding-top:10px!important;
	padding-bottom:10px!important;
}		
	
	/*soluzione_bottone_hover*/
	
	.et_pb_button:after{
		top: 50% !important;
    transform: translateY(-50%) !important;
		border-radius:50px!important
	}
	
	/*soluzione_bottone_hover*/

	

#sidebar {
	font-size:16px;
	line-height:19px;
}

#sidebar h2 {
	font-size:23px!important;
	line-height:27px!important;
}	
	
.zero_margin_mobile{
		margin-bottom:0px!important;
	}
.et_pb_text_inner ul{
		padding-bottom:0px!important;
	}	
	
}

/* Mobile */
@media (max-width: 767px) {
  
	
  
h1 {
	font-size:35px!important;
	line-height:38px!important;
}

h2 {
	font-size:35px!important;
	line-height:38px!important;
}

.h2-hero h2 {
	font-size:20px!important;
	line-height:25px!important;
}

.et_pb_blog_grid h2 {
	font-size:19px!important;
	line-height:23px!important;
}		
	
h3 {
	font-size:25px!important;
	line-height:30px!important;
}
	
h4 {
	font-size:25px!important;
	line-height:30px!important;
}

h5 {
	font-size:22px!important;
	line-height:28px!important;
}	
	
	
body {
	font-size:14px!important;
	line-height:19px!important;
}

p {
	font-size:14px!important;
	line-height:19px!important;
}	
	
.percent-value{
	font-size:35px!important;
	line-height:25px!important;
}	
	
.et_pb_number_counter .percent {	
	height:auto!important;
}
	

	
	
.et_pb_button {
	font-size:14px!important;
	/*line-height:14px!important;*/
	padding-top:5px!important;
	padding-bottom:5px!important;
}	 

	/*soluzione_bottone_hover*/
	
	.et_pb_button:after{
		top: 50% !important;
    transform: translateY(-50%) !important;
		border-radius:50px!important
	}
	
	/*soluzione_bottone_hover*/

#sidebar {
	font-size:14px;
	line-height:17px;
}

#sidebar h2 {
	font-size:21px!important;
	line-height:24px!important;
}	
	
	
.zero_margin_mobile{
		margin-bottom:0px!important;
	}
.et_pb_text_inner ul{
		padding-bottom:0px!important;
	}	
	
}