@include admin.css
@include fonts.css
@include Calendario.css 
@include Elencatori.css
@include GalleryPlus.css
@include Meteo.css

@define Black #000000
@define Gold #927221
@define Granata #80002c
@define Grey #666666
@define LightGrey #e4e4e4
@define Rosso #b40641
@define Trasp transparent
@define White #ffffff

/* Flex helper */
.goAway {
    position: absolute;
    left: -10000px;
    top: -10000px;
}
nav ol li img {
	display: none;
}
img {
	max-width: 100%!important;
	height: auto!important;
}
.viewCaption {
	width: auto!important;
}
@media screen and (max-width: 480px) {
	.BLOBWidth100 .BLOBFloatRight.BLOBIMGSpacerLeft, .BLOBWidth100 .BLOBFloatLeft.BLOBIMGSpacerRight {
		float: none;
	}
	.BLOBWidth100 .BLOBFloatRight.BLOBIMGSpacerLeft .viewCaption, .BLOBWidth100 .BLOBFloatLeft.BLOBIMGSpacerRight {
		text-align: center;
	}
}

/* lightbox */
iframe + div + div {
	box-sizing: content-box!important;
}

/* elements */
h1 {
	margin-top: 0;
}
main a {
	text-decoration: underline;
}

/* flex classes */
.viewTable .viewTableHCTD {
	width: 33%;
	text-align: left;
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
	font-size: 1.15em;
	line-height: 1.2em;
}
.viewTable tr {
	border-top: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
}
.viewTable tr:first-child {
	border-top: none;
}
.viewTable tr.odd {
	background-color: #f3f3f3;
}
.viewTable td, .viewTable th {
	padding: 20px 10px!important;
	background-color: @Trasp!important;
}
.viewTable td a, .viewTable th a {
	color: #0074c6;
}
.viewTable td a:hover, .viewTable th a:hover, .viewTable td a:focus, .viewTable th a:focus, .viewTable td a:active, .viewTable th a:active {
	color: @Black;
}
.viewIndexSlice ol {
	margin: 0;
	list-style-type: disc;
}
.viewIndexSlice ol li {
	margin: 0 0 10px 0;
}

/* testi personalizzati */
.titolettoRosso {
	margin-bottom: 10px;
	font-family: 'pt_sansbold',Arial,Verdana,sans-serif;
	font-size: 1.2em;
	font-weight: normal;
	line-height: 1.1em;
	color: @Rosso;
}

/* elenchi pagina */
.primoPiano article {
	clear: both;
	margin-bottom: 10px;
}
.primoPiano article a {
	display: block;
	text-decoration: none;
}
.primoPiano article a:hover, .primoPiano article a:focus, .primoPiano article a:active {
	text-decoration: none;
}
.primoPiano em {
	font-family: 'pt_sansbold',Arial,Verdana,sans-serif;
	font-size: .9em;
	font-style: normal;
	color: @Rosso;
}
.primoPiano h1 {
	margin-bottom: 2px;
	font-family: 'pt_sansbold',Arial,Verdana,sans-serif;
	font-size: 1.2em;
	color: @Gold;
}
.primoPiano p {
	font-size: .9em;
	color: @Black;
}
.primoPiano .imgWrapper {
	float: left;
	width: 80px;
	height: 80px;
	overflow: hidden;
	margin-right: 10px;
}
.primoPiano img {
	max-width:none!important;
	width: 102px!important;
	height: 80px!important;
	margin-left: -13px;
}
.primoPiano article a:hover em, .primoPiano article a:focus em, .primoPiano article a:active em, .primoPiano article a:hover h1, .primoPiano article a:focus h1, .primoPiano article a:active h1, .primoPiano article a:hover p, .primoPiano article a:focus p, .primoPiano article a:active p {
	color: @Black;
}

