/*  screen.css

Copyright Â© 2011 Ubuntu-it - Leo Iannacone <l3on@ubuntu.com>
Copyright Â© 2019-2024 Ubuntu-it - Jeremie Tamburini <jeremie.tamburini@gmail.com>

*/

html {
/*    color: #222222; */
    color: #333;
    font-family: Ubuntu,"Ubuntu Beta",UbuntuBeta,"Bitstream Vera Sans","DejaVu Sans",Tahoma,sans-serif;
    background: url("../img/dotted.png") repeat scroll 0 0 #F5F6F7;
    font-size: 13px;
}

/*body {
    background: url("../img/dotted.png") repeat scroll 0 0 #F5F6F7;
    min-width: 985px;
    margin: 0 1px 0 0;
}*/

#ubuntulinks {
    margin-top: 10px;
}

div, p {
}

tbody {
    border-top: medium none;
}

a, a:link, a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: #222222;
    font-weight: normal;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}

h1 {
    font-size: 36px;
    line-height: 40px;
    margin: 24px 0 32px;
    padding: 0;
}

h2, #center h2 a {
    font-size: 24px;
    line-height: 28px;
    margin: 0 0 8px;
    padding: 0;
}

h3 {
    font-size: 16px;
    line-height: 20px;
    padding: 0;
}

h4, h5, h6 {
    font-size: 12px;
    line-height: 16px;
    margin: 0;
    padding: 0;
}

a, a:link, a:visited {
    color: #DD4814;
}

a, a:link, a:visited {
    text-decoration: none;
}

#subheader ul, ul#navibar {
    margin: 0;
    padding: 0;
}

#subheader ul li, ul#navibar li {
    display: inline;
    list-style-type: none;
}

.commercial {
    color: #772953 !important;
}

table.sticky-table {
    width: 100%;
}

.curved-top {
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -khtml-border-radius: 4px 4px 0 0;
}

.curved-bottom {
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    -khtml-border-radius: 0 0 4px 4px;
}

.curved-both {
    border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -khtml-border-radius: 4px 4px 4px 4px;
}

.shadowed {
    box-shadow: 0 1px 3px #989898;
    -webkit-box-shadow: 0 1px 3px #989898;
    -moz-box-shadow: 0 1px 3px #989898;
    -khtml-box-shadow: 0 1px 3px #989898;
}

.no-padding {
    padding: 0 !important;
}

.quote-source {
    font-size: 10px;
}

#center h2 {
    margin: 18px 0 10px;
}

table#attachments {
    display: none;
}

#fixed-header {
    height: 120px;
}

.container {
    max-width: 985px;
    background: transparent;
    margin: 0 auto;
    padding: 0;
}

#header {
    background: url("../img/header_b.png") repeat-x scroll left top #DD4814;
    height: 64px;
    margin: 0 2px;
    text-shadow: 0 1px black;
    min-width: 985px;
    padding: 0 5px;
    position: relative;
}

#header .container {
    background: url("../img/topnav_divider.png") no-repeat scroll left top transparent !important;
    height: 100%;
    padding-left: 2px;

}

#header li, #header li.last {
    border: 0 none;
}

#header li {
    background: url("../img/topnav_divider.png") no-repeat scroll right top transparent !important;
    padding-right: 2px;
    float: left;
    margin: 0;
    padding-right: 2px;
}

#header li a {
    background: url("../img/header_b.png") repeat-x scroll left top #DD4814;
    height: 64px;
    line-height: 64px;
    padding: 0 7px 0 5px;
    color: #FFFFFF;
    text-shadow: 1px 1px 1px #333333;
    float: left;
}

#header li.active-trail a, #header li a.active, #header li.active a, #header li a:hover, #header li.current a {
    background: url("../img/header_b_active.png") repeat-x scroll left top #B83A10 !important;
    text-decoration: none;
}

#logo {
    float:right;
    color: white;
    text-shadow: none;
}

#logo > span.description {
    float: right;
    font-size: 12px;
    opacity: 0.8;
    line-height: 24px;
}

#logo > span.title {
    font-size: 30px;
    display: block;
    margin-top: 23px;
    color:white;
    text-align:right;
}

#logo > span.suffix {
/*  color: black;
    opacity: 0.5;    Does not work for every browser*/
    color: #6F240A;
    font-size: 20px;
    margin-right: 5px;
    display:none;
}

#logo a:hover {
    text-decoration: none;
}

#header .buttons {
    cursor: pointer;
    float: left;
    margin-left: 5px;
    margin-top: 5px;
}

#header .buttons #accessibility {
    background: url("../img/accessibility.png") repeat scroll 0 0 transparent;
    height: 24px;
    width: 24px;
}

#header .buttons #accessibility:hover {
    background-position: center bottom;
}

