body {
    font-family: Verdana;
	font-size: 15px;
    line-height: 23px;
	color: #1B5669;
	box-sizing:border-box;
}
 body{
	
	/*background-image: url(../img/sfondo.jpg);
	background-repeat: repeat-y;
	background-position: center top;
	overflow: -moz-scrollbars-vertical;
	overflow: scroll; */
} 

#header{
	width:100%; 
	/*background-color:#0F6;*/
}
#logo{
	float:left;
	padding-top:11px;

}
#sponsorBig{
	text-align: right;
    padding-right: 10px;
	padding-top:6px;
}
#menu{
	position:relative;
	height:150px;
	width:927px;
	margin:0 auto 0 auto;
}
#menu ul{
	margin:0;
	padding:0;
	list-style-type: none;
	/*text-transform: uppercase;*/
}
#menu li {
	font-size: 13px;
/*	letter-spacing: 1px;*/
	float: left;
} 

#foto img {
    width: 100%;
    /*max-width: 1280px;*/
    height: auto;
}
#fotoMob{
	display:none;	
}
/*#inEvidenza {
	line-height:18px;
	color:#ffffff;
	font-weight: bold;
	text-align:left;
	width: 910px;
	background:#ff0099;
	margin:10px auto;
}*/

#inEvidenza {
    line-height: 18px;
    color: #fff;
    font-weight: bold;
    text-align: left;
    background: #ff0099;
    margin-top: 1%;
    margin-bottom: 2%;
	padding:3px 0;
}
#sponsor {
    width:100%;
	float:left;
}

#sponsor ul {
    margin: 0;
    padding: 0;
	width:100%;
	float:left;
}
#sponsor li {
    text-align: center;
    float: left;
    list-style-type: none;
    width: 18%;
    line-height: 97px;
    background-color: #fff;
    margin: 1% 1%;
    display: table;
}

.btn-responsive-menu {
    display: none;
}
/*--------------------------------- */
#centeredbox {
	width:100%;
	background:#ffffff;
	/*background-image: url(../img/sfondo_container.gif);
	background-repeat: repeat-y;
	background-position: left top;*/
	margin:0 auto 0 auto;
	margin-top:10px;
}
/*#colonnaSx{
	position:relative;
	text-align:left;
	width:244px;
	float:left;
	margin-bottom:50px;
}*/
#colonnaSx {
    text-align: left;
    width: 25%;
/*    height: 100vh;*/
    background-color: #F5F5F5;
    float: left;
    font-size: 15px;
}
#colonnaSx a{
	/*background-image:url(../img/link.gif);
	background-position:left top;
	background-repeat:no-repeat;	
	padding-left:0px;*/
}
/* inizio sottomen&ugrave; citt&agrave; */
 .origini{
	border-bottom: 4px solid #019FD4;
}
#colonnaSx .origini a, #colonnaSx .origini li{
	color: #007FCE;
}
.cultura{
		border-bottom: 4px solid #BB66BB;
}
#colonnaSx .cultura a, #colonnaSx .cultura li{
	color: #990099;
}
.territorio{
	border-bottom: 4px solid #A97873;
}
#colonnaSx .territorio a, #colonnaSx .territorio li{
	color:#5F1813;
}
.mobilita{
	border-bottom: 4px solid #6F9300;
}
#colonnaSx .mobilita a, #colonnaSx .mobilita li{
	color:#6F9300;
}
.photogallery{
	border-bottom: 4px solid #FF9900;
}
#colonnaSx .photogallery a, #colonnaSx .photogallery li{
	color:#CA4400;
}

/*fine sottomen&ugrave; citt&agrave;*/

#titolo{
	background:#ff0099;
	/*line-height:20px;*/
	margin: 0;
	padding:5px;
	font-family: arial;
	color:#ffffff;
	font-size: 20px;
	font-weight: bold;
	font-variant: small-caps;
	/*margin-bottom:18px;*/
	letter-spacing: 1px;

}

#colonnaSx ul{
	padding: 7px 0px 0px 10px;
	/*margin:0;*/
}
/*#colonnaSx #sottomenu{
	margin:7px 0px 0px 20px;
}*/
#colonnaSx li{
	padding-bottom:5px;
	margin-bottom:15px;
	margin-left:15px;
	list-style-type: square;
	color:#003366;
}

