/**
 * Theme Name: EU PLF
 * Version: 0.1
 * Author: Andromeda Service
 */

/* =CSS Resets (Normalize). @link: https://raw.github.com/necolas/normalize.css/master/normalize.css
-------------------------------------------------------------- */

/* Freccia sui genitori */
.menu li.menu-item-has-children > a::after,
.menu li.page_item_has_children > a::after{
  content:"";
  display:inline-block;
  width:.5em; aspect-ratio:1;
  margin-left:.4em;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform: rotate(45deg);        /* ▼ */
  transition: transform .2s ease;
  vertical-align: middle;
}

/* Ruota quando aperto (si appoggia alla classe che il tuo JS già aggiunge) */
.menu li.is-open > a::after{
  transform: rotate(-135deg);      /* ▲ */
}

/* Secondo livello: freccia un filo più piccola (opzionale) */
.menu .sub-menu li.menu-item-has-children > a::after{
  transform: rotate(45deg) scale(.85);
}
.menu .sub-menu li.is-open > a::after{
  transform: rotate(-135deg) scale(.85);
}



div#banner {
    border: 1px solid #003;
    color: #003!important;
	padding:5px;
	
	background: rgb(255,255,255);
background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,204,0,1) 100%);
background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,204,0,1) 100%);
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,204,0,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffcc00",GradientType=1);
}