#header .buttons #accessibility:active {
    background-position: 24px 50%;
}

#header #ubuntu-it-sites {
    float: right;
    font-size: 10.5px;
}

#header #ubuntu-it-sites a {
    color: #FFFFFF;
    padding: 1px 6px 2px;
    text-shadow: none;
}


#header #ubuntu-it-sites a:hover {
    text-shadow: 1px 1px 1px #333333;
    text-decoration: none;
}

#header #ubuntu-it-sites a.active {
    background: url(../img/header-uit-bk.png) repeat;
    border: 1px solid #6F202A;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 1px #333;
    border-radius: 0 0 4px 4px;
}

#subheader .container-inside {
    background: url("../img/header-shadow.png") repeat-x scroll center top #F7F7F7;
    border-radius: 0 0 8px 8px;
    -webkit-border-radius: 0 0 8px 8px;
    -moz-border-radius: 0 0 8px 8px;
    height: 39px;
    margin: 0 auto;
    position: relative;
    width: 96%;
    background-color: #F7F7F7;
    box-shadow: 0 1px 1px #DFDFDF;
    -webkit-box-shadow: 0 1px 1px #DFDFDF;
    -moz-box-shadow: 0 1px 1px #DFDFDF;
}

#subheader ul * {
  font-size: 11px;
}

#subheader ul , #subheader li {
    display: block;
}

#subheader ul a, #subheader li a, #subheader li span, #subheader li form {
    clear: none;
    color: #333333;
    display: block;
    float: left;
    text-shadow: none;
    width: auto;
    line-height: 40px;
    margin: 0;
    padding: 0 10px;
    text-decoration: none;
}

#subheader li a:focus, #subheader li a:hover, #subheader li a:active, #subheader li.active a {
    background: url("../img/header-shadow.png") repeat-x scroll center top #F2F2F2;
    border-bottom: medium solid #666666;
    color: #DD4814;
}

#subheader ul a:hover {
    border-color: #DD4814;
}

#subheader ul span.disabled {
    color:#AAA;
}

#subheader ul#username {
    position: absolute;
    right: 0;
}

#footer .container * {
    color: #666666;
    font-size: 12px;
    text-align: center;
}

#search-box div {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#center .sidebar {
}

#center.sidebar-left {
}

#wiki-page, #footer, #subheader {
    background: none repeat scroll 0 0 transparent;
}

#sidebar-left {
    margin-top: 15px;
}

.cke_show_borders {
    background: none repeat scroll 0 0 #FFFFFF;
}

h2 .pane-title {
    display: none;
}

#wiki-page .container, div.box-content {
/*    background: url("../img/box-content.png") repeat-y scroll center top transparent;*/
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px #CCCCCC;
}

#wiki-page .container {
    margin-top: 0;
    padding-top: 0;
}

#wiki-page {
    line-height: 1.4em;
    /*overflow: hidden;*/
    clear: both;
    min-width: 985px;
    margin: auto;
}

#content-bottom, div.box-bottom-added {
/*    background: url("../img/box-bottom-top.png") no-repeat scroll center bottom transparent;
    height: 12px;
    margin-bottom: 5px;
    padding: 0;
    width: 100%;*/
}

.box-content .panels-flexible-row-inside {
    padding: 0 18px;
}

.pane-content h3 a {
    background: url("../img/H3_arrow.png") no-repeat scroll right 3px transparent;
    display: inline-block;
    padding-right: 14px;
    text-decoration: none;
    text-shadow: none;
}

.pane-content h3 a:hover {
    text-decoration: underline;
}

.item-list .pager {
    margin: 30px 0 0;
}

.item-list .pager li {
    padding: 0;
}

div.slideshow {
    overflow: hidden;
}

.pane-presentation {
    margin-bottom: 20px;
    width: 50%;
}

.node {
    padding: 0 16px;
}

.sidebar .block {
    background: none repeat scroll 0 0 transparent;
    border-radius: 0 0 0 0;
    box-shadow: none;
}

#wiki-page .block h2 {
    border-bottom: 1px dotted #999999;
    color: #3D273A;
}

#wiki-page .menu li a {
    color: #111111;
}
#wiki-page .menu li.fake-leaf a {
    border-bottom: 1px dotted #772953;
}

#wiki-page .menu li a:hover {
    color: #772953 !important;
}

#wiki-page .menu li a.active {
    color: #DD4814 !important;
    font-weight: bold;
}

#wiki-page .menu li a.active:hover {
}

.no-shadow {
    text-shadow:none;
    color: #333;
}

.smileys-box .smileys span {
    height: auto;
    width: 26px;
}

.page-description {
    background: none repeat scroll 0 0 #F7F7F7;
    border: 1px solid #F0F0F0;
    padding: 10px 10px 12px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 22px;
}

.page-description-img {
    float: right;
}

