/*
Theme Name: eight
Author: the alirezab
Requires at least: 1.1
Tested up to: 1.1
Requires PHP: 7.2
Version: 1.0
*/


@font-face {
    font-family: 'dana';
    src: url('fonts/dana/dana.eot');
    src: url('fonts/dana/dana.eot?#iefix') format('embedded-opentype'),
    url('fonts/dana/dana.woff') format('woff'),
    url('fonts/dana/dana.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

a, h1, h2, h3, h4, h5, h6, span, ul {
    padding: 0;
    text-decoration: none;
    margin: 0;
    list-style: none;
}

video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 3px;
}

table {
    width: 100% !important;
    height: auto;
}

blockquote {
    border-right: 3px solid #ccc5b9;
    padding-right: 10px;
}

a {
    color: #222222;
 transition: all 0.3s ease-out;
}

a:hover {
    color: #e7517d;
}


* {
    box-sizing: border-box;
}

body {
    background-color: #f5f6f8;
    font-family: dana;
    font-size: 16px;
    font-weight: normal;
    color: #3d3d3d;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
    direction: rtl;
    line-height: 1.7em;
}

#header {
    background-color: #fff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.07);
    text-align: center;
    background-image: url(image/header-2.png);
	 background-size: contain;
    background-position: center;
}

.site-title {
    padding: 20px 0;
    font-weight: bold;
}

.site-desctiption {
    padding: 13px 0;
    font-weight: normal;
    font-size: inherit;
}

.menu {
    border-top: 1px solid #ebebeb;
    background: #fff;}

.menu ul li {
    list-style: none;
    padding: 10px 10px 4px;
    display: inline-block;
    margin-left: 8px;
}
h1.site-title {
    padding: 43px 15px;
    line-height: 1.5;
font-size: 20px;
}
#wrap {
    padding: 5px;
    margin: 30px auto;
    width: 100%;
    max-width: 1010px;

}

#main {
    float: right;
    width: 66.66666667%;
    box-sizing: border-box;
    padding: 0 6px;
}

#main-2 {
    width: 100%;
}

.post {
    width: 100%;
    background-color: #fff;
    padding: 15px;
    margin: 0 0 20px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.07)
}

.post a {
    color: #001575;
}

.post a:hover {
    color: #e7517d;
}

.post > .title > a > h3 {
    padding: 8px 0 12px;
    font-size: 23px;
    color: #000;
}

.post > .title > a > h3:hover {
    color: #e7517d;
}

.post > .meta {
    font-size: 13px;
    padding-bottom: 10px;
}

.post > .content {
    padding-top: 5px;
    text-align: justify;
    line-height: 2em;
}

.post > .content img {
    padding: 5px 0;
    max-width: 100%;
    height: auto;
}

.post > .content img:hover {
    opacity: .9;
}

.post .tag {
    margin: 25px 0 2px;
    padding: 10px 0 0;
    display: flow-root;
}


a h4 {
    display: inline-block;
    font-weight: normal;
}

a.read-more {
    background-color: #e7517d;
    color: #fff;
    padding: 4px 20px;
    border-radius: 2px;
}

a.read-more:hover {
    background-color: #222222;
    color: #fff;
}

.pagin {
    text-align: center;
    margin: 20px 0;
}

.pagin a {
    background: #e7517d;
    border: 2px solid #fff;
    color: #fff;
    padding: 4px 26px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 10px 0;
}

.pagin a:hover {
    background: #222222;
}

#side {
    float: left;
    width: 33.33333333%;
    padding: 0 6px
}

.side-block {
    background-color: #fff;
    padding: 12px;
    margin: 0 0 20px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.07);
}

.side-block > .title {
    position: relative;
    width: 100%;
    padding: 0 0 10px;
    margin: 0 0 15px;
    border-bottom: 1px solid #ebebeb
}


.side-block li a::before {
    content: "";
    background: #ff697a;
    box-shadow: 0 0 0 3px #FFEBEE;
    width: 4px;
    height: 4px;
    display: inline-block;
    margin-left: 10px;
    border-radius: 1px;
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -ms-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.side-block li a:hover:before {
	box-shadow: 0 0 0 6px #e7517d;
	background-color: #fff
}

.side-block > .title:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 33%;
    height: 1px;
    background-color: #e7517d;
    margin: 0
}

