/* Reset  */

* { 
	margin: 0;
	padding: 0;
	}
	
html {
	overflow-y: scroll;
	}
	
body {
	background:#ffffff;
	font-size: 0.9em;
	color: #6f6c6c;
	font-family: 'Merriweather Sans', sans-serif;
	font-weight: 300;
	}
	
ol, ul {
	list-style: none;
	margin: 0;
	}
	
ul li {
	margin: 0;
	padding: 0;
	}
	
h1 {
	margin-bottom: 25px;
	color: #404041;
	font-size: 2em;
	text-transform: uppercase;
	}

h2 {
	margin-bottom: 10px;
	color: #404041;
	font-size: 1.4em;
	text-transform: uppercase;
	text-align: right;
	}

h3 {
	margin-bottom: 10px;
	color: #404041;
	font-size: 1.1em;
	text-align: right;
	}

h4 {
	margin-bottom: 10px;
	padding-top: 20px;
	color: #404041;
	font-size: 1.4em;
	text-align: left;
	}

i {
	color: #5f9595;
	}

		
a, img { 
	outline: none;
	border:none;
	color: #404041;
	text-decoration: none;
	}
	
/* Languages */

#languages {
	padding: 4px; 
	height: 14px;
	margin: 0 auto;
	list-style: none;
	width: 380px;
	float: right;
	text-align: right;
	line-height: 14px;
	z-index: 1001;
	position: relative;
	}

#languages li {
	margin: 0; 
	padding: 0;
    list-style: none;
	display: inline-block;
	}

#languages a {
	display: inline-block;
	padding: 9px 2px 9px 2px;
	overflow: hidden;
	height: 0px !important; 
	height /**/:11px; /* for IE5/Win only */
	}

#italy a {width: 29px; background: url(../images/flag-it.png) top left no-repeat;}
#italy a:hover {width: 29px; background: url(../images/flag-it_b.png) top left no-repeat;}
#italy a.current {width: 29px; background: url(../images/flag-it_b.png) top left no-repeat;}

#english a {width: 29px; background: url(../images/flag-en.png) top left no-repeat;}
#english a:hover {width: 29px; background: url(../images/flag-en_b.png) top left no-repeat;}
#english a.current {width: 29px; background: url(../images/flag-en_b.png) top left no-repeat;}

/* Links */

a:link, a:visited, a:active {
	color: #ffffff;
	text-decoration: none;
}

a:hover {
	color: #6f6c6c;
	text-decoration: none;
}

a.current {
	color: #6f6c6c;
}

strong {
	font-weight: bold;
	}

p {
	margin: 0 0 10px;
	line-height: 1.4em;
	}
	
img {
	display: block;
	}
	
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
	}

/* Structure */

#fb_home {
	position: absolute;
	top: 90px;
	right: 12px;
	width: 218px;
	height: 60px;
	display: block;
	z-index: 1001;
	text-align: right;
	}
	
#fb_interno {
	position: absolute;
	top: 430px;
	right: 12px;
	width: 218px;
	height: 60px;
	display: block;
	z-index: 1001;
	text-align: right;
	}

#wrapper {
	width: 98%;	
	max-width: 960px;
	margin: auto;
	padding: 1%;
	position: relative;
	}

#content {
	width: 100%;	
	max-width: 960px;
	padding-top: 30px;
	position: relative;
	clear: both;
	}

.clear {
	clear: both;
	}

/* Header */

header {
	position: relative;
	}

header h1 {
	text-indent: -9999px;
	display: none;
	}

/* Footer */

footer {
	clear: both;
	background-color: #919191;
	height: auto;
	font-size: 0.7em;
	color: #ffffff;
	text-align: center;
	padding: 6px;
	top: 40px;
	position: relative;
	}

/* Powered */

#powered {
	clear: both;
	padding: 0;
	text-align: center;
	}

#powered p {
	margin: 0;
	padding: 0;
	}

#powered a {
	color: #365691;
	}

