body {
    background-color: #ffffff;
    font-size: 12px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height:1.25em;
    //color: #0063dc;
    color: #444444;
    margin: 0;
    padding: 2em 0 2em 0;
}

img {
    border: 0;
}

abbr, acronym {
    border-bottom: 1px dotted;
}

a {
    color: #0063dc;
    background-color: transparent;
    text-decoration: underline;
}

a:hover {
    color: #ff0000;
    background-color: #0063dc;
    color: #ffffff;
    text-decoration: none;
}

ul.header {
    /*width: 50%;*/
    background-color: #ff0084; // rossastra
    color: #ffffff;
    /*text-align: right;*/
    padding: 0 10px 2px 10px;
    border-bottom: 2px solid #0063dc;
    font-weight: bold;
    left: 0;
    top: 0;
    position: absolute;
    margin: 0 0 0 0;
}

ul.header li {
    margin: 0;
    padding: 0;
    display: inline;
    font-weight: normal;
    color: #ffffff;
}

ul.header li:before {
    content: ' ';
}
ul.header li:first-child:before {
    content: ' ';
}

/* stile testo contenuto nella barra in alto */
ul.header a {
    text-decoration: none;

    font-size: 12px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height:1.25em;

    color: #ffffff;
    /* background scritte */
    background-color: transparent;
    font-weight: bold;
}
ul.header a:hover {
    color: #0063dc;
    background-color: transparent;
}
.footer {
	text-align: center;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 40px;
        color: #999999;
	/*margin-right: 20px;*/
}

h1 {
    text-align: center;
    padding-left: 8%;
    margin-top: 1em;
    color: #0063dc;
    background-color: #ddeeff;
    font-size: x-large;
    border-top: 1px solid #0063dc;
    border-bottom: 1px solid #0063dc;
    clear: both;
}

/*h2:before {
    content: counter(heading2) '. ';
} */

h2 {
    margin-left: 30px;
    margin-top: 1em;
    color: #0063dc;
    font-size: large;
    /*clear: both;*/
}
h3 {
    /*padding-left: 10%;*/
    padding-top: 3em;
    margin-top: 1em;
    color: #990000;
    font-size: medium;
    /*clear: both;*/
}
h4 {
    margin-left: 30px;
    padding-top: 0em;
    margin-top: 0em;
    font-size: small;
}

/*h3:before {
    content: counter(heading2) '.' counter(heading3) '. ';
} */

h5 {
    padding: 3em 0 0 0;
    margin: 10px 5% 2px 5%;
    font-weight: bold;
    color: #000099;
    background-color: #ffffff;
/*    counter-increment: heading4; */
}

/* h4:before {
    content: counter(heading2) '.' counter(heading3) '.' counter(heading4) '. ';
} 

h5 {
    counter-increment: heading5;
}

h5:before {
    content: counter(heading2) '.' counter(heading3) '.' counter(heading4) counter(heading5,lower-alpha);
} */

p {
    margin: 2px 5% 1em 5%;
}

ul {
    margin: 2px 5% 2px 5%;
}

pre {
    margin: 1em 5% 1em 5%;
    border: 1px solid silver;
    color: #0063dc;
    background-color: #eeeeee;
    padding: 0.5em;
}

.important {
    color: #bb0000;
    background-color: #ffeeee;
    padding: 0 0.5em 0 0.5em;
}

p.footnote {
    margin: 0 5% 2px 7%;
    padding-top: 3em;
}

p.footnote:first-line {
    margin-left: -2%;
}

div#mainsearchbox {
  font-size: medium;
  font-weight: bold;
  color: #333333;
  text-align: center;
  background: url(../img/yellow_blend.png) repeat-x;
  width:640px;
  height:40px;
  padding:4px 0 4px 7px;
}

div#mainsearchbox a {
    text-decoration: none;
    color: #990000;
}

