/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         ITMEDIANET SRL
 Author URI:     https://www.itmedianet.it/
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
#yheader {
	padding: 8px 50px;
	display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: space-between;
}
#yheader .et_pb_row,
.full-row .et_pb_row,
.full-width .et_pb_row {
	width: 100%;
	max-width: 100%;
}
.et_pb_row {
    max-width: 1280px;
}
.main-title h1,
.main-title h2,
.main-title h3,
.main-title h4,
.main-title p {
	text-align: center;
/*  text-transform: uppercase;*/
	font-size: 40px;
    font-weight: 300;
    color: #525252;
	position: relative;
	margin-bottom: 50px;
}
.main-title h1:after,
.main-title h2:after,
.main-title h3:after,
.main-title h4:after,
.main-title p:after,
#top-section h2:after {
  	content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #e24a3a;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}
.main-title.left h1:after,
.main-title.left h2:after,
.main-title.left h3:after,
.main-title.left h4:after,
.main-title.left p:after,
#top-section h2:after{
	left: 0;
	transform: translateX(0px);
}
#top-section .et_pb_fullwidth_header_container {
	max-width: 1210px;
}
.main-title.left h2,
.main-title.left h1,
.main-title.left h3,
.main-title.left h4{
	margin-bottom: 0px;
}
.main-title.white h2,
.main-title.white h1,
.main-title.white h3,
.main-title.white h4{
color: #fff;
}
#yheader div.et_pb_menu__logo {
	max-width: 75%;
}
#yheader div.et_pb_menu__logo img,
.logo-footer .et_pb_image_wrap img{
	object-fit: contain;
}
.main-p p {
	color: #7a7d86;
	    line-height: 28px;
}
.full-row .et_pb_row {
	padding: 10px;
}
.services-box h4,
.services-box h2{
	position: absolute;
    bottom: 20px;
	color: #fff;
	z-index: 1;
	padding: 30px;
	font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0px;
    line-height: 26px;
}
.services-box {
	margin: 5px 10px;
	position: relative;
	overflow: hidden;
}
.services-box:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 8px;
	left: 0;
	right: 0;
	background-color: rgb(0 0 0 / 20%);
	transition: 250ms;
}


.ybtn,
a.ybtn-header,
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit]{
	background: #e24a3a!important;
    border-radius: 0px;
    color: #fff!important;
    text-transform: uppercase;
    font-weight: 400;
	padding: 10px 45px!important;
    font-size: 16px;
}
a.ybtn-header  {
	border: 1px solid #e24a3a;
	color: #e24a3a;
	background: #fff;
	padding: 12px 70px!important;
	font-weight: 600;
    letter-spacing: 1px;
	transition: 250ms;
}
a.ybtn-header:hover {
	background: #e24a3a;
	color: #fff!important;
}
#slider-top .et_pb_slide_image {
    margin: 0px!important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#slider-top .et_pb_slide_image img {
    max-height: 100%!important;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
}
#slider-top .et_pb_slide_with_image .et_pb_slide_description {
    width: 85%;
    float: none!important;
    text-shadow: unset;
}
#slider-top .et_pb_slider .et_pb_slide {
	padding: 0px;
}
.alignment-row {
	display: flex;
	align-items: center;
	align-content: center;
}
.et-menu li>a {
    color: #888888;
    font-size: 18px;
    font-weight: 400;
}
.et-menu li a{
	padding: 0px 30px;
}
.clmn-grey {
	padding: 147px 50px;
	background-color: #e24a3a;
}
.clmn-grey p {
	color: #fff;
	margin-bottom: 50px;
}
.icon-img img {
	max-width: 50%;
}
.white-p p {
	color: #fff;
	font-size: 18px;
}

.et_pb_menu__wrap {
	justify-content: flex-end!important;
}
.full-row.notpadding .et_pb_row,
.full-row.notpadding {
	padding: 0px;
}
.icon-img {
	padding: 30px;
}


