﻿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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.sponsors-container {
    display: flex;
    justify-content: center; /* Center the logos horizontally */
    align-items: center;
    flex-wrap: wrap; /* Wrap to next line if needed (optional) */
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scrollbar-width: none;
    text-align: center;
}

.sponsors-container::-webkit-scrollbar {
    display: none;
}

.sponsors-logo {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /*border: 2px solid #ddd;*/
}

    .sponsors-logo:hover {
        transform: scale(1.1);
        border-color: #aaa;
    }
/* Allow wrapping inside table cells */
.data_table_area table td,
.data_table_area table th {
    white-space: normal !important;
    word-break: break-word;
    vertical-align: top; /* makes multiple-line cells align nicely */
    max-width: 300px; /* optional: prevent overly wide columns */
}

/* Truncate long text with ellipsis */
.data_table_area table td {
    white-space: nowrap; /* force single line */
    overflow: hidden; /* hide overflow */
    text-overflow: ellipsis; /* show "..." */
    max-width: 250px; /* adjust per column */
    vertical-align: top;
}

    /* Show full text on hover */
    .data_table_area table td:hover {
        white-space: normal; /* allow wrapping */
        overflow: visible;
        background: #f9f9f9; /* optional: highlight on hover */
        z-index: 1;
        position: relative;
    }


.card {
    width: 18rem;
    margin: 10px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-item {
    height: 600px; /* Or whatever height you want */
    background-color: #ffffff; /* Optional: background behind image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    width: 100%;
    height: 80%;
    object-fit: contain; /* ✅ Ensures full image is visible */
}

@media (max-width: 768px) {
    .carousel-item {
        height: 250px;
    }
}


<style >
.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.input-wrapper input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #0d6efd;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
}

    .search-btn:hover {
        background: #084298;
    }


.autocomplete-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 9999;
    max-height: 250px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
}

    .autocomplete-items div:hover {
        background-color: #f1f1f1;
    }