div#banner h1,
div#banner h2,
div#banner h3,
div#banner h4,
div#banner h5,
div#banner h6
{ color: #003!important; margin:0!important; }

div#banner h3 { font-size: 1.8em; }

article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{ display:block}audio,canvas,video{ display:inline-block; *display:inline; *zoom:1}audio:not([controls]){ display:none}[hidden]{ display:none}html{ font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%}html,button,input,select,textarea{ font-family:sans-serif}body{ margin:0}a:focus{ outline:thin dotted}a:hover,a:active{ outline:0}h1{ font-size:2em; margin:0.67em 0}h2{ font-size:1.5em; margin:0.83em 0}h3{ font-size:1.17em; margin:1em 0 0 0}h4{ font-size:1em; margin:1.33em 0}h5{ font-size:0.83em; margin:1.67em 0}h6{ font-size:0.75em; margin:2.33em 0}abbr[title]{ border-bottom:1px dotted}b,strong{ font-weight:bold}blockquote{ margin:1em 40px}dfn{ font-style:italic}mark{ background:#ff0; color:#000}pre,code,kbd,samp{ font-family:monospace,serif; _font-family:'courier new',monospace; font-size:1em}pre{ white-space:pre; white-space:pre-wrap; word-wrap:break-word}q{ quotes:none}q:before,q:after{ content:''; content:none}small{ font-size:75%}sub,sup{ font-size:75%; line-height:0; position:relative; vertical-align:baseline}sup{ top:-0.5em}sub{ bottom:-0.25em}ul,ol{ margin-left:0; padding:0 0 0 25px}dd{ margin:0 0 0 40px}nav ul,nav ol{ list-style:none; list-style-image:none}img{ border:0; -ms-interpolation-mode:bicubic}svg:not(:root){ overflow:hidden}figure{ margin:0}form{ margin:0}fieldset{ border:1px solid #c0c0c0; margin:0 2px; padding:0.35em 0.625em 0.75em}legend{ border:0; padding:0; white-space:normal; *margin-left:-7px}button,input,select,textarea{ font-size:100%; margin:0; vertical-align:baseline; *vertical-align:middle}button,input{ line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{ cursor:pointer; -webkit-appearance:button; *overflow:visible}button[disabled],input[disabled]{ cursor:default}input[type="checkbox"],input[type="radio"]{ box-sizing:border-box; padding:0; *height:13px; *width:13px}input[type="search"]{ -webkit-appearance:textfield; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{ -webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{ border:0; padding:0}textarea{ overflow:auto; vertical-align:top}table{ border-collapse:collapse; border-spacing:0}.alignleft,.left{float:left;margin:1em 1.25em 0.5em 0}.alignright,.right{float:right;margin:1em 0 0.5em 1.25em}.aligncenter,.center{display:block;margin:1em auto}.alignnone,.block{clear:both;margin:1em 0}.clear{clear:both}blockquote.alignleft,blockquote.alignright{width:33%}

table td {
	padding: 20px 10px;
	border-bottom: 1px solid #ccc;
}


div.sp-cdm-below-search-nav.cdm_nav_buttons,
div.sp-cdm-r-head,
div.sp-cdm-folder-navigation-buttons,
.singular-page-1515 .breadcrumb-trail {
	display:none;
}

a.registration-button { 
    background: #FC0;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: block;
    font: normal normal bold 1.2em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
    margin: 1em 30% 1em 0;
    padding: 1em;
    clear: both;
    text-align: center;
	}

a.registration-button.center { 
	margin: 1em auto;
	width:80%;
}

/* =Layout for all devices
-------------------------------------------------------------- */

/* Drop-downs. */
div.menu ul{margin:0;padding:0;list-style:none;line-height:41px}div.menu ul ul{margin-top:6px;position:absolute;top:-999em;width:10em}div.menu ul ul li{width:100%}div.menu li:hover{visibility:inherit}div.menu li{float:left;position:relative}div.menu a{display:block;position:relative}div.menu li:hover ul,li.sfHover ul{left:0;top:2em;z-index:99}div.menu li:hover li ul,li.sfHover li ul{top:-999em}div.menu li li:hover ul,li li.sfHover ul{left:10em;top:0}div.menu li li:hover li ul,li li.sfHover li ul{top:-999em}div.menu li li li:hover ul,li li li.sfHover ul{left:10em;top:0}
 
/* Gallery. */
.gallery{display:block;clear:both;overflow:hidden;margin:0 auto}.gallery .gallery-row{display:block;clear:both;overflow:hidden;margin:0}.gallery .gallery-item{overflow:hidden;float:left;margin:0;text-align:center;list-style:none;padding:0}.gallery .gallery-item .gallery-icon img{width:auto;max-width:89%;height:auto;padding:1%;margin:0 auto}.gallery-caption{margin-left:0}.gallery .col-0{width:100%}.gallery .col-1{width:100%}.gallery .col-2{width:50%}.gallery .col-3{width:33.33%}.gallery .col-4{width:25%}.gallery .col-5{width:20%}.gallery .col-6{width:16.66%}.gallery .col-7{width:14.28%}.gallery .col-8{width:12.5%}.gallery .col-9{width:11.11%}.gallery .col-10{width:10%}.gallery .col-11{width:9.09%}.gallery .col-12{width:8.33%}.gallery .col-13{width:7.69%}.gallery .col-14{width:7.14%}.gallery .col-15{width:6.66%}.gallery .col-16{width:6.25%}.gallery .col-17{width:5.88%}.gallery .col-18{width:5.55%}.gallery .col-19{width:5.26%}.gallery .col-20{width:5%}.gallery .col-21{width:4.76%}.gallery .col-22{width:4.54%}.gallery .col-23{width:4.34%}.gallery .col-24{width:4.16%}.gallery .col-25{width:4%}.gallery .col-26{width:3.84%}.gallery .col-27{width:3.7%}.gallery .col-28{width:3.57%}.gallery .col-29{width:3.44%}.gallery .col-30{width:3.33%}

/* Fonts */
@font-face {
    font-family: 'LeagueGothicRegular';
    src: url('fonts/league_gothic-webfont.eot');
    src: url('fonts/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/league_gothic-webfont.woff') format('woff'),
         url('fonts/league_gothic-webfont.ttf') format('truetype'),
         url('fonts/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	color: #333;
	font: 100%/1.5 "Palatino Linotype", "Book Antiqua", Palatino, serif; /* 24px / 16px = 1.5 */
}

/* Images, embed */
img,
object,
embed {
	max-width: 100%;
}
img {
	height: auto;
}

/* Links */
a,
a:visited {
	color: #039;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}

a.homelink {
	position: absolute;
	display: block;
	border: 1px solid;
	width: 100px;
	height: 100px;
	top: 10px;
}

/* Headers */
h1 {
	margin-top: 0;
	margin-bottom: -0.2em;
	color: rgb(0,51,153);
	line-height: 1em;
}
h2 {
	color: rgb(0,102,153);
}	
h3 {
	color: rgb(0,153,153);
}
h4,h5,h6 {
	margin-top: 0;
	margin-bottom: -0.5em;
	color: rgb(0,255,153);
	line-height: 1em;
}
.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5,
.sidebar h6 {
	border-bottom: none;
}

h4 {
	font-size: 1.0625em; /* 17px / 16px = 1.0625 */
}
h5 {
	font-size: 1em;
}
h6 {
	font-size: 0.9375em; /* 15px / 16px = 0.9375 */
}

h1.subtitle { font-style: italic; color: #989898; font-size: 1.1em; }
h2.paragraph {
	margin-top: 1.25em;
	margin-bottom: -0.3em;
	color: rgb(0,102,153);
	line-height: 1em;
}	
h3.paragraph {
	margin-top: 1.25em;
	margin-bottom: -0.4em;
	color: rgb(0,153,153);
	font-style: italic;
	line-height: 1em;
}

.noline { border-bottom: none; padding-bottom: 0; margin-bottom: 0;}

p { font-size: 0.95em; }

/* Lists */
ul {
	list-style-type: circle;
}
dl dt {
	font-size: .95em;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
dl dd {
	color: #222;
}

p.login-username {
	width: 45%;
	float: left;
	padding: 0;
	margin: 0;
}
p.login-password {
	width: 45%;
	float: right;
	padding: 0;
	margin: 0;
}
p.login-submit {
	float: right;
	width: 30%;
	padding: 0;
	margin: 0;
}
p.lost-password {
	float: left;
	width: 70%;
	padding: 17px 0;
	margin: 0;
}
form.eu-login {
margin: 0 !important;
overflow:hidden;
}


/* Blockquotes */
blockquote {
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-left: 0.375em solid #13a1ec;
	color: #666;
	font-style: italic;
	height: 100%; /* IE7 */
	margin: 1em 0;
	padding: 1em 2em;
}
blockquote blockquote {
	padding: 0.375em 2em;
}

/* Code */
code {
	background: #f7f7f7;
	color: #555;
	padding: 0 0.1875em;
}
pre {
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	color: #555;
	font-size: .9375em;
	padding: 2em;
}
pre code {
	padding: 0;
}

/* Acronyms and abbreviations */
acronym,
abbr {
	border-bottom: 1px dotted #999;
}

/* Tables */
table {
	margin: 0 0 1em 0;
	width: 100%;
}
table caption {
	color: #555;
	text-transform: uppercase;
}
th {
	background: #1189b7;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	color: #fff;
	padding: .5em 2%;
	text-align: left;
}
td,
tbody th {
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	font-size: .9375em;
	padding: 0 1em;
}
tr:hover td {
	background: #f7f7f7;
}
tr:hover th {
	background: #13a1ec;
}
thead th,
tfoot th,
thead tr:hover th,
tfoot tr:hover th {
	background: #FC0;
	color: #fff;
}



/* WP calendar */
#wp-calendar a { /* WP needs to fix this ID issue. */
	background: #039;
	color: #fff;
	display: block;
	font-weight: bold;
}
#eo-widget-next-month a, #eo-widget-prev-month a { background: transparent !important; color: #039 !important; }

#wp-calendar a:hover {
	background: #FC0;
}
#wp-calendar th {
}
#wp-calendar th,
#wp-calendar td {
	padding: 0;
	text-align: center;
}
#wp-calendar td.pad,
#wp-calendar #prev,
#wp-calendar #next {
	background: transparent;
}
#wp-calendar #prev {
	text-align: left;
}
#wp-calendar #next {
	text-align: right;
}
#wp-calendar #prev a,
#wp-calendar #next a {
	background: transparent;
	color: #555;
	display: inline;
}


#gruppoeventi .widget { width: 24%;
float: left;
margin: 0 2% 2% 0 !important;
height: 100px;
}

#gruppoeventi {
	margin-bottom: 2em;
	overflow: hidden;
	width: 67%;
	float: left;
}

body.home #gruppoeventi {
	width: 100%;
}

span.mese { 
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
color: #000;
font-size: 2em;
text-transform: uppercase;
display: block;
width: 65px;
float: left;
text-align: right;
padding: 0;
margin: 40px 0 0 0;
line-height: 1em;
}

span.giorno { 
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
color: #099;
font-size: 2.5em;
float: left;
clear: left;
width: 65px;
text-align: right;
padding: 0;
margin: 0;
line-height: 40px;
}

