/*  common.css - MoinMoin Default Styles

Copyright (c) 2001, 2002, 2003 by Juergen Hermann
Copyright © 2008 Ubuntu-it - Created by Milo Casagrande <milo@ubuntu.com>,
Leo Iannacone <l3on@ubuntu.com>, Alessio Treglia <quadrispro@ubuntu.com>.

Copyright © 2011 Ubuntu-it - Giuseppe Terrasi <peppe84@ubuntu-it.org>:
in order to fix some problem after upgrade to Moin 1.9.x and to add processor #!wiki,
mostly edit are at the end of file.

Copyright © 2016 Ubuntu-it - Jeremie Tamburini <jeremie.tamburini@gmail.com>:
Introduced toc2 class for IndiceFaq macro.
Copyright © 2019 Ubuntu-it - Jeremie Tamburini <jeremie.tamburini@gmail.com>:
Introduced media queries.

*/

/* content styles */

/*  */

html {
    background-color: white;
    color: black;
    /*font-family: "Lucida Grande", Verdana, Lucida, Helvetica,Arial, sans-serif; */
    font-family: 'bitstream vera sans', 'dejavu sans', verdana, sans-serif;
    font-size: 0.80em;
    line-height: 1.25em;
}

body {
	margin: 0;
	height: 100%;
}

/* Links */

a {
	color: #A3590D;
	/*text-decoration: none;*/
} /* (ubuntu-it link) */

a:visited {
	color: #6B4A29;
}

a.nonexistent, a.badinterwiki {
	color: #AAA;
} /* ubuntu dark tan */

#pagelocation a, #pagelocation a:visited {
	text-decoration: none;
}

/* Headings */

h1, h2, h3, h4, h5, h6
{
        margin: 1.5em 0 0 0;
        padding: 2px 0;
        font-weight: normal;
        line-height: 1.2em;
	      text-shadow:0 1px 3px rgba(0, 0, 0, 0.25);
}

h1
{
	font-size: 1.6em;
}

h2
{
	font-size: 1.3em;
}

h3 {font-size: 1.1em;}
h4, h5 {font-size: 1em;}

li p {
	margin: .25em 0;
}

li.gap {
    margin-top: 0.5em;
}

/* from ubuntu_styles; sizes changed to em */
dt
{
    margin-top: 1.2em;
    margin-bottom: 0.3em;
    font-size: 1.2em;
    border-bottom:1px solid #ECECEC;
}

dd {
    margin-top: 0;
    margin-bottom: 0;
}

dd p {
    margin: 0.25em 0;
}

a, img, img.drawing {
	border: 0;
}

pre
{
    background-color: #FAFAFA;
    border: 1px dotted #DDDDDD;
	padding: 4pt;
	color:#111111;
	font-family: courier, monospace;
	white-space: pre;
	/* begin css 3 or browser specific rules - do not remove!
	see: http://forums.techguy.org/archive/index.php/t-249849.html */
    white-space: pre-wrap;
    word-wrap: break-word;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    max-height: 350px;
    overflow: auto;
    /* end css 3 or browser specific rules */
}

table
{
	margin: 0.5em 0px;
	border-collapse: collapse;
}

td
{
	padding: 0.25em;
	border: 1pt solid #CCCCCC;; /* ubuntu dark tan */
}

td p {
	margin: 0;
	padding: 0;
}

/* table without border */
table.noborder td {
    border: 0px;
}

/* fixed table for Hardware/Notebook */
table.notebook_width {
    width: 63%;
}

table.notebook_width td:first-child {
    width: 50%;
}

.footnotes div {
	width: 5em;
	border-top: 1pt solid #AAA; /* ubuntu dark tan */
}

.footnotes ul {
	padding: 0em 2em;
	margin: 0em 0em 1em;
	list-style: none;
}

.footnotes li {
}

.info {
    font-size: 0.85em;
    color: #AAA; /* ubuntu dark tan */
}

#pageinfo {
    margin-top: 2em;
}

.seperator {
    color: #AAA; /* ubuntu dark tan */
}

#pagebottom {clear: both;}

/* standard rule ---- */
hr {

    height: 1pt;
    background-color: #ECECEC; /* ubuntu dark tan */
    border: 0;
}

/* custom rules ----- to ---------- */
.hr1 {height: 2pt;}
.hr2 {height: 3pt;}
.hr3 {height: 4pt;}
.hr4 {height: 5pt;}
.hr5 {height: 6pt;}
.hr6 {height: 7pt;}