.et_pb_fullwidth_menu .et-menu>li {
	padding: 0px 25px!important;
}
.et_pb_fullwidth_menu {
	width: 100%;
	padding-right: 80px;
}
li.current_page_item a {
	position: relative;
	color: #e24a3a;
	font-weight: 600;
}
li.current_page_item a:before  {
	content: '';
    position: absolute;
    height: 3px;
    width: 30px;
    background: #e24a3a;
    bottom: 20px;
}
.grey-mainp p {
	font-size: 23px;
    font-weight: 300;
	line-height: 34px;
}
.grey-mainp p a {
	font-weight: 500;
	text-decoration: underline;
}
#yfooter {
	background-color: #30343d;
}
#ybottom {
	    background: #292b31;
}
#yfooter p,
#yfooter p a,
#ybottom p,
#ybottom p a{
	color: #cecece;
	line-height: 35px;
}
#ybottom p,
#ybottom p a {
	font-size: 14px;
}
#ybottom p a {
	text-decoration: underline;
}
#yfooter .footer-title p {
	text-transform: uppercase;
	font-size: 18px;
	color: #e24a3a;
	font-weight: 700;
}
#slider-top .et_pb_slide_image:after, #top-pages:after {
    content: '';
    position: absolute;
    background: rgb(0 0 0 / 25%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.services-box h4:before {
	content: '';
	position: absolute;
	width: 0px;
	height: 3px;
	background: #e24a3a;
	transition: 250ms;
	bottom: 15px;
}
.services-box:hover h4:before {
	width: 80px;
}
.services-box:hover:after {
	background-color: rgb(0 0 0 / 65%);
}
.services-box h4 {
	transition: 250ms;
}
.services-box:hover h4{
	padding-bottom: 50px;
} 
.services-box:hover h4:before {
		bottom: 40px;
}
.services-box .et_pb_main_blurb_image {
	margin-bottom: 0px;
}

#top-section{
		background: #F1F1F1;
}
#top-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #525252!important;
}
#top-section h2:after {
	bottom: -5px;
}
.contact-box {
	margin-bottom: 50px!important;
}
.contact-box h4 span{
	    text-transform: uppercase;
    font-size: 18px;
    color: #e24a3a;
    font-weight: 700;
}
.contact-box p,
.contact-box p a {
	color: #666;
}
.nf-field-label,
.nf-form-fields-required {
	display: none;
}
.width-images {
	width: 943px;
}
.logo-footer .et_pb_image_wrap  {
	max-width: 55%;
}
p.footer-contactsp i {
	color: #e24a3a;
	font-size: 18px;
}
.contacts-footer {
	margin-left: 8px;
}
.ybtn.white {
	background: rgb(226 74 58 / 0%)!important;
	border: 1px solid #e24a3a!important;
	color: #e24a3a!important;
}
.ybtn:after {
	top: 50%!important;
	transform: translateY(-50%)!important;
}
	.et_pb_module .mobile_menu_bar:before {
		color: #525b62!important;
		font-size: 45px;
	}
.et_mobile_menu {
		border-top: 3px solid #e24a3a;
	}
@media (max-width: 767.98px) { 
	#yheader {
		padding: 5px 10px;
	}
	.et_pb_fullwidth_menu {
		padding-right: 10px;
	}
	a.ybtn-header {
		display: contents;
	}
	#yheader div.et_pb_menu__logo {
    max-width: 90%;
	}
	a.ybtn-header i {
		width: 50px;
    height: 50px;
    background-color: #e24a3a;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    border-radius: 50px;
	}
	#slider-top .et_pb_slide_image img {
		height: 300px;
		object-fit: cover;
	}
	.white-p p {
		padding: 0px 20px;
	}
	.ybtn, a.ybtn-header, .nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit]	{
		width: 100%!important;
		text-align: center;
	}
	.services-box,
	.services-box .et_pb_blurb_content,
	.services-box img {
		height: 350px;
	}
	.services-box img{
		object-fit: cover;
	}
	.services-box h4 {
		font-size: 22px;
		line-height: 32px;
	}
	.services-box:after {
		bottom: 0px;
	}
	.alignment-row {
		flex-direction: column;
	}
	#yfooter .et_pb_row {
		width: 80%;
	}
	.logo-footer .et_pb_image_wrap {
    max-width: 90%;
}
	#yfooter p {
		font-size: 14px;
	}
	li.current_page_item a:before {
		display: none;
	}
	
	.et_mobile_menu li a, .nav li li a {
		font-size: 16px;
	}
	.main-title h1, .main-title h2, .main-title h3, .main-title h4, .main-title p {
		    font-size: 35px;
    line-height: 42px;
	}
}
	.nf-field-label label{
		font-size: 14px!important;
		font-weight: 400!important;
	}
