/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/
:root {
--gold: #B3975D;
--white: #fff;
--light-grey: #f9f9f9;
--black: #000;
--red: #c81812;
}
.main-titles h1,
.main-titles h2,
.main-titles h3,
.main-titles h4,
.main-titles p {
	font-size: 36px;
	line-height: 42px;
	margin-bottom: 30px;
	color: var(--black);
}
.l-subheader.at_middle  {
	padding: 0px 80px!important;
}
.phone-icones i {
	font-size: 20px;
}
.services-box svg {
	font-size: 55px;
}
.services-box .w-iconbox-title,
.ycontacts-box .w-iconbox-title {
	font-family: Lato, sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.services-box path {
	fill: var(--red);
}
.yaccordion .w-tabs-section {
	border: 1px solid var(--gold)!important;
	
}
.yaccordion .w-tabs-section-title {
	color: var(--black);
	font-size: 24px!important;
}
.w-tabs-section-control:after {
	display: none;
}
.w-tabs-section-control:before {
	content: "\f095"!important;
	position: absolute!important;
	font-family: "Font Awesome 5 Free";
	font-weight: 600; 
	width: unset!important;
	height: 0!important;
	font-size: 20px;
	color: var(--gold);
}
.section-logo {
	position: relative;
}
.section-logo:after {
	content: '';
	position: absolute;
	background-image: url("images/favicon-red-pregaglia.svg");
	width: 80px;
	height: 80px;
	background-size: contain;
	top: -43px;
    left: 50%;
    transform: translateX(-50%);
	border: 3px solid #fff;
	border-radius: 50px;
}
.services-box a {
	text-transform: uppercase;
	color: var(--gold);
	letter-spacing: 0.5px;
}
.services-box i,
a.w-btn.us-btn-style_1 i{
    width: 40px;
    height: 40px;
    background: var(--color-content-primary);;
    display: inline-flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    border-radius: 50px;
    padding-left: 0px;
	color: var(--white);
	box-shadow: 1px 1px 10px rgb(0 0 0 / 35%);
	transition: 350ms;
	margin-left: 15px;
}
.services-box:hover i,
a.w-btn.us-btn-style_1:hover i{
	padding-left: 22px;
	color: var(--gold);
}
#page-footer img {
	height: 90px;
	width: 65%;
	object-fit: contain;
}
#page-footer .title-footer{
	text-transform: uppercase;
	color: var(--white);
	letter-spacing: 1px;
	font-size: 18px;
	margin-bottom: 15px;
}
.ybottom p {
	font-size: 14px;
	letter-spacing: 1px;
}
.grey-section {
	background: var(--light-grey);
}
.services-box.two img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}
.services-box.two {
	position: relative;
}
.services-box.two .w-iconbox-meta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    background: #fff;
    padding: 10px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    align-content: center;
    justify-content: center;
	bottom: -25px;
	box-shadow: 1px 1px 10px rgb(0 0 0 / 5%);
	border-bottom: 1px solid var(--gold);
}
.services-box.two .w-iconbox-title {
	letter-spacing: 0px;
}
.phone-icones:not(:last-child) {
	border-bottom: 1px solid rgb(163 163 163 / 35%);
	padding-bottom: 10px;
}
.phone-icones:not(:first-child) {
	padding-top: 10px;
}
.phone-icones i {
	font-weight: 900;
	font-size: 16px;
}
.phone-icones .w-iconbox-icon {
	margin-right: 5px!important;
}
.top-section {
	position: relative;
	    height: 400px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.top-section:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgb(0 0 0 / 35%);
	z-index: 0;
}
.top-section .l-section-h {
	z-index: 1;
}
.top-section h1,
.top-section h2,
.top-section h3,
.top-section h4,
.top-section p {
	color: var(--white);
	font-size: 30px;
}

