.fa-content h3,
.fa-content h2,
.fa-content h1,
.fa-contenth h4,
.fa-content p {
    width: 100%;
    font-family: 'vazirmatn' !important;
    color: var(--header-bg) !important;


}

.fa-content h3,
.fa-content h2,
.fa-content h4 ,
.fa-content h5 ,
.fa-content h3 > p,
.fa-content h2  > p,
.fa-content h3  > p,
.fa-content h4  > p,
.fa-content h5  > p,

.fa-content h3 > span,
.fa-content h2  > span,
.fa-content h3  > span,
.fa-content h4  > span,
.fa-content h5  > span,

.fa-content h3 > a,
.fa-content h2  > a,
.fa-content h3  > a,
.fa-content h4  > a,
.fa-content h5  > a,

.fa-content h3 > pre,
.fa-content h2  > pre,
.fa-content h3  > pre,
.fa-content h4  > pre,
.fa-content h5  > pre,

.fa-content h3 > p>span,
.fa-content h2  > p>span,
.fa-content h3  > p>span,
.fa-content h4  > p>span,
.fa-content h5  > p>span,
.fa-content h3 > p>span>strong,
.fa-content h2  > p>span>strong,
.fa-content h3  > p>span>strong,
.fa-content h4  > p>span>strong,
.fa-content h5  > p>span>*,

.fa-content h3 > p>pre,
.fa-content h2  > p>pre,
.fa-content h3  > p>pre,
.fa-content h4  > p>pre,
.fa-content h5  > p>pre,

.fa-content h3 > p>a,
.fa-content h2  > p>a,
.fa-content h3  > p>a,
.fa-content h4  > p>a,
.fa-content h5  > p>a,

.fa-content h3 > span,
.fa-content h2  > span,
.fa-content h3  > span,
.fa-content h4  > span,
.fa-content h5  > span,

.fa-content h3 > strong,
.fa-content h2  > strong,
.fa-content h3  > strong,
.fa-content h4  > strong,
.fa-content h5  > strong,

.fa-content h3 > strong>*,
.fa-content h2  > strong>*,
.fa-content h3  > strong>*,
.fa-content h4  > strong>*,
.fa-content h5  > strong>*,

.fa-content h2  > span>*,
.fa-content h3  > span>*,
.fa-content h4  > span>*,
.fa-content h5  > span>*,

.fa-content h3 > a,
.fa-content h2  > a,
.fa-content h3  > a,
.fa-content h4  > a,
.fa-content h5  > a,

.fa-content h3 > a>*,
.fa-content h2  > a>*,
.fa-content h3  > a>*,
.fa-content h4  > a>*,
.fa-content h5  > a>*,

.fa-content h3 > pre,
.fa-content h2  > pre,
.fa-content h3  > pre,
.fa-content h4  > pre,
.fa-content h5  > pre

.fa-content h3 > pre>*,
.fa-content h2  > pre>*,
.fa-content h3  > pre>*,
.fa-content h4  > pre>*,
.fa-content h5  > pre>*



{
    font-size: 1.1rem !important;
    padding: 16px 8px !important;
}
.fa-content ul , .fa-content ol {
    padding-right: 24px;
    padding-left: 12px;
    direction: rtl;
    text-align: justify;
} 
.fa-content h3,
.fa-content h2,
.fa-content h1,
.fa-content h4,
.fa-content h5,
.fa-content h6,
.fa-content ul  p,
.fa-content ul  span,
.fa-content ul  pre,
.fa-content ul  strong,
.fa-content ul  h1,
.fa-content ul  h2,
.fa-content ul  h3,
.fa-content ul  h4,
.fa-content ul  h5,
.fa-content ul  h6,
.fa-content ol  p,
.fa-content ol  span,
.fa-content ol  pre,
.fa-content ol  strong,
.fa-content ol  h1,
.fa-content ol  h2,
.fa-content ol  h3,
.fa-content ol  h4,
.fa-content ol  h5,
.fa-content ol  h6 {
    direction: rtl;
    text-align: justify;

}

.fa-content p,
.fa-content span,
.fa-content b,
.fa-content strong {
    color: #6c757d;
    text-align: justify;
    font-weight: 500;
    font-size: 1rem;
}

