/************************************************************************************
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: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

.googlemap img {
	max-width: none;
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
FONT FACE
*************************************************************************************/

@font-face {
    font-family: 'GentiumBasicRegular';
    src: url('font/genbasr-webfont.eot');
    src: url('font/genbasr-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/genbasr-webfont.woff') format('woff'),
         url('font/genbasr-webfont.ttf') format('truetype'),
         url('font/genbasr-webfont.svg#GentiumBasicRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #fff url(../images/bg.jpg) repeat left top;
	font: .81em/150% Arial, Helvetica, sans-serif;
	color: #221e1a;
}
a {
	color: #148a3c;
	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;
	padding:3px;
	color:#212121;
}
h3 {
	font-size: 1.4em;
	padding:0 0 3px 0;
	border-bottom:1px solid #ddd;
	color:#89b333;
}
h4 {
	font-size: 1.2em;
	color:#454545;
}
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-color:#fff;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 265px;
	background: #fff url(../images/bg_header.jpg) no-repeat left top;
}

/* site logo */
#site-logo {
	position: absolute;
	top: 2px;
	z-index:1000;
}
#site-logo a {
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #000;
	text-decoration: none;
}

#header-right {
	background: transparent url(../images/bg_header_right.png) repeat left top;
	position:absolute;
	right:0;
	top:0;
	z-index:105;
	width: 280px;
	padding:5px;
}

#header-right div {
	text-align:right;
}

#header-right div a {
	color:#333;
}

#header-right-2 {
	position:absolute;
	right:290px;
	top:0;
	z-index:100;
	width: 200px;
	background:#fff;
	opacity:.6;
	padding:5px;
}

/* site description */
#site-description {
	font: italic 100%/130% "Times New Roman", Times, serif;
	color: #000;
	position: absolute;
	top: 55px;
}

/* searchform */
#searchform {
	position: absolute;
	right: 10px;
	bottom: 78px;
	z-index: 100;
	width: 180px;
}
#searchform #searchtext {
	width: 160px;
	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;
}

