
a:active, a:hover, a:focus, a:visited {
    text-decoration: none !important;
}

body {
    background-color: #f7f7f7;
}
#tour-filters {
    background: none !important;
}
/* ===== Load Item ===== */
.loadItem {
    padding-top: 0px;
    border-radius: 12px;
}

.loadItem .image {
    height: 190px;
    margin-top: 5px;
}

.loadItem-cell {
    padding: 20px;
}

/* ===== Form Browse Container ===== */
#form-browse-con {
    margin: auto;
    background-color: rgba(190, 190, 190, 0.6);
    border-radius: 13px;
    padding: 14px 14px 14px 14px !important;
    margin-top: 13px;
    margin-bottom: 30px;
    position: relative;
}

#form-browse-con input[type="text"] {
    border: 0px solid;
    border-radius: 6px 0px 0px 6px;
    padding: 20px 0px 18px 20px;
    width: 98%;
    color: #000;
}

#form-browse-con .form-item > label {
    color: #c8c8c8;
    font-size: 24px;
    position: absolute;
    z-index: 99;
    top: 12px;
    left: 10px;
}

#form-browse-con .form-item-btn {
    width: 10%;
    float: right;
}
#form-browse-con .SformBt {
	padding: 12px 41px !important;
	font-size: 24px;
	background-color: var(--main-color);
	font-weight: bolder;
	position: absolute;
	right: 0px;
	top: 0px;
	border-radius: 0px 6px 6px 0px;
}

/* ===== Tour Results & Filters ===== */
#tourResultCont .col-sm-9 {
    padding-left: 0px !important;
}
#tour-filters {padding-left:1px!important;}
#tour-filters strong {
    display: block;
    border-bottom: 0px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#tour-filters .fa {
    color: var(--main-color) !important;
    margin-right: 5px;
}

#tour-filters label {
    font-weight: normal !important;
    font-size: 13px;
}

/* ===== Text Normalizer ===== */
.textNormalizer p {
    margin: auto !important;
}

.textNormalizer ul li {
    background: none;
    border-bottom: 0px dotted #ccc;
    list-style-type: disc;
}

/* ===== Savings & Discounts ===== */
.sub-saving {
    padding: 10px 8px;
    background: #fff3;
    border-top: 3px dotted #ddd;
    line-height: 18px;
}

.rm-sale-perc {
    background: #78bd34;
    border-radius: 6px;
    white-space: nowrap;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-right: 14px;
}

.saving-rate {
    display: inline-block;
    position: absolute;
    top: -17px;
    right: 19px;
}

.saving-rate .p {
    background: #ff47a0;
    font-size: 12px;
    border-radius: 50%;
    display: inline;
    padding: 8px 3px;
    color: #fff;
    position: relative;
    top: 27px;
}

.pc2.saving2 {
    font-size: 16px;
    color: #999;
    margin-bottom: -8px;
}

.salet {
    color: #666;
}

/* ===== Categories & Subcategories ===== */
.subcategories {
    margin-left: 15px;
    position: relative;
}

.parent .fa-chevron-right {
    position: absolute;
    margin-top: -20px;
    right: 0px;
    font-size: 11px;
    top: 7px;
}

.panel-exp {
    cursor: pointer;
}

/* ===== Browse Header ===== */
#browseHeader h1 {
    font-size: 30px !important;
    margin: 5px 0 !important;
}

/* ===== Tour Results - Images & Media ===== */
 .ads img {
    width: 100%;
    height: 110px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#tourResults .tour-img, .tour-map {
    height: 160px;
}

#tourResults .tour-img-v2 {
    width: 100%;
    height: 190px;
    background-position: center center;
    background-size: cover;
    border-radius: 6px 6px 0 0;
}

#tourResults .tour-img-v2-f {
    height: 280px !important;
    border-radius: 6px;
}

.tour-map-img {
    height: 90px;
    width: 100%;
    border-top: 5px solid #fff;
    background-position: center center;
    background-size: cover;
    border-radius: 0 0 6px 6px;
}

/* ===== Tour Results - List Items ===== */
#tourResults li {
    padding: 20px 5px;
    border-radius: 10px;
}

#tourResults .tour-title {
    font-size: 18px;
    font-weight: 400;
    color: #2c3e50;
    height: auto; /*32px;*/
    overflow-y: hidden;
    display: block;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

