/* MediaWiki:Common.css */
/* Don't display some stuff on the main page */
.page-Bosh_Sahifa #deleteconfirm,
.page-Bosh_Sahifa #t-cite,
.page-Bosh_Sahifa #footer-info-lastmod,
.page-Bosh_Sahifa #siteSub,
.page-Bosh_Sahifa #contentSub,
.page-Bosh_Sahifa h1.firstHeading,
.page-Bosh_Sahifa #lastmod {
  display: none !important;
}

.page-Bosh_Sahifa #mp-topbanner {
  margin-top: 0 !important;
}

/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
	overflow: hidden;
	margin: 1em 0;
	padding: 0 40px;
}

/* Default styling for HTML elements */
dfn {
    font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
    line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
}

/* Main page fixes */
#interwiki-completelist {
    font-weight: bold;
}
body.page-Bosh_Sahifa #ca-delete {
    display: none !important;
}
body.page-Bosh_Sahifa #mp-topbanner {
    clear: both;
}
body.page-Bosh_Sahifa .wbc-editpage { 
    display: none;
}

/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;            /* Default font-size */
    margin-bottom: 0.5em;
}
div.reflist ol.references {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target { 
    background-color: #DEF;
}

/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
    display: none;
}

/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.citation {
    word-wrap: break-word;
}

/* Default styling for titles of works, styling for the title of an article
   within a periodical, or a contribution within a compilation. */
cite,
.citation cite.article,
.citation cite.contribution {
    font-style: inherit;
}

/* Styling for the title of any work within a citation,
   or specifically the title of a periodical. */
.citation cite,
.citation cite.periodical {
    font-style: italic;
}
 
/* For linked citation numbers and document IDs, where
   the number need not be shown on a screen or a handheld,
   but should be included in the printed version */
@media screen, handheld {
    .citation *.printonly {
        display: none;
    }
}

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 8 (2016-05-21)
   @author [[User:Edokter]]
 */

.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}


/* Display list items inline */

.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    /* don't trust the note that says margin doesn't work with inline
				* removing margin: 0 makes dds have margins again */
    display: inline;
}


/* Display nested lists inline */

.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
    display: inline;
}


/* Hide empty list items */

.hlist .mw-empty-li {
    display: none;
}


/* Generate interpuncts */

.hlist dt:after {
    content: ": ";
}


/**
 * Note hlist style usage differs in Minerva and is defined in core as well!
 * Please check Minerva desktop (and Minerva.css) when changing
 * See https://phabricator.wikimedia.org/T213239
 */

.hlist dd:after,
.hlist li:after {
    content: " · ";
    font-weight: bold;
}

.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}


/* Add parentheses around nested lists */

.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
    content: " (";
    font-weight: normal;
}

.hlist dd dd:last-child:after,
.hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}


/* Put ordinals in front of ordered list items */

.hlist ol {
    counter-reset: listitem;
}

.hlist ol>li {
    counter-increment: listitem;
}

.hlist ol>li:before {
    content: " " counter(listitem) "\a0";
}

.hlist dd ol>li:first-child:before,
.hlist dt ol>li:first-child:before,
.hlist li ol>li:first-child:before {
    content: " (" counter(listitem) "\a0";
}

/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}

/* Default style for navigation boxes */

.navbox {
    /* Navbox container style */
    box-sizing: border-box;
    border: 1px solid #a2a9b1;
    width: 100%;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
    margin: 1em auto 0;
    /* Prevent preceding content from clinging to navboxes */
}

.navbox .navbox {
    margin-top: 0;
    /* No top margin for nested navboxes */
}

.navbox+.navbox {
    margin-top: -1px;
    /* Single pixel border between adjacent navboxes */
}

.navbox-inner,
.navbox-subgroup {
    width: 100%;
}

.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;
    /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}

th.navbox-group {
    /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}

.navbox,
.navbox-subgroup {
    background-color: #fdfdfd;
    /* Background color */
}

.navbox-list {
    line-height: 1.5em;
    border-color: #fdfdfd;
    /* Must match background color */
}


/* cell spacing for navbox cells */

tr+tr>.navbox-abovebelow,
tr+tr>.navbox-group,
tr+tr>.navbox-image,
tr+tr>.navbox-list {
    /* Borders above 2nd, 3rd, etc. rows */
    border-top: 2px solid #fdfdfd;
    /* Must match background color */
}

.navbox th,
.navbox-title {
    background-color: #ccccff;
    /* Level 1 color */
}

.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background-color: #ddddff;
    /* Level 2 color */
}

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background-color: #e6e6ff;
    /* Level 3 color */
}

.navbox-even {
    background-color: #f7f7f7;
    /* Even row striping */
}

.navbox-odd {
    background-color: transparent;
    /* Odd row striping */
}

