/********** IRANSans ***********/

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/woff2/IRANSansWeb_Light.woff2') format('woff2');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/woff2/IRANSansWeb.woff2') format('woff2');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('fonts/woff2/IRANSansWeb_Black.woff2') format('woff2');
}


/********** General ***********/

body {
    font-family: 'IRANSans', sans-serif;
    font-weight: 300;
    direction: rtl;
    background-color: #E2E2E2;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
button,
p,
div,
th,
tr {
    font-family: 'IRANSans', sans-serif !important;
}

a {
    font-family: 'IRANSans', sans-serif !important;
}

span {
    font-family: 'IRANSans', sans-serif;
}

h1 {
    font-weight: 700;
}


/********** Layout ***********/

.wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.ltr {
    direction: ltr;
}

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

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

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


/********** Text sizes ***********/

.text-small {
    font-size: .8em;
}

.text-xsmall {
    font-size: .6em;
}

.text-large {
    font-size: 1.2em;
}

.text-xlarge {
    font-size: 1.4em;
}

.text-underline {
    text-decoration: underline;
}


/********** Font weights ***********/

.text-ultralight {
    font-weight: 200;
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

.text-bold {
    font-weight: 700;
}

.text-black {
    font-weight: 900;
}


/********** Other styles ***********/

blockquote {
    font-weight: 500;
    padding: 10px;
    border: 1px dashed #666;
}

.mainbox {
    width: 100%;
    background-color: #EFEFEF;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #FF3;
}

.mainboxnegativ {
    width: 100%;
    background-color: #000;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #FF3;
    color: #F9F9F9;
}

.mainbox2 {
    font-size: 1em;
    width: 90%;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.mainbox3 {
    width: 100%;
    background-color: #b8b8b8;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #bd70ff;
}

.mainbox2negativ {
    font-size: 1em;
    color: #F9F9F9;
    background-color: #000;
    padding-right: 20px;
}

.farsiparagraph {
    font-size: 1em;
    width: 47%;
    float: right;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.englishparagraph {
    font-size: 1em;
    width: 47%;
    float: left;
    direction: ltr;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.rightbox {
    width: 60%;
    padding-right: 20px;
    padding-left: 5px;
    float: right;
    margin-left: 10px;
    margin-bottom: 0;
    min-width: 0;
    background-color: #F7F7F7;
}

.titelbox {
    width: 60%;
    padding-right: 25px;
    padding-left: 0;
    float: right;
    margin-left: 10px;
    margin-bottom: 0;
    min-width: 0;
    background-color: #F2F2F2;
    color: #4B4B4B;
}

.lefttbox {
    padding-right: 20px;
    padding-left: 4px;
    float: right;
    margin-bottom: 10px;
    min-width: 0;
}

.alphabet {
    width: 35%;
    float: left;
    font-size: 21em;
    text-align: center;
    font-weight: 500;
    color: #999;
}

.alphabet2 {
    width: 35%;
    float: left;
    direction: ltr;
    font-size: 1.6em;
    text-align: left;
    font-weight: 500;
    color: #333;
    margin-top: 100px;
}

.footer {
    font-weight: 300;
    font-size: .7em;
    text-align: center;
    direction: ltr;
    margin-bottom: 0;
    padding-bottom: 0;
}


/********** Enfold ***********/

.html_elegant-blog #top .post-entry .minor-meta {
    font-family: 'IRANSans', sans-serif;
}

.comment_author_name {
    font-family: 'IRANSans', sans-serif !important;
}

#top .fullsize .template-blog .post .entry-content-wrapper > * {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}