مدیاویکی:Common.css: تفاوت میان نسخه‌ها

از اسلامیکال
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۲۳: خط ۲۳:
}
}
/* end */
/* end */
/* portals by nazarzadeh */
 
.portal-container-2 {
dfn {
display: grid;
font-style: inherit/* Reset default styling for <dfn> */
grid-gap: 10px;
grid-template-columns: repeat(2, auto);
grid-template-rows: auto;   
width: 100%
}
}
.portal-container-3 {
sup, sub {
display: grid;
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
grid-gap: 10px;
grid-template-columns: repeat(3, auto);  
grid-template-rows: auto; 
width: 100%
}
}
.portal-container-4 {
 
display: grid;
/* Main page fixes */
grid-gap: 10px;
 
grid-template-columns: repeat(4, auto);
body.page-اسلامیکال_صفحه_تمرین #ca-edit,
grid-template-rows: auto; 
body.page-اسلامیکال_آشنایی #ca-edit {
width: 100%
border: 1px dotted #36c;
}
}
.portal-container-5 {
body.page-اسلامیکال_صفحه_تمرین #ca-edit:hover,
display: grid;
body.page-اسلامیکال_آشنایی #ca-edit:hover {
grid-gap: 10px;
background: none repeat scroll 0 0 white;
grid-template-columns: repeat(5, auto);  
border-color: transparent;
grid-template-rows: auto;
width: 100%
}
}
.portal-container-6 {
body.page-صفحهٔ_اصلی #mp-topbanner {
display: grid;  
clear: both;
grid-gap: 10px;
grid-template-columns: repeat(6, auto);
grid-template-rows: auto; 
width: 100%
}
}
.portal-container-7 {
 
display: grid;  
body.page-صفحهٔ_اصلی #ca-delete,
grid-gap: 10px;
body.page-صفحهٔ_اصلی #deleteconfirm,
grid-template-columns: repeat(7, auto);
body.page-صفحهٔ_اصلی #t-cite,
grid-template-rows: auto; 
body.page-صفحهٔ_اصلی #lastmod,
width: 100%
body.page-صفحهٔ_اصلی #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
display: none !important;
}
 
body.page-صفحهٔ_اصلی #ca-history,
body.page-صفحهٔ_اصلی #pagehistory {
display: none;
}
}
.portal-column-2-3 {
 
grid-column-end: span 2;  
/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.wb-langlinks-link {
text-align : right;
}
}
.portal-column-3-4 {
 
grid-column-end: span 3;  
/* Make the list of references in [[Template:Reflist]] smaller */
.references-small {  
font-size: 90%;
}
}
.portal-column-1-2,
 
.portal-column-1-3,
/* Highlight clicked reference in blue to help navigation */
.portal-column-1-4,
ol.references > li:target,
.portal-column-1-5,
sup.reference:target,
.portal-column-1-6,
span.citation:target, cite:target {  
.portal-column-1-7 {
background-color: #ecf0fa;
grid-column-end: span 1;  
}
}
.portal-column-2-2 {
 
grid-column-end: span 2;
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
font-weight: normal;
font-style: normal;
}
}
.portal-column-3-3 {
 
grid-column-end: span 3;
/* Styling for citations */
span.citation, cite {
word-wrap: break-word;
}
}
.portal-column-4-4 {
 
grid-column-end: span 4;
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target {  
background-color: #ecf0fa;
}
}
.portal-column-5-5 {
 
grid-column-end: span 5;
/* 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, projection {
cite *.printonly {
display: none;
}
}
}
.portal-column-6-6 {
 
grid-column-end: span 6;
/* Style for horizontal lists (separator following item) */
 
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
line-height: 1.5em;
}
}
.portal-column-7-7 {
/* Style for horizontal lists (separator following item).
grid-column-end: span 7;
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
}
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
@media only screen and (max-width: 850px) {
  @revision 5 (2014-02-24)
.mainpage-portals {
  @author [[User:Edokter]]
width: 25%;  
*/
}
.hlist dl,
    /* Decouple the columns on narrow screens */
.hlist ol,
    .portal-container-2,
.hlist ul {
    .portal-container-3,  
margin: 0;
    .portal-container-4,
padding: 0;
    .portal-container-5,
}
    .portal-container-6,
/* Display list items inline */
    .portal-container-7 {
.hlist dd,
display: block;
.hlist dt,
}
.hlist li {
    .portal-column-1-2,
margin: 0;
    .portal-column-2-4,
display: inline;
    .portal-column-1-4,
}
    .portal-column-1-3,
/* Display nested lists inline */
    .portal-column-2-3,
.hlist.inline,
    .portal-column-2-2,
.hlist.inline dl,
    .portal-column-3-3,
.hlist.inline ol,
.portal-column-4-4,
.hlist.inline ul,
.portal-column-5-5,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.portal-column-6-6,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.portal-column-7-7 {
.hlist ul dl, .hlist ul ol, .hlist ul ul {
        flo at: inherit;
display: inline;
        wid th: 100%;
}
        margin-top: 10px;
/* Generate interpuncts */
        display: block !important;
.hlist dt:after {
        text-align: center;
content: ": ";
    }
}
    .portal-column-1-4 {
.hlist dd:after,
wid th: calc(50% - 16px);
.hlist li:after {
    }
content: " • ";
    .portal-column-1-6 {
/*font-weight: bold;*/
wid th: calc(33.3% - 16px);
    }
    .portal-column-1-7 {
flo at: right;
wid th: calc(25% - 16px);
    }
}
}
/* portals end */
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
dfn {
.hlist li:last-child:after {
font-style: inherit; /* Reset default styling for <dfn> */
content: none;
}
}
sup, sub {
/* For IE8 */
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
}
 
/* Add parentheses around nested lists */
/* Main page fixes */
.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,
body.page-اسلامیکال_صفحه_تمرین #ca-edit,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
body.page-اسلامیکال_آشنایی #ca-edit {
content: " (";
border: 1px dotted #36c;
font-weight: normal;
}
}
body.page-اسلامیکال_صفحه_تمرین #ca-edit:hover,
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
body.page-اسلامیکال_آشنایی #ca-edit:hover {
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
background: none repeat scroll 0 0 white;
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
border-color: transparent;
content: ") ";
font-weight: normal;
}
}
body.page-صفحهٔ_اصلی #mp-topbanner {
/* For IE8 */
clear: both;
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
}
 
/* Put ordinals in front of ordered list items */
body.page-صفحهٔ_اصلی #ca-delete,
.hlist ol {
body.page-صفحهٔ_اصلی #deleteconfirm,
counter-reset: listitem;
body.page-صفحهٔ_اصلی #t-cite,
body.page-صفحهٔ_اصلی #lastmod,
body.page-صفحهٔ_اصلی #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
display: none !important;
}
}
 
.hlist ol > li {
body.page-صفحهٔ_اصلی #ca-history,
counter-increment: listitem;
body.page-صفحهٔ_اصلی #pagehistory {
display: none;
}
}
 
.hlist ol > li:before {
/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
content: " " counter(listitem) " ";
.wb-langlinks-link {
content: " " counter(listitem, persian) " ";
text-align : right;
white-space: nowrap;
}
}
 
.hlist dd ol > li:first-child:before,
/* Make the list of references in [[Template:Reflist]] smaller */
.hlist dt ol > li:first-child:before,
.references-small {  
.hlist li ol > li:first-child:before {
font-size: 90%;
content: " (" counter(listitem) " ";
content: " (" counter(listitem, persian) " ";
}
}


/* Highlight clicked reference in blue to help navigation */
/* فهرست بدون گلوله */
ol.references > li:target,
.plainlist ul {
sup.reference:target,
line-height: inherit;
span.citation:target, cite:target {  
list-style: none none;
background-color: #ecf0fa;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
}


/* Ensure refs in table headers and the like aren't bold or italic */
/* Normal font styling for table row headers with scope="row" tag */
sup.reference {
.wikitable.plainrowheaders th[scope=row] {
font-weight: normal;
font-weight: normal;
font-style: normal;
/* @noflip */
text-align: right;
}
}
 
/* Styling for citations */
/* Lists in data cells are always left-aligned */
span.citation, cite {
html[dir=rtl] .wikitable td ul,
word-wrap: break-word;
html[dir=rtl] .wikitable td ol,
html[dir=rtl] .wikitable td dl {
/* @noflip */
text-align: right;
}
}
 
/* ...unless they also use the hlist class */
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
html[dir=rtl] .wikitable.hlist td ul,
cite:target {  
html[dir=rtl] .wikitable.hlist td ol,
background-color: #ecf0fa;
html[dir=rtl] .wikitable.hlist td dl {
text-align: inherit;
}
}


/* 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 */
/* Default style for navigation boxes */
 
.navbox {                    /* Navbox container style */
@media screen, handheld, projection {
box-sizing: border-box;
cite *.printonly {
border: 1px solid #a2a9b1;
display: none;
width: 100%;
}
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
}
 
.navbox-inner,
/* Style for horizontal lists (separator following item) */
.navbox-subgroup {
 
width: 100%;
.box-sh {
padding: 0.5rem 1rem;
color: #555;
background-color: #fff;
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
border-radius: 8px;
border: none;
}
}
 
.navbox-group,
.skin-monobook .hlist dl,
.navbox-title,
.skin-modern .hlist dl,
.navbox-abovebelow {
.skin-vector .hlist dl {
padding: 0.25em 1em;      /* Title, group and above/below styles */
line-height: 1.5em;
line-height: 1.5em;
text-align: center;
}
}
/* Style for horizontal lists (separator following item).
th.navbox-group {            /* Group style */
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
white-space: nowrap;
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
/* @noflip */
  @revision 5 (2014-02-24)
text-align: right;
  @author [[User:Edokter]]
}
*/
.navbox,
.hlist dl,
.navbox-subgroup {
.hlist ol,
background: #f8f9fa;     /* Background color */
.hlist ul {
margin: 0;
padding: 0;
}
}
/* Display list items inline */
.navbox-list {
.hlist dd,
line-height: 1.8em;
.hlist dt,
border-color: #f8f9fa;   /* Must match background color */
.hlist li {
margin: 0;
display: inline;
}
}
/* Display nested lists inline */
.navbox th,
.hlist.inline,
.navbox-title {
.hlist.inline dl,
background: #b3ccff;     /* Level 1 color */
.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;
}
}
/* Generate interpuncts */
.navbox-abovebelow,
.hlist dt:after {
th.navbox-group,
content: ": ";
.navbox-subgroup .navbox-title {
background: #dbe7ff;     /* Level 2 color */
}
}
.hlist dd:after,
.navbox-subgroup .navbox-group,
.hlist li:after {
.navbox-subgroup .navbox-abovebelow {
content: " • ";
background: #e5edff;     /* Level 3 color */
/*font-weight: bold;*/
}
}
.hlist dd:last-child:after,
.navbox-even {
.hlist dt:last-child:after,
background: #f8f9fa;     /* Even row striping */
.hlist li:last-child:after {
content: none;
}
}
/* For IE8 */
.navbox-odd {
.hlist dd.hlist-last-child:after,
background: transparent; /* Odd row striping */
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
}
/* Add parentheses around nested lists */
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
margin-top: -1px;          /* (doesn't work for IE6, but that's okay)      */
.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,
.navbox .hlist td dl,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.navbox .hlist td ol,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
.navbox .hlist td ul,
content: ") ";
.navbox td.hlist dl,
font-weight: normal;
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
}
/* For IE8 */
ol + table.navbox,
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
ul + table.navbox {
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
/* RTL fix for navbox-list bullet lists; See [[Special:Permalink/24864265#خطای ظاهری]]. */
counter-reset: listitem;
.navbox-list li {
unicode-bidi: isolate;
}
}
.hlist ol > li {
 
counter-increment: listitem;
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
}
.hlist ol > li:before {
.navbar ul {
content: " " counter(listitem) " ";
display: inline;
content: " " counter(listitem, persian) " ";
white-space: nowrap;
white-space: nowrap;
}
}
.hlist dd ol > li:first-child:before,
.navbar li {
.hlist dt ol > li:first-child:before,
word-spacing: -0.125em;
.hlist li ol > li:first-child:before {
}
content: " (" counter(listitem) " ";
.navbar.mini li { /* span is removed */
content: " (" counter(listitem, persian) " ";
font-size: xx-small;
}
}
 
.nv-talk > a {
/* فهرست بدون گلوله */
color: #002BB8;
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
}
.plainlist ul li {
/* Navbar styling when nested in infobox and navbox */
margin-bottom: 0;
.infobox .navbar {
font-size: 100%;
}
}
 
.navbox .navbar {
/* Normal font styling for table row headers with scope="row" tag */
display: block;
.wikitable.plainrowheaders th[scope=row] {
font-size: 100%;
font-weight: normal;
/* @noflip */
text-align: right;
}
}
.navbox-title .navbar {
/* Lists in data cells are always left-aligned */
/* @noflip */
html[dir=rtl] .wikitable td ul,
float: right;
html[dir=rtl] .wikitable td ol,
html[dir=rtl] .wikitable td dl {
/* @noflip */
/* @noflip */
text-align: right;
text-align: right;
}
/* @noflip */
/* ...unless they also use the hlist class */
margin-left: 0.5em;
html[dir=rtl] .wikitable.hlist td ul,
width: 6em;
html[dir=rtl] .wikitable.hlist td ol,
html[dir=rtl] .wikitable.hlist td dl {
text-align: inherit;
}
}


