﻿/* =========================================================
   Persian Fonts
   Jihad University Kermanshah CMS
   ========================================================= */


/* ---------------------------------------------------------
   B Mitra
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Mitra';
    src: url('/fonts/BMITRA.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'B Mitra';
    src: url('/fonts/BMITRABD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   B Nazanin
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Nazanin';
    src: url('/fonts/BNAZANIN.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'B Nazanin';
    src: url('/fonts/BNAZNINBD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   B Roya
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Roya';
    src: url('/fonts/BROYA.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'B Roya';
    src: url('/fonts/BROYABD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   B Titr
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Titr';
    src: url('/fonts/BTITR.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'B Titr';
    src: url('/fonts/BTITRBD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   B Yagut
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Yagut';
    src: url('/fonts/BYAGUT.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'B Yagut';
    src: url('/fonts/BYAGUTBD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   B Zar
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Zar';
    src: url('/fonts/BZAR.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'B Zar';
    src: url('/fonts/BZARBD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   B Narm
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Narm';
    src: url('/fonts/BNARM.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   B Farnaz
   --------------------------------------------------------- */

@font-face {
    font-family: 'B Farnaz';
    src: url('/fonts/BFARNAZ.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/* =========================================================
   Quill Font Picker
   ========================================================= */

.ql-snow .ql-picker.ql-font {
    width: 130px;
}

    .ql-snow .ql-picker.ql-font .ql-picker-label::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item::before {
        font-family: Tahoma, Arial, sans-serif;
    }

    /* B Nazanin */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BNazanin"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BNazanin"]::before {
        content: "B Nazanin";
        font-family: 'B Nazanin', Tahoma, sans-serif;
    }

    /* B Mitra */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BMitra"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BMitra"]::before {
        content: "B Mitra";
        font-family: 'B Mitra', Tahoma, sans-serif;
    }

    /* B Zar */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BZar"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BZar"]::before {
        content: "B Zar";
        font-family: 'B Zar', Tahoma, sans-serif;
    }

    /* B Yagut */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BYagut"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BYagut"]::before {
        content: "B Yagut";
        font-family: 'B Yagut', Tahoma, sans-serif;
    }

    /* B Titr */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BTitr"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BTitr"]::before {
        content: "B Titr";
        font-family: 'B Titr', Tahoma, sans-serif;
    }

    /* B Homa */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BHoma"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BHoma"]::before {
        content: "B Homa";
        font-family: 'B Homa', Tahoma, sans-serif;
    }

    /* B Roya */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BRoya"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BRoya"]::before {
        content: "B Roya";
        font-family: 'B Roya', Tahoma, sans-serif;
    }

    /* B Yekan */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BYekan"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BYekan"]::before {
        content: "B Yekan";
        font-family: 'B Yekan', Tahoma, sans-serif;
    }

    /* B Traffic */
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BTraffic"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BTraffic"]::before {
        content: "B Traffic";
        font-family: 'B Traffic', Tahoma, sans-serif;
    }

    /* B Koodak */
    .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="BKoodak"]::before,
    .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="BKoodak"]::before {
        content: "B Koodak";
        font-family: 'B Koodak', Tahoma, sans-serif;
    }


/* اعمال فونت روی متن ویرایشگر */

.ql-editor .ql-font-BNazanin {
    font-family: 'B Nazanin', Tahoma, sans-serif;
}

.ql-editor .ql-font-BMitra {
    font-family: 'B Mitra', Tahoma, sans-serif;
}

.ql-editor .ql-font-BZar {
    font-family: 'B Zar', Tahoma, sans-serif;
}

.ql-editor .ql-font-BYagut {
    font-family: 'B Yagut', Tahoma, sans-serif;
}

.ql-editor .ql-font-BTitr {
    font-family: 'B Titr', Tahoma, sans-serif;
}

.ql-editor .ql-font-BHoma {
    font-family: 'B Homa', Tahoma, sans-serif;
}

.ql-editor .ql-font-BRoya {
    font-family: 'B Roya', Tahoma, sans-serif;
}

.ql-editor .ql-font-BYekan {
    font-family: 'B Yekan', Tahoma, sans-serif;
}

.ql-editor .ql-font-BTraffic {
    font-family: 'B Traffic', Tahoma, sans-serif;
}

.ql-editor .ql-font-BKoodak {
    font-family: 'B Koodak', Tahoma, sans-serif;
}