html
{ height: 100%;}

*
*
{ margin: 0;
  padding: 0;
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box;
}

body
{ font: normal .80em arial, sans-serif;
  color: #1D1D1D;
  
  background: -webkit-radial-gradient(50% 50%, farthest-side,#ffe989,#bf9752); /* Safari 5.1 to 6.0 */
  background: -o-radial-gradient(50% 50%, farthest-side,#ffe989,#bf9752); /* For Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(50% 50%, farthest-side,#ffe989,#bf9752); /* For Firefox 3.6 to 15 */
  background: radial-gradient(farthest-side at 50% 50%,#ffe989,#bf9752); /* Standard syntax (must be last) */  
}

p
{ padding: 0 0 10px 0;
  line-height: 1.7em;ù
  font: bold .80em arial, sans-serif;
}
  
img
{ border: 0;}

h1, h2
{ font: bold 175% arial, sans-serif;
  color: #008CC6;
  letter-spacing: 0px;
  text-shadow: 1px 1px #cccccc;
  padding: 5px 0 10px 0;
}

h2
{ font: bold 165% arial, sans-serif;}

h3
{ font: bold 100% arial, sans-serif;
  padding: 0 0 10px 0;
  color: #000000;
  letter-spacing: 0px;
  text-shadow: 0px 0px #000;
}

h4
{ font: bold 120% arial, sans-serif;
  color: #008CC6;
  letter-spacing: 0px;
  text-shadow: 1px 1px #cccccc;
  padding: 5px 0 5px 0;
}


@font-face {
    font-family: 'prova'; /*a name to be used later*/
    src: url('../font/orion_pax.woff'); /*URL to font*/
}


@font-face {
    font-family: 'prova2'; /*a name to be used later*/
    src: url('../font/bd-merced.woff'); /*URL to font*/
}


table {
    border-spacing: 5px;
	margin-left: auto;
	margin-right: auto;
}
td {
    text-align: center;
	padding: 0px 5px 0px 5px;
}


a, a:hover
{ background: transparent;
  outline: none;
  font: bold arial;
  text-decoration: underline;
  color: #3B693B;}

a:hover
{ text-decoration: underline;
  color: #DD0000;}
  
ul
{ margin: 0px 0 22px 0px;}

ul li
{ margin: 0px 0 15px 0px;}

#main, #header, #banner, #menubar, #site_content, #footer, #contact, #footer_content, #banner_image
{ margin-left: 0; 
  margin-right: 0;}
  
#header
{ height: 50px;}
  
#site_heading
{ /*height: 85px; */
  width: 950px;
  margin: 0px 5px 20px 5px;
  padding: 3px 0px 0px 10px;
  border-radius: 2em;
  -moz-border-radius: 2em;
  -webkit-border-radius: 2em;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;

  background: rgba(255,255,255,0.4); /* Standard syntax */
}
    

  
#site_heading H5
{ 
  font-family: prova, serif;
	  font-size: 4em;
  color: #b30c0c;
  text-shadow: 1px 1px #fff;
  letter-spacing: -2px;
  text-shadow: 0px 2px 3px rgba(255,255,255,0.5);
  -webkit-background-clip: text;
     -moz-background-clip: text;
          background-clip: text;
}

#site_heading H6
{ 
  font-family: prova2, serif;
  font-size: 2.5em;
  color: /*#1d1d1d; */ #00aaaa;
  text-shadow: 1px 1px #fff;
  letter-spacing: 0px;}  

#site_content
{ width: 960px;
  overflow: hidden;
  padding-top: 20px;
  margin: 0 auto;
  text-align: center;
 }   

#content
{ text-align: left;
  width: 700px;
  margin: 5px 0 20px 0;
  padding: 20px 10px 0px 0px;
  float: left;}
  
.content_item
{ width: 690px; }

.content_image
{ width: 135px;
  height: 134px;
  margin: 20px 0px 20px 0px;
  float: left;
  border: 1px solid #DDD;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px
}
  
.content_text
{ width: 520px;
  float: right;
  margin-top: 20px;
  padding-left: 20px;}

#banner_image 
{ width: 690px;
  height: 250px;
  margin: 0 0 15px 0px;
  float: left;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px
}  

/* styling for the slideshow on the homepage */
ul.slideshow {
  list-style: none;
  width: 690px;
  height: 250px;
  overflow: hidden;
  position: relative;
  padding: 0;}
  
ul.slideshow li {
  position: absolute;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;}
 
ul.slideshow li.show {
  z-index: 500;}
 
ul img {
  border: none;}
 
#slideshow-caption {
  width: 690px;
  text-align: right;
  height: 40px;
  position: absolute;
  bottom: 0;
  left: 0; 
  z-index: 500;}
 
#slideshow-caption .slideshow-caption-container {
  background: transparent url(../images/transparent.png) repeat;  
  padding: 10px 45px 12px 25px;   
  z-index: 1000;}
 
#slideshow-caption p {
  padding: 0;
  font: normal 130% arial, sans-serif;
  color: #FFF;} 

.sidebar_left
{ margin: 20px 0px 20px 0px;
  padding: 0px 5px 0px 10px;
}
  
.sidebar_container
{ float: right;
  width: 245px;
  margin: 0px 0px 20px 0px;
  
  background: radial-gradient(#569357 10%, #569357);
/*	background: rgba(144,144,204,0.6); */

  

  border-radius: 2em;
  -moz-border-radius: 2em;
  -webkit-border-radius: 2em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}

.sidebar
{ float: right;
  width: 100%;
  text-align: center; 
  padding: 0px 10px 0px 10px;
  margin-bottom: 10px;}

.sidebar_item
{ font: normal 100% arial, sans-serif;
  padding: 0 0 0 0;
 }

.sidebar h2
{ color: #fff;
text-shadow: 1px 1px #0056AE;}  
  
.sidebar h4
{ font-size: 125%;
  color: #FFF;
  text-shadow: 1px 1px #0056AE;}

.sidebar p
{ color: #FFF;}

.sidebar a
{ color: #f3de69;}

.sidebar a:hover
{ color: #d98705;
}

.sidebar ul li, .sidebar ul li.selected
{ list-style: none; 
  margin: 0;
  padding: 0;}

.sidebar li.selected, .sidebar li:hover
{ color: #5D5D5D;
  text-decoration: none;} 
  
/* -------------------------------- FOOTER -------------------------------- */  
#footer
{ font-size: 100%;
  letter-spacing: 0px;
  padding: 10px 0px 10px 0px;
  margin: 0 auto;
  width: 960px;
  height: 40px;
  text-align: center; 
  color: #FFF;
  text-shadow: 1px 1px #1d1d1d;
  background: #3030aa;
  background: -moz-linear-gradient(#6060bb, #3030aa);
  background: -o-linear-gradient(#6060bb, #3030aa);
  background: -webkit-linear-gradient(#6060bb, #3030aa);
  border-radius: 2em;
  -moz-border-radius: 2em;
  -webkit-border-radius: 2em;  
  border: 1px solid #0096D4;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
}
/*     in caso di link nel footer
#footer a, #footer a:hover
{ color: #FFF;
  text-decoration: underline;}

#footer a:hover
{ text-decoration: none;}
*/

/* --------------------------------- MENU --------------------------------- */
#nav {
	margin: 0 5px 0 5px;
	padding: 6px 6px 0px 6px;
	line-height: 100%; 
	width: 950px;
    background: #3030aa; 
    background: -moz-linear-gradient(#6060bb, #3030aa);
    background: -o-linear-gradient(#6060bb, #3030aa);
    background: -webkit-linear-gradient(#6060bb, #3030aa);
	border-radius: 2em;
	-moz-border-radius: 2em;
	-webkit-border-radius: 2em;
	border: 1px solid #0096D4;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
}

#nav li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
}
/* main level link */
#nav a {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	padding:  8px 20px;
	margin: 0;
	border-radius: 1.6em;
	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;

}

#nav .time {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	float: right;
	display: block;
	padding:  8px 20px;
	margin: 0;
	border-radius: 1.6em;
	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	
}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: /*#71e790; */ rgba(255,255,255,0.6);
	color: #444;

	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2);

}
/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	font-weight: bold;
	color: #666;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
#nav ul a:hover {

	background: #71e790 !important;
	color: #000 !important;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;

}
/* level 2 list */
#nav ul {
	background: #ddd;
	z-index: 1000;
	display: none;
	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	top: 36px;
	left: 0;
	border: solid 1px #b4b4b4;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
/* dropdown */
#nav li:hover > ul {
	display: block;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(255, 255, 255, .9);
}
/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
}
/* rounded corners for first and last child */
#nav ul li:first-child > a {
	border-top-left-radius: 9px;
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;
	border-top-right-radius: 9px;
	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
}
#nav ul li:last-child > a {
	border-bottom-left-radius: 9px;
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;
	border-bottom-right-radius: 9px;
	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
}
/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
}
html[xmlns] #nav {
	display: block;
}
* html #nav {
	height: 1%;
}

