/* City Page Styles - Direct Excursions Display */


.simple-tab.color-1 .tab-info {
    background: #ffffff; 

}

.simple-tab .tab-info.excursions-tab {
    padding: 26px 0;
}

.tab-info.excursions-tab .swiper-slide img {
    width: auto;
}

.city-port-block {
	position: relative;
	margin-bottom: 30px;
}

.city-header {
	text-align: center;
	padding: 40px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	margin-bottom: 40px;
	border-radius: 10px;
}

.city-header h2 {
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.city-header .country-name {
	color: rgba(255, 255, 255, 0.9);
	font-size: 24px;
	font-weight: 400;
	margin-bottom: 20px;
}

.city-header .date,
.city-header .pax {
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	margin: 5px 0;
}

.city-excursions-list {
	margin-top: 30px;
}

/* Override list-content table-view styles for grid layout */
.list-content .swiper-slide {
	float: left;
	height: auto !important;
}

.list-content .swiper-slide .hotel-item {
	margin-bottom: 30px;
}

/* Ensure grid layout works properly - override table-view styles */
.list-content .swiper-slide .hotel-item .radius-top {
	width: 100% !important;
	padding: 0 !important;
}

.list-content .swiper-slide .hotel-item .title {
	width: 100% !important;
	padding: 24px 20px !important;
	display: block !important;
}

/* Ensure hotel-item.style-3 displays correctly in grid */
.list-content .hotel-item.style-3 {
	display: block;
	width: 100%;
}

.list-content .hotel-item.style-3 .radius-top {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.list-content .hotel-item.style-3 .title {
	position: relative;
	width: 100%;
	padding: 27px 20px;
	background: #fff;
	border: 1px solid #f7f7f7;
	border-top: none;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-right-radius: 5px;
	display: block !important;
}

/* Price and tour-weather positioning for style-3 in grid */
.list-content .hotel-item.style-3 .price-s-2 {
	position: absolute;
	left: 24px;
	top: 30px;
	z-index: 2;
}

.list-content .hotel-item.style-3 .tour-weather {
	position: absolute;
	top: 29.5px;
	left: auto;
	right: 13px;
	z-index: 2;
}

/* Second overlay styles (same as fix2.css) */
#second-overlay {
	z-index: 10000;
}

.hotel-item.selected {
	position: relative;
	outline: 6px solid #4CAF50;
	border-radius: 5px;
}

.hotel-item .selected-indicator {
	position: absolute;
	top: 20px;
	left: 20px;
	background: #4CAF50;
	color: white;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	z-index: 10;
}

.hotel-item .remove-button,
.s2s-passenger .remove-button {
	position: absolute;
	top: 20px;
	right: 20px;
	background: #f44336;
	color: white;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s ease;
}

.hotel-item .remove-button:hover,
.s2s-passenger .remove-button:hover {
	background: #d32f2f;
}

.tour-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tour-overlay.open {
	opacity: 1;
	visibility: visible;
}

.overlay-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
}

.overlay-content {
	position: fixed;
	background: rgba(255, 255, 255, 0.1);
	border: 3px solid #00000000;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	color: #333;
	transition: all .2s ease-in-out;
}

.overlay-content.fullscreen {
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	border-radius: 0 !important;
}

.content-container {
	max-width: 1170px;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	overflow-y: auto;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.overlay-content.fullscreen.open .content-container {
	opacity: 1;
}

.overlay-content:not(.open) .content-container {
	transition: none;
}

.close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.7);
	border: none;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	padding: 10px;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
}

.close-btn:hover {
	background: rgba(0, 0, 0, 0.9);
	transform: scale(1.1);
}

.white-inputs .input-style-1 input {
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	-moz-border-radius: 25px;
	border-radius: 25px;
	background: #fff;
	height: 60px;
	padding: 0px 20px 0px 50px;
}

.hotel-item.style-3 .title p {
	padding: 8px 0px 11px;
	min-height: 80px;
	max-height: 80px;
}

.hotel-item.style-3 .title h4 {
	min-height: 66px;
}

#second-overlay .hotel-item .price-total .hotel-person {
	font-size: 34px;
	line-height: 28px;
}

#second-overlay .hotel-item .pax-total {
	font-size: 14px;
	line-height: 12px;
	float: none;
	text-align: center;
}

.hotel-item .hotel-person.availability-label {
	letter-spacing: 0;
	float: right;
	text-align: center;
	text-transform: none;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom: 9px;
}

/* Cancel book button styling 
.hotel-item .cancel-book-1 {
	display: none;
}

.hotel-item.selected .cancel-book-1 {
	display: inline-block;
}

.hotel-item.selected .confirm-book-1 {
	display: none;
}

*/

/* Group tour availability label */
.hotel-item .group-tour {
	float: right;
	margin-bottom: 9px;
}

/*
.hotel-item .group-tour .availability-label span.group-tour {
	color: #2196F3;
}

.hotel-item .group-tour .availability-label span.private-tour {
	color: #2196F3;
}
	*/

.text-shadow-contrast {
	text-shadow: 1px 0px 2px rgb(0 0 0 / 82%), 1px 1px 2px rgb(0 0 0 / 62%);
	font-size: 1.6rem;
}

.s2s-passenger {
	border-top: 1px #b9b9b9 dotted;
	padding-top: 30px;
}

