/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

:root {
	--rame: #996b60;
	--bianco: #ffffff;
	--testo: #707070;
}

.fusion-body .fusion-button-default-size,
.fusion-body .fusion-button-default-size:hover,
.fusion-body .fusion-button-default-size:focus,
button.button,
button.button:hover,
button.button:focus {
	border-bottom-color: #555;
}

/* -------------------------------------------------------------------------------- */
/* ! Header
/* -------------------------------------------------------------------------------- */

.fusion-tb-header .fusion-image-carousel {
	margin-bottom: 0;
}

.fusion-tb-header .wpml-ls-legacy-list-horizontal {
	padding: 0;
	max-width: 940px;
	margin: 0 auto;
}

.fusion-tb-header .wpml-ls-legacy-list-horizontal a {
	padding: 5px;
}

.fusion-tb-header .fusion-column-wrapper {
	position: relative;
}

.fusion-tb-header .swiper-wrapper {
	max-height: 400px;
}

@media (min-width : 1301px) {
	.fusion-tb-header #testo-verticale {
		background: var(--bianco);
		padding-bottom: 20px;
		position: absolute;
		z-index: 1;
		transform: rotate(-90deg);
		transform-origin: left bottom;
		bottom: 83px;
		width: 360px;
		left: 35px;
		z-index: 100;
	}
}

.fusion-tb-header .col-logo .fusion-image-element {
	padding: 30px 30px 0 0;
	background-color: var(--bianco);
}

@media (min-width: 1301px) {
	.fusion-tb-header .awb-menu_dropdown.awb-menu_row .awb-menu__sub-ul_main {
		border-top: 1px solid var(--rame);
		min-width: 200px;
	}
}

@media (min-width: 1301px) and (max-width: 1419px) {
	.fusion-tb-header .col-logo .fusion-column-wrapper {
		margin-right: 0px;
	}

	.fusion-tb-header .col-menu .fusion-column-wrapper {
		margin-left: 0px;
		margin-right: 24px;
	}

	.fusion-tb-header .col-menu {
		width: 75%;
	}
}

@media (min-width : 768px) and (max-width : 1300px) {
	#menu-mobile {
		position: absolute;
		top: 70px;
	}

	#menu-mobile button {
		border-radius: 4px;
	}

	#menu-mobile .fusion-menu {
		padding-top: 30px;
		padding-bottom: 30px;
		background-color: #fff;
	}
}

@media (max-width : 767px) {
	.fusion-tb-header #menu-mobile {
		margin-bottom: 15px;
	}

	#menu-mobile button {
		border-radius: 4px;
		width: 100%;
	}

	#menu-mobile button .awb-menu__m-toggle-inner {
		justify-content: center;
	}

	#menu-mobile>ul {
		padding-top: 10px;
		padding-bottom: 10px;
		box-shadow: 0px 14px 17px 0px #ABABAB;
	}
}


/* -------------------------------------------------------------------------------- */
/* ! Footer
/* -------------------------------------------------------------------------------- */

.fusion-footer {
	border-top: 1px solid rgba(153, 107, 96, 0.3) !important;
	margin-top: 60px !important;
}

.fusion-footer p {
	margin-top: 5px;
	margin-bottom: 5px;
}

/* -------------------------------------------------------------------------------- */
/* ! Home Page
/* -------------------------------------------------------------------------------- */

#table-rame table {
	border-bottom: 1px solid var(--rame);
	font-size: 15px;
}

#table-rame tr th,
#table-rame tr td {
	padding: 12px 5px;
	color: var(--rame);
	border: 1px solid var(--rame);
	border-bottom: none;
}

#table-rame tr th {
	border-right: none;
}

#table-rame tr td {
	text-align: center;
	border-left: none;
}

.servizi-hp .heading-link {
	text-decoration: none !important;
}

.servizi-hp h2.content-box-heading {
	text-align: left;
}

.servizi-hp .heading,
.servizi-hp.fusion-content-boxes.content-boxes-icon-on-top .content-container,
.servizi-hp.content-boxes-icon-on-top .col {
	text-align: left;
}