#powered a:hover {
	color: #ffffff;
	}

/* Logo */

#logo {
	display: block;
	}

/* Dea della Giustizia */

#iustitia {
	width: 213px;
	height: 368px;
	display: block;
	position: absolute;
	z-index: 1001;
	background-image: url(../images/dea-della-giustizia-iustitia.png);
	background-position: top;
	background-repeat: no-repeat;
	left: 726px;
	top: 20px;
	}

#iustitia_en {
	width: 213px;
	height: 368px;
	display: block;
	position: absolute;
	z-index: 1001;
	background-image: url(../images/dea-della-giustizia-iustitia.png);
	background-position: top;
	background-repeat: no-repeat;
	left: 786px;
	top: 20px;
	}

#iustitia h1 {
	text-indent: -9999px;
	display: none;
	overflow : hidden;
	width: 1px;
	height: 1px;
	}
		
/* Nav */

#mainmenu {
	margin-top: 40px;
	right: 0;
	width: 960;
	background-color: #5f9595;
	text-align: left;
	font-size: 1.1em;
	text-transform: uppercase;
	padding: 4px;
	z-index: 1002;
	}
	
#mainmenu li {
	display: inline;
	margin-right: 7px;
	margin-left: 7px;
	font-size: 0.8em;
	}

#mainmenu ul {
	z-index: 1005;
	}

/* Liberty and Quote */

#liberty {
	float: left;
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	z-index: 1000;
	}

#quote {
	margin: 0 auto;
	width: 500px;
	height: 200px;
	background-image: url(../images/quotes.png);
	background-position: top;
	background-repeat: no-repeat;
	text-align: center;
	position: relative;
	}

#quote-text {
	margin-left: 40px;
	padding-top: 20px;
	width: 510px;
	text-align: left;
	position: relative;
	font-family: 'Italianno', cursive;
	font-size: 2.7em;
	line-height: 0.9em;
	}

#quote-author {
	margin-left: 200px;
	padding-top: 10px;
	width: 500px;
	text-align: left;
	position: relative;
	font-size: 0.3em;
	font-family: 'Merriweather Sans', sans-serif;
	}

/* Boxes */

.box {
	width: 277px;
	height: 296px;
	background-color: #5f9595;
	border: solid;
	border-color: #5f9595;
	border-width: 5px;
	margin-right: 12px;
	margin-left: 19px;
	float: left;
	}

.box p {
	text-align: center;
	color: #ffffff;
	padding: 10px;
	text-transform: uppercase;
	}



/* Column */

#main {
	width: 60%;
	margin-right: 5%;
	float: left;
	}

#main p {
	text-align: justify;
	}		
		
#main h2 {
	text-transform: none;
	text-align: left;
	color: #5f9595;
	font-size: 1.2em;
	padding-top: 30px;
	padding-bottom: 10px;
	}		

#main h3 {
	text-transform: none;
	margin-bottom: -6px;
	text-align: left;
	}	

aside {
	width: 35%;
	float: right;
	padding-top: 100px;
	}

aside p {
	text-align: right;
	font-size: 0.9em;
	width: 280px;
	float: right;
	line-height: 1.5em;
	}

aside a:link {
	color: #5f9595;
	}

aside a:hover {
	color: #404041;
	}

#map {
	width: 330px;
	height: 400px;
	text-align: right;
	}

/* Button */

.professionisti {
	margin-top: 20px;
	width: 260px;
	padding: 8px;
	text-align: center;
	background-color: #5f9595;
	float: right;
	}

.professionisticurrent {
	margin-top: 20px;
	width: 256px;
	padding: 8px;
	text-align: center;
	background-color: #ffffff;
	border: solid;
	border-width: 2x;
	border-color: #5f9595;
	float: right;
	}

.professionisti p {
	margin: 0;
	}

.professionisti a:link {
	color: #ffffff;
	}

.professionisti a:hover {
	color: #6f6c6c;
	}