#gruppoeventi a {
	color: rgb(0,51,153);
}

span.evento {
padding-left: 5%;
overflow: hidden;
display: block;
margin: 40px 0 0 85px !important;
font-size: 1em;
height: 100%;
}

.bloccoeventi {
border-top: 1px solid #ccc;
display: block;
position: relative;
clear: both;
padding-top: 2em;
}

/* Horizontal rule */
hr {
	height: 1px;
	padding: 0;
	border: none;
	border-bottom: 1px solid #666;
}

#menu-primary li.disabled a {
	color: #ccc !important;
	cursor: pointer;
}

#menu-primary li.disabled a:hover {
	background-color: #fff !important;
}

h1 a, h2 a { color: #cc0000 !important; }
h1.multiple a { color: #000 !important; }

/* =Images
-------------------------------------------------------------- */

.hfeed img,
.avatar {
	height: auto;
}

/* Avatars */
.avatar {
	float: left;
	margin: 0 1em .5em 0;
}
.format-status .avatar {
	margin-bottom: 1.5em;
	width: 80px;
	height: 80px;
}

/* Captions */
.wp-caption {
	max-width: 100%;
	overflow: visible;
	padding: 0;
}
.wp-caption img {
	margin: 0;
	width: 100%;
}
.wp-caption-text {
	background: #f2f2f2;
	border-bottom: 1px solid #e5e5e5;
	color: #555;
	font: normal normal normal 0.875em/1.6 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin: -0.357142857em 0 0 0;
	max-width: 100%;
	padding: 0.571428571em 0.714285714em;
	text-align: center;
}

/* Thumbnails */
.thumbnail,
.live-wire-thumbnail {
	float: left;
	margin: 0 1.5em .5em 0;
	max-width: 194px;
	max-height: 120px;
}
.taxonomy-post_format-video .live-wire-thumbnail {
	border: 1px solid #ccc;
	width: 194px;
	height: 120px;
}

/* Galleries */
.gallery {
	margin-bottom: 1.5em !important;
}
.gallery-caption {
	color: #555;
	font: normal normal normal 0.875em/1.6 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin-bottom: 0.357142857em;
}
.singular-attachment .gallery-caption {
	display: none; /* Hides gallery captions on singular-attachment views. */
}
.hentry .gallery .gallery-icon .attachment-thumbnail {
	padding: 2%;
}
.singular-attachment .hentry .gallery .gallery-icon .attachment-thumbnail {
	padding: 3%;
}

/* WP smiley */
img.wp-smiley {
	background: transparent !important;
	border: none !important;
	margin: 0 !important;
	max-height: 12px !important;
	padding: 0 !important;
}

/* Container */


#testata img { border: none; padding: 0 !important; margin-bottom: -5px; }
#testata { margin: 0 auto; }

body.home div.breadcrumb-trail { display: none; }

div#meteor-slideshow { border-bottom: 4px solid #8c8c8c; padding-bottom: 1px !important; }

/* Primary menu */
#menu-primary {
	position: relative;
	padding: 0;
	margin: 0;
	width: 100%;
	z-index: 98;
}
#menu-primary .wrap {
	margin: 0 auto;
	overflow: visible !important;
	padding: 0;
	width: 100%;
	border: none !important;
}
#menu-primary div.menu {
	display: block;
	float: left;
	width: 100%;
	z-index: 100;
}
#menu-primary ul {
	padding: 0;
}
#menu-primary li {
	display: inline;
	margin-bottom: 2px;
}
#menu-primary li a {
	border-bottom: none;
	border-right: 2px dotted #ccc;
	color: #FC0;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	text-transform: capitalize;
	font-size: 1.05em;
	font-weight: bold;
}
#menu-primary li li a {
	color: #fff;
}
#menu-primary li.current-menu-item {
	background: #fff;
	color: #039;
}
#menu-primary li.current-menu-item a {
	color: #039;
	border: none !important;
	font-weight: bold;
}
#menu-primary li:first-child.current-menu-item {
}
#menu-primary li a:hover,
#menu-primary li.sfHover a {
	text-decoration: none;
}
#menu-primary li:first-child a:hover,
#menu-primary li:first-child.sfHover a {
}
#menu-primary li li a,
#menu-primary li.sfHover li a,
#menu-primary li li.sfHover li a {
	border-right: none;
	padding-left: 1.2em; 
	text-transform: none;
}

#menu-primary li li a {
    background:rgb(255,204,0);
	background: transparent\9;
	background:rgba(255,204,0,0.9);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#e5999999,endColorstr=#e5999999);
	zoom: 1;
	color: #039;
}
#menu-primary li li a:hover {
    background:rgb(255,255,255);
	background: transparent\9;
	background:rgba(255,255,255,0.9);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#e5ffcc00,endColorstr=#e5ffcc00);
	zoom: 1;
	color: #039 !important;
}


#menu-primary li li:first-child a:hover,
#menu-primary li:first-child.sfHover li a,
#menu-primary li li:first-child.sfHover li a,
#menu-primary li:first-child.sfHover li a,
#menu-primary li li:first-child.sfHover li a {
	-webkit-border-top-left-radius: 0;
	-moz-border-radius-topleft: 0;
	border-top-left-radius: 0;
}
#menu-primary li li.current-menu-item a,
#menu-primary li li.sfHover li.current-menu-item a,
#menu-primary li li a:hover,
#menu-primary li li.sfHover a,
#menu-primary li li.sfHover li a:hover {
	color: #fff;
}

/* Drop-down styles */
#menu-primary li:hover ul,
#menu-primary li.sfHover ul {
	top: 2.4375em; /* 39px / 16px = 2.4375 */
}
#menu-primary li:hover li ul,
#menu-primary li.sfHover li ul {
	top: -999em;
}
#menu-primary li li:hover ul,
#menu-primary li li.sfHover ul {
	margin-left: 0;
	padding-bottom: 0;
	top: 0;
}
	
ul.sub-menu {
	width: 17em !important;
}