div#mainsearchbox a:hover {
    color: #ff0000;
    background-color: transparent;
}
div#mainsearchbox input {
	margin: 10px 10px 0 0;
	padding: 0 0 0 0;
	font-size: small;
	color: #0063dc;
	font-weight: bold;
}
.instruction {
	/*background: url(img/box.gif) 100% 100% no-repeat;*/
        background-color: transparent;
        color: #444444;
	/* padding top right bottom left */
	padding: 20px 0px 10px 20px;
  	border-top: 3px solid #BCA902;
  	border-bottom: 3px solid #BCA902;
}
.mainbody {
	float: left;
	width: 70%;
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 10px;
	margin-left: 40px;
	/*margin-right: 20px;*/
}
.mainbody .title {
	margin-top: 1em;
	margin-bottom: 10px;
	background-color: transparent;
	font-size: large;
	font-weight: bold;
	//color: #0063dc;
	color: #ff0084;
}
.mainbody .smalltitle {
	margin-top: 1em;
	margin-bottom: 10px;
	background-color: transparent;
	font-size: medium;
	font-weight: bold;
	color: #0063dc;
}
.mainbody .subtitle {
	padding-top: 0em;
	margin-top: 0em;
	margin-bottom: 20px;
	font-size: small;
	font-weight: normal;
	//color: #ff0084;
	color: #0063dc;
	width: 70%;
}
.mainbody form {
	background-color: #eeeeee;
	/* padding top right bottom left */
	padding: 20px 20px 10px 20px;
  	border-left: 2px solid #0063dc;
  	border-right: 2px solid #0063dc;
  	border-top: 2px solid #0063dc;
  	border-bottom: 2px solid #0063dc;
	font-weight:bold;
        color: #333333;
	/*line-height: 20px;*/
}
.mainbody form#empty {
        background-color: transparent;
        border-left: 0px;
        border-right: 0px;
        border-top: 0px;
        border-bottom: 0px;
}
.mainbody form input {
        background-color: #ff0084;
	border: 1px solid #0063dc;
	font-size: 14px;
	color: #ffffff;
        margin: 0 0 0 0;
}
.mainbody form P {
        margin: 10px 0 3px 0;
	font-size: 14px;
}
.mainbody form .mysubmit {
	font-size: 150%;
        margin-top: 10px;
        margin-bottom: 20px;
	padding-left: 10px;
	padding-right: 10px;
}
.mainbody form .error {
	font-size: small;
	font-weight: bold;
        margin: 0 0 0 0;
        color: #990000;
	background-color: transparent;
}

.side-right {
        float: right;
        width: 20%;
        margin-top: 20px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 15px;

        /*background: url(img/box.gif) 100% 100% no-repeat;*/
        background-color: transparent;
        color: #444444;
        /* padding top right bottom left */
        padding: 20px 0px 10px 20px;
        border-top: 3px;
        border-bottom: 3px;
        font-size: small;
}

.side-right .title {
	font-variant: small-caps;
	margin-top: 0;
	margin-bottom: 15px;
	margin-left: 0;
	margin-right: 10px;
	padding-left: 0px;
	font-size: medium;
	font-weight: bold;
}
.side-right UL {
	margin-left: 0px;
	margin-right: 20px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 15px;
	list-style-type: square;
}
.side-right UL LI {
	margin-bottom: 5px;
}
.form-note {
	font-size: 85%;
	color: #999999;
	margin: 0 0 0 0;
	display: block;
}
.error {
	float: left;
	width: 75%;
	margin-left: 20px;
	font-size: medium;
	font-weight: bold;
        color: #ff0000;
}


table.greystyle{background-color:#ffffff;border-spacing:0;border-collapse:collapse;margin:0;padding:0;}
table.greystyle th {background-color:#ff0084;border:1px solid #000000;font-size:12px;color:#ffffff;padding:6px;}
table.greystyle td{border:1px solid #000000;border-collapse:collapse;padding:5px 5px;}
table.greystyle tr.odd{background-color:#e8e8e8;}
table.greystyle tr.even{background-color:#d4d4d4;}
table.greystyle a{color:#0063dc;text-decoration:underline;}
table.greystyle a:hover{color:#ffffff; background-color: #0063dc;}