.ui-datepicker select.ui-datepicker-month {
	width: 55%;
	text-align: right;
	padding-right: 5px;
}

.ui-datepicker select.ui-datepicker-year {
	width: 35%;
	text-align: left;
}

.white-inputs .input-style-1 input:read-only {
	background: #f5f5f5;
}

.group-tour-name {
	font-size: 17px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: 1.2px;
	margin-bottom: 15px;
	margin-top: 15px;
}

.input-error {
	border-color: #f44336 !important;
}

#s2s-request .fa {
	color: #8b8b8b;
}

#s2s-request input[type="checkbox"]:checked::after {
	width: 10px;
	height: 15px;
}

/* Loading state for excursions list */
.city-excursions-list.loading {
	opacity: 0.6;
	pointer-events: none;
}

.city-excursions-list.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #667eea;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Ensure swiper-slide works with Bootstrap grid in list-content */
.list-content .swiper-slide.col-lg-4,
.list-content .swiper-slide.col-md-6,
.list-content .swiper-slide.col-sm-6,
.list-content .swiper-slide.col-xs-12 {
	padding-left: 15px;
	padding-right: 15px;
}

/* Override any table-view specific styles that might interfere */
.list-content .swiper-slide .hotel-item .table-view {
	display: block !important;
}

.list-content .swiper-slide .hotel-item .cell-view {
	display: block !important;
	width: 100% !important;
}

/* Button styles for style-3 */
.list-content .hotel-item.style-3 .c-button {
	padding: 0 14px;
	margin-top: 15px;
}


/* People and date styling */
.list-content .hotel-item.style-3 .people {
	font-family: 'Open Sans', sans-serif;
	line-height: 16px;
	font-weight: 400;
	color: #bebebe;
	text-transform: uppercase;
}

.list-content .hotel-item.style-3 .people strong {
	font-weight: 800;
}

.list-content .hotel-item.style-3 .date {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	color: #bebebe;
	text-transform: uppercase;
	margin-bottom: 9px;
}

.list-content .hotel-item.style-3 .date strong {
	font-weight: 700;
}

/* Connected Button Group */
.button-group {
    display: block;
    overflow: hidden;
    position: relative;
}

/* Hide button-group by default, show when item is selected */
.button-group.cancel-to-cart {
    display: none;
}

.hotel-item.selected .button-group.cancel-to-cart {
    display: block;
}

.button-group .c-button {  
    border-radius: 0;
    border-right: none;
    position: relative;
    width: 50%;
    display: inline-block;
    vertical-align: top;
	white-space: nowrap;
}

.list-content .hotel-item.style-3 .button-group {
	margin-top: 15px;
}

.list-content .hotel-item.style-3 .button-group .c-button {
	margin: 0;
}

/* Left button - rounded left, flat right */
.button-group .c-button:first-child {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Right button - flat left, rounded right */
.button-group .c-button:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

/* Remove border between buttons */
.button-group .c-button:not(:last-child) {
    border-right: none;
}

/* Ensure buttons are connected visually */
.button-group .c-button.bg-red-3 {
    background: #d73240;
    border-color: #d73240;
}

.button-group .c-button.bg-green {
    background: #66BB6A;
    border-color: #66BB6A;
}

/* Hover states for connected buttons */
.button-group .c-button.bg-red-3:hover {
    background: #c62828;
    border-color: #c62828;
}

.button-group .c-button.bg-green:hover {
    background: #4caf50;
    border-color: #4caf50;
}

/* Maintain existing button height */
.button-group .c-button.b-40 {
    height: 40px;
    line-height: 38px;
}


body[data-color="theme-1"] .c-button.bg-red-3 {
    border: 2px solid #EF4836;
}

body[data-color="theme-1"] .bg-red-3 {
    background: #EF4836;
}

body[data-color="theme-1"] .c-button.hv-red:hover {
    background: #EF4836;
    border-color: #EF4836;
}

body[data-color="theme-1"] .c-button.hv-red-o:hover {
    background: transparent;
    color: #EF4836;
    border-color: #EF4836;
}

body[data-color="theme-1"] .c-button.bg-green {
    border: 2px solid #66BB6A;
}

body[data-color="theme-1"] .bg-green {
    background: #66BB6A;
}

body[data-color="theme-1"] .c-button.hv-green:hover {
    background: #66BB6A;
    border-color: #66BB6A;
}

body[data-color="theme-1"] .c-button.hv-green-o:hover {
    background: transparent;
    color: #66BB6A;
    border-color: #66BB6A;
}

@media screen and (max-width: 1199px) {

	.button-group .c-button.fl {
		float: left;
	}
	.button-group .c-button.fr {
		float: right;
	}

    .button-group {
		width: 100%;
		float: none;
	}
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
	.simple-from.help-contact {
		padding: 0;
	}
	
	.city-header h2 {
		font-size: 36px;
	}
	
	.city-header .country-name {
		font-size: 20px;
	}
}

@media screen and (max-width: 480px) {
	.city-header {
		padding: 30px 15px;
	}
	
	.city-header h2 {
		font-size: 28px;
	}
	
	.city-header .country-name {
		font-size: 18px;
	}
}

@media screen and (max-width: 384px) {
	.input-style-1.type-2.b-50 input {
		padding: 0px 5px 0px 15px;
	}
}

