/*
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/.
*/
#mainheader .comune .logoimg {
    margin-top: 12px !important;
    width: 400px !important;
}
#mainheader .comune .logoimg img {
    height: auto !important;
    max-height: initial !important;
    max-width:400px !important;
}
.cookiebar.show.u-background-80
{
	background: #01354a !important;
}
.btn-verde, #intro .btn-verde, #home-servizi .btn-verde {
    background: #277a36 !important;
}
body #mainheader .btn-cerca {
    background: #01354a !important;
}
body .u-background-70, body .push-body-toright .body_wrapper, body .push-body-toright .body_wrapper .preheader {
    background-color: #01354a !important;
}
.logotxt h1 small{
    font-size: 26px !important;
}
#mainheader #sub_nav {
    background: #01354a !important;
}
body .navbar .navbar-collapsable .navbar-nav li a.nav-link {
        color: #fff !important;
    }
#mainheader .comune .logotxt {
    width: calc(100% - 110px) !important;
}
#mainheader .comune .logotxt
{
	display:none !important;
}
body #mainheader, body #mainheader .comune .logotxt h1 a, body #mainheader .comune .logotxt h1 a:hover, body #mainheader .cerca input, body #mainheader .preheader .entesup a, body .scheda-sito.u-background-50 {
    color: #fff !important;
}
body .u-background-compl, body .has-colore-complementare-background-color, body #mainheader .btn-cerca:hover, body #sezione-notifica {
    background-color: #8f301e !important;
}
#mainheader.ridotto .comune .logoimg img {
    height: 40px !important;
    max-height: 40px !important;
}
#footer .logoimg img {
    height: auto !important;
    max-height: initial !important;
    width: 90px;
}
#footer h4 {
    font-size: 1em !important;
    padding: 0 0 10px 0 !important;
 }
.footer-links
{
	padding:16px 0px;
}
.footer-links li
{
	list-style-type:none;
	display:block;
	margin-bottom:7px;
}
#footer section {
    margin-bottom: 10px !important;
}
#footer.u-background-80 {
    background-color: #272727 !important;
}
#intro .titolo-sezione p
{
	display:none !important;
}
.essb_links_list
{
	display:none !important;
}
#menu-sinistro > h4.dropdown, #menu-sinistro > h4.dropdown+.menu-separatore
{
	display:none !important;
}
.m-0.p-3.u-background-grey-60
{
	padding:0px !important;
	background:transparent !important;
}
.italiawp2-img figure figcaption
{
	display:none !important;
}
.u-sizeFull {
    width: auto !important;
    max-width: 100% !important;
}
.left-sidebar > div {
    margin: 0px 0px 50px 0px;
    background-color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #DDDDDD;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 10%);
}
.left-sidebar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.left-sidebar ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.left-sidebar ul li a {
    display: block;
    padding: 10px 10px;
    border-bottom: 1px solid #ddd;
    color: #272727;
    transition: color 0.3s;
    font-size: 16px;
    line-height: 20px;
}
.left-sidebar ul li:hover a {
    background: #f5f5f5;
    color: #ce462b;
}
.hero_slider
{
	width:100%;
}
#mainheader.ridotto .nav.navbar-nav > li > a {
    padding: 15px 18px 15px !important;
	border: 0px !important;
}
.mt-88n {
    margin-top: 0px !important;
}
#menu-alto li:nth-of-type(-n+7) {
    display: inline-block !important;
}
.owl-carousel.owl-drag .owl-item
{
	position:relative;
}
.top_title
{
	position:absolute;
	left:0;
	width:100%;
	top:10%;
	z-index:9;
}
.top_title h2 {
    color: #fff;
    font-size: 3rem;
	text-shadow: 0 0 2px rgb(0 0 0 / 53%), 0 0 1.5px rgb(0 0 0 / 80%);
}
.featured_box_section
{
	padding:75px 0px;
}
.featured_box_section .row {
    display: flex;
    flex-wrap: wrap;
}
.featured_box_section h2 {
    color: #01354a;
    text-align:center;
}
.featured_box_section p {
    text-align:center;
	margin-bottom:30px;
}
.featured_box_content {
    background: #fff;
    padding: 25px 20px 25px 20px !important;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}
