/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	/*max-width da problemi alla google maps....zoom 
	http://stackoverflow.com/questions/8511436/zoom-control-and-streetview-not-showing-on-my-google-map*/
	max-width: 100%;
	
	height: auto;
	width: auto\9; /* ie8 */
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #111111 url("../images/body-bg-tp.jpg") no-repeat center top;
	
	/*background: #111111 url(../images/body-bg.jpg) no-repeat center top;*/
	/*background: #111111 url(../images/bg_home.jpg) no-repeat center top;*/
	/*background: #111111 url(../images/bg_pattern2meno.jpg) no-repeat center top;*/
	
	font: .81em/150% Arial, Helvetica, sans-serif;
	color: #666;
}
a {
	color: #026acb;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}

/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #000;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 980px;
	margin: 0 auto;
	
/*	background: #111111 url(../images/bg_pattern.jpg) no-repeat center top;
	height: 100%;*/
	/*background: #111111 url(../images/bg_homejpg) no-repeat center top;*/
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	/*height: 160px;*/
	
	/*modificato per mettere logo*/
	height:375px;
	/*margin-bottom: 20px;
	z-index: 1000;*/
}

/* site logo */
#site-logo {
/*originale*/
	/*position: absolute;
	top: 10px;*/
/*fine originale*/
	
/*messo posizione relativa per adattare img...da verificare con img di larghezza diversa*/
/*position: absolute;*/
position:relative;
top: 0px;

/*aggiungo opacita al logo*/
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
filter: alpha(opacity=70);
opacity:0.7
}
#site-logo a {
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}
/*aggiunto per mettere bordi a img...no IE8*/
#site-logo a img {
background: #fff;
border: solid 1px #ccc;
box-shadow: 0 1px 1px rgba(0,0,0,.15);
border-radius: 4px;

}
/*fine aggiungo*/


/* site description */
#site-description {
	font: italic 100%/130% "Times New Roman", Times, serif;
	color: #fff;
	position: absolute;
	top: 55px;
}

/* searchform */
#searchform {
	position: absolute;
	right: 10px;
	bottom: 6px;
	z-index: 100;
	width: 160px;
}
#searchform #s {
	width: 140px;
	float: right;
	background: #fff;
	border: none;
	padding: 6px 10px;
	/* border radius */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	/* transition */
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}
/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
/*#main-nav {
	width: 100%;
	background: #ccc;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;*/
	
	/* gradient */
/*	background: #6a6a6a url("../images/nav-bar-bg.png") repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top,  #b9b9b9,  #6a6a6a);
	background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);*/
	
	/* rounded corner */	
	/*-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;*/
	
	/* box shadow */
/*	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}*/
/*#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}*/
/*#main-nav a:hover {
	color: #fff;
	background: #474747;*/
	/* gradient */
/*	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);
}
*/


/* home icon prova*/
/*
#main-nav .home {
	width: 42px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}
#main-nav .home a {
	background: url(images/home-icon.png) no-repeat 14px center;
	width: 16px;
	text-indent: -9000em;
}
#main-nav .home a:hover, #main-nav .home.current_page_item a, #main-nav .home.current-menu-item a {
	background-position: -41px center;
}

/* home icon current */
/*#main-nav .home.current_page_item, #main-nav .home.current-menu-item {
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}*/
/*fine prova*/


/************************************************************************************
STRUTTURA CONTENT
*************************************************************************************/
#content {
	background: #fff;
	margin: 30px 0 30px;
	padding: 20px 35px;
	width: 600px;
	float: left;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
	/*esempio opacità*/
/*	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	filter: alpha(opacity=90);
	opacity:0.9;*/
}

/* post */
.post {
	margin-bottom: 40px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 26px/120% Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

/* post image */
.post-image {
	margin: 0 0 15px;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
	/*width: 280px;*/
	width: 280px;
	float: right;
	margin: 30px 0 30px;
	
	/*esempio opacità ...non utilizzato*/
/*	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity:0.8;*/
}
.widget {
	background: #fff;
	margin: 0 0 30px;
	padding: 10px 20px;
	 rounded corner 
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	 box shadow 
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.widgettitle {
	margin: 0 0 5px;
	padding: 0;	
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-top: solid 1px #eee;
}

/* flickr widget */
/*modifico album fotografico flickr*/
.widget .flickr_badge_image {
	margin-top: 10px;
}
.widget .flickr_badge_image img {
/*	width: 48px;
	height: 48px;
	margin-right: 12px;
	margin-bottom: 12px;
	float: left;*/
	width: 48px;
	height: 48px;
	margin-right: 10px;
	margin-bottom: 10px;
	float: left;
	
	border: 1px solid black !important;
}


/*INSERITI PER GESDTIRE GRID ED ELIMINARE I SIDEBAR....INIZIO*/
/* sidebar */
/*#sidebar {
float: right;
width: 286px;
margin-bottom: 10px;
margin-top: 1px;
font-size: 90%;
}*/
/* sidebar left */
.sidebar-left #content {
float: right;
}
.sidebar-left #sidebar {
float: left;
}
/* sidebar none */
.sidebar-none #content {
width: auto;
float: none;
}
/*FINE*/


