.text-justify {
    text-align: justify !important;
}

.tns-item .card-title {
    text-align: justify !important;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: block !important;
    }
}

.one-line-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.two-line-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bg-telegram {
    background-color: #2AABEE;
}

.article-tags-wrapper a {
    color: #fff;
    margin: 0 5px;
    font-size: 14px;
    transition: all ease .3s;
}

.article-tags-wrapper a:hover {
    color: #e5e5ef;
}

.parsley-errors-list li {
    color: tomato !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

.form-error {
    color: tomato !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

.dir-ltr {
    direction: ltr;
}

.voice-desc {
    margin: 15px 0 0 0;
    line-height: 26px;
}

.voice-title {
    font-size: 18px;
    margin-bottom: 15px;
}

html[dir=rtl] .sub-category .form-check {
    padding-right: 65px;
    position: relative;
}

html[dir=rtl] .sub-category .form-check:not(:last-child)::before {
    content: "";
    width: 1px;
    height: 26px;
    background-color: var(--bs-card-border-color);
    display: inline-block;
    position: absolute;
    top: -5px;
    right: 25px;
}

html[dir=rtl] .sub-category .form-check:last-child::before {
    content: "";
    width: 1px;
    height: 16px;
    background-color: var(--bs-card-border-color);
    display: inline-block;
    position: absolute;
    top: -5px;
    right: 25px;
}

html[dir=rtl] .sub-category .form-check::after {
    content: "";
    background-color: var(--bs-card-border-color);
    display: inline-block;
    position: absolute;
    width: 10px;
    height: 1px;
    right: 26px;
    top: 10px;
}

html[dir=ltr] .sub-category .form-check {
    padding-left: 65px;
    position: relative;
}

html[dir=ltr] .sub-category .form-check:not(:last-child)::before {
    content: "";
    width: 1px;
    height: 26px;
    background-color: var(--bs-card-border-color);
    display: inline-block;
    position: absolute;
    top: -5px;
    left: 25px;
}

html[dir=ltr] .sub-category .form-check:last-child::before {
    content: "";
    width: 1px;
    height: 16px;
    background-color: var(--bs-card-border-color);
    display: inline-block;
    position: absolute;
    top: -5px;
    left: 25px;
}

html[dir=ltr] .sub-category .form-check::after {
    content: "";
    background-color: var(--bs-card-border-color);
    display: inline-block;
    position: absolute;
    width: 10px;
    height: 1px;
    left: 26px;
    top: 10px;
}

.dropdown-item.active:before {
    display: none !important;
}

.nav-link.active:before {
    display: none !important;
}

input[type=radio] {
    background: rgba(33, 99, 232, 0.2);
    border: 3px solid #FFF;
    box-shadow: 0 0 0 1px rgba(33, 99, 232, 0.6);
}

input[type=radio]:checked {
    border: 3px solid #FFF;
    background: rgba(33, 99, 232, 0.9);
    box-shadow: 0 0 0 1px rgba(33, 99, 232, 0.9);
}

p {
    font-family: 'IranSans' !important;
}