/* End generic style */

/* Start wiki specific style */

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

a {
    text-decoration:none;
}

a:visited {
    color:#BD0901;
}

a.nonexistent, a.badinterwiki {
    color:#aaa;
}

a:hover {
/*  color:#800000;*/
    text-decoration:underline;
}

/* Download button in attach page */
a.download {
    padding: 0 20px;
    background: #DD4814 url("../img/cta-background.png") repeat-x scroll 0 0 !important;
    border-radius: 30px 30px 30px 30px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    display: block;
    font-size: 20px;
    line-height: 2em;
    margin: 30px 10px 30px 0px;
    color: white !important;
    text-shadow: none;
    float: left;
}

a.download:hover {
    text-decoration: none;
}

#wiki-page > .container > div {
    margin: 0 20px;
    padding: 1px 0;
}

#pagelocation {
    font-size: 2.4em;
    line-height: 1.8em;
    font-weight: lighter;
    margin-top: 2px;
}

#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 {
/*    margin-top: 40px; */
}

#search form {
    clear: both;
    float: right;
    margin-top:18px;
}

#message {
    background: none repeat scroll 0 0 #F7F7F7;
    border: 1px solid #F0F0F0;
    padding: 10px 10px 12px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 10px 0;
}

#message * {
    font-size: 16px;
    line-height: 22px;
    margin: 0;
    color: #333;
}

#message a.clear-link {
    font-size: 1em;
}

.toc, .supported-releases, .page_info {
    background: none repeat scroll 0 0 #f7f7f7;
    border: 1px solid #f0f0f0;
    margin-right: 1px;
    box-shadow: none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.toc * , .page_info * {
    font-size: 11px;
    line-height: 14px;
    text-shadow: none;
}

.toc a {
    color:#666;
}

.page_info-core p {
    text-shadow: none;
}

table.advancedsearch {
    width: 100%;
}

/* Custom style */
a.documentazione-indice {
    width: 260px;
    background: none repeat scroll 0 0 #F7F7F7;
    border-radius:4px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border: 1px solid #F0F0F0;
    display: block;
    text-align: center;
    font-size: 16px;
    line-height: 60px;
    color: #333;
    float:left;
    margin: 10px 26px;
/*    text-shadow: 0 1px 1px #FFFFFF;*/
}

/*a.documentazione-indice:visited {
      color: #333;
}*/

a.documentazione-indice:hover {
    text-decoration: none;
    color: #DD4814;
    background: none repeat scroll 0 0 #F4F4F4;
    border: 1px solid white;
    box-shadow: 0 1px 3px #CCCCCC;
    -webkit-box-shadow: 0 1px 3px #CCCCCC;
    -moz-box-shadow: 0 1px 3px #CCCCCC;
}

h1.titoloPortale {
    background: url("../img/smaller-dots.gif") repeat scroll 0 0 transparent;
    font-size: 4.6em;
    line-height: 2.5em;
    margin: 0;
    padding-left: 17px;
    text-shadow: none;
    color: #222222;
}

h1.titoloHome {
    background: url("../img/smaller-dots.gif") repeat scroll 0 0 transparent;
    font-size: 4.6em;
    line-height: 2.5em;
}

hr.portale {
    background:#aea79f;
    height:8px;
}

hr.portale-footer {
    background:url(../img/smaller-dots.gif);
    height:30px;
}


table.table-Notebook td, table.table-Giochi td {
    border:none;
}

table.table-Notebook, table.table-Giochi {
    background: #F7F7F7;
    font-size: 10px;
    padding: 5px 0;
    display: block;
    border-radius: 8px;
    border: 1px solid #F0F0F0;
}

span.bug img {
    width: 14px;
}

/* ########################################################## */
/* ##################  SMARTPHONE  ########################## */
/* ########################################################## */

#headerphone {
    display: none;
}

#searchform {
    display: block;
    }

.attachment {
    width: auto;
    min-width: 30px;
    height: auto;
    min-height: 15px;
}

/* :::::: menu :::::: */
#indice {
    display: none;
    width: 100%;
    height: 600px;
    box-shadow: 0 1px 4px 0 grey;
    background-color: #DD4814;
    padding-bottom: 10px;
    margin-top: -12px;
    text-shadow: 1px 2px 2px brown;
}

#indice a {
    color: white;
    font-size: 1.8em;
}

#indice dd {
    padding-bottom: 20px;
}

#up {
    display: none;
}

#arrow {
    display: none;
}

/* ########################################################## */
/* ####################### DARK MODE ######################## */
/* ########################################################## */

@media screen and (prefers-color-scheme: dark) {
html {
    background-color: #717171;
    color: white;
}

h1.titoloPortale {
    background: url("../img/smaller-dots-dark.gif") repeat scroll 0 0 transparent;
    color: #fff;
}

hr.portale-footer {
    background: url(../img/smaller-dotsdark.gif);
}

#wiki-page .container, div.box-content {
    background: #3f3f3f;
    border-radius: 10px;
    box-shadow: none;
}

