MediaWiki:Common.css: Difference between revisions

From Wikihussain
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2,030: Line 2,030:


body.ns-8>* {
body.ns-8>* {
direction: rtl;
direc tion: rtl;
}
}


Line 2,041: Line 2,041:
padding: 0.5rem 1rem;
padding: 0.5rem 1rem;
box-sizing: border-box;
box-sizing: border-box;
margin: 0.5rem auto;
mar gin: 0.5rem auto;
border: none;
border: none;
-webkit-border-radius: 6px;
-webkit-border-radius: 6px;
Line 3,007: Line 3,007:
}
}
}
}
/* 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 */


[dir='rtl'] body {
[dir='rtl'] body {
Line 3,184: Line 3,301:
float: right;
float: right;
}
}
#footer-poweredbyico a {
.zetitoon {
margin-right: 10px;
margin-right: 10px;
}
/* الگوی منزلگاه ها */
.mp-milestones table td {
border-top: 1px solid #a2a9b1;
}
.mp-milestones table td ul {
margin: 0.3em .6em 0 0;
}
}

Latest revision as of 17:02, 20 February 2023

/* added by nazarzadeh */

@font-face {
	font-family: 'iransans';
	src: url('../fonts/IRANSansWeb(FaNum)_Light.eot');
	src: url('../fonts/IRANSansWeb(FaNum)_Light.eot?#iefix') format('eot'), url('../fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'), url('../fonts/IRANSansWeb(FaNum)_Light.woff') format('woff'), url('../fonts/IRANSansWeb(FaNum)_Light.ttf') format('ttf');
}

textarea {
	font-family: inherit;
}

_:-ms-lang(x) {
	font-family: inherit;
}

_:-webkit-full-screen {
	font-family: inherit;
}

div#content h1 {
	font-family: inherit;
}

div#content h2 {
	font-family: inherit;
}

div#content #firstHeading {
	font-family: inherit;
}

div#content .mw-editsection {
	font-family: inherit;
}

div#content #toc h2 {
	font-family: inherit;
}

div#content .toc h2 {
	font-family: inherit;
}

div#content a[href$=".pdf"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#content a[href*=".pdf?"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#content a[href*=".pdf#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#content a[href$=".PDF"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#content a[href*=".PDF?"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#content a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

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

#template-documentation {
	font-family: inherit;
}

#documentation-meta-data {
	font-family: inherit;
}

.ui-widget {
	font-family: inherit;
}

.ui-widget * {
	font-family: inherit;
}

button {
	font-family: inherit;
}

input {
	font-family: inherit;
}

select {
	font-family: inherit;
}

optgroup {
	font-family: inherit;
}

dfn {
	font-style: inherit;
}

sup {
	line-height: 1em;
}

sub {
	line-height: 1em;
}

#mp-right .mp-bar {
	background: linear-gradient(to left, #C6DEFE, white, white) !important;
}

#interwiki-completelist {
	font-weight: bold;
}

.references-small {
	font-size: 90%;
}

ol.references>li:target {
	background-color: #DEF;
}

sup.reference {
	font-weight: normal;
	font-style: normal;
}

sup.reference:target {
	background-color: #DEF;
}

sup.reference a {
	white-space: nowrap;
}

span.citation {
	word-wrap: break-word;
}

span.citation:target {
	background-color: #DEF;
}

img {
	max-width: 100%;
	height: auto;
}

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

cite {
	word-wrap: break-word;
}

cite:target {
	background-color: #DEF;
}

.skin-monobook .hlist dl {
	line-height: 1.5em;
}

.skin-modern .hlist dl {
	line-height: 1.5em;
}

.skin-vector .hlist dl {
	line-height: 1.5em;
}

.hlist dl {
	margin: 0;
	padding: 0;
}

.hlist dl dl {
	display: inline;
}

.hlist dl ol {
	display: inline;
}

.hlist dl ul {
	display: inline;
}

.hlist ol {
	margin: 0;
	padding: 0;
	counter-reset: listitem;
}

.hlist ol dl {
	display: inline;
}

.hlist ol ol {
	display: inline;
}

.hlist ol ul {
	display: inline;
}

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

.hlist ol>li:before {
	content: " " counter(listitem) " ";
	content: " " counter(listitem, -moz-persian) " ";
	content: " " counter(listitem, persian) " ";
	white-space: nowrap;
}

.hlist ul {
	margin: 0;
	padding: 0;
}

.hlist ul dl {
	display: inline;
}

.hlist ul ol {
	display: inline;
}

.hlist ul ul {
	display: inline;
}

.hlist dd {
	margin: 0;
	display: inline;
}

.hlist dd:after {
	content: " •";
}

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

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

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

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

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

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

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

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

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

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

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

.hlist dt {
	margin: 0;
	display: inline;
}

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

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

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

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

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

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

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

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

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

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

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

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

.hlist li {
	margin: 0;
	display: inline;
}

.hlist li:after {
	content: " •";
}

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

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

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

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

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

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

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

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

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

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