.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 1px 0 0;	   /* Adjust hlist padding in navboxes */
}
.navbox .navbox {
	margin-top: 0;			/* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;		 /* Single pixel border between adjacent navboxes */
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 11px;
	font-weight: normal;
}
.navbar ul {
	display: inline;
	white-space: nowrap;
}
.mw-body-content .navbar ul {
	line-height: inherit;
}
.navbar.mini {
	word-spacing: -0.1em;
}
.navbar.mini span abbr[title] {
  border-bottom: none;
  text-decoration: none;
  cursor: inherit;
}

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {       
    /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @noflip */
    text-align: right;
    width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
   from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
    width: 6em;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
    font-weight: normal;
    /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}

.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}

.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaa;
}

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
    /* @noflip */
    text-align: left;
    border-collapse: collapse;
    line-height: 1.2em; 
    font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}

/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
    font-weight: normal;
    /* @noflip */
    text-align: left;
}

/* lists in data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
    /* @noflip */
    text-align: left;
}

/* Icons for medialist templates [[Template:Listen]],
   [[Template:Multi-listen_start]], [[Template:Video]],
   [[Template:Multi-video_start]]
*/
div.listenlist {
    /* @embed */
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
    /* @noflip */
    padding-left: 40px;
}

/* Style rules for media list templates */
div.medialist {
    min-height: 50px;
    margin: 1em;
    /* @noflip */
    background-position: top left;
    background-repeat: no-repeat;
}
div.medialist ul {
    list-style-type: none; 
    list-style-image: none;
    margin: 0;
}
div.medialist ul li {
    padding-bottom: 0.5em;
}
div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}

/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external, 
div#content a[href*=".pdf?"].external, 
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external, 
div#content a[href*=".PDF?"].external, 
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external, 
div#mw_content a[href*=".pdf?"].external, 
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external, 
div#mw_content a[href*=".PDF?"].external, 
div#mw_content a[href*=".PDF#"].external {
    /* @embed */
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}

/* Change the external link icon to an Adobe icon anywhere the PDFlink class
   is used (notably Template:PDFlink). This works in IE, unlike the above. */
div#content span.PDFlink a,
div#mw_content span.PDFlink a {
    /* @embed */
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
    /* @noflip */
    float: left;
    width: 50%;
    min-width: 300px;
}
div.columns-3 div.column {
    /* @noflip */
    float: left;
    width: 33.3%;
    min-width: 200px;
}
div.columns-4 div.column {
    /* @noflip */
    float: left;
    width: 25%;
    min-width: 150px;
}
div.columns-5 div.column {
    /* @noflip */
    float: left;
    width: 20%;
    min-width: 120px;
}

/* Messagebox templates */
.messagebox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0;
    padding: 2px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
    background: #F8EABA;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
    border: none; 
    /* @noflip */
    padding: 0.25em 0.9em;     /* 0.9em left/right */
    width: 100%;               /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
    border: none; 
    /* @noflip */
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center; 
}
td.mbox-imageright {           /* The right image cell */
    border: none;
    /* @noflip */
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
    text-align: center; 
}
td.mbox-empty-cell {           /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}

/* Article message box styles */
table.ambox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa; 
    /* @noflip */
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb; 
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text, 
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    /* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    /* @noflip */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
    /* @noflip */
    border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.ambox-delete {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    /* @noflip */
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    /* @noflip */
    border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    /* @noflip */
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    /* @noflip */
    border-left: 10px solid #bba;       /* Gray-gold */
}

/* Image message box styles */
table.imbox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 3px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
    display: block;         /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
    margin: 4px;
}

table.imbox-notice {
    border: 3px solid #1e90ff;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.imbox-delete {
    border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #f4c430;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #cba135;    /* Brown-gold */
}

/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa; 
    background: #DFE8FF;    /* Default "notice" blue */
}

table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}

/* Other pages message box styles */
table.ombox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}

table.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}
 
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
    width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */   
    font-size: 100%;             /* set in "mbox-small" above.                */
}

table.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}

/* Disambig and set index box styles */
table.dmbox {
    clear: both; 
    margin: 0.9em 1em; 
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    background: transparent;
}
 
/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages. 
   Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other 
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so 
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    /* @noflip */
    clear: right;
    /* @noflip */
    float: right;
    /* @noflip */
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    /* @noflip */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}

/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext {
    border: none;
    background: transparent;
    padding: 0;
}

/* Bold save button */
#wpSave {
    font-weight: bold;
}

/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
    display: inline ! important;
    color: #f00; 
    background-color: #0f0;
}

/* suppress missing interwiki image links where #ifexist cannot
   be used due to high number of requests see .hidden-redlink on 
   [[m:MediaWiki:Common.css]]
*/
.check-icon a.new {
    display: none; 
    speak: none;
}

/* Removes underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited { 
    text-decoration: none !important;
}

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    /* @noflip */
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}

