/*  screen.css - MoinMoin Default Styles + apg23 skin

Copyright (c) 2001, 2002, 2003 by Juergen Hermann
*/

/* content styles */

/* debug 
* {border: 1px dotted blue;}
*/

body {
    padding: 0;
    border: 0;
}

a:link { color: #47f; text-decoration: none; }
a:link:hover, a:link:active { text-decoration: underline; color: green; }
a:visited { text-decoration: none; color: #04a;}
a:visited:hover { text-decoration: none; color: red; }
a.nonexistent:link { color: #666 }
a.nonexistent:hover { color: black; text-decoration: underline }

a.download {
    font-size: 120%; 
    letter-spacing: 0.05em;
    font-weight: bold;
    background: #E7E7E7;
    border: 1px solid #9C9C9C;
    padding: 0.5em;
    text-align: center;
}

input {
    /* does strange effect to button (text size becomes bigger when clicking)
    font-size: 1em;
    font-family: Arial, Lucida Grande, sans-serif;
    */
}

textarea {
    font-size: 1em;
    font-family: monospace;
}

.disabled {
    /* IE ignore disabled attribute, but at least show items in gray */
    color: gray;
}

/* user interface styles */

#header {
    margin: 0 5px 0 5px;
    padding: 1px;
    background: #e6eaf0;
    line-height: 1.1em;
}

#logo {
    float: left;
    margin: 5px 10px;
    padding: 0;
    /* For text only logo */
    font-size: 1.4em;
    line-height: 1em;
    font-weight: bold;
}

*[dir="rtl"] #logo {
    float: right;
}

#logo img {
    vertical-align: middle;
}

#logo a {
    color: black;
    text-decoration: none;
}


#username {
    display: block;
    margin: 4px 12px 0px 12px;
    padding: 0;
    font-size: 0.82em;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
}

#username form {
    display: inline;
}

#username input {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: blue;
    font-size: 0.82em;
    cursor: pointer;
}

#username input:hover {
    color: red;
}

#searchform {
    margin: 4px 0.5em 8px 0.5em;
    padding: 0;
    font-size: 0.82em;
    float: right;
    clear: right;
    text-align: right;
}
*[dir="rtl"] #searchform {
    float: left;
    clear: left;
    text-align: left;
}
#searchform input {
    font-size: 100%;
    vertical-align: middle;
}
#pagetrail {
    clear: right;
    display: inline;
    margin: 0 0.88em 0.25em 0.88em;
    padding: 0;
    font-size: 0.88em;
}

*[dir="rtl"] #pagetrail {
    clear: left;
}

#interwiki {
    font-size: 1em;
}

#locationline {
    padding: 0;
    font-size: 100%;
    font-weight: normal;
    margin: 0.25em 12px 5px 12px;
    clear: right;
}
*[dir="rtl"] #locationline {
    clear: left;
}

#pagelocation {
    font-size: 1.5em;
    letter-spacing: 0.05em;
}


*[dir="rtl"] #pagetrail span.sep {
    visibility: hidden;
}
*[dir="rtl"] #pagetrail span.sep:after {
    content: " « ";
}

#navibar {
    clear: both;  /* problem: clear: right; aligns nicely right of logo,
                    but lets it float high in the header, disconnected from ground */
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    /*float: right;*/
    margin: 0 0 0 10px;
    background-color: white;
    padding: 10px 0 10px 0;
    font-size: 0.9em;
    zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
    /*border: 1px solid #aaaaaa;*/
}

#navibar li {
    /*float: left;
    display: inline;*/
    display: block;
    margin:  1px 0 1px 0;
    padding: 5px 2px 2px 12px;
    /*border: 1px solid #acd;
    border-bottom: none;*/
    white-space: normal;
    width: 150px;
    /*background-color: #eeeeee;*/
    background-image: url(../img/navtree-bullet.gif);
    background-repeat: no-repeat;
    background-position: 2px 9px;
    line-height: 15px;
    overflow: hidden;
}
/*
*[dir="rtl"] #navibar li {
    float: right;
}
*/
#navibar li.wikilink {
    /*background: white;*/ /*url(../img/tab-wiki.png) repeat-x;*/
}
#navibar li.wikilink a:link, #navibar li.wikilink a:visited {
    color: #333333;
} 
#navibar li.userlink {
    background: #E6EAF0; /*url(../img/tab-user.png) repeat-x;*/
}