.data-lugano {
	position: absolute;
	right: 10px;
	bottom: 55px;
	z-index: 100;
	width: 280px;
	text-align:right;
	color:#fff;
	text-shadow:3px 3px 3px #000;
	font-size:.9em;
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {
	/*width: 100%;
	margin: 0 auto;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;*/
	width: 100%;
	background: #ccc;
	margin: 0 auto;
	padding: 0px 0 0 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;

	background: #749b24 url(../images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#abda4c), to(#749b24));
	background: -moz-linear-gradient(top,  #abda4c,  #749b24);
	background: linear-gradient(-90deg, #abda4c, #749b24);
	/*
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	*/
	-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);
	
}

.mobile-nav {
	clear:both;
	width: 100%;
	margin: 0 auto;
	padding: 0px 0 0 0;
	background: #749b24 url(../images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#abda4c), to(#749b24));
	background: -moz-linear-gradient(top,  #abda4c,  #749b24);
	background: linear-gradient(-90deg, #abda4c, #749b24);
	height:20px;
	text-align:right;
}

.mobile-nav span {
	padding:5px;
}

.mobile-nav span a {
	color:#fff;
	text-decoration:none;
}

.mobile-nav-sub {
	/*display:none;*/
	background: #abda4c;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#abda4c));
	background: -moz-linear-gradient(top,  #fff,  #abda4c);
	background: linear-gradient(-90deg, #fff, #abda4c);
	
}

/************************************************************************************
CONTENT
*************************************************************************************/
#content {
	background: #fff;
	margin: 0px 0 30px;
	padding: 7px 5px;
	width: 660px;
	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);*/
}
#content input, #content select, #content textarea {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #ddd;
	padding:3px;
	margin:2px 3px 2px 2px;
	/*width:200px;*/
	background-color:#fff;
}
#content input:focus, #content select:focus, #content textarea:focus {
	background-color:#ffcabd;
	border:1px solid #f9a793;
	color:#000;
}

.article-content ul {
	width:auto; /* Per IE vedi il CSS specifico */
	background-color:#eee;
	border:1px solid #ccc;
	padding:10px 10px 10px 30px;
	/* CSS3 spicing */
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	margin:auto auto 10px auto;
}

.article-content h2 {
	font: normal 22px/100% 'GentiumBasicRegular', Arial, Helvetica, sans-serif;
	font-weight:normal;
	color:#148A3C;
	line-height:20px;
	padding:0px 0 6px 0;
	border-bottom:1px solid #eee;
	text-shadow:3px 3px 3px #ccc;
	/* CSS3 spicing 
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;*/
}

.article-content h5 {
	font: normal 16px/80% 'GentiumBasicRegular', Arial, Helvetica, sans-serif;
	font-weight:normal;
	color:#148A3C;
	line-height:20px;
	padding:0px;
	text-shadow:3px 3px 3px #ccc;
	/* CSS3 spicing 
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;*/
}

/* post */
.post {
	margin-bottom: 40px;
}
.post-title {
	margin: 0 0 5px;
	padding: 3px 3px 3px 30px;
	font: normal 26px/120% 'GentiumBasicRegular', Arial, Helvetica, sans-serif;
	background:#dedede url(../repository/Image/icons/tag.png) no-repeat  5px 50%;
}
.post-title a {
	text-decoration: none;
	color: #221e1a;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

/* post image */
.post-image {
	margin: 0 0 15px;
}

.overflow {
overflow:hidden;
}

.post-left {
float:left;
width:49%;
}

.post-right{
float:right;
width:49%;
}

.post-right img, .post-left img {
 	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

.tag-line {
	clear:both;
	font-size:0.8em;
	background-color:#fffac1;
	padding:3px;
}

/************************************************************************************
SOCIAL BUTTON
*************************************************************************************/
.social-button {
	margin:5px 0;
	padding:5px 0;
	border-top:1px solid #ccc;
}
.fb-like {
	float:left;
}

.twit {
	float:right;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
	width: 300px;
	float: right;
	margin: 0px 0 5px 0;
}
.widget {
	background: #fff;
	margin: 0 0 10px;
	padding: 7px 5px 0 5px;
}

#widget-white {
	background: #221e1a;
	color:#fff;
}

#widget-social {
	background: #eee;
	color:#231f20;
}

.widgettitle {
	margin: 0 0 5px;
	padding: 3px 3px 3px 30px;
	font: normal 26px/120% 'GentiumBasicRegular', Arial, Helvetica, sans-serif;
	background:#cae78f url(../repository/Image/icons/upcoming-work.png) no-repeat  5px 50%;	
}

#widgettitle-calendar {
	background:#2d2926 url(../repository/Image/icons/white_calendar.png) no-repeat  5px 50%;
	color:#fff;
}

#widgettitle-social {
	background:#dbd8c6 url(../repository/Image/icons/round_plus_icon&16.png) no-repeat  5px 50%;
	color:#231f20;
}
.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 */
.widget .flickr_badge_image {
	margin-top: 10px;
}
.widget .flickr_badge_image img {
	width: 48px;
	height: 48px;
	margin-right: 12px;
	margin-bottom: 12px;
	float: left;
}

/************************************************************************************
FOOTER
*************************************************************************************/
.footer {
	background: #fff url(../images/bg_footer.jpg) repeat left top;
	clear: both;
	color: #ccc;
	font-size: 85%;
	height:200px;
}

.footer a {
	color: #666;
}

.footer li {
	list-style:none;
	padding:3px 0 0 0;
	margin:0;
	border-bottom:1px dashed #999;
}

.footer-sponsor {
	margin:0 auto;
	padding:10px 10px 5px 10px;
}

.footer-sponsor img {
	margin:0 7px;
}

.footer-menu {
	width: 100%;
	background: #ccc;
	margin: 0 auto;
	padding: 0;
	/* gradient */
	background: #0057a8 url(../images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#1974c9), to(#0057a8));
	background: -moz-linear-gradient(top,  #1974c9,  #0057a8);
	background: linear-gradient(-90deg, #1974c9, #0057a8);
	/* 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);
}

.footer-impressum {
	clear:both;
	background:#fff url(../images/official_support.jpg) left top no-repeat;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align:right;
	color:#666;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }



.photos_container {
	width: 310px;
	height: 170px;
}
.photos_container_nav {
	width: 310px;
	height: 20px;
	float: left;
	text-align: center;
}
.photos_container_nav img {
	border:none;
}
.photos_container_element {
	height: 150px;
	float: left;
	width: 310px;
	text-align: center;
}
.photos_container_element ul {
	list-style-type: none;
	padding: 0px!important;
}
.photos_container_element li {
	float: left;
	height: 150px!important;
}
.photos_container_page {
	width: 310px;
}