/* Hatnotes and disambiguation notices */
.rellink,
.dablink {
    font-style: italic;
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
.rellink i,
.dablink i {
    font-style: normal;
}

/* Allow transcluded pages to display in lists rather than a table.
   Compatible in Firefox; incompatible in IE6. */
.listify td    { display: list-item; }
.listify tr    { display: block; }
.listify table { display: block; }

/* When <div class="nonumtoc"> is used on the table of contents,
   the ToC will display without numbers */
.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    /* @noflip */
    margin: 0 0 0 2em; 
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}

/* User block messages */
div.user-block {
    padding: 5px;
    margin-bottom: 0.5em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}

/* Prevent line breaks in silly places: 
   1) Where desired
   2) Links when we don't want them to
   3) Bold "links" to the page itself
   4) HTML formulae
   5) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
span.texhtml,
sup.reference a { 
    white-space: nowrap;
}

/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 1em;
}

/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.imagemap-inline div {
    display: inline;
}

/* Increase the height of the image upload box */
#wpUploadDescription {
    height: 13em;
}

/* Minimum thumb width */
figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
.thumbinner {
    min-width: 100px;
}

/* Category tree */
#mw-subcategories ul {
    list-style: none none;
    margin-left: 0.25em;
}
.CategoryTreeChildren {
    margin-left: 1.25em;
}

/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views */
#mw-subcategories, #mw-pages, #mw-category-media, 
#filehistory, #wikiPreview, #wikiDiff {
    clear: both;
}
/* Styling for Abuse Filter tags */
.mw-tag-markers {
    font-family:sans-serif;
    font-style:italic;
    font-size:90%;
}

/* Hide stuff meant for accounts with special permissions. Made visible again in [[MediaWiki:Group-sysop.css]] and [[MediaWiki:Group-accountcreator.css]]. */
.checkuser-show,
.sysop-show,
.patroller-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
    display: none;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
    list-style: none;
}
ul.permissions-errors {
    margin: 0;
}

/* Disable the automatic text-size adjust of WebKit on iPhones etc.
   It scales some text, and not the other. Use none, or fixed percentage instead.
   Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

/* Reduce excess space between category links.
   Remove this when bug 31547/r100869 is resolved/deployed */
#catlinks {
    line-height: 1.25em;
}
#catlinks li {
    line-height: 1.25em;
    margin: 0.125em 0;
    padding: 0 0.5em;
}
#catlinks li:first-child {
    padding-left: 0.25em;
}

/* Fix styling of transcluded prefindex tables */
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
    width: 98%;
}

/* For portals, added 2011-12-07 -bv */
/* On wide screens, show these as two columns */
/* On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
    float: left;
    width: 50%;
}
.portal-column-right {
    float: right;
    width: 49%;
}
.portal-column-left-wide {
    float: left;
    width: 60%;
}
.portal-column-right-narrow {
    float: right;
    width: 39%;
}
.portal-column-left-extra-wide {
    float: left;
    width: 70%;
}
.portal-column-right-extra-narrow {
    float: right;
    width: 29%;
}
@media only screen and (max-width: 800px) {
    /* Decouple the columns on narrow screens */
    .portal-column-left,
    .portal-column-right,
    .portal-column-left-wide,
    .portal-column-right-narrow,
    .portal-column-left-extra-wide,
    .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}

/* For announcements */
#bodyContent .letterhead {
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}

.references.lower-alpha {

list-style-type: lower-alpha;

}

/* Foydalanuvchi haqida avtomatik ma'lumot */
#ziyo-user-information {
    margin: 4px 0 14px 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: normal;
    color: #202122;
}

#ziyo-user-information a {
    font-size: inherit;
    font-weight: normal;
}

#ziyo-ad-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.60);
}

#ziyo-global-ad {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

#ziyo-global-ad img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
}

.ziyo-ad-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;

    width: 36px;
    height: 36px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.75);
    color: #fff;

    font-size: 25px;
    line-height: 34px;
    cursor: pointer;
}

.ziyo-ad-close:hover {
    background: #000;
}


/* =========================================================
   ZIYOSFERA — ZIYO AI CHAT
   ========================================================= */


/* Asosiy widget */

#ziyo-ai-widget {
    position: fixed;

    right: 26px;
    bottom: 24px;

    z-index: 99999;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   FLOATING AI TUGMASI
   ========================================================= */

#ziyo-ai-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #087be8 0%,
            #079dd7 55%,
            #12b8ad 100%
        );

    cursor: pointer;

    outline: none;

    box-shadow:
        0 9px 28px rgba(0, 118, 212, 0.32),
        0 4px 10px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}


/* Tugma hover */

