@charset "utf-8";

html {
	background-color: #fff;
}

html * { 
	margin: 0;
	padding: 0;
	font-size: 100.1%;
}
	 
a {
	text-decoration: none;
	color: #000;
}

abbr { 
	border: none;
	}
	
div#nav a:hover {
	color: red;
	}

a.akt {
	color: red;
	}

a img {
	border: 0 none;
}

body {
	font: 700 1.0em "Bitstream Vera Sans", Verdana, Geneva, Helvetica, Arial, sans-serif;
	color: #000;
	text-align: center;
	background-color: #fff;
	padding-top: 10%;
}

/*  ======================== HOME ===================  */

div#square:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

div#nav ul, div#square ul  {
	list-style: none;
	width: 760px;
	margin: 0 auto;
}

div#nav ul li {
	display: inline;
	width: 20%;
	float: left;
	margin: 15px auto 0;
	font-size: 1.3em;
	font-weight: normal;
}

div#square ul {
	display: block;
	clear: both;
}

div#square ul li {
	display: inline;
	float: left;
}
	
div#square ul li span, div#square ul li a, div#square ul li div#b3 {
	display: block;
	width: 130px;
	height: 130px;
	border: 1px solid #000;
	margin: 10px;
}

div#square ul li :link:hover {
	background-position: -1px -1px;
	}
	
div#foot {
	font-size: 0.75em;
	line-height: 1.7em;
	width:760px;
	margin: 1.5em auto 1em;
}

/* ===============  PAGINE SINGOLE ===================   */
div.maincontent {
		float: right;
		width: 560px;
		margin-top: 10px;
		margin-right: 10px;
		min-height: 690px;
		padding: 20px;
		text-align: left;
		font-size: 0.9em;
		}
		
div.maincontent h1 {
		margin: 20px auto;
		font-size: 1.9em;
		text-align: center;
		color: #fff;
		}
		
div.maincontent p {
		margin: 15px auto 10px;
		text-align: justify;
		}
		
div.maincontent p.descr {
		font-size: 1.2em;
		font-weight: bolder;
		}
		
div.maincontent p.slika {
		text-align: center !important;
		}
		
div.maincontent p.slikatext {
		text-align: center !important;
		font-size: 0.8em !important;
		font-style: italic;
		}

div#backtop {
		float: right;
		text-align: right;
		height: 60px;
		position: relative;
		left: -598px;
		}
		
div#backtop span {
		display: block;
		background-color: #fff;
		width: 60px;
		height: 60px;
		float: right;
		border: 1px solid #000;
		margin-left: 8px;
		}
		
div#backtop span#gotop {
		background-color: #000;
		background-image: url(top.gif);
		}
		
div#backtop span#gotop a {
		display: block;
		width: 100%;
		height: 100%;
		}
		
div#square ul li a, div#square ul li span a {
		background-position: bottom right;
		}