@import url(./variables.css);

@font-face {
    font-family: 'Yekan';
    src: url('/assets/fonts/IRANYekanRegularFaNum.ttf') format('truetype');
}
@font-face {
    font-family: 'Yekan-bold';
    src: url('/assets/fonts/IRANYekanBoldFaNum.ttf') format('truetype');
}

/*main section #1*/
.mainContainer {
    max-width: var(--maxw) !important;
    margin-top: 2rem;
    padding: 0 !important;
}
/*remove me*/
.bgred {
    background-color: green !important;
}

/*global*/
body {
    font-family: 'Yekan' !important;
    direction: rtl;
    background-color: var(--bg) !important;
    color: var(--text);
}

a {
    text-decoration: unset !important;
}
p {
    margin-bottom: 0 !important;
}

.txt {
    color: var(--text);
}
.txt1 {
    color: var(--text1);
}
.txt2 {
    color: var(--text-yellow);
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}

.icon1 {
    width: 20px;
    aspect-ratio: 1;
}
.mt1-3 {
    margin-top: 1.3rem;
}
.mb1-3 {
    margin-bottom: 1.3rem;
}
.mt3 {
    margin-top: 3rem !important;
}
.mr5 {
    margin-right: 5px;
}
.mr10 {
    margin-right: 10px;
}
.mr1rem {
    margin-right: 1rem;
}
.mr-auto {
    margin-right: auto;
}
.ml-auto {
    margin-left: auto;
}
.ml5 {
    margin-left: 5px;
}
.justify {
    text-align: justify;
}
.line {
    border: none;
    height: 2px;
    background-color: #fff;
    width: 100%;
}
.numberOfLine1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.numberOfLine2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
}
.numberOfLine3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.maxWContent {
    max-width: fit-content;
}

.badge--green {
    color: var(--text-green);
}
.badge--red {
    color: var(--text-red);
}

.lh26 {
    line-height: 28px;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.column {
    flex-direction: column;
}

.mt1-sm {
    margin-top: 1rem;
}
@media (min-width: 425px) {
    .mainContainer {
        padding-right: calc(1.5rem * .5) !important;
        padding-left: calc(1.5rem * .5) !important;
    }
}
@media (min-width: 540px) {
    .mt1-sm {
        margin-top: 0;
    }
}