/* Sub-nav indicator. */
#menu-primary a.sf-with-ul {
	padding-right: 2.54545455em; /* 28px / 11px = 2.54545455 */
}
#menu-primary li .sf-sub-indicator {
background: url('images/menu-plus.png') no-repeat 0 0;
overflow: hidden;
position: absolute;
top: 1.1em;
right: 1em;
width: 10px;
height: 6px;
text-indent: -9999em;
}
#menu-primary li a:hover .sf-sub-indicator,
#menu-primary li.sfHover .sf-sub-indicator,
#menu-primary li.current-menu-item .sf-sub-indicator {
	background-position: 0 -6px;
}
#menu-primary li ul li .sf-sub-indicator,
#menu-primary li ul li.current-menu-item li .sf-sub-indicator {
	background-position: 0 -6px !important;
	top: 1.45454545em; /* 16px / 11px = 1.45454545 */
	width: 6px;
	height: 6px;
}

/* Header */
#header {
	margin: 0;
	padding: 0 2%;
	position: relative;
	overflow: hidden;
	width: 96%;
	z-index: 88;
}
#header .wrap {
	background: #1189b7;
	margin: 0 auto;
	padding: 0 2%;
	width: 96%;
}

/* Branding */
#branding {
	padding: 1em 0;
	position: relative;
	z-index: 98;
}

/* Site title and description */
#site-title {
	font: 1.25em/1.35 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin: 0;
	text-transform: uppercase;
}
#site-title a {
	color: #fff;
}
#site-description {
	color: #fff;
	font: italic 1em/1.25em "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin: 0;
	padding-top: 0.625em;
	text-transform: none;
}

/* Header sidebar */
#sidebar-header {
	padding: 0 0 0.5em;
}
#sidebar-header .widget {
	color: #f2f2f2;
	font-size: 0.875em; 
	margin-bottom: 0.714285714em;
}
#sidebar-header .widget-title {
	color: #f2f2f2;
}
#sidebar-header .widget a {
	color: #66cbf2;
}

/* Menu secondary */
#menu-secondary {
	margin: 2em 0 !important;
	padding: 0;
	width: 50%;
	height: 1.5em; /* 24px / 16px = 1.625 */
	text-align: center;
}
#menu-secondary .wrap {
	margin: 0 auto;
	width: 100%;
}
#menu-secondary div.menu {
	display: block;
	width: 100%;
	z-index: 100;
	margin: 0 auto;
	line-height: 60px;
}
#menu-secondary ul {
	padding: 0;
	display: inline;
}
#menu-secondary li{
	display: inline;
}
#menu-secondary li a {
	color: #000;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	text-transform: capitalize;
	background: url(images/pallino-footer.png) no-repeat left center;
	padding-left: 20px;
	font-size: 17px;
}

#menu-secondary li li a {
}
#menu-secondary li.current-menu-item a {
}
#menu-secondary li a:hover,
#menu-secondary li.sfHover a {
	text-decoration: underline;
}
#menu-secondary li li a,
#menu-secondary li.sfHover li a,
#menu-secondary li li.sfHover li a {
	background: #f2f2f2;
	color: #38b2d4;
	border-right: none;
	border-left: 0.454545455em solid #13a1ec; /* 5px / 11px = 0.454545455 */
	border-bottom: 1px solid #fff;
	padding-left: 1.81818182em; /* 20px / 11px = 1.81818182 */
}
#menu-secondary li li.current-menu-item a,
#menu-secondary li li.sfHover li.current-menu-item a {
	border-left: 0.454545455em solid #1189b7; /* 5px / 11px = 0.454545455 */
	color: #13a1ec;
}
#menu-secondary li li a:hover,
#menu-secondary li li.sfHover a,
#menu-secondary li li.sfHover li a:hover {
	background: #f7f7f7;
	border-left: 0.454545455em solid #1189b7;
}

/* Drop-down styles */
#menu-secondary li:hover ul,
#menu-secondary li.sfHover ul {
	top: 2.0625em; /* 33px / 16px = 2.0625 */
}
#menu-secondary li:hover li ul,
#menu-secondary li.sfHover li ul {
	top: -999em;
}
#menu-secondary li li:hover ul,
#menu-secondary li li.sfHover ul {
	margin-left: 0;
	padding-bottom: 0;
	top: 0;
}

div#menu-secondary.menu-container div.wrap {
	padding: 0 !important;
}

/* Sub-nav indicator */
#menu-secondary a.sf-with-ul {
	padding-right: 2.54545455em; /* 28px / 11px = 2.54545455 */
}
#menu-secondary li .sf-sub-indicator {
	background: url('images/menu-plus.png') no-repeat 0 0;
	background-position: 0 -12px;
	overflow: hidden;
	position: absolute;
	top: 1.18181818em; /* 13px / 11px = 1.18181818 */
	right: 1.09090909em; /* 12px / 11px = 1.09090909 */
	width: 6px;
	height: 6px;
	text-indent: -9999em;
}
#menu-secondary li a:hover .sf-sub-indicator, 
#menu-secondary li.sfHover .sf-sub-indicator,
#menu-secondary li.current-menu-item .sf-sub-indicator {
	background-position: 0 -6px;
}
#menu-secondary li ul li .sf-sub-indicator,
#menu-secondary li ul li.current-menu-item li .sf-sub-indicator {
	background-position: 0 -6px !important;
	top: 1.18181818em; /* 13px / 11px = 1.18181818 */
	width: 6px;
	height: 6px;
}	
	
/* Main */
#main {
	margin: 0;
	overflow: hidden;
	padding: 0 2%;
	width: 96%;
}
#main .wrap {
	background: #fff;
	margin: 0 auto;
	overflow: hidden;
	padding: 0 2%;
	width: 96%;
}

/* Content */
#content {
	float: none;
	width: 100%;
}

p.elenconews { 
font-size: 0.8em;
}

a.titolonews {
	font-weight: bold;
}

span.datanews {
	color: #999;
}

.elemento { display: block; clear: both; overflow: hidden; margin-top: 2em;}


/* Primary sidebar */
#sidebar-primary {
	float: none;
	margin: 0 0 1em 0;
	padding: 0;
	width: 100%;
}

/* Breadcrumbs */

.breadcrumbs {
	display: none;
}


/* =Posts
-------------------------------------------------------------- */

/* Posts */
.hentry {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
}
.singular .hentry {
	border-bottom: none;
	margin-bottom: 3em;
	padding-bottom: 0;
}
.taxonomy-post_format-video .hentry {
	background: #f2f2f2;
	border-bottom: 1px solid #ccc;
	padding: 1.5em 0.5em;
}
.sticky {
	background: #f2f2f2;
	border: 1px solid #e5e5e5;
	margin-top: 1em;
	padding: 2em;
}