#navibar a, #navibar a:visited {
    color: #666666;
    text-decoration: none;    
}

#navibar li.current a {
    font-weight: bold;
    color: #333333;
}

#navibar li:hover {
    background-color: #d6e4f9;
}

#navibar li.current, #navibar li.current:hover {
    /*background: #81BBF2; /* url(../img/tab-selected.png) repeat-x; */
    /*border: 1px solid #4d7da9;
    border-bottom: 1px solid #81bbf2;*/
    margin-bottom: -1px;
}

#pageline {
    clear: both;
    margin: 0;
    padding: 0;
    width: 100%;
    /* sync these values, line-height is needed for IE */
        height: 4px;
        line-height: 4px;
    border-bottom: 1px solid #4d7da9;
    border-top: 1px solid #4d7da9;
    background: #81BBF2;
}

.editbar {
    clear: both;
    display: block;
    margin: 0;
    padding: 2px 8px;
    background: #d6e4f9;
    font-size: 0.8em;
    border-bottom: 1px solid #4d7da9;
    border-top: 1px solid #4d7da9;
    margin-top: -1px;
}

.editbar form, .editbar form div {
    display: inline;
    margin: 0;
}

.editbar select {
    font-size: 100%;
    vertical-align: middle;
}

.editbar li {
    display: inline;
    padding: 0;
    margin: 4px 6px;
}

.editbar a, .editbar a:visited { color: #0044B3; }

#message {
    clear: both;
    margin: 0;
    padding: 5px 10px;
    border-bottom: 1px solid #c9c9c9;
    background: #E6EAF0;
}

#message p {
    margin: 5px 0;
    padding: 0;
    /* font-weight: bold; */
}

#message div.buttons {
    font-weight: normal;
}

.dialog form {
    margin: 0 15px;
}

.dialog td {
    border: none;
    padding: 5px;
}

.dialog td.label {
    text-align: right;
    font-weight: bold;
    width: 25%;
}

*[dir="rtl"] .dialog td.label {
    text-align: left;
}

.dialog td.content input {
    width: 100%;
}

#page {
    font-size: 0.9em;
    line-height: 1.5em;
    background-color: white;
    margin: 0 5px 0 5px;
    padding: 2px 20px 20px 20px;

   /* theses are some Firefox 1.5b1 specific extensions, see also the CSS3 draft.
   -moz-column-width: 25em;
   -moz-column-gap: 2em;
   -moz-column-rule: solid black 0.3em;     --   doesn't work yet with 1.5b1!

   TODO: make text/gui editor NOT use #page css, we don't want columns there!
    */
}

/* We use here dumb css1 ids because of IE suckiness */
#editor-textarea, #editor-help {
    font-size: 1.2em;
    font-family: monospace;
    border: 1px solid #8cacbb;  
    color: black;
    background-color: white;
    padding: 3px;
    width: 100%;
    margin-top: 0.5em;
}

#editor-help {
    font-size: small;
    background-color: #EEEEFF;
}

#editor-comment {
    font-size: 100%;
    border: 1px solid #8cacbb;
    color: black;
    background-color: white;
    vertical-align: middle;
    padding: 1px;
    display: inline;
    width: 70%;
}

#preview, #previewbelow {
    /*border: 1px solid #eeeeee;*/
    padding: 10px 0 20px 0;
    background: url(../img/draft.png);
    margin-top: 0.5em;
}

#textcha {
    font-size: 100%;
    margin-top: 0.5em;
    border: 2px solid #FF8888;
    color: black;
    vertical-align: middle;
    padding: 3px 2px;
}

#textcha-answer {
    border: 2px solid #000000;
    padding: 3px 2px;
}

input.button {
    /*
    border: 1px solid #8cacbb;  
    color: black;
    background-color: #CCCCCC;
    vertical-align: middle;
    text-decoration: none;
    font-size: 100%;
    cursor: pointer;
    margin: 2px;
    padding: 1px;
    display: inline;
    */
}

#footer {
    clear: both;
    margin: 0 5px 0 5px;
    padding: 0;
}

#credits, #version, #timings{
    margin: 5px 10px;
    padding: 0;
    text-align: center;
    font-size: 0.88em;
    color: #6C7680;
}

#credits li, #timings li {
    display: inline;
    padding: 0 2px;
    margin: 0 4px;
}

#credits img {
    vertical-align: middle;
}

.diff {
    width:99%;
}