.hlist li ol>li:first-child:before {
	content: " (" counter(listitem) " ";
	content: " (" counter(listitem, -moz-persian) " ";
	content: " (" counter(listitem, persian) " ";
}

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

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

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

.hlist.inline {
	display: inline;
}

.hlist.inline dl {
	display: inline;
}

.hlist.inline ol {
	display: inline;
}

.hlist.inline ul {
	display: inline;
}

.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}

.plainlist ul li {
	margin-bottom: 0;
}

.wikitable.plainrowheaders th[scope=row] {
	font-weight: normal;
	text-align: right;
}

.wikitable td ul {
	text-align: right;
}

.wikitable td ol {
	text-align: right;
}

.wikitable td dl {
	text-align: right;
}

.wikitable.hlist td ul {
	text-align: inherit;
}

.wikitable.hlist td ol {
	text-align: inherit;
}

.wikitable.hlist td dl {
	text-align: inherit;
}

.navbox {
	border: 1px solid #aaa;
	width: 100%;
	margin: auto;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	background: #fdfdfd;
}

.navbox th {
	background: #ccccff;
}

.navbox .hlist td dl {
	padding: 0.125em 0;
}

.navbox .hlist td ol {
	padding: 0.125em 0;
}

.navbox .hlist td ul {
	padding: 0.125em 0;
}

.navbox td.hlist dl {
	padding: 0.125em 0;
}

.navbox td.hlist ol {
	padding: 0.125em 0;
}

.navbox td.hlist ul {
	padding: 0.125em 0;
}

.navbox .navbar {
	display: block;
	font-size: 100%;
}

.navbox .collapseButton {
	width: 6em;
}

.navbox-inner {
	width: 100%;
}

.navbox-subgroup {
	width: 100%;
	background: #fdfdfd;
}

.navbox-subgroup .navbox-title {
	background: #ddddff;
}

.navbox-subgroup .navbox-group {
	background: #e6e6ff;
}

.navbox-subgroup .navbox-abovebelow {
	background: #e6e6ff;
}

.navbox-group {
	padding: 0.25em 1em;
	line-height: 1.5em;
	text-align: center;
}

.navbox-title {
	padding: 0.25em 1em;
	line-height: 1.5em;
	text-align: center;
	background: #ccccff;
}

.navbox-title .navbar {
	float: left;
	text-align: right;
	margin-left: 0.5em;
	width: 6em;
}

.navbox-abovebelow {
	padding: 0.25em 1em;
	line-height: 1.5em;
	text-align: center;
	background: #ddddff;
}

th.navbox-group {
	white-space: nowrap;
	text-align: right;
	background: #ddddff;
}

.navbox-list {
	line-height: 1.8em;
	border-color: #fdfdfd;
}

.navbox-even {
	background: #f7f7f7;
}

.navbox-odd {
	background: transparent;
}

table.navbox+table.navbox {
	margin-top: -1px;
}

ol+table.navbox {
	margin-top: 0.5em;
}

ul+table.navbox {
	margin-top: 0.5em;
}

.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 {
	font-size: xx-small;
}

.nv-talk>a {
	color: #002BB8;
}

.infobox {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	color: black;
	margin: 0.5em 1em 0.5em 0;
	padding: 0.2em;
	float: right;
	clear: right;
	text-align: left;
	font-size: 88%;
	line-height: 1.5em;
	max-width: 30%;
}
[dir='rtl'] .infobox {
	margin: 0.5em 1em 0.5em 0;
	padding: 0.2em;
	float: left;
	text-align: right;
}
.infobox .navbar {
	font-size: 100%;
}

.infobox caption {
	font-size: 125%;
	font-weight: bold;
}

.infobox td {
	min-width: 60px;
	vertical-align: top;
}

.infobox th {
	min-width: 60px;
	vertical-align: top;
}

.collapseButton {
	float: right;
	font-weight: normal;
	margin-right: 0.5em;
	text-align: left;
	width: auto;
}

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

.infobox.bordered td {
	border: 1px solid #aaa;
}

.infobox.bordered th {
	border: 1px solid #aaa;
}

.infobox.bordered .borderless td {
	border: 0;
}

.infobox.bordered .borderless th {
	border: 0;
}

.infobox.bordered .mergedtoprow td {
	border: 0;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
}

.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
}

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

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

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

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

.infobox.standard-talk.bordered td {
	border: 1px solid #c0c090;
}

.infobox.standard-talk.bordered th {
	border: 1px solid #c0c090;
}

.infobox.geography {
	text-align: right;
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}

.infobox.geography caption {
	line-height: 1.6em;
}

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

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

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

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

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

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

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

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

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

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

.notice {
	margin: 1em;
	padding: 0.2em;
}

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

.spoiler {
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
}

.Talk-Notice {
	border: 1px solid #C0C090;
	background-color: #F8EABA;
	margin-bottom: 3px;
	width: 85%;
	border-spacing: 3px;
	margin-right: auto;
	margin-left: auto;
}

.Talk-Notice:after {
	content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
}

.Talk-Notice td {
	background: inherit;
}

.notice-text {
	font-family: inherit;
}

.toggle-box {
	font-family: inherit;
}

