/* ----------------------------------------------------------------------------------------------------------
* - HTML global tags
---------------------------------------------------------------------------------------------------------- */
body {
	background: #640101 url(../images/background.png) center top repeat;
	font-size: 62.5%;
	font-family : Helvetica, Arial, sans-serif;
	color: #555555;
}
html {
	height: 100%;
	margin-bottom: 0;
}
img,table { border: none; }
img { margin: 5px; }
a {
	text-decoration: none;
	font-weight: normal;
	color: #981313;
}
a:hover {
	text-decoration: underline;
	color: #555555;
}
input.button,
.validate  {
	color: #444444;
	font-size: 90%;
	border: 1px solid #555555;
}
input.button:hover,
.validate:hover  { color: #000000; }
p {
	margin: 10px 0 0 0;
	text-align: left;
}
.contentpaneopen p {
	margin: 10px 10px 0 10px;
	text-align: left;
}
.inputbox {}
.inputbox:hover {}
iframe { margin: 5px 0 0 0; }

/* ----------------------------------------------------------------------------------------------------------
* - Universal styles
---------------------------------------------------------------------------------------------------------- */
#clear { clear: both; }
.noBackground,
.noBackground * { background: none; }

/* ----------------------------------------------------------------------------------------------------------
* - List style
---------------------------------------------------------------------------------------------------------- */
ul {
	margin: 5px 0 15px 20px;
	padding: 0;
	list-style: none;
}
ul li {
	margin: 0;
	padding: 0;
	padding-left: 15px;
	line-height: 20px;
	background: url(../images/ul.gif) left 5px no-repeat;
}
ul ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul ul li { background: url(../images/ulSub.gif) left 5px no-repeat; }

/* ----------------------------------------------------------------------------------------------------------
* - Layout
---------------------------------------------------------------------------------------------------------- */
#mainWrapper { background: url(../images/headerTopBar.jpg) left 10px repeat-x; }
#headerBarTop {
	background: #2b0303;
	border-bottom: 1px solid #000000;
	height: 10px;
}

/* Header */
	#headerWrapper {}
	#headerContainer {
		background: url(../images/header.jpg) center top no-repeat;
		height: 150px;
		width: 960px;
		margin: 0 auto;
		text-align: right;
	}
	#headerContainer a {
		height: 150px;
		width: 100px;
		background: url(../images/asi.jpg) center top no-repeat;
		float: right;
	}
	#headerContainer a:hover {
		background: url(../images/asi_hover.jpg) center top no-repeat;
		text-decoration: none;
	}
	
#mainContainer {
	width: 940px;
	margin: 0 auto;
	padding: 10px;
	background: url(../images/contentBg.jpg) center top repeat;
	
	border-radius: 10px; /* CSS 3 */
	-moz-border-radius: 10px; /* Firefox */
	-webkit-border-radius: 10px; /* Safari */
}
	
#contentWrapper {}
#contentContainer {}

/* Left column */
	#leftColumnWrapper {
		width: 270px;
		float: left;
		background: #e0e0e0;
		padding: 5px;
		
		border-radius: 10px; /* CSS 3 */
		-moz-border-radius: 10px; /* Firefox */
		-webkit-border-radius: 10px; /* Safari */
	}
	#leftColumnContainer {}
	#leftColumnWrapper h2 {
		background: #981313;
		color: #ffffff;
		margin: 0;
		padding: 4px 10px 4px 10px;
		
		text-shadow: 1px 1px 1px #000000;
		text-transform: uppercase;
		
		border-radius: 10px; /* CSS 3 */
		-moz-border-radius: 10px; /* Firefox */
		-webkit-border-radius: 10px; /* Safari */
	}
	
	/* Main menu */
		#mainMenuContainer ul {
			margin: 5px 0 0 0;
			padding: 0;
		}
		#mainMenuContainer ul li {
			background: none;
			margin: 0 0 0 10px;
		
			line-height: 1.1em;
		}
		#mainMenuContainer ul li a {
			display: block;
			color: #444444;
			margin: 5px 5px 3px 0;
			padding-bottom: 10px;
			border-right: 1px solid #d0d0d0;
		
			text-decoration: none;
			font-size: 1.3em;
			
			border-radius: 10px; /* CSS 3 */
			-moz-border-radius: 10px; /* Firefox */
			-webkit-border-radius: 10px; /* Safari */
		}
		#mainMenuContainer ul li a:hover {
			color: #aa0505;
			border-color: #aa0505;
		}
		#mainMenuContainer ul li#current>a {
			color: #444444;
			border-color: #444444;
		}
		
	/* Search */
		#searchWrapper { margin: 0 0 10px 0; }
		#searchContainer { text-align: center; }

