﻿@font-face {
    font-family: 'HonarStandardFont';
    src: url('honar-standard-font.woff') format('woff')
}

@font-face {
    font-family: 'HonarBoldFont';
    src: url('honar-standard-font_Bold.woff') format('woff')
}

body {
    padding: 0px;
    margin: 0px;
    text-align: justify;
    font-family: 'HonarStandardFont';
    font-size: 10pt;
    padding-top: 60px;
}

a {
    text-decoration: none;
}

.sidebar {
    width: 240px;
    height: 100vh;
    position: fixed;
    list-style: none;
    right: 0;
    background-color: #1e2527;
    border-left: 1px solid #ddd;
    padding-top: 15px;
    font-size:11pt;
}

.content {
    padding: 20px;
    margin-top: 10px;
}

.sidebar ul {
    padding-right: 0px;
}
.sidebar ul li a {
    color: white;
    display: block;
    width: 100%;
    border-bottom: 1px solid black;
    border-top: 1px solid rgba(255,255,255,.1);
    line-height: 35px;
}

.sidebar ul li a:hover {
    color: #ffd800;
    border-radius: 6px;
}

.sidebar .nav-link {
    color: #333;
}

    .sidebar .nav-link:hover {
        background-color: #e9ecef;
        border-radius: 6px;
    }
/* اندازه ثابت تصویر پوستر */
.conference-img {
    height: 220px;
    width: 98%;
    object-fit: contain; /* یا cover */
    background: #f8f9fa;
}

/* کارت‌ها هم‌اندازه */
.conference-card {
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeIn 0.4s ease-in;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    .conference-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.countlabel {
    background-color: #f9f3cc;
    border: solid 1px #ddbd7f;
    border-radius: 50%;
    vertical-align: super;
    padding: 2px;
    font-size: 10px;
    color: black;
}
.conference-card {
    overflow: hidden;
}

.conference-ribbon {
    position: absolute;
    top: 18px;
    left: -42px;
    width: 160px;
    padding: 6px 0;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ribbon-active {
    background-color: #dc3545;
}

.ribbon-finished {
    background-color: #adb5bd;
}

