/*
Theme Name: Moshirin
Version: 2.0

*/
p{
	text-align: justify;
}
#ez-toc-container{
    background: #f3f3f3  !important;
    border: none  !important;
	padding: 10px !important;
}
.ez-toc-title-container{
    cursor: pointer;
    position: relative  !important;
    padding: 7px  !important;
    font-size: 14px  !important;
    display: flex  !important;
    align-items: baseline  !important;
    justify-content: space-between;
    color: #fff  !important;
    background-color: #01286d  !important;
    border-radius: 10px  !important;
}
.ez-toc-title{
	color: #fff !important;
}
.ez-toc-list{
margin-top: 10px  !important;
}
#ez-toc-container ul{
	line-height: 2
}
#ez-toc-container li, #ez-toc-container ul, #ez-toc-container ul li, div.ez-toc-widget-container, div.ez-toc-widget-container li {
    background: 0 0;
    list-style: none;
    line-height: 3;
    margin: 0;
    overflow: hidden;
    z-index: 1;
    padding-right: 5px;
}
.ez-toc-list li:not(:last-child)::before {
    content: '';
    width: 1px;
    height: calc(100% - 20px);
    position: absolute;
    bottom: -2px;
    border-right: 1px dashed #62646a;
    right: 5px;
}

.ez-toc-list li:not(:last-child) {
	padding-bottom: 12px;
}

.dark #ez-toc-container {
    background: #69727d !important;
}

.dark .e-n-accordion-item{
	    background: #69727d !important;
}
.e-n-accordion-item{
	margin-bottom: 15px !important;
    border-radius: 7px;
    background: #f9f9f9;
	border: none !important
}
.e-n-accordion-item-title{
	border: none !important;
    border-bottom: 1px solid #e3e3e3 !important;
}
.kksr-muted{
	font-size:14px !important;
}

.ez-toc-icon-toggle-span{
	width: auto;
    height: 25px;

}

.ez-toc-icon-toggle-span >svg{
	    fill: #fff !important;
  		color: #fff !important;
}
.ez-toc-title-container{
	align-items: center !important
}

.ez-toc-link{
	text-decoration: none;
}
ul.ez-toc-list a:hover {
    color: #efc557 !important;
	text-decoration: none !important;
}
#comments.blog-post-comment .children {
    margin: 8px 0px !important;
}
.comment-meta{
	font-size: 12px;
}
.comment-author-admin >div{
	background: #1f233f14;
}
.search-popup .search-form .submit-btn {
	background-color: var(--e-global-color-primary) !important;
}
.post-body img {
    display: block;
    margin: 0 auto;
}

.post-body table p {
    font-size: 14px !important;
}
.dark .post-body table{
	background: #69727d !important;
}

.post-body table {
    border-radius: 15px;
    margin: 20px auto;
    overflow: hidden;
    background-color: #F6F6F6;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: table;
	direction: ltr;
	overflow-wrap: anywhere;
}
.post-body tbody,  .post-body thead{
	direction: rtl;
	text-align: center;
}



.post-body table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.post-body table tr > td:not(:last-child) {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}


.post-body table tr:first-child {
    background-color: #01286d;
    overflow: hidden;
    color: #fff;
}
.post-body table tr:first-child p, .post-body table tr:first-child p strong {
    color: #fff;
}

.post-body table tr:first-child td {
    font-size: 15px !important;
    color: #fff !important;
    font-weight: bold !important;
    padding: 8px;
}

.post-body table tr:first-child th,
.post-body table tr:first-child {
    border-top: none;
    border-right: none;
}

.post-body table th {
    padding: 18px 10px;
    font-size: 18px;
}

.post-body table td {
    padding: 4px 8px;
    font-size: 14px;
    text-align: center;
}

.post-body table::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}

.post-body table::-webkit-scrollbar-track {
    box-shadow: inset 0 0 3px #fff;
}

.post-body table::-webkit-scrollbar-thumb {
    background: #28A745; /* جایگزین var(--color2) */
    border-radius: 10px;
}

.post-body table::-webkit-scrollbar-thumb:hover {
    background: #218838; /* جایگزین var(--color2) */
}

.promot-related-posts{
	background: #1c23411a;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	overflow: hidden;
}
.promot-related-posts .icon{
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	background: #1c2341;
	font-size: 18px;
	color: #fff;
}


.promot-related-posts a{
	color: #1c2341;
	text-decoration: none;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
}
footer{
	content-visibility: visible !important;
}
iframe{
	height: auto !important;
	aspect-ratio: 16 / 9;
}
@media (max-width: 768px) {
  .post-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


/* links start with self domain */
article a[href^="https://moshirin.com"],
article a[href^="http://moshirin.com"] {
  color: #3ab700 !important;  
  transition: color 0.3s ease;
	display: inline;
}

article a[href^="https://moshirin.com"]:hover,
article a[href^="http://moshirin.com"]:hover {
  color: #226801 !important;
}


/* links dont start with self domain */
article a:not([href^="https://moshirin.com"]):not([href^="http://moshirin.com"]) {
  color: #ff6600 !important;
  transition: color 0.3s ease;
		display: inline;
}

article a:not([href^="https://moshirin.com"]):not([href^="http://moshirin.com"]):hover {
  color: #cc5200 !important;
}