.red-button {
	font-family: inherit;
}

.goal {
	font-family: inherit;
}

div.red-button {
	font-family: inherit;
}

div.siteNoticeSmall {
	font-family: inherit;
}

div#siteNotice {
	font-family: inherit;
}

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

table.InChI {
	border: 1px solid #aaa;
	display: none;
	speak: none;
}

table.persondata {
	border: 1px solid #aaa;
	display: none;
	speak: none;
}

.InChI-label {
	color: #aaa;
}

.persondata-label {
	color: #aaa;
}

.redirect-in-category {
	font-style: italic;
}

.allpagesredirect {
	font-style: italic;
}

div.listenlist {
	background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
	padding-right: 40px;
}

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

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

div.medialist {
	min-height: 50px;
	margin: 1em;
	background-position: top right;
	background-repeat: no-repeat;
}

div.medialist ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
}

div.medialist ul li {
	padding-bottom: 0.5em;
}

div.medialist ul li li {
	font-size: 91%;
	padding-bottom: 0;
}

div#mw_content a[href$=".pdf"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#mw_content a[href*=".pdf?"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#mw_content a[href*=".pdf#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#mw_content a[href$=".PDF"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#mw_content a[href*=".PDF?"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

div#mw_content a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	padding-left: 18px;
}

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

div.columns-2 div.column {
	float: left;
	width: 50%;
	min-width: 300px;
}

div.columns-3 div.column {
	float: left;
	width: 33.3%;
	min-width: 200px;
}

div.columns-4 div.column {
	float: left;
	width: 25%;
	min-width: 150px;
}

div.columns-5 div.column {
	float: left;
	width: 20%;
	min-width: 120px;
}

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

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

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

.plainlinksneverexpand a.external.text:after {
	display: none !important;
}

.plainlinksneverexpand a.external.autonumber:after {
	display: none !important;
}

.messagebox {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em;
}

.messagebox.merge {
	border: 1px solid #c0b8cc;
	background-color: #f0e5ff;
	text-align: center;
}

.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background-color: #efefff;
	text-align: center;
}

.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}

.messagebox.nested-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	width: 100%;
	margin: 2px 4px 2px 4px;
}

.messagebox.small {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}

.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
	background: #F8EABA;
}

table.ambox {
	margin: 0px 10%;
	border: 1px solid #aaa;
	border-right: 10px solid #1e90ff;
	background: #fbfbfb;
}

table.ambox+table.ambox {
	margin-top: -1px;
}

.ambox th.mbox-text {
	padding: 0.25em 0.5em;
}

.ambox td.mbox-text {
	padding: 0.25em 0.5em;
}

.ambox td.mbox-image {
	padding: 2px 0.5em 2px 0;
}

.ambox td.mbox-imageright {
	padding: 2px 0 2px 0.5em;
}

table.ambox-notice {
	border-right: 10px solid #1e90ff;
}

table.ambox-speedy {
	border-right: 10px solid #b22222;
	background: #fee;
}

table.ambox-delete {
	border-right: 10px solid #b22222;
}

table.ambox-content {
	border-right: 10px solid #f28500;
}

table.ambox-style {
	border-right: 10px solid #f4c430;
}

table.ambox-move {
	border-right: 10px solid #9932cc;
}

table.ambox-protection {
	border-right: 10px solid #bba;
}

table.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid #1e90ff;
	background: #fbfbfb;
}

.imbox .mbox-text .imbox {
	margin: 0 -0.5em;
	display: block;
}

.mbox-inside .imbox {
	margin: 4px;
}

.mbox-inside .tmbox.mbox-small {
	line-height: 1.5em;
	font-size: 100%;
}

table.imbox-notice {
	border: 3px solid #1e90ff;
}

table.imbox-speedy {
	border: 3px solid #b22222;
	background: #fee;
}

table.imbox-delete {
	border: 3px solid #b22222;
}

table.imbox-content {
	border: 3px solid #f28500;
}

table.imbox-style {
	border: 3px solid #f4c430;
}

table.imbox-move {
	border: 3px solid #9932cc;
}

table.imbox-protection {
	border: 3px solid #bba;
}

table.imbox-license {
	border: 3px solid #88a;
	background: #f7f8ff;
}

table.imbox-featured {
	border: 3px solid #ffaa66;
}

table.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa;
	background: #DFE8FF;
}

table.cmbox-notice {
	background: #D8E8FF;
}

table.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b22222;
	background: #FFDBDB;
}

table.cmbox-delete {
	background: #FFDBDB;
}

table.cmbox-content {
	background: #FFE7CE;
}

table.cmbox-style {
	background: #FFF9DB;
}

table.cmbox-move {
	background: #E4D8FF;
}

table.cmbox-protection {
	background: #EFEFE1;
}

table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa;
	background: #f9f9f9;
}

table.ombox-notice {
	border: 1px solid #aaa;
}

table.ombox-speedy {
	border: 2px solid #b22222;
	background: #fee;
}

table.ombox-delete {
	border: 2px solid #b22222;
}

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

table.ombox-style {
	border: 1px solid #f4c430;
}

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