.elencoAggiornamenti article a {
	text-decoration: none;
}
.elencoAggiornamenti article a:hover h1, .elencoAggiornamenti article a:focus h1, .elencoAggiornamenti article a:active h1, .elencoAggiornamenti article a:hover h1 em, .elencoAggiornamenti article a:focus h1 em, .elencoAggiornamenti article a:active h1 em {
	color: @Rosso;
}
.elencoAggiornamenti em {
	font-family: 'pt_sansbold',Arial,Verdana,sans-serif;
	font-size: .9em;
	font-style: normal;
	color: @Rosso;
}
.elencoAggiornamenti h1 {
	font-family: Arial,Verdana,sans-serif;
	font-size: .9em;
	font-weight: normal;
	line-height: 1.4em;
	color: @Black;
}
.elencoAggiornamenti h1 strong {
	font-weight: normal;
}
.elencoAggiornamenti h1 em {
	font-family: Arial,Verdana,sans-serif;
	font-size: 1em;
	font-weight: normal;
	color: @Black;
}

/* testata */
.testataWrapper {
	background: url(kAssetsUSR/img/backgrounds/bgTestata.png) no-repeat center top;
}
.logoWrapper {
	width: auto;
	height: auto;
	margin-top: 15px;
	padding: 0;
}
.logo {
	display: block;
	width: 145px;
	height: 72px;
	background: url(kAssetsUSR/img/elements/sprites.png) no-repeat 0 0;
}
.socialFollowWrapper {
	float: right;
	width: 100px;
	margin-top: 28px;
}
.socialFollowWrapper input[type='text']{
	width: 100px;
	padding: 5px 30px 5px 10px;
	border: none;
	background-color: @LightGrey;
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
	font-size: .9em;
}
.searchWrapper {
	clear: both;
	position: relative;
}
.searchWrapper label {
	display: none;
}
.searchWrapper input[type='submit']{
	position: absolute;
	right: 5px;
	top: 5px;
	width: 18px;
	height: 17px;
	border: none;
	background: url(kAssetsUSR/img/elements/sprites.png) no-repeat -254px 0;
}
.ilComuneSu {
	display: none;
}
.socialFollowWrapper ul {
	float: right;
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.socialFollowWrapper ul li {
	display: inline;
}
.socialFollowWrapper ul li a {
	display: inline-block;
	width: 21px;
	height: 21px;
	margin-bottom: 5px;
	background: url(kAssetsUSR/img/elements/sprites.png) no-repeat -186px 0;
}
.socialFollowWrapper ul li:first-child a {
	background: url(kAssetsUSR/img/elements/sprites.png) no-repeat -155px 0;
}

/* menu H */
.menuH {
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
	font-size: 1.1em;
	text-transform: uppercase;
}

/* breadcrumb */
.breadcrumb {
	margin-bottom: 10px;
	color: @Granata;
	background-color: @White;
	font-size: .85em;
}
.breadcrumb a {
	color: @Grey;
}

/* corpo pagina */
/*p + */ main {
	margin-top: 24px;
	padding-bottom: 20px;
}
.home main {
	margin-top: 0;
}
.corpoPagina {
	background: none;
	background-color: @White;
}

/* menu V */
.menuV {
	border-right: 1px solid #dcdcdc;
}
.menuV ol {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
	font-size: 1.4em;
}
.menuV ol li a, .menuV ol li strong {
	display: block;
	padding: 7px 15px;
	border-top: 1px solid #dcdcdc;
	color: @Black;
	text-decoration: none;
	background-color: #e9e9e9;
}
.menuV ol li a:hover, .menuV ol li a:focus, .menuV ol li a:active {
	color: @Rosso;
}
.menuV ol li strong {
	color: @Rosso;
}
.menuV ol ol {
	font-family: Arial, Verdana, sans-serif;
	font-size: .65em;
}
.menuV ol ol li a, .menuV ol ol li strong {
	display: block;
	padding: 7px 5px 7px 15px;
	background-color: @Trasp;
}
.menuV ol ol ol {
	font-size: 1em;
}
.menuV ol ol ol li {
	padding: 0 0 0 5px;
}

/* footer */
footer {
  padding: 20px 0;
}
.footerWrapper {
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
	font-size: .9em;
	border-top: 4px solid @Rosso;
	background-color: @White;
}
.datiComune {
	margin-bottom: 20px;
	padding-left: 80px;
	background: url(kAssetsUSR/img/elements/sprites.png) no-repeat 0 -236px;
}
.datiComune span {
	display: block;
}
.footerWrapper a {
	color: @Black;
	text-decoration: none;
}
.footerWrapper a:hover, .footerWrapper a:focus, .footerWrapper a:active {
	color: @Rosso;
}
.footerWrapper ol, .footerWrapper ul {
	float: left;
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.footerWrapper ul {
	float: right;
}
.footerWrapper ul li {
	text-align: right;
	height: 25px;
}
.footerWrapper ul li:first-child {
	text-align: left;
}
.footerWrapper ol li {
	padding-left: 10px;
	background: url(kAssetsUSR/img/elements/sprites.png) no-repeat 0 -463px;
}
.dateWrapper {
	padding: 20px 0;
	background-color: #e6e6e6;
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
	font-size: .9em;
	text-align: right;
}
.fb_iframe_widget iframe {
	height: auto;
}

/* home */
.homeLinkAllineati {
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
}
.homeLinkAllineati a {
	float: left;
	width: 50%;
	height: 50px;
	margin-bottom: 1px;
	padding: 10px 20px;
	background-color: #e9e9e9;
	text-align: center;
	text-decoration: none;
	line-height: 1.2em;
	border-left:1px solid @White;
	color: @Rosso;
}
.homeLinkAllineati a:hover, .homeLinkAllineati a:focus, .homeLinkAllineati a:active {
	color: @Black;
	background-color: #dbdbdb;
	text-decoration: none;
}
.homeLinkAllineati .titolettoRosso {
	padding-bottom: 10px;
	border-bottom: 3px solid #e6e6e6;
}
#menuArgomenti ol {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
}
#menuArgomenti ol li a {
	float: left;
	width: 50%;
	height: 50px;
	padding: 6px 0 10px 0;
	color: @Black;
	border-bottom: 1px solid #e6e6e6;
	line-height: 1em;
}
#menuArgomenti ol li a:hover, #menuArgomenti ol li a:focus, #menuArgomenti ol li a:active {
	color: @Rosso;
}
#menuArgomenti ol li a img {
	float: left;
	width: 21px;
	height: 16px;
	margin-right: 5px;
}
#menuArgomenti ol li a span {
	float: left;
	width: 100px;
	overflow: hidden;
}
.homeAggiornamenti {
	position: relative;
}
#paginatoreAggiornamenti {
	position: absolute;
	right: 0;
	top: 10px;
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
	font-size: .9em;
	background-color: #e6e6e6;
}
#paginatoreAggiornamenti li {
	float: left;
}
#paginatoreAggiornamenti a {
	color: @Grey;
}
.pannelloAgg1, .pannelloAgg2 {
	display: none;
	position: absolute;
	left: 0;
	top: 50px;
	background-color: @White;
}
.paneActive {
	display: block;
}

