span#logo  { position: absolute; z-index: 10000; top: 25px; left: 21px; width: 500px; height: 68px }
td.left ul { list-style-type: none; margin: 0 5px; padding: 1px 0 10px }
td.left ul li  { list-style-type: none; display: inline }
td.left ul li a  { margin-bottom: 1px }
td.left ul li a:link   { padding: 3px }
td.left ul li a:hover   { padding: 3px }
td.right ul    { list-style-type: none; margin: 0 5px; padding: 0 }
td.right ul li    { margin: 0; padding: 0 }
div#horiz-menu    { color: #3e3e3e; background-color: #2c6499; padding-bottom: 5px; height: 22px; border-top: 1px solid #fff }
div#horiz-menu #nav ul li a   { color: #fff; padding: 0 5px }


div#top-head        { background-image: url("../images/light/bg.gif"); background-repeat: no-repeat; background-position: left top; height: 92px }

.moduletablericerca     { background-image: url("../images/new/bg-menu-ricerca.gif"); background-repeat: no-repeat; background-position: right top; padding-bottom: 10px; padding-left: 10px }

#access {
	position: absolute;
	z-index: 10000;
	top: 25px;
	right: 12px;
	width: 300px;
	height: 16px;
	overflow: hidden;
}

.buttonricerca  { color: #fff; font-size: 11px; background-color: #2c6499; text-transform: uppercase; margin: 5px 0 0; padding: 0; border: solid 1px #00356a }

.moduletableassociazionimenu   { background-image: url("../images/new/elenco-associazioni.gif"); background-repeat: no-repeat; background-position: left top; height: 80px }
.moduletablebibliotecamenu   { background-image: url("../images/new/biblioteca.gif"); background-repeat: no-repeat; background-position: left top; height: 80px }
#lavorimenu  { background-image: url("../images/new/sensi-unici.gif"); background-repeat: no-repeat; background-position: left top; height: 80px }

#associazionimenu_level0 a, #bibliotecamenu_level0 a, #lavorimenu_level0 a { text-decoration: none; width: 165px; height: 70px }
#associazionimenu_level0 span, #bibliotecamenu_level0 span, #lavorimenu_level0 span { visibility: hidden }

.moduletableassociazionimenu .sidepad a:link  { border: none }

.moduletablecomunemenu, .moduletableamministrazionemenu, .moduletableufficimenu, .moduletableservizimenu   { padding-bottom: 10px; padding-left: 10px }
.moduletablecomunemenu td, .moduletableamministrazionemenu td, .moduletableufficimenu td, .moduletableservizimenu td {padding-bottom: 10px;}

.moduletableprova1     { line-height: 18px; background-image: url("../images/new/news-giornale.gif"); background-repeat: no-repeat; background-position: left top; margin-top: 10px; margin-bottom: 10px; padding-top: 80px; padding-bottom: 10px; border-top: 1px solid #ececec; border-bottom: 1px dashed #2c6499 }
.minifp-introtitle  { font-size: 15px; font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, sans-serif; font-weight: normal }

.moduletableprova2  { line-height: 18px; margin-top: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #2c6499 }


.sublevelufficimenu  { margin-left: 10px; padding-left: 5px; border-left: 1px solid #e7e7e7 }


.contentpaneopen ul  { font-size: 12px }
.contentpaneopen ul li  { line-height: 2 }
.contentpaneopen ul li a  { color: #8d3e13; }
.level_0  { font-weight: bold }

/* custom stuff */
div.gk_news_show{}
	div.gk_ns_first_news_container{}
		a.gk_ns_first_news_image_link{}
			img.gk_ns_image{}
		a.gk_ns_first_news_title_link{font-size:24px;}	
			h4.gk_ns_first_news_header{}
		h5.gk_ns_first_news_info{}
		a.gk_ns_first_news_text_link{}
			p.gk_ns_first_news_content{}
		a.gk_ns_first_news_readmore{}
	ul.gk_ns_rest_news{}
		li.gk_ns_rest_news_pos{}
			a.gk_ns_rest_news_pos_link{}

html {
  height: 100%;
  margin-bottom: 1px;
}


body   { margin: 10px 0 0; padding: 0 }

p {
  margin-top: 0;
  margin-bottom: 5px;
}

fieldset {
	border: 0;
	padding: 5px 0;
}

span.pathway {
	display: block;
	vertical-align: middle;
	margin-top: 5px;
	font-weight: normal;
}

span.pathway img {
  padding: 0px 10px;
  vertical-align: middle;
}

span.pathway a {
  line-height: 150%;
}

div#pathway {
	margin-bottom: 10px;
	padding-left: 8px;
}

a.readon {
  line-height: 300%;
}

/*** fonts ***/
body {
		line-height: 125%;
		font-family: Tahoma, Helvetica, sans-serif;
}

/* size attributes */

body.f-smaller {
	font-size: 10px;
}

body.f-default {
	font-size: 11px;
}

body.f-larger {
	font-size: 13px;
}

.small,
.modifydate,
.createdate,
div.mosimage_caption {
	font-size: 90%;
}

#nav a,
#inset a {
	font-size: 100%;
}

div.moduletable h3,
div.moduletable-hilite h3,
td.side h3,
.componentheading {
	font-size: 1em;
	line-height: 100%;
}

table.outer .contentheading  { font-size: 150%; font-weight: normal; line-height: 100%; padding-top: 15px; padding-bottom: 0 }

div.componentheading {
  text-transform: uppercase;
	font-weight: normal;
}

div#access-bar {
	height: 20px;
}

/* font family */
h1,
h2,
h3,
h4,
h5,
.contentheading,
.componentheading,
.sectiontableheader {
	font-family: Tahoma, Helvetica, sans-serif;
	font-weight: bold;
}

a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* component heading */

.componentheading {
	margin-top: 6px;
	margin-bottom: 10px;
	margin-left: -4px;
	margin-right: -4px;
	padding: 6px;
}

/* module settings */

div.moduletable h3,
div.moduletable-hilite h3 {
  text-transform: uppercase;
	font-weight: normal;
  padding: 5px; 
  margin: 0 -5px 5px -5px;
}

div.moduletable,
div.moduletable-hilite {
	margin-bottom: 5px;
	padding: 6px 5px;
}

td.left div.moduletable-hilite,
td.right div.moduletable-hilite {
	margin: 0 -6px;
	padding: 6px 12px;
	border-width: 6px 0;
	border-style:  solid;
}

/* default menu link styles */
a.sublevel {

}

a.mainlevel:hover {
	text-decoration: none;
}

td a.sublevel:hover {
	text-decoration: underline;
}

/** regular joomla menu **/

a.mainlevel {
	display: block;
	padding: 3px 0px;
	text-indent: 4px;
	width: 100%;
}

/* headings */

h1 {
	line-height: 100%;
	font-size: 200%;
}

h2 {
   line-height: 100%;
   font-size: 150%;
}

h3 { 
   line-height: 100%;
   font-size: 120%;
}

h4 {
	 line-height: 100%;
	 font-size: 110%;
}

.small,
.modifydate,
.createdate {
	font-weight: normal;
}

.modifydate {
	height: 20px;
	vertical-align: bottom;
}

.createdate {
	height: 20px;
	vertical-align: top;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
}

/** some joomla class stuff */

table.contenttoc {
  margin: 5px;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


td.buttonheading {
 	vertical-align: bottom;
}

td.buttonheading img {
	margin-right: 5px;
}

table.outer td.sectiontableheader  { font-weight: bold; line-height: 20px; padding: 0 4px }

table.outer tr.sectiontableentry1 td, 
table.outer tr.sectiontableentry2 td,
table.outer td.sectiontableentry1, 
table.outer td.sectiontableentry2 {
  padding: 4px;
}

table.contentpaneopen, table.contentpane {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  width: 100%;
}

table.contentpaneopen td p {
  padding-right: 10px;
}

div.contentpane, div.contentpaneopen {
  width: 100%;
}

.clr {
	clear: both;
}

div.mosimage {
  margin: 5px;
}


table.adminform textarea {
  width: auto;
  color: #666;
}

/** width stuff **/

.w-wide div.wrapper {
	width: 950px;
}

.w-thin div.wrapper {
	width: 775px;
}

.w-fluid div.wrapper {
	
}

/** template layout stuff **/

body {
	height: 100%; 
	padding: 0;
	margin-bottom: 1px;
}

div.wrapper {
	margin: auto;
	position: relative;
}



table.outer,
table.nopad {
	width: 100%;
	border:  0;
	padding:  0;
}

table.outer tr,
table.nopad tr {
	vertical-align:  top;
}

table.outer td,
table.nopad td {
	padding: 0;
}

table.nopad td {
  width: 33%;
  padding-right: 6px;
}







div#color-insert {
	position:  absolute;
	z-index: 1;
	top:  32px;
	left: 23px;
	width: 28px;
	height: 50px;	
}

div#top-mod {
	margin: 10px 5px 10px 370px;  /* 370 here is to make room for the logo */
	height: 47px;
	overflow: hidden;
}




table.outer td.left { padding-top: 5px;
	width:  22%;
}



table.outer td.right { padding-top: 5px;
	width:  22%;
	
	
}

div.path-padding {
  padding: 0 10px;
}

div.padding {
  padding: 0px 10px 20px 10px;
}

div.smallpad {
  padding-left: 6px;
}

div.sidepad {
  padding: 0 6px;
}

div.midbox {
	border-width:  6px 0 0 0;
	padding-left: 6px;
	border-style:  solid;
  	margin-bottom: 6px;
}

div.botbox {
	border-width:  6px 0 0 0;
	padding-left: 6px;
	border-style:  solid;
	margin-top: 15px;
	margin-bottom: -1px;
}

div#bot-footer { line-height: 38px; padding-left: 30%; height: 38px }

div#bot-footer a:hover {
	text-decoration: underline;
}

#bot-rocket {
	text-align: center;
}

span.rocket {
	margin: 10px auto;
	display: block;
	position: relative;
	width: 137px;
	height: 35px;
}

/* accessibility stuff */


#access span {
	background-repeat: no-repeat;
}

#access a {
	text-decoration: none;
}

#access .spacer {
	display:  block;
	float:  right;
	width: 10px;
	overflow:  hidden;
}

#access #buttons {
	float: right;
}

#access .button {
	display: block;
	float: right;
	width: 16px;
	height: 16px;
	margin-left: 4px;	
	background-repeat: no-repeat;
}

/* some page content things */

.hide {
	display: none;
}


form {
	border: 0;
	margin: 0;
	padding: 0;
}

table.blog span.article_seperator {
	display: block;
	height: 20px;
}

blockquote {
	margin: 10px 0;
	line-height: 140%;
	padding: 10px;
}

pre {
	padding: 10px;
}

table.pollstableborder td {
	text-align: left;
	padding: 2px 0;
}