#ziyo-ai-button:hover {
    transform:
        translateY(-3px)
        scale(1.05);

    filter: brightness(1.04);

    box-shadow:
        0 13px 34px rgba(0, 118, 212, 0.40),
        0 5px 13px rgba(0, 0, 0, 0.16);
}


/* Bosilganda */

#ziyo-ai-button:active {
    transform: scale(0.95);
}


/* =========================================================
   CHAT IKONKASI
   ========================================================= */

.ziyo-ai-button-icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    width: 29px;
    height: 23px;

    border: 2.4px solid #fff;
    border-radius: 8px;

    box-sizing: border-box;
}


/* Chat dumchasi */

.ziyo-ai-button-icon::after {
    content: "";

    position: absolute;

    left: 4px;
    bottom: -6px;

    width: 8px;
    height: 8px;

    border-left: 2.4px solid #fff;
    border-bottom: 2.4px solid #fff;

    background: transparent;

    transform:
        rotate(-20deg)
        skew(-8deg);
}


/* Ichidagi uchta nuqta */

.ziyo-ai-dot {
    display: block;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #fff;
}


/* =========================================================
   AI BADGE
   ========================================================= */

.ziyo-ai-badge {
    position: absolute;

    top: -5px;
    right: -4px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 23px;
    height: 19px;

    padding: 0 4px;

    box-sizing: border-box;

    border: 2px solid #fff;
    border-radius: 10px;

    background: #ffffff;

    color: #087be8;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   PULSE ANIMATSIYA
   ========================================================= */

#ziyo-ai-widget:not(.ziyo-ai-open)::before {
    content: "";

    position: absolute;

    right: 6px;
    bottom: 6px;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background:
        rgba(0, 143, 214, 0.18);

    pointer-events: none;

    animation:
        ziyoAiPulse 2.2s infinite;
}


@keyframes ziyoAiPulse {

    0% {
        transform: scale(1);
        opacity: 0.65;
    }

    70% {
        transform: scale(1.65);
        opacity: 0;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }

}


/* Chat ochilganda floating button yo‘qoladi */

#ziyo-ai-widget.ziyo-ai-open
#ziyo-ai-button {
    display: none;
}


/* =========================================================
   CHAT PANEL
   ========================================================= */

#ziyo-ai-panel {
    display: none;

    flex-direction: column;

    width: 380px;
    height: 560px;

    max-height: calc(100vh - 55px);

    overflow: hidden;

    background: #fff;

    border:
        1px solid
        rgba(0, 0, 0, 0.07);

    border-radius: 18px;

    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.19),
        0 4px 15px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   HEADER
   ========================================================= */

#ziyo-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-shrink: 0;

    min-height: 68px;

    padding: 10px 14px;

    box-sizing: border-box;

    background:
        linear-gradient(
            135deg,
            #087be8 0%,
            #079dd7 60%,
            #12b8ad 100%
        );

    color: #fff;
}


.ziyo-ai-header-left {
    display: flex;
    align-items: center;

    min-width: 0;
}


/* AI avatar */

.ziyo-ai-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 41px;
    height: 41px;

    margin-right: 10px;

    flex-shrink: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.18);

    color: #fff;

    font-size: 12px;
    font-weight: 700;
}


.ziyo-ai-header-info {
    min-width: 0;
}


.ziyo-ai-title {
    margin: 0;

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;
}


/* Online status */

.ziyo-ai-status {
    display: flex;
    align-items: center;

    margin-top: 3px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 11px;
    line-height: 1.2;
}


.ziyo-ai-online-dot {
    width: 7px;
    height: 7px;

    margin-right: 5px;

    border-radius: 50%;

    background: #50e58b;

    box-shadow:
        0 0 0 3px
        rgba(80, 229, 139, 0.18);
}


/* =========================================================
   YOPISH TUGMASI
   ========================================================= */

#ziyo-ai-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    flex-shrink: 0;

    border: none;
    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.16);

    color: #fff;

    font-size: 25px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


#ziyo-ai-close:hover {
    background:
        rgba(255, 255, 255, 0.28);

    transform: rotate(4deg);
}


/* =========================================================
   XABARLAR MAYDONI
   ========================================================= */

#ziyo-ai-messages {
    flex: 1;

    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 18px 15px;

    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            #f8fbfd 0%,
            #ffffff 100%
        );

    scroll-behavior: smooth;
}


/* Scrollbar */

#ziyo-ai-messages::-webkit-scrollbar {
    width: 5px;
}


#ziyo-ai-messages::-webkit-scrollbar-track {
    background: transparent;
}


#ziyo-ai-messages::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #c8d3dc;
}


/* =========================================================
   WELCOME
   ========================================================= */

.ziyo-ai-welcome {
    display: flex;
    align-items: flex-end;

    gap: 8px;

    margin-bottom: 13px;
}


.ziyo-ai-welcome-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #087be8,
            #10b8ad
        );

    color: #fff;

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   CHAT BUBBLES
   ========================================================= */