/* Post titles */
.entry-title {
	margin-bottom: 1em;
}
.sticky .entry-title {
	margin-top: 0;
}
.singular .entry-title,
.error-404 .entry-title {
	margin-bottom: 0;
	padding-bottom: 1.5em;
}
.singular-post .entry-title,
.format-standard .entry-title,
.singular.attachment-image .entry-title {
	border-bottom: none;
	margin-bottom: .5em;
	padding-bottom: 0;
}
.singular .entry-title a {
	color: #555;
}
.home .format-link .entry-title,
.archive .format-link .entry-title {
	margin-bottom: 1em;
}

/* Bylines */
.byline {
	color: #555;
	font: normal normal normal .875em/1.5 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin-bottom: 1em;
}
	
/* Entry meta */
.entry-meta {
	display: none;
	clear: both;
	color: #555;
	font: normal normal normal .875em/1.5  "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
.singular .entry-meta .category,
.singular .entry-meta .post_tag {
	display: block;
}


/* Loop meta */
.loop-meta {
	overflow: hidden;
}
.loop-meta .loop-title {
	color: #555;
}
.loop-meta .loop-description {
	color: #999;
	font-style: italic;
}


/* =Pagination and prev/next links
-------------------------------------------------------------- */

.pagination, .page-links, .comment-pagination {
	clear: both;
	font-size: 0.875em;
	font-weight: bold;
	line-height: 1em;
	margin: 0 0 1.71428571em 0;
	overflow: hidden;
}
.pagination {
	margin-bottom: 1.71428571em;
	padding-bottom: 0.142857143em;
	text-align: center;
}
.page-links {
	padding: 0.5em 0 0 0;
}
.pagination .page-numbers,
.page-links a {
	background: #1189b7;
	color: #fff;
	display: inline-block;
	font: normal normal bold 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin: 0 0.714285714em 0 0;
	padding: 0.857142857em 1.07142857em;
	text-transform: uppercase;
}
.pagination .next {
	margin-right: 0;
}
.pagination .meta-nav,
.loop-nav .meta-nav {
	font-size: 0.875em;
}
.page-links a {
	margin: 0 0.214285714em;
	padding: 1em 1.5em;
}
.entry-summary .page-links a {
	padding: 0.75em 1em;
}
.pagination .page-numbers:hover,
.page-links a:hover {
	background: #13a1ec;
}
.pagination .dots:hover {
	background: #1189b7;
}
.pagination .current {
	background: #13a1ec;
}
.loop-nav,
.loop-pagination {
	font-size: 0.875em;
	font-weight: bold;
	line-height: 1em;
	margin: 1em 0 2em 0;
	overflow: hidden;
}
.loop-nav .previous,
.loop-nav .next {
	background: #1189b7;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #fff;
	float: left;
	font: normal normal bold 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin: 0;
	padding: 1em 1.5em;
	text-transform: uppercase;
}
.loop-nav .next {
	float: right;
	text-align: right;
}
.loop-nav a:hover {
	text-decoration: none;
}
.loop-nav a:hover span {
	background: #13a1ec;
}

.newer { float: left; margin-left: 25%; }
.older { float: right; margin-right: 25%; }



/* =Widgets
-------------------------------------------------------------- */

.widget {
	color: #555;
}
.widget p, .widget li {
	font-size: 0.95em;
}
.widget-title {
	color: #099;
	font-size: 1.2em;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-weight: bold;
	text-align: right;
	padding: 0;
	margin: 0;
}
.widget-inside {
	padding: 1em;
	overflow:hidden;
} 
.widget-title span {
	background: url(images/sidebox-title.png) left no-repeat;
	padding: 15px 15px 7px 50px;
	display: inline-block;
	line-height: 20px;
}
.widget img {
	max-width: 100%;
}
.textwidget {
	padding: 0 5px;
}

.widget_wp_sidebarlogin ul.sidebar_login_links {
    float: left;
}

.social img {
	border: none;
	vertical-align: middle;
}

.social .twitter { margin: 0 12%; }

/* Search widget */
.widget-search {
	padding-bottom: 1.5em !important;
}
#sidebar-header .widget-search {
	padding-bottom: 1em !important;
} 
.widget-search input[type="text"],
input[type="text"],
input[type="password"] {
	display: block;
	padding: 0.5em;
	width: 100%;
}
#sidebar-header .widget-search input[type="text"],
#sidebar-header input[type="text"] {
	border: 1px solid #f2f2f2;
}
.widget-search input[type="text"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
	background: #fff;
}
.widget-search input[type="submit"],
.widget-search label {
	display: none;
}
input[type="submit"] {
	background: #FC0;
	border: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #039;
	display: block;
	font: normal normal bold 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin: 0.714285714em 0;
	padding: 0.857142857em 1.07142857em;
	float:right;
}
input[type="submit"]:hover {
	color: #FFF;
}

li.lost_password-link {
}

/* =Comments
-------------------------------------------------------------- */

#comments-number {
	border-bottom: 1px solid #ebeae8;
	padding-bottom: 1em;
}

/* Comments closed */
.comments-closed {
	display: none;
	color: #555;
	padding: 0 1.5em;
}

span.edit {
	display: none;
}

.boxato {
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	padding: 20px;
}


/* Comment pagination */
.comments-nav {
	float: right;
	line-height: 2em;
	margin: 0 0 1em 0;
	position: relative;
}
.comments-nav .page-numbers {
	color: #555;
}

/* Comment list */
.comment-list,
.comment-list ol.children {
	list-style: none;
	margin: 0 0 2em 0;
}
ol.comment-list {
	padding: 0;
}
.comment-list ol.children {
	margin-left: 1.5em;
	margin-bottom: 0;
}
.comment-list li.comment,
.comment-list li.pingback,
.comment-list li.trackback {
	border-bottom: 1px solid #ebeae8;
	clear: both;
	margin-bottom: 1.5em;
	overflow: hidden;
}
.comment-list li li.comment {
	border-bottom: none;
	margin-bottom: 0;
	padding: 1.5em 0 0 0;
	overflow: hidden; /* IE7 */
}

/* Avatars */
.comment-list .avatar {
	float: left;
	margin: 0 1.5em 1.5em 0;
	width: 80px;
	height: 80px;
}
.comment-list li li .avatar {
	margin-bottom: 0.375em;
	padding: 0.175em;
	width: 40px;
	height: 40px;
}