/* --------------------------------- TABS --------------------------------- */

.tabs input[type=radio] {
	display:none;
}

.tabs {
    width: 80%;
	height: 300px;
    float: none;
    list-style: none;
    position: relative;
    padding: 0;
    margin: 20px auto;
}

.tabs ul{
        text-align: center;
}

.tabs li{
	float: left;
}

.tabs label {
	display: block;
	padding: 10px 20px;
	color: #FFFFFF;
/*	font-size: 24px; */
	font-weight: normal;
	background: #3B693B;
	cursor: pointer;
	position: relative;
}

.tabs h5 {
  font: bold 120% arial, sans-serif;
  color: #ffffff;
  letter-spacing: 0px;
  padding: 0px 0 0px 0;
}

.tabs li:first-child label{
	border-top-left-radius:8px;
}

.tabs li:last-child label{
	border-top-right-radius:8px;
}
.tabs label:hover {
	background: #53A654;
}

.tab-content {
	z-index: 2;
	display: none;
	left: 0;
	width: 100%;
/*	font-size: 20px;*/
	line-height: 140%;
	padding: 15px;
	position: absolute;
	box-sizing: border-box;
	border:3px solid #569357;
/*	border-top: 10px solid #569357; */
	background: rgba(86,147,87,0.0); 
/*	background-color:#569357; */
/*	color: #FFFFFF; */
	text-align: left;
	border-top-right-radius:12px;
	border-bottom-left-radius:12px;
	border-bottom-right-radius:12px;
}

[id^=tab]:checked + label {
    background: #569357;
    color: white;
    top: 0;
}

[id^=tab]:checked ~ [id^=tab-content] {
    display: block;
}