.fa-content a {
    text-align: justify;
    font-weight: 500;
    font-size: 1rem;
}

.fa-content table {
    width: 100%;
    border: 1px solid #575656;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
    background-color: var(--main-color-org);
    color: #ffffff;
}

.fa-content table>thead>tr {
    text-align: center;
    color: var(--main-color-text-hover) !important;
    background-color: black !important;
}

.fa-content table>thead>tr>th {
    color: var(--main-color-text-hover) !important;
}

.fa-content table>thead>tr>th>span {
    color: var(--main-color-text-hover) !important;
}

.fa-content table th {
    text-align: center;
}

.fa-content table td {
    font-weight: 400;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
}

.fa-content table>thead>tr>th,
.fa-content table>thead>tr>th {
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 400;
}

.fa-content table tr:nth-child(odd) {
    background-color: var(--main-color-org);

}

.fa-content table tr:nth-child(even) {
    background-color: var(--header-bg);
}


.table-titr {
    text-align: center;
    font-weight: bold;
    font-family: 'vazirmatn';
    color: var(--header-bg);
}

table.master-prof-table,
table.e_calendar {
    width: 100%;
    border: 1px solid #575656;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
    background-color: var(--main-color-org);
    color: #ffffff;
}

table.master-prof-table>thead,
table.e_calendar>thead {
    text-align: center;
    color: var(--main-color-text-hover);
    background-color: var(--header-bg);
}

table.master-prof-table th,
table.e_calendar th {
    text-align: center;
}

table.master-prof-table td,
table.e_calendar td {
    font-weight: 400;
    padding-top: 8px;
    padding-bottom: 8px;
}

table.master-prof-table>thead>tr>th,
table.e_calendar>thead>tr>th {
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 400;
}


table.e_calendar tr:nth-child(odd) {
    background-color: var(--main-color-org);

}

table.e_calendar tr:nth-child(even) {
    background-color: var(--header-bg);
}

.academic-box{
    border:2px solid #666;
    background:#f8f8f8;
    padding:15px;
    margin-bottom:15px;
    border-radius:8px;
    line-height:2;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: #cc0000;
    width:50%;
    margin-left: auto;
    margin-right: auto;
  
 
}

.warning-box{
    border:2px solid #cc0000;
    background:#fff3f3;
    padding:15px;
    margin-bottom:15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--header-bg);
}

.info-box{
    direction: rtl;
    text-align: justify;
    border-right:5px solid #0057b8;
    background:#f3f8ff;
    padding:15px;
    margin-bottom:15px;
    color: var(--main-color-org);
    font-size: 1.1rem;
    font-weight: 500;
}

.academic-title{
    font-size:1.1rem;
    font-weight:bold;
    margin-bottom:20px;
    border:2px solid #666;
    text-align: center;
    border-radius:8px;
}
.ul-box {
    font-size:1.1rem;
    font-weight:bold;
    margin-bottom:20px;
    border:2px solid #666;
    text-align: justify;
    padding-right: 40px !important;
    border-radius:8px;
    padding-top: 16px;
    padding-bottom: 16px;
    list-style: circle;
   
    background-color: var(--main-color-org);

}
.ul-box li ,.ul-box li > p ,.ul-box li>span  {
    display: block;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    
}
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

.zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
}
@media(max-width:320px) {
    .academic-box{
        font-size: 1rem;
        width:100%
    }
    .warning-box , .ul-box , .info-box ,.academic-title{
        font-size: 0.9rem !important;
        padding-right: 8px !important;
        padding-left: 8px !important;
        text-align: justify;
    }
    .warning-box {
        text-align: center !important;
    }
    .warning-box a, .ul-box a, .info-box a,.academic-title a {
        font-size: 0.9rem !important;
    }
}
@media(min-width:320.02px) and (max-width:768px) {
      .academic-box{
        font-size: 1rem;
        width:100%
    }
    .warning-box , .ul-box , .info-box ,.academic-title{
        font-size: 0.9rem !important;
        padding-right: 8px !important;
        padding-left: 8px !important;
        text-align: justify;
    }
    .warning-box {
        text-align: center !important;
    }
    .warning-box a, .ul-box a, .info-box a,.academic-title a {
        font-size: 0.9rem !important;
    }

}