/* Default style for navigation boxes */
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
.navbox {                     /* Navbox container style */
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
box-sizing: border-box;
.collapseButton {
border: 1px solid #a2a9b1;
/* @noflip */
width: 100%;
float: left;
margin: auto;
font-weight: normal;
clear: both;
/* @noflip */
font-size: 88%;
margin-right: 0.5em;
text-align: center;
/* @noflip */
padding: 1px;
text-align: left;
width: auto;
}
}
.navbox-inner,
/* In navboxes, the show/hide button balances the v·d·e links
.navbox-subgroup {
  from [[Template:Navbar]], so they need to be the same width. */
width: 100%;
.navbox .collapseButton {
width: 6em;
}
}
.navbox-group,
 
.navbox-title,
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.navbox-abovebelow {
.mw-parser-output .mw-collapsible-toggle {
padding: 0.25em 1em;     /* Title, group and above/below styles */
font-weight: normal;
line-height: 1.5em;
/* @noflip */
text-align: center;
text-align: left;
}
padding-right: 0.2em;
th.navbox-group {             /* Group style */
padding-left: 0.2em;
white-space: nowrap;
}
 
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
float: right;
/* @noflip */
/* @noflip */
text-align: right;
text-align: right;
}
}
.navbox,
 
.navbox-subgroup {
/* Infobox template style */
background: #f8f9fa;     /* Background color */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 1em 0.5em 0;
padding: 0.2em;
/* @noflip */
float: left;
/* @noflip */
clear: left;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
}
.navbox-list {
 
line-height: 1.8em;
/* not strictly certain these styles are necessary
border-color: #f8f9fa;   /* Must match background color */
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}
.navbox th,
 
.navbox-title {
.infobox-header,
background: #b3ccff;      /* Level 1 color */
.infobox-label,
}
.infobox-above,
.navbox-abovebelow,
.infobox-full-data,
th.navbox-group,
.infobox-data,
.navbox-subgroup .navbox-title {
.infobox-below,
background: #dbe7ff;     /* Level 2 color */
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-abovebelow {
.infobox-label,
background: #e5edff;      /* Level 3 color */
.infobox-data,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
}
.navbox-even {
 
background: #f8f9fa;      /* Even row striping */
/* remove .infobox from below new class names when live */
}
.infobox .infobox-above,
.navbox-odd {
.infobox .infobox-title, /* TODO remove caption line when class is live */
background: transparent;  /* Odd row striping */
.infobox caption{
}
font-size: 125%;
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
font-weight: bold;
margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
text-align: center;
}
.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: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
}
}


/* RTL fix for navbox-list bullet lists; See [[Special:Permalink/24864265#خطای ظاهری]]. */
.infobox caption, /* TODO remove caption line when class is live */
.navbox-list li {
.infobox-title {
unicode-bidi: isolate;
padding: 0.2em;
}
}


/* Default styling for Navbar template */
.infobox .infobox-header,
.navbar {
.infobox .infobox-subheader,
display: inline;
.infobox .infobox-image,
font-size: 88%;
.infobox .infobox-full-data,
font-weight: normal;
.infobox .infobox-below {
text-align: center;
}
}
.navbar ul {
 
display: inline;
.infobox .infobox-navbar {
white-space: nowrap;
text-align: left;
}
}
.navbar li {
 
word-spacing: -0.125em;
.infobox.bordered {
border-collapse: collapse;
}
}
.navbar.mini li { /* span is removed */
 
font-size: xx-small;
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
}
.nv-talk > a {
 
color: #002BB8;
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
}
/* Navbar styling when nested in infobox and navbox */
 
.infobox .navbar {
.infobox.sisterproject {
font-size: 100%;
width: 20em;
font-size: 90%;
}
}
.navbox .navbar {
 
display: block;
/* styles for bordered infobox with merged rows */
font-size: 100%;
/* TODO split definitions to appropriate class names when live from HTML element */
}
.infobox.bordered .mergedtoprow td,
.navbox-title .navbar {
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
/* @noflip */
float: right;
border-left: 1px solid #a2a9b1;
/* @noflip */
text-align: right;
/* @noflip */
margin-left: 0.5em;
width: 6em;
}
}


/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
/* TODO split definitions to appropriate class names when live from HTML element */
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.infobox.bordered .mergedrow td,
.collapseButton {
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
/* @noflip */
float: left;
border-left: 1px solid #a2a9b1;
font-weight: normal;
/* @noflip */
margin-right: 0.5em;
/* @noflip */
text-align: left;
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. */
/* Styles for geography infoboxes, eg countries,
.navbox .collapseButton {
   country subdivisions, cities, etc.           */
width: 6em;
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
}


/* Styling for JQuery makeCollapsible, matching that of collapseButton */
/* TODO split definitions to appropriate class names when live from HTML element */
.mw-parser-output .mw-collapsible-toggle {
.infobox.geography  td,
font-weight: normal;
.infobox.geography  th {
/* @noflip */
border-top: 1px solid #a2a9b1;
text-align: left;
padding: 0.4em 0.6em 0.4em 0.6em;
padding-right: 0.2em;
padding-left: 0.2em;
}
}


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* TODO split definitions to appropriate class names when live from HTML element */
/* @noflip */
.infobox.geography .mergedtoprow td,
float: right;
.infobox.geography .mergedtoprow th {
/* @noflip */
border-top: 1px solid #a2a9b1;
text-align: right;
padding: 0.4em 0.6em 0.2em 0.6em;
}
}


