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

#yheader .et_pb_row{
	width: 100%;
    max-width: 100%;
	padding: 5px 50px!important;
}
.full-row .et_pb_row {
	width: 100%;
    max-width: 100%;
}
#yheader .et_pb_menu__wrap {
	display: flex;
	justify-content: flex-end;
}
#ytop-bar {
	padding: 3px 50px;
	background-color: #4e021d;
}
.ytop-p {
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 1px;
	text-align: right;
}
.ytop-p a {
	color: #F7BA20;
	text-decoration: underline;
}
.main-title h1,
.main-title h2,
.main-title h3,
.main-title h4,
.main-title p {
	font-size: 55px;
}
#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;
}
#slider-top .et_pb_slide_title {
	text-transform: uppercase;
    font-weight: 600;
}
#slider-top .et_pb_slide:after{
	content: '';
    position: absolute;
    background-color: rgb(0 0 0 / 40%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
#slider-top .et_pb_slide .et_pb_container {
	width: 100%;
	max-width: 100%;
}
.et-menu li>a {
	color: #969696;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
	font-weight: 500;
}
.align-row {
	display: flex;
	align-content: center;
	align-items: center;
	
}
.logo-bandiera img {
	max-width: 20%;
	margin: 0 auto;
    display: flex;
}
.image-services {
	margin-bottom: 0px!important;
}
.accordion-servizi {
	position: absolute;
	width: 100%;
	background-color: rgb(255 255 255 / 60%);
	bottom: 8px;
	z-index: 2;
}
.accordion-servizi h5 {
	color: #4e021d!important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
	font-size: 18px;
}
.main-p p {
	text-align: justify;
}
.main-p.white p {
	color: #fff;
	font-size: 20px;
}
.main-p.white p a {
	color: #f7ba20;
	text-decoration: underline;
}
.subtitle h1,
.subtitle h2,
.subtitle h3,
.subtitle h4,
.subtitle p,
.subtitle a{
	font-size: 24px;
	position: relative;
}
.subtitle a:after {
	 content: '';
    position: absolute;
}
.services-blur {
	position: relative;
	margin-bottom: 0px!important;
		overflow: hidden;
}
.services-blur .et_pb_blurb_content {
	max-width: 100%;
    overflow: hidden;
}
/*.services-blur:hover .et_pb_blurb_content {
	bottom: 8px;
}*/
.services-blur .et_pb_blurb_container {
	    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 2;
}
.services-blur h2 {
	font-size: 26px;
    text-transform: uppercase;
    color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
}
.contacts-bg {
	position: relative;
}
.services-blur:after,
.contacts-bg:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgb(0 0 0 / 40%);
	z-index: 0;
	bottom: 8px;
	transition: 250ms;
}
.contacts-bg:after  {
	bottom: 0;
	background-color: rgb(0 0 0 / 45%);
}
.services-blur:hover:after  {
	background-color: rgb(0 0 0 / 60%);
} 
.services-blur .et_pb_main_blurb_image {
	margin: 0px!important;
	transition: 250ms all ease-in-out;
}
.et_pb_toggle_title:before {
    content: "\21";
    color: #4e021d!important;
    font-size: 30px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    transition: 250ms;
}
.accordion-servizi.et_pb_toggle_open {
	background-color: rgb(255 255 255 / 85%);
}
.accordion-servizi.et_pb_toggle_open .et_pb_toggle_title:before{
	content: "\22";
    transition: 250ms;
}
.ybottom p {
	font-size: 14px;
}
.ybottom a {
	color: #4e021d;
	text-decoration: underline;
}
.footer-p,
.footer-p a,
.footer-p i{
	color: #fff;
}
.footer-p i {
    margin-right: 10px;
    font-size: 18px;
    background-color: #f7ba20;
    width: 30px;
    height: 30px;
    color: #4e021d;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}


.footer-p .et_pb_code_inner {
	display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-content: flex-start;
}
.yfooter img{
	max-width: 70%;
}
.phone-row {
	position: relative;
}
.phone-row:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgb(0 0 0 / 60%);
}

.main-title.white h1,
.main-title.white h2,
.main-title.white h3,
.main-title.white h4,
.main-title.white p {
	color: #fff;
	font-size: 45px;
}
.ybtn {
	background: #fff;
}
.subtitle-main h3 {
	text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 20px;
    color: #a98b95;
}
.contacts-box p,
.contacts-box a{
	font-size: 18px;
	color: #666;
	text-align: center;
}
.contacts-box i {
    color: #ffffff!important;
    font-size: 25px;
    padding-right: 10px;
    margin-bottom: 15px;
    background-color: #4e021d;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 0px;
}
.contacts-box .et_pb_code_inner {
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
}
p.title-contacts {
	font-weight: 600;
	letter-spacing: 1px;
}
.yfooter {
	background-color: #242424!important;
}
.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea {
	    background: rgb(247 247 247 / 0%)!important;
}
::placeholder {
	color: #f9f9f9!important;
}
.nf-form-content .label-above .nf-field-label,
.nf-form-fields-required{
	display: none;
}
#yheader {
/*	position: fixed;*/
    width: 100%;
	background: rgb(0 0 0 / 0%);
	border-bottom: 1px solid rgb(206 206 206 / 0%);
	transition: 250ms;