table.ombox-protection {
	border: 2px solid #bba;
}

table.tmbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #c0c090;
	background: #f8eaba;
}

.mediawiki .mbox-inside .tmbox {
	margin: 2px 0;
	width: 100%;
}

table.tmbox-speedy {
	border: 2px solid #b22222;
	background: #fee;
}

table.tmbox-delete {
	border: 2px solid #b22222;
}

table.tmbox-content {
	border: 2px solid #f28500;
}

table.tmbox-style {
	border: 2px solid #f4c430;
}

table.tmbox-move {
	border: 2px solid #9932cc;
}

table.tmbox-protection {
	border: 1px solid #c0c090;
}

table.tmbox-notice {
	border: 1px solid #c0c090;
}

table.dmbox {
	clear: both;
	margin: 0.9em 1em;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: transparent;
}

table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #aaa;
	background: #f9f9f9;
}

table.fmbox-system {
	background: #f9f9f9;
}

table.fmbox-warning {
	border: 1px solid #bb7070;
	background: #ffdbdb;
}

table.fmbox-editnotice {
	background: transparent;
}

div.mw-warning-with-logexcerpt {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background: #ffdbdb;
	padding: 0.25em 0.9em;
}

div.mw-lag-warn-high {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background: #ffdbdb;
	padding: 0.25em 0.9em;
}

div.mw-cascadeprotectedwarning {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background: #ffdbdb;
	padding: 0.25em 0.9em;
}

div#mw-protect-cascadeon {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background: #ffdbdb;
	padding: 0.25em 0.9em;
}

div.mw-lag-warn-normal {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #aaa;
	background: #f9f9f9;
	padding: 0.25em 0.9em;
}

div.fmbox-system {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #aaa;
	background: #f9f9f9;
	padding: 0.25em 0.9em;
}

body.mediawiki table.mbox-small {
	clear: right;
	float: right;
	margin: 4px 1em 4px 0;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}

body.mediawiki table.mbox-small-right {
	margin: 4px 0 4px 1em;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}

#file img {
	background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}

#wpSave {
	font-weight: bold;
}

.hiddenStructure {
	display: inline ! important;
	color: #f00;
	background-color: #0f0;
}

.check-icon a.new {
	display: none;
	speak: none;
}

.nounderlines a {
	text-decoration: none;
}

.IPA a:link {
	text-decoration: none;
}

.IPA a:visited {
	text-decoration: 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: right;
	width: 20em;
	text-align: center;
}

#EnWpMpBook2 {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png);
}

div.Boxmerge {
	margin: 0px;
	padding: 4px;
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}

div.Boxmerge div.NavFrame {
	border-style: none;
	border-style: hidden;
}

div.NavFrame {
	margin: 0px;
	padding: 4px;
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
	position: relative;
}

div.NavFrame+div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}

div.NavFrame div.NavHead {
	height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	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.NavPic {
	background-color: #fff;
	margin: 0px;
	padding: 2px;
	float: left;
	position: relative;
}

body[class*="_صفحه_تمرین"] #firstHeading::after {
	color: gray;
	content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
	float: right;
	width: 40%;
	font-size: 40%;
}

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

.rellink {
	font-style: italic;
}

.rellink i {
	font-style: normal;
}

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

.dablink i {
	font-style: normal;
}

.hatnote {
	font-style: italic;
}

.hatnote i {
	font-style: normal;
}

div.rellink {
	padding-right: 1.6em;
	margin-bottom: 0.5em;
}

div.dablink {
	padding-right: 1.6em;
	margin-bottom: 0.5em;
}

div.hatnote {
	padding-right: 1.6em;
	margin-bottom: 0.5em;
}

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

.mw-plusminus-pos {
	color: #006400;
}

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

.horizontal ul {
	padding: 0;
	margin: 0;
}

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

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

.nonumtoc .tocnumber {
	display: none;
}

.nonumtoc #toc ul {
	line-height: 1.5em;
	list-style: none;
	margin: .3em 0 0;
	padding: 0;
}

.nonumtoc #toc ul ul {
	margin: 0 0 0 2em;
}

.nonumtoc .toc ul {
	line-height: 1.5em;
	list-style: none;
	margin: .3em 0 0;
	padding: 0;
}

.nonumtoc .toc ul ul {
	margin: 0 0 0 2em;
}

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

.listify {
	margin-left: 0;
	margin-right: 2em;
}

.listify td {
	display: list-item;
}

.listify tr {
	display: block;
}

.listify table {
	display: block;
}

blockquote.templatequote {
	margin-top: 0;
}

blockquote.templatequote div.templatequotecite {
	line-height: 1em;
	text-align: right;
	padding-right: 2em;
	margin-top: 0;
}

blockquote.templatequote div.templatequotecite cite {
	font-size: 85%;
}

div.user-block {
	padding: 5px;
	border: 1px solid #A9A9A9;
	background-color: #FFEFD5;
}

.nowraplinks a {
	white-space: nowrap;
}

span.texhtml {
	white-space: nowrap;
	direction: ltr;
	unicode-bidi: bidi-override;
}

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

.thumbinner {
	min-width: 100px;
}

