/* global */

    body{ 
		/*background:#fff url(/images/background_body.jpg) repeat-x;*/
		background-color: #fff;        
        font:.8em Trebuchet MS, Arial, Helvetica, Sans-Serif;
		color:#333333;
		line-height:160%;
		margin:0;
		padding:0;
		text-align:center;
        }

    /* headings */
        h1{
			font-size:200%;
			font-weight:normal;
            }		
		h2, h3, h4, h5, h6{
			font-weight:normal;
			margin:1em 0;
			color:#6a6a6a;
			}	
        h2{            
			font-size:18px;
			font-weight:bold;
			padding-bottom:.5em;			
			border-bottom:1px solid #dadada;
            }				
        h3{          
			font-size:16px;
			font-weight:bold;
			color:#5B82A4;
            }
        h4{          
			font-size:12px;
			font-weight:bold;
			margin: 0;
			color:#5B82A4;
            }
		h5{          
			font-size:22px;
			margin-bottom:0;
			padding-bottom:0;
			font-style: italic;
			font-weight: bold;
			color:#333333;
            }					
    /* // headings */

    /* image replacement */
        .graphic{
            margin:0;
            padding:0;
            display:block;
            overflow:hidden;
            text-indent:-8000px;
            }
    /* // image replacement */

    /* clearfix */

		#content:after, ul:after{
			content:"."; 
			display:block; 
			height:0; 
			clear:both; 
			visibility:hidden;
			}
		#content, ul{
			display:block;
			}
		/*  \*/
		#content, ul{
			min-height:1%;
			}
		* html #content, * html ul{
			height:1%;
			}
		.clear {
			clear:both;
			width: 100%;
			height: 0px;
		}

    /* // clearfix */
	
	/* HTML Tags */
        a{
			text-decoration:none;
			color:#940000;
            }
        a:hover{
			color:#5B82A4;
			text-decoration: underline;
            }			
		table, input, textarea, select, li{
			font:100% Trebuchet MS, Arial, Helvetica, Sans-Serif;
			line-height:160%;
			color:#333;
			}				
		p, blockquote, ul, ol, form{
			margin:1em 0;
			}
		blockquote{
			}
		img{
			border:none;
			}			
		hr{
			display:none;
			}	
		table{
			margin:1em 0;
			width:100%;
			border-collapse:collapse;
			}
		th, td{	
			padding:2px 5px;
			}	
		th{	
			text-align:left;
			}
		li{
			display:list-item;
			}	
	
	/* // HTML Tags */	
	
/* // global */

/* page setup */
	#wrapper {
		position:relative;
		overflow:hidden;		
		top:30px;
	}
	#header{
		height:92px;
		position:relative;
		margin:0 auto;
		width:900px;
		text-align:left;
	}	
	#container{
		position:relative;		
		margin:0 auto;		
		width:900px;
		text-align:left;
		padding-top:15px;
	}
	.col{
		float:left;
		display:inline;
		width:290px;
		margin-left:15px;
		padding-bottom:1em;
		}			
	#content{
		margin:1em 0;
		}	
	#main{
		float:left;
		display:inline;
		width:630px;
		margin-left:0px;
		padding-bottom:1em;
		}											
	#side{
		float:left;
		display:inline;		
		width:240px;
		margin-left:30px;
		padding-bottom:1em;
		position:relative;
		padding-bottom:1em;
		}
	#footer{
		clear:both;
		border-top:1px solid #dadada;
		padding-top:.5em;
		margin:0 auto;	
		margin-top:30px;	
		width:980px;
	}		

/* //page setup */


/* navigation elements */

	/* main nav */
		ul#nav {
			float:right;
		}
		ul#nav,  
		ul#nav li{
			margin:0;
			padding:0;
			list-style:none;
			}
		ul#nav{
			position:absolute;
			right:0;
			top:21px;
			height:10px;
			}			
		ul#nav li{
			float:left;
			display:inline;
			height:32px;		
			line-height:32px;			
			margin-left:0px;
			}	
		ul#nav li a{
			float:left;
			display:inline;
			height:32px;		
			line-height:32px;			
			font-size:.9em;
			font-weight:bold;			
			padding-left:0px;
			text-transform: lowercase;
			}	
		ul#nav li a span{
			float:left;
			height:32px;		
			line-height:25px;			
			padding-left:30px;
			cursor:pointer;			
			}							
		ul#nav li.selected a, ul#nav li a:hover{
			color:#5B82A4;
			text-decoration: underline;
			}				
		ul#nav li.selected a span, ul#nav li a:hover span{
			/*background:url(/images/bg_nav_all.gif) no-repeat 100% 0;*/
			}												
	
	/* //main nav */
	
/* //navigation elements */

/* header */

	#header h1{
		position:absolute;
		float:left;
		left:0;
		top:5px;
		height:78px;
		/*line-height:76px;		
		font-size:30px;
		font-weight:bold;
		color:#fff;
		margin:0;
		padding-left:10px;
		background:url(/images/bg_logo1.png) no-repeat 0 0;*/
		}
	#header h1 a{
		height:76px;
		/*line-height:16px;	
		color:#fff;
		background:url(/images/bg_logo2.png) no-repeat 100% 0;
		padding:28px 20px 0 10px;
		text-align: right;*/
		}
	#header h1 a span{
		font-size: 12px;
		color: #D1D1D1;
		}