/************************************************************************************
SIDEBAR......preso dal sito...(da rivedere...non riesco a gestire immagine quando cambio risoluzione,con media queries css)
*************************************************************************************/
/*.widget {
	background: #fff;
	margin-bottom: 20px;
	padding: 15px 18px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.widgettitle {
	width: 100%;
	display: block;
	padding: 6px 18px 7px 18px;
	margin: 0 0 -5px 0;
	position: relative;
	left: -18px;
	top: -16px;
	border-top: solid 1px #f5f5f5;
	border-bottom: solid 1px #848484;
	font: bold 14px/110% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
	color: #333;
	background: #a9a9a9 url("../images/widgettitle-bg.png") repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#d7d7d7), to(#a9a9a9));
	background: -moz-linear-gradient(top, #d7d7d7, #a9a9a9);
	background: linear-gradient(-90deg, #d7d7d7, #a9a9a9);
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	box-shadow: 0 1px 1px rgba(0,0,0,.15);
	text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.widgettitle a {
	color: #333;
	text-decoration: none;
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-bottom: solid 1px #ddd;
}
.widget li:last-child {
	border-bottom: none;
}
.widget ul ul {
	margin: 6px 0 -6px 0px;
	padding: 0;
	border-top: solid 1px #ddd;
}
.widget ul ul li {
	margin: 0;
	padding-left: 10px;
}
*/

/* sidebar */
/*#sidebar {
float: right;
width: 286px;
margin-bottom: 10px;
margin-top: 1px;
font-size: 90%;
}*/



/************************************************************************************
GRID
*************************************************************************************/
/* grid in content container */
#content .col4-1,
#content .col4-2,
#content .col4-3,
#content .col3-1,
#content .col3-2,
#content .col2-1
{
margin-left: 2%;
}
#content .col4-1 {
width: 23%;
}
#content .col4-2,
#content .col2-1 {
width: 48%;
}
#content .col4-3 {
width: 72%;
}
#content .col3-1 {
width: 31%;
}
#content .col3-2 {
width: 62%;
}
/* column width */
.col4-1,
.col4-2,
.col4-3,
.col3-1,
.col3-2,
.col2-1
{
float: left;
margin: 0 0 0 30px;
}
#footer .col4-1 {
width: 222px;
}
#footer .col4-2,
#footer .col2-1 {
width: 474px;
}
#footer .col4-3 {
width: 726px;
}
#footer .col3-1 {
width: 306px;
}
#footer .col3-2 {
width: 642px;
}
.first {
margin-left: 0;
clear: left;
}
/* first col */
.col.first,
.col4-1.first,
.col4-2.first,
.col4-3.first,
.col3-1.first,
.col3-2.first,
.col2-1.first
{
margin-left: 0 !important;
clear: left;
}



/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
    clear: both;
	color: #ccc;
	font-size: 85%;
}
#footer a {
	color: #fff;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }


