/*  =Global
------------------------------------------- */
html {
	overflow: -moz-scrollbars-vertical;
	overflow-y: scroll;
}

a {
	text-decoration: none;
	color:#FF0000;
	outline:0;
}

body {
	background-color: #9fa0a2;
	font-family: "Helvetica", Arial, sans-serif;
}

#header, .sidebar, .calendario,
.content, .admin, #footer {
	background-color: #fff;
}
#header{ background:#FFFFFF;}
/* =Typography
 * ------------------------------------------*/

#circolo h5,
.section-header {
	color: red;
}

.section-header {
	font-weight: bold;
}

.short-content p {
	line-height: 1.2em;
	margin-right: 13px;
}

.calendario h2 {
	font-size: 33px;
	font-weight: bold;
}

h2.month-separator {
	font-size: 18px;
	font-weight: bold;
	color: #CCC;
	letter-spacing: 1px;
	line-height: 1em;
	border-bottom: 1px solid #ccc;
	width: 97%;
	clear: both;
	margin: 0 0-5px 13px;
}

h2.archive-year {
	font-size: 33px;
	font-weight: bold;
	color: #DDD;
	letter-spacing: 0px;
	line-height: 1em;
	margin: 0 0 0  90px;
}

.static h4 {
	border-bottom: 1px solid #CCC;
}

h5.news-date {
	color: red;
	margin-bottom: -5px;
}
h5.news-title {
	margin-bottom: 10px;
}
	h5.news-title a {
		color: black;
		font-weight: normal;
	}
		h5.news-title a:hover {
			color: red;
		}

/* =Header
 * ----------------------------------------- */
#nav-bar{ width:100%;}
#nav-bar li {
	display: inline;
	padding-right: 30px;
}
	#nav-bar li a {
		color: #000;
		font-size: 13px;
		font-weight: bold;
		text-decoration: none;
		text-transform:capitalize;
		text-shadow: 1px 1px 1px #D2D2D2;
	}

	#nav-bar li a:hover {
		color: red;
				text-shadow: 0px 0px 0px #D2D2D2;

	}

.links {
	margin-top: 20px;
}
	.links li {
		list-style-type: none;
		line-height: 1em;
		font-style:normal;
		font-size:9px;
	}
.links ul a{ font-size:5px;}

.textarea {
	height: 70px;
	width: 300px;
}

.content img {
	margin: 13px;
}

.static {
	margin: 13px;
}

.static img{
	margin: 0 auto;
}

	.post-header h1 {
		font-size: 70px;
		font-weight: bold;
		margin-bottom: -10px;
		float: left;
	}

	.post-header h3 {
		font-weight: bold;
		text-transform: lowercase;
		margin: 10px 0 0 85px;
	}

.post-header h2
 {
	color: red;
}

.post-header ul {
	background-color: #EEE;
	list-style: none;
	margin: 5px 13px 5px 0;
	padding: 3px;
}

.sidebar h6 {
	margin: 0 18px 0 18px;
}

.sidebar h6 {
	color: black;
}

.sidebar p {
	margin: 5px 18px 10px 18px;
}
.short-content {
	margin-top: 5px;
}
.post-footer {
	margin: 20px 0 30px 0;
}

.post-header h2 {
	line-height: 1em;
	font-size: 20px;
	font-weight: bold;
	margin: 5px 13px 0 0;
}

.admin fieldset,
.admin div.error {
	margin: 18px;
}
.links a {
	color: red;
	font-size: 12px;
	font-weight: bold;
}

.wrap-content {
	/*background: red; */
	overflow: hidden;
}

.content , .sidebar {
	padding-bottom: 20000px;
	margin-bottom: -20000px;
}

.admin p {
	margin-bottom: 1px;
}

.admin input, .admin textarea, 
.admin select {
	margin-top: -2px;
}

div.upload-button {

	height: 29px;	
	width: 133px;
	background: url(button.png) 0 0;
	font-size: 14px;
	color: #C7D92C;
	text-align: center;
    padding-top: 15px;
}
.giorno {
	margin-left: -2em;
	text-transform: lowercase;
}

