	/*
	Theme Name: ItaliaWP2
	Theme URI: http://bit.ly/ItaliaWP
	Author: Boris Amico
	Author URI: http://bit.ly/ItaliaWP
	Description: Tema utilizzabile per i siti della Pubblica Amministrazione, utilizza i componenti del web toolkit delle linee guida di design dell'Agenzia per l'Italia digitale rilasciare dal Team per la trasformazione digitale e le caratteristiche per i servizi web della Pubblica Amministrazione contenute nel Piano triennale per l'informatica nella Pubblica Amministrazione 2017/2019.
	Version: 1.5.5
	License: GNU GENERAL PUBLIC LICENSE v3 or later
	License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
	Text Domain: italiawp2
	Tested up to: 5.7.2
	Requires PHP: 5.6
	Tags: agid, one-column, two-columns, grid-layout, custom-colors, custom-header, custom-logo, custom-menu, featured-images, featured-image-header, flexible-header, accessibility-ready, footer-widgets, sticky-post, theme-options
	
	ItaliaWP2 WordPress Theme Copyright (c) © 2018-2020 Boris Amico.
	ItaliaWP2 is distributed under the terms of the GPL-3.
	Use it to make something cool, have fun, and share what you've learned with others.
	
	This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
	This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
	You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
	*/
	#briciole
	{
		display:none !important;
	}
	.make_container
	{
		max-width:1170px;
		margin:0px auto;
	}
	#mainheader.ridotto {
		box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
	}
	#mainheader .comune .logotxt
	{
		display:none !important;
	}
	#mainheader {
		background:#fff !important;
	}
	body #mainheader .cerca input {
	  border-color: #000 !important;
	  color: #000 !important;
	}
	body #mainheader .cerca input::placeholder {
	  color: #000 !important;
	}
	body #mainheader .social a svg.icon {
		fill: #CD071D!important;
	}
	body #mainheader .social a:hover svg.icon {
		fill: #000!important;
	}
	body #mainheader .btn-cerca:hover {
		background-color: #CD071D !important;
	}
	body #mainheader .btn-cerca:hover svg.icon
	{fill: #fff!important;
	}
	#mainheader .comune .logoimg {
		margin-top:19.5px !important;
		width: 215px !important;
	}
	body #menu-principale {
		justify-content: flex-start !important;
	}
	#mainheader .comune .logoimg img {
		height: auto !important;
		max-height: initial !important;
		max-width: 215px !important;
	}
	body #mainheader #sub_nav
	{
	background:#830413 !important;
	}
	#mainheader .preheader .entesup ul#menu-alto li a {
    padding-right: 10px;
    border-right: 1px solid #fff;
    line-height: 15px;
    display: inline-block;
}
	.navbar .navbar-collapsable .navbar-nav li a.nav-link {
		color: #fff !important;
	}
	body #mainheader .preheader .accedi .btn-accedi {
    background: transparent !important;
    padding: 5px 10px !important;
    color: #fff !important;
}
body #mainheader .preheader .accedi .btn-accedi:hover
{
	background:#0b57d0 !important;
	text-decoration:none !important;
	color:#fff !important;
}
body #mainheader .preheader .accedi .btn-accedi:hover span , body #mainheader .preheader .accedi .btn-accedi:hover svg.icon
{
	color:#fff !important;
	text-decoration:none !important;
	fill:#fff !important;
}
body #mainheader .preheader .accedi span
{
	margin:0px !important;
}
body #mainheader .preheader .accedi {
    margin: 0 0 0 10px;
}
	#menu-principale {
		justify-content: flex-end !important;
	}
	.navbar {
		background:transparent !important;
	}
	.navbar .navbar-collapsable .navbar-nav li a.nav-link
	{
		color:#fff !important;
	}
	.container-fluid
	{
		padding-left:15px !important;
		padding-right:15px !important;
	}
	.container-fluid.header
	{
		padding-left:45px !important;
		padding-right:45px !important;
	}
	#mainheader .preheader
	{
		background:#830413 !important;
	}
	#menu-alto li {
		display: inline-block !important;
	}
	.wp-block-image figure {
		background: transparent !important;
		padding: 0px !important;
	}
	.wp-block-image figure figcaption
	{
		display:none !important;
	}
	.wp-block-columns
	{
		margin-bottom:0px !important;
	}
	body #mainheader.ridotto #sub_nav
	{
		background: #fff !important;
	}
	body #mainheader.ridotto .navbar .navbar-collapsable .navbar-nav li a.nav-link
	{
		color:#000 !important;
	}
	body #mainheader.ridotto .comune .logoimg {
    margin-top: 0px!important;
    width: 157px!important;
    position: relative;
    z-index: 9;
	}
	body #mainheader.ridotto .comune .logoimg img {
    max-width: 157px !important;
	}
	body #mainheader.ridotto .navbar {
		margin-left:170px !important;
	}
	#hero
	{
	
		display:none !important;
	}
	.section {
		padding: 50px 0px !important;
		background: #fff !important;
	}
	body #footer
	{
		color: #ffffff !important;
	}
	body #footer .logoimg img {
		height: 66px;
		max-height: 66px;
	}
	body #footer .footer-list .icon {
		fill: #ffffff !important;
	}
	body #footer p {
		margin:3px !important;
		font-size: 0.9em !important;
	}
	body #footer h4, body #footer .postFooter {
		border-color: #ffffff !important;
		font-size: 1em;
	}
	.container
	{
		position:relative;
	}
	.banner_wrapper
	{
		position:relative;
		padding:175px 0px 100px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	.banner_wrapper:before
	{
		content:'';
		position:absolute;
		width:100%;
		height:100%;
		background:rgba(41,41,41,0.45);
		top:0;
		left:0;
	}
	.banner_wrapper h1
	{
		font-size:46px;
		color:#fff;
	}
	.banner_wrapper h2
	{
		font-size:24px;
		color:#fff;
	}
	.banner_wrapper a {
    background: transparent;
    border: 0px;
    color: #fff;
    font-size: 16px;
    padding: 8px 24px;
    margin: 25px 0 20px 0;
    transition: all 0.3s ease;
    display: inline-block;
    background: #cd071e;
    border-radius: 5px;
    line-height: 24px;
}
	.banner_wrapper a:hover
	{
		background:#fff;
		color:#000;
		text-decoration:none;
	}
	.calender_wrapper
	{
		padding:50px 0px 50px 0px;
	}
	.calender_title
	{
		background-image:url(https://sajangrover.com/ingegneri/wp-content/uploads/2025/01/calender-bg.webp);
		background-repeat: repeat;
		background-size: initial;
		color: #ffffff;
		padding: 20px 25px;
		font-size:20px;
		width: 100%;
		font-style: normal;
		font-weight:700;
		margin-bottom:20px;
	}
	.feature_boxed_wrapper
	{
		padding:50px 0px;
		background:#f0f0f0;
	}
	.feature_boxed_wrapper .row {
		display: flex;
		flex-wrap: wrap; /* Allows columns to wrap if necessary */
		gap: 15px; /* Adds space between columns */
	}
	.feature_boxed_wrapper .col {
		background: #5e5e5e;
		padding: 30px 10px 25px 10px !important;
		text-align: center;
	}
	.feature_boxed_wrapper h2
	{
		color: #ffffff;
		text-transform: uppercase;
		font-size: 16px;
		text-align: center;
		margin-bottom: 20px;
	}
	.feature_boxed_wrapper a.box_button {
		background-color: #CD071E;
		background-image: none;
		border: 0px;
		border-radius: 0;
		padding: 8px 24px;
		color: #fff;
		text-decoration: none;
		width: auto;
		transition: all 0.3s ease;
		display: inline-block;
		margin: 0 auto;
		border-radius: 5px;
		line-height: 24px;
		font-size: 16px;
		min-width: 100px;
		text-align: center;
		border:2px solid #CD071E;
	}
	.feature_boxed_wrapper a.box_button:hover
	{
		background:#fff;
		color:#000;
		text-decoration:none;
	}
	.topics_section_wrapper {
		padding: 50px 0px 50px;
		background: #f0f0f0;
	}
	.topics_section_wrapper h2
	{
		color:#CD071E;
		font-size: 20px;
		margin-bottom:10px;
		padding:0px 10px;
	}
	.topic_list {
		list-style-type:none;
		margin:0px;
		padding:0px;
	}
	.topic_list > li {
		display: inline-block;
		padding: 10px !important;
	}
	.topic_list > li > a {
		color: #000000;
		font-weight: 600;
		font-size: 18px;
		transition: all 0.3s ease;
	}
	.topic_list > li > a:hover {
		color: #CD071E;
		text-decoration:none;
	}
	.two_column_wrapper.blackblock
	{
		padding:50px;
		color:#fff;
	}
	.two_column_wrapper.blackblock h3
	{
		font-size:28px;
	}
	.two_column_wrapper.blackblock h4
	{
		font-size:16px;
	}
	.two_column_wrapper.blackblock p a {
		background: #000;
		border: 0px;
		color: #fff;
		font-size: 16px;
		padding: 8px 24px;
		margin: 25px 0 20px 0;
		transition: all 0.3s ease;
		display: inline-block;
		border-radius: 5px;
	}
	.two_column_wrapper.blackblock p a svg
	{
		display:none;
	}
	.two_column_wrapper.blackblock p a:hover
	{
		background:#fff;
		color:#000;	
		text-decoration:none;
	}
	.two_column_wrapper.whiteblock
	{
		padding:50px 20px;
	}
	.two_column_wrapper.whiteblock br
	{
		display:none;
	}
	.two_column_wrapper.whiteblock h3
	{
		color:#CD071E;
		font-size: 20px;
		margin-bottom:10px;
	}
	.two_column_wrapper.whiteblock p
	{
		margin-bottom:5px;
	}
	.two_column_wrapper.whiteblock p , .two_column_wrapper.whiteblock p a
	{
		color:#000;
		transition: all 0.3s ease;
	}
	.two_column_wrapper.whiteblock p a:hover
	{
		color: #CD071E;
		text-decoration:none;
	}
	.gallery_wrapper
	{
		padding:50px 0px;
	}
	.gallery-wrapper {
		display: flex;
		flex-direction: column;
		gap: 20px; /* Spacing between rows */
	}
	.gallery-row {
		display: flex;
		gap: 10px; /* Spacing between items in the row */
		flex-wrap: wrap; /* Allow wrapping in case of responsiveness */
	}
	.gallery-item {
		flex: 1;
		max-width: calc(20% - 10px); /* Adjust for 5 items per row */
	}
	.gallery-row:first-of-type .gallery-item {
		max-width: calc(25% - 10px); /* Adjust for 4 items in the first row */
	}
	.custom_post_list_wrapper
	{
		padding:50px 20px;
	}
	.custom_post_list_wrapper h2 {
		color: #CD071E;
		font-size: 20px;
		margin-bottom: 20px;
	}
	.latest-posts {
		list-style-type:none;
		margin:0px;
		padding:0px;
	}
	.latest-posts > li {
		display: inline-block;
		padding:0px 0px 20px 0px;
	}
	.latest-posts.two_col_posts {
		list-style-type: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-wrap: wrap; /* Allow wrapping to the next row */
		gap: 20px; /* Space between items */
	}
	.latest-posts.two_col_posts > li {
	flex: 0 0 calc(50% - 10px); /* Two columns with spacing adjustment */
		box-sizing: border-box; /* Ensures padding doesn't break layout */
	}
	.latest-posts > li > .post-date {
		margin: 0px 0px 5px 0px;
		font-size: 15px;
	}
	.latest-posts > li > a {
		color: #000000;
		font-weight: 600;
		font-size: 18px;
		transition: all 0.3s ease;
	}
	.latest-posts > li > a:hover {
		color: #CD071E;
		text-decoration:none;
	}
	.selected-posts-wrapper .post-date
	{
		margin-bottom:7px;
		color: #6d6d6d;
	}
	.selected-posts-wrapper h2 a
	{
		color: #333;
		font-size: 22px;
	}
	.selected-posts-wrapper img
	{
		width:100%;
		height:auto;
		margin-bottom:15px;
	}
	.selected-posts-wrapper h2 a:hover {
		color: #CD071E;
		text-decoration:none;
	}
    body #footer p.my_content
    {
    margin:15px 0px !important;
    padding:6px 0px;
    }
    #mainheader .preheader .entesup a.leftimage
    {
    padding-left: 40px !important;
    }
    #mainheader .entesup a>img {
    left: 15px !important;
	}
    body .row.clearfix a:focus {
    outline: none !important;
    box-shadow: none !important;	
	}
    body #footer .postFooter {
    font-size:0.9em !important;
	}
    .italiawp2-sidebar .textwidget
    {
    	padding: 16px 24px;
    }
    .italiawp2-sidebar .textwidget ul, .italiawp2-sidebar .textwidget ol
    {
    list-style-type: none;
    padding: 0px;
    margin: 0px 0px 12px 0px;
    }
    .italiawp2-sidebar .textwidget p:empty {
    display: none;
}
body .bg-oro {
    background-color: #830413!important;
}
.italiawp2-sidebar .textwidget a
{
color:#000;
}
.italiawp2-sidebar .textwidget a:hover
{
color:#830413;
}
body #mainheader .social li:first-child a svg.icon
{
	fill: #4267b2 !important;
}
body #mainheader .social li:nth-child(2) a svg.icon
{
	fill:#1da1f2 !important;
}
body #mainheader .social li:nth-child(3) a svg.icon
{
	fill:#FF0000 !important;
}
.custom_post_list_wrapper .selected-posts-wrapper .col-sm-4
{
	margin-bottom:30px;
}
.feature_boxed_wrapper .container .row > .col:nth-child(1)
{
	background:#00aca4;
}
.feature_boxed_wrapper .container .row > .col:nth-child(2)
{
	background:#fba97a;
}
.feature_boxed_wrapper .container .row > .col:nth-child(3)
{
	background:#eb4f6a;
}
.feature_boxed_wrapper .container .row > .col:nth-child(4)
{
	background:#18b05a;
}
.feature_boxed_wrapper .container .row > .col:nth-child(5)
{
	background:#ac2b46;
}
body .list_cat_btn {
    color: #CD071E;
    float: left;
    width: 100%;
    margin-top: 15px;
}
body .list_cat_btn:hover
{
	color: #830413 !important;
}
.cate_wrap
{
    padding: 20px 15px;
    background: #5e5e5e;
    text-align: center;
    margin: 10px 0px;
}
.cate_wrap a
{
    background-color: #CD071E !important;
    background-image: none !important;
    border: 2px solid #ffffff !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
    color: #ffffff !important;
    width: 100%;
    display: block;
}
.blocks_made .col-sm-4 .col-sm-12 {
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
    padding: 60px 0;
    min-height: 185px;
    margin-bottom: 30px;
}
    @media (min-width: 768px) {
    body .navbar .dropdown-menu.show {
        display: block !important;
        width: fit-content !important;
        left: 0 !important;
    }
    }
	@media(min-width:768px)
	{
    body .nav-item.megamenu
    {
    position:relative !important;
    }
	body .navbar .dropdown-menu .menu-item h5
	{
    font-size: 16px !important;
    margin-bottom: 0px !important; 
        font-weight: 400 !important;
	}
    body .navbar .dropdown-menu .menu-item h5 a {
        font-weight: normal !important;
        text-transform: initial !important;
    }
    body .navbar .dropdown-menu .menu-item.makebold h5 a
    {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 18px;
	}
	body .navbar .dropdown-item {
    padding: 5px 14px;
    font-size: 16px;
    width: max-content !important;
	}
	body .dropdown-item {
    color: #000 !important;
	}
	}
	@media(max-width:991px)
	{
		body.home #mainheader {
        height: auto !important;
			padding: 5px 0;
    }
	.container {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}	
	#mainheader .comune .logoimg {
		width: 175px !important;
	}	
	#mainheader .menu-btn .icon-bar
		{
			background-color: #cd071d !important;
		}
	#mainheader .preheader
		{
			display:none !important;
		}
	.cbp-spmenu .logotxt-burger {
		display: none !important;
	}	
	.banner_wrapper {
		padding: 75px 0px 50px;
	}
	.banner_wrapper h1 {
		font-size: 30px;
	}	
	.banner_wrapper h2 {
		font-size: 20px;
	}	
	.banner_wrapper a {
		margin: 10px 0px 15px 0px;
	}	
	.feature_boxed_wrapper .row
		{
			display:block;
		}
	.feature_boxed_wrapper {
		padding: 15px 5px;
	}	
	.feature_boxed_wrapper .col {
		margin-bottom: 15px;
	}
	.custom_post_list_wrapper {
		padding: 30px 0px;
	}	
	.latest-posts.two_col_posts > li {
		padding:0px 0px 20px 0px;
		width: 100%;
	}	
	.topics_section_wrapper {
		padding: 30px 0px 30px;
	}	
	.topics_section_wrapper h2
		{
			padding:0px;
		}
	.topic_list {
		margin: 0px -5px;
	}	
	.topic_list > li {
		padding: 5px !important;
	}	
	.two_column_wrapper.whiteblock {
		padding: 30px 0px;
	}	
	.two_column_wrapper.whiteblock h3 {
		margin-bottom: 20px;
	}	
	.two_column_wrapper.whiteblock p {
		margin-bottom: 10px;
	}	
	.calender_wrapper {
		padding: 0px 0px 15px;
	}	
	.two_column_wrapper.blackblock {
		padding: 30px 0px;
	}	
	.latest-posts.two_col_posts {
		gap: 0px;
	}	
	.latest-posts.two_col_posts > li {
		flex: 0 0 calc(100%);
	}	
	}