:root {
    --black-color: #000000;
    --matteblack-dark-color: #222222;
    --matteblack-color: #282728;
    --white-color: #FFFFFF;
    --theme-color:#f7f6f2;
    --theme-color2: #eee9dd;
    --light-gary-color:#b7b6b4;
    --orange-color: #e12c00;
    --red-color: #e90016;
    --dark-red: #b60000;
}
body{
    font-family: 'Dibaj Medium Contrast';
    font-size: 12pt;
    font-weight: 400;
    line-height: 18pt;
    color: #000;
    direction: rtl; /* Default RTL for Farsi */
    background-color: var(--theme-color2);
}

/* Override direction for English pages */
/* When HTML has dir="ltr", override the default RTL direction on body */
html[dir="ltr"] body {
    direction: ltr;
}
/* 
body {
    font-family: nazanin_web;
    font-size: 18px;
    font-weight: 300;
} */


h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
h1, h1 span{
    font-size: 22pt;
    font-family: 'Dibaj High Contrast';
    font-weight: 600;
    line-height: 30pt;
}
/* Increase H1 font-weight by 100 for English site */
html[dir="ltr"] h1, 
html[dir="ltr"] h1 span,
html[dir="ltr"] .lf-content-box h1,
html[dir="ltr"] .lf-content-box h1 span {
    font-weight: 700 !important;    
}
h1 span.number-span, h2 span.number-span{
font-family: 'Dibaj FaNum High Contrast';
font-weight: 600;
}
html[dir="ltr"] h1 span.number-span, html[dir="ltr"] h2 span.number-span{
font-family: inherit;
}
h2, h2 span{
    font-size: 20pt;
    line-height: 30pt;
    font-family: 'Dibaj High Contrast';
    font-weight: 600;
}
h3, h3 span{
    font-size: 16.85pt;
    font-weight: 600;
    font-family: 'Dibaj Medium Contrast';
}
h4, h4 span {
    font-size: 15pt;
    line-height: 20pt;
    font-weight: 600;
    font-family: 'Dibaj Medium Contrast';
    word-wrap: break-word;
}
/* Increase H4 font-weight by 100 for English site */
html[dir="ltr"] h4, 
html[dir="ltr"] h4 span,
html[dir="ltr"] .lf-content-box h4,
html[dir="ltr"] .lf-content-box h4 span,
html[dir="ltr"] .lf66-section .lf-content-box h4,
html[dir="ltr"] .lf66-section .lf-content-box h4 span,
html[dir="ltr"] .col-lg-9.al-thumb h4,
html[dir="ltr"] .col-lg-9.al-thumb h4 span,
html[dir="ltr"] .lfdark-section .lf-content-box h4,
html[dir="ltr"] .lfdark-section .lf-content-box h4 span,
html[dir="ltr"] .lfgray-section .lf-content-box h4,
html[dir="ltr"] .lfgray-section .lf-content-box h4 span {
    font-weight: 700 !important;    
}
h3 span.number-span, h4 span.number-span{
font-family: 'Dibaj FaNum Medium Contrast';
font-weight: 600;
}
html[dir="ltr"] h3 span.number-span, html[dir="ltr"] h4 span.number-span{
font-family: inherit;
}
h5, h5 span{
    font-size: 14pt;
    line-height: 20pt;
    font-weight: 600;
    font-family: 'Dibaj Low Contrast';
}
h6, h6 span {
    font-size: 11.13pt;
    margin-bottom: 10px;
    font-family: 'Dibaj Low Contrast';
    font-weight: 300;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    color: var(--matteblack-dark-color);
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, h1 a:hover span, h2 a:hover span, h3 a:hover span, h4 a:hover span, h5 a:hover span, h6 a:hover span {
    color: var(--orange-color);
}
b, strong {
    font-weight: 600;
}
p {
    margin: 0 0 10px;
}
p b {
    font-weight: 600;
}
p:last-child {
    margin-bottom: 0;
}
a, a:active {
    color: var(--orange-color);
    text-decoration: none;
}
a:hover {
    color: var(--dark-red);
    text-decoration: none;
}
.body-wrapper {
    padding: 0;
    overflow: hidden;
}
img {
    max-width: 100%;
    height: auto;
}
.btn.btn-orange {
    background-color: var(--orange-color);
    border: 1px solid var(--orange-color);
    color: var(--white-color);
    font-family: 'Dibaj High Contrast';
    font-weight: 500;
    font-size: 14pt;
}
.btn.btn-orange:hover, .btn.btn-orange:focus{
    background-color: transparent;
    color: var(--orange-color);
}
.field.field__item+.btn {
    margin-top: 10px;
}
span.number-span {
    font-family: 'Dibaj FaNum Low Contrast';    
}
html[dir="ltr"] span.number-span {
font-family: inherit;
}
span.latin-text span.number-span {
    font-family: inherit;
}
/*********Form***********/
.form-item {
    margin-bottom: 1rem;
}
.form-item label {
    font-family: 'Dibaj Low Contrast';
    font-size: 12pt;
    font-weight: 400;
    line-height: 18px;
}
.form-item select, .form-item input[type="text"], .form-item input[type="email"], .form-item input[type="search"], .form-item input[type="tel"], .form-item input[type="file"], .form-item textarea,.form-item input[type="date"], input[type="password"]{
    background-color: white;
    border: 1px solid var(--light-gary-color);
    border-radius: 5px;
    height: 40px;
    padding: 5px 15px;
    font-family: 'Dibaj Low Contrast';
    font-size: 12pt;
    font-weight: 400;
    width: 100%;
}
.form-item textarea {
    height: auto;
    max-height: 160px;
}
.form-item select:focus, .form-item input[type="text"]:focus, .form-item input[type="email"]:focus, .form-item input[type="search"]:focus, .form-item input[type="tel"]:focus, .form-item input[type="file"]:focus, .form-item textarea:focus, input[type="password"]:focus{
    outline: none;
    border: 1px solid var(--black-color);
    box-shadow: none;
}
.form-actions input[type="submit"] {
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    color: rgb(255, 255, 255);
    font-size: 12pt;
    line-height: 1;
    background: var(--dark-red);
    border-width: medium;
    border-style: none;
    border-color: initial;
    border-radius: 3px;
    padding: 12px 20px;
    display: inline-block;
    margin: 2px 0px;
}
.form-actions input[type="submit"]:hover {
    background-color: var(--orange-color);
}
[dir="rtl"] .form-select {
    padding-left: 34px;
    background-position: left .75rem center;
}
.form-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-top: -4px;
    margin-right: 4px;
}
[dir="rtl"] .form-item input[type="checkbox"] {
    margin-left: 4px;
    margin-right: 0px;
}
.fieldset-wrapper legend {
    font-size: 12pt;
    font-weight: 500;
}
.error {
    font-size: 10pt;
    margin-top: -30px;
    color: #f00;
}
.success {
    font-size: 10pt;
    margin-top: -30px;
    color: #058f09;
}
div[role="alert"] {
    padding: 5px;
    color: #ff0000;
}