.wp-block-table {	
	overflow: visible !important;
}

.results .wpcf7,
.results,
.first,
.calc_page {
	display: none;
}

.results .wpcf7-form {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.results.active,
.first.active,
.calc_page.active {
	display: block;
}

.capture {
	width: 1000px;
	margin: auto;
	position: relative;
	display: block;
}

.capture > * {
	margin-left: 20px;
	margin-right: 20px;
}

.capture > :first-of-type {
	margin-top: 20px;
}

.capture .wp-block-column p {
	display: none;
}

.capture .shot input,
.capture .shot select,
.capture .shot span {
	display: none !important;
}

/*
.capture .shot {
	text-align: left !important;
}
*/
.capture .shot::after {
	content: var(--opt);
	display: block;
	width: 100%;
}

.capture tr.exclude,
.capture .exclude select,
.capture .exclude input,
.capture .add.exclude,
.capture .remove.exclude {
	display: none;
}


.number {
	padding-right: 20px !important;
    width: 70px !important;
	font-weight: 700 !important;
}

.up {
	position: absolute;
	height: 15px;
	width: 15px;
	z-index: 2;
	margin-left: -18px;
	margin-top: 1px;
	cursor: pointer;
	overflow: hidden;
}

.down {
	position: absolute;
	height: 15px;
	width: 15px;
	margin-top: 18px;
	z-index: 1;
	margin-left: -18px;
	cursor: pointer;
	overflow: hidden;
}

.up::before {
	content: '\1F891';
	font-size: 30px;
	line-height: 0;
	display: block;
	color: #888;
	margin-top: -2px;
}

.down::before {
	content: '\1F893';
	font-size: 30px;
	line-height: 0;
	display: block;
	color: #888;
	margin-top: 15px;
}


.applications {
	flex-direction: row;
    flex-wrap: wrap !important;	
	/*justify-content: center;*/
}

.applications figure {
	border-top: 3px solid transparent;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
}

.applications figure img {
	object-fit: cover;
    width: 100%;
	cursor: pointer; 
}

.applications figure.active {
	border-top: 3px solid var(--beneo_green);
	border-left: 3px solid var(--beneo_green);
	border-right: 3px solid var(--beneo_green);
	background-color: var(--beneo_green);
}

.applications figure.active figcaption {
	color: #fff;
	font-weight: 700;
}

.applications .wp-block-column {
	flex-basis: calc(33.33% - 1rem) !important;
	flex-grow: 0 !important;
}

.applications .wp-block-image figcaption {
	display: block !important;
	line-height: 40px;
	margin: 0;
	font-size: var(--wp--preset--font-size--mini);
}

.app,
.results {
	margin-block-start: 0 !important;
}

.app_name {
	font-weight: 700;
}

.calc_page input {
	padding: 5px;
	font-weight: 700;
	border: 1px solid #aaa;
	min-height: 20px;
}

.calc_page input[type="text"] {
	font-weight: 400;
	display: inline-block;
	vertical-align: middle;
}

input:focus,
select:focus {
    border: 1px solid var(--wp--preset--color--primary);   
}
	
	
.calc_page td:not(:first-of-type) {
	text-align: center;
}


button.back,
button.next {
	padding: 5px 20px;
	cursor: pointer;
	margin-right: 10px !important;
}

.ingredients thead {
	border: 0 !important;
}

.ingredients tfoot {
	background-color: #fff;
}

.ingredients tfoot td:first-of-type {
	padding-left:0;
}

.results {
	margin-top: -2px !important;
}

.ingredients tr:nth-last-of-type(-n+2) td {
	background-color: #ddd;
}

.ingredients td,
.t_result tbody td {
	border: 2px solid #fff;
	position: relative;
}
	
.ingredients thead th {
	background-color: var(--wp--preset--color--primary);
	color: #fff;
	border: 2px solid #fff;
}

.ingredients tbody tr:hover td::before {
	color: #fff;	
}

.ingredients tbody tr:hover td {
	background-color: var(--beneo_green);
	color: #fff;
	border: 2px solid #fff;
}
	
.t_result tbody td {
	background-color: var(--beneo_green);
	color: #fff;
	font-weight: 700;
}

.ingredients td,
.ingredients th {
	width:50%;
}

.ingredients th:nth-last-of-type(-n+2),
.ingredients td:nth-last-of-type(-n+2) {
	display: none;
}

.ingredients td:first-of-type,
.ingredients th:first-of-type {
	width:50%;
}


button.add,
button.remove {
	cursor: pointer;
	font-weight: 700;
	width: 25px;
	height: 25px;
	background-color: var(--wp--preset--color--primary);
	color: #fff;
	border: 0;
	margin-top: 3px;
}

button.add {
	margin-right: 5px;
	margin-left: 2px;
}

/*
@media only screen and (max-width : 768px) {
	

	.first .wp-block-columns,
	.last > .wp-block-group > .wp-block-group:not(.capture) .wp-block-columns,
	.recipe .wp-block-columns {
		gap: 0;
	}
	
	.last > .wp-block-group > .wp-block-group:not(.capture) td,
	.last > .wp-block-group > .wp-block-group:not(.capture) th,
	.calc_page td,
	.calc_page th {
		display: inline-block;
		width: calc(100% - 1.1em) !important;
		text-align: left !important;
	}

	.t_result thead,
	.ingredients thead {
		display: none;
	}
	
	.t_result tbody tr td {
		text-align: left !important;
	}
	
	.t_result tbody tr td,
	.ingredients tbody tr:hover td,
	.ingredients tbody td {
		border: 1px solid #fff;
	}

	.ingredients tbody tr:hover td:first-of-type {
		background-color: var(--wp--preset--color--primary) !important;
	}
	
	.ingredients tbody td:first-of-type { 
		background-color: var(--wp--preset--color--primary);
		color: #fff;	
	}
	
	.t_result tbody td:first-of-type::before,	
	.ingredients tbody td:first-of-type::before {
		font-weight: 700;
		color: #fff;
	}
		
	.t_result tbody td::before,
	.ingredients tbody td::before {
		display: inline-block;
		width: 50%;
		position: relative;

		font-weight: 700;
	}
	
	.t_result tbody td:nth-child(1)::before,
	.ingredients tbody td:nth-child(1)::before {
		content: var(--desc0);
	}
	
	.t_result tbody td:nth-child(2)::before,
	.ingredients tbody td:nth-child(2)::before {
		content: var(--desc1);
	}
	
	.t_result tbody td:nth-child(3)::before,
	.ingredients tbody td:nth-child(3)::before {
		content: var(--desc2);
	}
	
	.t_result tbody td:nth-child(4)::before,
	.ingredients tbody td:nth-child(4)::before {
		content: var(--desc3);
	}
	
	.t_result tbody td:nth-child(5)::before,
	.ingredients tbody td:nth-child(5)::before {
		content: var(--desc4);
	}
	
	.t_result tbody td:nth-child(6)::before,
	.ingredients tbody td:nth-child(6)::before {
		content: var(--desc5);
	}
	
}
*/