.ziyo-ai-message {
    width: fit-content;
    max-width: 82%;

    margin-bottom: 11px;

    padding: 10px 13px;

    box-sizing: border-box;

    border-radius: 14px;

    font-size: 13px;
    line-height: 1.5;

    word-break: break-word;

    animation:
        ziyoAiMessageIn
        0.18s ease;
}


@keyframes ziyoAiMessageIn {

    from {
        transform: translateY(5px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }

}


/* AI xabari */

.ziyo-ai-message.assistant {
    margin-right: auto;

    border:
        1px solid #e4eaf0;

    border-bottom-left-radius: 5px;

    background: #fff;

    color: #202122;

    box-shadow:
        0 2px 7px
        rgba(0, 0, 0, 0.04);
}


/* User xabari */

.ziyo-ai-message.user {
    margin-left: auto;

    border-bottom-right-radius: 5px;

    background:
        linear-gradient(
            135deg,
            #087be8,
            #079dd7
        );

    color: #fff;

    box-shadow:
        0 3px 9px
        rgba(0, 120, 215, 0.17);
}


/* =========================================================
   "YOZMOQDA..." ANIMATSIYASI
   ========================================================= */

.ziyo-ai-typing {
    display: flex;

    gap: 4px;

    padding-top: 14px;
    padding-bottom: 14px;
}


.ziyo-ai-typing span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #8a98a5;

    animation:
        ziyoAiTyping
        1.1s infinite ease-in-out;
}


.ziyo-ai-typing span:nth-child(2) {
    animation-delay: 0.15s;
}


.ziyo-ai-typing span:nth-child(3) {
    animation-delay: 0.30s;
}


@keyframes ziyoAiTyping {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }

}


/* =========================================================
   INPUT QISMI
   ========================================================= */

#ziyo-ai-input-area {
    display: flex;
    align-items: flex-end;

    gap: 8px;

    flex-shrink: 0;

    margin: 10px;

    padding: 6px 6px 6px 12px;

    box-sizing: border-box;

    border: 1px solid #dfe5ea;
    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.04);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#ziyo-ai-input-area:focus-within {
    border-color: #168bd2;

    box-shadow:
        0 0 0 3px
        rgba(22, 139, 210, 0.10);
}


/* Textarea */

#ziyo-ai-input {
    flex: 1;

    width: 100%;
    min-width: 0;

    min-height: 36px;
    max-height: 110px;

    padding: 8px 0;

    box-sizing: border-box;

    overflow-y: auto;

    resize: none;

    border: none;
    outline: none;

    background: transparent;

    color: #202122;

    font-family: inherit;
    font-size: 13px;

    line-height: 1.4;
}


#ziyo-ai-input::placeholder {
    color: #8b98a5;
}


/* =========================================================
   SEND TUGMASI
   ========================================================= */

#ziyo-ai-send {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    flex-shrink: 0;

    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #087be8,
            #079dd7
        );

    color: #fff;

    cursor: pointer;

    box-shadow:
        0 3px 8px
        rgba(0, 120, 215, 0.20);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}


#ziyo-ai-send:hover {
    transform: translateY(-1px);

    box-shadow:
        0 5px 12px
        rgba(0, 120, 215, 0.27);
}


#ziyo-ai-send:active {
    transform: scale(0.94);
}


#ziyo-ai-send span {
    display: block;

    transform:
        rotate(-10deg)
        translateX(1px);

    font-size: 16px;
}


/* =========================================================
   PASTKI YOZUV
   ========================================================= */

.ziyo-ai-footer {
    flex-shrink: 0;

    padding:
        0 10px 9px;

    text-align: center;

    color: #9aa4ad;

    font-size: 9px;
}


/* =========================================================
   MOBIL QURILMALAR
   ========================================================= */

@media (max-width: 600px) {

    #ziyo-ai-widget {
        right: 14px;
        bottom: 14px;
    }


    #ziyo-ai-button {
        width: 57px;
        height: 57px;
    }


    #ziyo-ai-panel {
        width:
            calc(100vw - 28px);

        height:
            min(620px, calc(100vh - 45px));

        max-height:
            calc(100vh - 45px);

        border-radius: 17px;
    }

}


/* Juda kichik ekran */

@media (max-width: 380px) {

    #ziyo-ai-widget {
        right: 8px;
        bottom: 8px;
    }


    #ziyo-ai-panel {
        width:
            calc(100vw - 16px);

        height:
            calc(100vh - 25px);

        max-height:
            calc(100vh - 25px);
    }

}

/* =========================================================
   ZIYO AI — MAQOLA NATIJASI
   ========================================================= */

.ziyo-ai-article-result {
    max-width: 88%;
    padding: 14px;
}


/* Maqola sarlavhasi */