/* Main column */
	#mainColumnWrapper {
		width: 640px;
		float: right;
	}
	#mainColumnContainer {
		font-size: 1.3em;
		line-height: 20px;
		letter-spacing: 0.03em;
	}
	/* BreadCrumn */
	#breadCrumbWrapper {
		background: #e0e0e0;
		padding: 0 10px 0 10px;
		margin: 0 0 10px 0;
		height: 20px;
		line-height: 20px;
		
		border-radius: 10px; /* CSS 3 */
		-moz-border-radius: 10px; /* Firefox */
		-webkit-border-radius: 10px; /* Safari */
		
		font-size: 0.8em;
	}

/* Footer */
	#footerWrapper {}
	#footerContainer {
		width: 940px;
		margin: 0 auto;
		height: 40px; 
			
		font-size: 0.9em;
		letter-spacing: 2px;
		color: #e0e0e0;
	}
	#footerContainer a {
		color: #ffffff;
		border-bottom: 1px dashed transparent;
	}
	#footerContainer a:hover {
		color: #ffffff;
		border-bottom: 1px dashed #ffffff;
		text-decoration: none;
	}
	#footerContainer p {
		margin: 0;
		padding: 0;
		line-height: 40px;
	}

/* ----------------------------------------------------------------------------------------------------------
* - Global Joomla style
---------------------------------------------------------------------------------------------------------- */
td.middle_pad { width: 20px; }
#banner_l {
	text-align: left;
	padding: 0 0 0 24px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/
div.offline {
	background: #d9ffbb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px;
}

/* headers */
	div.componentheading {}
	table.blog {}
	div.componentheading,
	.contentheading,
	#mainColumnContainer h1 {
		padding: 3px 0 5px 0;
		font-size: 2em;
		line-height: 36px;
		font-weight: bold;
		vertical-align: middle;
		color: #981313;
		text-align: left;
	}
	.contentheading:first-letter,
	#mainColumnContainer h1:first-letter { font-size: 1.5em; }
	#mainColumnContainer h2 {
		color: #981313;
		margin: 0;
		padding: 4px 10px 4px 10px;
		
		font-size: 1.4em;
		text-transform: uppercase;
	}
	table.contentpaneopen h3 { margin-top: 25px; }
	#mainColumnContainer h4 { color: #a0a0a0; }
	#mainColumnContainer h3,
	.componentheading,
	table.moduletable th,
	legend {
		margin: 0;
		font-size: 2em;
		text-align: left;
		color: #f0f0f0;
		padding: 0;
	}