/* Infobox template style */
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox {
.infobox.geography .mergedrow td,
border: 1px solid #a2a9b1;
.infobox.geography .mergedrow th {
border-spacing: 3px;
border: 0;
background-color: #f8f9fa;
padding: 0 0.6em 0.2em 0.6em;
color: black;
}
/* @noflip */
 
margin: 0.5em 1em 0.5em 0;
/* TODO split definitions to appropriate class names when live from HTML element */
padding: 0.2em;
.infobox.geography .mergedbottomrow td,
/* @noflip */
.infobox.geography .mergedbottomrow th {
float: left;
border-top: 0;
/* @noflip */
border-bottom: 1px solid #a2a9b1;
clear: left;
padding: 0 0.6em 0.4em 0.6em;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
}


/* not strictly certain these styles are necessary
/* TODO split definitions to appropriate class names when live from HTML element */
* just replicating the module faithfully
.infobox.geography .maptable td,
*/
.infobox.geography .maptable th {
.infobox-subbox {
border: 0;
padding: 0;
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}


.infobox-header,
/* Style for "notices" */
.infobox-label,
.notice {
.infobox-above,
margin: 1em;
.infobox-full-data,
padding: 0.2em;
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}


.infobox-label,
#disambig {
.infobox-data,
border-top: 1px solid #c8ccd1;
/* Remove element declaration when both a) infobox3cols is migrated and
border-bottom: 1px solid #c8ccd1;
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
}


/* remove .infobox from below new class names when live */
.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
.infobox .infobox-above,
font-family: inherit;
.infobox .infobox-title, /* TODO remove caption line when class is live */
.infobox caption{
font-size: 125%;
font-weight: bold;
text-align: center;
}
}


.infobox caption, /* TODO remove caption line when class is live */
DIV.siteNoticeSmall {
.infobox-title {
font-size: 15pt;
padding: 0.2em;
}
}


.infobox .infobox-header,
/* Persondata and other (future) metadata */
.infobox .infobox-subheader,
table.InChI, /* temporary */
.infobox .infobox-image,
table.persondata {
.infobox .infobox-full-data,
border: 1px solid #a2a9b1;
.infobox .infobox-below {
display: none;
text-align: center;
speak: none;
}
}
 
.InChI-label, /* temporary */
.infobox .infobox-navbar {
.persondata-label {
text-align: left;
color: #a2a9b1;
}
}


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


/* TODO split definitions to appropriate class names when live from HTML element */
div.videolist, div.multivideolist {
.infobox.bordered td,
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
.infobox.bordered th {
padding-right: 50px;
border: 1px solid #a2a9b1;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* Change the external link icon to an Adobe icon for all PDF files
.infobox.bordered .borderless td,
  in browsers that support these CSS selectors, like Mozilla and Opera */
.infobox.bordered .borderless th {
.mw-body a[href$=".pdf"].external,
border: 0;
.mw-body a[href*=".pdf?"].external,
.mw-body a[href*=".pdf#"].external,
.mw-body a[href$=".PDF"].external,
.mw-body a[href*=".PDF?"].external,
.mw-body 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 {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
/* @noflip */
padding-left: 18px;
}
}


.infobox.sisterproject {
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
width: 20em;
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
font-size: 90%;
span.PDFlink a {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
padding-left: 18px !important;
}
}


/* styles for bordered infobox with merged rows */
span.geolink a {
/* TODO split definitions to appropriate class names when live from HTML element */
background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
.infobox.bordered .mergedtoprow td,
padding-left: 11px !important;
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-left: 1px solid #a2a9b1;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* Content in columns with CSS instead of tables [[Template:Columns]] */
.infobox.bordered .mergedrow td,
div.columns-2 div.column {
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
/* @noflip */
border-left: 1px solid #a2a9b1;
float: right;
width: 50%;
min-width: 300px;
}
}


/* Styles for geography infoboxes, eg countries,
div.columns-3 div.column {
  country subdivisions, cities, etc.            */
/* @noflip */
.infobox.geography {
float: right;
border-collapse: collapse;
width: 33.3%;
line-height: 1.2em;
min-width: 200px;
font-size: 90%;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
div.columns-4 div.column {
.infobox.geography  td,
/* @noflip */
.infobox.geography  th {
float: right;
border-top: 1px solid #a2a9b1;
width: 25%;
padding: 0.4em 0.6em 0.4em 0.6em;
min-width: 150px;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
div.columns-5 div.column {
.infobox.geography .mergedtoprow td,
/* @noflip */
.infobox.geography .mergedtoprow th {
float: right;
border-top: 1px solid #a2a9b1;
width: 20%;
padding: 0.4em 0.6em 0.2em 0.6em;
min-width: 120px;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
.infobox.geography .mergedrow td,
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
.infobox.geography .mergedrow th {
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
border: 0;
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
padding: 0 0.6em 0.2em 0.6em;
  "print". The rules below ensure (a) that there is no extra padding to the left of
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
*/
 
.plainlinksneverexpand {
background: none ! important;
padding: 0 ! important;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
.plainlinksneverexpand .urlexpansion {
.infobox.geography .mergedbottomrow td,
display: none ! important;
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
.infobox.geography .maptable td,
  the arrow...
.infobox.geography .maptable th {
*/
border: 0;
.plainlinksneverexpand a {
padding: 0;
background: none !important;
padding: 0 !important;
}
}


/* Style for "notices" */
/* Messagebox templates */
.notice {
.messagebox {
margin: 1em;
border: 1px solid #a2a9b1;
padding: 0.2em;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
}
 
.messagebox.merge {
#disambig {
border: 1px solid #c0b8cc;
border-top: 1px solid #c8ccd1;  
background-color: #f0e5ff;
border-bottom: 1px solid #c8ccd1;
text-align: center;
}
}
 
.messagebox.cleanup {
.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
border: 1px solid #9f9fff;
font-family: inherit;
background-color: #efefff;
text-align: center;
}
}
 
.messagebox.standard-talk {
DIV.siteNoticeSmall {
border: 1px solid #c0c090;
font-size: 15pt;
background-color: #f8eaba;
}
}
 
.messagebox.nested-talk {
/* Persondata and other (future) metadata */
border: 1px solid #c0c090;
table.InChI, /* temporary */
background-color: #f8eaba;
table.persondata {
width: 100%;
border: 1px solid #a2a9b1;
margin: 2px 4px 2px 4px;
display: none;
speak: none;
}
}
.InChI-label, /* temporary */
.messagebox.small {
.persondata-label {
width: 238px;
color: #a2a9b1;
font-size: 85%;
}
/* @noflip */
 
float: left;
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
clear: both;
div.listenlist {
background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
/* @noflip */
/* @noflip */
padding-right: 40px;
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
/* @noflip */
float: left;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #fff2cc;
}
}


div.videolist, div.multivideolist {
/* Article message box styles */
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
table.ambox {
padding-right: 50px;
margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
border-right: 10px solid #36c;  /* Default "notice" blue */
background: #f8f9fa;  
}
}
 
table.ambox + table.ambox {     /* Single border between stacked boxes. */
/* Change the external link icon to an Adobe icon for all PDF files
margin-top: -1px;
  in browsers that support these CSS selectors, like Mozilla and Opera */
.mw-body a[href$=".pdf"].external,
.mw-body a[href*=".pdf?"].external,
.mw-body a[href*=".pdf#"].external,
.mw-body a[href$=".PDF"].external,
.mw-body a[href*=".PDF?"].external,
.mw-body 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 {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
/* @noflip */
padding-left: 18px;
}
}
 
.ambox th.mbox-text,
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
.ambox td.mbox-text {            /* The message body cell(s) */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
padding: 0.25em 0.5em;      /* 0.5em left/right */
span.PDFlink a {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
padding-left: 18px !important;
}
}
 
.ambox td.mbox-image {           /* The left image cell */
span.geolink a {
padding: 2px 0.5em 2px 0;    /* 0.5em right, 0px left */
background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
padding-left: 11px !important;
}
}
 
.ambox td.mbox-imageright {      /* The right image cell */
/* Content in columns with CSS instead of tables [[Template:Columns]] */
padding: 2px 0 2px 0.5em;    /* 0px right, 0.5em left */
div.columns-2 div.column {
}
/* @noflip */
float: right;
table.ambox-notice {
width: 50%;
border-right: 10px solid #36c;   /* Blue */
min-width: 300px;
}
}
 
table.ambox-speedy {
div.columns-3 div.column {
border-right: 10px solid #DD0000;    /* Red */
/* @noflip */
background: #fee7e6;                   /* Pink */
float: right;
width: 33.3%;
min-width: 200px;
}
}
 
table.ambox-delete {
div.columns-4 div.column {
border-right: 10px solid #DD0000;    /* Red */
/* @noflip */
float: right;
width: 25%;
min-width: 150px;
}
}
 
table.ambox-content {
div.columns-5 div.column {
border-right: 10px solid #FF5D00;    /* Orange */
/* @noflip */
}
float: right;
table.ambox-style {
width: 20%;
border-right: 10px solid #fc3;   /* Yellow */
min-width: 120px;
}
}
 
table.ambox-move {
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
border-right: 10px solid #9932cc;   /* Purple */
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
  "print". The rules below ensure (a) that there is no extra padding to the left of
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
*/
 
.plainlinksneverexpand {
background: none ! important;
padding: 0 ! important;
}
}
 
table.ambox-protection {
.plainlinksneverexpand .urlexpansion {
border-right: 10px solid #a2a9b1;       /* Gray-gold */
display: none ! important;
}
}


/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
/* Disambig and set index box styles */
  the arrow...
table.dmbox {
*/
clear: both;  
.plainlinksneverexpand a {
margin: 0.9em 1em;
background: none !important;
border-top: 1px solid #c8ccd1;
padding: 0 !important;
border-bottom: 1px solid #c8ccd1;
background: transparent;
}
}
 
/* Messagebox templates */
/* Footer and header message box styles */
.messagebox {
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
background: #f8f9fa;     /* Default "system" gray */
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
}
.messagebox.merge {
table.fmbox-system {
border: 1px solid #c0b8cc;
background: #f8f9fa;
background-color: #f0e5ff;
text-align: center;
}
}
.messagebox.cleanup {
table.fmbox-warning {
border: 1px solid #9f9fff;
border: 1px solid #DD0000; /* Dark pink */
background-color: #efefff;
background: #fee7e6;       /* Pink */
text-align: center;
}
}
.messagebox.standard-talk {
table.fmbox-editnotice {
border: 1px solid #c0c090;
background: transparent;
background-color: #f8eaba;
}
}
.messagebox.nested-talk {
/* Div based "warning" style fmbox messages. */
border: 1px solid #c0c090;
div.mw-warning-with-logexcerpt,
background-color: #f8eaba;
div.mw-lag-warn-high,
width: 100%;
div.mw-cascadeprotectedwarning,
margin: 2px 4px 2px 4px;
div#mw-protect-cascadeon {
}
clear: both;
.messagebox.small {
margin: 0.2em 0;
width: 238px;
border: 1px solid #DD0000;
font-size: 85%;
background: #fee7e6;
/* @noflip */
padding: 0.25em 0.9em;
float: left;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;  
}
}
.messagebox.small-talk {
/* Div based "system" style fmbox messages.  
width: 238px;
  Used in [[MediaWiki:Readonly lag]]. */
font-size: 85%;
div.mw-lag-warn-normal,
/* @noflip */
div.fmbox-system {
float: left;
clear: both;
clear: both;
/* @noflip */
margin: 0.2em 0;
margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
line-height: 1.25em;  
background: #f8f9fa;
background: #fff2cc;
padding: 0.25em 0.9em;
}
}


/* Article message box styles */
/* Other pages message box styles */
table.ambox {
table.ombox {
margin: 0px 10%;                 /* 10% = Will not overlap with other elements */
margin: 4px 10%;
border: 1px solid #a2a9b1;  
border-collapse: collapse;
border-right: 10px solid #36c; /* Default "notice" blue */
border: 1px solid #a2a9b1;   /* Default "notice" gray */
background: #f8f9fa;  
background-color: #f8f9fa;
box-sizing: border-box;
}
}
table.ambox + table.ambox {     /* Single border between stacked boxes. */
 
margin-top: -1px;
table.ombox-notice {
border: 1px solid #a2a9b1;   /* Gray */
}
}
.ambox th.mbox-text,
 
.ambox td.mbox-text {           /* The message body cell(s) */
table.ombox-speedy {
padding: 0.25em 0.5em;       /* 0.5em left/right */
border: 2px solid #b32424;    /* Red */
background-color: #fee7e6;   /* Pink */
}
}
.ambox td.mbox-image {           /* The left image cell */
 
padding: 2px 0.5em 2px 0;    /* 0.5em right, 0px left */
table.ombox-delete {
border: 2px solid #b32424;    /* Red */
}
}
.ambox td.mbox-imageright {     /* The right image cell */
 
padding: 2px 0 2px 0.5em;    /* 0px right, 0.5em left */
table.ombox-content {
border: 1px solid #f28500;    /* Orange */
}
}
 
table.ambox-notice {
table.ombox-style {
border-right: 10px solid #36c;   /* Blue */
border: 1px solid #fc3;       /* Yellow */
}
}
table.ambox-speedy {
 
border-right: 10px solid #DD0000;    /* Red */
table.ombox-move {
background: #fee7e6;                  /* Pink */
border: 1px solid #9932cc;    /* Purple */
}
}
table.ambox-delete {
 
border-right: 10px solid #DD0000;    /* Red */
table.ombox-protection {
border: 2px solid #a2a9b1;    /* Gray-gold */
}
}
table.ambox-content {
border-right: 10px solid #FF5D00;   /* Orange */
/* These mbox-small classes must be placed after all other
}
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
table.ambox-style {
  they override "table.ambox + table.ambox" above. */
border-right: 10px solid #fc3;   /* Yellow */
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
/* @noflip */
clear: left;
/* @noflip */
float: left;
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
}
table.ambox-move {
html body.mediawiki .mbox-small-right {   /* For the "small=right" option. */
border-right: 10px solid #9932cc;    /* Purple */
/* @noflip */
}
margin: 4px 0 4px 1em;
table.ambox-protection {
box-sizing: border-box;
border-right: 10px solid #a2a9b1;       /* Gray-gold */
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}


/* Disambig and set index box styles */
/* Style for compact ambox */
table.dmbox {
/* Hide the images */
clear: both;
.compact-ambox table .mbox-image,
margin: 0.9em 1em;
.compact-ambox table .mbox-imageright,
border-top: 1px solid #c8ccd1;
.compact-ambox table .mbox-empty-cell {
border-bottom: 1px solid #c8ccd1;
display: none;
background: transparent;
}
}
 
/* Footer and header message box styles */
/* Remove borders, backgrounds, padding, etc. */
table.fmbox {
.compact-ambox table.ambox {
clear: both;
border: none;
margin: 0.2em 0;
border-collapse: collapse;
width: 100%;
background-color: transparent;
border: 1px solid #a2a9b1;
margin: 0 1.6em 0 0 !important;
background: #f8f9fa;     /* Default "system" gray */
padding: 0 !important;
width: auto;
display: block;
}
}
table.fmbox-system {
 
background: #f8f9fa;
body.mediawiki .compact-ambox table.mbox-small-left {
font-size: 100%;
width: auto;
margin: 0;
}
}
table.fmbox-warning {
 
border: 1px solid #DD0000; /* Dark pink */
/* Style the text cell as a list item and remove its padding */
background: #fee7e6;       /* Pink */
.compact-ambox table .mbox-text {
padding: 0 !important;
margin: 0 !important;
}
}
table.fmbox-editnotice {
 
background: transparent;
.compact-ambox table .mbox-text-span {
display: list-item;
line-height: 1.5em;
list-style-type: square;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
}
/* Div based "warning" style fmbox messages. */
 
div.mw-warning-with-logexcerpt,
/* Allow for hiding text in compact form */
div.mw-lag-warn-high,
.compact-ambox .hide-when-compact {
div.mw-cascadeprotectedwarning,
display: none;
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #DD0000;
background: #fee7e6;
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 #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
}


/* Other pages message box styles */
/* Put a checker background at the image description page only visible if the image has transparent background */
table.ombox {
#file img {
margin: 4px 10%;
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
border-collapse: collapse;
border: 1px solid #a2a9b1;    /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
}


table.ombox-notice {
#wpSave {
border: 1px solid #a2a9b1;   /* Gray */
font-weight: bold;
}
}


table.ombox-speedy {
/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
border: 2px solid #b32424;   /* Red */
/* use restricted to rail icon management pages */
background-color: #fee7e6;   /* Pink */
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
.check-icon a.new {
display: none;  
speak:none;
}
}


table.ombox-delete {
/* Removes underlines from links */
border: 2px solid #b32424;   /* Red */
.nounderlines a {  
text-decoration: none;
}
}


table.ombox-content {
/* Remove underline from IPA links */
border: 1px solid #f28500;   /* Orange */
.IPA a:link, .IPA a:visited {
text-decoration: none;
}
}


table.ombox-style {
/* Removes useless links from printout */
border: 1px solid #fc3;       /* Yellow */
@media print {
#privacy, #about, #disclaimer {display:none;}
}
}


table.ombox-move {
#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
border: 1px solid #9932cc;   /* Purple */
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }
 
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 4px;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
}
 
div.Boxmerge div.NavFrame {
table.ombox-protection {
border-style: none;
border: 2px solid #a2a9b1;   /* Gray-gold */
border-style: hidden;
}
}
div.NavFrame + div.NavFrame {
/* These mbox-small classes must be placed after all other
border-top-style: none;
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
border-top-style: hidden;
  they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
/* @noflip */
clear: left;
/* @noflip */
float: left;
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
}
html body.mediawiki .mbox-small-right {   /* For the "small=right" option. */
div.NavPic {
/* @noflip */
background-color: #fff;
margin: 4px 0 4px 1em;
margin: 0px;
box-sizing: border-box;
padding: 2px;
overflow: hidden;
float: right;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}
 
div.NavFrame div.NavHead {
/* Style for compact ambox */
height: 1.6em;
/* Hide the images */
font-weight: bold;
.compact-ambox table .mbox-image,
background-color: #b3ccff;
.compact-ambox table .mbox-imageright,
position:relative;
.compact-ambox table .mbox-empty-cell {
display: none;
}
}
 
div.NavFrame div.NavHead:hover {
/* Remove borders, backgrounds, padding, etc. */
background-color: #aaf;
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background-color: transparent;
margin: 0 1.6em 0 0 !important;
padding: 0 !important;
width: auto;
display: block;
}
}
 
div.NavFrame p {
body.mediawiki .compact-ambox table.mbox-small-left {
font-size: 100%;
font-size: 100%;
width: auto;
margin: 0;
}
}
 
div.NavFrame div.NavContent {
/* Style the text cell as a list item and remove its padding */
font-size: 100%;
.compact-ambox table .mbox-text {
}
padding: 0 !important;
div.NavFrame div.NavContent p {
margin: 0 !important;
font-size: 100%;
}
}
 
div.NavEnd {
.compact-ambox table .mbox-text-span {
margin: 0px;
display: list-item;
padding: 0px;
line-height: 1.5em;
line-height: 1px;
list-style-type: square;
clear: both;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
}
 
a.NavToggle {
/* Allow for hiding text in compact form */
position:absolute;
.compact-ambox .hide-when-compact {
top:0px;
display: none;
left:3px;
font-weight:normal;
font-size:smaller;
}
}


/* Put a checker background at the image description page only visible if the image has transparent background */
/* Hatnotes and disambiguation notices */
#file img {
.rellink,
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
.dablink,
.hatnote {
font-style: italic;
}
.rellink i,
.dablink i,
.hatnote i {
font-style: normal;
}
}
 
div.rellink,
#wpSave {
div.dablink,
font-weight: bold;
div.hatnote {
/* @noflip */
padding-right: 1.6em;
margin-bottom: 0.5em;
}
}


/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
span.updatedmarker {
/* use restricted to rail icon management pages */
background-color: transparent;
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
color: #006400;
.check-icon a.new {
display: none;  
speak:none;
}
}


/* Removes underlines from links */
/* Coloured watchlist numbers */
.nounderlines a {  
.mw-plusminus-pos {
text-decoration: none;
color: #006400; /* darkgreen */
}
}


/* Remove underline from IPA links */
/* .mw-plusminus-null currently at developer default */
.IPA a:link, .IPA a:visited {
 
text-decoration: none;
.mw-plusminus-neg {
color: #8B0000; /* darkred */
}
}


/* Removes useless links from printout */
.dablink {
@media print {
font-style: italic;
#privacy, #about, #disclaimer {display:none;}
padding-right: 2em;
}
}


#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
.dablink i {
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
font-style: normal;
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
}
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }


/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
/* Style for horizontal UL lists */
.horizontal ul {
padding: 0;
margin: 0;
}


div.Boxmerge,
.horizontal li {  
div.NavFrame {
padding: 0 0.6em 0 0.4em;
margin: 0px;
display: inline;
padding: 4px;
border-left: 1px solid;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
 
border-style: none;
/* Geographical coordinates
border-style: hidden;
 
}
To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
div.NavFrame + div.NavFrame {
  .geo-default { display: inline } .geo-nondefault { display: none }
border-top-style: none;
  .geo-dec { display: inline } .geo-dms { display: inline }
border-top-style: hidden;
 
To display coordinates using decimal notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline } .geo-dms { display: none }
 
To display coordinates using DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: none }  .geo-dms { display: inline }
 
To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline }  .geo-dms { display: inline }
  .geo-multi-punct { display: inline }
 
See [[Template:Coor link]] for how these are used.
 
Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.
 
*/
 
.geo-default { display: inline; }
.geo-nondefault { display: none; }
.geo-dms { display: inline; }
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }
 
.longitude .latitude {
white-space: nowrap;
}
}
div.NavPic {
 
background-color: #fff;
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
margin: 0px;
.geo { }
padding: 2px;
 
float: right;
/***** end Geo-related */
 
/* 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;
}
}
div.NavFrame div.NavHead {
.nonumtoc #toc ul ul,
height: 1.6em;
.nonumtoc .toc ul ul {  
font-weight: bold;
margin: 0 0 0 2em;  
background-color: #b3ccff;
position:relative;
}
}
div.NavFrame div.NavHead:hover {
 
background-color: #aaf;
/* 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-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
 
/* 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;}
 
div.user-block {
padding: 5px;
border: 1px solid #a2a9b1;
background-color: #fee7e6;
}
}
div.NavFrame p {
/* Prevent line breaks in silly places:
font-size: 100%;
  1) links when we don't want them to
}
  2) HTML formulae
div.NavFrame div.NavContent {
  3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
font-size: 100%;
*/
.nowrap,
.nowraplinks a,
span.texhtml,
sup.reference a { white-space: nowrap; }
 
/* Contents of <math> tag should have an ltr layout */
span.texhtml {
direction: ltr;
unicode-bidi: isolate;
}
}
div.NavFrame div.NavContent p {
 
font-size: 100%;
.thumbinner {
min-width: 100px;
}
}
div.NavEnd {
 
margin: 0px;
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
padding: 0px;
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
line-height: 1px;
border: none;
clear: both;
padding: 0.25em 0.9em;       /* 0.9em left/right */
width: 100%;   /* Make all mboxes the same width regardless of text length */
}
}
a.NavToggle {
td.mbox-image {                 /* The left image cell */
position:absolute;
border: none;  
top:0px;
padding: 2px 0.9em 2px 0px;   /* 0.9em right, 0px left */
left:3px;
text-align: center;
font-weight:normal;
}
font-size:smaller;
td.mbox-imageright {            /* The right image cell */
border: none;
padding: 2px 0px 2px 0.9em;   /* 0px left, 0.9em right */
text-align: center;  
}
}


/* Hatnotes and disambiguation notices */
 
.rellink,
/* Reduce line-height for <sup> and <sub> */
.dablink,
sup, sub {
.hatnote {
line-height: 1em;
font-style: italic;
}
}
.rellink i,
 
.dablink i,
/* Selectively hide headers in WikiProject banners */
.hatnote i {
/* TemplateStyles */
font-style: normal;
.wpbs-inner .wpb .wpb-header {
display: table-row;
}
}
div.rellink,
 
div.dablink,
/* Styling for Abuse Filter tags */
div.hatnote {
.mw-tag-markers {
/* @noflip */
font-style:italic;
padding-right: 1.6em;
font-size:90%;
margin-bottom: 0.5em;
}
}


span.updatedmarker {
/* Hide stuff meant for accounts with special permissions. Made visible again in
background-color: transparent;
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
color: #006400;
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
}


/* Coloured watchlist numbers */
/* Für <nowiki><hiero>…</hiero></nowiki> */  
.mw-plusminus-pos {
.mw-hierotable, .hierotable-mw,
color: #006400; /* darkgreen */
.mw-hierotable  th, .hierotable mw-th,
.mw-hierotable  td, .hierotable mw-td {
border: 0px;
padding: 0px;
}
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
  following the anchor A, the anchor itself now has class "external autonumber" and the
  expansion is inserted when printing (see the common printing style sheet at
  //en.wikipedia.org/w/skins/common/commonPrint.css) using the ":after" pseudo-
  element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {
display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
display: none !important;
}
/* for Main Page */
.globegris {
background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}
}
/* End */


/* .mw-plusminus-null currently at developer default */
.prefsection fieldset {
 
float: right;
.mw-plusminus-neg {
color: #8B0000; /* darkred */
}
}


.dablink {
/* Small font-size for hidden categories */
font-style: italic;
#mw-hidden-catlinks { font-size: 87% !important; }
padding-right: 2em;
 
.listify {
margin-left:0;
margin-right:2em;
}
#wpFilterRules {
direction: ltr;
}
}


.dablink i {
/* این نیز باگ است که وقتی عنوان یک بخش انگلیسی است، فارسی درون خلاصهٔ ویرایش در تاریخچه به هم می‌ریزد */
font-style: normal;
.comment > span { unicode-bidi: normal; }
 
/* نمایش بهتر خلاصه ویرایش‌های خیلی طولانی */
.comment {
overflow-wrap: break-word;
word-break: break-word;
}
}


/* Style for horizontal UL lists */
/* زیاد کردن اندازهٔ توضیحات صفحهٔ بارگذاری */
.horizontal ul {
#wpUploadDescription {
padding: 0;
height: 25em;
margin: 0;
}
}


.horizontal li {  
/*ابزار پررنگ کنندهٔ نظرهای کاربر*/
padding: 0 0.6em 0 0.4em;
.mycomment { background: #ff9; }
display: inline;
 
border-left: 1px solid;
/* Pie chart test: Transparent borders */
.transborder {
border: solid transparent;
}
}


/* Geographical coordinates
/* Hide edittools base for those not using the gadget */
#mw-edittools-charinsert {
display: none;
}


To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
   .geo-default { display: inline } .geo-nondefault { display: none }
   [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
  .geo-dec { display: inline } .geo-dms { display: inline }
#mw-subcategories ul {
 
list-style: none none;
To display coordinates using decimal notation, write this in your User:Username/monobook.css:
margin-left: 0.25em;
  .geo-default { display: inline } .geo-nondefault { display: inline }  
}
  .geo-dec { display: inline } .geo-dms { display: none }
.CategoryTreeChildren {
margin-left: 1.25em;
}
.CategoryTreeToggle {
color: #36c;
}
.CategoryTreeEmptyBullet {
color: #c8ccd1;
}


To display coordinates using DMS notation, write this in your User:Username/monobook.css:
/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
  .geo-default { display: inline } .geo-nondefault { display: inline }
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
  .geo-dec { display: none }  .geo-dms { display: inline }
color: #72777d;
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در اسلامیکال کاربرد دارد.";
float: left;
width: 40%;
font-size: 40%;
}


To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
  .geo-default { display: inline } .geo-nondefault { display: inline }
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
  .geo-dec { display: inline }  .geo-dms { display: inline }
font-weight: normal;
  .geo-multi-punct { display: inline }
font-size: smaller;
}


See [[Template:Coor link]] for how these are used.
/* temporary fix for T86979 */
.ui-dialog { right: auto; }


Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.
/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element {
display: none !important;
}


*/
/* این برچسپ بهتر است فقط برای Gadget-taghighlighter.css را فعال کرده اند دیده شوند */
.mw-tag-marker-نیازمند_بازبینی { display: none; }


.geo-default { display: inline; }
/* Reduce page jumps by hiding collapsed/dismissed content */
.geo-nondefault { display: none; }
.client-js .mw-special-Watchlist #watchlist-message {
.geo-dms { display: inline; }
display: none;
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }
 
.longitude .latitude {
white-space: nowrap;
}
}


/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */
.geo { }
.mw-warning-with-logexcerpt a[title="اسلامیکال:ایجاد مقاله"] { font-size: 120%; font-weight: bold; }


/***** end Geo-related */
/* Make the textarea pink when an admin is editing a protected page */
.mw-textarea-protected {
background-color: #fee7e6;
}


/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
/* Made diffs use Wikimedia UI color palette ([[phab:M82]]) */
.nonumtoc .tocnumber { display:none; }
td.diff-addedline {
.nonumtoc #toc ul,
border-color: #36c;
.nonumtoc .toc ul {
}
line-height: 1.5em;
td.diff-deletedline {
list-style: none;
border-color: #fc3;
margin: .3em 0 0;
}
padding: 0;
td.diff-addedline .diffchange {
background: #e9eef9;
}
}
.nonumtoc #toc ul ul,
td.diff-deletedline .diffchange {
.nonumtoc .toc ul ul {  
background: #fff4d6;
margin: 0 0 0 2em;  
}
}


/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
/* Spacing between the rows of navbox */
  instance, will limit to showing ==headings== and ===headings=== but no further (as long as
tr + tr > .navbox-abovebelow,
  there are no =headings= on the page, which there shouldn't be according to the MoS). */
tr + tr > .navbox-group,
.toclimit-2 .toclevel-2 {display:none;}
tr + tr > .navbox-image,
.toclimit-3 .toclevel-3 {display:none;}
tr + tr > .navbox-list {   /* Borders above 2nd, 3rd, etc. rows */
.toclimit-4 .toclevel-4 {display:none;}
border-top: 2px solid #fdfdfd; /* Must match background color */
.toclimit-5 .toclevel-5 {display:none;}
}
.toclimit-6 .toclevel-6 {display:none;}
/* End of Spacing between the rows of navbox */
.toclimit-7 .toclevel-7 {display:none;}


/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
/* Color diff links */
.listify td {display:list-item;}
.mw-diff-edit a {
.listify tr {display:block;}
color: #2a4b8d;
.listify table {display:block;}
}


div.user-block {
.mw-diff-undo a, .mw-history-undo a, .mw-rollback-link a {
padding: 5px;
color: #d33;
border: 1px solid #a2a9b1;
}
background-color: #fee7e6;
 
a.mw-thanks-thank-link {
color: #14866d;
}
 
/* Make sure cite and dfn are not italicized thorugh the user agent stylesheet */
cite, dfn {
font-style:inherit;
}
}
/* Prevent line breaks in silly places:
  1) links when we don't want them to
  2) HTML formulae
  3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
.nowrap,
.nowraplinks a,
span.texhtml,
sup.reference a { white-space: nowrap; }


/* Contents of <math> tag should have an ltr layout */
/* LTR citations should be listed LTR and be left-aligned, as is the case in Persian literature */
span.texhtml {
LI.mw-cite-dir-ltr {
direction: ltr;
direction: ltr;
unicode-bidi: isolate;
margin-left: 2.3em;
text-align: left;
list-style-type: decimal !important;
}
}


.thumbinner {
/* However, sometimes users combine LTR and RTL refs and wrap the <references/> tag in a DIV that is LTR.
min-width: 100px;
  In those cases, don't add a margin-left for the LI element, so the LTR and RTL numbersing are aligned. */
DIV.mw-content-ltr>OL>LI.mw-cite-dir-ltr {
margin-left: 0;
}
}


/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
/* OL with Persian alphabet used for its counter */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
@counter-style persian-alpha {
border: none;
system: cyclic;
padding: 0.25em 0.9em;       /* 0.9em left/right */
symbols: "\627\644\641" "\628" "\67E" "\62A" "\62B" "\62C" "\684" "\62D" "\62E" "\62F" "\630" "\631" "\632" "\698" "\633" "\634" "\635" "\636" "\637" "\638" "\639" "\63A" "\641" "\642" "\6A9" "\6AB" "\644" "\645" "\646" "\648" "\6BE" "\6CC";
width: 100%;   /* Make all mboxes the same width regardless of text length */
suffix = " ";
}
}
td.mbox-image {                 /* The left image cell */
 
border: none;  
.reflist-persian-alpha ol:lang( fa ) li {
padding: 2px 0.9em 2px 0px;   /* 0.9em right, 0px left */
list-style-type: persian-alpha !important;
text-align: center;  
direction: rtl;
text-align: right;
margin-left: 0;
}
}
td.mbox-imageright {            /* The right image cell */
 
border: none;
/* Right margin for left-aligned tables */
padding: 2px 0px 2px 0.9em;    /* 0px left, 0.9em right */
table[align="left"] {
text-align: center;  
margin-right: 1.2em;
}
}


 
/* Center aligning wikitables should be as easy as using align=center */
/* Reduce line-height for <sup> and <sub> */
table.wikitable[align="center"] {
sup, sub {
margin-right: auto;
line-height: 1em;
margin-left: auto;
}
 
.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
}


/* Selectively hide headers in WikiProject banners */
/* Temporary fix for Template:Allow_wrap until T283071 is fixed */
/* TemplateStyles */
.wrap {
.wpbs-inner .wpb .wpb-header {
  white-space: normal;
display: table-row;
}
}


/* Styling for Abuse Filter tags */
.catlinks, .vector-language-sidebar-alert, .sistersitebox {
.mw-tag-markers {
border-radius: 4px;
font-style:italic;
font-size:90%;
}
}


/* Hide stuff meant for accounts with special permissions. Made visible again in
/***** test oamam */
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
 
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
[dir='rtl'] body {
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
font-family: 'Iransans', Tahoma, 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
.checkuser-show,
.sysop-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
}


/* Für <nowiki><hiero>…</hiero></nowiki> */
[dir='rtl'] .highlight-title-yellowspan:before,
.mw-hierotable, .hierotable-mw,
[dir='rtl'] .highlight-title-green span:before {
.mw-hierotable  th, .hierotable mw-th,  
bottom: 6px;
.mw-hierotable  td, .hierotable mw-td {  
}
border: 0px;
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
padding: 0px;
    background-image: linear-gradient(to bottom, #c9c9c9 0, #c9c9c9 100%);
}
}
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
.vector-menu-tabs li {
  following the anchor A, the anchor itself now has class "external autonumber" and the
    background-image: linear-gradient(to top,#aaa 0,#eee 1px,#fff 100%)
  expansion is inserted when printing (see the common printing style sheet at
}
  //en.wikipedia.org/w/skins/common/commonPrint.css) using the ":after" pseudo-
.mw-body-content {
  element of CSS. We have to switch this off for links due to Template:Ref!
line-height: 2;
*/
.plainlinksneverexpand a.external.text:after {
display: none !important;
}
}
.plainlinksneverexpand a.external.autonumber:after {
[dir='rtl'] .mw-editfooter-toggler {
display: none !important;
    background-position: right center;
    padding-right: 16px;
}
}
/* for Main Page */
[dir='rtl'] .suggestions-special .special-label, .suggestions-special .special-query, .suggestions-result {
.globegris {
text-align: right;
background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}
}
/* End */


.prefsection fieldset {
.mp-circle-person {
float: right;
clear: both;
min-height: 0 !important;
}
}


/* Small font-size for hidden categories */
.mp-circle-person .circle-person-item {
#mw-hidden-catlinks { font-size: 87% !important; }
width: 20%;
 
float: left;
.listify {
text-align: center;
margin-left:0;
padding: 1rem;
margin-right:2em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
}
#wpFilterRules {
[dir='rtl'] .mp-circle-person .circle-person-item {
direction: ltr;
float: right;
}
}


/* این نیز باگ است که وقتی عنوان یک بخش انگلیسی است، فارسی درون خلاصهٔ ویرایش در تاریخچه به هم می‌ریزد */
.mp-circle-person .circle-person-item .image-container a {
.comment > span { unicode-bidi: normal; }
width: 100px;
height: 100px;
overflow: hidden;
position: relative;
display: inline-block;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}


/* نمایش بهتر خلاصه ویرایش‌های خیلی طولانی */
.mp-circle-person .circle-person-item .image-container a img {
.comment {
float: right;
overflow-wrap: break-word;
max-width: 100%;
word-break: break-word;
display: inline-block;
height: auto;
margin: 0 1rem 1rem 0;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
}


/* زیاد کردن اندازهٔ توضیحات صفحهٔ بارگذاری */
.mp-circle-person .circle-person-item .title {
#wpUploadDescription {
float: left;
height: 25em;
display: inline-block;
width: 100%;
white-space: pre-line;
word-spacing: -2px;
}
}


/*ابزار پررنگ کنندهٔ نظرهای کاربر*/
.mp-featured .image-container {
.mycomment { background: #ff9; }
width: 100%;
text-align: center;
display: block;
}


/* Pie chart test: Transparent borders */
.mp-featured .image-container img {
.transborder {
display: inline-block;
border: solid transparent;
height: auto;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
}


/* Hide edittools base for those not using the gadget */
 
#mw-edittools-charinsert {
.mp-featured .text {
display: none;
display: inline-block;
width: 100%;
text-align: justify;
word-spacing: -2px;
}
}


/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
.mp-featured .text ul li:not(.mw-empty-elt) {
  [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
width: 50%;
#mw-subcategories ul {
list-style: none none;
margin-left: 0.25em;
}
}
.CategoryTreeChildren {
 
margin-left: 1.25em;
.mp-featured .text ul li:not(.mw-empty-elt):nth-child(even) {
float: left;
clear: left;
}
}
.CategoryTreeToggle {
 
color: #36c;
.mp-featured .text ul li:not(.mw-empty-elt):nth-child(odd) {
}
float: right;
.CategoryTreeEmptyBullet {
color: #c8ccd1;
}
}


/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
.mp-featured-article {
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
width: 56%;
color: #72777d;
clear: both;
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در اسلامیکال کاربرد دارد.";
float: left;
float: left;
width: 40%;
font-size: 40%;
}
}


/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
.mp-featured-article img {
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
float: left;
font-weight: normal;
display: inline-block;
font-size: smaller;
height: auto;
margin: 0 1rem 0 0;
max-width: 142px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
}


/* temporary fix for T86979 */
.mp-featured-article .text {
.ui-dialog { right: auto; }
float: left;
display: inline-block;
width: 100%;
text-align: justify;
}


/* Make it possible to hide checkboxes in <inputbox> */
.mp-featured-article ul {
.inputbox-hidecheckboxes form .inputbox-element {
list-style-position: inside;
display: none !important;
}
}


/* این برچسپ بهتر است فقط برای Gadget-taghighlighter.css را فعال کرده اند دیده شوند */
.mp-featured-index {
.mw-tag-marker-نیازمند_بازبینی { display: none; }
overflow: hidden;
 
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message {
display: none;
}
}


/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */
.mp-featured-index .image {
.mw-warning-with-logexcerpt a[title="اسلامیکال:ایجاد مقاله"] { font-size: 120%; font-weight: bold; }
width: 100%;
 
text-align: center;
/* Make the textarea pink when an admin is editing a protected page */
display: block;
.mw-textarea-protected {
background-color: #fee7e6;
}
}


/* Made diffs use Wikimedia UI color palette ([[phab:M82]]) */
.mp-featured-index .image img {
td.diff-addedline {
float: left;
border-color: #36c;
display: inline-block;
height: auto;
margin: 0 1rem 0 0;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
}
td.diff-deletedline {
[dir='rtl'] .mp-featured-index .image img {
border-color: #fc3;
float: left;
margin: 0 1rem 0 0;
}
}
td.diff-addedline .diffchange {
.mp-featured-index .text {
background: #e9eef9;
float: left;
}
display: inline-block;
td.diff-deletedline .diffchange {
width: 100%;
background: #fff4d6;
text-align: justify;
}
}


/* Spacing between the rows of navbox */
.mp-featured-index ul {
tr + tr > .navbox-abovebelow,
list-style-position: inside;
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 */
}
}
/* End of Spacing between the rows of navbox */


/* Color diff links */
.mp-box {
.mw-diff-edit a {
padding: 0.5rem 1rem;
color: #2a4b8d;
box-sizing: border-box;
mar gin: 0.5rem auto;
border: none;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
overflow: hidden;
}
}


.mw-diff-undo a, .mw-history-undo a, .mw-rollback-link a {
.mp-box h2 {
color: #d33;
margin: 0 0 0.25rem;
border-bottom: none;
padding: 0.5rem 0;
}
}


a.mw-thanks-thank-link {
.mp-top {
color: #14866d;
text-align: center;
padding: 1rem;
margin: 0 0 10px;
}
}


/* Make sure cite and dfn are not italicized thorugh the user agent stylesheet */
.mp-top p {
cite, dfn {
font-size: 1.5rem;
font-style:inherit;
}
}


/* LTR citations should be listed LTR and be left-aligned, as is the case in Persian literature */
.mp-top ul {
LI.mw-cite-dir-ltr {
list-style: none;
direction: ltr;
margin-left: 2.3em;
text-align: left;
list-style-type: decimal !important;
}
}


/* However, sometimes users combine LTR and RTL refs and wrap the <references/> tag in a DIV that is LTR.
.mp-top ul li {
  In those cases, don't add a margin-left for the LI element, so the LTR and RTL numbersing are aligned. */
display: inline-block;
DIV.mw-content-ltr>OL>LI.mw-cite-dir-ltr {
margin-left: 1rem;
margin-left: 0;
}
}


/* OL with Persian alphabet used for its counter */
.mp-top ul li span {
@counter-style persian-alpha {
font-size: 1.5rem;
system: cyclic;
vertical-align: middle;
symbols: "\627\644\641" "\628" "\67E" "\62A" "\62B" "\62C" "\684" "\62D" "\62E" "\62F" "\630" "\631" "\632" "\698" "\633" "\634" "\635" "\636" "\637" "\638" "\639" "\63A" "\641" "\642" "\6A9" "\6AB" "\644" "\645" "\646" "\648" "\6BE" "\6CC";
display: inline-block;
suffix = " ";
/* float: left; */
overflow: hidden;
clear: both;
margin: 4px 4px 0;
}
}


.reflist-persian-alpha ol:lang( fa ) li {
[dir='rtl'] .mp-top ul li span {
list-style-type: persian-alpha !important;
/* float: right; */
direction: rtl;
text-align: right;
margin-left: 0;
}
}


/* Right margin for left-aligned tables */
.mp-featured-art {
table[align="left"] {
clear: both;
margin-right: 1.2em;
width: 100%;
padding: 1rem;
}
}


/* Center aligning wikitables should be as easy as using align=center */
.mp-featured-art.fluid .image {
table.wikitable[align="center"] {
width: 100%;
margin-right: auto;
text-align: center;
margin-left: auto;
display: block;
}
}


.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
.mp-featured-art.fluid .image img {
-moz-user-select: none;
width: initial;
-webkit-user-select: none;
float: none;
-ms-user-select: none;
user-select: none;
}
}


/* Temporary fix for Template:Allow_wrap until T283071 is fixed */
.mp-featured-art.fluid .text {
.wrap {
width: 100%;
  white-space: normal;
padding: 1rem 0 0;
}
}


.catlinks, .vector-language-sidebar-alert, .sistersitebox {
.mp-featured-art .image {
border-radius: 4px;
float: left;
margin-right: 1rem;
}
[dir='rtl'] .mp-featured-art .image {
float: right;
margin-left: 1rem;
margin-right: auto;
}
}


/***** test oamam */
.mp-featured-art .image img {
display: inline-block;
height: auto;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}


[dir='rtl'] body {
.mp-featured-art .text {
font-family: 'Iransans', Tahoma, 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
float: left;
display: inline-block;
height: auto;
padding: 0 1rem;
box-sizing: border-box;
}
}


[dir='rtl'] .highlight-title-yellowspan:before,
.mp-bottom {
[dir='rtl'] .highlight-title-green span:before {
clear: both;
bottom: 6px;
width: 100%;
overflow: hidden;
font-size: 14px;
}
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
 
    background-image: linear-gradient(to bottom, #c9c9c9 0, #c9c9c9 100%);
.mp-bottom .mp-bottom-column {
}
width: 19%;
.vector-menu-tabs li {
float: left;
    background-image: linear-gradient(to top,#aaa 0,#eee 1px,#fff 100%)
margin: 0.5%;
}
.mw-body-content {
line-height: 2;
}
[dir='rtl'] .mw-editfooter-toggler {
    background-position: right center;
    padding-right: 16px;
}
[dir='rtl'] .suggestions-special .special-label, .suggestions-special .special-query, .suggestions-result {
text-align: right;
}
}


.mp-circle-person {
[dir='rtl'] .mp-bottom .mp-bottom-column {
clear: both;
float: right;
min-height: 0 !important;
}
}


.mp-circle-person .circle-person-item {
.mp-bottom .mp-bottom-column .mp-bottom-column-title {
width: 20%;
float: left;
text-align: center;
text-align: center;
padding: 1rem;
background: #F1F1F1;
-webkit-box-sizing: border-box;
padding: 6px 10px;
-moz-box-sizing: border-box;
border-radius: 5px;
box-sizing: border-box;
font-weight: bold;
font-size: inherit;
}
}
[dir='rtl'] .mp-circle-person .circle-person-item {
 
float: right;
.mp-bottom .mp-bottom-column .mp-bottom-column-title span {
text-align: center;
background: #eee;
border-radius: 5px;
font-weight: bold;
}
}


.mp-circle-person .circle-person-item .image-container a {
.mp-bottom .mp-bottom-column ul {
width: 100px;
list-style: none;
height: 100px;
margin: 5px auto;
overflow: hidden;
position: relative;
display: inline-block;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
}


.mp-circle-person .circle-person-item .image-container a img {
.mp-bottom .mp-bottom-column ul li {
float: right;
margin: 10px 0;
max-width: 100%;
}
display: inline-block;
height: auto;
margin: 0 1rem 1rem 0;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}


.mp-circle-person .circle-person-item .title {
.highlight-title-yellow span,
float: left;
.highlight-title-green span {
display: inline-block;
position: relative;
width: 100%;
padding: 0 10px;
white-space: pre-line;
word-spacing: -2px;
}
}


.mp-featured .image-container {
.highlight-title-yellow span:before,
width: 100%;
.highlight-title-green span:before {
text-align: center;
content: '';
display: block;
position: absolute;
left: 0;
bottom: 0;
right: 0;
z-index: 0;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
border: 5px solid rgba(255, 255, 0, 0.3);
}
}


.mp-featured .image-container img {
.highlight-title-yellow span:before {
display: inline-block;
border: 5px solid rgba(255, 255, 0, 0.3);
height: auto;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
}


.highlight-title-green span:before {
border: 5px solid rgba(0, 255, 0, 0.3);
}


.mp-featured .text {
.mw-body .mw-editsection-like {
display: inline-block;
font-family: inherit;
width: 100%;
text-align: justify;
word-spacing: -2px;
}
}


.mp-featured .text ul li:not(.mw-empty-elt) {
.page-صفحه اصلی .mw-body {
width: 50%;
background-color: #eaeaea;
}
}


.mp-featured .text ul li:not(.mw-empty-elt):nth-child(even) {
/* scale up fonts - added by nazarzadeh */
float: left;
body {
clear: left;
font-size: 17px;
}
.mp-bottom {
font-size: 15px;
}
}


.mp-featured .text ul li:not(.mw-empty-elt):nth-child(odd) {
.mp-milestones table td {
float: right;
border-top: 1px solid #a2a9b1;
}
}
 
.mp-milestones table td ul {
.mp-featured-article {
margin: 0.3em .6em 0 0;
width: 56%;
clear: both;
float: left;
}
}


.mp-featured-article img {
.box-sh {
float: left;
padding: 0.5rem 1rem;
display: inline-block;
color: #555;
height: auto;
background-color: #fff;
margin: 0 1rem 0 0;
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
max-width: 142px;
border-radius: 8px;
-webkit-border-radius: 6px;
border: none;
-moz-border-radius: 6px;
border-radius: 6px;
}
}


.mp-featured-article .text {
/* portals by nazarzadeh */
float: left;
.portal-container-2 {
display: inline-block;
display: grid;  
width: 100%;
grid-gap: 10px;  
text-align: justify;
grid-template-columns: repeat(2, auto);
grid-template-rows: auto;
width: 100%
}
}
 
.portal-container-3 {
.mp-featured-article ul {
display: grid;
list-style-position: inside;
grid-gap: 10px;
grid-template-columns: repeat(3, auto);  
grid-template-rows: auto; 
width: 100%
}
}
 
.portal-container-4 {
.mp-featured-index {
display: grid;
overflow: hidden;
grid-gap: 10px;  
grid-template-columns: repeat(4, auto);
grid-template-rows: auto; 
width: 100%
}
}
 
.portal-container-5 {
.mp-featured-index .image {
display: grid;  
width: 100%;
grid-gap: 10px;  
text-align: center;
grid-template-columns: repeat(5, auto);
display: block;
grid-template-rows: auto;
width: 100%
}
}
 
.portal-container-6 {
.mp-featured-index .image img {
display: grid;  
float: left;
grid-gap: 10px;  
display: inline-block;
grid-template-columns: repeat(6, auto);  
height: auto;
grid-template-rows: auto;
margin: 0 1rem 0 0;
width: 100%
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
}
[dir='rtl'] .mp-featured-index .image img {
.portal-container-7 {
float: left;
display: grid;  
margin: 0 1rem 0 0;
grid-gap: 10px;  
grid-template-columns: repeat(7, auto);
grid-template-rows: auto; 
width: 100%
}
}
.mp-featured-index .text {
.portal-column-2-3 {
float: left;
grid-column-end: span 2;  
display: inline-block;
width: 100%;
text-align: justify;
}
}
 
.portal-column-3-4 {
.mp-featured-index ul {
grid-column-end: span 3;  
list-style-position: inside;
}
}
 
.portal-column-1-2,
.mp-box {
.portal-column-1-3,
padding: 0.5rem 1rem;
.portal-column-1-4,
box-sizing: border-box;
.portal-column-1-5,
mar gin: 0.5rem auto;
.portal-column-1-6,
border: none;
.portal-column-1-7 {
-webkit-border-radius: 6px;
grid-column-end: span 1;  
-moz-border-radius: 6px;
}
border-radius: 6px;
.portal-column-2-2 {
overflow: hidden;
grid-column-end: span 2;
}
}
 
.portal-column-3-3 {
.mp-box h2 {
grid-column-end: span 3;
margin: 0 0 0.25rem;
border-bottom: none;
padding: 0.5rem 0;
}
}
 
.portal-column-4-4 {
.mp-top {
grid-column-end: span 4;
text-align: center;
padding: 1rem;
margin: 0 0 10px;
}
}
 
.portal-column-5-5 {
.mp-top p {
grid-column-end: span 5;
font-size: 1.5rem;
}
}
 
.portal-column-6-6 {
.mp-top ul {
grid-column-end: span 6;
list-style: none;
}
}
 
.portal-column-7-7 {
.mp-top ul li {
grid-column-end: span 7;
display: inline-block;
margin-left: 1rem;
}
}
 
@media only screen and (max-width: 850px) {
.mp-top ul li span {
.mainpage-portals {
font-size: 1.5rem;
width: 25%;  
vertical-align: middle;
}
display: inline-block;
    /* Decouple the columns on narrow screens */
/* float: left; */
    .portal-container-2,
overflow: hidden;
    .portal-container-3,
clear: both;
    .portal-container-4,
margin: 4px 4px 0;
    .portal-container-5,
}
    .portal-container-6,
 
    .portal-container-7 {
[dir='rtl'] .mp-top ul li span {
display: block;
/* float: right; */
}
}
    .portal-column-1-2,
 
    .portal-column-2-4,
.mp-featured-art {
    .portal-column-1-4,
clear: both;
    .portal-column-1-3,
width: 100%;
    .portal-column-2-3,
padding: 1rem;
    .portal-column-2-2,
}
    .portal-column-3-3,
 
.portal-column-4-4,
.mp-featured-art.fluid .image {
.portal-column-5-5,
width: 100%;
.portal-column-6-6,
text-align: center;
.portal-column-7-7 {
display: block;
        flo at: inherit;
}
        wid th: 100%;
 
        margin-top: 10px;
.mp-featured-art.fluid .image img {
        display: block !important;
width: initial;
        text-align: center;
float: none;
    }
}
    .portal-column-1-4 {
 
wid th: calc(50% - 16px);
.mp-featured-art.fluid .text {
    }
width: 100%;
    .portal-column-1-6 {
padding: 1rem 0 0;
wid th: calc(33.3% - 16px);
}
    }
 
    .portal-column-1-7 {
.mp-featured-art .image {
flo at: right;
float: left;
wid th: calc(25% - 16px);
margin-right: 1rem;
    }
}
[dir='rtl'] .mp-featured-art .image {
float: right;
margin-left: 1rem;
margin-right: auto;
}
 
.mp-featured-art .image img {
display: inline-block;
height: auto;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
 
.mp-featured-art .text {
float: left;
display: inline-block;
height: auto;
padding: 0 1rem;
box-sizing: border-box;
}
 
.mp-bottom {
clear: both;
width: 100%;
overflow: hidden;
font-size: 14px;
}
 
.mp-bottom .mp-bottom-column {
width: 19%;
float: left;
margin: 0.5%;
}
 
[dir='rtl'] .mp-bottom .mp-bottom-column {
float: right;
}
 
.mp-bottom .mp-bottom-column .mp-bottom-column-title {
text-align: center;
background: #F1F1F1;
padding: 6px 10px;
border-radius: 5px;
font-weight: bold;
font-size: inherit;
}
 
.mp-bottom .mp-bottom-column .mp-bottom-column-title span {
text-align: center;
background: #eee;
border-radius: 5px;
font-weight: bold;
}
 
.mp-bottom .mp-bottom-column ul {
list-style: none;
margin: 5px auto;
}
 
.mp-bottom .mp-bottom-column ul li {
margin: 10px 0;
}
 
.highlight-title-yellow span,
.highlight-title-green span {
position: relative;
padding: 0 10px;
}
 
.highlight-title-yellow span:before,
.highlight-title-green span:before {
content: '';
position: absolute;
left: 0;
bottom: 0;
right: 0;
z-index: 0;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
border: 5px solid rgba(255, 255, 0, 0.3);
}
 
.highlight-title-yellow span:before {
border: 5px solid rgba(255, 255, 0, 0.3);
}
 
.highlight-title-green span:before {
border: 5px solid rgba(0, 255, 0, 0.3);
}
 
.mw-body .mw-editsection-like {
font-family: inherit;
}
 
.page-صفحه اصلی .mw-body {
background-color: #eaeaea;
}
 
/* scale up fonts - added by nazarzadeh */
body {
font-size: 17px;
}
.mp-bottom {
font-size: 15px;
}
 
.mp-milestones table td {
border-top: 1px solid #a2a9b1;
}
.mp-milestones table td ul {
margin: 0.3em .6em 0 0;
}
}
/* portals end */

نسخهٔ ‏۴ فوریهٔ ۲۰۲۳، ساعت ۱۹:۴۵

/* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css
   These are written over the time on Monobook.css and Vector.css and shouldn't
   be changed radically without users consensus */
body {
	/* generally a sans-serif font should be here */
	font-family: Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
}

.mw-body h1, .mw-body h2, .mw-body #firstHeading,
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
.mw-body #toc h2, .mw-body .toc h2,
#documentation-meta-data, .vector-sticky-header-context-bar-primary {
	/* generally a serif font should be here but Arial is not acceptable for Persian */
	font-family: Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
}

/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
.ace_editor { font-family: 'Courier New', monospace!important; }

/* force these to use inherited font configuration */
.ui-widget, .ui-widget *, button, input, select, optgroup {
	font-family: inherit;
}
/* end */

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

/* Main page fixes */

body.page-اسلامیکال_صفحه_تمرین #ca-edit,
body.page-اسلامیکال_آشنایی #ca-edit {
	border: 1px dotted #36c;
}
body.page-اسلامیکال_صفحه_تمرین #ca-edit:hover,
body.page-اسلامیکال_آشنایی #ca-edit:hover {
	background: none repeat scroll 0 0 white;
	border-color: transparent;
}
body.page-صفحهٔ_اصلی #mp-topbanner {
	clear: both;
}

body.page-صفحهٔ_اصلی #ca-delete,
body.page-صفحهٔ_اصلی #deleteconfirm,
body.page-صفحهٔ_اصلی #t-cite,
body.page-صفحهٔ_اصلی #lastmod,
body.page-صفحهٔ_اصلی #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
	display: none !important;
}

body.page-صفحهٔ_اصلی #ca-history,
body.page-صفحهٔ_اصلی #pagehistory {
	display: none;
}

/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.wb-langlinks-link {
	text-align : right;
}

/* Make the list of references in [[Template:Reflist]] smaller */
.references-small { 
	font-size: 90%;
}

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

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

/* Styling for citations */
span.citation, cite {
	word-wrap: break-word;
}

/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target { 
	background-color: #ecf0fa;
}

/* 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, projection {
	cite *.printonly {
		display: none;
	}
}

/* Style for horizontal lists (separator following item) */

.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
	line-height: 1.5em;
}
/* Style for horizontal lists (separator following item).
   IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 5 (2014-02-24)
   @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;
	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;
}
/* Generate interpuncts */
.hlist dt:after {
	content: ": ";
}
.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;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-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;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-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) " ";
	content: " " counter(listitem, persian) " ";
	white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) " ";
	content: " (" counter(listitem, persian) " ";
}

