/* 29LT Bukra Variable (Arabic/Latin) */
@font-face {
    font-family: "29LT Bukra Variable";
    src: url("/fonts/29LTBukraVF-08lrdo.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


:root {
    --primary-color: #015F60;
    --text-color: #000;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --card-bg: #ffffff;
}


body {
    /* Good Font */
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; */

    /* Small luxury Font */
    font-family: "Khand", Sans-serif !important;

    /* font-family: "29LT Bukra Variable", sans-serif !important; */

    font-stretch: semi-condensed !important;
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-x: hidden;
    direction: ltr;
}


h1,
.h1,
h2,
.h2,
h3,
.h3,
.navbar-brand,
nav ul {
    font-family: "29LT Bukra Variable", sans-serif !important;
    line-height: 2 !important;
    font-weight: 600 !important;
}

p,
.navbar-nav li,
.ej-question-card li {
    font-family: "29LT Bukra Variable", sans-serif !important;
    line-height: 2 !important;
    font-weight: 400 !important;
}

.ej-question-card ul {
    list-style-type: square !important;
}

ul li::marker {
    color: #015F60 !important;
}


input {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.bg-orange {
    background-color: #FF9530;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23015F60' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.ej-sticky-aside {
    position: sticky;
    top: 100px;
}

.ej-overflow-y {
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    /* max-width: 100vh!important; */
}

.ej-overflow-x {
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    /* max-width: 100vw!important; */
}

button:focus,
.btn:focus,
.form-control:focus,
.page-link:focus,
.nav-link:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}

button,
.btn,
.page-link,
.nav-link {
    -webkit-tap-highlight-color: transparent;
}

/* Remove blue border/flash on active (click) */
button:active,
.btn:active,
.page-link:active,
.nav-link:active {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
    background-color: #019393d6 !important;
}

/* Flat design overrides for Bootstrap */
.btn,
.card,
.form-control,
.badge,
.nav-tabs .nav-link,
.nav-pills .nav-link {
    border-radius: 0 !important;
}

.single-q-title {
    font-size: large !important;
    color: var(--primary-color) !important;
}

h2,
.h2 {
    font-size: x-large !important;
}

h3,
.h3 {
    font-size: large !important;
}

.col h3 a,
.col h2 a {
    color: var(--primary-color) !important;
    /* text-decoration:underline!important; */
}

.ej-small-text {
    font-size: medium !important;
}

.ej-x-small-text {
    font-size: small !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #017a7a;
    border-color: #017a7a;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card,
.card-header {
    border: 1px solid #f5f5f59b;
    background-color: var(--light-gray) !important;
    border-radius: 0 !important;
}

.ej-hero-section {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ej-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/main-background.webp') center center / cover no-repeat;
    filter: blur(0px);
    transform: scale(1);
    z-index: 1;
}

.ej-hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.ej-hero-section .container {
    position: relative;
    z-index: 3;
}

.ej-question-card {
    transition: transform 0.5s;
}

.ej-question-card:hover {
    /* transform: scale(0.98); */
    background-color: #ffffff !important;
}

.ej-question-card p {
    text-align: justify !important;
}

.ej-vote-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ej-vote-count {
    font-weight: bold;
    margin: 5px 0;
    font-size: 16px;
}

.ej-user-badge,
.badge {
    border-radius: 5px !important;
}

.ej-tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f0f0f0;
    margin-left: 5px;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.ej-tag:hover {
    background-color: #e0e0e0;
    text-decoration: none;
}

.ej-sidebar-section {
    margin-bottom: 30px;
}

footer {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
}

.ej-dark-cta {
    background-color: #000;
    color: #fff;
    border: none;
    transition: all 0.2s;
}

/* Remove blue border/flash on active (click) */
.ej-dark-cta:active,
.ej-dark-cta:focus {
    background-color: #000 !important;
    color: #fff !important;
}

.ej-category-card {
    background-color: #000;
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s;
    height: 100%;
}


.ej-category-card:hover {
    color: #fff;
    background-color: #000000e2;
    text-decoration: none;
}

.ej-dark-cta:hover {
    color: #fff;
    background-color: #000000e2;
    text-decoration: none;
}

.ej-category-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.ej-stats-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.ej-stats-label {
    font-size: 0.875rem;
    color: #6c757d;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.ej-user-avatar {
    width: 40px;
    height: 54px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.ej-accepted-answer {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

/* RTL specific adjustments */
.ej-vote-buttons {
    margin-left: 0;
    margin-right: 15px;
}

.ej-user-badge,
.ej-tag {
    margin-left: 0px;
    margin-right: 5px;
    margin-bottom: 5px;
}


.ej-avatar-letter {
    width: 100px !important;
    height: 100px !important;
    font-size: 36px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ej-vote-buttons {
        flex-direction: row;
        margin-bottom: 10px;
    }

    .ej-vote-count {
        margin: 0 10px;
    }

    .ej-hero-section {
        padding: 20px 0;
        height: 450px;
    }

    h2 {
        font-size: large !important;
    }

    h3 {
        font-size: medium !important;
    }

    .ej-small-text {
        font-size: small !important;
    }

    .ej-avatar-letter {
        width: 70px !important;
        height: 70px !important;
    }

}

.category-sc-box {
    width: 172px;
}

/* Responsive adjustments */
@media (max-width: 425px) {
    .category-sc-box {
        width: calc(50vw - var(--bs-gutter-x) * .75) !important;
    }
}

a,
.nav-link,
.page-link,
.nav-link:hover {
    text-decoration: none;
    color: var(--primary-color);
}

footer a {
    text-decoration: none !important;
}

footer a:hover {
    color: #dfdfdf !important;
    text-decoration: underline !important;
}

footer ul {
    list-style-type: square !important;
}

.active>.page-link,
.page-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item,
.page-link {
    border-radius: 0 !important;
}

.ej-answer-count {
    width: 44px;
    text-align: center;
    color: #000;
    font-size: 0.875rem;
}

.ej-answer-count-single {
    width: 100%;
    text-align: left;
    color: #000;
    font-size: 0.875rem;
}

/* Tooltip styles */
.tooltip-inner {
    background-color: #000000;
    opacity: 1 !important;
    border-radius: 0 !important;
    padding: 10px !important;
    font-weight: 700 !important;
    font-size: small !important;
    color: #fff;
}

.navbar-toggler {
    border-radius: 0 !important;
    border: 0 !important;
    font-weight: 700 !important;
    color: #000 !important;
    padding: 0 !important;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* hide navbar-toggler transition boder color */
.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}

.navbar-collapse {
    margin: 8px 0 !important;
}

.ej-slide-slow-short-with-shake {
    border: none;
    cursor: pointer;
    animation: slide-rotate-shake-without-slide 2.5s infinite ease-in-out;
}

@keyframes slide-rotate-shake-without-slide {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }

    55% {
        transform: rotate(5deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    65% {
        transform: rotate(5deg);
    }

    70% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


.ej-scale-up {
    transition: transform 0.5s;
}

.ej-scale-up:hover {
    transform: scale(1.1);
}

.ej-scale-down {
    transition: transform 0.5s;
}

.ej-scale-down:hover {
    transform: scale(0.9);
}


.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* Skip link visible on focus */
.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: #fff;
    color: #000;
    padding: .5rem .75rem;
    z-index: 2000;
    border: 1px solid var(--border-color);
    display: none;
}

.skip-link:focus {
    display: inline-block;
}



.ej-qa-vote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px
}

.ej-qa-vote-single {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75em;
}

.ej-vote-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px
}

.ej-vote-btn:hover {
    color: var(--accent)
}

.ej-vote-count {
    font-weight: 600;
    font-size: 16px
}

.ej-vote-btn:active {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
    background-color: transparent !important;
}


.login-with-google-btn {
    transition: background-color .3s, box-shadow .3s;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    color: #ffffff;
    font-size: small;
    font-weight: 500;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=');
    background-color: rgb(0, 0, 0);
    background-repeat: no-repeat;
    background-position: 12px 11px;
}

.login-with-google-btn:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
    background-color: #000000e2 !important;
}

.login-with-google-btn:focus {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
    background-color: #000000e2 !important;
}

.login-with-google-btn:active {
    background-color: #000000e2 !important;
}


.login-with-google-btn:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    cursor: not-allowed;
}



.ej-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
    padding: 1em;
}

.ej-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.ej-breadcrumb-list li {
    display: flex;
    align-items: center;
}

.ej-breadcrumb-list li a {
    color: #015F60;
    text-decoration: none;
    font-weight: bold;
}

.ej-breadcrumb-list li a:hover {
    text-decoration: underline;
}

.ej-breadcrumb-list li.active {
    color: #888;
    pointer-events: none;
}


.tox-tinymce {
    border-radius: 0 !important;
}


.btn-orange {
    --bs-btn-color: #000;
    --bs-btn-bg: #FF9530;
    --bs-btn-border-color: #FF9530;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: rgb(255, 166, 70);
    --bs-btn-hover-border-color: rgb(255, 160, 60);
    --bs-btn-focus-shadow-rgb: 255, 149, 48;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: rgb(255, 170, 80);
    --bs-btn-active-border-color: rgb(255, 160, 60);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #FF9530;
    --bs-btn-disabled-border-color: #FF9530;
}

.gsc-selected-option {
    width: max-content !important;
}


.btn-disabled {
    cursor: not-allowed !important;
}