th.mbox-text {
	border: none;
	padding: 0.25em 0.9em;
	width: 100%;
}

td.mbox-text {
	border: none;
	padding: 0.25em 0.9em;
	width: 100%;
}

td.mbox-image {
	border: none;
	padding: 2px 0.9em 2px 0px;
	text-align: center;
}

td.mbox-imageright {
	border: none;
	padding: 2px 0px 2px 0.9em;
	text-align: center;
}

.mw-tag-markers {
	font-style: italic;
	font-size: 90%;
}

.NavToggle {
	position: relative;
}

.mw-hierotable {
	border: 0px;
	padding: 0px;
}

.mw-hierotable th {
	border: 0px;
	padding: 0px;
}

.mw-hierotable td {
	border: 0px;
	padding: 0px;
}

.hierotable-mw {
	border: 0px;
	padding: 0px;
}

.hierotable mw-th {
	border: 0px;
	padding: 0px;
}

.hierotable mw-td {
	border: 0px;
	padding: 0px;
}

div.thumb img.thumbimage {
	background-color: #fff;
}

.globegris {
	background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}

.prefsection fieldset {
	float: left;
}

.b {
	text-align: center;
	text-align-last: center;
	-moz-text-align-last: center;
	-webkit-text-align-last: center;
	text-justify: kashida;
	border: 0;
}

.beyt {
	white-space: nowrap;
	line-height: 2rem;
}

.nastaliq {
	line-height: 200%;
	font-size: 150%;
	font-family: IranNastaliq;
	text-justify: inter-word;
	font-weight: normal;
}

.nastaliq .b {
	text-justify: inter-word;
}

#mw-hidden-catlinks {
	display: none;
	font-size: 87% !important;
}

#wpFilterRules {
	direction: ltr;
}

.comment>span {
	unicode-bidi: normal;
}

#wpUploadDescription {
	height: 25em;
}

.mycomment {
	background: #ff9;
}

.transborder {
	border: solid transparent;
}

* html .transborder {
	border: solid #000001;
	filter: chroma(color=#000001);
}

#mw-edittools-charinsert {
	display: none;
}

#mw-subcategories ul {
	list-style: none none;
	margin-left: 0.25em;
}

.CategoryTreeChildren {
	margin-left: 1.25em;
}

.CategoryTreeToggle {
	color: #0645AD;
}

.CategoryTreeEmptyBullet {
	color: #C0C0C0;
}

ul.interProject {
	list-style: none;
	padding-right: 0;
	margin-right: 0;
}

li.interProject {
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 18px;
	margin-right: 0;
}

#mw-panel {
	margin-top: 1.5rem;
}

#mw-panel div.portal h3 {
	color: #555;
}

#mw-panel div.portal div.body ul.interProject li.interProject {
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 18px;
	margin-right: 0;
}

