/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


@font-face {
	font-family: 'Abraham Lincoln';
	font-style: normal;
	font-weight: normal;
    src: url('fonts/AbrahamLincoln.woff') format('woff');
	font-display: swap;
}

input.wpcf7-form-control.wpcf7-submit {
	margin-top: 20px;
    background: #be9c6c;
}
input.wpcf7-form-control.wpcf7-submit:hover {
    background: #004E25;
}


/* Immagine shortcode [listino] in aspect ratio 3:2 */
.listino-immagine-ratio {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.listino-immagine-ratio img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


.listino-grid {
	display: block;
  	column-count: 1;
  	column-gap: 60px;
}
@media screen and (min-width: 797px) {
	.listino-grid {
		column-count: 2;
	}
}
.listino-item {
	break-inside: avoid;
  	margin-bottom: 40px;
}
.listino-row-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	flex-direction: column;
}
.listino-titolo-wrap {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: nowrap;
}
.listino-titolo-wrap .senza-glutine {
	display: inline-block;
}
.listino-titolo-wrap .senza-glutine img {
	margin-bottom: 0;
	width: 30px!important;
}
.listino-etichetta {
	text-transform: uppercase;
	font-size: 32px;
	font-family: 'Abraham Lincoln';
	color: #fff;
	background-color: #be9c6c;
	padding: 10px 5px 0px;
}
.listino-titolo {
	text-transform: uppercase;
	font-size: 40px;
	font-family: 'Abraham Lincoln';
	color: #004e25;
	line-height: 1;
}
.listino-prezzo {
	font-size: 40px;
	font-family: 'Abraham Lincoln';
	color: #004e25;
	white-space: nowrap;
	line-height: 1;
}
.listino-row-descrizione {
	margin-top: 5px;
	font-size: 18px;
	line-height: 1.2em;
	color: #004e25;
}
.listino-row-immagine {
	margin-top: 30px;
}



.tab-menu .wpb_wrapper.tabbed.clearfix{
	overflow: hidden;
}
.tab-menu ul.wpb_tabs_nav {
	border: none!important;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 10px;
	overflow-y: hidden;
    overflow-x: scroll;
}
.tab-menu ul.wpb_tabs_nav::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
li.tab-item a {
	font-size: 18px!important;
	padding: 2px 20px!important;
	border-radius: 5rem;
    border: solid 1px #004e25!important;
	margin-bottom: 5px!important;
}
li.tab-item.active-tab a::after {
    content: '';
    width: 0 !important;
}
li.tab-item.active-tab a {
	background: #004e25 !important;
    color: #fff !important;
    font-weight: bold;
}
.tabbed[data-style=minimal]>ul li a:hover {
    opacity: 1;
}

@media screen and (min-width: 796px){
	.tab-menu ul.wpb_tabs_nav {
		flex-wrap: wrap;
		justify-content: center;
		overflow: hidden;
	}
}
@media only screen and (max-width: 690px) {
    body .tabbed > ul li.tab-item a {
        border-right: 1px solid #004e25 !important;
    }
}