.featured_box_content h2 {
    color: #01354a;
    font-size: 24px;
    text-align: left;
    margin-bottom: 0px;
    margin-top: 15px;
    margin-bottom: 11px;
}
.featured_box_content h2 a
{
	color:#01354a;
}
.featured_box_content i
{
	font-size:36px;
	color:#01354a;
}
.featured_box_content:hover
{
	 background:#01354a;
	cursor:pointer;
}
.featured_box_content:hover h2 , .featured_box_content:hover h2 a
{
	color:#fff !important;
}
.featured_box_content:hover i
{
	color:#fff !important;
}
#mainheader.ridotto .navbar {
    margin-left: 175px !important;
}
#mainheader.ridotto #sub_nav {
    background:transparent !important;
}
body #mainheader.ridotto .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    color: #000000 !important;
}
body #footer.u-background-80 {
    background-color: #ffffff !important;
}
#footer .logoimg img {
    height: auto !important;
    max-height: initial !important;
    width: 400px;
}
#footer, #footer .postFooter, #footer label, #footer caption, #footer a, .scheda-sito.u-background-80 {
    color: #000000 !important;
}
body #footer .footer-list li a:hover, body #footer .social a:hover, body #footer .postFooter a:hover {
    color:#277a36 !important;
}
body #footer h4 {
    font-size: 1.2em !important;
    color: #01354a !important;
	border-color: #01354a !important;
}
body #footer .footer-list li a, body #footer p{
    color: #000 !important;
}
body #intro {
    margin: 0 0 40px 0;
}
body #intro .titolo-sezione, body #intro #menu-sezione, body #intro-argomenti .titolo-sezione {
    margin-top: 12px;
}
body #intro .titolo-sezione h2, body #intro-argomenti .titolo-sezione h2, body #introricerca .titolo-sezione h2, body #intro-sititematici .titolo-sezione h2
{
	color: #01354a !important;
}
body #menu-sinistro h4.dropdown
{
	font-size:1rem !important;
	color: #01354a !important;
	padding-left:15px;
}
.pt8.linetop {
    padding-top: 40px !important;
}
body #menu-sinistro ul {
    list-style-type: none;
    padding-left: 15px;
	padding-top:15px;
}
body #menu-sinistro ul li
{
	list-style-type:none;
	display:block;
}
body #menu-sinistro ul li a
{
	color: #01354a !important;
	margin-bottom:10px;
}
body .articolo-paragrafi a {
    color: #000;
}
body .articolo-paragrafi a:hover
{
    color: #01354a !important;
}
.featured_box_section img.w-100.img-fluid
{
	min-height:250px;
	max-height:250px;
	width:100%;
	object-fit:cover;
}
@media(min-width: 992px) {
 .navbar .navbar-collapsable .navbar-nav li a.nav-link {
        padding: 13px 20px !important;
    }
 #footer > .container > section > .row > .col-lg-4:first-child {
        flex: 0 0 28.333333%;
        max-width: 28.333333%;
    }
 #footer > .container > section > .row > .col-lg-4:nth-child(2) {
        flex: 0 0 43.333333%;
        max-width: 43.333333%;
    }	
 #footer > .container > section > .row > .col-lg-4:nth-child(2) .footer-list li
	{
		float:left;
		width:50%;
	}
 #footer > .container > section > .row > .col-lg-4:nth-child(3) {
        flex: 0 0 28.333333%;
        max-width: 28.333333%;
    }	
	
}
@media(min-width:768px)
{
.showonmobile
	{
		display:none !important;
	}
}
@media(max-width: 767px) {
.owl-carousel .owl-item img {
    min-height: 275px;
    object-fit: cover;
}
#mainheader .preheader .float-right	
	{
		display:none !important;
	}
#mainheader .comune .logoimg img {
        max-width: 300px !important;
    }	
#mainheader.ridotto .comune .logoimg img {
    height: 47px !important;
    max-height: 47px !important;
}
#mainheader .comune .logoimg {
    margin-top: 7px !important;
    width: 75px !important;
}	
#mainheader.ridotto .comune .logoimg
	{
		width: 50px !important;
	}
.logotxt h1 small {
    font-size: 18px !important;
}	
#mainheader .logotxt {
    margin-left: 5px !important;
    margin-top: 10px !important;
}	
.top_title h2 {
    font-size: 2rem;
}	
.featured_box_section .row {
    display: block;
}
#footer .logoimg img {
    width: 300px;
}	
body #mainheader .menu-btn .icon-bar {
        background-color: #01354a !important;
    }	
body #mainheader .menu-btn {
        margin: 30px 4px 16px 24px;
     }	
body .navmenu li a {
    color: #01354a !important;
}	
body #mainheader .p_cercaMobile
	{
		display:none !important;
	}
}
@media (max-width: 991px) {
body.home #mainheader {
        height: 136px !important;
    }	
	body.home #mainheader.ridotto {
        height: 60px !important;
    }

}