.diff-header {
    font-weight: bold;
}

.diff-title {
    background-color: #C0C0C0;
}

.diff-added {
    background-color: #E0FFE0;
    vertical-align: sub;
}

.diff-removed {
    background-color: #FFFFE0;
    vertical-align: sub;
}

.diff-added span {
    background-color: #80FF80;
}

.diff-removed span {
    background-color: #FFFF80;
}

table.navigation {
    float: right;
    margin: 2px;
}
        
#openididentifier {
    background: url(../../common/openid.png) no-repeat;
    background-position: 0 50%;
    padding-left: 18px;
}

/* APG23 SKIN CSS */

/*h1 {
	font-size: 150%;
	font-weight: bold;
	padding: 0px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

h2 {
	font-size: 140%;
	font-weight: bold;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 15px;
	color: #000000;
	background-color: #E9E9E9;
}
h3 {
	font-size: 110%;
	font-weight: bold;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	margin: 0px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
a:link, a:visited {
	color: #333333;
	text-decoration: underline;
}
p {
	margin-top: 3px;
	margin-right: 0px;
	margin-bottom: 3px;
	margin-left: 0px;
}
a:hover {
	color: #0099CC;
	text-decoration: underline;
}
*/
#sfondo-apg23 {
				background-image: url(../img/modello_apg23_sfondo.jpg);
				background-repeat: no-repeat;
				background-position: center top;
				margin: 0px;
				padding: 0px;
				width: 100%;
				text-align: center;
}

#pagina-apg23 {
				position: relative;
				margin: 0 0 0 0;
				padding: 0 0 0 0;
}
#div-home-apg23 {
				margin: 0 auto; 
				text-align: left; 
				width: 759px; 
				position: relative;
}

#header-apg23 {
				background-image: url(../img/modello_apg23_02.jpg);
				background-repeat: no-repeat;
				background-position: center top;
				margin: 0px;
				padding: 0px;
				height: 109px;
				width: 759px;
}

#header-apg23 #link-home-apg23 a:hover, #header-apg23 #link-home-apg23 a:visited {
	color: #FFFFFF;
}


#link-home-apg23 {
				position: absolute;
				height: 15px;
				width: 90px;
				top: 88px;
				left: 650px;
}

#link-home-apg23 a {
				font-size: 10px;
				font-style: normal;
				font-weight: normal;
				color: #FFFFFF;
}

#main-apg23 {
				background-image: url(../img/modello_apg23_05.jpg);
				background-repeat: repeat-y;
				background-position: center top;
				margin: 0px;
				padding: 0 0 0 0;
				width: 759px;
}

#sfumatura-apg23 {
				background-image: url(../img/modello_apg23_04.jpg);
				background-repeat: no-repeat;
				background-position: center top;
				margin: 0px;
				width: 759px;
				padding: 0px;
				position: relative;
}

#footer-apg23 {
				background-image: url(../img/modello_apg23_07.jpg);
				background-repeat: no-repeat;
				margin: 0px;
				width: 759px;
				background-position: center bottom;
				padding-top: 5px;
				padding-right: 0px;
				padding-bottom: 20px;
				padding-left: 0px;
}

#footer-apg23 p {
				font-size: 9px;
				font-weight: normal;
				color: #333333;
				text-align: right;
				font-family: Arial, Helvetica, sans-serif;
				margin-top: 0px;
				margin-right: 10px;
				margin-bottom: 0px;
				margin-left: 0px;
}
#content h1 {
				line-height: 23px;
				font-size: 1.5em;
				margin-top: 1.4em;
				margin-bottom: 0.8em;

}

#content h2 {
				font-size: 1.2em;
				margin-top: 1.2em;
				margin-bottom: 0.1em;
}

#content h3 {
				font-size: 1.1em;
				margin-top: 1.2em;
				margin-bottom: 0.1em;
}

#content h4 {
				font-size: 1em;
				margin-top: 1.2em;
				margin-bottom: 0.1em;
}

#content p {
				line-height: 1.3em;
				margin-top: 0.2em;
				margin-bottom: 0.5em;
				color: #353535;

}

#content {
				position: relative;
				width: 549px;
				margin: 0 0 0 160px;
}
#content p img {
				margin: 0 5px 0 5px;
}

#content small {
				color: #666666;
}

#content ul {
				color: #353535;
}
#username a#login:link, #username a#login:visited{
				color: #cccccc;
}