.toc, .supported-releases, .page_info {
    background: none repeat scroll 0 0 #2b2b2b;
    border: 1px solid #2b2b2b;
    color: #ccc;
}

html {
    color: #ccc;
}

h1, h2, h3, h4, h5, h6, .toc a {
    color: white;
}

.backtick {
    color: #9e9e9e;
    background-color: #2f2f2f;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    padding-left: 3px;
    padding-right: 3px;
    border-color: #3b3a3a;
}

div.tip .backtick, div.important .backtick, div.note .backtick {
    color: #626262;
    background-color: transparent;
    border-style: none;
}

table .backtick {
    background-color: transparent;
    border-style: none;
}

a.documentazione-indice {
/*    background: none repeat scroll 0 0 #1e1e1e;*/
    background: none repeat scroll 0 0 #2d2d2d;
    border: 1px solid #FFF;
}

a.documentazione-indice:hover {
    background-color: #393939;
    color: #EC8705;
}

a, a:link, a:visited {
    color: #DF670F;
}

pre {
    background-color: #1b011e;
    color: #ccc;
    border: 1px solid #555;
}

table {
    background-color: #2d2d2d;
    border: 2px solid #2d2d2d;
    box-shadow: 0 1px 4px #000;
}

td {
    border: 1pt solid #6c6c6c;
}

#content div.caution, #content div.important, #content div.note, #content div.tip, #content div.warning {
    background-color: #adc7e3;
    border-radius: 5px;
    border: 3px solid #adc7e3;
}

#footer .container * {
    color: #fff;
}

textarea {
    color: #eaeaea;
    background-color: #5e5e5e;
}

a.nonexistent, a.badinterwiki {
    color: #aaa;
}

.recentchanges td {
    background: #2d2d2d;
}

.rcdaybreak td {
    background: #2d2d2d;
}

.diff-removed {
    color: black;
}

.diff-added {
    color: black;
}

/* Syntax highlighting */

div.codearea {
    background-color: #333;
}

div.codearea pre span.ResWord {
    color: #DBBD46;
}

div.codearea pre span.String {
    color: #699fd5;
}

div.codearea pre span.Comment {
    color: #606060;
}

div.codearea pre span.ID {
    color: #bbb;
}

div.codearea pre span.SPChar {
    color: #F06732;
}

}

/* ########################################################## */
/* ################ MEDIA QUERY - RESPONSIVE ################ */
/* ########################################################## */

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

/* :::::::::::::::::::::::: HEADER :::::::::::::::::::::::: */

#headerphone {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 15px 0 15px;
    background-color: #DD4814;
    height: 65px;
    box-shadow: 0 1px 4px 0 grey;
    }

#menu {
    padding-right: 15px;
    }

.togglediv {
    width: 25px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
    box-shadow: 1px 2px 2px brown;
    }

#title {
    color: white;
    text-decoration: none;
    font-size: 2.4em;
    /*font-weight: bold;*/
    text-shadow: 1px 2px 2px brown;
    }

a.title, a.title:hover, a.title:visited {
    color: white;
    }

#indice.show {
    display: block;
    max-width: 100%;
    min-width: 300px;
    }

/* :::::::::::::::::::::::: CONTENT :::::::::::::::::::::::: */

#searchform {
    position: absolute;
    top: 70px;
    left: 15px;
    width: 95%;
    }

#searchinput {
    width: 93%;
    }

#titlesearch {
    margin-top: 7px;
    }

#fullsearch{
    margin-left: 4px;
    }

#fixed-header  {
    display: none;
    }

/* smaller PageName */
#pagelocation {
    margin-top: 85px;
    font-size: 1.5em;
    }

p img {
    /*max-width: 32px;*/
    height: auto;
    }

body {
    max-width: 500px;
    min-width: 300px;
    }

.container {
    max-width: 500px;
    min-width: 300px;
    }

#header {
    max-width: 500px;
    min-width: 300px;
    }

#headerphone {
    max-width: 500px;
    min-width: 230px;
    }

#wiki-page {
    max-width: 500px;
    min-width: 300px;
    float: left;
    }

#footer {
    float: left;
    }

h1.titoloPortale {
    font-size: 2.5em;
    line-height: 1.4em;
    padding-left: 10px;
    }

/* ::::::::::::: anchor to top ::::::::::::: */

#up {
    background-image: url(../img/up-arrow.png);
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #eae4dc;
    box-shadow: 0 1px 4px 0 grey;
}

#arrow {
    width: 0; 
    height: 0; 
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;

    border-bottom: 15px solid blue;
    }
}