/* responsiveness */
@media screen and (min-width: 480px) {
	.socialFollowWrapper {
		width: auto;
	}
	.ilComuneSu {
		float: left;
		display: block;
		margin-left: 61px;
		font-family: 'pt_sansbold', Arial, Verdana, sans-serif;
		font-size: .9em;
	}
	.socialFollowWrapper input[type='text']{
		width: 183px;
	}
}
@media screen and (min-width: 768px) {
	.sfondo1 {
		background: url(kAssetsUSR/img/pictures/sfondo1.jpg) no-repeat center top, url(kAssetsUSR/img/backgrounds/shadow.png) no-repeat center top, url(kAssetsUSR/img/backgrounds/greyStripe.gif) repeat-x 0 0;
		background-color: @White;
	}
	.sfondo2 {
		background: url(kAssetsUSR/img/pictures/sfondo2.jpg) no-repeat center top, url(kAssetsUSR/img/backgrounds/shadow.png) no-repeat center top, url(kAssetsUSR/img/backgrounds/greyStripe.gif) repeat-x 0 0;
		background-color: @White;
	}
	.sfondo3 {
		background: url(kAssetsUSR/img/pictures/sfondo3.jpg) no-repeat center top, url(kAssetsUSR/img/backgrounds/shadow.png) no-repeat center top, url(kAssetsUSR/img/backgrounds/greyStripe.gif) repeat-x 0 0;
		background-color: @White;
	}
	.sfondo4 {
		background: url(kAssetsUSR/img/pictures/sfondo4.jpg) no-repeat center top, url(kAssetsUSR/img/backgrounds/shadow.png) no-repeat center top, url(kAssetsUSR/img/backgrounds/greyStripe.gif) repeat-x 0 0;
		background-color: @White;
	}
	.socialFollowWrapper input[type='text']{
		padding: 10px 30px 10px 10px;
	}
	.searchWrapper input[type='submit']{
		right: 10px;
		top: 10px;
	}
	.logoWrapper {
		width: 195px;
		height: 103px;
		margin-top: 6px;
		padding: 13px 0 0 20px;
		border-right: 5px solid @Rosso;
	}
	.testataWrapper {
		height: 124px;
		margin-bottom: 190px;
	}
	.home .menuH {
		border-bottom: 13px solid #ededed;
	}
	.breadcrumb {
		margin-bottom: 0;
		padding: 10px 15px;
		border-top: 13px solid #ededed;
	}
	.menuV {
		border-right: none;
	}
	.navbar {
		margin-bottom: 0;
		border: none;
	}
	.navbar-nav {
		height: 59px;
	}
	.nav>li>a {
		padding-left: 5px;
		padding-right: 5px;
		border: 5px solid @Trasp;
		border-bottom: none;
	}
	.nav>li:nth-child(6)>a {
		border: 5px solid #ededed;
		border-bottom: none;
		color: @Gold;
	}
	.nav>li:nth-child(6)>a:hover, .nav>li:nth-child(6)>a:focus, .nav>li:nth-child(6)>a:active {
		color: @Black;
	}
	.nav>li.active {
		position: relative;
		top: -4px;
		height: 76px;
		background: url(kAssetsUSR/img/elements/sprites.png) no-repeat 50% -564px;
	}
	.nav>li.active>a {
		padding-top: 22px;
	}
	main {
		position: relative;
		left: -15px;
		margin-top: 0;
	}
	#noMenu main {
		left: 0;
		margin: 0 15px;
	}
	.corpoPagina {
		background: url(kAssetsUSR/img/backgrounds/bgCorpoPaginaSmall.png) repeat-y center top;
	}
	.home .corpoPagina, #noMenu .corpoPagina {
		background: url(kAssetsUSR/img/backgrounds/bgHomeSmall.png) repeat-y center top;
	}
	/* flex classes */
	.viewTable {
		width: 105.4%!important;
		margin-left: -14px;
	}
}
@media screen and (min-width: 992px) {
	.corpoPagina {
		background: url(kAssetsUSR/img/backgrounds/bgCorpoPagina.png) repeat-y center top;
	}
	.home .corpoPagina, #noMenu .corpoPagina {
		background: url(kAssetsUSR/img/backgrounds/bgHome.png) repeat-y center top;
	}
	.nav>li>a {
		padding-left: 21px;
		padding-right: 21px;
	}
	/* flex classes */
	.viewTable {
		width: 104.3%!important;
	}
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
	.logo {
		display: block;
		width: 145px;
		height: 72px;
		background:url(kAssetsUSR/img/elements/sprites.png) 0 -41px no-repeat;
		background-size: 400px 400px;
	}
}