.top-section h1 strong,
.top-section h2 strong,
.top-section h3 strong,
.top-section h4 strong,
.top-section p strong  {
	font-size: 55px;
	font-weight: 400;
}
.yrow-form {
	display: flex;
	justify-content: space-between;
}
.yrow-form p {
	width: 49%;
}
.wpcf7-list-item-label {
	font-size: 16px;
}
.wpcf7-list-item-label a {
	color: var(--color-content-primary);
	text-decoration: underline;
}
.ycontacts-box .w-iconbox-title {
	padding-bottom: 5px!important;
}
.ycontacts-box .w-iconbox-icon {
    width: 48px!important;
    height: 48px;
	background: var(--color-content-primary);
	border-radius: 50px;
	margin-right: 12px!important;
}
.ycontacts-box .w-iconbox-icon i {
	color: var(--white);
	font-size: 20px!important;
}
.ycontacts-box:not(:last-child) {
	margin-bottom: 50px;
}
.messaggi .w-post-elm {
	width: 22px;
    height: 22px;
	background: var(--color-content-primary);
	border-radius: 50px;
	display: inline-flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    color: var(--white);
}
.date i {
	font-weight: 700;
	color: var(--color-content-primary);
}
li.current-menu-item span.w-nav-title {
	font-weight: 600;
}
.grid-necrologi .w-grid-item {
	box-shadow: 1px 1px 18px rgb(0 0 0 / 5%);
}
.grid-necrologi .messaggi {
	border-top: 1px solid #264173;
    padding-top: 10px;
}
#wpdcom .wpd-blog-guest .wpd-comment-author,
#wpdcom .wpd-blog-guest .wpd-comment-author a,
#wpdcom .wpd-blog-post_author .wpd-comment-author,
#wpdcom .wpd-blog-post_author .wpd-comment-author a{
	color: var(--color-content-primary);
}
#wpdcom .wpd-blog-post_author .wpd-comment-label {
	background-color: var(--color-content-primary);
}
#wpdcom .wpd-prim-button {
	color: #fff!important;
}
	.ush_menu_1 .w-nav-icon {
		color: var(--black);
	}
@media (max-width: 767.98px) { 
	.l-subheader.at_middle {
		padding: 0px 24px!important;
	}
	.yaccordion .w-tabs-section-title {
		font-size: 20px!important;
	}
	.services-box {
		margin-bottom: 30px;
	}
	#page-footer img {
		width: 50%;
	}
	#page-footer .title-footer {
		margin-bottom: 10px;
	}
	.ybottom p {
		line-height: 20px;
	}
	.section-logo:after {
		width: 65px;
    height: 65px;
		    top: -25px;
	}
	.top-section {
		height: 300px;
	}
	.top-section h1 strong, .top-section h2 strong, .top-section h3 strong, .top-section h4 strong, .top-section p strong {
		font-size: 38px;
		line-height: 40px;
	}
	.top-section h1, .top-section h2, .top-section h3, .top-section h4, .top-section p {
		font-size: 25px;
	}
	.l-section.for_comments .l-section-h {
		padding: 30px 0px!important;
	}
	#comments {
		margin: 0px;
	}
		.services-box.two .w-iconbox-title {
			margin-bottom: 15px;
	}
}

@media (max-width: 768px) and (max-width: 1023.98px) {
	.l-subheader.at_middle {
		padding: 0px 30px!important;
	}
	.services-box.two img {
		height: 250px;
	}
	.tablet-clmns {
		display: flex!important;
		flex-direction: row;
		flex-wrap: wrap;
		    padding: 0px 45px;
	}
	.services-box {
		margin-bottom: 30px;
	}
	.services-box .w-iconbox-title, .ycontacts-box .w-iconbox-title {
		padding: 0px!important;
	}
	.services-box .w-iconbox-icon {
		width: 100%;
	}
	.services-box.two .w-iconbox-meta {
		height: 65px;
		padding: 0px 10px;
	}
	.services-box.two .w-iconbox-title {
		font-size: 17px;
	}
	.display-flex {
		display: flex!important;
		flex-direction: column;
	}
		.l-section.for_comments .l-section-h {
		padding: 30px 0px!important;
	}
	#comments {
		margin: 0px;
	}
}
@media (max-width: 1024px) and (max-width: 1279.98px) {
		.l-subheader.at_middle {
		padding: 0px 24px!important;
	}
	.services-box.two img {
		height: 220px;
	}
	.services-box .w-iconbox-title, .ycontacts-box .w-iconbox-title {
		font-size: 15px;
	
	}
	.header_hor .ush_menu_1.type_desktop .menu-item.level_1>a:not(.w-btn) {
    padding-left: 8px!important;
    padding-right: 8px!important;
}
	.services-box.two .w-iconbox-meta {
		height: 70px;
	}
	.main-titles h1, .main-titles h2, .main-titles h3, .main-titles h4, .main-titles p {
		line-height: 30px;
		font-size: 30px;
		margin-bottom: 10px;
	}
	.w-nav-title {
		font-size: 15px!important;
	}
	.display-flex.contatti {
		display: flex;
		flex-direction: column;
	}
}
@media (min-width: 1280px) and (max-width: 1499.98px) {
			.l-subheader.at_middle {
		padding: 0px 24px!important;
	}
	.services-box.two img {
		    height: 225px;
	}
	.services-box .w-iconbox-title, .ycontacts-box .w-iconbox-title {
		font-size: 16px;
		padding: 0px!important;
	}
	.services-box.two .w-iconbox-meta {
		    padding: 0px 10px;
		    height: 55px;
	}
	.main-titles h1, .main-titles h2, .main-titles h3, .main-titles h4, .main-titles p {
		    font-size: 30px;
    line-height: 35px;
		margin-bottom: 10px;
	}
}
.phone-icones a {
	color: var(--color-content-text);
}