@import url(layout.css);
@import url(menus.css);
@import url(editor.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: arial, verdana, "trebuchet ms", "luxi sans", helvetica, sans-serif;
    font-size: 70%;
    line-height: 145%;
    margin:0;
    padding: 0 5px 0 5px;
    color: #000000;
    background-color: #F1FCFE;;
}

a {
    color: #393975;
    font-weight: bold;
}

/*
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: #760000;
    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;*/
    border-collapse: collapse;
    border-style: solid;
    border-width: 1px;
    border-color: #000080;
    
}

/*
the actual border should be visible only when border-width is re-declared
------------------------------------------------------------------[important note] */

th {
    color: #000080;
    background-color: #f3f3f3;
}

thead { }

tfoot {
    font-weight: bold;
    background-color: #f3f3f3;
}

th, td {
    padding: 1px 3px;
    height: auto;
}

td { 
    background-color: #F1FCFE;
    border-style: solid;
    border-width: 1px;
}

/*
General text and related selectors 
-------------------------------------------------------------------------[comment] */

h1, h2, h3, h4 {
    /* font-family: arial, helvetica, tahoma, sans-serif;*/
    font-weight: bold;
    line-height: 120%;
    color: #760000;
    padding: 0;
    margin: .5em 0 0em 0;
}

/*
page headers - shared typography and positioning 
-------------------------------------------------------------------------[comment] */

h1 { font-size: 130%; }
h2 { font-size: 120%; }
h3 { font-size: 110%; }
h4 { font-size: 100%; }
p { margin: .5em 0 0 0; }

pre {
    color: #6F004A;
    font-size: 95%;
    font-family: monaco, courier, monospace;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

ul li {
    padding-left: 20px;
}

/* reset background on all pre-styled li elements for good browsers */
ul li[style] { 
	background-image: none; 
}

blockquote {
    color: #333366;
    margin: 2em;
}

code {
    color: #6F004A;
    font-family: monaco, courier, monospace;
}

sup, sub {
    font-size: 95%;
    font-weight: normal;
}

/*
Form elements 
-------------------------------------------------------------------------[comment] */

form {
    margin: 1em 0;
    padding: 0;
    display: block;
}

button { border: 2px outset #f0f0f0; }

input, select, textarea {}

legend {
    color: #760000;
    border: 1px solid #aaaaaa;
    margin: 0 -1px;
    padding: 1px 5px;
    font-weight: bold;
    min-width:15em;
    display:block;
    background-image: url(../images/gradients.png);
    background-position: 0px -410px;
    background-repeat: repeat-x;
}

fieldset {
    border: 1px solid #aaaaaa;
    margin: 1em 0;
    padding:5px;
    min-width: 98%;
}

label.xar-form-label {
    padding: 2px;
    text-align: left;
    padding-left: 5px;
    margin: 0 5px 0 0;
    font-weight: bold;
    color: #333366;
    background-color: #F1FCFE;
    /*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: #35356A;
    font-size: 95%;
    /*font-family: Helvetica, Arial, sans-serif;*/
    font-weight: bold;
}

hr {
    width: 100%;
    color: #3F3F3F;
    height:1px;
}

/* 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 { 
	margin-bottom:0; 
	padding-bottom:0; 
	color: #006633; 
}

.xar-block-title, .xar-block-title-right {
	font-weight: bold;
	font-size: 110%;
	padding: 0 4px 0 0;
	color: yellow;
	background-color: #006633;
	padding-left: 5px;
}

.xar-block-body, .xar-block-body-right {
	border: 2px solid #BFBFD9;
	background-color: #DFE4D6;
}

#xc-center-wrapper .xar-block-body{
	border: 2px solid #BFBFD9;
	background-color: #DDEAFA;
}

.xar-block-foot,
.xar-block-foot-right { margin-bottom: 10px; }

/*
topnav block group classes 
-------------------------------------------------------------------------[comment] */

.xar-block-head-topnav { }
.xar-block-title-topnav { }
.xar-block-body-topnav { }
.xar-block-foot-topnav { }

/*
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 #A0B8E5;
}

.xar-block-center-topitem{
	border: 2px solid #000080;
}

.xar-block-head-center-topitem { 
    width: 100%;
    background-color:#F1FCFE;
  }

.xar-block-title-center-topitem {
	font-weight: bold;
	font-size: 110%;
	padding: 0 4px 0 4px;
	color: #800000;
	background-color: #F1FCFE;
}

.xar-block-body-center-topitem {
	padding: 0 4px 0 10px;
	background-color:#F1FCFE; 
}

.xar-block-foot-center-topitem {
    width: 100%;
}

/*
module rendering area and related rules 
-------------------------------------------------------------------------[comment] */

.xar-mod-head, .xar-mod-body, .xar-mod-foot { 
	border: 1px solid #cccccc; 
}

.xar-mod-head {
    padding: 3px 10px;
    margin: 4px 0 0 0;
    text-align: left;
    color: #35356A;
    background-color: #ffffff;
    border-bottom: 0 none;
}

.xar-mod-title {
    font-size: 130%;
    color: #000080;
    background-color: #FAE404;
    padding-left: 3px;
}

.xar-mod-body {
    padding: 5px 5px;
    margin:0;
}
 
.xar-mod-foot {
    border-top: 0 none;
    padding: 3px 10px;
}

/*
complementary styling - colors, backgrounds and outlines 
-------------------------------------------------------------------------[comment] */

.xar-alt { background-color: #f0f0f0; }
.xar-accent { background-color: #F1FCFE; }

.xar-alt-outline {
    border-color: #35356A;
    border-width: 1px;
    border-style: solid;
}

.xar-accent-outline {
    border-color: #35356A;
    border-width: 1px;
    border-style: solid;
}

.xar-norm-outline {
/*
      border-color: #363636;
      border-width: 1px;
      border-style: solid;
*/
}

/*
complementary text related styling
-------------------------------------------------------------------------[comment] */

.xar-sub {
    font-size: 80%;
    padding: 0 0 0 2em; }

.xar-error { 
    background-color : #800000;
    color: white;}
.xar-title { font-weight: bold; }
.xar-ufficio { font-size: 80%; }

/*
not sure if we still using this rule anywhere TODO: check
-------------------------------------------------------------------------[comment] */

/* THEME SPECIFIC ANONYMOUS CLASSES  [gen_heading] */
.xar-sidebox {font-size:90%;}

div.xar-block-body-topnav li, div.xar-block-body-topnav ul {
    display: inline;
    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 h1 { display: none; }


div.xar-block-body-topnav .xar-menu-section ul li a {
    display: inline;
    padding-right: .5em;
    padding-left: .5em;
}

/* all links should display horizontally in topnav block in this theme */
div.xar-block-body-topnav {
    margin: 2px 0;
    padding: 2px 0;
    background-color:#ffffff;
}

/* MISCELLANEOUS [gen_heading] */

abbr, acronym, .help {
    border-bottom: 1px dotted #999;
    cursor: help;
}

.nascosto {
color : #fff; 
font-size : 0%;
position : absolute;
left: -18000px;
}


