@import url(layout.css);
@import url(menus.css);

/* above are the sylesheets responsible for the common page layout and system menus - must be at top */

/* long comments moved to documentation dir readme.txt */

/*
Main (X)HTML Selectors - Typography, Colours and Positioning 
-------------------------------------------------------------------------[comment] */

body {
    font-family: verdana, tahoma, "trebuchet ms", "luxi sans",  helvetica, sans-serif;
    margin:0;
    padding: 0;
    color: #000080;
    background-color: White;
	 width: 100%;
}

input.xar-fullwidth {
	width: 100px;
}

a {
    color: #000080;
    font-weight: normal;
    }

/*
a normal link is being styled similarly across all pages, unless re-declared
-------------------------------------------------------------------------[comment] */

a:link { }
a:visited { }
a:active { }
a:hover { }

/*
leave pseudo-classes exactly in this order even if you decide to re-declare them 
------------------------------------------------------------------[important note] */

a:link:hover, a:visited:hover {
    color: #000080;
    text-decoration: underline;
} 
/*
we dont really want to underline and hilite named anchors in this theme, just links 
------------------------------------------------------------------[important note] */

/*
Tables and related selectors
-------------------------------------------------------------------------[comment] */

table {
    font-size: 100%;
    line-height: 1.35em;
    margin: 5px 0;
    /*background-color: #000080;*/
	}

/*
the actual border should be visible only when border-width is re-declared
------------------------------------------------------------------[important note] */

th {
    color: #000080;
    background-color: White;
}

thead { }

tfoot {
    font-weight: bold;
    background-color: #FFFFFF;
}

th, td {
    padding: 1px 3px;
    text-align: justify;
    }