/* Replacement for html 3 u tag */
.u {text-decoration: underline;}

/* eye catchers */
.warning
{
	color: red;
}

.error
{
	color: red;
}

strong.highlight
{
	background-color: #edddba; /* ubuntu pale orange */
	padding: 1pt;
}


/* Recent changes */

.rcrss {
	float: right;
	margin: 0;
}

.recentchanges[dir="rtl"] .rcrss {
	float: left;
}

.recentchanges table {
	clear: both;
}

.recentchanges td {
	vertical-align: top;
	border: none;
	border-bottom: 1pt solid #ECECEC;
	background: white;
}

.rcdaybreak td {
	background: #f4f4f4;
	border: none;
}

.rcdaybreak td a {
	font-size: 0.88em;
}

.rcicon1, .rcicon2 {
	text-align: center;
}

.rcpagelink {
	width: 33%;
}

.rctime {
	font-size: 0.88em;
	white-space: nowrap;
}

.rceditor {
	white-space: nowrap;
	font-size: 0.88em;
}

.rccomment {
	width: 66%;
	color: #AAA; /* ubuntu dark tan */
	font-size: 0.88em;
	font-weight: bold;
}

.strike {
    text-decoration: line-through;
}

/* User Preferences */

.userpref table, .userpref td {
	border: none;
}

/* CSS for new code_area markup used by Colorizer and ParserBase */

div.codearea { /* the div makes the border */
	margin: 4pt 0;
	padding: 0;
	border: 1pt solid #AAA; /* ubuntu dark tan */
/*	background-color: #F3F5F7;   * light grey */
	background-color: #edddba; /* ubuntu pale orange */
	color: black;
}

div.codearea pre { /* the pre has no border and is inside the div */
	margin: 0;
	padding: 4pt;
	border: none;
}

a.codenumbers { /* format of the line numbering link */
	margin: 0 4pt;
	font-size: 0.85em;
	color: #6d4c07; /* ubuntu dark brown */
}

