/*
Theme Name: Comune New
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

.site-title a {
	font-weight: 700;
}

.servizi-header .w-text-h {
	background-color: #0066c6;
	line-height: unset !important;
	padding: 0px 22px;
	font-weight: 700;
}

.servizi-header .w-text-h:hover {
	text-decoration: underline;
}

/* Blocco specifico per IE */
@media screen\0, @media screen\9 {
	#menu-riquadri ul {
		display: inline-block;
	}

	#menu-riquadri li {
		display: block;
		float: left;
		width: 280px;
		margin: 10px;
	    font-size: 21px !important;
	    min-height: 121px;
	}

}

#menu-riquadri ul {
	white-space: normal;
	display: grid;
  	grid-gap: 16px;
  	grid-template-columns: repeat(auto-fill,minmax(230px, 1fr));
}

#menu-riquadri li {
/*	display: flex;
  	flex-direction: column; */
    border-bottom: 1px solid #30373d;
    background-color: #e5e5e5 !important;
    color: #244a92 !important;
    font-size: 22px;
    height: 100%;
}

#menu-riquadri li:hover {
    background-color: #222222 !important;
    color: #fff !important;
}

#menu-riquadri a {
	opacity: inherit;
	padding: 0.8em 0.8em 2em 0.8em;
	height: 100%;
	width: 100%;
	min-height: 109px;
}

#menu-riquadri a:hover {
	opacity: inherit;
}


/* Menu hamburger */
.menu-hamburger>ul {
	padding: 0em 0em 0em 0em !important;
	font-weight: 500 !important;
}

.menu-hamburger .menu-item {
	border-bottom: 1px solid #30373d!important;
}

.menu-hamburger .menu-item a:hover {
	color: white !important;
}

.menu-hamburger .menu-item:hover {
	background-color: #222222 !important;
}

.ush_menu_2 .menu-item.level_1.current-menu-item > a:not(.w-btn), .ush_menu_2 .menu-item.level_1.current-menu-ancestor > a:not(.w-btn), .ush_menu_2 .menu-item.level_1.current-page-ancestor > a:not(.w-btn) {
	background-color: #222222 !important;
}

.ush_menu_2 .menu-item:not(.level_1).current-menu-item > a, .ush_menu_2 .menu-item:not(.level_1).current-menu-ancestor > a, .ush_menu_2 .menu-item:not(.level_1).current-page-ancestor > a {
	color: black !important;
}

.no-touch .ush_menu_2 .menu-item:not(.level_1) > a:focus, .no-touch .ush_menu_2 .menu-item:not(.level_1):hover > a {
	background-color: none !important;
	background: none !important;
}

.menu-hamburger .current_page_item {
	background-color: #222222 !important;
}

.menu-hamburger .menu-item .level_2 {
	background-color: #f5f5f5!important;
}


.menu-hamburger .menu-item .level_2 > li:last-child {
	border-bottom: none !important;
}

.menu-hamburger .menu-item .level_2 > a:hover{
	color: #1C2024 !important;
	text-decoration: underline;
}


#bacheca a:hover {
	text-decoration: underline;
}

.primopiano .w-grid-item-h {
	background-color: #244a92;
	-webkit-box-shadow: 0 1px 2px 0 rgba(50,50,50,.35)!important;
    box-shadow: 0 1px 2px 0 rgba(50,50,50,.35)!important;
    -moz-box-shadow: 0px 1px 2px 0px rgba(50,50,50,0.35) !important;
    padding: 1em;
    border-radius: 0px!important;
}

.primopiano .post_title {
	color: #FFF !important;
}

.primopiano .w-grid-item-h:hover .post_title {
	text-decoration: underline;
}


.w-separator.size_small {
	margin: 16px 0 0 0;
}

@media screen and (max-width: 767px) {
	img.alignleft {
		margin-right: auto;
		margin-left: auto;
	}
}

#notizie-riquadri .w-grid-item-h, #notizie-solotitolo .w-grid-item-h {
	background-color: #f5f5f5;
	-webkit-box-shadow: 0 1px 2px 0 rgba(50,50,50,.35)!important;
    box-shadow: 0 1px 2px 0 rgba(50,50,50,.35)!important;
    -moz-box-shadow: 0px 1px 2px 0px rgba(50,50,50,0.35) !important;
    padding: 1em;
    border-radius: 0px!important;
}

