﻿@font-face {
    font-family: 'IRANSansWeb';
    src: url('../../../Fonts/IranSansWeb/IRANSansWeb.woff') format('woff'), url('../../../Fonts/IranSansWeb/IRANSansWeb.ttf') format('truetype');
    font-weight: normal; /* Regular font weight */
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../../../Fonts/IranSansWeb/IRANSansWeb_Bold.woff') format('woff'), url('../../../Fonts/IranSansWeb/IRANSansWeb_Bold.ttf') format('truetype');
    font-weight: bold; /* Bold font weight */
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../../../Fonts/IranSansWeb/IRANSansWeb_Light.woff') format('woff'), url('../../../Fonts/IranSansWeb/IRANSansWeb_Light.ttf') format('truetype');
    font-weight: 300; /* Light font weight */
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../../../Fonts/IranSansWeb/IRANSansWeb_Medium.woff') format('woff'), url('../../../Fonts/IranSansWeb/IRANSansWeb_Medium.ttf') format('truetype');
    font-weight: 500; /* Medium font weight */
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../../../Fonts/IranSansWeb/IRANSansWeb_UltraLight.woff') format('woff'), url('../../../Fonts/IranSansWeb/IRANSansWeb_UltraLight.ttf') format('truetype');
    font-weight: 200; /* UltraLight font weight */
    font-style: normal;
}

* {
    font-family: 'IRANSansWeb', sans-serif;
}

:root {
    direction: rtl;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

body {
    padding-top: 70px;
    text-align: right;
}

.navbar-brand {
    font-family: "IRANSansWeb", sans-serif;
    font-weight: bold;
}

.container {
    max-width: 1200px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANSansWeb', sans-serif;
    font-weight: bold;
    line-height: 1.8;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

p.light {
    font-family: 'IRANSansWeb', sans-serif;
    font-weight: 300;
}

span.ultra-light {
    font-family: 'IRANSansWeb', sans-serif;
    font-weight: 200;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.card-text {
    font-size: 0.85rem;
}

.post-content {
    line-height: 2.0;
    margin-bottom: 10px;
}

    .post-content h1, .post-content h2, .post-content h3 {
        margin-bottom: 20px;
    }


.blog-footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
}

    .blog-footer a {
        color: #007bff;
        text-decoration: none;
    }

        .blog-footer a:hover {
            text-decoration: underline;
        }

.field-validation-error {
    color: red;
}

.collapse.navbar-collapse {
    display: flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.navbar-left {
    margin-right: auto;
    display: flex;
    align-items: center;
}

.navbar-nav {
    padding-right: 0;
    margin: 0;
    flex-direction: row-reverse;
}

.navbar-brand {
    margin-left: 1rem;
}

.navbar-collapse {
    flex-direction: column-reverse;
}

.collapse {
    display: none !important;
}

    .collapse.show {
        display: block !important;
    }

.navbar-brand img {
    margin-left: 10px;
}

.btn-primary {
    background-color: #31aecd !important;
    border-color: #2b98b6 !important;
    color: #ffffff !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #5ec0d8 !important;
        border-color: #56b3c9 !important;
    }

    .btn-primary:active,
    .btn-primary.active {
        background-color: #257f98 !important;
        border-color: #1f6b81 !important;
        box-shadow: none !important;
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 0.2rem rgba(49, 174, 205, 0.5) !important;
    }

.breadcrumb {
    background-color: transparent;
}

/*.breadcrumb-item {
    margin: 0 0.5rem;
}*/

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin-left: 0.5rem;
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

/*.breadcrumb-item a {
        text-decoration: none;
        color: #007bff;
    }

    .breadcrumb-item.active {
        color: #6c757d;
        pointer-events: none;
    }*/

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}