/* فهرست بدون گلوله */
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.plainlist ul li {
	margin-bottom: 0;
}

/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
	font-weight: normal;
	/* @noflip */
	text-align: right;
}
 
/* Lists in data cells are always left-aligned */
html[dir=rtl] .wikitable td ul,
html[dir=rtl] .wikitable td ol,
html[dir=rtl] .wikitable td dl {
	/* @noflip */
	text-align: right;
}
/* ...unless they also use the hlist class */
html[dir=rtl] .wikitable.hlist td ul,
html[dir=rtl] .wikitable.hlist td ol,
html[dir=rtl] .wikitable.hlist td dl {
	text-align: inherit;
}

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	margin: auto;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
}
.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: #f8f9fa;      /* Background color */
}
.navbox-list {
	line-height: 1.8em;
	border-color: #f8f9fa;    /* Must match background color */
}
.navbox th,
.navbox-title {
	background: #b3ccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background: #dbe7ff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background: #e5edff;      /* Level 3 color */
}
.navbox-even {
	background: #f8f9fa;      /* Even row striping */
}
.navbox-odd {
	background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
	margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.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: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
	margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* RTL fix for navbox-list bullet lists; See [[Special:Permalink/24864265#خطای ظاهری]]. */
.navbox-list li {
	unicode-bidi: isolate;
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 88%;
	font-weight: normal;
}
.navbar ul {
	display: inline;
	white-space: nowrap;
}
.navbar li {
	word-spacing: -0.125em;
}
.navbar.mini li { /* span is removed */
	font-size: xx-small;
}
.nv-talk > a {
	color: #002BB8;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
	font-size: 100%;
}
.navbox .navbar {
	display: block;
	font-size: 100%;
}
.navbox-title .navbar {
	/* @noflip */
	float: right;
	/* @noflip */
	text-align: right;
	/* @noflip */
	margin-left: 0.5em;
	width: 6em;
}

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
	/* @noflip */
	float: left;
	font-weight: normal;
	/* @noflip */
	margin-right: 0.5em;
	/* @noflip */
	text-align: left;
	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: left;
	padding-right: 0.2em;
	padding-left: 0.2em;
}

.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	/* @noflip */
	float: right;
	/* @noflip */
	text-align: right;
}

/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 1em 0.5em 0;
	padding: 0.2em;
	/* @noflip */
	float: left;
	/* @noflip */
	clear: left;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

/* not strictly certain these styles are necessary
 * just replicating the module faithfully
 */
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element declaration when both a) infobox3cols is migrated and
 * b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element declaration when both a) infobox3cols is migrated and
 * b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: right;
}

