/*  screen.css - ignasi Nov 25, 2008
*/

/* content styles */

/* debug 
* {border: 1px dotted blue;}
*/
#wrapper{
	margin: 0 auto 0 auto;	
	position: relative;
	min-height: 100%;
	width: 950px!important;
}
#container {
	margin: 0 auto 0 auto;
	background: white;
	min-height: 900px;
}

body {
	margin: 0;
	background: gray;
	min-height: 100%;
	width: 100%;
	position: absolute;
}

a:link { text-decoration: none; color: #2963A6;}
a:link:hover, a:link:active { text-decoration: underline; color: green; }
a:visited { text-decoration: none; color: #2963A6;}
a:visited:hover { text-decoration: underline; color: green; }

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 */

#content {
/* border: 1px solid #3F71B1;*/
 border: 0px;
 padding: 1em;
 margin: 0 1em;
}

#header {
	width: 100%;
	color: white;
	height: 210px;
	background: url("../img/multiscalelab_logo.png");
	padding: 0;
	margin:0;
}

#header a,
#header a:visited {
    color: white;
}
#userdiv{
	margin:0;
	clear: both;
	width: 100%;
}
#username {
    	margin: 0 0 0 0;
	padding: 0;  
    	font-size: 0.8em;
    	display: block;
    	white-space: nowrap;
    	float: right;
}

*[dir="rtl"] #username {
    text-align: left;
    margin: 5px 0px;
    position: static; 
    margin-left: 2em;
    font-size: 0.7em;
    float: left;
}

#username a, 
#username a:visited {
    
	color: white;
    	text-decoration: none;
    	display: block;
    	padding: 1px 6px 0 6px; 
    	background: black; 
}

#username a:hover {
    	color: black;
	background: white;
}

#username li {
    float: left; 
    display: inline;

    background: black;  
    margin: 0 auto 0 3px; 
    padding: 0;
}

#username form {
    display: inline;
}

#username input {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: #E7E7E7; /* inherit doesnt work on IE */
    color: blue;
    font-size: 0.82em;
    cursor: pointer;
}

#username input:hover {
    color: red;
}

#searchform {
    float: right;
    margin: 5px 10px;
    padding: 0;
    white-space: nowrap;
    font-size: 0.82em;
}

*[dir="rtl"] #searchform {
    float: left;
}

#searchform form div {
    display: inline;
}

#searchform input {
    border: 1px solid #004682;
    /*background-color: #C0DAF2;*/
    background-color: #FFFFFF;
}

#searchform input:hover,
#searchform input:focus {
    border: 1px solid #004682;
    background-color: #FFFFFF;
}

#titlesearch,
#fullsearch {
    cursor:pointer;
}

#pagetrail {
    clear: both;
    display: inline;
    margin: 0 0 0 12;
    padding: 0 0 0 10px;
    font-size: 0.88em;
}

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

#interwiki {
    margin: 5px 12px;
    display: inline;
    font-size: 1em;
}

*[dir="rtl"] #interwiki {
    margin: 5px 0px;
    display: inline;
    font-size: 1em;
}

#interwiki span:after {
    content: ":";
}

#locationline {
	margin-top: 20px;
}

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

#pagelocation {
	display: inline;
    	margin: 5px 12px;
    	padding: 0;
    	font-size: 1.5em;
}
#pagetrail li, #pagelocation li {
    display: inline;
    margin: 0;
}
#pagetrail a{
	color: gray;
}

/* XXX Warning: non-ascii characters! */
#pagetrail li:after {
    content: " » ";
}

*[dir="rtl"] #pagetrail li:after {
    content: " « ";
}

#pagetrail li:last-child:after {
    content: "";
}

#pagelocation li:after {
    /*content: "/ ";*/
    content: "/";
}

*[dir="rtl"] #pagelocation li:after {
    content: " \\ "; /* TODO: check what looks best with RTL */
}

#pagelocation li:last-child:after {
    content: "";
}
#headervoid{
	height:160px;
}
#share{height:20px; width:100%;}
#share .twitter-share-button {float:right;padding-right:10px}
#navidiv {
	height: 30px;
    	width: 100%; 
	clear: both;
	margin: 0;
	padding:0;
}

#navibar {
    /*zoom: 1; *//* for avoiding a gap between navibar and pageline on IE */
   /* 	float:left;
	font-size: 14px; 
	list-style: none;
	margin-bottom: 0px;
	color: black;*/
	list-style: none;
	padding-left: 15px;
	height: 30px;
	margin: 0 auto;
}

*[dir="rtl"] #navibar {
    margin: 0 5em 0 0;
    position: relative;
    bottom: -1px;
    float: right;
}

#navibar li {
	/*-moz-border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;*/
    	float: left; 
    	background: black;//#373737;
    	margin: 0 7px 0 0;
	line-height: 30px;
}

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

#navibar li.current { 
    	background: white; 
    	color: black;
	/*border-bottom: none;*/
}

#navibar a, 
#navibar a:visited {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0px 7px;
}

#navibar a:hover {
    	color: black;
	background: white;
}

#navibar li.current a {
    font-weight: bold;
    color: black;
    background: white;
}

#navibar li.userlink {
	background: black;//gray;
}

#navibar li.userlink a,
#navibar li.userlink a:visited {
    /*background: url('../img/navi-tab-left_quick.gif') no-repeat left top;  */
	color: gray;
}
.clear{
	clear: both;
	visibility:hidden;
	display:block;
	height:0;
	margin: 0;
}

#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 #9C9C9C;
    background: #D6E8F8;
}

