/* ----------------------------------------------------------------------------------------------------------
* - HTML global tags
---------------------------------------------------------------------------------------------------------- */
/*
	Main Colors
	#c3a26f - chiaro
	#444444 - scuro
*/

body {
	background: #ffffff url(../images/topBar.jpg) center top repeat-x;
	font-size: 62.5%;
	font-family: Helvetica, Arial, sans-serif;
	color: #444444;
}
html {
	height: 100%;
	margin-bottom: 0;
}
img,table { border: none; }
img { margin: 5px; }
a {
	text-decoration: none;
	font-weight: bold;
	color: #1e7fc2;
}
a:hover {
	text-decoration: none;
	color: #777777;
}
b { vertical-align: top; }
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;
	
	font-size: 1.2em;
	line-height: 18px;
}
.inputbox {}
.inputbox:hover {}

/* ----------------------------------------------------------------------------------------------------------
* - 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 {
	width: 960px;
	margin: 0 auto;
	padding: 0;
}
#mainContainer {
	width: 940px;
	margin: 0 auto;
	padding: 0;
}

/* Header */
	#headerWrapper {}
	#headerContainer {
		background: url(../images/header.jpg) center top no-repeat;
		width: 960px;
		height: 300px;
	}


#contentWrapper {}

/* Left column */
	#leftColumnWrapper {
		width: 218px;
		padding: 10px 0 100px 0;
		float: left;
		background: #ebf5fb url(../images/sideColumnBottom.jpg) center bottom no-repeat;
		border-right: 1px solid #9fc8e4;
		border-left: 1px solid #9fc8e4;
		
		font-size: 1.2em;
	}
	#leftColumnContainer { margin: 0 10px 0 10px; }
	#searchWrapper { text-align: center; }

	/* SideMenu */
		#mainMenuWrapper { margin: 16px 0 0 0; }
		#mainMenuWrapper h2 {
			line-height: 20px;
			font-weight: normal;
			width: 100px;
			padding: 0 10px 0 10px;
			margin: 0 0 10px 0;
			
			color: #1e7fc2;
		}
		#mainMenuContainer {}
		#mainMenuContainer ul {
			margin: 0;
			padding: 0 0 10px 10px;
			clear: both;
		}
		#mainMenuContainer ul li {
			background: none; 
			padding: 0;
			margin: 0;
		}
		#mainMenuContainer ul li a {
			display: block;
			padding: 0 10px 0 15px;
			height: 28px;
			line-height: 28px;
			text-align: left;
			border-bottom: 1px solid #cfe5f2;
			
			font-weight: normal;
		}
		#mainMenuContainer ul li a:hover {
			color: #ffffff;
			background: #1e7fc2;
			text-decoration: none;
		}


/* Right column */
	#mainColumnWrapper {
		width: 700px;
		margin: 0 10px 0 0;
		float: right;
		
		font-size: 1.2em;
		line-height: 20px;
	}
	#mainColumnContainer { margin: 20px 40px 0 40px; }

/* Footer */
	#footerWrapper {
		background: #20699b;
		margin: 20px 0 0 0;
	}
	#footerContainer {
		margin: 0 10px 0 10px;
		padding: 20px 0 20px 0;
		width: 960px;
		margin: 0 auto;
		
		font-size: 1em;
		line-height: 18px;
		color: #ffffff;
	}
	#footerContainer p {
		text-align: center;
		margin: 0;
		padding: 0;
	}
	#footerContainer a { color: #ffffff; }
	#footerContainer a:hover { text-decoration: underline; }
	#footerBottom {
		background: #172f00 url(../images/footer.jpg) center bottom no-repeat;
		height: 20px;
	}

/* ----------------------------------------------------------------------------------------------------------
* - 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 {
		margin: 15px 0 10px 0;
		
		font-weight: normal;
		font-size: 3em;
		line-height: 36px;
		color: #777777;
	}
	table.blog {}
	h1 {
		padding: 0;
		font-size: 2em;
		line-height: 25px;
		font-weight: bold;
		vertical-align: bottom;
		color: #777777;
		text-align: left;
	}
	h2,
	.contentheading {
		padding: 0;
		font-size: 2em;
		line-height: 36px;
		font-weight: bold;
		vertical-align: middle;
		color: #777777;
		text-align: left;
	}
	table.contentpaneopen h3 { margin-top: 25px; }
	h4 { color: #a0a0a0; }
	h3,
	.componentheading,
	table.moduletable th,
	legend {
		margin: 0;
		font-size: 2em;
		text-align: left;
		color: #999999;
		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: #ff9000; }
	label.invalid { color: #ff9000; }

/** 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: block;
		height: 20px;
	}
	.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: 0;
	}
	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 { border-bottom: 1px solid #777777; }
	table.contentpaneopen li { margin-bottom: 5px; }
	table.contentpaneopen fieldset { border: 0; }
	table.contentpaneopen h3 { margin-top: 25px; }
	table.contentpaneopen h4 { color: #777777; }
	.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: #ffffff;
	border: 1px solid #cccccc;
	color: #999999;
	padding: 5px 5px 5px 5px;
	margin: 3px;
	width: 90%;
	
	border-radius: 5px;
	-moz-border-radius: 5px; /* Firefox */
	-webkit-border-radius: 5px; /* Safari */
}
input[type="submit"],
input[type="button"],
input[type="reset"] {
	background: #ffffff;
	border: 1px solid #cccccc;
	color: #444444;
	font-weight: normal;
	padding: 5px 15px 5px 15px;
	margin: 3px;
	
	border-radius: 5px;
	-moz-border-radius: 5px; /* Firefox */
	-webkit-border-radius: 5px; /* Safari */
}
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	color: #ffffff;
	background: #1e7fc2;
	border-color: #1e7fc2;
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
	background: #ffffff;
	color: #444444;
	border-color: #1e7fc2;
}