#colonnaSx a{
	color: #003366;
	text-decoration: none;
	font-weight: normal;

}
#colonnaSx a:hover, #colonnaSx .selected {
	color: #ff0099;
}
#colonnaSx .selected  {
	font-weight: bold;
}
iframe{
	width:100%;	
}
#container #centeredbox #colonnaSx .aziende {
	margin-left: 20px;
}
#colonnaCx{
	padding:10px;
	text-align:left;
	margin-left:4px;
	width:640px;
	float:left
}
/*#corpo{
	padding:10px;
	text-align:justify;
	margin-left:4px;
	width:642px;
	float:left;
	line-height:20px;
}*/
#corpo {
    text-align: justify;
    width: 75%;
    float: left;
}
#corpo >*{
	margin-left:15px;
	margin-right:15px;
}
a{
	color:#1B5669;
}
#elencoAttivita{
	text-align:left;
	/*margin-left:13px;
	padding-top:10px;*/
	float:left;
	width:75%;
}
#elencoAttivita>*{
	margin-left:15px;
	margin-right:15px;
}
#elencoAttivita p, #elencoAttivita td{
	background: #ffffff;
	border:1px solid #E4E4E4;
	margin-right:30px;
	margin-bottom:30px;
	padding:7px;
	width:42%;
	min-height:120px;
	float:left;
	font-size: 14px;
	font-family: Verdana;
	color: #1B5669;
	text-transform: capitalize;
}
.site{
	text-transform: none;	
}
#elencoAttivita td:empty {
    display:none;
}
#elencoAttivita table{
	width:100%;	
}

#elencoAttivita p.attivitaSponsor, #elencoAttivita td.attivitaSponsor{
	background: #FEFEFC;
	border:2px solid #ff0099;
	text-transform: capitalize;
	min-height: 116px;

}
.slogan{
	/*BACKGROUND:#FF9;*/
	font-size: 10px;
	font-weight: bold;
	text-transform: none;
	color: #069;
}
#pagineAttivita{
	background:#F9F9F9;
	border:1px solid #E4E4E4;
	line-height:20px;
	text-align:center;
	width:632px;
	/*margin-left:236px;*/
	margin-top:5px;
}

/*inizio stile  paginazione virtuale per pagine statiche*/
.paginationstyle select{ /*Style for demo pagination divs' select menu*/
border: 0px solid #003366;
margin: 0 15px;
}

.paginationstyle a{ /*Pagination links style*/
padding: 0 5px;
text-decoration: none;
border: 1px solid #ccc;
color: #003366;
background-color: white;
}

.paginationstyle a:hover, .paginationstyle a.selected{
color: #fff;
background-color: #FF0099;
}

.paginationstyle a.disabled, .paginationstyle a.disabled:hover{ /*Style for "disabled" previous or next link*/
background-color: white;
cursor: default;
color: #ccc;
border-color: transparent;
}

.paginationstyle .flatview a:hover, .paginationstyle .flatview a.selected{ /*Pagination div "flatview" links style*/
color: #fff;
background-color: #FF0099;
}
/*fine stile paginazion e virtuale*/

h1 {
	font-family: Arial;
	font-size: 17px;
	font-variant: small-caps;
	color: #1B5669;
}
h2 {
	font-family: Arial;
	font-size: 20px;
	font-variant: small-caps;
	color: #1F647A;
}

h3 {
	font-family: Arial;
	font-size: 18px;
	font-variant: small-caps;
	color: #267893;
}
hr {
	width: 95%;
	border:none;
	border-top: 1px solid #ccc;
	height:1px;
	clear:both;
	margin-left:0;
}

table, input,textarea{
	font-family: Verdana;
	font-size: 15px;
}
.btn {
    width: 45px;
}
/*#pie{
	text-align:left;
	margin:0 auto 0 auto;
	margin-top:5px;
	width:910px;
	font-size:10px;
	line-height:20px;
	clear:both;
}*/
#pie {
    text-align: left;
    margin: 0px auto;
    margin-top: 1%;
    line-height: 19px;
    font-size: 10px;
    clear: both;
}
#pie a{
color: #1B5669;
}
.email {
	text-transform: lowercase;
}
#MenuTuttoMacerata {
	margin-left:5px;
	border:0px solid #F00;
}