div.vectorTabs {
	border-left: 1px solid #c9c9c9;
	padding: 0;
	background-image: none;
	background-image: linear-gradient(#ffffff 2%, #f6f6f6 100%);
}

div.vectorTabs ul {
	background-image: none;
	background-image: linear-gradient(#ffffff 2%, #f6f6f6 100%);
}

div.vectorTabs ul li {
	border-right: 1px solid #c9c9c9;
	border-bottom: 1px solid #c9c9c9;
	background-image: none;
	background: #eee;
	background-image: linear-gradient(#ffffff 2%, #eee 100%);
	position: relative;
	top: -1px;
}

div.vectorTabs ul li span,
div.vectorTabs ul li a {
	background-image: none;
}

div.vectorTabs ul li.selected {
	border-bottom: 1px solid #fff;
}

.mw-fr-reviewlink {
	font-weight: normal;
	font-size: smaller;
}

.fr-hist-basic-user {
	font-weight: normal;
	font-size: smaller;
}

.fr-hist-basic-auto {
	font-weight: normal;
	font-size: smaller;
}

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

.portal-column-left {
	float: right;
	width: 50%;
}

.portal-column-right {
	float: left;
	width: 49%;
}

.portal-column-left-wide {
	float: right;
	width: 60%;
}

.portal-column-right-narrow {
	float: left;
	width: 39%;
}

.portal-column-left-extra-wide {
	float: right;
	width: 70%;
}

.portal-column-right-extra-narrow {
	float: left;
	width: 29%;
}

.ui-dialog {
	right: auto;
}

.inputbox-hidecheckboxes form .inputbox-element {
	display: none !important;
}

body.ns-8 {
	direction: ltr;
}

body.ns-8>* {
	direc tion: rtl;
}

.highlight {
	text-shadow: 0 -1px;
	font-weight: inherit !important;
}

.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: sub;
	display: inline-block;
	/* float: left; 
	overflow: hidden;*/
	clear: both;
	margin: 4px 4px 0;
}

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

.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: right;
	margin: 0 0 0 1rem;
}
.mp-featured-index .text {
	float: left;
	display: inline-block;
	width: 100%;
	text-align: justify;
}

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

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

.mp-works img {
	float: right;
	display: inline-block;
	height: auto;
	margin: 0 0 0 1rem;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

[dir='rtl'] .mp-works img {
    float: left;
    margin: 0 1rem 0 0;
}

.mp-works .text {
	display: inline-block;
	width: 100%;
	white-space: pre-line;
	text-align: justify;
	word-spacing: -2px;
}

.mp-featured-bio {
	width: 43%;
	clear: right;
	float: right;
}

.mp-featured-bio img {
	float: right;
	display: inline-block;
	height: auto;
	margin: 0 0 1rem 1rem;
}

.mp-featured-bio .text {
	float: left;
	display: inline-block;
	width: 100%;
	white-space: pre-line;
	text-align: justify;
	word-spacing: -2px;
}

.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-yadbood {
	width: 43%;
	float: right;
}

.mp-yadbood h2 {
	margin-top: 0;
}

.mp-yadbood .mp-yadbood-item {
	clear: both;
	margin-bottom: 0.5rem;
	overflow: hidden;
}

.mp-yadbood .mp-yadbood-item a.image {
	height: 100px;
	overflow: hidden;
}

.mp-yadbood .mp-yadbood-item img {
	float: right;
	width: 20%;
	display: inline-block;
	height: auto;
	margin: 0 0 1rem 1rem;
}

.mp-yadbood .mp-yadbood-item .text {
	float: left;
	display: inline-block;
	width: 78%;
	margin: 0;
	white-space: pre-line;
}

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

.mp-about .text {
	white-space: pre-line;
}

.mp-book {
	width: 43%;
	float: right;
}

.mp-book img {
	float: right;
	width: 30%;
	display: inline-block;
	height: auto;
	margin: 0 0 1rem 1rem;
}

.mp-book .text {
	float: left;
	display: inline-block;
	white-space: pre-line;
}

.mp-gallery {
	clear: both;
	width: 100%;
}

.mp-gallery img {
	float: left;
	width: 50%;
	display: inline-block;
	height: auto;
}

.mp-gallery .text {
	float: right;
	width: 50%;
	display: inline-block;
	height: auto;
	white-space: pre-line;
	padding: 1rem;
	box-sizing: border-box;
}

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

.box-full {
	border: 4px solid #7B3F00;
	padding: 0;
	border-radius: 6px;
	box-sizing: border-box;
	background-color: #ffffff;
	width: 100%;
	padding: 0 1rem .5rem;
	overflow: hidden;
}

.box-full h2 {
	margin-top: 0;
	margin-bottom: 10px;
	border: 0;
	background: #7B3F00;
	padding: 3px 6px 10px;
	color: #F8EABA;
	font-size: 1.15rem;
	text-align: center;
}

.box-full p.text {
	padding: 4px 13px 6px;
	font-size: .85rem;
	word-spacing: -1px;
	line-height: 1.5rem;
	white-space: pre-line;
}

.box-full>h2 {
	margin: 0 -1rem;
}

.box-55 {
	border: 4px solid #7B3F00;
	padding: 0;
	border-radius: 6px;
	box-sizing: border-box;
	background-color: #ffffff;
	width: 54%;
}

.box-55 h2 {
	margin-top: 0;
	margin-bottom: 10px;
	border: 0;
	background: #7B3F00;
	padding: 3px 6px 10px;
	color: #F8EABA;
	font-size: 1.15rem;
}

.box-55 p.text {
	padding: 4px 13px 6px;
	font-size: .85rem;
	word-spacing: -1px;
	line-height: 1.5rem;
	white-space: pre-line;
}

.box-45 {
	border: 4px solid #7B3F00;
	padding: 0;
	border-radius: 6px;
	box-sizing: border-box;
	background-color: #ffffff;
	width: 44%;
}

.box-45 h2 {
	margin-top: 0;
	margin-bottom: 10px;
	border: 0;
	background: #7B3F00;
	padding: 3px 6px 10px;
	color: #F8EABA;
	font-size: 1.15rem;
}

.box-45 p.text {
	padding: 4px 13px 6px;
	font-size: .85rem;
	word-spacing: -1px;
	line-height: 1.5rem;
	white-space: pre-line;
}

.box-33 {
	border: 4px solid #7B3F00;
	padding: 0;
	border-radius: 6px;
	box-sizing: border-box;
	background-color: #ffffff;
	width: 32%;
	float: left;
	margin: 1%;
}

.box-33 h2 {
	margin-top: 0;
	margin-bottom: 10px;
	border: 0;
	background: #7B3F00;
	padding: 3px 6px 10px;
	color: #F8EABA;
	font-size: 1.15rem;
}

.box-33 p.text {
	padding: 4px 13px 6px;
	font-size: .85rem;
	word-spacing: -1px;
	line-height: 1.5rem;
	white-space: pre-line;
}

.box-33:first-of-type {
	margin-right: 0;
}

.box-33:last-of-type {
	margin-left: 0;
}

.box-33 .text .image {
	display: block;
	text-align: center;
	margin-bottom: 1rem;
}

.box-45-pic-mini {
	border: 4px solid #7B3F00;
	padding: 0;
	border-radius: 6px;
	box-sizing: border-box;
	background-color: #ffffff;
	width: 44%;
}

.box-45-pic-mini h2 {
	margin-top: 0;
	margin-bottom: 10px;
	border: 0;
	background: #7B3F00;
	padding: 3px 6px 10px;
	color: #F8EABA;
	font-size: 1.15rem;
}

.box-45-pic-mini p.text {
	padding: 4px 13px 6px;
	font-size: .85rem;
	word-spacing: -1px;
	line-height: 1.5rem;
	white-space: pre-line;
}

.clearfix {
	clear: both;
}

.clearfix::after {
	display: block;
	content: "";
	clear: both;
}

.video-container video {
	width: inherit;
	height: auto;
}

.campaign-page .video-container video {
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 3rem;
	width: 100%;
	height: auto;
}

.campaign-page .button-container {
	text-align: center;
}

.campaign-page .button-container .buttons .button {
	width: 25%;
	padding: 20px 12px 18px;
	display: inline-block;
	font-size: 18px;
	background: #588608;
	margin: 0 4% 3rem;
	color: #fff;
	border-radius: 50px;
	text-decoration: none;
}

.campaign-page .button-container .buttons .button:visited {
	width: 25%;
	padding: 20px 12px 18px;
	display: inline-block;
	font-size: 18px;
	background: #588608;
	margin: 0 4% 3rem;
	color: #fff;
	border-radius: 50px;
	text-decoration: none;
}

.campaign-page .button-container .buttons .button:hover {
	background: #436705;
}

.campaign-page .button-container .buttons .button:hover:focus {
	background: #436705;
}

.campaign-page .button-container .buttons .button:hover:active {
	background: #436705;
}

.campaign-page .button-container .buttons .button:hover:visited {
	background: #436705;
}

.campaign-page .button-container .buttons .button:focus {
	background: #436705;
}

.campaign-page .button-container .buttons .button:active {
	background: #436705;
}

.mw-body {
	border: 1px solid #c9c9c9;
}

body.page-Test div.vectorTabs,
body.page-Main_Page div.vectorTabs {
	border-left: 1px solid #c9c9c9;
	padding: 0;
	background-image: none;
	background-image: linear-gradient(#ffffff 2%, #f6f6f6 100%);
}

body.page-Test div.vectorTabs ul,
body.page-Main_Page div.vectorTabs ul {
	background-image: none;
	background-image: linear-gradient(#ffffff 2%, #f6f6f6 100%);
}

body.page-Test div.vectorTabs ul li,
body.page-Main_Page div.vectorTabs ul li {
	border-right: 1px solid #c9c9c9;
	border-bottom: 1px solid #c9c9c9;
	background-image: none;
	background: #eee;
	background-image: linear-gradient(#ffffff 2%, #eee 100%);
	position: relative;
	top: -1px;
}

body.page-Test div.vectorTabs ul li span,
body.page-Test div.vectorTabs ul li a,
body.page-Main_Page div.vectorTabs ul li span,
body.page-Main_Page div.vectorTabs ul li a {
	background-image: none;
}

body.page-Test div.vectorTabs ul li.selected,
body.page-Main_Page div.vectorTabs ul li.selected {
	background: #f6f6f6;
	background-image: linear-gradient(#ffffff 2%, #f6f6f6 100%);
	border-bottom: 1px solid #f6f6f6;
}

body.page-Test .mw-body,
body.page-Main_Page .mw-body {
	background: #f6f6f6;
	border: 1px solid #c9c9c9;
}

body.page-Test #mp-topbanner,
body.page-Main_Page #mp-topbanner {
	clear: both;
}

body.page-Test #ca-delete,
body.page-Main_Page #ca-delete {
	display: none !important;
}

body.page-Test #deleteconfirm,
body.page-Main_Page #deleteconfirm {
	display: none !important;
}

body.page-Test #t-cite,
body.page-Main_Page #t-cite {
	display: none !important;
}

body.page-Test #lastmod,
body.page-Main_Page #lastmod {
	display: none !important;
}

body.page-Test #siteSub,
body.page-Main_Page #siteSub {
	display: none !important;
}