#tourResults .t-tour-desc {
    border-bottom: 0px solid #eee;
    margin-bottom: 5px;
    min-height: 50px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    line-height: 1.45em;
    height: 57px;
}

#tourResults .ads {
    padding: 17px;
}

#tourResults dl dt {
    display: inline-block;
    width: 20%;
    margin: 1px 0 4px;
    font-size: 11px;
    text-transform: uppercase;
    color: #818d99;
    vertical-align: top;
}

#tourResults dl dd {
    width: 65%;
    font-size: 13px;
}

.highList {
    border: 1px solid color-mix(in srgb, var(--main-color) 70%, transparent) !important;
    margin: 0 5px 5px 0px;
    padding: 4px;
    border-radius: 4px;
    background-color: color-mix(in srgb, var(--main-color) 10%, transparent) !important;
    font-size: 12px;
    display: inline;
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 48%;
}

/* ===== Tour List Footer ===== */
.tour-list-footer {
    background-color: #eee;
    padding: 12px 10px 15px 10px;
    border-radius: 6px;
    margin: 10px 13px 0px 14px;
}

.tour-list-footer a {
    background: #fff;
    padding: 7px 10px;
    font-size: 11px;
    margin-right: 10px;
    border-radius: 5px;
    color: #666;
    font-weight: bold;
    position: relative;
    white-space: nowrap;
}

.tour-list-footer a:last-child {
    margin-right: 0px;
}

.tour-list-footer .pull-right a {
    font-size: 12px !important;
    color: #333;
}

.tour-list-footer .active {
    background: color-mix(in srgb, var(--main-color) 70%, transparent) !important;
    color: #fff;
    font-weight: bolder;
}

/* ===== Pricing ===== */
#tourResults .tprice {
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
    white-space: nowrap;
    background-color: color-mix(in srgb, var(--main-color) 10%, transparent) !important;
    border-radius: 6px;
    padding: 20px 0;
    color: #000 !important;
    margin-top: 20px;
}

#tourResults .currency {
    font-size: 15px;
}

/* ===== Footer Result ===== */
.footer-result {
    padding: 10px 0 0 10px;
    margin-bottom: 0px;
}

.footer-result ol {
    margin: 0;
    padding: 0;
}

.footer-result li {
	padding: 6px 8px !important;
	float: left;
	border: 1px solid #ddd !important;
	margin: 3px 4px 3px 4px !important;
	background: #fefefeff !important;
	border-radius: 3px !important;
	width: 162px;
    height: 28px;
	text-align: left;
	overflow: hidden;
	text-wrap: nowrap;
	box-shadow: none !important;
    font:11px tahoma;
}

.footer-result li:hover {
    background: var(--main-color) !important;
    color: #fff !important;
    border-color: var(--main-color) !important;
}

.footer-result li:hover a {
    color: #fff !important;
}

.getTourRoutes li {
    width: auto !important;
}

/* ===== Buttons ===== */
.btn-yellow {
    color: #ffffff !important;
    border: 1px solid var(--main-color) !important;
    background: var(--main-color) !important;
    border-radius: 6px;
    padding: 12px 0;
}

.goT > i {
    font-size: 9px !important;
    vertical-align: 1px;
}

.gotDatesPanel a {
    color: #000 !important;
}
.gotDatesPanel.getTourDates span {
	color: white;
	display: block;
	float: right;
	background: color-mix(in srgb, var(--main-color) 70%, transparent) !important;
	padding: 1px 5px;
	border-radius: 3px;
	text-align: center;
	font-size: 10px;
}
.btn.showmap {
    position: absolute;
    bottom: 54px;
    right: 18px;
    padding: 4px 11px;
    font-size: 12px;
    text-transform: uppercase;
}

/* ===== Active States ===== */
.day_active > label {
    background: none !important;
}

#brRegions .active > a {
    font-weight: bold !important;
}

#brTCats .active {
    font-weight: bold;
}

.category-item .active {
    background: whitesmoke;
    color: #000;
    font-weight: bold;
}

