/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/
body {
	margin-top: 50px;
	padding: 0;
	background: #FFFFFF url(/Resources/Images/img01.jpg) repeat-x left top;
	font-size: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: justify;
	color: #5C5C5C;
}

#beta-ribbon 
{
	position: absolute;
	top: 0;
	left: 0;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
}

h1 {
}

h2 {
}

p, ul, ol {
	margin: 0 0 2em 0;
	text-align: justify;
	line-height: 26px;
	list-style: none;
}

a {
	color: #8A7645;
}

a:hover, a:active {
	text-decoration: none;
	color: #8A7645;
}

a:visited {
	color: #8A7645;
}

img {
	border: none;
}

img.left {
	float: left;
	margin-right: 15px;
}

img.right {
	float: right;
	margin-left: 15px;
}

/* Form */

form {
	margin: 0;
	padding: 0;
}

fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

legend {
	display: none;
}

input, textarea, select {
	font-size: 13px;
	color: #333333;
}

#wrapper {
	width: 900px;
	margin: 0 auto;
	padding: 0;
	background: url(/resources/images/img02.jpg) no-repeat left top;
}

/* Header */

#header {
	width: 900px;
	margin: 0 auto;
	height: 170px;
}

/* Menu */

#menu {
	width: 870px;
	height: 50px;
	margin: 0 auto;
	background: url(/resources/images/img03.jpg) repeat-x left top;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu li {
	float: left;
	height: 50px;
	background: url(/resources/images/img04.jpg) no-repeat right top;
}

#menu a {
	display: block;
	padding: 12px 20px 0px 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
	color: #FFFFFF;
}

#menu a:hover { 
	color: #FFFFFF;
}

#menu .current_page_item a {
	color: #FFFFFF;
}

/** LOGO */

#logo {
	width: 880px;
	height: 100px;
	margin: 0 auto;
}

#logo h1, #logo h2 {
	float: left;
	margin: 0;
	text-transform: uppercase;
	line-height: normal;
}

#logo h1 {
	/*padding: 40px 140px 20px 80px;*/
	padding: 10px 20px 0px 20px;
	font-size: 24px;
	position:relative;
	/*text-indent:-100em;
	background: url('/resources/images/logo-emessage.png') no-repeat 30px 26px;
	text-indent:-9009px;*/
}

#logo h1 img {
	text-indent:9009px;
	margin-top: 1em;
}

/* hide from Mac IE5.x \*/
#logo h1 {overflow:hidden;}
/* end hide*/

#logo h1 span, #logo h1 em 
{
	background: url('/resources/images/logo-emessage.png') no-repeat;
	/*position:absolute;
	left:0;top:0;*/
	display:block;
	height:46px;
	width:183px;
	
}

#logo h1 a {
	text-decoration: none;
	color: #BA9F5A; 
}

#logo h1 a:hover { text-decoration: underline; }

#logo h2 {
	padding: 50px 0 0 5px;
	font: 12px Arial, Helvetica, sans-serif;
	color: #28313A;
}

#logo p a {
	text-decoration: none;
	color: #28313A;
}

#logo p a:hover { text-decoration: underline; }



/* Page */

#page {
	width: 860px;
	margin: 0 auto;
	padding: 20px 20px;
}

/* Content */

#content {
	float: left;
	width: 590px;
	border-right: 1px dashed #DFE1E0;
}

/* Post */

.post {
	padding: 0px 20px;
	margin-bottom: 20px;
}

.post .title {
	margin-bottom: 20px;
	padding-bottom: 5px;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
	color: #28313A; 
}

.post .entry 
{

}

.post ul
{
	margin-left: 2em;
}

.post h2
{
	margin-top: 2em;
	font-size: 14px;
	text-transform: uppercase;
}

.post h3
{
	margin-top: 2em;	
}

.post .meta {
	padding: 15px 15px 30px 0px;
	font-size: 10px;
}

.post .meta p {
	margin: 0;
	padding-top: 15px;
	line-height: normal;
	color: #28313A; 
}

.post .meta .byline {
	float: left;
}

.post .meta .links {
	float: right;
}

.post .meta .more {
	padding: 0 20px 0 18px;
}

.post .meta .comments {
	padding-left: 22px;
}

.post .meta b {
	display: none;
}


/* Sidebar */

#sidebar {
	float: right;
	width: 230px;
	margin: 0;
	padding: 0;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin-bottom: 40px;
}

#sidebar li ul {
}

