@font-face {
    font-family: "dg";
    /* The name you want to use for the font */
    src: url("../fonts/DG 3asomy Regular.ttf") format("truetype");
    /* Path to the font file */
    font-weight: normal;
    /* Define the font weight */
    font-style: normal;
    /* Define the font style */
}
.country-select {
    width: 100% !important;
}
@font-face {
    font-family: "dg";
    /* The name you want to use for the font */
    src: url("../fonts/DG 3asomy Thin.ttf") format("truetype");
    /* Path to the font file */
    font-weight: lighter;
    /* Define the font weight */
    font-style: normal;
    /* Define the font style */
}

@font-face {
    font-family: "bahij";
    /* The name you want to use for the font */
    src: url("../fonts/Bahij Janna.ttf") format("truetype");
    /* Path to the font file */
    font-weight: normal;
    /* Define the font weight */
    font-style: normal;
    /* Define the font style */
}

.border-green {
    border-color: green !important;
}

.border-red {
    border-color: red !important;
}

/* Applying the font to elements */
body {
    font-family: "dg", sans-serif;
}

/*cart input*/
#cart_item_quantity_field {
    text-align: center;
}

#cart_item_quantity_field::-webkit-outer-spin-button,
#cart_item_quantity_field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*end cart input*/
/*cart alert*/
#alert-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    transition: opacity 0.5s ease-in-out;
}

#alert {
    display: none;
}

/*end cart alert*/

.product_gallery_items {
    opacity: 0.4;
}

.product_gallery_items:hover {
    opacity: 1;
}

.product_view_link {
    text-decoration: none;
}

.font-bahij {
    font-family: "bahij", sans-serif;
}

.font-dg {
    font-family: "dg", sans-serif;
}