/* format of certain syntax spans */
div.codearea pre span.LineNumber {color: gray;}
div.codearea pre span.ID         {color: #000000;}
div.codearea pre span.Operator   {color: #0000C0;}
div.codearea pre span.Char       {color: #004080;}
div.codearea pre span.Comment    {color: #008000;}
div.codearea pre span.Number     {color: #0080C0;}
div.codearea pre span.String     {color: #004080;}
div.codearea pre span.SPChar     {color: #0000C0;}
div.codearea pre span.ResWord    {color: #A00000;}
div.codearea pre span.ConsWord   {color: #008080; font-weight: bold;}
div.codearea pre span.Error      {color: #FF8080; border: solid 1.5pt #FF0000;}
div.codearea pre span.ResWord2   {color: #0080ff; font-weight: bold;}
div.codearea pre span.Special    {color: #0000ff;}
div.codearea pre span.Preprc     {color: #803999;}


/* Search results */

.searchresults dt {
    margin-top: 1em;
	font-weight: normal;
}

.searchresults dd {
	font-size: 0.85em;
}

/* MonthCalendar css */

/* days without and with pages linked to them */
a.cal-emptyday {
    color: #777777;
    text-align: center;
}
a.cal-usedday {
    color: #000000;
    font-weight: bold;
    text-align: center;
}
/* general stuff: workdays, weekend, today */
td.cal-workday {
    background-color: #F1F1ED; /* ubuntu near-white */
    text-align: center;
}
td.cal-weekend {
    background-color: #edddba; /* ubuntu pale orange */
    text-align: center;
}
td.cal-today {
    background-color: #DBBA75; /* ubuntu orange */
    border-style: solid;
    border-width: 2pt;
    text-align: center;
}
/* invalid places on the monthly calendar sheet */
td.cal-invalidday {
    background-color: #CCCCCC;
}
/* links to prev/next month/year */
a.cal-link {
    color: #F1F1ED; /* ubuntu near-white */
    text-decoration: none;
}
th.cal-header {
    background-color: #6d4c07; /* ubuntu dark brown */
    color: white;
    text-align: center;
}

/* for MonthCalendar mouseover info boxes */
TABLE.tip {
    color: black;
	border: 1px solid #AAA; /* ubuntu dark tan */
	background-color: #f7f7f7; /* ubuntu light salmon */
    font-size: small;
    font-weight: normal;
}

TH.tip {
    background-color: #DBBA75; /* ubuntu orange */
    font-weight: bold;
    text-align: center;
}

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

/* end MonthCalendar stuff */



/*Note, avvisi e suggerimenti */

.nota {
	background-color:#F6F5F0;
	border:1px solid #AAAAAA;
}

.avviso {
	border:1px solid #FFCC66;
	background-color:#FFFFCC;
}


.suggerimento {
	background:#eeeeff;
	border: 1px solid #8CACBB;
}


/* Page history */
#page-history a, #page-history a:hover {
  color: #666666;
}

#page-history table {
    width: 100%;
}

/*Input*/


input, textarea {
  color: #222;
}


input[type="submit"] {
	cursor: pointer;
}

/* Added in order to import wiki parser */
/* start admonition section */
#content div.caution,
#content div.important,
#content div.note,
#content div.tip,
#content div.warning {
    /*border: 1pt solid #E5E5E5;*/
    background-color: #FFFFFF;
    color: #333;
    /*margin: 10pt 10pt 0pt 0pt;*/
    background-repeat: no-repeat;
    /*background-position: 8px 8px;*/
    min-height: 45px; /*64=48+8+8 but doesn't work with IE*/
    padding-left: 54px;
}

#content div.important {
	font-weight: bold;
}

#content div.note {
	font-style: italic;
}

#content div.caution p,
#content div.important p,
#content div.note p,
#content div.tip p,
#content div.warning p {
    /*margin-top: 8px; to align text with bg graphic*/
}

#content div.tip { background-image: url("../img/icons/admon-tip.png"); }
#content div.note { background-image: url("../img/icons/admon-note.png"); }
#content div.important { background-image: url("../img/icons/admon-important.png"); }
#content div.caution { background-image: url("../img/icons/admon-caution.png"); }
#content div.warning { background-image: url("../img/icons/admon-warning.png"); }

/* end admonition section */

/* start simply color changes on wiki parser */
.comment { color: #555555; background-color: #DDDDFF; }

.red { background-color: #FFCCCC; }
.green { background-color: #CCFFCC; }
.blue { background-color: #CCCCFF; }
.yellow { background-color: #FFF29F; }
.orange { background-color: #FFD59B; }
/*.grey 	todo */

.solid { border: 2px solid #000000; padding: 2px; }
.dashed { border: 2px dashed #000000; padding: 2px; }
.dotted { border: 2px dotted #000000; padding: 2px; }

.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }
.justify { text-align: justify; }
.align { clear:both }

/* end simply color changes on wiki parser */


/* Classes for styling Toc */
/* Added by Leonardo Iannacone on April '08 */
.toc, .supported-releases, .page_info {
	float:right;
	font-size:0.9em;
	margin:0 0 1em 1em;
	width:35%;
    border: 1px solid #f0f0f0;
}

.toc, .page_info {
}

.toc-core {
  padding:10px;
}

p.toc-core-heading, p.table-of-contents-heading {
	font-weight: bold;
	margin-top: 0px;
}

.toc a {
	color:#333;
}

/* ###### TOC 2 ###### */
/* Added for the IndiceFaq macro */

.toc2 {
	font-size:13px;
	font-weight: bold;
	margin:0 0 1em 1em;
	width:100%;
}

.toc2-core {
 	padding:10px;
}

p.toc2-core-heading {
	font-weight: bold;
	margin-top: 0px;
}

/* Added for VersioniSupportate macro */

.supported-releases, .page_info {
	margin: 0 0 1em 1em;
	clear:both;
	float:right;
	font-size: 75%;
}

.supported-releases {
  font-size:85%;
}

.supported-releases-core, .page_info-core {
	background-position: top right;
	background-repeat: no-repeat;
	font-weight: bold;
	text-align: center;
	margin-top: 0px;
  padding: 10px;
}

.page_info.error {
    background: #f44;
    border-color: #f44;
    color: #fff;

    font-size: 1em;
}

.page_info.error a {
    color: #fff;
}

.page_info.error * {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.3em;
}

.page_info-core p {
  margin:2px 0;
  text-shadow: white 0px 1px 1px;
}


p.supported-releases-heading, p.page_info-core {
	font-weight: bold;
	text-align: center;
	font-size: 12px;
	margin-top: 0px;
	margin-bottom: 2px;
	float: center;
	background-repeat: no-repeat;
	background-position: center;
}

.supported-releases-core a {
}

/* class for no javascript enabled */

.noscript {
	color:#FF0000;
	font-weight:bold;
	margin-right:50px;
}

/* Apt-urls */

a.apt {
/*
	padding-right:18px;
	background: url("../img/package.png") no-repeat right;
*/
	font-style:italic;
}


/* Added for increasing monospace character */
.backtick {
	color:#6f6f6f;
/*	  font-size: 1.1em; */
}

#pagelocation {
	margin: 0 0;
	padding: 0 0;
	font-size: 1.5em;
	text-decoration: none;
	font-size: 1.8em;
	font-weight: bold;
	line-height: 1.2em;
	border-bottom:1px solid #ECECEC;
	text-shadow:0 1px 3px rgba(0, 0, 0, 0.15);
}

#pagelocation li {
  display: inline;
	margin: 0;
}

/* This one shows a separator in the page location */
#pagelocation li:after {
    content: " > ";
    color: #aaa;
}

/* This one erase the last separator */
#pagelocation li:last-child:after {
    content: "";
}

#page img.inline_left {
    margin: 5px 15px 5px 20px;
    float: left;
    /*min-width: 32px;*/
}

#page img.inline_right {
    margin: 5px 20px 5px 15px;
    float: right;
    /*min-width: 32px;*/
}
#page img.inline_center {
    display: block;
    margin: 5px auto 5px auto;
    text-align: center;
    /*min-width: 32px;*/
}


/* diffs from classic */
.diff {
    table-layout: fixed;
}
.diff-header {
    font-weight: bold;
}
.diff-title {
    background-color: #C0C0C0;
}
.diff-added {
    background-color: #E0FFE0;
    font-family: courier,monospace;
    vertical-align: top;
    white-space: pre-wrap;
    width: 50%;
    word-wrap: break-word;
}
.diff-removed {
    background-color: #FFFFE0;
    font-family: courier,monospace;
    vertical-align: top;
    white-space: pre-wrap;
    width: 50%;
    word-wrap: break-word;
}
.diff-added span {
    background-color: #80FF80;
}
.diff-removed span {
    background-color: #FFFF80;
}
td.diff-info {
    vertical-align: top;
}
div.diff-info {
    white-space: nowrap;
}
div.diff-info-rev-comment span.diff-info-value {
    white-space: normal;
}
div.diff-info-header {
    background-color: #E8E8E8;
    margin: -0.25em -0.5em 0.25em;
    padding: 0.25em 0.5em;
    text-align: center;
    width: 100%;
}
td.diff-same {
    border: 0 none;
    text-align: center;
}

.searchresult dd span {
	font-weight: bold;
}

/* We use here dumb css1 ids because of IE suckiness */
#editor-textarea {
		 width: 92%;
		 margin: 0.5em 0em;
}

#editor-comment {
		width: 99%;
		margin: 0.5em 0em;
}

#editor-help {
	     margin: 0.5em 0;
}

#editor {
	backgorund-color: white;
	text-align: left;
	width: 100%;
}

#footer {
}

#timings {
  display: none;
}

#textcha {
    font-size: 14px;
	font-weight: bold;
    margin-top: 0.5em;
    border: 4px solid #ff0000;
    color: black;
    vertical-align: middle;
    padding: 3px 2px;
}

/* ########################################################## */
/* ###################### MEDIA QUERY ####################### */
/* ########################################################## */

@media screen and (max-width: 500px) {

.toc {
    /*display: none;*/
    width:100%;
    }

.toc2 ol {
    margin-left: -35px;
}

.toc2 ol ol {
    margin-left: -15px;
}

.page_info {
    float: left;
    width: auto;
	margin-left: 0px;
    }

/* page_info and the rest won't be squashed together*/
h1 {
	clear: both;
    }

/* fixed table for Hardware/Notebook */
table.notebook_width {
    width: auto;
    }

table.notebook_width td:first-child {
    width: 50%;
    }

#page img.inline_left {
    width: 100%;
    height: auto;
    }
    
#page img.inline_right {
    width: 100%;
    height: auto;
    }

#page img.inline_center {
    width: 100%;
    height: auto;
    }

img.inline {
    width: 100%;
    height: auto;
    }

pre {
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    white-space: pre;
    max-width: 400px;
    }

li pre {
    max-width: 300px;
    }

.bug img {
    max-width: 14px;
    }
}

@media screen and (max-width: 450px) {
pre {
    max-width: 330px;
    }
li pre {
    max-width: 250px;
    }
}

@media screen and (max-width: 400px) {
pre {
    max-width: 300px;
    }

li pre {
    max-width: 240px;
    }
}

@media screen and (max-width: 350px) {
pre {
    max-width: 250px;
    }

li pre {
    max-width: 200px;
    }
}
