

.archive .page-header,
.page-header > h1.page-title {
	margin-top: 0;
}


.home-map:last-child {
	margin-bottom: -16px;
}
.home-map .iw_txt > h2 {
	font-size: 15px;
	margin: 0;
}
.home-map .iw_txt > p {
	font-size: 13px;
	margin: 0;
}




.dati-ufficio {
	font-size: 0.9em;
	
	padding: 1em;
	background: #eff6ff;
	margin: 2em 1em;
}
.dati-ufficio h4 {
	margin-top: 0;
	font-size: 1.2em;
}
.dati-ufficio dl {
	margin: 0.5em 0;
}
.dati-ufficio dt {
	margin-right: 0.5em;
}
.dati-ufficio dt, .dati-ufficio dd {
	display: inline;
}
.dati-ufficio dd:after { content:''; display:block; }
.dati-ufficio .nl {
	display: block;
}


.head-search button[type=submit], .head-search input[type=submit] {
	white-space: nowrap;
}


.topbar__aux {
	text-align: right;
}
.topbar__aux > a:last-child {
	margin-right: 0;
}


/* Logo riallineato (senza puls. menù) */
@media screen and ( min-width: 992px ) {
	.navbar-header .site-logo {
		margin-left: 0;
		margin-right: 24px;
	}
	.site-title {
		margin-left: -146px;
		padding-left: 146px;
	}
}

.navbar--small .site-logo {
	height: 45px;
	width: 45px;
	margin-top: 2px;
}
@media screen and ( max-width: 767px ) {
	.site-logo {
		height: 45px;
		width: 45px;
		margin-top: 2px;
	}	
}
@media screen and ( max-width: 340px ) {
	.navbar h1 {
		line-height: 1.2;
	}
}

.head-search button[type=submit] {
	color: #fff;
	white-space: nowrap;
}


/* menù orizzontale */
.hmenu {
	overflow: hidden;
	z-index: 99;
	position: relative;
}
.nav-hmenu {
	display: flex;
	justify-content: space-evenly;
	visibility: hidden;
	transition: visibility 0s .25s step-end;
}
@media screen and ( min-width: 992px ) {
	.hmenu {
		overflow: initial;
	}
	.nav-hmenu {
		display: flex;
		justify-content: space-evenly;
		visibility: visible;
	}
	.nav-hmenu > li > a {
		font-size: 1.2em;
	}
	.nav-hmenu:before,
	.nav-hmenu:after {
		display: none;
	}
	.nav-hmenu > .open > a,
	.nav-hmenu > .open > a:focus,
	.nav-hmenu > .open > a:hover {
		background: #013568;
		transition: opacity .25s .05s;
	}
	.nav-hmenu > .dropdown > .dropdown-menu {
		display: block;
		visibility: hidden;
		pointer-events: none;
		opacity: 0.0;
		transition: opacity .25s .05s;
		border-top-color: #fff;

		/* top: 50%; */
		/* z-index: -1; */
		/* transition: opacity .25s .05s, top .2s ease-out, z-index 0s .30s step-end; */
	}
	.nav-hmenu > .open > .dropdown-menu {
		visibility: visible;
		pointer-events: all;
		opacity: 1.0;

		/* top: 100%; */
		/* z-index: 0; */
		/* transition: opacity .25s .05s, top .2s ease-out, z-index 0s .30s step-end; */
	}
	.nav-hmenu .dropdown-menu li {
		padding: 0;
	}
	.nav-hmenu .dropdown-menu .dropdown-menu {
		margin-left: 0;
		width: 100%;
	}
	.nav-hmenu .dropdown-menu .dropdown-menu li {
		list-style: none;
	}
	.nav-hmenu .dropdown-menu .menu-item a.nav-link {
		padding: .3em .8em;
		font-size: .95em;
	}
	.nav-hmenu .dropdown-menu .menu-item a.nav-link:hover {
		background: #eee;
		color: #014e9b;
	}
	.nav-hmenu .dropdown-menu .dropdown-menu a.nav-link {
		padding-left: calc( .8em + 10px );
	}
	.nav-hmenu .dropdown-menu .dropdown-menu .dropdown-menu a.nav-link {
		padding-left: calc( .8em + 2 * 10px );
	}
	.nav-hmenu > .dropdown > .dropdown-menu:before {
		content: '';
		position: absolute;
		top: -6px;
		left: 16px;
		width: 12px;
		height: 12px;
		border-radius: 2px;
		background-color: #fff;
		transform: rotate(45deg);
	}
}

/* HP: news in griglia */
.home-bandi .row,
.home-notizie .row {
	display: flex;
	flex-wrap: wrap;
}
.home-notizie .media-box {
	margin-bottom: 20px;
}
.home-notizie .media-box,
.home-notizie .thumbnail,
.home-notizie .thumbnail > * {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.home-notizie .thumbnail {
	margin-bottom: 0;
	box-shadow: 1px 3px 5px rgba(0,0,0,.1);
}
.thumbnail > .media-box__img {
	flex-grow: 0;
}
.home-notizie .thumbnail > .media-box__txt {
	justify-content: start;
}
.home-notizie .thumbnail > .media-box__txt > p:last-child {
	margin-top: auto;
	padding-top: .75em;
	margin-bottom: 0;
}

.home-bandi,
.home-notizie {
	background-color: #f2f2f2;
}

.home-bandi .post-categories::before {
	content: '';
	border-radius: 2em;
	height: 1em;
	width: 1em;
	background: #014e9b;
	display: inline-block;
	vertical-align: middle;
	margin-right: .2em;
}

.home-bandi .expiry-date {
	opacity: .9;
	font-size: .85em;
}

.home-servizi {
	background-color: #014e9b;
	color: #fff;
}
.home-servizi > .container > h2 {
	color: inherit;
}
.home-servizi li {
	margin-top: 16px;
	margin-bottom: 16px;
	padding-bottom: 16px;
}
.home-servizi li > a {
	text-align: left;
	min-height: 5em;
	height: 100%;
	justify-content: start;
	padding-left: 110px;
}
.home-servizi li > a >:first-child {
	/* margin-top: 0; */
}
.home-servizi a > h3 {
	font-weight: 600;
	line-height: 1.15;
}
.home-servizi a>p {
	line-height: 1.3;
}
.home-servizi .row {
	display: flex;
	flex-wrap: wrap;
}
.home-servizi li:after {
	display: block;
	content: '';
	height: 1px;
	background: rgba(255,255,255,.3);
	bottom: -16px;
	position: relative;
}
.home-servizi li > a:focus,
.home-servizi li > a:hover {
	text-decoration: none;
}
.home-servizi li > a:focus > h3,
.home-servizi li > a:hover > h3 {
	text-decoration: underline;
}
.home-servizi li > a:focus:not(.btn) {
	background-color: #013e7c!important;
}

section.home-percorsi {
	background-color: transparent;
	overflow: hidden;
	margin-top: 20px;
	padding-bottom: 16px;
}
section.home-percorsi > .container {
	background-color: #014e9b;
	box-shadow: 0 0 0 50px #014e9b;
}
section.home-percorsi h2 {
	margin-top: .2em;
}