/* remove .infobox from below new class names when live */
.infobox .infobox-above,
.infobox .infobox-title, /* TODO remove caption line when class is live */
.infobox caption{
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox caption, /* TODO remove caption line when class is live */
.infobox-title {
	padding: 0.2em;
}

.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

.infobox .infobox-navbar {
	text-align: left;
}

.infobox.bordered {
	border-collapse: collapse;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

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

/* styles for bordered infobox with merged rows */
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #a2a9b1;
	/* @noflip */
	border-left: 1px solid #a2a9b1;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	/* @noflip */
	border-left: 1px solid #a2a9b1;
}

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

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography  td,
.infobox.geography  th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0;
}

/* Style for "notices" */
.notice {
	margin: 1em;
	padding: 0.2em;
}

#disambig {
	border-top: 1px solid #c8ccd1; 
	border-bottom: 1px solid #c8ccd1;
}

.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
	font-family: inherit;
}

DIV.siteNoticeSmall {
	font-size: 15pt;
}

/* Persondata and other (future) metadata */
table.InChI, /* temporary */
table.persondata {
	border: 1px solid #a2a9b1;
	display: none;
	speak: none;
}
.InChI-label, /* temporary */
.persondata-label {
	color: #a2a9b1;
}

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

div.videolist, div.multivideolist {
	background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
	padding-right: 50px;
}

