/*
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: 'Vazir';
    src: url('fonts/vazir/Vazir.eot');
    src: url('fonts/vazir/Vazir.eot?#iefix') format('embedded-opentype'),
    url('fonts/vazir/Vazir.woff') format('woff'),
    url('fonts/vazir/Vazir.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;
}

a:hover {
    color: #f2132d;
}


* {
    box-sizing: border-box;
}

body {
    background-color: #f5f6f8;
    font-family: Vazir;
    font-size: 14px;
    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;
    padding: 6px;
}

.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;
    /* font-size: 12px; */
}

.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;
}
#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: #ff697a;
}

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

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

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

.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: #f2132d;
    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: #f2132d;
    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 #f2132d;
	background-color: #fff
}

.side-block > .title:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 33%;
    height: 1px;
    background-color: #f2132d;
    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: #f2132d;
}

.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: #f2132d;
    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;
}


