﻿@font-face {
    font-family: 'B Nazanin';
    src: url('../fonts/BNazanin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/BNazanin.woff2') format('woff2'), /* Modern Browsers */
    url('../fonts/BNazanin.woff') format('woff'), /* Modern Browsers */
    url('../fonts/BNazanin.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}

body, h1, h2, h3, h4, h5, h6, p, div, label, input, button, a, span {
    font-family: 'B Nazanin', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    /*background-color: #f8f9fa;*/
}

.card-title {
    font-size: 1.05rem;
    font-weight: bold;
}

.card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.card-footer {
    background-color: #f1f1f1;
}

.accordion-button {
    font-size: 1.1rem;  /*کوچک‌تر کردن متن دکمه */
    padding: 0.5rem 1rem;  /*کاهش فضای داخلی */
}

.accordion-body a {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.accordion-body a:hover {
    color: #dc3545;
}

/*.sidebar {
    min-height: 100vh;
    border-left: 1px solid #ddd;
    width: 280px;*/
    /*position: fixed;
    top: 70px;
    right: 0;
    width: 250px;*/
    /*height: 100%;*/
    /*background-color: #f8f9fa;
    border-left: 1px solid #ddd;
    padding: 15px;
    z-index: 1030;
    overflow-y: auto;*/
/*}*/


 .accordion {
    width: 100%;
}

.sidebar .accordion-item {
    border: none; /* حذف حاشیه اضافی */
}

/*.sidebar .accordion-button::after {
    transform: scale(0.5);*/ /* کوچک کردن فلش‌ها */
/*}*/

/* ریسپانسیو */
@media (max-width: 991.98px) {
    /*.sidebar {
        display: none;
    }*/

    .wrapper {
        flex-direction: column;
    }

    .main-content {
        margin: 0;
        padding: 15px;
    }
}
