/*
Theme Name: 13 Astra Child - Magistratura Tributaria
Theme URI: https://magistraturatributaria.it
Description: Child theme personalizzato per Magistratura Tributaria con header e footer personalizzabili
Author: Magistratura Tributaria
Author URI: https://magistraturatributaria.it
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* ========================================
   VARIABILI COLORE
======================================== */
:root {
--color-dark: #111F32;
--color-white: #FFFFFF;
}


/* header .ast-container { max-width: unset; } */

header .ast-builder-grid-row { display: flex; }

header .site-header-above-section-center, 
header .site-header-above-section-center div 
{width: 100%;} 

header .site-header-above-section-center ul#ast-hf-menu-1 {
	width: 100%;
	justify-content: space-between;
}

header .site-title {
	max-width: 200px;
}

header .site-title a,
header a {
	color: var(--color-white)!important;
}
header .main-header-menu a { color: var(--color-white); }


.ast-primary-header-bar.ast-primary-header,
.ast-above-header.ast-above-header-bar {
	background-color: var(--color-dark);
}

.ricerca input:focus,
.ricerca input {
	background-color: transparent;
	border: solid 1px var(--color-white);
	border-radius: 50px;
	height: 50px;
	color: var(--color-white);
	position: relative;
}

.ricerca:after {
	position: absolute;
    top: 5px;
    right: 30px;
    width: 35px;
    height: 35px;
	background-image: url('/wp-content/uploads/2026/05/search-icon.png');
	background-size: cover;
	content: ''
}


.ast-single-post.ast-page-builder-template .site-main > article {
	padding: 2em 4em;
}


.featured-hero {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 600px;
    z-index: 1;
	background-position: center;
}

.page-id-327 .featured-hero,
.page-id-176 .featured-hero,
.page-id-183 .featured-hero,
.page-id-77 .featured-hero {
	background-position-y: 20%;
	height: 400px;
	min-height: 400px;
}

.text-while {
	color: var(--color-white);
}

.entry-meta { display: none;}


.comitato p {
	text-decoration: none;
	font-size: 20px;
	margin: 0;
}


.comitato details summary {
	list-style: none;
	text-decoration: underline;
	text-align: center;
	font-size: 25px;
}


.search  #content,
.archive #content { padding-top: 40px }


.wpcf7-form  {
	background-color: #F2F2F2;
	border-radius: 25px;
	padding: 30px;
}

.wpcf7-form input, .wpcf7-form textarea {
	border: 0;
	border-radius: 25px;
}

.wpcf7-form .wpcf7-submit,.wpcf7-form .wpcf7-submit:focus,.wpcf7-form .wpcf7-submit:hover { background-color: var(--color-dark);}

.wpcf7-form div {
	display: flex;
	justify-content: space-between;
}

.wpcf7-form div p { width: 48%; }



footer.site-footer {
	background-color: var(--color-dark);
	color: var(--color-white);
	padding-bottom: 15px
}

footer .site-info { display: none; }

footer #menu-footer-menu {
	display: flex;
	justify-content: space-around;
	padding: 15px 15%
}

footer #menu-footer-menu li { width: 100%; text-align:center; border-right: solid 1px #fff; height: 40px; line-height: 40px }
footer #menu-footer-menu li:last-child { border: 0 }

footer #menu-footer-menu li a {
	color: var(--color-white);
	white-space: norwap;
}

footer .footer-widget-area {
	text-align: center;
    line-height: 15px;
    font-size: 14px;
    margin-top: 20px;
}



@media (max-width: 700px) {
	.site-logo-img {
		max-width: 150px;
		margin-left: -40px;
	}
	.page-id-77 .featured-hero {
		background-position-X: 10%;
		background-position-Y: 15%;
	}

	footer #menu-footer-menu {
		padding: 15px
	}

	[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
		fill: var(--color-white)
	}

	header a {
		color: var(--color-dark)!important;
	}

	
	#ast-mobile-header 	.ast-builder-grid-row {
		grid-template-columns: auto auto auto;
		justify-content: space-between;
	}

	

	#menu-item-146 { position: relative; list-style: none; }

	.ricerca input:focus,
	.ricerca input {
		width: 120px;
		height: 40px;
		border-radius: 40px;
		border-width: 1px;
	}

	.ricerca:after {
		top: 8px;
		right: 15px;
		width: 25px;
		height: 25px;
	}

	article.post-79 {
		background-color: #F2F2F2;
	}

	.ast-single-post.ast-page-builder-template .site-main > article { padding:2em }

	.hidden-mobile {
		display: none;
	}

}

@media (min-width: 700px) {
	.hidden-desktop {
		display: none;
	}
}