/* Comment meta */
.comment-meta {
	color: #555;
	font: normal normal normal 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin-bottom: 0.714285714em;
}
.comment-list li.pingback .comment-meta,
.comment-list li.trackback .comment-meta {
	margin-bottom: 1.5em;
}
.comment-meta .published abbr {
	font-style: italic;
}
.comment-author {
	display: block;
}
.comment-author cite {
	font-weight: bold;
}
.pingback .comment-author cite,
.trackback .comment-author cite {
	font-style: italic;
}
.comment-reply-link {
}

/* Comment text */
.comment-text {
	overflow: hidden;
}
.comment-list li li.comment .comment-text {
	overflow: visible;
}
.comment-list li li.has-avatar .comment-text {
	margin-left: 4.375em;
}
.comment-text .moderation {
	font-style: italic;
	color: #555;
}

/* After singular sidebar */
#sidebar-after-singular {
	margin-bottom: 1em;
}


/* =Comment form
-------------------------------------------------------------- */

#respond {
	margin-bottom: 1.5em;
	overflow: hidden;
}

/* Cancel reply link */
#reply-title small a {
	font: bold 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin-left: 1em;
}

/* Comment form paragraphs */
#respond p.form-author {
	float: left;
	width: 50%;
}
#respond p.form-email {
	float: right;
	overflow: hidden;
	width: 50%;
}
#respond p.form-url {
	clear: both;
}

/* Comment form labels */
#respond label {
	font: normal 1em/1.8 "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
#respond p.form-email label {
	padding: 0;
}
#respond span.required {
	font-size: 1em;
	font-weight: bold;
}

/* Comment form inputs and textarea elements */
#respond input[type="text"],
#respond textarea {
	background: #f2f2f2;
	border: 1px solid #e5e5e5;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #555;
	display: block;
	padding: 0.5em;
	width: 100%;
}
#respond input[type="text"]:focus,
#respond textarea:focus {
	background: #fff;
}
#respond p.form-author input[type="text"] {
	width: 90%;
}
#respond p.form-email input[type="text"],
#respond p.form-email label {
	width: 90%;
	float: right;
}

/* Submit button */
#respond #submit {
	background: #1189B7;
	border: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #fff;
	font: normal 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	float: right;
	margin: 0 0 1em 1em;
	padding: 1em 1.5em;
	text-transform: uppercase;
}
#respond #submit:hover {
	background: #13a1ec;
}


/* =Footer area
-------------------------------------------------------------- */

/* Sidebar subsidiary */
#sidebar-subsidiary {
	background: #1189b7;
	border-top: 1px solid #1189b7;
	font-size: .9375em;
	margin: 0;
	padding: 0 2% 1em;
	width: 96%;
}
#sidebar-subsidiary h3 {
	font-size: 1.26666667em;
}
#sidebar-subsidiary .wrap {
	background: #f2f2f2;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	margin: 0 auto;
	overflow: hidden;
	padding: 1em 2%;
	width: 96%;
}
#sidebar-subsidiary .widget {
	float: left;
	margin-bottom: 1em;
	padding: 0;
	width: 100%;
}

/* Footer */
#footer {
	color: #000;
	font-size: .875em;
	margin: 0;
	padding: 2em 2%;
	width: 96%;
	background-color: #dddada;
}
#footer .wrap {
	margin: 0 auto;
	overflow: hidden;
	padding: 0 2%;
	width: 96%;
	background: none;
}

#disclaimer {
	display: block;
	float: left;
	width: 400px;
	font-size: 10px;
	text-align: left;
	margin-top: 25px;
}

#disclaimer b {
	font-style: italic;
	font-size: 12px;
}

#disclaimer img {
	float: left;
	border: none !important;
	margin-right:5px;
}

/* Subsidiary menu */
#menu-subsidiary {
	font-size: 1em;
	position: relative;
}
#menu-subsidiary li {
	display: block;
	padding-right: 1em;
}
#menu-subsidiary li a {
	display: block;
}
#menu-subsidiary li.current-menu-item a {
	color: #f2f2f2; 
}
#menu-subsidiary li ul { 
	display: none; 
}


/* =Gravity Forms CSS
-------------------------------------------------------------- */

.gform_wrapper ul {
	background: transparent;
	list-style: none;
	margin: 0;
	padding: 0;
}
body .gform_wrapper .gform_heading {
	margin-bottom: 1em;
	width: 100%;
}
body .gform_wrapper .gform_heading .gform_title,
body .gform_wrapper .gform_body .gform_fields .gsection .gsection_title {
	font-weight: normal;
	margin: 0.625em 0; /* 10px / 16px = 0.625 */
}
body .gform_wrapper .gform_body .gform_fields .gfield .gfield_description,
body .gform_wrapper .gform_body .gform_fields .gsection .gsection_description,
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex label {
	color: #555;
	font: normal normal normal 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	padding: 0.625em 0 0; /* 10px / 16px = 0.625 */
}
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex label {
	padding: 0.25em 0 0.625em; /* 4px / 16px = 0.25 and 10px / 16px = 0.625 */
}
body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=password],
body .gform_wrapper .gform_body .gform_fields .gfield textarea {
	background: #f2f2f2;
	border: 1px solid #e5e5e5;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #555;
	font-size: 0.875em; /* 14px / 16px = 0.875 */
	display: block;
	padding: 0.5em;
}
body .gform_wrapper .gform_body .gform_fields .gfield input[type=text]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield input[type=password]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield textarea:focus {
	background: #fff;
} 
body .gform_wrapper .gform_body .gform_fields .gfield select {
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font: normal normal normal 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	padding: 0.25em 0; /* 4px / 16px = 0.25 */
}
body .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox li input[type=checkbox],
body .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio li input[type=radio] {
	margin-top: 0.3125em; /* 5px / 16px = 0.3125 */
}
body .gform_wrapper table.gfield_list th,
body .gform_wrapper table.gfield_list td {
	padding: 0.5em 2%;
}
body .gform_wrapper .gform_body .gform_page_footer .gform_next_button,
body .gform_wrapper .gform_body .gform_page_footer .gform_previous_button {
	background: #1189b7;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: none;
	color: #fff;
	font: normal normal bold 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	float: left;
	margin-bottom: 0.625em; /* 10px / 16px = 0.625 */
	padding: 1em 1.5em;
	text-transform: uppercase;
}
body .gform_wrapper .gform_body .gform_page_footer .gform_next_button {
	float: right;
}
body .gform_wrapper .gform_body .gform_page_footer .gform_next_button:hover,
body .gform_wrapper .gform_body .gform_page_footer .gform_previous_button:hover {
	background: #13a1ec;
}
body .gform_wrapper .gf_progressbar_wrapper h3.gf_progressbar_title {
	font-size: 1.1em;
}
body .gform_wrapper .gform_page_footer .button.gform_button {
	clear: both;
}
body #gforms_confirmation_message {
	background: #f2f2f2;
	border: 1px solid #e5e5e5;
	padding: 2em;
}
body .ui-datepicker-div,
body .ui-datepicker-inline,
body #ui-datepicker-div {
	font: normal normal bold 0.875em/1.2 "Palatino Linotype", "Book Antiqua", Palatino, serif;
}