/* small text */
	.small {
		font-size: 90%;
		color: #a0a0a0;
		font-weight: normal;
		text-align: left;
	}
	.modifydate {
		height: 20px;
		vertical-align: bottom;
		font-size: 90%;
		color: #a0a0a0;
		font-weight: normal;
		text-align: right;
	}
	.createdate {
		height: 20px;
		vertical-align: top;
		font-size: 90%;
		color: #a0a0a0;
		font-weight: normal;
		vertical-align: top;
		padding-top: 0;
	}
	a.readon {
		display: block;
		float: right;
		line-height: 14px;
		font-size: 90%;
		text-decoration: none;
		padding: 1px 2px 1px 2px;
	}
	a.readon:hover { color: #e0e0e0; }

/* form validation */
	.invalid { border-color: #800000; }
	label.invalid { color: #800000; }

/** overlib **/
	.ol-foreground {
		background-color: #f1f1f1;
		color: #e0e0e0;
	}
	.ol-background {
		background-color: #f1f1f1;
		color: #e0e0e0;
	}
	.ol-textfont { font-size: 90%; }
	.ol-captionfont {
		color: #f6f6f6;
		font-weight: bold;
	}
	.ol-captionfont a {
		background-color: #f1f1f1;
		color: #e0e0e0;
		text-decoration: none;
	}
	.ol-closefont {}

/* spacers */
	span.article_separator {
		display: none;
		height: 0;
	}
	.article_column {}
	.column_separator {}
	td.buttonheading {
		margin: 0;
		padding: 0;
		text-align: right;
		width: 0;
	}
	.clr { clear: both; }
	table.blog span.article_separator {
		display: block;
		height: 20px;
	}

/* table of contents */
	table.contenttoc {
		margin: 5px;
		border: 1px solid #cccccc;
		padding: 5px;
	}
	table.contenttoc td { padding: 0 5px; }

/* content tables */
	td.sectiontableheader {
		color: #e0e0e0;
		font-weight: bold;
		padding: 4px;
		border-bottom: 1px solid #666666;
	}
	
	tr.sectiontableentry0 td,
	tr.sectiontableentry1 td,
	tr.sectiontableentry2 td { padding: 4px; }
	td.sectiontableentry0,
	td.sectiontableentry1,
	td.sectiontableentry2 {
		padding: 3px;
		color: #e0e0e0;
		font-size: 10px;
	}

/* content styles */
	.contentpaneopen,
	table.contentpane {
		margin: 0;
		padding: 10px;
		width: 100%;
	}
	table.contentpane td { text-align: left; }
	table.contentpane td.contentdescription { width: 100%; }
	table.contentpane  {
		text-align: left;
		float: left;
		width: 100%;
		margin: 8px;
	}
	table.contentpane ul li a .category { color: #57a2f0; }
	table.contentpane ul li { color: #e0e0e0; }
	table.contentpaneopen li { margin-bottom: 5px; }
	table.contentpaneopen fieldset { border: 0; }
	table.contentpaneopen h3 { margin-top: 25px; }
	table.contentpaneopen h4 { color: #800000; }
	.highlight { background-color: #f7c659; }

/* module control elements */
	table.user1user2 div.moduletable { margin-bottom: 0; }
	div.moduletable, div.module { margin-bottom: 25px; }
	div.module_menu, div.module {
		margin: 0;
		padding: 0;
	}
	div.module_menu div, div.module {}
	div.module_menu  div, div.module  div{
		margin-bottom: 14px;
		margin-left: 3px;
		padding: 0;
		background: url(../images/left_body.jpg) bottom left no-repeat;
	}
	div.module_menu div div div,
	div.module div div div{
		padding: 0;
		margin: 0;
	}
	div.module_menu div div div div,
	div.module div div div div {
		background: none;
		padding: 4px 8px;
	}
	div.module div div div form {
		padding: 4px 0 0 0;
		width: 164px;
		margin: 0 auto;
	}
	div.module div div div form div.module_menu ul { list-style: none; }
	div.module_menu ul li{
		margin: 0;
		padding: 0;
	}
	div.module_menu ul li a:link, div.module_menu ul li a:visited {
		font-weight: bold;
		padding: 2px 0 2px 25px;
		line-height: 24px;
	}

/* forms */
	table.adminform textarea {
		width: 540px;
		height: 400px;
	}
	form#form-login fieldset { /* SideBar login form */
		border: 0 none;
		margin: 0;
	}
	form#form-login ul li {}
	
	form#form-login ul li a {
		text-align: left;
		padding: 0;
		font-size: 10px;
	}

/* thumbnails */
	div.mosimage {  margin: 5px; }
	div.mosimage_caption { color: #e0e0e0; }
	div.caption { padding: 0 10px 0 10px; }
	div.caption img { border: 1px solid #cccccc; }
	div.caption p { color: #e0e0e0; text-align: center; }

/* Parameter Table */
	table.paramlist { margin-top: 5px; }
	table.paramlist td.paramlist_key {
		width: 128px;
		text-align: left;
		height: 30px;
	}
	table.paramlist td.paramlist_value {}
	div.message {
		font-weight: bold;
		color : #c30;
		text-align: center;
		width: auto;
		background-color: #f9f9f9;
		border: 1px solid #d5d5d5;
		margin: 3px 0 10px;
		padding: 3px 20px;
	}

/* Banners module */
/* Default skyscraper style */
	.bannergroup {}
	.banneritem {}

/* Text advert style */
	.banneritem_text {
		padding: 4px;
		font-size: 11px;
	}
	.bannerfooter_text {
		padding: 4px;
		font-size: 11px;
		text-align: right;
	}

/* System Messages */
/* see system general.css */
	.pagination span { padding: 2px; }
	.pagination a { padding: 2px; }

/* Polls */
	.pollstableborder td { text-align: left; }

/* Frontend Editing*/
	fieldset {
		border: 1px solid #ccc;
		margin-top: 15px;
		padding: 15px;
	}
	legend {
		margin: 0;
		padding: 0 10px;
	}
	td.key {
		border-bottom:1px solid #eeeeee;
		color: #e0e0e0;
	}

/* Tooltips */
	.tool-tip {
		float: left;
		background: #ffc;
		border: 1px solid #f2feca;
		padding: 5px;
		max-width: 200px;
	}
	.tool-title {
		padding: 0;
		margin: 0;
		font-size: 100%;
		font-weight: bold;
		margin-top: -15px;
		padding-top: 15px;
		padding-bottom: 5px;
		background: url(../../system/images/selector-arrow.png) no-repeat;
	}
	.tool-text {
		font-size: 100%;
		margin: 0;
	}

/* System Standard Messages */
	#system-message { margin-bottom: 20px; }
	#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat; }

/* System Error Messages */
	#system-message dd.error ul {
		color: #c00;
		background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; 
		border-top: 3px solid #DE7A7B;
		border-bottom: 3px solid #DE7A7B;
		margin: 0;
		padding-left: 40px;
		text-indent: 0;
	}

/* System Notice Messages */
	#system-message dd.notice ul {
		color: #c00;
		background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat;
		border-top: 3px solid #F0DC7E;
		border-bottom: 3px solid #F0DC7E;
	}

/* ADEJ ****************************************************************************** */
input[type="checkbox"],
input[type="radio"] {
	background: transparent;
	border: none;
}
input[type="text"],
input[type="password"],
textarea {
	background: #f0f0f0;
	border: 1px solid #a0a0a0;
	color: #a0a0a0;
	padding: 5px 5px 5px 5px;
	margin: 3px;
	width: 90%;
}
textarea { width: 98%; }
.button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	background: #ffffff;
	border: 1px solid #555555;
	color: #555555;
	font-weight: normal;
	padding: 5px 15px 5px 15px;
	margin: 3px;
}
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	color: #ffffff;
	border-color: #380404;
	background: #380404;
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
	background: #ffffff;
	color: #555555;
	border-color: #555555;
}

/* Altri stili */
	#contentTable {	border-collapse: collapse; }
	#contentTable td {
		border-top: 1px solid #cccccc;
		border-bottom: 1px solid #cccccc;
		padding: 5px;
	}
	
/* Inner Search style */
	#search_searchword { width: 300px; }

/* Phoca gallery style + hack */
	.phoca-hr,
	a[title="Phoca Gallery"] {
		display: none;
		font-size: 0;
		height: 0;
		width: 0;
	}
	#phocagallery table td {
		vertical-align: middle;
		padding: 5px;
	}
	
/* Simple gallery */
#lbCaption {
	display: none;
	width: 0;
	height: 0;
	font-size: 0;
}

/* ShadowBox corrections */
#shadowbox img { margin: 0; }
