/* CSS for new exibitor listing functionality*/

.companyName{
color: #0133be;
}

.only-first-letter {
vertical-align: top;
font-size: 0;
display: inline;
margin-right: 12px;
}

.only-first-letter:not(:empty) {
vertical-align: top;
color: rgb(241, 128, 23);
padding: 1px 1px;
display: inline-block;
}

.only-first-letter:not(:empty):first-letter {
vertical-align: top;

font-size: 20px;
color: rgb(0, 0, 0);
background-color: rgb(233, 169, 73); /* Set the background color to enhance visibility */
border-radius: 15%; /* Makes the letter rounded */
padding: 0.5em; /* Adds space inside the rounded letter */
display: inline-block; /* Ensures the border-radius is applied */
}

/* For Advanced Filter */


.filter-container {
background-color: #f4f4f4;
padding: 20px;
border-radius: 8px;
max-width: 560px;
margin: 0 auto;
box-shadow: 0 0 6px 0;
margin-bottom: 30px;
}

.filter-form {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 15px;
}

.filter-form label {
display: flex;
align-items: center;
font-size: 14px;
gap: 5px;
cursor: pointer;
}

.search-bar {
display: flex;
align-items: center;
flex-grow: 1;
max-width: 1000px;
}

.search-bar input {
width: 100%;
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 4px;
}
.category_dropdown{
display: flex;
align-items: center;
flex-grow: 1;
max-width: 800px;
}

.category_dropdown  {
width: 100%;
padding: 8px 12px;
/* border: 1px solid #ccc; */
border-radius: 4px;
}

/* For others */

.loader {
    position: relative;
    width: 48px;
    height: 48px;
    background: #529E34;
    transform: rotateX(65deg) rotate(45deg);
    color: #fff;
    animation: layers1 1s linear infinite alternate;
}

.loader:after {
    content: '';
    position: absolute;
    inset: 0;
    background: #b0cb217d;
    animation: layerTr 1s linear infinite alternate;
}

@keyframes layers1 {
    0% {
        box-shadow: 0px 0px 0 0px
    }

    90%,
    100% {
        box-shadow: 20px 20px 0 -4px
    }
}

@keyframes layerTr {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(-25px, -25px) scale(1)
    }
}

/* Grid View */
.grid-view .filter-item {
    display: inline-block;
    width: 23%;
    /* Adjust the width based on your design */
    margin: 1%;
    display: flex!important;
}

/* List View */
.list-view .filter-item {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

/* Flexbox for centering loader */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Optional: adds background to make loader stand out */
    z-index: 9999;
}

.search-container {
    position: relative;
    width: 300px;
    margin: 20px auto;
    display: flex;
    justify-content: flex-end;
}

.search-input {
    padding: 5px 0;
    font-size: 16px;
    width: 100%;
    border: none;
    border-bottom: 2px solid black;
    outline: none;
    transition: transform 0.5s ease-in-out;
}

.search-input:focus {
    border-bottom: 2px solid #007BFF;
}

.placeholder {
    position: absolute;
    left: -10%;
    top: 5px;
    font-size: 16px;
    color: black;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
    background-color: transparent;
}

body .container-wrap h5.card-title {
    background: none !important;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
}
i#gridView, i#listView
{
    color: #000000!important;
}
.card-body:hover {
color:  #000000!important; 
}

.card-body {
padding-bottom: 10px;
/*min-height: 280px;*/
/*background: linear-gradient(310deg,#b0cb21 0%,#529E34 100%); /* Default background color */
color:  #000000!important;  /* Default text color */
transition: all 0.2s ease, transform 0.2s ease; /* Smooth color and transform transition */
transform: translateY(0); /* Initial position */
}
.card a
{
    cursor: pointer; /* Change cursor to indicate interactivity */    
}
a.exb-read-more {
    background: #1C4586;
    padding: 5px 10px;
    border-radius: 10px;
    margin-top: 5px;
    display: inline-block;
    color: #ffffff !important;
}

.card a:hover .card-title,
.card a:hover .card-text,
.card a:hover .badge {
color: #00A0E4!important; 
/* Ensure all text inside is white */
}

.card a {
    text-decoration: none;
}
/*.logoName {
height: 50px;
}*/

.text-bg-secondary {
    background-color: #705f00 !important;
}

.card {
position: relative;

overflow: hidden; /* Prevent content from overflowing */
}
.fa-copyright {
    position: absolute;
    right: 5%;
    top: 3%;
}

.fa-bars {
    position: relative;
    left: -10%;
    top: 3px;
    cursor: pointer;
    padding: 5px;
}

.fa-th-large {
    position: relative;
    left: 10%;
    top: 3px;
    cursor: pointer;
    padding: 5px;
}

.fa-icons {
    text-align: center;
    border: 1px solid #ffffff;
    width: 100px;
    position: absolute;
    right: 0;
    border-radius: 10px;
}

.description-container {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Adjust this number depending on the font size and lines you want to display */
    -webkit-box-orient: vertical;
    height: auto;
}


#allbutton {
background-color: #0056b3; /* Default blue color */
color: #F4F1E1;
}


#alphabet-buttons {
display: flex;
flex-wrap: wrap; /* Allows the buttons to wrap to the next line */
justify-content: center; /* Horizontally centers the buttons */
align-items: center; /* Vertically centers the buttons within the container */
gap: 3px; /* Adds spacing between buttons */
width: 100%; /* Ensures the container spans the full width */
height: 100%; /* Makes the container fill the viewport height */
}

#alphabet-buttons button {
width: 30px; /* Make the buttons smaller */
height: 30px;
border: none;
border-radius: 5px; /* Make the buttons circular */
background-color:#f4f4f4 ; /* Default light background color */
color: #000; /* Text color */
font-size: 14px;
display: flex;
align-items: center;
justify-content: center; /* Center the letter inside the circle */
cursor: pointer;
}


#alphabet-buttons button:hover {
background-color: #4c93df; /* Darker blue on hover */
color: #F4F1E1;
}

#alphabet-buttons button:active {
background-color: #0573e2; /* Even darker blue on active */
color: #F4F1E1; 
}

/* Ensure clicked button stays blue */
#alphabet-buttons button.selected {
background-color: #1c73d1; /* Keep it blue after being clicked */
color: #F4F1E1;
}