.ziyo-ai-result-title {
    margin-bottom: 8px;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.35;
}


.ziyo-ai-result-title a {
    color: #087be8;

    text-decoration: none;
}


.ziyo-ai-result-title a:hover {
    text-decoration: underline;
}


/* Qisqacha ma'lumot */

.ziyo-ai-result-extract {
    margin-bottom: 12px;

    color: #30363b;

    font-size: 12.5px;
    line-height: 1.55;
}


/* Maqolani o'qish tugmasi */

.ziyo-ai-read-more {
    display: inline-flex;
    align-items: center;

    margin-top: 2px;

    padding: 7px 11px;

    border-radius: 8px;

    background:
        rgba(8, 123, 232, 0.09);

    color: #087be8 !important;

    font-size: 11.5px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}


.ziyo-ai-read-more:hover {
    background:
        rgba(8, 123, 232, 0.15);

    transform:
        translateX(2px);
}


/* =========================================================
   ZiyoSfera — Rasmiy hujjatlar va fayllar kartochkasi
   ========================================================= */
.ziyo-doc-box {
    max-width: 880px;
    margin: 18px 0 24px 0;
    border: 1px solid #dbe3eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ziyo-doc-header {
    background: linear-gradient(135deg, #094b87 0%, #0c6ab0 60%, #0088cc 100%);
    color: #ffffff;
    padding: 18px 24px;
}

.ziyo-doc-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ziyo-doc-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff !important;
    border: none !important;
    padding: 0 !important;
}

.ziyo-doc-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    background: #e6f7ec;
    color: #0d7338;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.ziyo-doc-body {
    padding: 22px 24px;
}

.ziyo-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.ziyo-doc-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 10px 14px;
}

.ziyo-doc-desc {
    background: #f8fbfd;
    border-left: 4px solid #0c6ab0;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-bottom: 20px;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.ziyo-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
    transition: all 0.2s ease;
}

.ziyo-btn-download:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.38);
    color: #ffffff !important;
}

.ziyo-btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.ziyo-btn-view:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}


/* ==========================================================================
   ZIYOSTATS - WIKIMEDIA STATS INTERACTIVE DASHBOARD STYLES
   ========================================================================== */
.page-ZiyoSfera_Statistika #firstHeading,
.page-ZiyoSfera_Statistika #siteSub,
.page-ZiyoSfera_Statistika #contentSub {
  display: none !important;
}

.ziyostats-app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px;
  margin: 10px 0 30px 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.dark-theme .ziyostats-app,
.skin-theme-clientpref-night .ziyostats-app {
  color: #f1f5f9;
  background: #0f172a;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.ziyostats-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: 16px;
  padding: 32px 28px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 20px 25px -5px rgba(67, 56, 202, 0.3);
}

.ziyostats-hero-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ziyostats-hero-sub {
  font-size: 15px;
  color: #c7d2fe;
  margin: 0 0 24px 0;
  max-width: 750px;
  line-height: 1.5;
}

.ziyostats-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.ziyostats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ziyostats-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.ziyostats-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c7d2fe;
  margin-bottom: 6px;
}

.ziyostats-card-val {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.ziyostats-card-sub {
  font-size: 11px;
  color: #a5b4fc;
  margin-top: 4px;
}

/* Nav Tabs */
.ziyostats-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 2px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.dark-theme .ziyostats-tabs,
.skin-theme-clientpref-night .ziyostats-tabs {
  border-color: #334155;
}

.ziyostats-tab-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ziyostats-tab-btn:hover {
  color: #4338ca;
  background: #f1f5f9;
}

.dark-theme .ziyostats-tab-btn:hover,
.skin-theme-clientpref-night .ziyostats-tab-btn:hover {
  color: #818cf8;
  background: #1e293b;
}

.ziyostats-tab-btn.active {
  color: #4338ca;
  background: #e0e7ff;
}

.dark-theme .ziyostats-tab-btn.active,
.skin-theme-clientpref-night .ziyostats-tab-btn.active {
  color: #ffffff;
  background: #4338ca;
}

/* Tab contents */
.ziyostats-tab-pane {
  display: none;
}
.ziyostats-tab-pane.active {
  display: block;
  animation: ziyofade 0.3s ease;
}

@keyframes ziyofade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ziyostats-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.ziyostats-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.dark-theme .ziyostats-panel,
.skin-theme-clientpref-night .ziyostats-panel {
  background: #1e293b;
  border-color: #334155;
}

.ziyostats-panel-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tables */
.ziyostats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ziyostats-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #e2e8f0;
}

.dark-theme .ziyostats-table th,
.skin-theme-clientpref-night .ziyostats-table th {
  background: #0f172a;
  color: #94a3b8;
  border-color: #334155;
}

