/**
Theme Name: Megiston Child
Author: Megiston srl
Author URI: https://www.megiston.com/
Description: Proponiamo soluzioni web e digital ideali per il tuo business. La nostra agenzia, con sede a Padova e Vicenza, è pronta per portare la tua attività e la tua azienda al livello successivo.
Theme URI: https://www.megiston.com/
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mgs
Domain Path: /languages
Template: astra
*/

/* recaptcha badge */
.grecaptcha-badge {
	width: 0!important;
	height: 0!important;
	display: none!important;
	visibility: hidden;
}
.ta-c {
	text-align: center;
}

/* CUSTOM STYLE - Fabio M */


/* outline - generale */
*:focus, *:active {
	border-style: none!important;
	border-color: none!important;
	border-width: none!important;
}

/* impostazioni woocommerce */
.woocommerce-breadcrumb { display: none;
}


/* menu */
.mega-sub-menu {
	margin-top: 20px!important;
}

/* margine superiore contenuto pagine */
.ast-page-builder-template .site .site-content #primary {
	margin-top: 50px;
	margin-bottom: 50px;
}

/* colors */
.white * {
	color: #ffffff!important;
}

/* accordion */
.custom-accordion .elementor-accordion {
	display: flex;
}
.custom-accordion .elementor-accordion .elementor-accordion-item {
	width: 323px;
	display: flex;
	flex-direction: column;
}
.custom-accordion .elementor-accordion-icon {
	margin-top: 7px;
}
.custom-accordion .elementor-accordion .elementor-accordion-icon svg {
	width: 15px!important;
}
.custom-accordion .elementor-accordion .elementor-accordion-item,
.custom-accordion .elementor-accordion .elementor-tab-content {
	border: none!important;
}
.custom-accordion .elementor-accordion .elementor-accordion-item {
	border-top: 1px solid #000!important;
	margin-right: 20px;
}
.custom-accordion .elementor-accordion-title {
	outline: none!important;
}
.custom-accordion .accordion-button {
	color: #2E5134;
	text-decoration: none!important;
	text-transform: lowercase;
	font-weight: 600;
	display: block;
	margin-top: 20px;
	position: relative;
	padding-left: 25px;
	font-size: 21px;
	outline: none!important;
}
.custom-accordion .accordion-button:after {
	content: '';
	position: absolute;
	width: 14px;
	height: 14px;
	background: url(assets/images/arrow-green.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	left: 0;
	top: 5px;
}
@media screen and (max-width: 1024px) {
	.custom-accordion .elementor-accordion {
		flex-direction: column-reverse;
	}
	.custom-accordion .elementor-accordion-item {
		width: 100%!important;;
	}
}

/* pulsanti */
.flat-button {
	color: #2E5134;
	text-decoration: none!important;
	text-transform: lowercase;
	font-weight: 600;
	display: block;
	margin-top: 20px;
	position: relative;
	padding-left: 25px;
	font-size: 21px;
	outline: none!important;
}
.flat-button:after {
	content: '';
	position: absolute;
	width: 14px;
	height: 14px;
	background: url(assets/images/arrow-green.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	left: 0;
	top: 5px;
}
.flat-button:hover {
	color: #2E5134!important;
}
.ast-on-card-button {
	display: none;
}

/* griglia loop categorie */
.custom-cat-grid ul.products li.product.product-category a img {
	height: unset!important;
	object-fit: cover!important;
}
.custom-cat-grid ul.products li.product .woocommerce-loop-category__title {
	background: none!important;
	bottom: 0!important;
	position: unset!important;
	text-align: left;
	position: relative!important;
	padding-left: 25px;
	left: 0!important;
}
.custom-cat-grid .count {
	display: none!important;
}
.custom-cat-grid .woocommerce-loop-category__title:after {
	content: '';
	position: absolute;
	width: 14px;
	height: 14px;
	background: url(assets/images/arrow-green.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	left: 0;
	top: 21px;
}
.custom-cat-grid a {
	width: 100%!important;
}
ul.category-loop {
	list-style: none;
	margin: 0;
	display: grid;
	 grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 25px;
}
ul.category-loop .flat-button {
	text-transform: capitalize;
}
ul.category-loop .category-loop-img {
	width: 100%;
}
@media screen and (max-width: 1300px) {
	ul.category-loop {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width: 767px) {
	ul.category-loop {
		grid-template-columns: 1fr;
	}
}

/* custom news grid */
/*.custom-news-grid*/ .elementor-post-info__item-prefix {
	margin-right: 10px!important;
}
.custom-news-grid h5.elementor-heading-title a {
	text-decoration: none!important;
}

/* form */
.form-info .elementor-field-type-acceptance label,
.form-info .elementor-message {
	color: #ffffff!important;
}

/* product category archive */
.custom-product-archive .ast-on-card-button.ast-select-options-trigger.product_type_simple {
	display: none!important;
}

/* product filters */
.avs-filters li * {
	font-family: 'DM Sans'!important;
	color: #000;
	font-size: 18px!important;
}

/* single product */
.dati-tecnici td,
.dati-tecnici th {
	width: 200px;
	text-align: left;
	border: none!important;
	color: #364151!important;
}
.dati-tecnici h5 {
	margin-top: 50px!important;
	font-weight: 600!important;
}
.dati-tecnici td,
.single-product .variation-table td {
	border: none;
	border-left: 0;
	border-right: 0;
}
.dati-tecnici th,
.single-product .variation-table th {
	border: none;
	border-left: 0;
	border-right: 0;
	text-align: left;
}
.single-product .variation-table tr {
	border-top: 1px solid #000!important;
}
.dati-tecnici table,
.single-product .variation-table {
	border-left: none!important;
	border-right: none!important;
	border-top: 2px solid #000!important;
	border-collapse: collapse;
	border-bottom: 2px solid #000!important;
}
.variation-table a {
	pointer-events: none!important;
	cursor: default!important;
}
.variation-table {
	margin-top: 50px;
}
.variation-table tr.bt-none {
	border-top: none  !important;
}
.variation-table td.variation-description {
	background-color: #EDBF73;
	color: #364151;
	padding: 3px 12px !important;
}
.variation-table td:not(.variation-description):nth-child(odd),
.variation-table th:nth-child(odd) {
	background-color: #F5F5F5;
}

/* colore immagine prodotto */
.custom-product-archive .woocommerce-LoopProduct-link,
.single-product-custom-images .woocommerce-product-gallery__image {
	background: #F0F0F0;
}
.custom-product-archive .woocommerce-LoopProduct-link img,
.single-product-custom-images .woocommerce-product-gallery__image img {
	mix-blend-mode: multiply;
}
.zoomImg {
	mix-blend-mode: unset!important;
}

/* news */
.single-post-sidebar .uael-post__excerpt {
	margin-top: 10px!important;
}
.single-post-sidebar .uael-post__terms-meta.uael-post__terms-meta-cat {
	margin-left: 10px;
	position: relative;
}
.single-post-sidebar .uael-post__terms-meta.uael-post__terms-meta-cat:before {
	content: '';
	position: absolute;
	width: 1px;
	height: 70%;
	background: #2E5134;
	left: -12px;
	top: 3px;
}
.custom-news-grid a,
.custom-news-grid img {
	width: 100%!important;
}

/* ricerca - fibosearch */
header .dgwt-wcas-search-wrapp .dgwt-wcas-search-icon {
	margin-top: 8px;
}
header .dgwt-wcas-search-wrapp .dgwt-wcas-search-icon svg {
	height: 28px;
	width: auto;
}
header .dgwt-wcas-search-wrapp .dgwt-wcas-search-form .dgwt-wcas-sf-wrapp svg {
	display: none;
}
header .dgwt-wcas-layout-icon-open .dgwt-wcas-search-icon-arrow {
	display: none!important;
}
header .dgwt-wcas-search-form {
	top: -10px!important;
	margin-left: -30px!important;
}
header .dgwt-wcas-search-wrapp .dgwt-wcas-search-form .dgwt-wcas-sf-wrapp input {
	box-shadow: none!important;
	margin-top: 2px;
}
/* ricerca - fibosearch mobile */
.dgwt-wcas-overlay-mobile .dgwt-wcas-search-form .dgwt-wcas-sf-wrapp svg {
	display: none;
}

/* header */
#masthead .ast-container,
.site-header-focus-item + .ast-breadcrumbs-wrapper {
	padding-left: 25px!important;
	padding-right: 25px!important;
}
@media screen and (max-width: 1024px) {
	#masthead .ast-container,
	.site-header-focus-item + .ast-breadcrumbs-wrapper {
		padding-left: 15px!important;
		padding-right: 15px!important;
	}
}

/* languages flags */
.mega-wpml-ls-item .mega-menu-link img {
	height: 28px;
	width: auto;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	padding: 0 20px;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
	background: transparent;
}

/* menu mobile */
/* open */
.ast-mobile-popup-header {
	margin-top: 27px!important;
	margin-right: 15px!important;
}
.ast-mobile-popup-header .ahfb-svg-iconset svg {
	width: 27px!important;
	height: 27px!important;
}
.ast-mobile-popup-content {
	 position: relative;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: fit-content !important;
	height: fit-content !important;
}
.ast-builder-menu-mobile {
	margin-top: 25px!important;
	margin-bottom: 25px!important;
	margin: 0 auto;
	width: fit-content!important;
	height: fit-content!important;
}
.ast-menu-toggle {
	outline: none!important;
	box-shadow: none!important;
	top: -13px!important;
	right: 100px!important;
}

@media screen and (max-width: 400px) {
	.ast-menu-toggle {
		right: 30px!important;
	}
}

#ast-hf-mobile-menu .ast-icon.icon-arrow svg {
	height: 15px!important;
	width: 15px!important;
	position: relative!important;
	margin-left: 10px!important;
	margin-top: 15px!important;
}
.main-header-menu .sub-menu .ast-icon {
	display: none!important;
}
.main-header-menu .sub-menu {
	padding: 20px 0!important;
}
.main-header-menu .sub-menu li a {
	font-size: 18px!important;
	line-height: 28px!important;
}

/* footer */
.elementor-location-footer a:hover,
.elementor-location-footer a.elementor-item-active {
	text-decoration: underline!important;
}
@media screen and (max-width: 1024px) {
	.footer-menu a {
		justify-content: center!important;
	}
}

/* cta group */
@media screen and (max-width: 1024px) {
	.cta-group .elementor-icon-list-items {
		flex-direction: column!important;
	}
	.cta-group .elementor-icon-list-items li {
		margin-top: 15px;
	}
}