/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
.mw-body a[href$=".pdf"].external,
.mw-body a[href*=".pdf?"].external,
.mw-body a[href*=".pdf#"].external,
.mw-body a[href$=".PDF"].external,
.mw-body a[href*=".PDF?"].external,
.mw-body 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 {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	/* @noflip */
	padding-left: 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. */
span.PDFlink a {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
	padding-left: 18px !important;
}

span.geolink a {
	background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
	padding-left: 11px !important;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
	/* @noflip */
	float: right;
	width: 50%;
	min-width: 300px;
}

div.columns-3 div.column {
	/* @noflip */
	float: right;
	width: 33.3%;
	min-width: 200px;
}

div.columns-4 div.column {
	/* @noflip */
	float: right;
	width: 25%;
	min-width: 150px;
}

div.columns-5 div.column {
	/* @noflip */
	float: right;
	width: 20%;
	min-width: 120px;
}

/*Add formatting to make sure that "external references" from [[Template:Ref]] do
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
  "print". The rules below ensure (a) that there is no extra padding to the left of
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
*/

.plainlinksneverexpand {
	background: none ! important;
	padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
	display: none ! important;
}

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
.plainlinksneverexpand a {
	background: none !important;
	padding: 0 !important;
}

/* Messagebox templates */
.messagebox {
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	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;
}
.messagebox.nested-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	width: 100%;
	margin: 2px 4px 2px 4px;
}
.messagebox.small {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: left;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em; 
}
.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: left;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em; 
	background: #fff2cc;
}