.bg-blue-radial {
    background: rgb(134, 190, 223);
    background: -moz-radial-gradient(circle,
            rgba(134, 190, 223, 1) 0%,
            rgba(9, 136, 212, 1) 100%);
    background: -webkit-radial-gradient(circle,
            rgba(134, 190, 223, 1) 0%,
            rgba(9, 136, 212, 1) 100%);
    background: radial-gradient(circle,
            rgba(134, 190, 223, 1) 0%,
            rgba(9, 136, 212, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#86bedf", endColorstr="#0988d4", GradientType=1);
    background-color: #065d90;
}

.bg-blue {
    background-color: #0988d4 !important;
}

.clip-path-bottom {
    clip-path: polygon(50% 0%,
            /* Top center */
            100% 0%,
            /* Top right */
            100% 35%,
            /* Slightly below top right */
            100% 96%,
            /* Bottom right */
            60% 99.5%,
            /* Near bottom right */
            50% 100%,
            /* Bottom center */
            40% 99.5%,
            /* Near bottom left */
            0% 96%,
            /* Bottom left */
            0% 35%,
            /* Slightly below top left */
            0% 0%
            /* Top left */
        );
}

.bg-success {
    background-color: rgb(5 184 75) !important;
    text-shadow: 0 0 2px #0b7147;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: small;
}

.btn-yellow-long {
    background-image: url(../images/buttons/yellow-long.svg);
}

.btn-yellow-short {
    background-image: url(../images/buttons/yellow-short.svg);
}

.btn-yellow-rectangle {
    background-image: url(../images/buttons/yellow-rectangle.svg);
}

.btn-green-long {
    background-image: url(../images/buttons/green-long.svg);
}

.btn-green-short {
    background-image: url(../images/buttons/green-short.svg);
}

.btn-pink-long {
    background-image: url(../images/buttons/pink-long.svg);
}

.btn-pink-short {
    background-image: url(../images/buttons/pink-short.svg);
}

.btn-blue-long {
    background-image: url(../images/buttons/blue-long.svg);
}

.btn-yellow-long,
.btn-green-long,
.btn-pink-long,
.btn-blue-long {
    width: 142px;
    padding-bottom: 17px;
    padding-top: 12px;
}

.btn-yellow-long {
    padding-top: 6px;
}

.btn-yellow-long > span,
.btn-yellow-short > span,
.btn-yellow-rectangle > span {
    text-shadow: 0 0 2px #5c3417;
}

.btn-green-long > span,
.btn-green-short > span {
    text-shadow: 0 0 2px #0c7849;
}

.btn-pink-long > span,
.btn-pink-short > span {
    text-shadow: 0 0 2px #b52171;
    margin-bottom: 2px;
}

.btn-yellow-short,
.btn-green-short,
.btn-pink-short {
    width: 111px;
    padding-bottom: 17px;
    padding-top: 10px;
}

.btn-yellow-rectangle,
.btn-green-rectangle,
.btn-pink-rectangle {
    width: 50px;
    padding-bottom: 17px;
    padding-top: 6px;
}

.btn-lg {
    width: 220px;
    padding-bottom: 30px;
    padding-top: 15px;
    font-size: medium;
}

.btn-white {
    background-color: white !important;
}

.btn-white:hover {
    background-color: rgb(248, 248, 248) !important;
}

.cloud-bottom-right,
.cloud-bottom-left {
    position: absolute;
    top: -75px;
}

.cloud-bottom-right {
    right: 100px;
}

.cloud-bottom-left {
    left: 100px;
}

.cloud-start {
    position: absolute;
    top: 120px;
    right: -50px;
}

.z-index-99 {
    z-index: 99;
}

.z-index--1 {
    z-index: -1;
}

.text-pink {
    color: #DD1378;
}

.text-blue {
    color: #0988d4 !important;
}

.text-lightgray {
    color: #c6c6c6 !important;
}

.text-light-green {
    color: #0fd85f;
}

.text-brown {
    color: #804b28 !important;
}

.text-green {
    color: #0a3c26 !important;
}

.text-body {
    color: #505050 !important;
}

.bg-cover,
.bg-tv,
.store-category,
.card-image,
.start-learn {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.bg-tv {
    position: relative;
    background: url(../images/temp/video-character.png);
    border-radius: 100%;
}

.play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    right: unset;
    bottom: unset;
    width: unset;
    height: unset;
    transform: translate(-50%, -50%);
}

.rounded-shape-top {
    height: 64px;
    border-radius: 100% 100% 0 0;
}

.rounded-shape-bottom {
    height: 64px;
    border-radius: 0 0 100% 100%;
}

.w-85 {
    width: 85% !important;
}

.card-shape {
    overflow: hidden;
    background-color: #0988d4;
    border: 6px solid #2e98d7;
    border-radius: 40px;
    background: rgb(9, 136, 212);
    background: -moz-linear-gradient(360deg,
            rgba(9, 136, 212, 1) 0%,
            rgba(24, 146, 219, 1) 100%);
    background: -webkit-linear-gradient(360deg,
            rgba(9, 136, 212, 1) 0%,
            rgba(24, 146, 219, 1) 100%);
    background: linear-gradient(360deg,
            rgba(9, 136, 212, 1) 0%,
            rgba(24, 146, 219, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0988d4", endColorstr="#1892db", GradientType=1);
}

.w-xs-300 .card-image {
    height: 217px;
}

.start-learn {
    background: url(../images/static/bg-child.jpg);
    box-shadow: inset 0px -300px 1000px #0988d4;
    background-color: #006EAD;
}

.rounded-custom-top,
.start-learn {
    border-radius: 1000% 1000% 0 0 / 150% 150% 0 0;
}

.text-cyan {
    color: #3adef8;
}

.rotate-mirror {
    transform: rotateY(180deg);
}

.bg-transparent-white {
    background-color: rgba(255, 255, 255, 0.2);
}

.form-control-custom {
    font-size: small;
    padding: 8px 16px 10px 16px;
    border-radius: 5% 5% 5% 8% / 50% 50% 50% 50%;
    border: none;
    text-decoration: none;
}

.form-control::placeholder,
.form-control-custom::placeholder {
    color: #505050;
}

.bg-facebook {
    background-color: #1e4fad;
}

.rounded-eye-fish {
    border-radius: 50% / 25% !important;
}

.border-pink {
    border-color: #DD1378 !important;
}

.fav-bg {
    z-index: 2;
    background: rgb(255 255 255 / 80%);
    border-radius: 60% 0% 50% 0%;
    height: 50px;
    width: 50px;
}

.store-category {
    position: relative;
    background: url(../images/static/bg-child.jpg);
}

.border-bottom-curved {
    border-radius: 0% 0% 10% 10% / 0% 0% 30% 30%;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 18px solid #0fd85f;
    border-radius: 4px;
    position: absolute;
    bottom: -50%;
    right: 40%;
}

@media screen and (max-width: 500px) {
    .arrow-down {
        width: 15px;
        height: 15px;
        background-color: #DD1378;
        border: none !important;
        border-radius: 100%;
        bottom: 67%;
        right: 1%;
    } 
}

.width-100px {
    width: 100px;
}

.cart-quantity>.input-group {
    width: 130px;
    display: flex;
    flex-wrap: nowrap;
}

.cart-quantity>.input-group>* {
    height: 28px;
}

.wizard-cart-step::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-right: 34px solid #0988d4;
    position: absolute;
    top: 0px;
    left: -33px;
}

.bg-light .wizard-cart-step::after {
    border-right-color: #f8f9fa;
}

.nav-item:has(> .nav-link.active)>,
.nav-link.active {
    background-color: #0988d4 !important;
}

.close-sm-padding {
    padding: 0px 8px 2px 8px;
}

.border-blue {
    border-color: #0988d4 !important;
}

.border-light-green {
    border-color: #0fd85f !important;
}

.border-white-25 {
    border-color: rgb(255 255 255 / 25%) !important;
}

.border-right-10 {
    border-right: 10px solid #0988d4 !important;
}

.border-dashed {
    border-style: dashed !important;
}

.width-lg-40 {
    width: 40%;
}

.notifications-content {
    max-height: 248px;
    overflow-y: scroll;
}

.height-fit-content {
    height: fit-content;
}

.accordion-button:focus {
    box-shadow: unset !important;
}

.course-tabs .nav-link.active {
    background-color: #2ca3ea;
    border: 0;
    border-radius: 0;
    padding-top: 7px;
}

.course-tabs .nav-link:hover {
    border: 0;
    background: #0a82c9;
    padding-top: 7px;
}

.next-previous-btns {
    top: calc(50% - 32px);
}

.box-36 {
    height: 36px;
    width: 36px;
}

.justify-self-end {
    justify-self: end;
}

/* Scrollbar */
/* For Chrome, Edge, and Safari */
.custom-scroll-rounded-0::-webkit-scrollbar {
    border-radius: 0px;
}

.custom-scroll::-webkit-scrollbar {
    width: 10px;
    /* Scrollbar width */
    border-radius: 5px;
    /* Apply border-radius to the scrollbar itself */
}

.custom-scroll::-webkit-scrollbar-track {
    background: #d1d1d1;
    /* Track background */
    border-radius: 5px;
}

.custom-scroll-rounded-0::-webkit-scrollbar-track {
    border-radius: 0px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: white;
    /* Scrollbar thumb color */
    border-radius: 5px;
    /* Rounded scrollbar thumb */
    border: 3px solid #d1d1d1;
    /* Padding around thumb with background color */
}

.custom-scroll-rounded-0::-webkit-scrollbar-thumb {
    border-radius: 0px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background-color: white;
    /* Thumb color on hover */
}

.outline-collapse-btn.collapsed > svg {
    transform: rotateX(0deg);
    transition: transform 0.6s;
}

.outline-collapse-btn:not(.collapsed) > svg {
    transform: rotateX(180deg);
    transition: transform 0.6s;
}

@media screen and (min-width: 480px) {
    .dropdown-menu-notificaitions {
        width: 320px;
    }
}

@media screen and (max-width: 520px) {
    .w100-xs {
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .w100-xs {
        width: 100%;
    }

    .width-lg-40 {
        width: 90%;
    }
}

.dir-localy {
    direction: rtl;
}

.posts-content {
    overflow-wrap: anywhere;
}

.posts-content img {
    width: 100%;
    height: auto;
}

/* Override bootstrap */
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    border-color: transparent;
}

.form-check-input:checked {
    background-color: #0988d4;
    border-color: #0988d4;
}

.form-control:focus {
    box-shadow: inset 0 0 3px 2px rgb(6 93 144) !important;
}

.focus-link:focus {
    outline: 1px solid !important;
}

.accordion-button.bg-blue::after,
.accordion-button.bg-blue:not(.collapsed)::after {
    filter: invert(1) brightness(2);
}

.btn:focus-visible {
    outline: revert !important;
}

/* Override Telephone */
.iti {
    width: 100%;
}

.iti--inline-dropdown .iti__country-list,
.iti__search-input {
    font-size: small;
    padding: 5px;
}

.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not( :has(+ input[readonly])) .iti__selected-country-primary:hover,
.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not( :has(+ input[readonly])) .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary {
    border-radius: 100%;
}

.pointer {
    cursor: pointer;
}

.message-center {
    overflow-y: auto;
    overflow-x: hidden;
}

.message-center .sidebar-item.active {
    background-color: #E2EFF7;
}

.message-center .sidebar-item {
    padding: 20px;
}

.message-center .sidebar-item .small,
.message .small {
    font-size: 10px;
    color: #707070;
}

.message-center .avatar,
.message .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 10px;
}

.chat-container {
    height: 70vh;
    min-height: 70vh;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    /* or any desired height */
}

.chat-messages {
    flex-grow: 1;
    overflow-y: scroll;
}

.chat-input {
    padding: 10px;
}

.chat-messages .message {
    padding: 10px;
    margin: 10px;
}

.chat-messages .from {
    background-color: #F2F2F2;
}

.chat-messages .to {
    margin-right: auto;
    background-color: #AAD5EE;
}

.chat-messages .to .message-content, .chat-messages .to .time {
    color: white;
}

.chat-messages .from .message-content {
    color: rgb(77, 77, 77);
}

.chat-messages .from .time {
    color: rgb(165, 165, 165);
}

.message .message-content {
    padding: 20px;
}

.inset-bottom-shadow{
    box-shadow: inset 0px -36px 20px rgb(0 0 0 / 60%);
}

#mdp-readabler-popup-close:before {
    content: "" !important
}

#mdp-readabler-popup-header {
    display: none !important;
}

