﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    padding-top: 100px; /* Adjust based on navbar height */
    background-color: #f7f8fa;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/*.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}*/
.navbar-top {
    position: fixed;
    height: 50px;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-secondary {
    position: fixed;
    top: 50px; /* Height of the first navbar */
    width: 100%;
    z-index: 1020;
}

.main {
    margin-top: 150px;
}

.bg-blue {
    color: white;
    background-color: #0072BB;
}

.bg-green {
    background-color: #84E296;
}

.bg-white {
    background-color: white;
}

.img-logo {
    height: 50px;
    width: 100px;
}

.img-news {
    height: 200px;
    width: 250px;
}

.circle-div {
    height: 100px;
    width: 100px;
    /*background-color: #bbb;*/
    border-radius: 50%;
    display: inline-block;
}

.homepage-thumbnail {
    height: 225px;
}

.main-font {
    font-family: 'Cairo';
    font-size: 30px;
    font-weight: 400;
}

.footer {
    background-color: #6c757d;
    color: white;
}

.footer-nav-item {
    color: white;
}

.nav.flex-column li a {
    color: white;
    text-decoration: none;
    border-bottom: 1px dashed #ffffff;
    padding-bottom: 2px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .carousel-inner {
        height: 400px;
    }

    .carousel-item, .carousel-item img {
        height: 400px;
        width: 100%;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 767px) {
    .carousel-inner {
        height: 160px;
    }

    .carousel-item, .carousel-item img {
        height: 160px;
        width: 100%
    }
}

.text-white-xsm {
    color: white;
    font-weight: 100;
}

    .text-white-xsm:hover {
        color: white;
        font-weight: 200;
    }

    .text-white-xsm:focus {
        color: white;
        font-weight: 200;
    }

.text-white-xmd {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

    .navbar-nav .nav-link:hover {
        text-decoration: underline; /* Underlines the text on hover */
        text-decoration-color: black;
        text-decoration-thickness: 3px; /* Thickness of the underline */
        text-underline-offset: 10px; /* Space above the underline */
    }
.dropdown-menu-transparent {
    background-color: transparent;
    border: none;
}

.dropdown-toggle-display::after {
    display: none;
}
.quick-donation {
    background-color: #ffc107;
    position: fixed;
    top: 250px;
    left: 5%;
    width: 90px;
    border-radius: 1.5em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}


/* Ensure Slick Carousel container is visible */
.slick-carousel {
    display: block !important;  
}
/* Fix item width */
.slick-slide {
    padding: 0 10px;
}

/* Adjust card width inside carousel */
.slick-carousel .item .card {
    width: 100%;
    margin: 0 auto;
}

/* Hide text in navigation buttons */
/*.slick-prev::before,
.slick-next::before {
    content: '' !important;
}*/

/* Customize button appearance */
/*.slick-prev,
.slick-next {
    background-color: #007bff !important;
    color: white !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    font-size: 20px !important;
    z-index: 1;
}

    .slick-prev:hover,
    .slick-next:hover {
        background-color: #0056b3 !important;
    }*/

/* Position navigation buttons */
/*.slick-prev {
    left: 10px;
    right: auto;
}

.slick-next {
    right: 10px;
    left: auto;
}
*/
/* إخفاء أزرار الزيادة والنقص */
.text-nospinner::-webkit-outer-spin-button,
.text-nospinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.text-nospinner {
    -moz-appearance: textfield;
}
.small-overlay-icon {
    position: absolute;
    top: 10px; 
    width: 40px;
    height: 40px;
}

body[dir="rtl"] .small-overlay-icon {
    right: 30px;
}

body[dir="ltr"] .small-overlay-icon {
    left: 30px;
}
.custom-wrap {
    word-break: break-word;
}
/* تغيير لون التسمية عندما يكون الـ radio مفعّل */
.btn-check:checked + .active-label {
    background-color: #0074d9 !important; /* أزرق - يمكن تغييره لأي لون */
    color: white !important;
    border-color: #007bff !important;
}