/* =Hybrid Tabs Widget
-------------------------------------------------------------- */

.widget-tabs ul.tabs {
	background: #ebeae8;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #555;
	display: block;
	margin: 1em 0 0;
	padding: 0;
}
.widget-tabs ul.tabs li.t {
	background: none;
	display: inline;
	padding: 0;
}
.widget-tabs ul.tabs li:first-child.t a{
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-left-radius: 4px;
}
.widget-tabs ul.tabs li.t a {
	display: inline-block;
	font-size: 0.8125em; /* 13px / 16px = 0.8125 */
	line-height: 1.38461538em; /* 18px / 13px = 1.38461538 */
	padding: 0.769230769em 1.53846154em 0.692307692em;
}
.widget-tabs ul.tabs li.t a:hover {
	background: #13a1ec;
	color: #fff;
	text-decoration: none;
}
.widget-tabs ul.tabs li.t a.tab-current{
	background: #1189b7;
	color: #fff;
}




/* =Tinynav styles
 -------------------------------------------------------------- */
 
.tinynav { 
	display: none;
}



/* Styles for mobile menu */
@media screen and (max-width: 600px) {
	
#gruppoeventi .widget {
width: 100%;
}

#testata img { width: 100%; }

div#traduzione {
	display: block;
	clear: both;
	margin: 10px auto;
	height: 40px;
	width: 95%;
}

div#ricerca {
	clear: both;
	margin: -46px 33px 0px auto;
	height: 40px;
	width: 120px;
}

div#ricerca input.search-text {
display: block;
padding: 5px 8px;
width: 100%;
font-size: 13px;
border: 1px solid #ccc;
}

input[type="submit"], #ricerca span, #traduzione span { display:none; }

.dx { float: left; width: 100%; }
.elemento img { display: none; }

div#meteor-slideshow { display: none; }

#ombra img { display: none; }

.tinynav { 
	display: block;
}
#menu-primary-items, #menu-secondary-items {
	display: none;
}
select.tinynav {
	background: #fff;
	border: 1px solid #e5e5e5;
	font: 100%/1.5 "Palatino Linotype", "Book Antiqua", Palatino, serif;
	padding: 0 0 0 1%;
	width: 95%;
	margin: 10px auto;
}
.tinynav option {
	padding: 0 0 0 2%;
}

#menu-primary div.menu, #menu-secondary div.menu {
	background: none;
}
#menu-primary div.menu {
	border: none;
}


}

@media only screen and (min-width: 600px) {

/*
div#traduzione {
	display: block;
	clear: both;
	margin: 10px auto;
	height: 40px;
	width: 95%;
}

div#ricerca {
	clear: both;
	margin: -46px 3em 0px auto;
	height: 40px;
	width: 170px;
}
*/

div#traduzione {
	float: right;
	display: inline-block;
	text-align: right;
	position: relative;
	z-index: 100;
	width: 200px;
	margin: -100px 40px 0 0;
	font-size: 0.8em;
	padding: 0;
	font-style: italic;
	font-weight: bold;
	color: #039;
}

div#ricerca {
	float: right;
	display: inline-block;
	text-align: right;
	position: relative;
	z-index: 100;
	width: 181px;
	margin: -50px 2px 0 0;
	font-size: 0.8em;
	padding: 0;
	font-style: italic;
	font-weight: bold;
	color: #039;
}


/*input[type="submit"], */
#ricerca span, #traduzione span { display: none; }

div#ricerca input.search-text {
display: block;
padding: 5px 8px;
width: 124px;
font-size: 13px;
border: 1px solid #ccc;
}

#menu-primary a { padding: 2px 15px; }

#menu-primary {
	background: url(images/menu.gif) repeat-x;
	height: 3.5em; /* 56px / 16px = 3.5 */
	padding: 0;
}

#testata { padding: 0; width: 697px; }
#main .wrap,
#header .wrap,
#sidebar-subsidiary .wrap,
#footer .wrap {
	padding: 0 1em;
}

#menu-primary .wrap { padding: 0 !important; width: 681px; }

#gruppoeventi .widget {
width: 40%;
}

}


/* =Layout for tablets version 
-------------------------------------------------------------- */

@media only screen and (min-width: 768px) {

.social .twitter { margin: 0 1%; }

#testata { 	width: 705px; }

div#meteor-slideshow { }

div#meteor-slideshow img {
	width: 100% !important;
	height: 100%;
}

#ombra img { border: none; }

.dx { float: left; width: 50%; }
.elemento img { float: left;margin-right: 20px;}

#gruppoeventi .widget {
	background: url(images/eventbox.png) no-repeat;
	width: 188px;
	padding-right: 5px;
	border: 1px solid #ccc;
	height: auto;
	min-height: 160px;
	border-bottom-width: 5px;

}

span.evento { width: 90px; }

/* Menu Primary */
#menu-primary a { padding: 2px 15px; }

#menu-primary {
	background: url(images/menu.gif) repeat-x;
	height: 3.5em; /* 56px / 16px = 3.5 */
	padding: 0;
}
#menu-primary .wrap,
#menu-secondary .wrap{
	padding: 0 1em;
	width: 692px; /* 1px border */
}
#menu-primary div.menu {
	padding: 0;
	width: 692px; /* 1px border on the left and right */
}

#main .wrap,
#header .wrap,
#sidebar-subsidiary .wrap,
#footer .wrap {
	padding: 0 1em;
	width: 690px; /* 690px + 20px + 20px = 730px  */
}