.side-block > .title > h5 {
    display: block;
    font-size: 18px;
    color: #222222;
    font-weight: normal;
    margin: 0;
}

.side-block > .content {
    font-size: 13px;
}

.avatar {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 5px auto;
}

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

.list li:first-child {
    padding: 0 0 4px;
    border-top: 0;
}

.list li:last-child {
    padding-bottom: 0;
    border-bottom: 0
}

.list li {
    position: relative;
    display: block;
    padding: 4px 0;
    border-top: 1px dashed #ebebeb
}

.list li a {
    display: block;
    color: #222222;
    font-size: 14px;
    text-transform: capitalize;
    transition: color .17s;
}


.list li a:hover {
    color: #e7517d;
}

.cloud li {
    display: inline-block;
    margin: 0 5px 5px 0;
}

.cloud li a {
    display: block;
    height: 24px;
    background-color: #f9f9f9;
    color: #888;
    font-size: 13px;
    line-height: 21px;
    padding: 0 7px;
    border: 1px solid rgba(155, 155, 155, 0.2);
    border-radius: 2px;
    transition: all .17s ease;
}

.cloud li a:hover {
    background-color: #e7517d;
    color: #fff
}

.text-center {
    text-align: center;
}

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

#footer {
    clear: both;
    background-color: #fff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.07);
    padding: 15px;
}
.left{float:left;}
.right{float:right;}
.center{text-align:center;}
.aligncenter {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    display: block;
}
.alignright{
    text-align: right;
    margin-right: auto;
    margin-left: auto;
    display: block;
}
.table{    display: block;
    max-width: -moz-fit-content;
    max-width: fit-content;
    overflow-x: auto;}
table{    border-spacing: 0px;border: 1px solid #eeeeee;text-align: initial;}
th, td{border: 1px solid #ddd;;padding: 8px;}
tr:nth-child(even){ background-color: #f2f2f2;}

.post .title {
    padding: 5 px;

}


.content h2 {
    color: #4527A0;
    font-size: 25px;
    font-weight: 700;
    line-height: 38px;
    word-spacing: -2px;
}
.content h2:before {
    content: "|";
    color: #9FA8DA;
    font-size: 30px;
    margin-left: 2px;
}

@media only screen and (max-width: 732px) {
    #main, #side {
        width: 100%;
    }
}


@media (min-width: 1200px){
#wrap {
    max-width: 1140px;
	}}

div#ez-toc-container {
    box-shadow: 0 0 16px 0px #d0d0d078;
    padding: 2px 18px 17px;
    border-radius: 10px;
    margin: 20px 5px;
}

.ez-toc-list a.ez-toc-link {
    color: #303f9f;
}#ez-toc-container a:visited {
    color: #9f9f9f;
}
#ez-toc-container a::before {
    content: "";
    background: #5c6bc0;
    box-shadow: #f4f6ff 0px 0px 0px 3px;
    width: 4px;
    height: 4px;
    display: inline-block;
    margin-left: 10px;
    transition: all 0.2s ease-in-out 0s;
}
#ez-toc-container a:hover::before {
    box-shadow: #5c6bc0 0px 0px 0px 6px;
    background-color: #f4f6ff;
}


