@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

a.login-tojar {
    position: relative;
    margin-bottom: 8px;
    height: 62px;
    max-height: 62px;
}

a.login-tojar:not(.btn-login-provider)::after {
    /* content: "سوبر ماركت .صيدلية . محلات تجزئة"; */
    content: var(--merchant-login-text);
    position: absolute;
    right: 0;
    left: 0;
    font-size: 12px;
    bottom: 4px;
    color: #ffffff;
}

a.login-tojar.btn-login-merchant.bg-danger::after {
    content: "للمنازل و القصور والفلل";
}

a.login-tojar.btn-deals.bg-danger::after {
    content: "تفقد صفقات تجار الجملة من رامكي";
}

.btn-deals {
    margin-right: 10px;
}

a.login-tojar.btn-login-merchant.bg-success:after {
    content: var(--wholesale-login-text);
    /* content: "مستودعات متخصصة ببيع الجملة فقط"; */
}

.btn-login-provider {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto !important;
    width: 300px !important;
}

.d-flex.flex-md-row.flex-column.align-items-center.justify-content-center a.login-tojar:nth-child(3)::after {
    /* content: "للمنازل والقصور والفلل"; */
    content: "";
}


[dir=rtl] body {
    font-family: "Cairo", sans-serif;
}

[dir=ltr] body {
    font-family: "DM Sans", sans-serif;
    line-height: 1.1
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.nav-items li {
    margin-left: 35px;
}

@media only screen and (max-width: 600px) {
    .nav-items li {
        margin-left: 10px;
    }

    a.login-tojar {
        position: relative;
        margin-bottom: 8px;
        height: 56px;
        max-height: 56px;
    }

    .user-types-login a.login-tojar:nth-child(3) {
        height: 65px !important;
        max-height: 65px !important;
    }
}

@media only screen and (min-width: 601px) {
    .logo {
        margin-left: 35px;
    }
}

.nav-items a {
    color: black;
    text-decoration: none;
    font-size: 18px;
}

.nav-items a.active {
    border-bottom: 3px solid #2CBFA6;
}

.logo {
    position: relative;
    width: 51px;
    height: 49px;
}

[dir=rtl] .logo {
    right: 15px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-media li {
    margin-left: 10px;
}

.row.slider-item {
    /* background: #F5F5F5; */
    /* border-radius: 31px; */
}

.row.slider-item h1 {
    margin-top: 10px;
    font-size: 70px;
    font-weight: bold;
}

a.cta {
    margin-bottom: 10px;
}


.row.slider-item h1 span {
    font-size: 60px;
    font-weight: bold;
}

button.carousel-control-next {
    display: none;
}

button.carousel-control-prev {
    display: none;
}

button.carousel-control-next {
    right: 0;
    background: white;
    padding: 0;
    width: auto;
    height: max-content;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    padding-inline: 5px !important;
    padding-block: 5px;
}

button.carousel-control-prev {
    left: 0;
    background: white;
    padding: 0;
    width: auto;
    height: max-content;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    padding-inline: 5px;
    padding-block: 5px;
}

a.cta {
    background: #2CBFA6;
    padding: 8px 30px;
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
    display: inline-block;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.tojar {
    background-color: #2CBFA6;
    background-size: cover;
    background-repeat: no-repeat;
}

.tojar.with-background {
    background-image: url('/imgs/donations.png');
}

#toggle-sidebar {
    display: none !important;
}

@media screen and (max-width: 768px) {
    #toggle-sidebar {
        display: block !important;
    }
}

.login-tojar {
    font-size: 22px;
    background: #F8A115;
    border-radius: 6px;
    padding-left: 20px;
    padding-right: 20px;
    padding-block: 7px;
    margin-top: 10px;
    display: inline-block;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.login-tojar:hover {
    color: white;
}

.list .img-icon {
    width: 80px;
    height: 80px;
}

/* footer {
    background: #303230;
    color: white;
}

footer .logo-white {
    height: 90px;
}

footer p {
    font-size: 20px;
}

footer ul {
    padding: 0;
    margin-bottom: 20px;
    margin-top: 10px;
}

footer a {
    font-size: 20px;
    color: white;
    text-decoration: none;
}

footer a:hover {
    font-size: 20px;
    color: white;
    text-decoration: none;
} */

.text-container {
    padding-right: 70px;
}

.tojar-title {
    font-size: 50px;
}

.features-item-text {
    text-align: center;
    color: #575757;
    font-size: 20px;
}

.sidebar {
    background: white;
    position: fixed;
    inset: 0;
    z-index: 200;
    width: 80%;
    left: 100%;
    transform: translateX(100%);
    transition: all .3s ease-in-out;
}

.sidebar.active {
    transform: translateX(0)
}

.overlay {
    background: rgba(0, 0, 0, 0.336);
    position: fixed;
    inset: 0;
    z-index: 199;
    display: none;
}

.overlay.active {
    display: block;
}


@media screen and (max-width: 700px) {
    strong.features-item-text.mt-1 {
        margin-top: 10px !important;
    }

    #carouselExampleControls>div>div>div>div.col-md-6.ps-0>img {
        height: 208px;
    }

    a.cta {
        margin-bottom: 30px;
    }

    .row.slider-item h1 span {
        font-size: 25px;
        font-weight: bold;
    }

    .row.slider-item h1 {
        font-size: 35px;
        margin-top: 10px;
        font-weight: bold;
    }

    .text-container {
        padding-right: 40px;
    }

    .tojar-title {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .login-tojar {
        font-size: 18px;
    }

    footer p {
        font-size: 16px;
    }

    .features-item-text {
        color: #575757;
        font-size: 18px;
    }

    .social-media {
        position: absolute;
        left: 0;
        top: 26px;
    }

    .nav-items a {
        font-size: 15px;
        font-weight: bold;
    }

    .download-apps {
        width: 150px;
    }

    footer .last-p {
        font-size: 12px !important;
    }

    footer .copy {
        font-size: 12px !important;
    }

    .nav-items a:not(.lang) {
        border: 1px solid #2cbfa6;
        padding: 4px 10px;
        border-radius: 5px;
        border-bottom: 4px solid #2cbfa6;
        font-size: 12px;
    }
}

.text-container {
    text-align: center;
    padding-right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer a {
    font-size: 17px;
    margin-bottom: 10px;
}

footer a:hover {
    font-size: 17px;
}

button#dropdownMenuButton1 {
    background: none;
    padding: 0 !important;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

button#dropdownMenuButton1 img {
    width: auto !important;
    height: 23px;
    object-fit: cover;
    margin-top: 2px !important;
    border-radius: 5px;
}

[dir=rtl] button#dropdownMenuButton1 img {
    height: 30px;
}

button#dropdownMenuButton1::after {
    border: none;
}