.ziyostats-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.dark-theme .ziyostats-table td,
.skin-theme-clientpref-night .ziyostats-table td {
  border-color: #334155;
}

.ziyostats-table tr:hover td {
  background: #f8fafc;
}

.dark-theme .ziyostats-table tr:hover td,
.skin-theme-clientpref-night .ziyostats-table tr:hover td {
  background: #1e293b;
}

.ziyostats-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  background: #e0e7ff;
  color: #4338ca;
}

.ziyostats-badge-success {
  background: #dcfce7;
  color: #15803d;
}

.ziyostats-progress-bg {
  background: #e2e8f0;
  border-radius: 9999px;
  height: 6px;
  width: 100%;
  overflow: hidden;
  margin-top: 4px;
}

.dark-theme .ziyostats-progress-bg,
.skin-theme-clientpref-night .ziyostats-progress-bg {
  background: #334155;
}

.ziyostats-progress-bar {
  background: #4f46e5;
  height: 100%;
  border-radius: 9999px;
}

.ziyostats-search-input {
  width: 100%;
  max-width: 320px;
  padding: 8px 14px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-bottom: 14px;
  outline: none;
  background: #ffffff;
  color: #1e293b;
}

.dark-theme .ziyostats-search-input,
.skin-theme-clientpref-night .ziyostats-search-input {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

/* ==========================================================================
   MediaWiki Legacy Thumbnail & Image Frame Alignments (MW 1.45+ Fix)
   Fixes Andoza:Image frame and float right/left thumbnails
   ========================================================================== */
div.tright,
div.floatright,
table.floatright {
    clear: right;
    float: right;
    margin: 0.5em 0 1.3em 1.4em;
}

div.tleft,
div.floatleft,
table.floatleft {
    float: left;
    clear: left;
    margin: 0.5em 1.4em 1.3em 0;
}

@media all and (max-width: 639px) {
    body.skin--responsive div.tright,
    body.skin--responsive div.floatright,
    body.skin--responsive table.floatright,
    body.skin--responsive div.tleft,
    body.skin--responsive div.floatleft,
    body.skin--responsive table.floatleft {
        clear: both;
        float: none;
        margin: 0.5em auto;
    }
}

div.floatright,
table.floatright {
    margin: 0 0 0.5em 0.5em;
}

div.floatleft,
table.floatleft {
    margin: 0 0.5em 0.5em 0;
}

div.thumb {
    width: auto;
    background-color: transparent;
    margin-bottom: 0.5em;
}

div.thumbinner {
    padding: 3px;
    text-align: center;
    overflow: hidden;
    border: 1px solid #c8ccd1;
    background-color: #f8f9fa;
    font-size: 94%;
}

@media all and (max-width: 639px) {
    body.skin--responsive .mw-parser-output .thumb .thumbinner {
        display: flex;
        place-content: flex-start center;
        flex-flow: column wrap;
    }
    body.skin--responsive .mw-parser-output .thumb .thumbinner > .thumbcaption {
        justify-content: space-between;
        width: 100%;
        flex: 1 0 100%;
        order: 1;
        display: block;
    }
}

.thumbcaption {
    text-align: start;
    line-height: 1.4em;
    padding: 3px;
    font-size: 94%;
}

.thumbcaption:empty {
    padding: 0;
}

.thumbimage {
    background-color: #ffffff;
    border: 1px solid #c8ccd1;
}

.thumbborder {
    border: 1px solid #eaecf0;
}

.magnify {
    float: right;
    margin-left: 3px;
}

/* ========================================================
   Ziyosfera: Cheksiz aylanuvchi logotiplar titri (Logo Marquee)
   ======================================================== */
.ziyo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 16px 0;
    margin: 18px 0;
    background: transparent;
    box-sizing: border-box;
    /* Ikki chetida chiroyli gradient xiralashuv (fade-out effekti) */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ziyo-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 48px;
    animation: ziyo-marquee-scroll var(--marquee-speed, 28s) linear infinite;
    will-change: transform;
}

/* Sichqoncha ustiga borganda animatsiyani to'xtatish */
.ziyo-marquee:hover .ziyo-marquee-track {
    animation-play-state: paused;
}

.ziyo-marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 48px;
    padding: 0 8px;
}

.ziyo-marquee-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none !important;
}

.ziyo-marquee-item img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    filter: grayscale(15%);
    opacity: 0.9;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.ziyo-marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

@keyframes ziyo-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Mobil qurilmalar uchun moslashuv */
@media (max-width: 768px) {
    .ziyo-marquee {
        padding: 10px 0;
        margin: 12px 0;
    }
    .ziyo-marquee-track {
        gap: 28px;
        animation-duration: 18s;
    }
    .ziyo-marquee-item {
        height: 38px;
        padding: 0 4px;
    }
    .ziyo-marquee-item img {
        max-height: 32px;
    }
}