#notizie-riquadri img {
	max-width: 75px;
}


a:focus,button:focus,input[type="checkbox"]:focus + i,input[type="submit"]:focus {
	outline:2px solid orange !important;
}

#notizie-archivio .w-grid-item-h {
	border-bottom: 1px solid #ddd;
	padding-bottom: 1.5em;
}
/*
.g-breadcrumbs:before {
    font-family: FontAwesome;
	content: "\f015";
	margin-right: 5px;
}
*/

#notizie-aree .w-grid-item {
	background-color: #f9f9f9;
}

#notizie-aree .w-grid-item:nth-child(even) {
	background-color: #e5e5e5;
}

#notizie-aree .w-grid-item {
	border-bottom: 1px solid grey;
}

#notizie-aree .w-grid-item:first-child {
	border-top: 1px solid #e5e5e5;
}

#notizie-aree .w-grid-item-h .post_title:hover {
	text-decoration: underline;
}

#notizie-aree time {
	white-space: nowrap;
	min-width: 100px;
}

#skip-link-accessibilita .skip-link-singolo {
    position: fixed;
    top: -200px;
}

#skip-link-accessibilita .skip-link-singolo:focus {
    top: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    padding: 2px 0 3px 0;
    text-align: center;
    background-color: #e5e5e5;
    color: black;
}

@media screen and (max-width: 600px) {
	table {
		display: block;
		overflow-x: auto;
	}
	.royalSlider {
		min-height: 125px !important;
	}
}

@media screen and (max-width: 320px) {
	.ricerca-header {
		display: none
	}
}

#notizie-riquadri #us_grid_2 .usg_post_taxonomy_1, #notizie-archivio #us_grid_1 .usg_post_taxonomy_1, #notizie-solotitolo #us_grid_1 .usg_post_taxonomy_1{
    color: #244a92;
    font-weight: bold;
}

#notizie-riquadri h3, #notizie-solotitolo h3 {
	margin: 0 0 0.5rem;
}

.l-main .widget_nav_menu .menu-item a, .l-main .widget_nav_menu .menu {
	border-color: #30303082 !important;
}

.w-gallery-item-img {
	margin: 2px;
}

.pagination .page-numbers {
	line-height: 3rem;
    height: 3rem;
    width: 3rem;
    border-radius: 0%;
}

/* Cookie bar */

#cookie-notice {
	font-size: 16px;
    background-color: #00264d!important;
}

#cookie-notice .cn-button {
	background-color: #65dde0;
    color: #004a4d;
    padding: .6em 1em;
    margin-top: 10px;
}

#cookie-notice .cn-button:hover {
	background-color:#004a4d;
	/* border-color:#000; */
	color:#65dde0
}

#cookie-notice .cn-button:before {
	display: none
}

#cookie-notice #cn-accept-cookie {
	text-transform: uppercase;

}

.widget_media_image {
	text-align: center;
}

/* DLM */

ul.dlm-downloads {
	list-style-type: none;
}

.dlm-downloads li {
	margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}


.royalSlider {
	max-height: 400px !important;
}

.da-attachments-table thead>tr {
	background-color: #000000 !important;
	color: #fff;
}

.da-attachments-table tr:nth-of-type(odd) {
	background-color: #f9f9f9;
}

.da-attachments-table tr:nth-child(2n) {
	background-color: #e5e5e5;
}

.da-attachments-table a:hover{
	text-decoration: underline;
}

.da-attachments-table tr td {
	border-bottom: 1px solid black;

}

.avviso-sfondo a {
	color: #ffffff !important;
}

.us-btn-style_5:before {
	border-top: 4px solid #244a92 !important;
}

.us-btn-style_5 span {
	color: #244a92;
	font-size: 1.2em;
}

.us-btn-style_5:hover {
	text-decoration: underline;
}

@media screen and (min-width: 767px) {
	.us-btn-style_5 {
		margin-top: 15px;
	}
}

.grecaptcha-badge {
	display: none;
}