button#dropdownMenuButton1:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.lang-img {
    width: 31px;
    height: 21px;
    object-fit: cover;
    border-radius: 6px;
}

ul.slick-dots button {
    border: 1px solid #a5a5a5;
    border-radius: 100%;
}

ul.slick-dots :not(.slick-active) button::before {
    content: ''
}

ul.slick-dots button::before {
    font-size: 10px;
    top: 1px;
}

.borderSlider {
    border-radius: 31px;
}

@media (max-width: 767px) {
    .borderSlider {
        border-radius: 0;
    }
}

.slider-image {
    height: 400px;
}

@media screen and (max-width: 500px) {
    .slider-image {
        height: auto;
    }
}

[dir="rtl"] .sidebar {
    background: white;
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 80%;
    left: 100%;
    transform: translateX(100%);
    transition: all .3s ease-in-out;
}

[dir="ltr"] .sidebar {
    background: white;
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 80%;
    right: 100%;
    transform: translateX(-100%);
    transition: all .3s ease-in-out;
}

.sidebar.active {
    transform: translateX(0)
}

.overlay {
    background: rgba(0, 0, 0, 0.336);
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.overlay.active {
    display: block;
}

.sidebar ul {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar ul li a {
    font-weight: bold;
    color: gray;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 10px;
}

.sidebar ul li svg {
    color: #2cbfa6;
}

/* Change the background color of the checked state */
.form-check-input:checked {
    background-color: #00ac95; /* Replace with your custom color */
    border-color: #00ac95; /* Optional: Match the border color */
}

.user-types-login {
    gap: 10px;
}

@media screen and (min-width: 500px) {
    a.login-tojar {
        width: 280px;
        flex-shrink: 0;
    }

    .btn-login-merchant {
        flex-shrink: 0;
        width: 280px !important;
        flex-basis: 300px;
    }

    .btn-login-provider {
        flex-basis: 300px !important;
    }

    .btn-login-merchant:nth-child(3) {
        flex-basis: 365px;
    }


    a.login-tojar.btn-login-merchant.btn-login-provider {
        width: 260px !important;
        flex-basis: 260px !important;
    }
}

@media screen and (max-width: 500px) {
    .login-tojar {
        width: 260px;
    }
}

a.login-tojar.btn-login-merchant.btn-login-provider {
    width: 300px !important;
    flex-basis: 300px !important;
}

.qita3at a {
    color: black !important;
    text-decoration: none !important;
}

.qita3at a:hover .card-body {
    background: hsl(222deg 0% 97%);
    transition: ease-in-out 200ms;
}

.qita3at .card-body {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge-soon,
.badge-soon-ar {
    position: absolute;
    padding: 3px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    color: white;
}

.badge-soon-ar {
    background: #4CAF50;
    top: -9px;
    left: -4px;
}

.badge-soon {
    background: #FF5722;
    top: 12px;
    left: -4px;
}