/* ===== Options & Lists ===== */
.options li {
	border-bottom: 0px dotted;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.options li a {
    padding: 5px 3px;
    text-decoration: none !important;
    
}

.options li i {
    width: 10px;
}

.options_nscrl {
    max-height: fit-content !important;
}

.datesLis label {
    color: #000 !important;
    font-weight: normal;
}

/* ===== Sorting Container ===== */
.sorting-container {
	background-color: #ffffff;
	border-radius: 10px;
	padding: 10px 20px 15px;
	box-shadow: 0px 0px 4px -2px #999;
	margin-bottom: 20px;
}
.sorting-container h1 {
	margin: 0px;
	font-weight: bold;
	font-family: inherit;
	display: inline;
}
.sort-btn {
  background-color: #f9f9f9;
  border: none;
  padding: 7px 10px;
  margin: 0 3px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  width: 155px; 
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sort-btn:hover {
    background-color: #f0f0f0;
}

.sort-btn.active {
    background-color: var(--main-color);
    color: #ffffff;
}

.sort-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.check-icon {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

/* ===== Filters ===== */
.filter-section {
	margin-bottom: 15px;
	border-bottom: 1px solid #e0e0e0;
	background: #fff;
	padding: 2px 20px 8px;
	border-radius: 6px;
	box-shadow: 0px 0px 4px -2px #999;
}
.filter-section div:last-child, .filter-section ul li:last-child {
	margin-bottom: 5px !important;
}
.filter-title {
	font-size: 14px;
	font-weight: 700;
	color: #333;
	margin-top: 15px;
	margin-bottom: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-transform: uppercase;
}

.filter-minimal > div {
    display: none;
}

/* ===== Checkbox List ===== */
.checkbox-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 10px;
}

.checkbox-list.collapsed {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: color 0.2s ease;
    margin-bottom: -5px;
}

.checkbox-label:hover {
    color: #3498db;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.checkbox-label small {
    margin-left: auto;
    color: #999;
    font-size: 12px;
}

.checkbox-label.duration-sng {
    float: left;
    width: 33.1%;
    margin-bottom: 10px;
    font-size: 12px !important;
}

.checkbox-label.duration-sng input[type="checkbox"] {
    margin-right: 5px;
}

/* ===== Category Links ===== */
.category-link, .category-sp, .visa-type {
    display: flex;
    align-items: center;
    padding: 5px 0;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 13px;
}

.category-link:hover, .category-sp:hover , .visa-type:hover {
    background: #f5f5f5;
    color: #000;
}

.category-link.active, .category-sp.active , .visa-type.active {
    background: #e3f2fd;
    color: #3498db;
    font-weight: 600;
}

.category-link i, .visa-type i, .category-sp i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
}

/* ===== Sidebar ===== */
.sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ===== Scrollbar ===== */
.checkbox-list::-webkit-scrollbar {
    width: 6px;
}

.checkbox-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.checkbox-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.checkbox-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ===== Toggle Button ===== */
.toggle-btn {
    background: #e8e8e8;
    border: none;
    cursor: pointer;
    padding: 6px 7px 7px;
    color: #666;
    font-size: 10px;
    transition: transform 0.3s ease;
    border-radius: 50%;
    margin: 1px -10px -1px;
}

.toggle-btn i {
    margin: auto !important;
}

/* ===== Icons ===== */
.icon-chevron-up::before {
    content: '▲';
}

.icon-chevron-down::before {
    content: '▼';
}

.icon-star::before {
    content: '★';
}

.icon-arrow-up::before {
    content: '↑';
}

.icon-arrow-down::before {
    content: '↓';
}

.icon-clock::before {
    content: '🕐';
}

.icon-percent::before {
    content: '%';
}

.icon-fire::before {
    content: '🔥';
}

.icon-home::before {
    content: '🏠';
}

/* ===== Breadcrumb ===== */
.btn-breadcrumb {
	margin-bottom: 6px;
}

.btn-breadcrumb .btns {
	font-size: 13px;
	margin-right: 4px;
    color: #333;
}
.btn-breadcrumb .fa-chevron-right {
	font-size: 8px;
	vertical-align: 1px;
	margin-right: 4px;
}
.btn-breadcrumb .fa-chevron-right:last-child {
	display: none;
}
/* ===== Loader Overlay ===== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

/* ===== Spinner ===== */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-small {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Loading State ===== */
#tour-list-container.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ===== Tour Card Transitions ===== */
.tour-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.tour-card:nth-child(1) { animation-delay: 0.1s; }
.tour-card:nth-child(2) { animation-delay: 0.2s; }
.tour-card:nth-child(3) { animation-delay: 0.3s; }
.tour-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Messages & Notifications ===== */
.no-results {
    display: none;
    text-align: center;
    padding: 20px 0px;
    background: #fff;
    border-radius: 8px;
    margin: 20px 0;
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.end-message {
    text-align: center;
    color: #999;
    font-size: 32px;
}

#reset-container {
    padding: 10px;
    background: #eee;
    text-align: center;
    box-shadow: 0px 0px 4px -2px #6a6a6a;
    margin-bottom: 10px;
    display: none;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.error-message p {
    color: #c33;
    margin: 0;
    font-size: 16px;
}
.more-but.btn-yellow.btn-noavail {
	font-size: 14px;
	margin: 5px 15px;
	padding: 20px;
}
/* ===== Inline Loader ===== */
.inline-loader {
    text-align: center;
    padding: 40px 20px;
    margin: 20px 0;
}

.inline-loader p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.pagination-link:hover {
    background: #f0f0f0;
    border-color: #3498db;
}

.pagination-link.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
    pointer-events: none;
}

.pagination-dots {
    padding: 8px 4px;
    color: #999;
}

/* ===== Map Container ===== */
#mapContainer {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
}

#mapContainer iframe {
    width: 800px;
    height: 600px;
}