.editbar {
    clear: both;
    text-align: right;
    display: block;
    margin: 1px;
    padding: 0 12px;
    white-space: nowrap;
    background: white;
    font-size: 0.8em;
}

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

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

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

#header .editbar {
    border-bottom: 1px dotted #9C9C9C;
}

#footer .editbar {
    border-top: 1px dotted #9C9C9C;
    border-bottom: 1px solid #9C9C9C;
}

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

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

#message a,
#message a:visited {
    color: #3F71B1;
}

#message a:hover {
    color: white;
}

#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 {
    	margin: 0;
    	padding: 2px 0px 20px 0px;

   /* 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-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 #6C7680;
    padding: 10px 30px 20px 30px;
    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;
    padding: 0;
}
#rights{
	width: 100%;
	margin: 0 auto 0 auto;
	height: 25px;
	padding-top: 3px;
	text-align: center;
	font-size: 10px;
	color: #373737;
	position: relative;
}


#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;
}
        

/*GIANNI*/
html {
        background-color: gray;
	font-family: Helvetica, Arial, Sans-serif;
        font-size: 13px;
}

#page h1 {
        font-size: 1.7em;
        font-weight: bold;
        line-height: 1.9em;
        margin: 1.0em 0 1.0em 0;
        padding: 0 0.7em; /* Should be the same for h{1-4} */
        color: #fff;
        background: #204C8D /*url(../img/moin-h1-background.png)*/;
        border: none;
}

#page h2 {
        font-size: 1.4em;
        line-height: 1.0em;
        margin: 1em 0 1.2em 0;
        padding: 0 0.7em; /* Should be the same for h{1-4} */
/*        background: url('../img/moin-h2-background.png');*/
        border: none;
        color: #072b61;
}

#page .table-of-contents-heading {
        font-size: 1.3em;
        font-weight: bold;
        line-height: 1.8em;
        margin: 0;
        margin-bottom: 10px;
        padding: 0em 0.3em; /* Should be the same for h{1-4} */
        color: #072b61;
/*        background: url('../img/moin-h2-background.png');*/
}

#page h3 {
        font-size: 1.25em;
        line-height: 1.6em;
        margin: 1.5em 0 0.9em 0;
        padding: 0 0.7em; /* Should be the same for h{1-4} */
        color: #072b61;
        border-bottom: 1px solid #cacaca;
}

#page h4 {
        font-size: 1.2em;
        line-height: 1.4em;
        margin: 1.4em 0 0.9em 0;
        padding: 0 0.7em; /* Should be the same for h{1-4} */
        color: #2963A6;
        border-bottom: none;
}

#page h5 {
        font-size: 1.1em;
        line-height: 1.1em;
        margin: 1.3em 0 0.9em 0;
        padding: 0 1.5em;
        color: #072b61;
        font-weight: bold;
        border-bottom: none;
}

#page h6 {
        font-size: 1em;
        line-height: 1.1em;
        margin: 1.3em 0 0.9em 0;
        padding: 0 1.5em;
        color: #000;
        font-weight: bold;
        border-bottom: none;
}

#page pre {
        padding: 0.5em 1em;
        font-family:  "Liberation Mono", monospace;
        white-space: pre;
        background-color: #FFFAE9;
        border: 1px solid #e5e5e5;
        border-left: 4px solid #ccc;
}

#page tt {
        font-family:  "Liberation Mono", monospace;
        white-space: pre;
}

#page p,
#page pre,
#page table,
#page ul,
#page ol {
        margin-left: 1.5em;
}

/* Various */

#page p {
/*      margin-bottom: 1.3em;*/
        margin-bottom: 0.5em;
        line-height: 1.3em;
        padding-left: 0;
}

#page ul li p,
#page ol li p {
        line-height: 1.3em;
        padding: 0;
        margin: 0 !important;
}

#page td > p {
        margin: 0.5em !important;
}

/* Admonition Support */

#msg-note-img {
        background: #e1ffdf;
        width:1%;
        border: 1px dashed #51ff5d;
        border-left: 4px solid #2bd537;
        border-right: none;
        margin:0;
        padding:0;
        padding-left: 10px;
        padding-top: 5px;
}

#msg-note-txt {
        background: #e1ffdf;
        width:99%;
        border: 1px dashed #51ff5d;
        border-left: none;
        margin:0;
        padding:0;
        padding-left: 10px;
        padding-top: 5px;
}

#msg-info-img {
        background: #dff2ff;
        width:1%;
        border: 1px dashed #51b6ff;
        border-left: 4px solid #51b6ff;
        border-right: none;
        margin:0;
        padding:0;
        padding-left: 10px;
        padding-top: 5px;
}

#msg-info-txt {
        background: #dff2ff;
        width:99%;
        border: 1px dashed #51b6ff;
        border-left: none;
        margin:0;
        padding:0;
}
#msg-warning-img {
        background: #ffeedf;
        width:1%;
        border: 1px dashed #ff8351;
        border-left: 4px solid #ff8351;
        border-right: none;
        margin:0;
        padding:0;
        padding-left: 10px;
        padding-top: 5px;
}

#msg-warning-txt {
        background: #ffeedf;
        width:99%;
        border: 1px dashed #ff8351;
        border-left: none;
        margin:0;
        padding:0;
}

#msg-stop-img {
        background: #ffdfe0;
        width:1%;
        border: 1px dashed #ff5172;
        border-left: 4px solid #ff5172;
        border-right: none;
        margin:0;
        padding:0;
        padding-left: 10px;
        padding-top: 5px;
}

#msg-stop-txt {
        background: #ffdfe0;
        width:99%;
        border: 1px dashed #ff5172;
        border-left: none;
        margin:0;
        padding:0;
}