td { background-color: #ffffff; }

/*
General text and related selectors 
-------------------------------------------------------------------------[comment] */

h1, h2, h3, h4 {
    font-family: verdana, arial, helvetica, tahoma, sans-serif;
    font-weight: bold;
    line-height: 120%;
    color: Navy;
    padding: 0;
    margin: .5em 0 .5em 0;
}

/*
page headers - shared typography and positioning 
-------------------------------------------------------------------------[comment] */

h1 { font-size: 160%; }
h2 { font-size: 150%; }
h3 { font-size: 130%; }
h4 { font-size: 120%; }
p { margin: .5em 0 0 0; }

pre {
    color: Black;
    font-size: 95%;
    font-family: monaco, courier, monospace;
}

ul {
    padding: 0;
    margin: 0;
    display: block;
        }

ul li {
    /*padding-left: 20px;*/
    background-image: none;
    background-repeat: no-repeat;
    background-position: 0 .45em;
    margin: 0px 20px 0px 20px;
    font-size: 100%;
}

/* reset background on all pre-styled li elements for good browsers */
ul li[style] { background-image: none; }

blockquote {
    color: Black;
    }

code {
    color: #000080;
    font-family: monaco, courier, monospace;
}

sup, sub {
    font-size: 95%;
    font-weight: normal;
}

/*
Form elements 
-------------------------------------------------------------------------[comment] */

form {
    margin: 1em 0;
    padding: 0;
    }

button { border: 2px outset #F2E8CF;
  color: Black;
  background-color: #FFFFFF;   }

input, select, textarea {}

legend {
    color: #000080;
    border: 1px solid #aaaaaa;
    margin: 0 -1px;
    padding: 1px 5px;
    font-weight: bold;
        background-image: url(../images/gradients.png);
    background-position: 0px -410px;
    background-repeat: repeat-x;
}

fieldset {
    border: 1px solid #000080;
    margin: 1em 0;
    padding:5px;
}

label.xar-form-label {
    padding: 2px;
    text-align: right;
    padding-left: 5px;
    margin: 0 5px 0 0;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #000080;
    border:1px solid #f0f0f0;
    clear:left;
}

/* reset for table header labels to preserve table styles */
th label {
    background-color:transparent;
    border:0 none;
    width:auto;
    margin:auto;
}

td select {width:auto;}

/*
replaced elements 
-------------------------------------------------------------------------[comment] */

img { border: 0px; }

/*
list elements 
-------------------------------------------------------------------------[comment] */

ul, li, ol { line-height: 140%; }

/* THEME SPECIFIC CLASSES [gen_heading] */
h5, h6 {
    color: Black;
    font-size: 95%;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

hr {
    width: 100%;
    color: #C1C2FF;
    height:0px;
}


/* XARAYA REQUIRED INDIVIDUAL CLASSES [gen_heading] */
td.xar-norm { }
td.xar-alt { }

/* XARAYA REQUIRED ANONYMOUS CLASSES  [gen_heading] */

/*
these defaults apply to the left and right block group 
-------------------------------------------------------------------------[comment] */

.xar-block-head,
.xar-block-head-right { color: Black; }

.xar-block-title,
.xar-block-title-right {
    font-family: Tahoma, Verdana, sans-serif;
    font-weight: bold;
    font-size: 80%;
    padding: 0 4px;
    color: White;
    background-color: #000080;
    border-top: thin solid #000000;
    border-bottom: thin solid #000000;
    border-left: thin solid #000000;
    border-right: thin solid #000000;
}

.xar-block-body,
.xar-block-body-right {
       background-color: #EEEEEE;
	font-family: Tahoma, Verdana, sans-serif;
    	font-weight: normal;
    	font-size: 80%;
	border: 1px solid Black;
	padding-left: 5px;
}

.xar-block-body-castelsardo {
	background-color: #121249;
	font-family: Tahoma, Verdana, sans-serif;
   font-weight: normal;
   font-size: 80%;
	border: 1px solid Black;
}

.xar-block-foot,
.xar-block-foot-right { margin-bottom: 2px; }

/*
topnav block group classes 
-------------------------------------------------------------------------[comment] */

.xar-block-head-topnav { }
.xar-block-title-topnav { }
.xar-block-body-topnav { background-color: #FFFFFF; }
.xar-block-foot-topnav { background-color: #FFFFFF; }

/*
center block group classes 
-------------------------------------------------------------------------[comment] */

.xar-block-head-center { width: 100%; }

.xar-block-title-center {
    /*  background-color: inherit; */
    font-weight: bold;
}

.xar-block-body-center { }

.xar-block-foot-center {
    width: 100%;
    margin-bottom: 4px;
    border-bottom: 1px solid #000080;
}

/*
module rendering area and related rules 
-------------------------------------------------------------------------[comment] */

.xar-mod-head, .xar-mod-body, .xar-mod-foot { border: 1px solid #000080; }

.xar-mod-head {
    padding: 3px 10px;
    margin: 4px 0 0 0;
    text-align: center;
    font-weight: bold;
    color: White;
    background-color: #ffffff;
    background-image: url(../images/gradients.png);
    background-position: 0px -147px;
    background-repeat: repeat-x;
    border-bottom: 0 none;
}

.xar-mod-title {
    font-size: 110%;
    font-weight: bold;
    color: White;
}

.xar-mod-body {
    padding: 5px 10px;
    margin:0;
}
 
.xar-mod-foot {
    border-top: 0 none;
    padding: 3px 10px;
}

/*
complementary styling - colors, backgrounds and outlines 
-------------------------------------------------------------------------[comment] */

.xar-alt { background-color: White; }
.xar-accent { background-color: #FFFFFF; }

.xar-alt-outline {
    border-color: #FFFFFF;
    border-width: 1px;
    border-style: solid;
}

.xar-accent-outline {
    border-color: #000080;
    border-width: 1px;
    border-style: solid;
}

.xar-norm-outline {
    border-color: #000080;
    border-width: 1px;
    border-style: solid;
}

/*
complementary text related styling
-------------------------------------------------------------------------[comment] */

.xar-norm { 
	background-color: #FFFFFF; 
	vertical-align: middle;
}
.xar-sub { font-size: 80%; }
.xar-error { color: #ff0000; }

.xar-title { 
	font-weight: bold; 
	font-size: 80%;
}
.xar-centrato { text-align: center; }

.xar-vecchio-sito a {
	color: White;
   text-decoration: none;
}

.xar-vecchio-sito a:hover {
	color: White;
   text-decoration: none;
}

/*
not sure if we still using this rule anywhere TODO: check
-------------------------------------------------------------------------[comment] */

/* THEME SPECIFIC ANONYMOUS CLASSES  [gen_heading] */
div.xar-block-body-topnav li, div.xar-block-body-topnav ul {
    list-style-type: none;
    padding: 0 5px;
    margin: 0;
    border: 0;
} /*
since topnav group is available by default, we should take care of it
-------------------------------------------------------------------------[comment] */

/* hide section heading [gen_heading] */
div.xar-block-body-topnav .xar-menu-section h4 { display: block; }


div.xar-block-body-topnav .xar-menu-section ul li a {
    padding-right: .5em;
    padding-left: .5em;
	 font-size: 80%;
}

/* all links should display horizontally in topnav block in this theme */
div.xar-block-body-topnav {
    border-color: #000080;
    border-width: 1px;
    border-style: solid;
    margin-bottom: 2px;
    padding: 2px 0;
}

div.cunc-block-articoli {
    border-width: 0px;
    margin-bottom: 2px;
    padding: 2px 4px 0px 4px;
}

/* MISCELLANEOUS [gen_heading] */

abbr, acronym, .help {
    border-bottom: 1px dotted #999;
    cursor: help;
}

input.xar-fullwidth {
	width: 120px;
}

div.cunc-body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 80%;
}

.linea-bt td {
	border-top: 0px none;
	border-left: 0px none;
	border-right: 0px none;
	border-left-width: 0px;
	border-right-width: 0px;
	border-style: none none solid none;
	border-bottom: 1px solid #AAAAAA;
	border-width: 0px 0px 1px 0px;
}

.sfondo_azzurro td {
	background-color: #66ffff;
}

.titarthp
{
	background: #EEEEEE;
}

.sum_art_home {
	font-family: verdana, arial, helvetica, tahoma, sans-serif;
   margin: 0;
   font-weight: normal;
   background-color: #FFFFFF;
   list-style: none;
}

.last_news_block {
	line-height:12px;
	background: #EEEEEE;
	list-style: none;
	display: block;
	margin-bottom: 8px;
}
/*td.linea-bt {
	border-bottom: 1px solid;
	border-color: Black;
}*/