@media (max-width: 374.98px) {
	#yfooter p {
    font-size: 13px;
}
}
@media (min-width: 768px) and (max-width: 991.98px) { 
	#yheader {
		padding: 8px 20px;
	}
	#slider-top .et_pb_slide_image img {
		height: 400px;
	}
	.et_pb_fullwidth_menu {
		padding-right: 40px;
	}
	#yheader div.et_pb_menu__logo {
    max-width: 85%;
}
	.full-row .et_pb_row {
		width: 80%;
	}
	.services-box,
	.services-box .et_pb_blurb_content,
	.services-box img {
		height: 350px;
	}
	.services-box img{
		object-fit: cover;
	}
	.services-box .et_pb_blurb_content {
		max-width: 100%;
	}
	.services-box:after {
		bottom: 0px;
	}
	.alignment-row {
		flex-direction: column;
	}
	#yfooter .et_pb_row {
		display: flex;
	}
	#yfooter p, #yfooter p a, #ybottom p, #ybottom p a {
		font-size: 14px;
	}
	.logo-footer .et_pb_image_wrap {
    max-width: 90%;
}
	#yfooter .et_pb_column:not(:last-child) {
		margin-right: 20px!important;
	}
	li.current_page_item a:before {
		display: none;
	}
	.main-title h1, .main-title h2, .main-title h3, .main-title h4, .main-title p {
		line-height: 42px;
	}
	.page-id-435 .full-row .et_pb_row {
		width: 100%;
	}
	.tablet-align {
		display: flex;
	}
	.contact-box {
    margin-bottom: 30px!important;
}

}
@media (min-width: 992px) and (max-width: 1023.98px) {
	#yheader {
		padding: 8px 20px;
	}
	.et_pb_fullwidth_menu .et-menu>li {
    padding: 0px 8px!important;
}
	.et_pb_fullwidth_menu {
    padding-right: 0px;
}
	a.ybtn-header {
	padding: 12px 30px!important;
	}
	.et_pb_fullwidth_menu--style-left_aligned .et_pb_menu__logo {
    margin-right: 0px;
}
	#yheader div.et_pb_menu__logo {
    max-width: 80%;
}
	.et-menu li>a {
		font-size: 16px;
	}
	.et_pb_menu__wrap {
		justify-content: center!important;
	}

	#slider-top .et_pb_slide_image,
	.et_pb_fullwidth_slider_0, .et_pb_fullwidth_slider_0 .et_pb_slide{
		height: 500px!important;
		min-height: 500px!important;
    max-height: 500px!important;
	}
		#slider-top .et_pb_slide_image img {
		height: 500px;
			object-fit: cover;
	}
	.main-title h1, .main-title h2, .main-title h3, .main-title h4, .main-title p {
		font-size: 30px!important;
		line-height: 36px;
	}
	.padding-top {
		padding-top: 230px!important;
	}
	.alignment-row {
		padding: 30px 20px;
	}
	#yfooter .et_pb_row {
		padding: 30px 30px;
	}
	#yfooter p, #yfooter p a, #ybottom p, #ybottom p a {
		font-size: 14px;
	}
	.page-id-435 .et_pb_row {
		width: 90%;
	}
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
	#slider-top .et_pb_slide_image,
		.et_pb_fullwidth_slider_0, .et_pb_fullwidth_slider_0 .et_pb_slide{
		height: 500px!important;
		min-height: 500px!important;
    	max-height: 500px!important;
	}
		#slider-top .et_pb_slide_image img {
		height: 500px;
		object-fit: cover;
	}
	#yheader {
		padding: 8px 20px;
	}
	.et_pb_fullwidth_menu .et-menu>li {
    padding: 0px 12px!important;
}
	.et-menu li>a {
		font-size: 16px;
	}
	.et_pb_fullwidth_menu {
		padding-right: 13px;
	}
	a.ybtn-header {
		padding: 12px 30px!important;
	}
	.et_pb_menu__wrap {
		justify-content: center!important;
	}
	.main-title h1, .main-title h2, .main-title h3, .main-title h4, .main-title p {
		font-size: 32px!important;
		line-height: 36px;
	}
	#yfooter .et_pb_row {
		padding: 30px 30px;
	}
	#yfooter p, #yfooter p a, #ybottom p, #ybottom p a {
		font-size: 14px;
	}
	.alignment-row {
		padding: 30px 20px;
	}
	li.current_page_item a {
		font-weight: 500!important;
	}
	.page-id-435 .et_pb_row {
		width: 90%;
	}
}
@media (min-width: 1280px) and (max-width: 1599.98px) {
	#yheader  {
		padding: 8px 30px;
	}
	a.ybtn-header {
		padding: 12px 40px!important;
	}
	.et_pb_fullwidth_menu .et-menu>li  {
  padding: 0px 18px!important;
	}
	#yheader div.et_pb_menu__logo {
    max-width: 90%;
}
		#slider-top .et_pb_slide_image,
		.et_pb_fullwidth_slider_0, .et_pb_fullwidth_slider_0 .et_pb_slide{
		height: 500px!important;
		min-height: 500px!important;
    	max-height: 500px!important;
	}
		#slider-top .et_pb_slide_image img {
		height: 500px;
		object-fit: cover;
	}
	.alignment-row {
		padding: 30px 20px;
	}
	#yfooter .et_pb_row {
		padding: 30px 30px;
	}
	#yfooter p, #yfooter p a, #ybottom p, #ybottom p a {
		font-size: 14px;
	}
}