#sidebar li li {
	margin: 0;
}

#sidebar h2 {
	width: 250px;
	margin: 0;
	padding: 0;
	background: url(/resources/images/img07.jpg) no-repeat left top;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
	color: #28313A; 
}

/* Search */

#search {

}

#search h2 {
	margin-bottom: 20px;
}

#s {
	width: 140px;
	margin-right: 5px;
	padding: 3px;
	border: 1px solid #DFE1E0;
}

#x {
	padding: 3px;
	border: none;
	background: #0A5688;
	text-transform: lowercase;
	font-size: 11px;
	color: #FFFFFF;
}

/* Boxes */

.box1 {
	padding: 20px;
}

.box2 {
	color: #BABABA;
}

.box2 h2 {
	margin-bottom: 15px;
	font-size: 16px;
	color: #FFFFFF;
}

.box2 ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.box2 a:link, .box2 a:hover, .box2 a:active, .box2 a:visited  {
	color: #EDEDED;
}

/* Footer */
#footer-wrap {
}

#footer {
	width: 880px;
	margin: 0 auto;
	background: #E5E5E5;
}

html>body #footer {
	height: auto;
}

#footer p {
	font-size: 10px;
}

#legal {
	clear: both;
	padding-top: 17px;
	text-align: center;
	color: #595959;
}

#legal a {
	font-weight: normal;
}

/* <ICON SECTION> */

.iconSearch { background-image: url('/Resources/Images/icons/magnifier.png') !important; }
.iconLogin { background-image: url('/Resources/Images/icons/lock_open.png') !important; }
.iconChangePassword { background-image: url('/Resources/Images/icons/key.png') !important; }
.iconTables { background-image: url('/Resources/Images/icons/table.png') !important; }
.iconExportToExcel { background-image: url('/Resources/Images/icons/page_excel.png') !important; }

/* </ICON SECTION> */
.iconFileUpload { background-image: url('/Resources/Images/icons/page_add.png') !important; }

.x-window-dlg .iconWork {
    background:transparent url('/Resources/Images/ajax-loader.gif') no-repeat top left;
    height:46px;
}

.x-panel-body{
	background: #fff;
	font: 11px Arial, Helvetica, sans-serif;
	color: #000;
}
.thumb{
	/*background: #eee;*/
	padding: 3px;
}
.thumb img{
	height: 60px;
	width: 60px;
	padding: 5px;
}
.thumb-wrap{
	float: left;
	margin: 4px;
	margin-right: 0;
	padding: 5px;
	width: 80px;
	height: 130px;
}
.thumb-wrap span{
	display: block;
	overflow: hidden;
	text-align: center;
}

.x-view-over{
    border:1px solid #dddddd;
    background: #efefef url(/images/row-over.gif) repeat-x left top;
	padding: 4px;
}

.x-view-selected{
	background: #eff5fb url(/images/selected.gif) no-repeat right bottom;
	border:1px solid #99bbe8;
	padding: 4px;
}
.x-view-selected .thumb{
	background:transparent;
}

.x-form-radio-group .x-panel-body { background-color: transparent; }