/* Article message box styles */
table.ambox {
	margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1; 
	border-right: 10px solid #36c;  /* Default "notice" blue */
	background: #f8f9fa; 
}
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 */
	padding: 2px 0.5em 2px 0;    /* 0.5em right, 0px left */
}
.ambox td.mbox-imageright {      /* The right image cell */
	padding: 2px 0 2px 0.5em;    /* 0px right, 0.5em left */
}
 
table.ambox-notice {
	border-right: 10px solid #36c;    /* Blue */
}
table.ambox-speedy {
	border-right: 10px solid #DD0000;    /* Red */
	background: #fee7e6;                   /* Pink */
}
table.ambox-delete {
	border-right: 10px solid #DD0000;    /* Red */
}
table.ambox-content {
	border-right: 10px solid #FF5D00;    /* Orange */
}
table.ambox-style {
	border-right: 10px solid #fc3;    /* Yellow */
}
table.ambox-move {
	border-right: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
	border-right: 10px solid #a2a9b1;       /* Gray-gold */
}

/* Disambig and set index box styles */
table.dmbox {
	clear: both; 
	margin: 0.9em 1em; 
	border-top: 1px solid #c8ccd1; 
	border-bottom: 1px solid #c8ccd1; 
	background: transparent;
}
 
/* Footer and header message box styles */
table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #a2a9b1;
	background: #f8f9fa;     /* Default "system" gray */
}
table.fmbox-system {
	background: #f8f9fa;
}
table.fmbox-warning {
	border: 1px solid #DD0000;  /* Dark pink */
	background: #fee7e6;        /* 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 #DD0000;
	background: #fee7e6;
	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 #a2a9b1;
	background: #f8f9fa;
	padding: 0.25em 0.9em;
}

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

table.ombox-notice {
	border: 1px solid #a2a9b1;    /* Gray */
}

table.ombox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}

table.ombox-delete {
	border: 2px solid #b32424;    /* Red */
}

table.ombox-content {
	border: 1px solid #f28500;    /* Orange */
}

table.ombox-style {
	border: 1px solid #fc3;       /* Yellow */
}

table.ombox-move {
	border: 1px solid #9932cc;    /* Purple */
}

table.ombox-protection {
	border: 2px solid #a2a9b1;    /* Gray-gold */
}
 
/* 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. */
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
	/* @noflip */
	clear: left;
	/* @noflip */
	float: left;
	/* @noflip */
	margin: 4px 1em 4px 0;
	box-sizing: border-box;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}
html body.mediawiki .mbox-small-right {   /* For the "small=right" option. */
	/* @noflip */
	margin: 4px 0 4px 1em;
	box-sizing: border-box;
	overflow: hidden;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}

/* Style for compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
	display: none;
}

/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
	border: none;
	border-collapse: collapse;
	background-color: transparent;
	margin: 0 1.6em 0 0 !important;
	padding: 0 !important;
	width: auto;
	display: block;
}

body.mediawiki .compact-ambox table.mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0;
}

/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
	padding: 0 !important;
	margin: 0 !important;
}

.compact-ambox table .mbox-text-span {
	display: list-item;
	line-height: 1.5em;
	list-style-type: square;
	list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}

/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
	display: none;
}

/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
	background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}

#wpSave {
	font-weight: bold;
}

/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
/* use restricted to rail icon management pages */
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
.check-icon a.new {
	display: none; 
	speak:none;
}

/* Removes underlines from links */
.nounderlines a { 
	text-decoration: none;
}

/* Remove underline from IPA links */
.IPA a:link, .IPA a:visited {
	text-decoration: none;
}

/* Removes useless links from printout */
@media print {
	#privacy, #about, #disclaimer {display:none;}
}

#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */

div.Boxmerge,
div.NavFrame {
	margin: 0px;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.Boxmerge div.NavFrame {
	border-style: none;
	border-style: hidden;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0px;
	padding: 2px;
	float: right;
}
div.NavFrame div.NavHead {
	height: 1.6em;
	font-weight: bold;
	background-color: #b3ccff;
	position:relative;
}
div.NavFrame div.NavHead:hover {
	background-color: #aaf;
}
div.NavFrame p {
	font-size: 100%;
}
div.NavFrame div.NavContent {
	font-size: 100%;
}
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0px;
	padding: 0px;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position:absolute;
	top:0px;
	left:3px;
	font-weight:normal;
	font-size:smaller;
}

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

span.updatedmarker {
	background-color: transparent;
	color: #006400;
}

/* Coloured watchlist numbers */
.mw-plusminus-pos {
	color: #006400; /* darkgreen */
}

/* .mw-plusminus-null currently at developer default */

.mw-plusminus-neg {
	color: #8B0000; /* darkred */
}

.dablink {
	font-style: italic;
	padding-right: 2em;
}

.dablink i {
	font-style: normal;
}

/* Style for horizontal UL lists */
.horizontal ul {
	padding: 0;
	margin: 0;
}

.horizontal li { 
	padding: 0 0.6em 0 0.4em;
	display: inline;
	border-left: 1px solid;
}

/* Geographical coordinates 

To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
   .geo-default { display: inline } .geo-nondefault { display: none } 
   .geo-dec { display: inline } .geo-dms { display: inline }

To display coordinates using decimal notation, write this in your User:Username/monobook.css:
   .geo-default { display: inline } .geo-nondefault { display: inline } 
   .geo-dec { display: inline } .geo-dms { display: none }

To display coordinates using DMS notation, write this in your User:Username/monobook.css:
   .geo-default { display: inline } .geo-nondefault { display: inline } 
   .geo-dec { display: none }   .geo-dms { display: inline }

To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
   .geo-default { display: inline } .geo-nondefault { display: inline } 
   .geo-dec { display: inline }   .geo-dms { display: inline }
   .geo-multi-punct { display: inline }

See [[Template:Coor link]] for how these are used.

Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.

*/

.geo-default { display: inline; }
.geo-nondefault { display: none; }
.geo-dms { display: inline; }
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }

.longitude .latitude {
	white-space: nowrap;
}

/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.geo { }

/***** end Geo-related */

/* 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 { 
	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-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}

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

div.user-block {
	padding: 5px;
	border: 1px solid #a2a9b1;
	background-color: #fee7e6;
}
/* Prevent line breaks in silly places: 
   1) links when we don't want them to
   2) HTML formulae
   3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
.nowrap,
.nowraplinks a,
span.texhtml,
sup.reference a { white-space: nowrap; }

/* Contents of <math> tag should have an ltr layout */
span.texhtml {
	direction: ltr;
	unicode-bidi: isolate;
}

.thumbinner {
	min-width: 100px;
}

/* 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;
	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; 
	padding: 2px 0.9em 2px 0px;    /* 0.9em right, 0px left */
	text-align: center; 
}
td.mbox-imageright {             /* The right image cell */
	border: none;
	padding: 2px 0px 2px 0.9em;    /* 0px left, 0.9em right */
	text-align: center; 
}


/* Reduce line-height for <sup> and <sub> */
sup, sub {
	line-height: 1em;
}

/* Selectively hide headers in WikiProject banners */
/* TemplateStyles */
.wpbs-inner .wpb .wpb-header {
	display: table-row;
}

/* Styling for Abuse Filter tags */
.mw-tag-markers {
	font-style:italic;
	font-size:90%;
}

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

/* Für <nowiki><hiero>…</hiero></nowiki> */ 
.mw-hierotable, .hierotable-mw, 
.mw-hierotable  th, .hierotable mw-th, 
.mw-hierotable  td, .hierotable mw-td { 
	border: 0px;
	padding: 0px;
}
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   following the anchor A, the anchor itself now has class "external autonumber" and the
   expansion is inserted when printing (see the common printing style sheet at
   //en.wikipedia.org/w/skins/common/commonPrint.css) using the ":after" pseudo-
   element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {
	display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
	display: none !important;
}
/* for Main Page */
.globegris {
	background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}
/* End */

.prefsection fieldset {
	float: right;
}

/* Small font-size for hidden categories */
#mw-hidden-catlinks { font-size: 87% !important; }

.listify {
	margin-left:0;
	margin-right:2em;
}
#wpFilterRules {
	direction: ltr;
}

/* این نیز باگ است که وقتی عنوان یک بخش انگلیسی است، فارسی درون خلاصهٔ ویرایش در تاریخچه به هم می‌ریزد */
.comment > span { unicode-bidi: normal; }

/* نمایش بهتر خلاصه ویرایش‌های خیلی طولانی */
.comment {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* زیاد کردن اندازهٔ توضیحات صفحهٔ بارگذاری */
#wpUploadDescription {
	height: 25em;
}

/*ابزار پررنگ کنندهٔ نظرهای کاربر*/
.mycomment { background: #ff9; }

/* Pie chart test: Transparent borders */
.transborder {
	border: solid transparent;
}

/* Hide edittools base for those not using the gadget */
#mw-edittools-charinsert {
	display: none;
}

