.wholebody {
    max-width: 1400px;
    margin: 0 auto;
}

.main-container {
    margin: 40px;
    margin-top: 150px !important;
    display: grid;
    grid-template-columns: 25% 1% 75%;
    grid-auto-rows: min-content;
}

.main-left-container {
    background-color: #eee;
    padding: 20px;
    grid-row: span 9; /* Span rows to follow the right containers */
    border-radius: 5px;
    /* max-height: 1100px; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.main-right-container {
    padding: 10px;
    margin-bottom: 20px; /* Add spacing between right containers */
    margin-left: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: #eee;
}

.main-middle-container {
    border: 1px solid #eee;
    margin: 0 10px 0 15px;
    grid-row: span 4;
}

.banner img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #eee;
}

.main-right-container-src {
    margin-bottom: 20px; /* Add spacing between right containers */
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.buttons {
    display: flex;
    align-items: center;
}

.row-icon {
    margin: 0 5px;
    width: 50px;
    cursor: pointer
}

.grid-icon {
    margin: 0 5px;
    width: 40px;
    cursor: pointer
}

.search-icon {
    width: 18px;
    filter: invert(100%);
    align-items: center;
    margin-left: 10px;
}

.src-form {
    width: 100%;
    display: flex;
}

.src-bar {
    height: auto;
    flex: 1; /* Allow the input field to grow and fill available space */
    padding: 8px 30px;
    border: none;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 16px;
    margin-left: 10px;
}

.src-btn {
    width: 20%;
    height: 45px;
    border: none;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 8px 12px;
    background-color: #0D99FF;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.src-btn:hover {
    background-color: #0e8de7
}

.container {
    display: flex;
    align-items: flex-start;
    margin: 10px;
    position: relative;
}

.slideshow {
    position: relative;
    overflow: hidden;
    max-width: 350px;
    flex: 1;
    border-radius: 5px;
}

.image-container {
    flex: 0 0 auto;
    margin-right: 20px;
    position: relative;
}

.image-container img {
    width: 380px;
    max-height: 200px;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
    border: none;
    cursor: pointer;
    padding: 10px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.prev {
    left: -10px;
    transition: left 0.3s ease;
}

.prev:hover{
    left: 0;
}

.next {
    right: -10px;
    transition: right 0.3s ease;
}

.next:hover {
    right: 0;
}

.info-container {
    flex: 1;
    margin-left: 20px;
    cursor: pointer;
}

.title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
}

.subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.description {
    height: 80px;
    overflow: auto;
    margin-bottom: 10px;
    background-color: rgb(224, 221, 221);
    padding: 10px 25px;
    border-radius: 5px;
    text-align: justify;
    font-size: 16px;
}

.description::-webkit-scrollbar, .grid-description::-webkit-scrollbar {
    width: 10px;
  }

/* Track */
.description::-webkit-scrollbar-track, .grid-description::-webkit-scrollbar-track {
    background: #e4e4e4; 
    border-radius: 5px;
    border: 1px solid lightgray;
}

/* Handle */
.description::-webkit-scrollbar-thumb, .grid-description::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 5px;
}

/* Handle on hover */
.description::-webkit-scrollbar-thumb:hover, .grid-description::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.pricing {
    margin-top: auto;
}

.from-text {
    font-weight: 100;
    font-size: 14px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    float: right;
}

.discount-price {
    font-size: 14px;
    font-weight: bold;
    text-decoration: line-through;
    float: right;
    color: gray;
}

.tags {
    display: flex;
    gap: 10px;
    position: absolute;
}

.tags div {
    border: 1px solid gray;
}