body.page-Test #contentSub,
body.page-Main_Page #contentSub {
	display: none !important;
}

body.page-Test #catlinks,
body.page-Main_Page #catlinks {
	display: none !important;
}

body.page-Test h1.firstHeading,
body.page-Main_Page h1.firstHeading {
	display: none !important;
}

body.page-Test #centralNotice,
body.page-Main_Page #centralNotice {
	display: none !important;
}

body.page-Test #ca-history,
body.page-Main_Page #ca-history {
	display: none;
}

body.page-Test #pagehistory,
body.page-Main_Page #pagehistory {
	display: none;
}

.mw-wiki-logo {
	margin: auto;
	max-width: 90%;
	-webkit-background-size: contain;
	background-size: contain;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

#simpleSearch {
	background: #fff;
	border: 1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	width: 20vw;
	min-width: 5em;
	max-width: 20em;
	padding-right: 1.4em;
	/*height: 1.4em;
	margin-top: 0.65em;
	position: relative;*/
}

#simpleSearch:hover {
	border-color: #aaa;
}

#simpleSearch #searchInput {
    width: 100%;
    padding: 0.2em 0 0.2em 0.5em;
    font-size: 13px;
    direction: ltr;
    -webkit-appearance: textfield;
}
#simpleSearch input {
    background-color: transparent;
    color: #000;
    margin: 0;
    padding: 0;
    border: 0;
}
.first-column-container,
.second-column-container {
	display: block;
}