/************************************************************************************
SOCIAL WIDGET.............preso dal sito (ok)
*************************************************************************************/
.social-widget {
	position: absolute;
	
	/*modificato per mettere logo*/
	/*top: 85px;*/
	top: 295px;
	
	/*modificato...cambia poco*/
	/*right: 10px;*/
	right: 0px;
	
	font-size: 95%;
	line-height: 120%;
	text-align: right;
}
.social-widget a {
	color: #fff;
}
.social-widget .widget {
	border: none;
	float: left;
	margin: 0 5px 0 0;
	padding: 0;
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.social-widget .widget div {
	float: left;
}
.social-widget .widgettitle {
	font-size: 100%;
	width: auto;
	display: block;
	float: left;
	margin: 0 8px 2px;
	padding: 0;
	background: none;
	border: none;
	color: #fff;
	text-shadow: none;
	position: static;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.social-widget ul {
	margin: 6px 0 0 !important;
	padding: 0;
	float: left;
/*elimino i pallini dalle liste*/
	list-style:none;
}
.social-widget ul li {
	margin: 0 8px 5px 0;
	padding: 0;
	float: left;
	border: none;
	clear: none;
	line-height: 100%;
}
.social-widget li img {
	vertical-align: middle;
	margin-top: -5px;
}
/* rss button */
.social-widget .rss {
	float: left;
}
.social-widget .rss a {
	background: url("../images/rss.png") no-repeat left center;/*da mettere immagine*/
	padding: 5px 0 5px 30px;
	display: inline-block;
	zoom:1;
	*display:inline;
}


/************************************************************************************
MAIN NAVIGATION..................preso dal sito (drop-down menu)
*************************************************************************************/
#nav-bar {
width: 100%;
position: absolute;
right: 0;
bottom: 0;
z-index: 100;
border: solid 1px #333;
background-color: #6a6a6a;
/*se uso questa img non funge bene in IE8*/
/*background-image: url("../images/nav-bar-bg.png");*/
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjU1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background-image: -moz-linear-gradient(top, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.55) 0%,rgba(255,255,255,0) 100%);
background-image: linear-gradient(to bottom, rgba(255,255,255,0.55) 0%,rgba(255,255,255,0) 100%);
border-radius: 8px;
box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3);
}
#main-nav {
margin: 0;
padding: 0;
}
#main-nav li {
margin: 0;
padding: 0;
list-style: none;
float: left;
position: relative;
border-right: solid 1px #575757;
box-shadow: 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
}
#main-nav li:hover,
#main-nav .current_page_item, #main-nav .current-menu-item {
background-color: #474747;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjQ1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0NzQ3NDciIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background-image: -moz-linear-gradient(top, rgba(0,0,0,0.45) 0%, rgba(71,71,71,0) 100%);
background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.45) 0%,rgba(71,71,71,0) 100%);
background-image: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%,rgba(71,71,71,0) 100%);
box-shadow: none;
}
/* home icon */
#main-nav .home {
width: 42px;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
#main-nav .home a {
background: url("../images/home-icon.png") no-repeat 14px center;
width: 16px;
text-indent: -9000em;
}
#main-nav .home a:hover, #main-nav .home.current_page_item a, #main-nav .home.current-menu-item a {
background-position: -41px center;
}
/* home icon current */
#main-nav .home.current_page_item, #main-nav .home.current-menu-item {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
/* main level link */
#main-nav a {
color: #fff;
display: block;
padding: 14px 15px;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0,0,0,.7);
}
/* main level link :hover */
#main-nav a:hover {
color: #fff;
}
/* current page li */
#main-nav .current_page_item, #main-nav .current-menu-item {
border-left: solid 1px #000;
border-right: solid 1px #000;
box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
}
/* current link */
#main-nav .current_page_item a, #main-nav .current-menu-item a {
color: #fff;
}
/* current link :hover */
#main-nav .current_page_item a:hover, #main-nav .current-menu-item a:hover {
color: #fff;
}
/* sub-levels current page li */
#main-nav ul .current_page_item, #main-nav ul .current-menu-item {
border: none;
background: none;
box-shadow: none;
}
/* sub-levels link */
#main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a {
color: #666;
font-size: 95%;
font-weight: normal;
padding: 5px 0 5px 15px;
margin: 0;
width: 180px;
height: auto;
background: none;
box-shadow: none;
text-shadow: none;
}
/* sub-levels link :hover */
#main-nav ul a:hover, #main-nav .current_page_item ul a:hover, #main-nav ul .current_page_item a:hover, #main-nav .current-menu-item ul a:hover, #main-nav ul .current-menu-item a:hover {
background: #F3F3F3;
color: #000;
color: black;
}
/* dropdown ul */
#main-nav ul {
border: solid 1px #ccc;
background: #fff;
margin: 0;
padding: 5px 0;
list-style: none;
position: absolute;
z-index: 100;
display: none;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
#main-nav ul li {
background: none;
padding: 0;
margin: 0;
height: auto;
border: none;
float: none;
}
#main-nav ul li:hover {
background: none;
}
/* sub-levels dropdown */
#main-nav ul ul {
left: 190px;
top: 5px;
}
/* show dropdown ul */
#main-nav li:hover > ul {
display: block;
}