/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
   [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
#mw-subcategories ul {
	list-style: none none;
	margin-left: 0.25em;
}
.CategoryTreeChildren {
	margin-left: 1.25em;
}
.CategoryTreeToggle {
	color: #36c;
}
.CategoryTreeEmptyBullet {
	color: #c8ccd1;
}

/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
	color: #72777d;
	content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در اسلامیکال کاربرد دارد.";
	float: left;
	width: 40%;
	font-size: 40%;
}

/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
	font-weight: normal;
	font-size: smaller;
}

/* temporary fix for T86979 */
.ui-dialog { right: auto; }

/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element {
	display: none !important;
}

/* این برچسپ بهتر است فقط برای Gadget-taghighlighter.css را فعال کرده اند دیده شوند */
.mw-tag-marker-نیازمند_بازبینی { display: none; }

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message {
	display: none;
}

/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */
.mw-warning-with-logexcerpt a[title="اسلامیکال:ایجاد مقاله"] { font-size: 120%; font-weight: bold; }

/* Make the textarea pink when an admin is editing a protected page */
.mw-textarea-protected {
	background-color: #fee7e6;
}

/* Made diffs use Wikimedia UI color palette ([[phab:M82]]) */
td.diff-addedline {
	border-color: #36c;
}
td.diff-deletedline {
	border-color: #fc3;
}
td.diff-addedline .diffchange {
	background: #e9eef9;
}
td.diff-deletedline .diffchange {
	background: #fff4d6;
}

/* Spacing between the rows of navbox */
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 */
}
/* End of Spacing between the rows of navbox */

/* Color diff links */
.mw-diff-edit a {
	color: #2a4b8d;
}

.mw-diff-undo a, .mw-history-undo a, .mw-rollback-link a {
	color: #d33;
}

a.mw-thanks-thank-link {
	color: #14866d;
}

/* Make sure cite and dfn are not italicized thorugh the user agent stylesheet */
cite, dfn {
	font-style:inherit;
}

/* LTR citations should be listed LTR and be left-aligned, as is the case in Persian literature */
LI.mw-cite-dir-ltr {
	direction: ltr;
	margin-left: 2.3em;
	text-align: left;
	list-style-type: decimal !important;
}

/* However, sometimes users combine LTR and RTL refs and wrap the <references/> tag in a DIV that is LTR.
   In those cases, don't add a margin-left for the LI element, so the LTR and RTL numbersing are aligned. */
DIV.mw-content-ltr>OL>LI.mw-cite-dir-ltr {
	margin-left: 0;
}

/* OL with Persian alphabet used for its counter */
@counter-style persian-alpha {
	system: cyclic;
	symbols: "\627\644\641" "\628" "\67E" "\62A" "\62B" "\62C" "\684" "\62D" "\62E" "\62F" "\630" "\631" "\632" "\698" "\633" "\634" "\635" "\636" "\637" "\638" "\639" "\63A" "\641" "\642" "\6A9" "\6AB" "\644" "\645" "\646" "\648" "\6BE" "\6CC";
	suffix = " ";
}

.reflist-persian-alpha ol:lang( fa ) li {
	list-style-type: persian-alpha !important;
	direction: rtl;
	text-align: right;
	margin-left: 0;
}

/* Right margin for left-aligned tables */
table[align="left"] {
	margin-right: 1.2em;
}

/* Center aligning wikitables should be as easy as using align=center */
table.wikitable[align="center"] {
	margin-right: auto;
	margin-left: auto;
}

.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Temporary fix for Template:Allow_wrap until T283071 is fixed */
.wrap {
  white-space: normal;
}

.catlinks, .vector-language-sidebar-alert, .sistersitebox {
	border-radius: 4px;
}

/***** test oamam */

[dir='rtl'] body {
	font-family: 'Iransans', Tahoma, 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
}

[dir='rtl'] .highlight-title-yellowspan:before,
[dir='rtl'] .highlight-title-green span:before {
	bottom: 6px;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
    background-image: linear-gradient(to bottom, #c9c9c9 0, #c9c9c9 100%);
}
.vector-menu-tabs li {
    background-image: linear-gradient(to top,#aaa 0,#eee 1px,#fff 100%)
}
.mw-body-content {
	line-height: 2;
}
[dir='rtl'] .mw-editfooter-toggler {
    background-position: right center;
    padding-right: 16px;
}
[dir='rtl'] .suggestions-special .special-label, .suggestions-special .special-query, .suggestions-result {
	text-align: right;
}

.mp-circle-person {
	clear: both;
	min-height: 0 !important;
}

.mp-circle-person .circle-person-item {
	width: 20%;
	float: left;
	text-align: center;
	padding: 1rem;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
[dir='rtl'] .mp-circle-person .circle-person-item {
	float: right;
}

.mp-circle-person .circle-person-item .image-container a {
	width: 100px;
	height: 100px;
	overflow: hidden;
	position: relative;
	display: inline-block;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.mp-circle-person .circle-person-item .image-container a img {
	float: right;
	max-width: 100%;
	display: inline-block;
	height: auto;
	margin: 0 1rem 1rem 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.mp-circle-person .circle-person-item .title {
	float: left;
	display: inline-block;
	width: 100%;
	white-space: pre-line;
	word-spacing: -2px;
}

.mp-featured .image-container {
	width: 100%;
	text-align: center;
	display: block;
}

.mp-featured .image-container img {
	display: inline-block;
	height: auto;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}


.mp-featured .text {
	display: inline-block;
	width: 100%;
	text-align: justify;
	word-spacing: -2px;
}

.mp-featured .text ul li:not(.mw-empty-elt) {
	width: 50%;
}

.mp-featured .text ul li:not(.mw-empty-elt):nth-child(even) {
	float: left;
	clear: left;
}

.mp-featured .text ul li:not(.mw-empty-elt):nth-child(odd) {
	float: right;
}

.mp-featured-article {
	width: 56%;
	clear: both;
	float: left;
}

.mp-featured-article img {
	float: left;
	display: inline-block;
	height: auto;
	margin: 0 1rem 0 0;
	max-width: 142px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.mp-featured-article .text {
	float: left;
	display: inline-block;
	width: 100%;
	text-align: justify;
}

.mp-featured-article ul {
	list-style-position: inside;
}

.mp-featured-index {
	overflow: hidden;
}

.mp-featured-index .image {
	width: 100%;
	text-align: center;
	display: block;
}

.mp-featured-index .image img {
	float: left;
	display: inline-block;
	height: auto;
	margin: 0 1rem 0 0;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
[dir='rtl'] .mp-featured-index .image img {
	float: left;
	margin: 0 1rem 0 0;
}
.mp-featured-index .text {
	float: left;
	display: inline-block;
	width: 100%;
	text-align: justify;
}

.mp-featured-index ul {
	list-style-position: inside;
}

.mp-box {
	padding: 0.5rem 1rem;
	box-sizing: border-box;
	mar gin: 0.5rem auto;
	border: none;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	overflow: hidden;
}

.mp-box h2 {
	margin: 0 0 0.25rem;
	border-bottom: none;
	padding: 0.5rem 0;
}

.mp-top {
	text-align: center;
	padding: 1rem;
	margin: 0 0 10px;
}

.mp-top p {
	font-size: 1.5rem;
}

.mp-top ul {
	list-style: none;
}

.mp-top ul li {
	display: inline-block;
	margin-left: 1rem;
}

.mp-top ul li span {
	font-size: 1.5rem;
	vertical-align: middle;
	display: inline-block;
	/* float: left; */
	overflow: hidden;
	clear: both;
	margin: 4px 4px 0;
}

[dir='rtl'] .mp-top ul li span {
	/* float: right; */
}

.mp-featured-art {
	clear: both;
	width: 100%;
	padding: 1rem;
}

.mp-featured-art.fluid .image {
	width: 100%;
	text-align: center;
	display: block;
}

.mp-featured-art.fluid .image img {
	width: initial;
	float: none;
}

.mp-featured-art.fluid .text {
	width: 100%;
	padding: 1rem 0 0;
}

.mp-featured-art .image {
	float: left;
	margin-right: 1rem;
}
[dir='rtl'] .mp-featured-art .image {
	float: right;
	margin-left: 1rem;
	margin-right: auto;
}

.mp-featured-art .image img {
	display: inline-block;
	height: auto;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.mp-featured-art .text {
	float: left;
	display: inline-block;
	height: auto;
	padding: 0 1rem;
	box-sizing: border-box;
}

.mp-bottom {
	clear: both;
	width: 100%;
	overflow: hidden;
	font-size: 14px;
}

.mp-bottom .mp-bottom-column {
	width: 19%;
	float: left;
	margin: 0.5%;
}

[dir='rtl'] .mp-bottom .mp-bottom-column {
	float: right;
}

.mp-bottom .mp-bottom-column .mp-bottom-column-title {
	text-align: center;
	background: #F1F1F1;
	padding: 6px 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: inherit;
}

.mp-bottom .mp-bottom-column .mp-bottom-column-title span {
	text-align: center;
	background: #eee;
	border-radius: 5px;
	font-weight: bold;
}

.mp-bottom .mp-bottom-column ul {
	list-style: none;
	margin: 5px auto;
}

.mp-bottom .mp-bottom-column ul li {
	margin: 10px 0;
}

.highlight-title-yellow span,
.highlight-title-green span {
	position: relative;
	padding: 0 10px;
}

.highlight-title-yellow span:before,
.highlight-title-green span:before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 0;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	border: 5px solid rgba(255, 255, 0, 0.3);
}

.highlight-title-yellow span:before {
	border: 5px solid rgba(255, 255, 0, 0.3);
}

.highlight-title-green span:before {
	border: 5px solid rgba(0, 255, 0, 0.3);
}

.mw-body .mw-editsection-like {
	font-family: inherit;
}

.page-صفحه اصلی .mw-body {
	background-color: #eaeaea;
}

/* scale up fonts - added by nazarzadeh */
body {
	font-size: 17px;
}
.mp-bottom {
	font-size: 15px;
}

.mp-milestones table td {
	border-top: 1px solid #a2a9b1;
}
.mp-milestones table td ul {
	margin: 0.3em .6em 0 0;
}

.box-sh {
	padding: 0.5rem 1rem;
	color: #555;
	background-color: #fff;
	box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	border: none;
}

/* portals by nazarzadeh */
.portal-container-2 {
	display: grid; 
	grid-gap: 10px; 
	grid-template-columns: repeat(2, auto);
	grid-template-rows: auto;  
	width: 100%
}
.portal-container-3 {
	display: grid; 
	grid-gap: 10px; 
	grid-template-columns: repeat(3, auto); 
	grid-template-rows: auto;  
	width: 100%
}
.portal-container-4 {
	display: grid; 
	grid-gap: 10px; 
	grid-template-columns: repeat(4, auto); 
	grid-template-rows: auto;  
	width: 100%
}
.portal-container-5 {
	display: grid; 
	grid-gap: 10px; 
	grid-template-columns: repeat(5, auto); 
	grid-template-rows: auto;  
	width: 100%
}
.portal-container-6 {
	display: grid; 
	grid-gap: 10px; 
	grid-template-columns: repeat(6, auto); 
	grid-template-rows: auto;  
	width: 100%
}
.portal-container-7 {
	display: grid; 
	grid-gap: 10px; 
	grid-template-columns: repeat(7, auto); 
	grid-template-rows: auto;  
	width: 100%
}
.portal-column-2-3 {
	grid-column-end: span 2; 
}
.portal-column-3-4 {
	grid-column-end: span 3; 
}
.portal-column-1-2,
.portal-column-1-3,
.portal-column-1-4,
.portal-column-1-5,
.portal-column-1-6,
.portal-column-1-7 {
	grid-column-end: span 1; 
}
.portal-column-2-2 {
	grid-column-end: span 2;
}
.portal-column-3-3 {
	grid-column-end: span 3;
}
.portal-column-4-4 {
	grid-column-end: span 4;
}
.portal-column-5-5 {
	grid-column-end: span 5;
}
.portal-column-6-6 {
	grid-column-end: span 6;
}
.portal-column-7-7 {
	grid-column-end: span 7;
}
@media only screen and (max-width: 850px) {
	.mainpage-portals {
		width: 25%; 
	}
    /* Decouple the columns on narrow screens */
    .portal-container-2,
    .portal-container-3, 
    .portal-container-4, 
    .portal-container-5, 
    .portal-container-6, 
    .portal-container-7 {
		display: block;
	}
    .portal-column-1-2,
    .portal-column-2-4,
    .portal-column-1-4,
    .portal-column-1-3,
    .portal-column-2-3,
    .portal-column-2-2,
    .portal-column-3-3,
	.portal-column-4-4,
	.portal-column-5-5,
	.portal-column-6-6,
	.portal-column-7-7 {
        flo at: inherit;
        wid th: 100%;
        margin-top: 10px;
        display: block !important;
        text-align: center;
    }
    .portal-column-1-4 {
		wid th: calc(50% - 16px);
    }
    .portal-column-1-6 {
		wid th: calc(33.3% - 16px);
    }
    .portal-column-1-7 {
	flo at: right;
	wid th: calc(25% - 16px);
    }
}
/* portals end */