.dlboxwrappe {width: 80%;text-align: center;margin: 0 auto;}.dlbox a {padding: 6px;text-align: center;/* float: right; */width: 100%;border-radius: 10px;background: #000;color: #fff;box-shadow: 0px 3px 4.85px 0.15px rgba(0, 0, 0, 0.16);position: relative;overflow: hidden;display: inline-block;}.dlbox a.red {background: #f5572e}.dlbox a.orange {background: #0cbab4}.dlbox a:nth-child(odd) {background: #009688;}.dlbox a:nth-child(even) {background: #4DB6AC;}.dlbox a.blue {background: #2CA5E0}.btelegram {display: block;float: right;width: 97%;margin: 10px 0;border-radius: 2px;color: #fff;font: 14px IRANSansdn,tahoma;padding: 8px 30px;box-shadow: 0 2px 4px rgba(0,0,0,.2);background: #2EA5E7;position: relative;overflow: hidden;text-align: center}.btelegram:hover {color: #fff}
.dlbox span {
    margin-top: 5px;
    display: block;
}
table{border-collapse: collapse;border-spacing: 0;width: 100%;border: 1px solid #eee;} th, td{border: none;padding: 8px;}tr:nth-child(even){ background-color: #f2f2f2;}
.comment-count-box {
	text-align: center;
	background: #fff;
	border-radius: 15px;
	font-family: IRANSans;
	padding: 15px;
	border: 1px solid #e5e5e5;
}
.comment-count-box a{
	color: #000;
	font-size: 20px;
	line-height: 1.1}
.cm-main {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 15px;
	margin: 15px 0px;
	padding: 5px}
.cm-body {
	padding-bottom: 1px}
.cm-details {
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 5px}
.cm-avatar {
	float: right}
.cm-av {
	width: 40px;
	border-radius: 50%}
.comment-details {
	overflow: hidden;
	padding-top: 2px;
	margin-right: 46px}
.cm-name {
	margin-right: 5px;
	color: #636363}
.cm-name a{
	color: #a3a3a3}
.cm-name a:hover{
	color: #858585}
.comment-matn {
	padding: 10px;
	line-height: 1.7;
	overflow: hidden;
	color: #000}
.comment-link {
	width: 15px;
	height: 15px}
.cm-reply-main {
	overflow: hidden;
	padding: 0px 5px 1px 5px}
.comment-reply {
	margin-right: 45px;
	margin-left: auto;
	padding: 8px;
	line-height: 1.7em;
	color: #EE5164;
	border-radius: 15px;
	background: #fafafa;
	border: 1px solid #f0f0f0}
.comment-reply-page {
	padding: 8px;
	line-height: 1.7em;
	border-radius: 15px;
	background: #fafafa;
	color: #EE5164;
	border-radius: 6px}
.reply-av {
	width: 40px;
	float: right;
	border-radius: 50%}
.comment-add-form {
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 15px;
	color: #000}
.comment-add-form label{
	font-weight: normal}
.bComForm .sendbutton.hasCheckbox:hover {
	background: #e0e0e0;
	transition-duration: .3s}
input[type=button], input[type=text], input[type=password], input[type=submit], button, textarea, select, .inputBox, input.text, a.btn, a.btn:hover, a.btn:visited {
	background-color: #fafafa;
	border: 1px solid #e5e5e5;
	color: #454545;
	border-radius: 2px}
form#commentform textarea {
    background: #f0f0f0;
    color: #222;
    font-family: IRANsans;
    border: none;
    padding: 8px;
    border-radius: 6px;
    width: 100%;
    outline: none;
    height: 150px;
}form#commentform input {
    margin: 0px 0px;
    padding: 2px 5px;
    width: 39%;
    height: 30px;
    background: #f0f0f0;
    color: #222;
    font-family: IRANsans;
    border: none;
    border-radius: 6px;
    outline: none;
	font-size: 10px;
}
form#commentform textarea  {
    background: #f0f0f0;
    color: #222;
    font-family: IRANsans;
    border: none;
    padding: 8px;
    border-radius: 6px;
    width: 100%;
    outline: none;
	 height: 150px;
}
form#commentform input#submit{
    color: #ffffff;
    font-family: tahoma;
    background-color: #e7517d;
    border-radius: 6px;float: left;
}
input[type="submit"]{width:11.6%;padding:6px 0px;margin:0px;background:#0288D1;color:#FFF;text-align:center;border:0px solid;cursor:pointer;border-radius:0px;font-size:13px!important;}
input[type="submit"]:hover{background:#555;}
wp-pagenavi{clear:both;padding:15px}
.bypostauthor > .comment-body div .fn::after {
    content: "مدیر سایت";
    margin-right: 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    background: #5b86e5;
    padding: 0 5px;
    border-radius: 5px;
    font-size: 12px;
    font-style: initial;
}
div#comments-wrap {
    background: #fff;
    padding: 0 10px;
    border-radius: 15px;
}