.footer {
  min-height: 50px;
}

.wrap-content, .calendario, #footer {
	margin-top: -0.5em;
}

.poster {
	width: 174px;
	margin-left: 14px;
	float: left;
}

#nav-bar.a {
	font-weight: bold;
}

#nav-bar.a:hover {
	color: red;
}

h1.logo {
	width: 390px; 
	height: 123px;
	margin-left: -0.25em;
	background: url("../css/img/magnolia_logo.png") no-repeat top left;
	margin-top: 20px;
	text-indent: -9999px;
	cursor:pointer;
}

#nav-bar a.current {
	color: red;
}



#panel-bar ul {
	list-style: none;
}

#panel-bar li {
	list-style: none;
	display: inline;
	margin 0 5px;
}

#panel-bar li a {
	color: black;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
	border-bottom: 5px solid gray;
	padding: 0 0 1px 0;
}

#panel-bar li a:hover {
	border-bottom: 5px solid red;
}

#panel-bar li a.current {
	border-bottom: 5px solid red;
	color: black;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
}

.post-footer ul {
	color: #DDD; 
	list-style: square;
	margin-bottom: 5px;
}
	.post-footer li a {
	}

.post-footer h5 {
	border-bottom: 1px solid #ccc;
	margin: 10px 0 5px 5px;
	width: 300px;
}


.corso h2 {
}
	ul.corso  {
		list-style-type: disc;
	}
		ul.corso li {
			color: blue;
			padding: 20px;
		}

.img-preview {
	margin-top: 382px;
}

.wrap-image {
	width: 174px;
	min-height: 262px;
}

.header-giorno {
	width: 174px;
	float: left;
	margin-bottom: -15px;
}
	.header-giorno  h1 {
		float: left;
	}

	.mese-giorno  h5 {
		color: black;
		font-size: 12px;
		//letter-spacing: -0.5px;
		text-transform: lowercase;
		margin-bottom: 3px;
		margin-top: -5px;
	}

	.mese-giorno  h4 {
		color: red;
		font-size: 12px;
		text-transform: lowercase;
		margin-bottom: 5px;
		margin-top: 1px;
	}


.programma h5 {
	line-height: 1em;
}

.archive-link {
	color: white;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: bold;
	background-color: #BBB;
	float: right;
	margin: 5px;
	padding: 5px;
}

a.archive-link, a.add-event, a.logout {
}

.calendario h5.small-title {
	line-height: 1em;
	margin-top: 5px;
	margin-bottom: 5px;
}
.calendario p, .programma p {
	line-height: 1em;
}

.small-title {
	color: red;
}

.img-up {
	background-color: red;
}

#upload_button {
	float: left;
	border: 1px solid black;
}

.riga {
  float: left;
}

table thead th {
  background-color: red;
  color: white;
}

table.eventi {
/*	border: 1px solid #789db3; */
	border-spacing: 3px;
	margin-left: 13px;
	border-collapse: collapse;
}

table.news {
/*	border: 1px solid #666; */
	margin-left: 15px;
}

tr.even td {
  background-color: #DDD;
}

.logout {
	color: white;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: bold;
	background-color: #BBB;
	float: right;
	margin: 13px 13px 13px 0;
	padding: 5px;
}

.add-event {
	color: white;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: bold;
	background-color: #BBB;
	float: left;
	margin: 13px 0 13px 13px;
	padding: 5px;
}

.mese-giorno {
	float: left;
}

h2.header-corso, .corsi p, .corsi h5{
	margin: 0 0 0 60px;
}

h2.header-corso {
	line-height: 1em;
}

.header-corso a {
	color: #009EDF;
}

div.corsi {
	margin: 20px 0 0 0;
}

.corsi h5 {
	color: red;
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 13px;
}

div.bollino-blu {
	background: url(../css/img/listcorsi.png) no-repeat top left;
	position: absolute;
	margin: 0 0 0 -35px;
	height: 43px;
	width: 45px;
}


.modifica a {
	color: black;
	text-transform: uppercase;
	font-weight: bold;
}

span.elimina {
	display: block;
	margin: 5px 0 13px 0;
}