#mdp-readabler-language-switcher .choices__inner .choices__list.choices__list--single .choices__item.choices__item--selectable {
    border: 2px solid #3e4449;
    border-radius: 7px;
    padding: 6px 3px;
    margin-bottom: 6px;
}

.cart-counter {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 26px !important;
    right: 0px;
    position: absolute !important;
    border-radius: 100% !important;
}

emoji-picker#signLanguagePicker {
    --emoji-size: 2.375rem;
    --category-font-size: 1.3rem;
    --category-font-color: #0988d4;
}

.bg-yellow {
    background-color: #6394E0 !important;
}

.bg-dark-pink {
    background-color: #CB5CFF !important;
}

.bg-purple {
    background-color: #5C38FF !important;
}

.smaller {
    font-size: 0.7rem!important;
}

.text-justify {
    text-align: justify;
}

.carousel-indicators.hero {
    bottom: 50%;
    align-items: end;
    margin-left: 3%;
    margin-right: 3%;
    flex-direction: column;
}

.blank-h-48 {
    height: 48px;
}

.carousel-indicators.hero [data-bs-target] {
    height: 10px;
    width: 10px;
    border-top: unset;
    border-bottom: unset;
    border-radius: 100%;
    margin-bottom: 4px;
}

.carousel-indicators.hero [aria-current="true"] {
    background-color: #F8BC3A;
}

a:hover {
    text-decoration: underline !important;
}

.small, small {
    font-size: 0.88em;
}

.filter-invert {
    filter: invert(1);
}

@media screen and (min-width: 300px) {
    .w-xs-300 {
        width: 300px !important;
    }
}

/* Custom Charts */
.circle-chart-wrapper {
    background: #ffffff;
    height: 100%;
    width: 100%;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    border: 15px solid #dad3f4;
    border-bottom-color: transparent;
    position: relative;
    max-width: 200px;
    max-height: 200px;
    z-index: -2;
}

.circle-chart-wrapper:after {
    content: '';
    width: 124%;
    height: 124%;
    display: block;
    position: absolute;
    top: -21px;
    left: -21px;
    border-radius: 100%;
    background: conic-gradient(from 225deg, #5c37ff 50%, transparent 50%);
    z-index: -2;
}

.circle-chart {
    height: 100%;
    width: 100%;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    background: #5c37ff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 12px solid #ffffff;
}

.circle-chart-courses .circle-chart {
    background: #f9b43a;
}

.course-info-container {
    max-height: calc(100vh - 185px);
    overflow-y: auto;
}