/*
Theme Name: Savory Child
Theme URI: https://savory.qodeinteractive.com
Description: A child theme of Savory Theme
Author: Elated Themes
Author URI: https://themeforest.net/user/elated-themes
Version: 1.0.3
Template: savory
Text Domain: savory
*/

@font-face {
    font-family: 'MonetaSans';
    src: url('MonetaSans/MonetaSans-Bold.woff2') format('woff2'),
         url('MonetaSans/MonetaSans-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body div.pp_default .pp_description { display:none !important; }

body h1,
body h2,
body div.eltd-post-info-date,
sr7-txt { font-family:'MonetaSans' !important; }

.wpb_text_column :first-child { margin-top:0; }

body .eltd-logo-wrapper a { display:inline-block; height:auto !important; max-height:85px !important; }
body .eltd-logo-wrapper img { min-width:120px; height:auto; display:block; padding:10px 0; }

body .eltd-main-menu li.wpml-ls-item .item_inner { display:flex; }

body footer .wpb_single_image img { min-width:120px; height:auto; }
body footer a { color:#fab522; }

body.home .eltd-tabs,
body.home .eltd-tabs .ui-widget-content,
body.home .eltd-tabs .ui-widget-content .wpb_row,
body.home .eltd-tabs .ui-widget-content .wpb_row .eltd-full-section-inner,
body.home .eltd-tabs .ui-widget-content .wpb_row .eltd-full-section-inner .wpb_column:last-child,
body.home .eltd-tabs .ui-widget-content .wpb_row .eltd-full-section-inner .wpb_column:last-child * { display:flex; justify-content:center; }
body.home .eltd-tabs .ui-widget-content .wpb_row .eltd-full-section-inner .wpb_column:last-child img { object-fit:cover; min-width:301px; }
body.home .eltd-tabs .ui-widget-content h4 { color:#333333; }
body.home .eltd-tabs .ui-widget-content h4 strong { font-weight:600; }
body.home .eltd-tabs.eltd-transparent-tabs.eltd-vertical-tab .eltd-tabs-nav li:not(.eltd-tab-line) a { letter-spacing:0; }

body .eltd-side-menu .eltd-sidearea-widget.widget_text { font-size:17px; }
body .eltd-side-menu .eltd-sidearea-widget.widget_text a {
  color: transparent;
  background: linear-gradient(to right, #FFB71B 50%, #FFFFFF 50%);
  background-size: 200% 100%;
  background-position: right;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 0.4s ease;
}
body .eltd-side-menu .eltd-sidearea-widget.widget_text a:hover { background-position:left; }

.comment-respond input[type=email], .comment-respond input[type=text], .comment-respond textarea, .post-password-form input[type=password], .widget input, .widget select, .wpcf7-form-control.wpcf7-date, .wpcf7-form-control.wpcf7-number, .wpcf7-form-control.wpcf7-quiz, .wpcf7-form-control.wpcf7-select, .wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-textarea, .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-submit { font-size:15px !important; }
body header.eltd-page-header .eltd-main-menu > ul > li > a .item_text { font-size:17px; }

.eltd-testimonials.owl-carousel .owl-item .eltd-testimonial-content { padding:0px 10px; }
.eltd-testimonials.light:not(.eltd-cards) .eltd-testimonials-details h5 { font-size:22px; }

body aside.eltd-sidebar { margin-bottom:75px; }
body aside.eltd-sidebar .widget_eltd_social_icon_widget a { border-color:#FFB71B; }
body aside.eltd-sidebar .widget_eltd_social_icon_widget a > span { font-size:32px; color:#FFB71B !important; }
body aside.eltd-sidebar .widget_eltd_social_icon_widget a:hover { background-color:#FFB71B; border-color:#FFB71B; }
body aside.eltd-sidebar .widget_eltd_social_icon_widget a:hover > span { color:white !important; }

body .eltd-sticky-header .eltd-vertical-align-containers .eltd-position-right .eltd-position-right-inner { display:flex; align-items:center; transform:translateY(-100%); }

body.home .foto-cane-hp img { aspect-ratio: 330 / 441; }
  
body.home .eltd-elements-holder { display:flex; gap:30px; }
body.home .eltd-elements-holder .eltd-elements-holder-item { background-size:cover; background-position:center; height:inherit; flex:1; }
body.home .eltd-elements-holder .eltd-elements-holder-item-content { display:flex; }
body.home .eltd-elements-holder .eltd-elements-holder-item-content > * { flex-grow:1; }

body .tp-white-overlay { position:relative; }
body .tp-white-overlay:before {
	content:'';
	width:100%;
	height:100%;
	display:block;
	position:absolute;
	top:0;
	left:0;
	background-color:white;
	opacity:0.8;
}

/* Sezione Blog */

body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item { display:flex; gap:25px; margin-bottom:40px; }
body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item:before,
body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item:after { display:none !important; }
body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item .eltd-item-image { min-width:280px; min-height:200px; }
body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item .eltd-item-image a { display:flex; position:absolute; height:100%; }
body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item .eltd-item-image img { object-fit:cover; object-position:center; }
body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item .eltd-item-text-holder { flex-grow:1; margin-top:0; display:flex; flex-direction:column-reverse; justify-content:flex-end; }

body .eltd-blog-list-holder.eltd-blog-standard .eltd-blog-list-item .eltd-item-text-holder h4 { width:100%; }
body .eltd-blog-list-holder.eltd-blog-standard .eltd-blog-list-item .eltd-item-text-holder h4.eltd-item-title a { font-size:24px; }
body .eltd-blog-holder article .eltd-post-excerpt,
body .eltd-blog-list-holder.eltd-blog-border-bottom .eltd-blog-list-item .eltd-item-text-holder .eltd-excerpt,
body .eltd-blog-list-holder.eltd-blog-standard .eltd-blog-list-item .eltd-item-text-holder .eltd-excerpt {
	text-transform:uppercase;
	font-size:16px;
	font-weight:700;
	border-bottom: 1px solid black;
}
body.single-post .eltd-blog-holder article .eltd-post-excerpt { font-size:20px; }
body .eltd-blog-holder article .eltd-post-excerpt:before,
body .eltd-blog-list-holder.eltd-blog-border-bottom .eltd-blog-list-item .eltd-item-text-holder .eltd-excerpt:before,
body .eltd-blog-list-holder.eltd-blog-standard .eltd-blog-list-item .eltd-item-text-holder .eltd-excerpt:before {
	content: "\e023";
	font-family: 'ElegantIcons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
	margin-right:8px;
	padding:12px;
	background-color:#FFB71B;
	padding: 8px 20px 10px 20px;
    border: 1px solid black;
    border-top-left-radius: 15px;
    display: inline-block;
    border-bottom: 0;
}

/* TP Custom Sidebar Widget */

body .tp-sidebar-widget { position:relative; width:100%; min-height:480px; display:flex; margin-top:35px; }
body:not(.single-post) .tp-sidebar-widget:first-child { margin-top:75px; }
body.single-post .tp-sidebar-widget:first-child { margin-top:0px; }
body .tp-sidebar-widget img.tp-sidebar-widget-background { position:absolute; top:0; left:0; height:100%; width:100%; object-fit:cover; z-index:1; }
body .tp-sidebar-widget .tp-sidebar-widget-overlay { position:absolute; top:0; left:0; height:100%; width:100%; background-color:black; opacity:0.3; z-index:2; }
body .tp-sidebar-widget .tp-sidebar-widget-content { position:relative; display:flex; width:100%; flex-grow:1; z-index:3; flex-direction:column; justify-content:center; text-align:center; gap:25px; }
body .tp-sidebar-widget .tp-sidebar-widget-content .tp-sidebar-widget-title h2 { color:white; margin:0; }
body .tp-sidebar-widget .tp-sidebar-widget-content .tp-sidebar-widget-link { position:relative; overflow:hidden; }
body .tp-sidebar-widget .tp-sidebar-widget-content .tp-sidebar-widget-link a { display:inline-block; text-transform:uppercase; border:3px solid white; color:black; font-size:14px; padding:16px 32px; background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%); background-size:201% 100%; background-position:99%; transition:0.3s ease all; }
body .tp-sidebar-widget .tp-sidebar-widget-content .tp-sidebar-widget-link a:hover { background-position:0%; color:white; }

/* TP BG EFFECT */

body .tp-bg-effect {
	--tp-bg-color: #fab522;
	--tp-bg-space: 22px;
	--tp-bg-space-neg: calc(var(--tp-bg-space) * -1);
}
body .tp-bg-effect *:has(> img) { position:relative; }
body .tp-bg-effect *:has(> img):before { content:''; position:absolute; width:100%; height:100%; top:0; left:0; z-index:1; background-color:var(--tp-bg-color); }
body .tp-bg-effect *:has(> img) img { position:relative; z-index:2; }
body .tp-bg-effect.top.right *:has(> img):before { transform:translate(var(--tp-bg-space),var(--tp-bg-space-neg)); }
body .tp-bg-effect.top.left *:has(> img):before { transform:translate(var(--tp-bg-space-neg),var(--tp-bg-space-neg)); }
body .tp-bg-effect.bottom.right *:has(> img):before { transform:translate(var(--tp-bg-space),var(--tp-bg-space)); }
body .tp-bg-effect.bottom.left *:has(> img):before { transform:translate(var(--tp-bg-space-neg),var(--tp-bg-space)); }

@media screen and (max-width:1024.9px) {
	/* Sezione Blog */
	body .eltd-blog-list-holder.eltd-one-column .eltd-blog-list-item { flex-direction:column; }
	
	/* TP Custom Sidebar Widget */
	body .tp-sidebar-widget .tp-sidebar-widget-content .tp-sidebar-widget-title h2 { font-size:38px; }
	body aside.eltd-sidebar .widget_eltd_social_icon_widget > span { margin-right:5px !important; width:60px !important; height:60px !important; }
	body aside.eltd-sidebar .widget_eltd_social_icon_widget a > span { font-size:20px; }
}

@media screen and (max-width:768.9px) {
	/* TP Custom Sidebar Widget */
	body aside.eltd-sidebar { width:calc(100% - 30px); margin-left:15px; margin-right:15px; }
	body .eltd-blog-list-holder.eltd-blog-standard .eltd-blog-list-item .eltd-item-text-holder .eltd-excerpt { font-size:14px; }
	
	body.single-post .eltd-blog-holder article .eltd-post-excerpt,
	body.single-post .eltd-blog-holder article .eltd-post-text { width:calc(100% - 30px); margin-left:15px; margin-right:15px; font-size:14px; }
	body.single-post .vc_column_container>.vc_column-inner { padding-left:0; padding-right:0; }
	body.single-post .eltd-title { display:none; }
	body.single-post .eltd-content .eltd-content-inner > .eltd-container > .eltd-container-inner { padding:0; }
	body .eltd-blog-holder.eltd-blog-single article .eltd-post-title { font-size:28px; margin-bottom:20px; }
	
	.eltd-blog-holder.eltd-blog-single .eltd-related-posts-holder { display:none; }
	
	body #eltd-back-to-top { right:25px; bottom:25px; }
	body .eltd-footer-bottom-holder p { text-align:center; }
}

@media screen and (max-width:600.9px) {
	body .vc_row { margin-left:0; margin-right:0; }
	body .eltd-grid-section .eltd-section-inner { padding-left:0; padding-right:0; }
}