﻿.search.search-bg img {
    margin-top: 24px;
}

input.form-control.col-md-3.sugesText {
    height: 75px !important;
    background: none !important;
}

input:-webkit-autofill {
    background: none !important;
}
/* Wrapper for image and hover text */
.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%; /* Ensure it matches the container width */
    height: 200px; /* Fixed height */
    overflow: hidden;
}

    /* Style for the image */
    .image-wrapper img {
        width: 100%; /* Make the image responsive */
        height: 100%; /* Match the wrapper's height */
        object-fit: cover; /* Maintain aspect ratio and crop if needed */
    }

/* Text that appears at the bottom */
.hover-text {
    position: absolute;
    bottom: 0; /* Align the text at the bottom of the image */
    left: 0;
    width: 100%; /* Full width */
    color: white; /* Set text color to white */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    padding: 10px 0;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-align: center; /* Center the text horizontally */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth fade-in */
}

/* Show the text when hovering over the container */
.image-wrapper:hover .hover-text {
    opacity: 1; /* Make the text visible on hover */
}
/* Custom responsive styles for pagination */
@media (max-width: 576px) {
    .pagination {
        font-size: 0.8rem; /* Smaller text on mobile */
    }

    .page-item {
        margin: 0 2px; /* Reduced margin between items */
    }

    .page-link {
        padding: 0.4rem 0.6rem; /* Reduced padding */
    }
}

.non-clickable {
    pointer-events: none;
    cursor: default;
}
.card.fixBox {
    block-size: 100% !important;
    background: #f8f9fa !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.card-body.newBox {
    display: contents;
}

.totalDays {
    font-size: 12px;
}
.paddingForTourIcon {
    padding: .1rem .75rem;
    margin-bottom:0px !important;
}
.black-icon {
    color: black;
}

.best-rate {
    margin-right: -1px;
}
/* Responsive design for small screens */
@media (min-width: 320px) and (max-width: 490px) {
    .form-slide {
        min-height: 510px !important;
    }
}
#tourSearchForm {
    margin-top: -20px !important;
}
#toggle-maps-and-images {
    line-height: 3;
}

.show-map.selected, .show-image.selected {
    background: #47B34D !important;
    color: #FFFFFF !important;
    letter-spacing: 0.4px;
}

.show-map, .show-image {
    color: #979797;
    background-color: #fff !important;
    border-radius: 8px;
    padding: 0px 15px;
    box-shadow: 0px 4px 11px rgba(71, 38, 141, 0.15), 0px 2px 3px rgba(163, 147, 198, 0.2);
}

a {
    color: #039CDA;
    text-decoration: none;
}

.toursHeading h4 {
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #134E86;
    text-align: center;
    margin:.5rem;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #47B34D;
    border-color: #47B34D;
}
.page-link {
    color: #134E86;
}
.card-body {
    padding: 0rem 1rem !important;
}
.card-title {
    margin-bottom: 0rem !important;
}
.limit-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}