/* Site-wide frontend overrides (moved from the inline <style> in views/frontend/nifty/includes_top.php so browsers can cache it). */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
.hidden {
    display: none;
}
.d-flex.hidden {
    display: none !important;
}
.plyr__control svg {
    display: block;
    fill: currentColor;
    height: 18px;
    pointer-events: none;
    width: 18px;
    margin-bottom: unset;
}
.navbar-promo-icon {
    margin-left: 1rem;
    margin-right: 0;
}
.course-progress-text-90{
  width: 100px;
  height: 15px;
  transform: rotate(-90deg);
  margin-left: -50px;
  margin-right: -50px;
  margin-top: 85px;
}
.h-280-px{
  height: 280px;
}
.h-300px{
  height: 300px;
}
.card-img-top, .card-img-bottom {
    min-height: 1px;
}
.home29-bg02 {
    /*background: url(https://daralharf.com/wp-content/uploads/2020/11/home29-bg03-1024x512-1.jpg) no-repeat center bottom;
    background-attachment: fixed;
    background-size: cover;*/
    background: #172a4a;
    text-align: center;
    position: static;
    color: #fff;
    backface-visibility: hidden;
    position: relative;
}
/*.home29-bg02:before {
    background-color: #000000;
    opacity: 0.7;
    content: ' ';
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
}*/
.home29-bg02 h1, .home29-bg02 h4 {
    color: #f05023;
    z-index: 9;
    position: relative;
}
.home29-percentage {
    color: #029ae6;
}
.home29-percentage .percentage_inner {
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
    font-size: 40px;
    font-weight: bold;
}
.home29-percentage.easyPieChart {
    margin: 25px auto;
}
.dropdown-item {
    white-space: unset;
}
div.card-img-top, div.card-img-bottom {
    max-height: 225px;
    overflow: hidden;
}
.books div.card-img-top, .books div.card-img-bottom {
    max-height: 350px;
    overflow: hidden;
}
[data-toggle="collapse"] {
    cursor: pointer;
}
/*
#categories article.cat-1.slick-slide a {
    background: #f15024 !important;
}
#categories article.cat-8.slick-slide a {
    background: #502ee7 !important;
}
#categories article.cat-11.slick-slide a {
    background: #029ae6 !important;
}
#categories article.cat-17.slick-slide a {
    background: #00c9a7 !important;
}
#categories article.cat-333.slick-slide a {
    background: #ff1e58 !important;
}
#categories article.cat-558.slick-slide a {
    background: #7ac3e6 !important;
}
*/
#categories article.slick-slide h3 {
    font-size: 1.2rem;
    padding: 0 80px 0 0;
    margin-bottom: 0;
}
.btn-sign-up {
    background: #de4437;
}
section.page-header-area.my-course-area ul li {
    margin-right: 25px;
}

/* Chat */
.message-sender-list-box {
    padding-top: 0;
}
.message-sender-list-box .message-sender-list{
 height: auto;
}
.message-sender-list li{
 padding: 0 !important;
 margin-left: 10px;
 margin-bottom: 5px;
}
.message-sender-list li a {
    margin: 0 !important;
    width: 100%;
    text-align: right;
    margin-left: 10px;
}
.message-sender-list-box .message-sender-list li.active, .message-sender-list-box .message-sender-list li:hover {
    border-color: transparent;
    background-color: inherit;
}
.conversation-list{
    padding: 0 20px;
}
.conversation-list li {
    margin-bottom: 20px;
}
.conversation-list .chat-avatar {
    float: left;
    text-align: center;
    width: 42px;
}
.conversation-list .conversation-text {
    float: left;
    margin-right: 12px;
    text-align: left;
    font-size: 12px;
    margin-left: 12px;
    width: 70%;
}
.conversation-list .ctext-wrap {
    background-color: #fef5e4;
    border-radius: 3px;
    display: inline-block;
    padding: 12px;
    position: relative;
}
.conversation-list .ctext-wrap i {
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    position: relative;
}
.conversation-list .ctext-wrap p {
    margin: 0;
    padding-top: 3px;
}
.conversation-list .ctext-wrap:after {
    border-top-color: #fef5e4;
    border-right-color: #fef5e4;
    right: 99%;
    top: 0;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-width: 6px;
    margin-right: -1px;
}
.message_sending_time {
    display: block;
    padding: 5px;
    font-size: 9px;
    color: #a2a0a0;
}
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}
.conversation-list .odd .chat-avatar {
    float: right!important;
}
.conversation-list .odd .chat-avatar {
    float: right!important;
}
.conversation-list .odd .conversation-text {
    float: right!important;
    margin-right: 12px;
    text-align: right;
    width: 70%!important;
}
.conversation-list .odd .ctext-wrap {
    background: #f1f3fa;
}
em .MathJax {
    direction: rtl;
}

