/* Start of CMSMS style sheet 'Monesi: Layout' */
* {
	margin: 0;
	padding: 0;
}
body {
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 1em;
}
div {
	font-size: 1em;
}
img {
	border: 0;
}
a, a:link a:active {
	text-decoration: underline;
	background-color: transparent;
	color: #18507C;
}
a:visited {
	text-decoration: underline;
	background-color: transparent;
	color: #18507C;
}
a:hover {
	text-decoration: none;
	background-color: transparent;
	color: #385C72;
}
.img-dx {
  float: right;
  margin: 0.2em 0 0.2em 1em;
}
.img-sx {
  float: left;
  margin: 0.2em 1em 0.2em 0;
}
.clearb{
 clear: both;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
	background: #333333;
}
div#pagewrapper {
        width: 960px;
        margin: 0 auto; /* pagina centrata  */
        background: url(images/sfondo.jpg) no-repeat 0 30px;
}
div#header {
        position: relative;
	height: 480px;
	margin: 0;
	padding: 0;
}
div#header h1 a {
	display: block;
        margin: 0;
        height: 99px;
        width: 400px;
        position: absolute;
        top: 60px; left: 60px;
	text-indent: -999em;
	text-decoration: none;
        background: url(images/scritta.gif) no-repeat 0 0;
}
html>body div#header h1 a {
        background: url(images/scritta.png) no-repeat 0 0;
}
div#header h1 {
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
}

div.crbk {
	margin: 0;
	padding: 0;
	background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}


div#content {
	margin: 0;
	padding: 0;
}
.main-top {
       height: 30px;
       line-height: 30px;
       padding: 0;
}
.angolo-top-left {
       float: left;
       width: 20px;
       background: url(images/angolo-top-left.gif) no-repeat 0 0;
}
html>body .angolo-top-left {
       background: url(images/angolo-top-left.png) no-repeat 0 0;
}

.angolo-top-right {
       float: right;
       width: 20px;
       background: url(images/angolo-top-right.gif) no-repeat 0 0;
}
html>body .angolo-top-right {
       background: url(images/angolo-top-right.png) no-repeat 0 0;
}
.main-top h2 {
       float: left;
      width: 920px;
      background: #c00;
      color: #fff;
      font-size: 16px;
}

div.main-main {
       padding: 20px;
      border-left: 2px solid #c00; 
      border-right: 2px solid #c00;
      background: #eee;
}

.main-bottom {
       height: 15px;
       line-height: 15px;
       padding: 0;
}
.angolo-bottom-left {
       float: left;
       width: 15px;
       background: url(images/angolo-bottom-left.gif) no-repeat 0 0;
}
html>body .angolo-bottom-left {
       background: url(images/angolo-bottom-left.png) no-repeat 0 0;
}
.angolo-bottom-right {
       float: right;
       width: 15px;
       background: url(images/angolo-bottom-right.gif) no-repeat 0 0;
}
html>body .angolo-bottom-right {
       background: url(images/angolo-bottom-right.png) no-repeat 0 0;
}
.main-bottom .centro {
       float: left;
      width: 930px;
      background: url(images/bottom-center.png) repeat-x 0 0;
}


div#footer {
      margin: 5px auto;
      color: #eee;
      font-size: .8em;
      text-align: center;
}



/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */

/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.2em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */
/* End of 'Monesi: Layout' */