/*	top: 33px;*/
}
#yheader.fixed-header {
	position: fixed;
	top: 0px;
}
.et_overlay:before {
	    color: #f7ba20;
}
.mfp-title {
	display: none;
}
.et_pb_gallery_item {
	padding: 5px;
}
.nf-form-content input:not([type=button]) {
	color: #bfbfbf!important;
}
.nf-error .nf-error-msg {
    color: #ff3737!important;
}
.nf-form-content  .nf-error .ninja-forms-field {
	border-color: #ff3737!important;
}
.nf-form-content .nf-error.field-wrap .nf-field-element:after {
	background: #ff3737!important;
}
.ninja-forms-field.nf-element  {
	text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
	padding: 14px 40px!important;
}
.et_pb_module .mobile_menu_bar:before {
	color: #f7ba20!important;
	font-size: 45px;
}
.et_mobile_menu {
	    border-top: 3px solid #f7ba20;
}
.et_mobile_menu li a {
	color: #969696;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
}
.ninja-forms-form-wrap *, .ninja-forms-form-wrap :after, .ninja-forms-form-wrap :before {
	color: #fff;
}
.checkbox-container.label-right .field-wrap>div.nf-field-label {
	width: 4%;
	margin-top: 10px;
}
.checkbox-container.label-right .field-wrap>div.nf-field-description {
	   margin-right: 0%!important;
}
.checkbox-container.label-right .field-wrap {
	    align-items: flex-start;
    align-content: flex-start;
}
@media (max-width: 767.98px) { 
	.ytop-p {
		text-align: center;
		line-height: 24px;
	}
	#ytop-bar {
		padding: 3px 30px
	}
	#yheader .et_pb_row {
		padding: 5px 30px !important;
	}
	.et_pb_fullwidth_menu--style-left_aligned .et_pb_menu__logo {
	    margin-right: 10px;
}
	#slider-top .et_pb_slide_image img {
		height: 300px;
	}
	.et_pb_row {
		width: 90%;
	}
	.main-title h1, .main-title h2, .main-title h3, .main-title h4, .main-title p {
    font-size: 40px;
}
	.align-row {
		flex-direction: column;
	}
	.services-blur .et_pb_image_wrap {
		height: 400px;
	}

	.services-blur h2 {
		text-align: center;
	}
	.accordion-servizi.et_pb_toggle_open {
	background-color: rgb(255 255 255 / 90%);
}
	.logo-bandiera img {
		max-width: 80%;
	}
	.et_pb_module.et_pb_gallery.et_pb_gallery_0.et_pb_gallery .et_pb_gallery_item {
		width: 50%!important;
	}
	.nf-field-container {
		margin-bottom: 5px!important;
	}
	.ninja-forms-field.nf-element  {
		width: 100%!important;
	}
	.yfooter img {
		margin: 0 auto;
		display: flex;
	}
	.main-p.white p a {
		display: block;
	}
	#gallery.et_pb_section {
		padding-left: 0px!important;
		padding-right: 0px!important;
	}
	.contacts-bg .ninja-forms-field.nf-element {
		padding: 14px 20px!important;
	}
}
@media (min-width: 768px) and (max-width: 991.98px) { 
	.ytop-p {
		text-align: center;
	}
		#slider-top .et_pb_slide_image img {
		height: 500px;
	}
	.main-title h1, .main-title h2, .main-title h3, .main-title h4, .main-title p {
    font-size: 50px;
}
	.align-row {
		flex-direction: column;
	}
	.et_pb_row {
		width: 90%;
	}
	.et_pb_module.et_pb_gallery.et_pb_gallery_0.et_pb_gallery .et_pb_gallery_item {
		width: 50%!important;
	}
	.nf-field-container {
		margin-bottom: 5px!important;
	}
	.yfooter img {
    max-width: 85%;
}
	.et_pb_column_1_3 {
		width: 33.333%;
	}
	.footer-p, .footer-p a {
		font-size: 13px;
	}
	.logo-bandiera img {
		max-width: 40%;
	}
	.ninja-forms-field.nf-element {
	   padding: 14px 20px!important;
	}
}
@media (min-width: 992px) and (max-width: 1639.98px) { 
	#yheader .et_pb_row,
	#ytop-bar{
		padding: 5px 30px!important;
	}
	.et_pb_menu__logo img[src$=".svg"] {
    width: 90%;
}
	.et-menu li>a {
		font-size: 14px;
	}
	.et_pb_fullwidth_menu .et-menu>li {
	padding-left: 6px;
    padding-right: 6px;
	}
		#slider-top .et_pb_slide_image img,
	.et_pb_fullwidth_slider_0, .et_pb_fullwidth_slider_0 .et_pb_slide{
		height: 500px!important;
	}
	.main-title h1, .main-title h2, .main-title h3, .main-title h4, .main-title p {
    font-size: 48px;
}
	.et_pb_row {
		width: 90%;
	}
	#servizi{
	padding-right: 30px;
    padding-left: 30px;
	}
	#gallery {
			padding-right: 50px;
    padding-left: 50px;
	}
	.services-blur h2 {
		font-size: 20px;
    text-align: center;
	}
		.services-blur .et_pb_image_wrap img {
	background-size: cover;
    object-fit: cover;
    height: 450px;
	}
	.et_pb_module.et_pb_gallery.et_pb_gallery_0.et_pb_gallery .et_pb_gallery_item {
		width: 50%!important;
	}
}
.nf-form-content label {
	font-size: 14px!important;
	font-weight: 500!important;
}
.footer-htitle h1 {
	color: #fff;
	text-transform: uppercase;
	line-height: 34px;
	font-size: 33px;
}
.footer-htitle h1 strong {
	    font-weight: 200;
    letter-spacing: 0px;
    font-size: 18px;
    text-transform: capitalize;
}