#MenuTuttoMacerata td , #MenuTuttoMacerata span{
	width:244px;
	/*background:#CCC;*/
	table-layout:fixed;
	overflow:hidden;
	word-wrap:break-word;
	line-height:20px;	
}
.MenuTuttoMacerata_1{
	padding-left:15px;
	background-image: url(../img/bullet_blu.gif);
	background-repeat: no-repeat;
	background-position: left center;
}
.MenuTuttoMacerata_1.selected.MenuTuttoMacerata_3{
	padding-left:15px;
	background-image: url(../img/bullet_fucsia.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

#counterPage{
	float:right;
	width:400px;
	margin: 20px 137px 20px 0px;
	
	border: 0px solid #000;	
}
#counterPage input{
	background-color:#FFCAEA;	
	color:#333 ;
}


/* ---- SCROLL TO TOP --*/
.cd-top {
	  display: inline-block;
	  height: 40px;
	  width: 40px;
	  position: fixed;
	  bottom: 40px;
	  right: 10px;
	  overflow: hidden;
	  text-indent: 100%;
	  white-space: nowrap;
	
	  background: rgba(255, 0, 153, 0.8)  url(/img/cd-top-arrow.svg) no-repeat center 50%;
	  visibility: hidden;
	  opacity: 0;
	  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
	  -moz-transition: opacity .3s 0s, visibility 0s .3s;
	  transition: opacity .3s 0s, visibility 0s .3s;
	}
	.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
	  -moz-transition: opacity .3s 0s, visibility 0s 0s;
	  transition: opacity .3s 0s, visibility 0s 0s;
	}
	.cd-top.cd-is-visible {
	  /* the button becomes visible */
	  visibility: visible;
	  opacity: 1;
	}
	.cd-top.cd-fade-out {
	  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	  opacity: 1;
	}
	.no-touch .cd-top:hover {
	  background-color: #e86256;
	  opacity: 1;
	}



@media all and (max-width: 768px){
	#colonnaSx {
	height: auto;
	}
#nav {
    display: none;
}
.show {
    display: block!important;
}
.btn-responsive-menu {
	width:7%;
	height:auto;
    display: block; 
	float:right;
	margin-top:0;
    text-align: center;
}


}
@media screen and (max-width: 768px){
	#logo img {
    width: 100%;
    height: auto;
	}
	#sponsorBig {
   /* float:left;*/
	width:95%;
	text-align:center;
/*    padding-right: 15px;
    padding-top: 30px;*/
}
#foto{
	display:none;	
}
#fotoMob{
	display:block;
	width:100%;	
}
#fotoMob img{
	width:100%;	
}
#inEvidenza{
	text-align:center;	
}
#sponsor li {
    width: 30%;
    /*height: 120px;*/
}
#sponsor li img {
    /*width: 100%;*/
    height: auto;
    vertical-align: middle;
}
	#colonnaSx {
	width: 100%;
	float: none;
	height: auto;
	}
	#corpo {
    text-align: left;
    width: 100%;
    float: none;
	}
	#corpo >* {
		margin-left: 0;
		margin-right: 3px;
	}
	#corpo ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
	}
	#corpo li {
    width: 90%;
    margin-left: 23px;
}
	#corpo li {
		width: 90%;
		float: none;
		text-align: left;
		list-style-type: square;
	}
	div#rssincl-box-290088 div.rssincl-content,.rssincl-head {
    /*width: 49%;*/
	width:100%;
	}
	#elencoAttivita {
    width: 95%;
    float: none;
	}
	
	#elencoAttivita p, #elencoAttivita td {
    width: 100%;
}
#pie {
    font-size: 12px;
    text-align: center;
    line-height: 25px;
}
}




@media screen and
(min-width: 320px) and
(max-width: 1023px) and
(orientation : landscape){
	html {
		
		width:100%;
		height: 100%;
		content:"." ;
		position: absolute;
		top: 0;
		left: 0;
		background-color:#333;
		background-image:url(/img/rotate-landscape-lock.svg);
		background-position:center center;
		background-repeat:no-repeat;
	}
}
@media screen and (min-width: 320px) and (max-width: 1023px) and (orientation: landscape){
body {
    display: none;
}
}