#sidebar-subsidiary .wrap {
	padding: 1em 1.33333333em 0;
}

/* Header */
#header {
	overflow: visible;
}
#header .wrap {
	overflow: hidden;
}
#branding {
	float: left;
	margin-right: 4%;
	width: 46%;
}
#sidebar-header {
	float: right;
	padding: 1em 0;
	width: 50%;
}

/* Site title */
#site-title {
	font-size: 3em; /* 48px / 16px = 3 */
	line-height: 1.08333333em; /* 52px / 48px = 1.08333333 */
}
#site-description {
	font-size: 1.125em; /* 18px / 16px = 1.125 */
	line-height: 1.222222226em; /* 22px / 18px = 1.22222222 */
}

#menu-secondary {
	float: right;
}

/* Image */
img {
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	border: 1px solid #ebeae8;
	padding: .25em; /* 4px / 16px = 0.25 */
}


/* =Breadcrumbs
-------------------------------------------------------------- */
.breadcrumbs {
	color: #555;
	font-size: .875em;
	display: block;
	margin: 4em 0 1.5em;
}
.breadcrumbs .trail-before {
	margin-right: 0.5em;
}
.breadcrumbs .sep {
	background: url('images/breadcrumb-sep.png') no-repeat 0 0.571428571em;
	display: inline-block;
	margin: 0 0.357142857em;
	text-indent: -9999em;
	width: 0.357142857em;
	height: 1.57142857;
}
.breadcrumbs .trail-end {
	color: #999;
	font-style: italic;
}
.breadcrumbs a {
	color: #039;
}

#content {
	float: left;
	width: 64%; /* 4% for margin */
}

.sticky {
	margin-top: 0;
}

#sidebar-primary {
	float: right;
	margin: 0;
	padding: 0;
	width: 32%;
}

/* Subsidiary */
#sidebar-subsidiary .widget {
	float: left;
	margin-right: 4%;
	width: 21%;
}

/* Footer info */
#footer-info {
	width: 100%;
	text-align: center;
}

#footer p {
    margin-top: 0;
}
/* Menu subsidiary */
#menu-subsidiary {
	float: right;
	width: 50%;
}


/* =Layouts
-------------------------------------------------------------- */

/* One column */
.layout-1c #content {
	float: none;
	margin-right: 0;
	width: 100%;
}

/* Two columns */
.layout-2c-l #content,
.layout-default #content {
	float: left;
	width: 64%; /* 4% for margin */
}
.layout-2c-l #sidebar-primary,
.layout-default #sidebar-primary {
	float: right;
	width: 32%;
}
.layout-2c-r #content {
    float: right;
}
.layout-2c-r #sidebar-primary {
    float: left;
}




}


/* =Layout for desktop version
-------------------------------------------------------------- */

@media only screen and (min-width: 1024px) {

.social .twitter { margin: 0 5%; }

#testata { 	width: 873px; }

div#meteor-slideshow {	margin: 10px auto 60px auto !important; }

div#meteor-slideshow img {
	width: 100% !important;
	height: 100%;
}

#ombra img { border: none; margin: 0 auto; display: block; }

.dx { float: left; width: 60%; }
.elemento img { float: left;margin-right: 20px;}

div#traduzione {
	float: right;
	display: inline-block;
	text-align: right;
	position: relative;
	z-index: 100;
	width: 200px;
	margin: -130px 40px 0 0;
	font-size: 0.8em;
	padding: 0;
	font-style: italic;
	font-weight: bold;
	color: #039;
}

div#ricerca {
	float: right;
	display: inline-block;
	text-align: right;
	position: relative;
	z-index: 100;
	width: 200px;
	margin: -100px 40px 0 0;
	font-size: 0.8em;
	padding: 0;
	font-style: italic;
	font-weight: bold;
	color: #039;
}
div#ricerca input.button { display: none; }

div#traduzione span, div#ricerca span { display: inline-block; }
div#traduzione select { float: right; display: inline-block; width: 200px !important; }

#traduzione select, #ricerca input { background-color: #fff; border: 1px solid #ccc;;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}

div#ricerca input.search-text {
width: 181px;
}

span.evento { width: 70px; }

/* Layout width */

/*#menu-primary .wrap, #menu-secondary .wrap, #menu-secondary div.menu {*/
#menu-primary .wrap {
	width: 854px;
}
#menu-primary div.menu {
	width: 854px; /* 1px border on the left and right */
}
#main .wrap, #header .wrap, #sidebar-subsidiary .wrap, #footer .wrap {
	width: 854px; /* 852px + 24px + 24px = 902px  */
}
#sidebar-subsidiary .wrap {
	padding: 1em 24px 0;
}

#gruppoeventi .widget {
	width: 165px;
	padding-right: 5px;
	border: 1px solid #ccc;
	height: auto;
	min-height: 190px;
	border-bottom-width: 5px;
}

#sidebar-primary .widget {
	border-top: 1px solid #f2f2f2;
	border-left: 1px solid #f2f2f2;
	border-right: 1px solid #f2f2f2;
	border-bottom: 5px solid #8c8c8c;
	margin: 0 0 1em 0;
	padding: 0;
	background: url(images/sidebox.png) top no-repeat;
}

#menu-primary li a {
	padding: 0.1em 0.8em;
}
#menu-secondary li a {
	padding: 0 1em;
}

.widget-tabs ul.tabs {
	margin: 0;
}
	
}


/* =Layout for bigger screens
-------------------------------------------------------------- */

@media only screen and (min-width: 1224px) {

/* Layout width */
#menu-primary .wrap {
	width: 978px;
}
#menu-primary div.menu {
	width: 978px; /* 1px border */
}

#testata { 	width: 998px; }

#main .wrap,
#header .wrap,
#sidebar-subsidiary .wrap,
#footer .wrap {
	width: 978px;
}

#gruppoeventi .widget {
	width: 185px;
	padding-right: 5px;
}

}


/* =Layout for huge screens
-------------------------------------------------------------- */

@media only screen and (min-width: 1524px) {

/* Layout width */
#menu-primary .wrap {
	width: 1226px;
}
#menu-primary div.menu {
	width: 1224px; /* 1px border */
}
#testata,
#main .wrap,
#header .wrap,
#sidebar-subsidiary .wrap,
#footer .wrap {
	width: 1178px;
}

}