/* ========================================================
   ZiyoSfera Titr — Matnli va bayramona xabarlar uslubi
   ======================================================== */
.ziyo-marquee-text-item {
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 9999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    transition: all 0.25s ease;
    user-select: none;
}

.ziyo-marquee-text-item a {
    color: #1d4ed8 !important;
    text-decoration: none !important;
    font-weight: 600;
}

.ziyo-marquee-text-item a:hover {
    color: #2563eb !important;
    text-decoration: underline !important;
}

.ziyo-marquee-text-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Qorong'u rejim (Dark Mode) moslashuvi */
html.skin-theme-clientpref-night .ziyo-marquee-text-item,
body.skin-theme-clientpref-night .ziyo-marquee-text-item,
.skin-theme-clientpref-night .ziyo-marquee-text-item {
    background: rgba(30, 41, 59, 0.88);
    border-color: rgba(51, 65, 85, 0.95);
    color: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html.skin-theme-clientpref-night .ziyo-marquee-text-item a,
body.skin-theme-clientpref-night .ziyo-marquee-text-item a,
.skin-theme-clientpref-night .ziyo-marquee-text-item a {
    color: #93c5fd !important;
}

html.skin-theme-clientpref-night .ziyo-marquee-text-item:hover,
body.skin-theme-clientpref-night .ziyo-marquee-text-item:hover,
.skin-theme-clientpref-night .ziyo-marquee-text-item:hover {
    background: #1e293b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
    .ziyo-marquee-text-item {
        font-size: 13.5px;
        padding: 5px 14px;
        gap: 8px;
    }
}

/* ==========================================================================
   KUZGI BARGLAR (TABIIY CHINOR XAZONI) EFFEKTI - ZIYOSFERA SEZONIY BEZAGI
   ========================================================================== */
#ziyo-autumn-leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
    z-index: 99999;
    overflow: hidden;
    perspective: 800px;
}

.ziyo-leaf {
    position: absolute;
    top: -70px;
    user-select: none;
    pointer-events: none !important;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    animation-iteration-count: infinite;
}

.ziyo-leaf svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
    display: block;
}

/* Tabiiy 3D tushish, havoda ag'darilish va shamol chayqalishi */
@keyframes ziyoFallChinor {
    0% {
        transform: translateY(-80px) translateX(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        opacity: 0;
    }
    8% {
        opacity: var(--leaf-opacity, 0.82);
    }
    25% {
        transform: translateY(26vh) translateX(var(--sway-1, 50px)) rotateX(160deg) rotateY(80deg) rotateZ(35deg);
    }
    50% {
        transform: translateY(52vh) translateX(calc(var(--sway-1, 50px) * -0.8)) rotateX(340deg) rotateY(190deg) rotateZ(-25deg);
    }
    75% {
        transform: translateY(78vh) translateX(var(--sway-2, 65px)) rotateX(520deg) rotateY(280deg) rotateZ(50deg);
    }
    90% {
        opacity: var(--leaf-opacity, 0.82);
    }
    100% {
        transform: translateY(106vh) translateX(calc(var(--sway-2, 65px) * -0.5)) rotateX(720deg) rotateY(360deg) rotateZ(110deg);
        opacity: 0;
    }
}

/* Foydalanuvchi nazorati: chap pastki burchakdagi nafis kichik tugma */
.autumn-toggle-pill {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    z-index: 100000;
    transition: all 0.25s ease;
    user-select: none;
    pointer-events: auto !important;
}

.autumn-toggle-pill:hover {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    color: #0f172a;
}

.autumn-toggle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    transition: background 0.2s;
}

.autumn-toggle-pill.disabled .autumn-toggle-dot {
    background: #94a3b8;
}

/* Tungi rejim (Dark mode) uchun moslashuv */
html.skin-theme-clientpref-night .autumn-toggle-pill,
body.skin-theme-clientpref-night .autumn-toggle-pill,
.skin-theme-clientpref-night .autumn-toggle-pill {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(51, 65, 85, 0.95);
    color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

html.skin-theme-clientpref-night .autumn-toggle-pill:hover,
body.skin-theme-clientpref-night .autumn-toggle-pill:hover,
.skin-theme-clientpref-night .autumn-toggle-pill:hover {
    background: #1e293b;
    color: #f1f5f9;
}

@media (max-width: 768px) {
    .autumn-toggle-pill {
        bottom: 12px;
        left: 12px;
        padding: 5px 10px;
        font-size: 11px;
    }
}
/* MediaWiki:Vector-2022.css */
#coordinates {
	line-height: 2;
	font-size: 92%;
	white-space: nowrap;
}

/* [[phab:T265947]] */
.mw-body-content blockquote {
	border-left: none;
}

/* "ZiyoSfera, ochiq ensiklopediya" teglayni */
#siteSub {
	display: block;
}