body.lessons .nav-tabs{
    margin: 0;
}
body.lessons .course_card{
    padding: 12px;
}
body.lessons .course_card h5{
    width: 100%;
}
body.lessons .course_card .lessons-section{
    color: #535a66; background: none; border: none; white-space: normal;
    padding: 0;
}
body.lessons .course_card .accordion_icon{
    float: left; font-weight: 100;
}
body.lessons .course_card .btn-link:hover ,body.lessons .course_card .btn-link.focus, body.lessons .course_card .btn-link:focus {
    text-decoration: none;
}
body.lessons .card-body .form-group {
    display: inline;
    margin-bottom: 15px;
}
body.lessons .card-body .lesson-title{
    color: #444549;font-size: 14px;font-weight: 400;
}
body.lessons .form-check {
    padding-right: 1.25rem;
}
body.lessons .form-check-input {
    margin-right: -1.25rem;
}
button#blog_search_button {
    border: unset;
    border-radius: 5px 0 0 5px;
    padding: 12px;
}
input#blog_search {
    border-radius: 0 5px 5px 0;
}
.inova, .ai-chat-float {position: fixed; right: 20px; width: 50px; height: 50px; z-index: 9;}
.inova a, .ai-chat-btn {display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer; transition: all 0.3s ease-in-out; box-shadow: 0 4px 10px rgba(0,0,0,0.25);}
.inova { bottom: 20px; }
.inova a.whatsapp { background: #25d366; }
.inova a.whatsapp:hover { transform: scale(1.1); background: #25D38D; }
.inova a i.fa-whatsapp { font-size: 32px; color: #fff; }
.ai-chat-float { bottom: 90px; }
.ai-chat-btn { background: #1e88e5; }
.ai-chat-btn:hover { transform: scale(1.1); background: #1565c0; }
.ai-chat-btn i { font-size: 24px; color: #fff; }
.ai-modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.ai-modal-content { background: #fff; width: 380px; max-width: 95%; height: 70%; position: fixed; right: 20px; bottom: 80px; border-radius: 10px; display: flex; flex-direction: column; }

.ai-modal-content.ai-chat-layout {
    width: 70vw; max-width: 600px; height: 80vh; right: 5%; bottom: 5%; display: flex; flex-direction: column; background: #ffffff; box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}


.ai-modal-header { padding: 12px 15px; background: #1e88e5; color: #fff; display: flex; justify-content: space-between; align-items: center; border-radius: 10px 10px 0 0; background: linear-gradient(135deg, #1e88e5, #1565c0); font-weight: 500; letter-spacing: 0.3px; gap: 12px; }
.ai-modal-header button { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
/* .ai-modal-body { flex: 1; padding: 15px; overflow-y: auto; } */
.ai-chat-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}
.ai-chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ai-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #fafafa;
}

.ai-chat-messages .placeholder {
    color: #999;
    text-align: center;
    margin-top: 40px;
}

.ai-chat-messages .placeholder strong {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
}

.ai-chat-messages .placeholder span {
    font-size: 13px;
    color: #777;
}

.ai-chat-input {
    display: flex;
    border-top: 1px solid #eee;
    padding: 10px;
    gap: 10px;
    background: #ffffff;
}

.ai-chat-input input {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f9f9f9;
}

.ai-chat-input input:focus {
    outline: none;
    border-color: #1e88e5;
    background: #fff;
}

.ai-chat-input button {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    background: #1e88e5;
    color: #fff;
    cursor: pointer;
}

.ai-chat-input button:disabled,
.ai-chat-input input:disabled {
    background: #ddd;
    cursor: not-allowed;
}

.ai-chat-conversations{
    color: #36383b;
    background: #f7f8fa;
    border-left: 1px solid #e0e0e0;
    font-size: 14px;
    font-weight: 100;
}

.ai-chat-conversations .empty, .ai-chat-conversations .loading{text-align: center; padding-top: 2rem;}

.conversation-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #e6e6e6;
    text-align:start;
    transition: background 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.conversation-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}

.conversation-row strong {
font-weight: 500;
color: #222;
line-height: 1.4;
}

.conversation-row .date {
font-size: 12px;
color: #777;
white-space: nowrap;
flex-shrink: 0;
}

.ai-modal-title {
    white-space: nowrap;
    font-weight: 600;
}

.ai-conversation-title {
    max-width: 300px;
    padding: 4px 10px;
    font-size: 0.95rem;
    color: white;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    margin-left:auto;
}

.conversation-item strong {
    display: block;
    font-weight: 500;
    color: #222;
    margin-bottom: 4px;
}
.conversation-item .date {
    font-size: 12px;
    color: #777;
}
.conversation-item:hover {
    background: #eef4ff;
}

.conversation-item.active {
    background: #e3f2fd;
    border-left: 4px solid #1e88e5;
}

.chat-message {
    margin-bottom: 10px;
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.ai {
    justify-content: flex-start;
}

.chat-message .bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.chat-message.user .bubble {
    background: #1e88e5;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-message.ai .bubble {
    background: #f1f1f1;
    color: #333;
    border-bottom-left-radius: 4px;
}
.ai-chat-messages::-webkit-scrollbar,
.ai-chat-conversations::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-thumb,
.ai-chat-conversations::-webkit-scrollbar-thumb {
    background: #cfd8dc;
    border-radius: 4px;
}

.ai-chat-messages::-webkit-scrollbar-track,
.ai-chat-conversations::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-messages,
.ai-chat-input input {
    direction: rtl;
}

.chat-message {
    animation: fadeInUp 0.2s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-typing {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f1f1f1;
    border-radius: 14px;
    font-size: 13px;
    color: #666;
    width: fit-content;
}

.ai-typing span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}


/* الوضع الافتراضي */
.ai-chat-layout.show-chat .ai-chat-main {
    display: flex;
}

.ai-chat-layout.show-chat .ai-chat-conversations {
    display: none;
}

/* وضع قائمة المحادثات */
.ai-chat-layout.show-conversations .ai-chat-main {
    display: none;
}

.ai-chat-layout.show-conversations .ai-chat-conversations {
    display: block;
    width: 100%;
}

/* Switcher */

.ai-view-switcher span {
    padding: 4px 6px;
    border-radius: 6px;
}

.ai-view-switcher span.active {
    background: transparent;
    font-weight: 600;
}

.ai-view-switcher {
    position: relative;
    margin-left: auto;
    margin-right: 20px;
    user-select: none;
    display:flex;
}

.ai-view-switcher .track {
    position: relative;
    display: flex;
    align-items: center;
    width: 64px;
    height: 28px;
    background: #e5e7eb;
    border-radius: 999px;
    padding: 2px;
    box-sizing: border-box;
    cursor: pointer;
    background: linear-gradient(145deg, #e5e7eb, #f3f4f6);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.12);
    transition: background 0.3s ease;
}

.ai-view-switcher .option {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    font-size: 13px;
    line-height: 24px;
    opacity: 0.6;
        color: #555;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.ai-view-switcher .option.active {
        color: #111;
    opacity: 1;
}
.ai-view-switcher .option:not(.active) {
    opacity: 0.6;
}

.ai-view-switcher .thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 30px;
    height: 24px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: transform 0.25s ease;
    transition:transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

/* عند عرض المحادثة */
.ai-view-switcher[data-view="conversations"] .thumb {
    transform: translateX(0);
    box-shadow: 0 4px 10px rgba(30,136,229,0.35);
}

/* عند عرض قائمة المحادثات */
.ai-view-switcher[data-view="chat"] .thumb {
    transform: translateX(32px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.ai-view-switcher:hover .thumb {
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.ai-view-switcher[data-loading="true"] .thumb {
    background: linear-gradient(90deg, #ffffff, #e0e0e0, #ffffff);
    background-size: 200% 100%;
    animation: switcherLoading 2.2s infinite;
}

@keyframes switcherLoading {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.ai-new-chat {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ai-new-chat:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

.chat-message.ai .bubble {
    position: relative;
}

.chat-message.ai.typing .bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 6px;
    width: 6px;
    height: 6px;
    background: #bbb;
    border-radius: 50%;
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% { opacity: .2; }
    50% { opacity: .8; }
    100% { opacity: .2; }
}
.ai-link {
    color: #1e88e5;
    text-decoration: underline;
    font-weight: 500;
}
/* كككككككككككك */

.card-footer.details{
    max-height: 55px;
    text-align: center;
}

section.my-courses-area, section.message-area, section.sptb, section.cart-list-area {
    min-height: 400px;
}
section.purchase-history-list-area{
    min-height: 200px;
}
.login-form, .register-form, .forgot-password-form {
    padding-bottom: 0;
}

#CoursePreviewModal .modal-header, #CoursePreviewModal .course-preview-modal .close{
    padding: 10px 10px 10px 15px;
    color: #000;
}
.fas.fa-check-circle {
    font-family: "Vazirmatn";
    font-size: 14px;
}
.fas.fa-check-circle:before {
    font-family: "Font Awesome 5 Free";
}

.notification-number {
    color: #fff;
    font-size: 12px;
    margin-top: -33px;
    margin-right: 10px;
    border-radius: 100%;
    height: 18px;
    width: 18px;
    line-height: 0;
    text-align: center;
    display: block;
    padding-top: 9px;
    background-color: #377dff;
}
.fa-bell.bellshake{
    animation: bellshake 1s cubic-bezier(.36,.07,.19,.97) both;
    backface-visibility: hidden;
    transform-origin: top right;
    animation-iteration-count: infinite;
}
@keyframes bellshake {
  0% { transform: rotate(0); }
  15% { transform: rotate(10deg); }
  30% { transform: rotate(-10deg); }
  45% { transform: rotate(6deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(3deg); }
  85% { transform: rotate(-3deg); }
  92% { transform: rotate(1deg); }
  100% { transform: rotate(0); }
}

/* New Style */
:root {
  --font-family-sans-serif: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: "Vazirmatn", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
html, body, h1:not(.h3):not(.h4), h2:not(.h3):not(.h4), .font-family-playfair {
  font-family: "Vazirmatn";
  letter-spacing: 0 !important;
}
p {
    line-height: 1.9;
}
.bg-light {
    background-color: #f5f7f7 !important;
}
.bg-light.header-section {
    background-color: #ffffff !important;
}
.navbar-brand, .navbar-brand>img {
    width: 11rem;
}
section:not(.purchase-history-list-area) .bg-img-hero, .slick-list .bg-img-hero {
    background-size: auto 70px;
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) 20px;
    background-color: #172a4a;
}
section:not(.purchase-history-list-area) .bg-img-hero .card-body, .slick-list .bg-img-hero .card-body {
    display: flex;
    align-items: center;
}
.card {
    word-wrap: unset;
}
.slick-center-mode-left{
    margin-left: -100px!important;
}
.slick-center-mode-right {
    margin-right: -100px !important;
}
.home-header {
    background-color: #f5f5f5;
}
.lead {
    text-align: justify;
}
.space-top-1 .bg-primary.rounded{
    background: #172a4a !important;
}
.wishlist-heart {
    background: #fff;
    padding: 5px;
    border-radius: 20px;
}
.btn {
    font-weight: 400;
    padding: 0.35rem 1rem;
    border-radius: 0.5rem;
}
.space-1, .space-top-1 {
    padding-top: 1.5rem!important;
}
.cart-plus {
    font-size: 16px;
}
.btn-outline-primary {
    color: #172a4a;
    border-color: #f05023;
    min-width: 100px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #172a4a;
    font-weight: 900;
}
#sidebarNav.collapse.navbar-vertical{
    display: block;
}
.nav-tabs .nav-item {
    width: 100%;
}
.nav-sm .nav-link {
    font-size: 1rem;
}
#sidebarNav .nav-sm .nav-link {
    font-size: 14px;
}
.text-muted {
    color: #172a4a !important;
}
.text-muted i {
    color: #f05023 !important;
}
span.h5.text-lh-sm{
    color: #f05023;
    font-size: 1.3rem;
    font-weight: 900;
}
.btn-secondery {
    color: #fff;
    background-color: #172a4a;
    border-color: #172a4a;
}
article .btn-secondery {
    min-width: 180px;
}
.btn-details {
    background: #f05023;
    padding: 2px 12px 4px;
    color: #fff;
    border-radius: 15px;
    font-size: .7rem;
    margin-top: 10px;
    display: inline-block;
}
.text-cap {
    letter-spacing: 0;
}
h3.elementor-image-box-title {
    padding: 0 37px;
    text-align: center;
}
p.elementor-image-box-description {
    text-align: justify;
}
.properties{
    background: #f5f7f7;
}
h1.section-title {
    color: #f05023 !important;
    font-size: 3rem;
}
.percentage_inner {
    font-size: 5rem;
    font-weight: 600;
}
.bg-img-hero.gradient-y-overlay-lg-white::before {
    background: unset;
}
.gradient-y-overlay-lg-white.bg-img-hero.space-2 {
    background: #ecefef !important;
}
.text-body i {
    color: #f05023!important
}
#stickyBlockStartPoint .video-player-btn .text-white{
    display: none !important;
}
#stickyBlockStartPoint .video-player-btn {
    position: relative;
    left: 0;
}
#stickyBlockStartPoint .video-player-btn .video-player-icon {
    background: #000;
    color: #fff;
    float: left;
    width: 40px;
    height: 40px;
    margin: 10px;
}
#stickyBlockStartPoint .card-body{
    margin-top: -65px;
}
.pagination li{
    background-color: unset;
}
.pagination li span{
    background-color: #172a4a !important;
}
.pagination li a{
    background-color: #f5f7f7 ;
}
.page-item.disabled .page-link {
    border-radius: 10px;
}
.fa-chevron-right:before {
    content: "\f053";
}
.fa-chevron-left:before {
    content: "\f054";
}
footer.bg-light {
    margin-top: 70px;
}
/* END */

.course_container {
    padding: 30px;
}
.form-check-input {
    margin-right: -1.25rem;
    margin-left: 0;
}

.hover-underline:hover{
    text-decoration: underline;
}
.fw-700{
    font-weight: 700;
}
.py-3px{
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}
.QuestionHead, .QuestionHead div, .QuestionHead p, .nansdivcls:last-of-type {
    text-align: start;
    unicode-bidi: plaintext;
}
#MathJax_MenuFrame {
    display: none !important;
}
.left {left: 0;}
.right {right: 0;}
.centered {background: #f7faff;height: 100%;width: 100%;border-radius: 10px;}
.question-block { padding:10px; border:1px solid #cacaca; border-radius:5px; }
.QuestionHead{color:black; text-align:right; font-size:24px; width:100%; max-width: 100%; overflow: auto;}
.QuestionAnswer{ margin-bottom:5px; padding: 5px; font-size: 18px;}
.nansdivcls{border: 1px solid #cacaca; padding: 5px; border-radius: 10px; }
.ansdivcls { border: 1px solid #00C9A7; padding: 5px; border-radius: 10px; background: #00C9A7; }
.xansdivcls { border: 1px solid #F05023; padding: 5px; border-radius: 10px; background: #F5CAB8; }
.assign_answer{ color: black; font-size: 18px; min-height: 50px; }
.assign_answer p { margin: 0.5rem auto; text-align: center;}
.exam-answer-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.exam-answer-option {
    display: block;
    width: 100%;
    margin: 0;
    cursor: pointer;
    text-align: right !important;
}
.QuestionAnswer > .nansdivcls,
.QuestionAnswer > .ansdivcls,
.QuestionAnswer > .xansdivcls {
    text-align: right;
}
.exam-answer-radio:focus-visible + .exam-answer-option {
    outline: 3px solid rgba(79, 134, 198, 0.45);
    outline-offset: 2px;
}
.explanation-wrapper { width:100%; padding:20px; font-size:24px; max-width: 100%; overflow: auto; }
.answer-label{ position:absolute; top:-5px; right:5px; color:#cacaca; font-weight:bold; background:white; border-radius:50%; border: 2px solid #cacaca; text-align: center; width: 25px; height: 25px; line-height: 22px; }
.answer-label-en{ position:absolute; top:-5px; left:5px; color:#cacaca; font-weight:bold; background:white; border-radius:50%; border: 2px solid #cacaca; text-align: center; width: 25px; height: 25px; }
.questions_icons{
    max-height:270px; overflow-x:hidden; overflow-y:auto;
    scrollbar-width: thin;
    scrollbar-color: #90A4AE transparent;
    min-width: 280px;
}
.questions_icons::-webkit-scrollbar {
    width: 4px;
}
.questions_icons::-webkit-scrollbar-track {
    background: #cacaca;
}
.questions_icons::-webkit-scrollbar-thumb {
    background-color: #90A4AE ;
    border-radius: 6px;
}
.questions_icons .btn{
    font-size: 15px; margin:3px; color:black; font-weight:600; width:38px; height:34px; padding: 0;
}
.question-buttons label{
    float: left;
}
.question-buttons button{
    padding:8px; border-radius:10px; min-width: 32px;
}
.btn-green {
    color: #fff;
    background-color: #00C9A7;
    border-color: #00C9A7;
}
.btn-green:not(label.btn), .btn-green:not(label.btn):not([href]):not(:disabled):not(.disabled), .btn-green:not([href]), .btn-green:not([href]):not([href]):not(:disabled):not(.disabled) {
    background-color: #00C9A7;
    border-color: #00C9A7;
}
.btn-green[href]:hover, .btn-green[href]:focus, .btn-green[href]:active, .btn-green[type]:hover, .btn-green[type]:focus, .btn-green[type]:active {
    box-shadow: 0 4px 11px rgba(0,201,167,.35);
}
.iti__flag.iti__sa {
    background-position: -4339px 50px;
    background-color: green;
    background: url(https://upload.wikimedia.org/wikipedia/commons/7/75/Royal_Standard_of_the_Crown_Prince_of_Kingdom_of_Saudi_Arabia.svg) center;
    background-size: cover;
}


.share-links {
    font-family: "Helvetica Neue", Verdana, Helvetica, Arial, sans-serif;
    direction: ltr;
    display: block;
    opacity: 1;
    text-align: center;
}
.share-links a {
  -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -ms-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -o-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -webkit-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 32px;
    line-height: 32px;
    margin-right: 8px;
    padding: 0 10px;
    position: relative;
    text-align: center;
    margin-top: 10px;
    vertical-align: top;
    white-space: nowrap;
    color: #fff;
    min-width: 100px;
}
.share-links a:hover {
    opacity: .8;
    top: -4px;
}
.share-links .share-facebook {
    background-color: #4267B2;
}
.share-links .share-twitter {
    background-color: #000000;
}
.share-links .share-whatsapp {
    background-color: #25d366;
}
.share-links .share-email {
    background-color: #dd4b39;
}
.share-links .share-print {
    background-color: #7d7d7d;
}
.share-links .share-all {
    background-color: #1DA1F2;
    font-family: "Vazirmatn", sans-serif;
    min-width: 150px;
}

.scroll{
    max-height: 400px;
    overflow: auto;
    overflow-x: hidden;
}
.scroll::-webkit-scrollbar {
    width: 12px;
}
.scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
.old-user-results .col-sm-2{
  width: 10%;
}
.old-user-results .col-sm-10{
  width: 90%;
}
.old-user-results .col-sm-4{
  width: 33%;
}

@media (min-width: 992px){
.navbar-expand-lg .navbar-nav-wrap-content {
    /*-ms-flex-order: 0;
    order: 3;*/
}
.navbar-expand-lg .navbar-nav .nav-link {
    height: 60px;
}
.navbar-expand-lg .navbar-nav {
    justify-content: center;
}
}

@media (max-width: 991.98px){
.navbar-expand-lg .navbar-nav-wrap-brand {
    margin-left: auto;
    margin-right: 0;
}
li.navbar-nav-item.ml-5 {
    margin-right: 0 !important;
}
#navBar .ml-auto {
    margin-right: 0 !important;
}
#navBar .wishlist-number, #navBar .cart-number, #navBar .notification-number {
    margin-top: -20px;
    margin-right: 0px;
}
#navBar .py-6 {
    padding-bottom: 0rem !important;
}
#categories article.slick-slide h3 {
    font-size: 1.2rem;
    padding: 0 80px 0 0;
}
}

@media (max-width: 767px){
.QuestionHead{ font-size:20px; }
.explanation{ font-size:16px; }
.MathJax {    font-size: 16px !important;}
.assign_answer { overflow: auto; display: block;}
.answer-label-en{ bottom:unset; top:-6px; }
.bg-primary.rounded .display-4 {
    font-size: calc(1.475rem + 2.7vw);
}
section.page-header-area.my-course-area ul li {
    margin-right: 13px;
    margin-bottom: 7px !important;
}
.d-sm-inline-block {
    display: inline-block!important;
}
.row.grid.books article {
    max-width: 300px;
    margin: 0 auto;
}
}

@media only screen and (max-width: 466px) {
    .mt--10-sm{
        font-size: 13px !important;
        margin-top: -10px !important;
    }
}
@media only screen and (max-width: 486px) and (min-width: 467px) {
    .mt--10-sm{
        font-size: 13px !important;
    }
}
