.btn-primary{
    background-color: #6f3527;
}

.bg-primary{
    background-color: #6f3527;

}
.bg-primary:hover {
    background-color: #bc8b30; /* Slightly darker on hover */
}
.btn-primary:hover {
    background-color: #bc8b30; /* Slightly darker on hover */
}
.primary-color{
    color: #6f3527;
}
.secondary-color{
    color: #bc8b30;
}
.third-color{
    color: #b29380;
}
.carousel {
    width: 100%; 
}
.carousel-item img, .carousel-item video {
    width: 100%; /* Ensure full width immediately */
    height: 400px; /* Fixed height */
    object-fit: cover; /* Cover the designated area properly */
    transition: none; /* Remove transitions to prevent growing effect */
}

.carousel-item {
    display: none; /* Hide all carousel items initially */
    transition: visibility 0s, opacity 0.5s linear; /* Smooth transition for opacity */
}

.carousel-item.active {
    display: block; /* Only active item is displayed */
}




.card {
    overflow: hidden; /* Adds clipping to the boundary of the card */
}


.card {
    border-radius: 10px;
}

.card-body {
    position: relative;
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem; /* Larger font for job titles */
}

.card-text {
    margin-bottom: 0.5rem;
}

.card-footer {
    text-align: right;
}

.btn-primary {
    width: 100%; /* Full width buttons */
}


#map {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .search-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 1rem;
    margin-bottom: 1rem;
  }


  .card-header, .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body a {
    text-decoration: none;
}

.btn-link {
    color: #007bff; /* Bootstrap primary color */
    font-weight: bold;
}

.card-footer img {
    border-radius: 50%; /* Makes the image rounded */
}


/* custom.css */
.card-header {
    background-color: #f5f5f5;
    font-weight: bold;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.tab-content {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
}


.scholarship-header {
    background-color: #003366; /* Dark blue background */
}

.details-box {
    background-color: #ffffff; /* White background for the details box */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Padding inside the box */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: adds shadow for better visibility */
}




/* .news-container {
    background-image: url('/static/assets/img/church3.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0; /* Adds padding to the top and bottom 
} */

/* Remove borders and adjust title background */
.border-translucent {
    border: none;
}



.current-news h3 {
    color: orange;
    text-align: center;
    width: 100%;
    padding: 10px 0;
}

/* Darken the image background slightly */
.news-container {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/assets/img/church3.jpg');
    background-size: cover;
    background-position: center;
}

/* Styling for the large card containing past news */
.large-card {
    width: 80%;
    margin: auto; /* Center the large card */
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.large-card h3 {
    background-color: transparent;
    color: #333; /* Change the title to a dark color for visibility */
    text-align: center;
    width: 100%;
    margin-bottom: 20px; /* Space between title and cards */
}

.news-item {
    margin-bottom: 15px; /* Adds space below each news item */
}

/* General styles for all news items */
.news-item {
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    box-shadow: 0 rgba(0,0,0,0.2); /* Highlight on hover */
}

/* Specific styles for current news */
.current-news .card {
    background-color: white;
    display: flex;
    align-items: center;
    border: none;
}

.current-news .img-container {
    width: 40%;
    height: 200px; /* Ensure consistent height */
    overflow: hidden;
}

.current-news .media-video,
.current-news .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-news .card-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Specific styles for past news */
.past-news .card {
    background-color: white;
    margin: 0;
    border: none;
    height: 100%;
}

.past-news .img-container {
    width: 100%; /* Full width for smaller cards */
    height: 150px; /* Smaller height for compact appearance */
    overflow: hidden;
}

.past-news .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.past-news .card-body {
    padding: 15px;
}

.past-news .card:hover {
    transform: scale(1.05); /* Slight enlargement on hover */
}




.filter-btn {
    color: black; /* Text color */
    background-color: white; /* Background color */
    border-color: black; /* Border color */
    border-radius: 15px; /* Rounded borders */
}

.filter-btn:hover {
    color: white;
    background-color: black;
    border-color: black;
}

/* Custom styling for the search input for better alignment and appearance */
input[type="text"].form-control {
    border-radius: 15px; /* Matched rounded corners */
}


.skill-badge {
    background-color: rgba(0, 0, 0, 0.1); /* Light transparent black */
    border-radius: 20px; /* Rounded corners */
    color: #343a40; /* Dark text for contrast, adjust as needed */
}

.job-type-badge {
    background-color: rgba(218, 133, 13, 0.2); /* Light transparent black */
    border-radius: 20px; /* Rounded corners */
    color: #000000; /* Dark text for contrast, adjust as needed */
}

.skill-badge:hover {
    background-color: rgba(0, 0, 0, 0.2); /* Slightly darker on hover */
}


.company-logo img {
    border-radius: 50%; /* Circular logos */
}

.card.bg-white {
    background-color: #fff; /* Set the background color to white */
}

.equal-height {
    display: flex;
    flex-direction: column;
    height: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}


.table-responsive {
    display: block; /* You can change it to flex if needed, but block is typically better for responsive tables */
    width: 100%;
    overflow-x: auto; /* This will add a horizontal scrollbar when necessary */
    -webkit-overflow-scrolling: touch;
}

.table td {
    white-space: nowrap; /* Ensures that text in <td> does not wrap */
    vertical-align: middle; /* Aligns content in the middle vertically for better readability */
}


#job-cards-row .card {
    display: flex;
    flex-direction: column;
}

#job-cards-row .card .job-detail {
    flex-grow: 1; /* Ensures that the content within the card expands to fill available space */
}





@media (min-width: 576px) {
    #job-cards-row .col {
        flex: 0 0 auto;
        width: 25%; /* Ensures each column takes up exactly 25% of the row on larger screens */
    }
}


.church-media-image {
    max-height: 300px; /* Adjust the maximum height as needed */
    width: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline display */
    margin: 0 auto; /* Center align if necessary */
}


.notification-scroll-container {
    max-height: 400px;
    overflow-y: auto;
  }
  
  .notification-scroll-container::-webkit-scrollbar {
    width: 6px;
  }
  
  .notification-scroll-container::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 4px;
  }
  
  .notification-scroll-container::-webkit-scrollbar-track {
    background-color: #f1f1f1;
  }

  .select2-container--default .select2-search--inline .select2-search__field {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #d1d3e2;
    border-radius: 0.35rem;
    min-height: 38px;
  }

  .select2-container--open {
    z-index: 9999999 !important; /* Higher than Bootstrap modal z-index */
  }
  
  .select2-dropdown {
    z-index: 9999999 !important;
  }

  #swiper-products-thumb .swiper-wrapper {
    flex-direction: column;
  }

  .product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px; /* adjust based on your card height */
  }
  
  

  



/* .container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.form-control-static {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.label {
    font-weight: bold;
}

.card-title {
    margin-bottom: 5px;
}

.card-body {
    padding: 10px;
}

.card {
    margin-bottom: 20px;
} */