.cruise-tag {
    background-color: #1E90FF;
    color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.muslim-tag {
    background-color: #009000;
    color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.package-tag {
    background-color: #fbad18;
    color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.promo-tag{
    background-color: #FF0000;
    color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}
.hlight-tag {
    background-color: #8A2BE2;
    color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}

.cruise-tag-p {
    background-color: #1E90FF;
    color: #eee;
    padding: 10px 9px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.muslim-tag-p {
    background-color: #009000;
    color: #eee;
    padding: 10px 9px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.package-tag-p {
    background-color: #fbad18;
    color: #eee;
    padding: 10px 9px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.promo-tag-p{
    background-color: #FF0000;
    color: #eee;
    padding: 10px 9px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}
.hlight-tag-p {
    background-color: #8A2BE2;
    color: #eee;
    padding: 10px 9px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}

.rating-container {
    position: absolute;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rating {
    color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}

.excellent {
    background-color: #00E200;
}

.good {
    background-color: #add633;
}

.fair {
    background-color: #f4d132;
}

.terrible {
    background-color: #ff8c5a !important;
}

.rating-text {
    font-size: 14px;
    text-align: center;
    color: gray;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
}

.contry-fil {
    max-height: 300px;
    overflow: scroll;
    overflow-y: auto;
    overflow-x: hidden;
}

.contry-fil::-webkit-scrollbar, .grid-description::-webkit-scrollbar {
    width: 10px;
  }

/* Track */
.contry-fil::-webkit-scrollbar-track, .grid-description::-webkit-scrollbar-track {
    background: #e4e4e4; 
    border-radius: 5px;
    border: 1px solid lightgray;
}

/* Handle */
.contry-fil::-webkit-scrollbar-thumb, .grid-description::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 5px;
}

/* Handle on hover */
.contry-fil::-webkit-scrollbar-thumb:hover, .grid-description::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* filter list styles here */
.filter-list {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.block-fil {
    display: block;
}
  
  /* Hide the browser's default checkbox */
  .filter-list input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ffffff;
  }
  
  .filter-list {
    margin-left: 15px;
  }

  /* On mouse-over, add a grey background color */
  .filter-list:hover input ~ .checkmark {
    background-color: #ccc;
    transition: background-color 0.3s;
  }
  
  /* When the checkbox is checked, add a blue background */
  .filter-list input:checked ~ .checkmark {
    background-color: #2196F3;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .filter-list input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .filter-list .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .fil-hold {
    display: flex;
    align-items: center; /* Vertically center items */
  }

  .fil-hold {
    font-size: 18px;
    font-weight: bold;
  }

  .fil-icon {
    width: 24px;
    align-items: center;
    margin-left: 10px;
    margin-right: 5px;
    justify-content: center; /* Horizontally center items */
    align-items: center; /* Vertically center items */
}

.fil-btn {
    /* max-width: 200px; */
    width: 100%;
    height: 50px;
    background-color: #0D99FF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
}

.fil-btn:hover {
    background-color: #0e8de7;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.page-item {
    margin-right: 10px; /* Adjust spacing between page items */
}

.page-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #333; /* Text color */
    background-color: #eee; /* Background color */
    border: 1px solid #ccc; /* Border color */
    border-radius: 0.25rem; /* Border radius */
    transition: background-color 0.3s ease; /* Transition effect */
}

.page-link:hover {
    background-color: #bbb; /* Hover background color */
}

.page-item.active .page-link {
    z-index: 3;
    color: #eee; /* Active text color */
    background-color: #007bff; /* Active background color */
    border-color: #007bff; /* Active border color */
}

.page-item.disabled .page-link {
    color: #6c757d; /* Disabled text color */
    pointer-events: none; /* Disable click events */
    cursor: default; /* Change cursor style */
}

.page-link[aria-disabled="true"] {
    pointer-events: none; /* Disable click events */
    cursor: default; /* Change cursor style */
}


.main-right-container-grid {
    margin-left: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Three columns */
    grid-gap: 20px; /* Gap between grid items */
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.grid-item {
    background-color: #eee;
    border-radius: 5px;
    max-width: 310px;
    position: relative;
}

.tag-con {
    display: flex;
    flex-direction: row;
    position: absolute;
    padding: 5px;
    right: 0;
    z-index: 1;
}

.grid-tag {
    margin: 5px;
    border: 1px solid gray;
}

.grid-info {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    cursor: pointer;
}

.grid-titles {
    flex: 1; /* Take up remaining space */
}

.grid-rating {
    display: flex;
    flex-direction: row-reverse;
    align-items: center; /* Align items vertically */
    margin-bottom: 25px;
}

.grid-title {
    font-size: 20px;
    font-weight: bold;
}

.grid-subtitle {
    font-size: 16px;
    opacity: 0.8;
}

.grid-score {
    color: #eee;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}

.grid-rate-text {
    text-align: center;
    color: gray;
    font-size: 13px;
    margin-left: 5px;
}

.grid-description {
    background-color: rgb(224, 221, 221);
    padding: 10px 25px;
    border-radius: 5px;
    height: 110px;
    overflow: scroll;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 10px;
}

  .grid-price {
    margin-left: auto;
  }

  .grid-ori-price {
    text-decoration: line-through;
    font-weight: bold;
    color: gray;
    text-align: right;
  }

  .grid-price-text {
    font-weight: 100;
    font-size: 14px;
  }

  .grid-now-price {
    font-size: 24px;
    font-weight: bold;

  }

  .top-info {
    padding: 5px 10px 0 10px;
  }

  .tour-code {
    opacity: 0.8;
  }

  .tour-code-row {
    margin: 0;
    opacity: 0.8;
  }

  .slideshow-grid {
    max-width: 450px;
  }

  .promo-section {
    margin: 0 auto;
    width: 80%; /* Set the width of the container */
    height: 180px; /* Set the desired height of the banners */
    overflow: hidden; /* Hide any overflow */
    border-radius: 5px;
    display: flex;
    align-items: center;
    text-align: center;
  }

  
  .promo-section img {
    width: 100%; /* Ensure the image fills the container horizontally */
    height: 100%; /* Ensure the image fills the container vertically */
    object-fit: cover; /* Scale the image while maintaining aspect ratio */
    margin-bottom: 20px;
	border-radius: 5px;
  }

  .grid-container-promo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 310px)); /* Three columns */
    grid-gap: 20px; /* Gap between grid items */
    padding: 0 40px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}


.grid-item-promo {
    background-color: #eee;
    align-items: center;
    border-radius: 5px;
    max-width: 310px;
    position: relative;
}

.view-promo {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.view-promo button{
    padding: 15px 50px;
    background-color: #0e8de7;
    color: #eee;
    border-radius: 10px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.hidden {
    display: none;
  }

  .filter-icon {
    margin: 0 5px;
    width: 36px;
    cursor: pointer;
    margin-bottom: 10px;
    filter: invert(100%);
    display: none;
  }

  .filter-icon:active {
    filter: brightness(0) saturate(100%) invert(74%) sepia(90%) saturate(1186%) hue-rotate(360deg) brightness(105%) contrast(105%);
  }

  .times-icon {
    display: none;
    position: absolute;
    font-size: 35px;
    width: 35px;
    right: 10px;
    top: 10px;
  }

  @media (min-width: 955px) {
    #mainLeftContainer {
        display: block !important;
    }
  }

  @media (max-width: 955px) {

.tag-con {
    padding: 5px 0;
}

    .main-container {
        grid-template-columns: 100%;
        margin: 10px;
    }
	
    .tags {
        display: flex;
        left: 0;
        bottom: 0;
        gap: 5px;
       	max-width: 200px;
	flex-wrap: wrap;
    }
    .tour-code {
        font-size: 13px;
      }

      .tour-code-row {
        font-size: 13px;
        margin: 0 0;
      }

    .main-middle-container{
        display: none;
    }

    .main-left-container{
        position: absolute;
        z-index: 2;
        left: 0;
        max-width: 260px;
    }

    .banner img {
        height: 80px;
        width: 100%;
    }

    .main-right-container-src {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
        margin-left: 0;
    }

    .main-right-container {
        margin-left: 0;
    }
    .row-slide {
        max-width: 160px;
        flex: 1;
        border-radius: 5px;
    }

    .row-imgcont img{
        max-height: 220px !important;
    }
    .title{
        font-size: 16px;
    }

    .subtitle{
        font-size: 14px;
    }

    .row-icon {
        margin: 0 5px;
        width: 35px;
        cursor: pointer;
        margin-bottom: 10px;
    }
    
    .grid-icon {
        margin: 0 5px;
        width: 27px;
        cursor: pointer;
        margin-bottom: 10px;
    }

    .filter-icon {
        display: block;
    }

    .times-icon {
        display: block;
    }



    .search-icon {
        width: 18px;
    }

    .src-text{
        display: none;
    }

    .container {
        margin: 0;
    }

    .info-container {
        margin-left: 10px;
    }

    .rating-container {
        gap: 2px;
    }

    .info-container .title {
        max-width: 100px;
        overflow: hidden;
    }

    .info-container .subtitle {
        max-width: 100px;
        overflow: hidden;
    }

    .image-container {
        margin-right: 0;
    }

    .rating {
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 12px;
    }

    .rating-text {
        font-size: 12px;
    }

    .description {
        height: 60px;
        padding: 5px 15px;
        text-align: left;
        font-size: 14px;
    }
    
    .pricing {
        margin-top: 22px;
    }

    .discount-price {
        font-size: 12px;
    }

    .price {
        font-size: 18px;
    }

    .from-text {
        font-size: 14px;
    }

    .promo-section {
        padding: 1rem;
	width: 90%;
	height: 120px;
    }

    .promo-section img{
        text-align: center;
        border-radius: 5px;
    }

    .main-right-container-grid {
        margin-left: 0;
    }

    .grid-item {
        max-width: 300px;
    }

    .grid-item-promo {
        max-width: 300px;
    }

    .grid-container {
        justify-content: center;
    }
    
    .grid-container-promo {
        justify-content: center;
    }

    .package-tag {
        padding: 8px 15px;
        font-size: 14px;
        border-radius: 5px;
    }
    
    .promo-tag{
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 5px;

    }
    .hlight-tag {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    .grid-titles {
        flex: 1;
        margin-bottom: 10px;
    }

    .grid-rating {
        flex-direction: row-reverse;
        margin-bottom: 10px;
    }

    .grid-title {
        font-size: 16px;
        font-weight: bold;
    }
 
    .grid-subtitle {
        font-size: 14px;
        opacity: 0.8;
    }

    .grid-score {
        padding: 8px 13px;
        border-radius: 8px;
        margin-right: 0;
        font-size: 12px;
    }

    .grid-rate-text {
        text-align: center;
        color: gray;
        font-size: 10px;
    }

    .grid-description {
        padding: 5px 10px;
        height: 100px;
        margin-bottom: 5px;
        font-size: 14px;
    }


    .grid-ori-price {
        text-decoration: line-through;
        font-weight: bold;
        color: gray;
        font-size: 12px;
    }

    .grid-price-text {
        font-weight: 100;
        font-size: 15px;
    }

    .grid-now-price {
        font-size: 18px;
        font-weight: bold;
    }

    .filter-list {
        font-size: 14px;
    }

    .fil-hold {
        font-size: 16px;
    }

    .fil-btn {
        font-size: 14px;
        height: 40px;
    }

    .no-result {
        font-size: 14px;
    }

    .grid-info {
        padding: 10px 20px;
    }
  }

  @media (max-width: 410px) {

    .grid-item {
        max-width: 300px;
    }
    .grid-item-promo {
        max-width: 300px;
    }

    .grid-container {
        justify-content: center;
    }

    .grid-info {
        padding: 10px 20px;
        flex-direction: row;
    }
    .image-container img {
        width: 300px;
    }
    .info-container .title {
        max-width: 60px;
        overflow: hidden;
    }

    .info-container .subtitle {
        max-width: 60px;
        overflow: hidden;
    }

  }