.gridRowError { background-color: #fcc !important; }
.gridRowNotificated { background-color: #cfc !important; }

.icon-grid { background-image: url('/Resources/Images/icons/application_view_list.png') !important; }
.icon-user-add { background-image: url('/Resources/Images/icons/user_add.png') !important; }
.icon-user-delete { background-image: url('/Resources/Images/icons/user_delete.png') !important; }
.icon-excel { background-image: url('/Resources/Images/icons/page_excel.png') !important; }
.icon-add { background-image: url('/Resources/Images/icons/add.png') !important; }
.icon-delete { background-image: url('/Resources/Images/icons/cancel.png') !important; }
.icon-update { background-image: url('/Resources/Images/icons/pencil.png') !important; }
.icon-info { background-image: url('/Resources/Images/icons/information.png') !important; }
.icon-money { background-image: url('/Resources/Images/icons/coins.png') !important; }
.icon-check { background-image: url('/Resources/Images/icons/check.gif') !important; }
.icon-uncheck { background-image: url('/Resources/Images/icons/uncheck.gif') !important; }
.icon-pdf { background-image: url('/Resources/Images/icons/page_white_acrobat.png') !important; }
.icon-word { background-image: url('/Resources/Images/icons/page_white_word.png') !important; }
.icon-search { background-image: url('/Resources/Images/icons/magnifier.png') !important; }
.icon-letter-open { background-image: url('/Resources/Images/icons/email_open.png') !important; }
.icon-table-edit { background-image: url('/Resources/Images/icons/table_edit.png') !important; }
.icon-table-add { background-image: url('/Resources/Images/icons/table_add.png') !important; }
.icon-table-save { background-image: url('/Resources/Images/icons/table_save.png') !important; }
.icon-help { background-image: url('/Resources/Images/icons/help.png') !important; }
.icon-emoticon-grin { background-image: url('/Resources/Images/icons/emoticon_grin.png') !important; }
.icon-cash-register { background-image: url('/Resources/Images/icons/cash-register.png') !important; }
.icon-zip { background-image: url('/Resources/Images/icons/page_white_zip.png') !important; }

/*body {overflow: hidden;}*/
.x-icon-error{background-image:url(/Resources/Images/Icons/exclamation.png) ! important;}
.x-icon-information{background-image:url(/Resources/Images/Icons/information.png) ! important;}
.x-icon-warning{background-image:url(/Resources/Images/Icons/error.png) ! important;}
.x-notification .x-window-body{margin: 0;padding:1em ! important; width: auto ! important;}
.x-notification .x-tool-close{display: none}
.x-notification.fixed .x-tool-close{display: block}

ul.list {
	margin: 1em 0 1em 2em;
	text-align: justify;
	line-height: 26px;
	list-style-type: disc;
}

.post ul {margin-left: 0px;}

.alert {
	background: #fff6bf url(/Resources/Images/Icons/exclamation.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 5px 20px 5px 45px;
	border-top: 2px solid #ffd324;
	border-bottom: 2px solid #ffd324;
}
	
.info {
	background: #fff6bf url(/Resources/Images/Icons/information.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 5px 20px 5px 45px;
	border-top: 2px solid #ffd324;
	border-bottom: 2px solid #ffd324;
}

/* TOOLTIPS				  		 	*/

	/* ---------------------------------------------------------------------- */
	.tooltips-gray{
		background:#444444;
		color:#FFFFFF;
		text-align:center;
		padding-top:4px;
	}
		.tooltips-gray div{
			background-color:#FFFFFF;
			background:url(/Resources/Images/tips_gray.png) left bottom no-repeat;
			padding-top:4px;
			height:18px;
		}
	/* ---------------------------------------------------------------------- */
	.tooltips-ok{
		background:#008000;
		color:#FFFFFF;
		text-align:center;
		padding-top:4px;
	}
		.tooltips-ok div{
			background-color:#FFFFFF;
			background:url(/Resources/Images/tips_green.png) left bottom no-repeat;
			padding-top:4px;
			height:18px;
		}
	/* ---------------------------------------------------------------------- */
	.tooltips-error{
		background:#CC0000;
		color:#FFFFFF;
		text-align:center;
		padding-top:4px;
	}
		.tooltips-error div{
			background-color:#FFFFFF;
			background:url(/Resources/Images/tips_red.png) left bottom no-repeat;
			margin-top:4px;
			height:18px;
		}
	
.rowLabel {width: 380px}		
.rowLabel .leftLabel {display: inline-block; width: 150px; text-align:left}
.rowLabel .rightValue {display: inline-block; width: 220px; text-align:right}

#recharge {padding-top: 10px; width: 530px;}
#recharge .image {float: left; width: 150px;}
#recharge .text {float: left; line-height: 150%; width: 380px;}

/*#inhabitansGrid .x-grid3-scroller { height: 240; overflow-y: scroll; }*/

#divNews {font-weight: bold; color: #f00; margin: 20px auto; text-align: center; height: 30px; padding-top: 15px;}
#divNews a {color: #f00;}

.condizioniContrattuali {display: block; margin-top: 3em !important}
.condizioniContrattuali ul {list-style-type: disc;list-style-position:inside; font-size: 90%;}

.clear {clear: both; display: block;}

.alternateAddress, .alternateAddress:hover {
	background-image: url('/Resources/Images/icons/building_go.png') !important;
	background-repeat: no-repeat;
	background-position: right;
}

.normalAddress, .normalAddress:hover {
	/*background-image: url('/Resources/Images/icons/building.png') !important;
	background-repeat: no-repeat;
	background-position: right;*/
}

.red-row{
	background-color: #fbb;
}

ul.list {list-style-type: disc}
.list li {padding-left: 1em; }

.pickup-row {background-color: #ff9;}