.elimina a {
	color: white;
	background-color: red;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px;
}

.elimina a:hover {
}

a.archivio {
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	float: right;
}

.pagination  {
	padding: 2px 10px 0 0;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	float: right;
	margin: 10px;
}

.pagination * {
	padding: 2px 6px;
}

.pagination a {
	border: solid 1px #666;
	color: #666;
}

.pagination a:hover, .pagination a:active {
	border: solid 1px #CC0000;
	background-color: white;
	color: #CC0000;
}

.pagination span {
	cursor: default;
	color: #555;
}

.pagination span.current {
	border: solid 1px red;
	background-color: red;
	margin-left: 3px;
	color: white;
}

.badgecont {
width: 148px;
height: 152px;
	margin-left: 820px;
	margin-top: 10px;
	position: absolute;
	
}
/*
.badge {
  position:relative;
  margin: 0 auto;
  margin-top: 25%;
	color: white;
	font-weight: bold;
  height: 75px;
	text-align: center;
	width: 78px;
	border: 1px solid black;

}
*/
.corso-header h2 {
	margin-right: 13px;
	line-height: 1em;
}

.tabella-corsi {
	margin: 0 13px 0 13px;
}

.mail {
	font-weight: bold;
	margin: 0 0 0 18px;
}

.mail a {
	color: black;
}

h3.mese {
	color: red;
}

ul.prossimimesi {
	float: left;
}
.prossimimesi li {
	display: inline;
}
	.prossimimesi li a {
		color: black;
		font-weight: bold;
		padding: 5px;
	}

	.prossimimesi li a:hover {
		background-color: red;
		color: white;
		font-weight: bold;
	}


.calendario h3 {
	margin-left: 13px;
}

.facebook {
	display: inline;
	height:24px; 
	padding-left:20px; 
	padding-bottom:10px;
  outline: 0; 
	background: url(img/FaceBook-16x16.png) no-repeat; 
}

.youtube {
	display: inline;
	height:24px; 
	padding-left:20px; 
	padding-bottom:10px;
  outline: 0; 
	background: url(img/Youtube-16x16.png) no-repeat; 
}
.info {
	display: inline;
	height:24px; 
	padding-left:20px; 
	padding-bottom:10px;
	outline: 0;
	background: url(img/Info-16x16.png) no-repeat; 
}

ul.icons {
	margin: 0 0 0 5px;
}

.icons li {
	display: inline;
}

ul.icons img {
	display: block;
}

a[href$='.pdf'] {
	padding: 0 0 0 20px;
	background: url(img/pdf-icon.png) no-repeat center left;
}

a[href*='mailto'] {
	padding: 0 0 0 20px;
	background: url(img/mail-icon.png) no-repeat center left;
}

#footer table {
	background-color: white;
	border-collapse: collapse;
	margin: 0;
}

#footer table td {
	padding: 0;
	margin: 0;
}

ul.partner {
	list-style: none;
	margin: 0;
}

ul.partner li {
	margin-bottom: 5px;
}

.credits {
	float: right;
	padding: 10px;
}

.credits a {
	color: red;
	font-weight: bold;
}

.credits span {
	color: #888;
}

.airhotel {
	float: right;
}

.airhotel span {
	font-size: 9px;
}

#newsletter {
    float: left;
    font-size: 10px;
    margin-right: 3px;
    margin-bottom: 23px;
    padding: 1px;                                                                             
    width: 100px;
}

#newsletter_button {
    border: 1px solid red;
	background-color:#FF0000;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 10px;
    line-height: 2.7em;
    padding: 1px;
}

#newsloading {
    margin-top: 9px;
}

img.newssuccess {
    margin-top: 1px;
}
.statuto{ float:right;}
.statuto a {background: none;}
div.logosp{margin-left:10px;}

.counter{		text-shadow: 1px 1px 1px #D2D2D2; line-height: 30px; text-align: left; background-color:#ccc; padding:10px; float:left; margin-left: 40px; -moz-border-radius: 2px; -webkit-border-radius: 3px;}
.bignumber{ font-size: 50px; font-weight: bold; color:white;}