/* // header */

/* content */

	#content a, .col a{
		text-decoration:none;
		font-weight:bold;
		}	
	.first{
		margin-left:0px;
		}									
	.col img{
		/*background:url(/images/bg_colimg.gif) no-repeat 0 0;*/
		padding:12px;
		}
	
	.progetti-incompleti, .warning {
		-moz-border-radius-bottomleft:3px;
		-moz-border-radius-bottomright:3px;
		-moz-border-radius-topleft:3px;
		-moz-border-radius-topright:3px;
		background-color:#FFFBCC;
		border:1px solid #940000;
		text-align:left;
		padding:10px;
	}
	
	.progetti-incompleti {
		padding:2px 8px;
		font-size: 12px;
		margin-top:24px;
	}
		
	#filter-portfolio {
		text-align: center;
	}		
	#filter-portfolio li.current {		
		-moz-border-radius-bottomleft:3px;
		-moz-border-radius-bottomright:3px;
		-moz-border-radius-topleft:3px;
		-moz-border-radius-topright:3px;
		background-color:#DADADA;
		padding:6px 10px;		
	}
	#filter-portfolio li a {	
		color:#999;
		font-size: 18px;
	}
	#filter-portfolio li.current a {	
		font-weight: bold;
	}
	 
	#filter-portfolio li {
		margin: 15px;
	}
				
	/* intro */
		#intro{
			margin:10px 0 2em 0;
			height:290px;
			position:relative;
		}
	
	/* // intro */		
	
	/* side list */
	
		ul.list, ul.list li{
			margin:0;
			padding:0;
			list-style:none;
			}
		ul.list{
			}													
		ul.list li{
			padding-top:.5em;
			}	
		ul.list li.first{
			padding-top:0;
			background:none;			
			}																
		ul.list li h3{		
			margin:.5em 0;
			font-size:15px;
			}
		ul.list li p{		
			margin:.5em 0;
			}
		ul.thanks li {
			padding-top:0;
			float: left;
			margin-right: 10px;
		}
	
	/* // side list */	
	
	/* item list */
	
		ul.items, ul.items li{
			margin:0;
			padding:0;
			list-style:none;
			}
		ul.items{
			}													
		ul.items li{
			padding:0 0 .5em 0;
			position:relative;
			min-height:120px;
			}														
		ul.items li h3, ul.items li p{		
			margin:0 0 .5em 130px;
			}	
		ul.items li img{
			position:absolute;
			top:0em;
			left:0;
			border:1px solid #dadada;
			padding:2px;
		}
	
	/* // item list */		
	
	.check li {
		background:transparent url(/images/bulletcheck.jpg) no-repeat scroll 0 5px;
		padding-left:20px;
	}					
	
	/* form */
																				
		form{
			margin:1.5em 0;
			padding-top:.5em;
			/*background:url(/images/bg_line.gif) no-repeat 0 0;*/
			}
		fieldset{
			margin:0;
			padding:0;
			border:none;
			}			
		legend{
			display:none;
			}			
		label{
			float:left;
			width:120px;
			}	
		input, textarea{
			width:250px;
			border:1px solid #dadada;
			padding:5px;
			-moz-border-radius-bottomleft:3px;
			-moz-border-radius-bottomright:3px;
			-moz-border-radius-topleft:3px;
			-moz-border-radius-topright:3px;
			}			
		textarea{
			height:120px;
			overflow:auto;
			}						
		form p{
			clear:both;		
			margin:0;
			padding:8px 0;
			}	
		button, .button a {
			border:none;
			padding:5px 10px;
			margin:0;
			float:left;
			background:#6a6a6a;
			color:#fff;
			font-weight:bold;
			font-size:12px;
			cursor:pointer;
			margin-left:120px;
			-moz-border-radius-bottomleft:3px;
			-moz-border-radius-bottomright:3px;
			-moz-border-radius-topleft:3px;
			-moz-border-radius-topright:3px;
			}
		button:hover, .button a:hover {
			background:#5B82A4;	
		}
		.button a {
			padding:2px 10px;
			margin:0 10px;
			margin-left: 0px;
			text-decoration: none;
		}
		form label.error {
			color: #940000;
			display: block;
			width:300px;
			margin-left: 120px;			
		}
	
	/* // form */					
						
	
/* // content */

/* footer */
	#footer {
		font-size:.9em;
	}
	#footer a{
		color:#333;				
		}
	#footer a:hover{
		color:#5B82A4;
		text-decoration: underline;
		}
	#footer ul{
		float:left;
		margin:.6em 0;
		padding:0;
		}
	#footer li{
		display:inline;
		margin:0 0 0 10px;
		padding:0;
		list-style:none;
		}
	#footer div{
		float: right;
		margin:.6em 0;
		padding:0;
	}
				

/* // footer */


/* CakePHP */
.cake-sql-log {	
	width:100%;	
}

.cake-sql-log caption {
	margin-top:30px;
	background-color:#900;
	color:#FFF;
	padding:3px;	
}
.cake-sql-log th {
	padding:3px;
}

.cake-sql-log td {
	padding:3px;
	border:1px solid #999;
	background-color:#EEE;
	color:#000;
}