.first-column-container {
	width: 56%;
	float: left;
}

.second-column-container {
	width: 43%;
	float: right;
}

[dir='rtl'] .first-column-container {
	float: right;
}

[dir='rtl'] .second-column-container {
	float: left;
}

.vline {
	position: relative;
	color: transparent;
	margin: 2px;
}

.vline:before {
	content: '';
	position: absolute;
	border-right: 2px solid #999;
	top: 3px;
	bottom: 1px;
}

@media (max-width: 1200px) {
	#mp-right {
		width: 100% !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}
	#mp-right .mp-bar {
		background: #C6DEFE !important;
	}
	#mp-left {
		width: 100% !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}
	.mp-bar {
		background: #C6DEFE !important;
	}
}

@media screen {
	cite *.printonly {
		display: none;
	}
}

@media handheld {
	cite *.printonly {
		display: none;
	}
}

@media projection {
	cite *.printonly {
		display: none;
	}
}

@media print {
	#privacy {
		display: none;
	}
	#about {
		display: none;
	}
	#disclaimer {
		display: none;
	}
}

@media only screen and (max-width: 800px) {
	.portal-column-left {
		float: inherit;
		width: inherit;
	}
	.portal-column-right {
		float: inherit;
		width: inherit;
	}
	.portal-column-left-wide {
		float: inherit;
		width: inherit;
	}
	.portal-column-right-narrow {
		float: inherit;
		width: inherit;
	}
	.portal-column-left-extra-wide {
		float: inherit;
		width: inherit;
	}
	.portal-column-right-extra-narrow {
		float: inherit;
		width: inherit;
	}
}
/* 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 */

[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;
}*/
/* end added by nazarzadeh */

body.page-ویکیپدیا_صفحه_تمرین #ca-edit,
body.page-ویکیپدیا_آشنایی #ca-edit {
	border: 1px dotted #429EDB;
}

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-صفحهٔ_اصلی h1.firstHeading,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
	display: none !important;
}

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

body.page-ادبیات .mw-body {
	background-color: #f6f6f6;
}

body.page-ادبیات .box-full {
	margin-bottom: 20px;
}

body.page-ادبیات .box-55 {
	margin-bottom: 20px;
	float: right;
	margin-left: 1%;
}

body.page-ادبیات .box-45 {
	margin-bottom: 20px;
	float: left;
	margin-right: 1%;
}

body.page-ادبیات .box-45-pic-mini {
	margin-bottom: 20px;
	float: left;
	margin-right: 1%;
}

body.page-ادبیات .box-45 .image {
	text-align: center;
	display: block;
	margin: 5px 5px 20px;
}

body.page-ادبیات .box-45-pic-mini .image {
	display: inline-block;
	margin: 0px 16px 8px 0px;
	float: left;
}

body.page-ادبیات .box-33 {
	margin-bottom: 20px;
	float: left;
	margin-right: 1%;
}

body.page-ادبیات .box-33-pic-mini {
	margin-bottom: 20px;
	float: left;
	margin-right: 1%;
}

body.page-ادبیات .box-33 .image {
	text-align: center;
	display: block;
	margin: 5px 5px 20px;
}


/*body.page-ادبیات .mp-box.mp-bottom {*/


/*border: 4px solid #7B3F00;*/


/*padding: 0 8px;*/


/*}*/


/*body.page-ادبیات .mp-box.mp-bottom h2 {*/


/*border-bottom: 1px solid #eee;*/


/*}*/

body.page-ادبیات .mp-box.mp-bottom .mp-bottom-column-title {
	margin-bottom: 10px;
	border: 0;
	background: #7B3F00;
	padding: 3px 6px 10px;
	color: #F8EABA;
	font-size: 1.15rem;
}

body.page-ادبیات .mp-box.mp-bottom .mp-bottom-column-title span {
	margin-bottom: 10px;
	border: 0;
	background: #7B3F00;
	padding: 3px 6px 10px;
	color: #F8EABA;
}

body.page-ادبیات .mp-bottom .mp-bottom-column ul li>span {
	color: #7b3f15;
}


/* این برچسپ بهتر است فقط برای Gadget-taghighlighter.css را فعال کرده اند دیده شوند */

.mw-tag-marker-نیازمند_بازبینی {
	display: none;
}

body.page-ادبیات h1.firstHeading {
	display: none;
}

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

#footer-poweredbyico img, #footer-icons li {
	float: right;
}
.zetitoon {
	margin-right: 10px;
}
/* الگوی منزلگاه ها */
.mp-milestones table td {
	border-top: 1px solid #a2a9b1;
}
.mp-milestones table td ul {
	margin: 0.3em .6em 0 0;
}