.servizi-hp.fusion-content-boxes.content-boxes-icon-on-top .content-container {
	font-size: 15px;
}

.home-right .fusion-content-boxes {
	margin-bottom: 0 !important;
}

@media (max-width: 991px) {
	.home-left,
	.pagina-left {
		width: 100% !important;
		order: 2 !important;
	}

	.home-right,
	.pagina-right {
		width: 100% !important;
		order: 1 !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Dettaglio Prodotto
/* -------------------------------------------------------------------------------- */

.prodotto-right strong {
	color: #3b3b3b;
}

.prodotto-right h2 {
	font-size: 18px !important;
}

/* -------------------------------------------------------------------------------- */
/* ! Contatti
/* -------------------------------------------------------------------------------- */

.wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.wpcf7-form p {
	width: 100%;
}

.wpcf7-form p:nth-child(-n + 6) {
	width: 48%;
}
 

.wpcf7-form br {
	display: none;
}

.wpcf7-form label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
}

.wpcf7-form label span {
	color: #b94a48;
}

.wpcf7-list-item {
	margin: 0;
}

.wpcf7-list-item label {
    font-weight: 400;
}

.wpcf7-form .wpcf7-list-item label span {
	color: var(--testo);
}

/* -------------------------------------------------------------------------------- */
/* ! Certificazioni
/* -------------------------------------------------------------------------------- */

.pagina-right.certificazioni .fusion-gallery-image {
	margin-bottom: 30px !important;
}

@media (min-width : 1400px) {
	.pagina-right.certificazioni .fusion_builder_column_inner_1_3 {
		max-width: 25% !important;
	}
}

@media (min-width: 1200px) and (max-width: 1399px) {
	.pagina-right.certificazioni .fusion_builder_column_inner_1_3 {
		max-width: 28% !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Dettaglio prodotto
/* -------------------------------------------------------------------------------- */

.fusion-breadcrumbs {
	text-transform: uppercase;
}

.prodotto-right .fusion-title a {
	text-decoration: none !important;
}

.legenda p {
	display: flex;
	align-items: center;
}

.legenda p::before {
	content: '';
	display: inline-block;
	width: 30px;
	height: 30px;
	background-color: #ca5b40;
	margin-right: 10px;
}

/* filtri */

.portfolio-category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.portfolio-category-filter a {
	padding: 5px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none !important;
	border-bottom-color: #555;
	color: #3b3b3b;
}

.portfolio-category-filter a:hover,
.portfolio-category-filter a:focus,
.portfolio-category-filter a.active {
	background-color: #e6e6e6;
}

.single-avada_portfolio .fusion-content-tb .fusion-fullwidth {
	padding-left: 0;
	padding-right: 0;
}

/* tabella 1 - brutta brutta */

.table-container {
	overflow-x: auto;
	margin-bottom: 30px;
	font-size: 14px;
}

table.tabella-1,
table.tabella-3 {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.tabella-1 th, .tabella-1 td,
.tabella-3 th, .tabella-3 td {
	padding: 5px;
	border: 1px solid #ddd;
	/* white-space: nowrap; */
	text-align: center;
	font-weight: 400;
}

.tabella-1 thead th,
.tabella-3 thead th {
	background-color: #814638;
	color: #fff;
	font-weight: 400;
}

.tabella-1 .highlighted {
	background-color: #ca5b40 !important;
	color: #fff;
}

.tabella-1 .double {
	padding: 0;
	position: relative;
}

.tabella-1 .double table {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0;
}

.tabella-1 .double td {
	border: none;
}

@media screen and (max-width: 991px) {
	.table-container {
		overflow-x: unset;
	}

	table.tabella-1, .tabella-1 thead, .tabella-1 tbody, .tabella-1 th, .tabella-1 td, .tabella-1 tr,
	table.tabella-3, .tabella-3 thead, .tabella-3 tbody, .tabella-3 th, .tabella-3 td, .tabella-3 tr {
		display: block;
	}

	.tabella-1 thead,
	.tabella-3 thead {
		display: none;
	}

	.tabella-1 tr,
	.tabella-3 tr {
		margin-bottom: 15px;
		border: 1px solid #ddd;
		border-radius: 8px;
		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		overflow: hidden;
	}

	.tabella-1 td, .tabella-1 tbody th,
	.tabella-3 td, .tabella-3 tbody th {
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 80%;
		padding-right: 10px;
		text-align: right;
		white-space: normal;
		min-height: 40px;
		display: flex;
		align-items: center;
	}

	.tabella-1  td:last-child, .tabella-1 tbody th:last-child,
	.tabella-3  td:last-child, .tabella-3 tbody th:last-child {
		border-bottom: 0;
	}

	.tabella-1 td::before,
	.tabella-3 td::before {
		content: attr(data-label);
		position: absolute;
		left: 10px;
		width: calc(75% - 10px);
		text-align: left;
		box-sizing: border-box;
	}

	.tabella-1 tbody th,
	.tabella-3 tbody th {
		background-color: #f0f0f0;
		font-weight: bold;
		text-align: left;
		padding-left: 15px;
		color: var(--rame);
		display: block;
		min-height: auto;
	}

	.tabella-1 tbody th::before,
	.tabella-3 tbody th::before {
		content: attr(data-label);
	}

	.tabella-1 .highlighted:empty {
		text-align: center;
		padding-left: 15px;
		padding-right: 15px;
	}

	.tabella-1 .highlighted:empty::before {
		content: attr(data-label);
		position: absolute;
		left: 10px;
		width: 90%;
		text-align: left;
	}

	.tabella-1 td:not(.highlighted) {
		display: none;
	}

	.tabella-1 td:empty,
	.tabella-3 td:empty {
		text-align: right;
	}
}


/* tabella 2 */

.tabella-2 {
	margin: 30px 0;
	text-align: center;
}

.tabella-2 table {
	width: 100%;
	table-layout: fixed;
}

.tabella-2 th,
.tabella-2 td {
	padding: 5px;
	font-size: 14px;
	border: 1px solid #ddd;
	color: var(--testo);
}

.tabella-2 th {
    background: #814638;
	border-color: #ddd;
	color: #fff;
	font-weight: 400;
	font-size: 14px;
}

.tabella-2 thead {
    border-bottom: none;
}

/* -------------------------------------------------------------------------------- */
/* ! News
/* -------------------------------------------------------------------------------- */

.box-news:not(:first-child) {
	padding-top: 30px !important;
}

/* -------------------------------------------------------------------------------- */
/* ! LINGUE
/* -------------------------------------------------------------------------------- */

@media (min-width: 1301px) and (max-width: 1399px) {
	html:lang(en-US) .awb-menu_icons-left .awb-menu__main-a,
	html:lang(fr-FR) .awb-menu_icons-left .awb-menu__main-a,
	html:lang(ru-RU) .awb-menu_icons-left .awb-menu__main-a,
	html:lang(es-ES) .awb-menu_icons-left .awb-menu__main-a {
		padding-left: 10px;
		padding-right: 10px;
	}

	html:lang(de-DE) .awb-menu_icons-left .awb-menu__main-a {
		padding-left: 6px;
		padding-right: 6px;
	}

	html:lang(ru-RU) .fusion-tb-header .col-logo {
		width: 15%;
	}

	html:lang(ru-RU) .fusion-tb-header .col-menu {
		width: 85%;
	}
	
	html:lang(es-ES) .fusion-tb-header .col-logo {
		width: 17%;
	}

	html:lang(es-ES) .fusion-tb-header .col-menu {
		width: 81%;
	}

	html:lang(ru-RU) .fusion-tb-header .col-logo .fusion-image-element,
	html:lang(es-ES) .fusion-tb-header .col-logo .fusion-image-element {
		margin-bottom: 0px;
		padding-bottom: 20px;
		padding-left: 10px;
	}
}