/* ===== Smooth Transitions ===== */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .sorting-container {
        display: block;
        border-radius: 20px;
        margin: -10px 10px 19px;
    }
#tour-filters {padding-left:15px!important;}

    .sort-btn {
        display: block;
        width: 100%;
        margin: 5px 0;
        text-align: left;
    }

    #tour-filters {
        display: none;
    }

    .tour-card {
        margin-bottom: 15px;
    }

    .tour-image {
        height: 200px;
    }

    .tour-title {
        font-size: 18px;
    }

    .tour-content {
        padding: 15px;
    }

    .tour-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-details {
        text-align: center;
    }

    .sidebar {
        margin-bottom: 20px;
    }

    .pagination {
        gap: 4px;
    }

    .pagination-link {
        padding: 6px 10px;
        min-width: 35px;
        font-size: 13px;
    }
}

/* Tablet & Mobile - Medium screens (max-width: 990px) */
@media screen and (max-width: 990px) {
    #form-browse-con .form-item {
        width: 100% !important;
        margin-bottom: 10px;
    }

   #tourResults li {
	width: 96% !important;
	margin-left: 2%;
}

    #tourResults .gotDatesPanel li {
        width: 46% !important;
    }

    #tourResults .getTourRoutes li {
        width: 100% !important;
    }

    #tourResults dl dt {
        width: 18%;
        font-size: 11px;
    }
    .tour-map-img {
        display: none;
    }
    #tourResults dl dd {
        width: 30%;
        font-size: 11px;
    }

    .tour-map-img {
        margin-bottom: 8px;
    }

    .tour-list-footer > div {
        text-align: center;
        float: none !important;
    }

    .tour-list-footer a {
        padding: 7px 17px;
    }

    .highList {
        width: 100% !important;
    }
    .btn.btn-xs.btn-default.showmap {
        bottom: 14px;
        padding: 7px 15px;
    }
    #mapContainer iframe {
	width: 100%;
	height: 500px;
}
#tourResults .tour-title {
    font-size: 16px;
    height: auto!important;
}
#tourResults .tour-img-v2-f {
    height: 190px !important;
    border-radius: 6px;
}
}

/* Tablet - Medium to Large screens (max-width: 992px) */
@media (max-width: 992px) {
    .tour-details {
        grid-template-columns: 1fr;
    }

    .sorting-bar {
        justify-content: center;
    }

    .sort-btn {
        font-size: 12px;
        padding: 8px 12px;
        float:left;
        width: 120px;
    }
    .tour-map-img {
        display: none;
    }
    #form-browse-con .SformBt {
	padding: 12px 17px !important;
}
.mo-filter {
    margin: 0 auto 15px;width: 95%;
}
}
.panel-loader {
	text-align: center;
	font-size: 24px;
	color: #999;
	margin: 0px 0 -10px;
}
#result-count {
	font-size: 13px;
}
.fieldSearch {
	font-size: 12px;
	padding: 5px !important;
	height: auto !important;
	margin-top: 6px;
} 
.checkbox-label span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#pagination .active {
	background: var(--main-color);
	box-shadow: inset 0 0 8px var(--main-color), 0 1px 0 rgba(255, 255, 255, .8);
	color: #f0f0f0;
	text-shadow: 0 0 3px rgba(0, 0, 0, .5);
}