/* Shared foundation for public pages and the user panel. */
@font-face {
    font-family: 'myfont';
    src: url('IRANSansWeb.woff2') format('woff2');
    font-display: swap;
}

html { position: relative; }

body {
    direction: rtl;
    font-family: myfont !important;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0 !important;
}

#lightGallery-action,
#lg-backdrop-1,
#lg-outer-1,
#lightGallery-gallery .thumb_cont { direction: ltr; }

.groupItem { width: 25px; }

hr { border-top: 1px solid gray; }

.hover { transition: opacity .3s ease-in-out; }
.hover:hover {
    opacity: 0.5;
}

h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: myfont !important; }

a { text-decoration: none !important; }

/* Shared components. */
.jobItem { transition: background-color .3s ease-in-out; }
.jobItem:hover {
    background-color: #e9f3ff;
}

.fa-radius {
    background-color: #10ADE0;
    border-radius: 20px;
    color: white;
    font-size: 20px;
    height: 40px;
    margin-left: 6px;
    padding-top: 10px;
    text-align: center;
    width: 40px;
}

.blueBreadcrumb { background-color: #f1f8ff; }

/* Compatibility utilities: class names may be stored in content records. */
.border-sm { border-bottom-width: 2.5px !important; }
.border-lg { border-bottom-width: 4px !important; }

#groupSidebar .fas, #subgroupSidebar .fas { color: #5ac7ea !important; }

.lineheight-sm { line-height: 27px !important; }
.lineheight-lg { line-height: 33px !important; }
.lineheight-xl { line-height: 50px !important; }

#groups { font-size: 0.8rem; }

#groups a { color: #333333 !important; }

.opacity60 { opacity: 0.6 !important; }
.opacity80 { opacity: 0.8 !important; }
.opacity90 { opacity: 0.9 !important; }
.opacity100 { opacity: 1 !important; }
.fontsize14 { font-size: 14px; }
.fontsize15 { font-size: 15px; }
.fontsize16 { font-size: 16px; }
.fontsize17 { font-size: 17px; }
.fontsize18 { font-size: 18px; }
.fontsize19 { font-size: 19px; }
.fontsize20 { font-size: 20px; }
.fontsize21 { font-size: 21px; }
.fontsize22 { font-size: 22px; }
.fontsize23 { font-size: 23px; }
.fontsize24 { font-size: 24px; }
.fontsize25 { font-size: 25px; }
.bg-purple { background-color: purple; }
.text-purple { color: purple; }
.text-blue { color: blue; }
.bg-indigo { background-color: Indigo; }
.text-indigo { color: Indigo; }
.bg-orange { background-color: orange; }
.text-orange { color: orange; }
.bg-teal { background-color: teal; }
.text-teal { color: teal; }
.bg-litegreen,
.bg-green {
    background-color: #64cc7c;
    color: white !important;
}

.text-green { color: green; }
.text-lightinfo { color: #e1f1f9; }
.bg-silver { background-color: #dedede; }
.text-lightdanger { color: #ff5969 !important; }
.badge-litegreen { background-color: #cdf5d6; }
.badge-liteblue { background-color: #a1e6f1; }

/* Legacy responsive utilities; retain until stored HTML is fully audited. */
@media (max-width: 992px) {
    .sm-font { font-size: 13px; }
}

@media (max-width: 1200px) {
    .mb-sm { margin-bottom: 220px; }
}

@media (max-width: 1199.98px) {
    .maxwidth { max-width: 100%; }
}

@media (min-width: 1200px) {
    .maxwidth { max-width: 325px; }
}

@media (prefers-reduced-motion: reduce) {
    .hover, .jobItem { transition: none; }
}
