#body-wrapper {
	overflow: visible;
}

#search-form {
	clear: both;
	margin-top: 40px;
}

.sky-form {
	padding: 10px 25px 0 25px;
	margin: -15px -15px 15px -15px;
	background: #F0F0F0;
	/*background: linear-gradient(to bottom,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.05) 37%,rgba(0,0,0,0) 38%,rgba(0,0,0,0) 100%);*/
}

.sky-form fieldset {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
}

.sky-form fieldset label.label {
	padding-right: 5px;
}


.search-block .search-postcode .input,
.search-postcode label.input input {
	width: 280px;
}

#ui-datepicker-div {
	z-index: 1010;
}

@media(max-width:768px) {

	.search-block .search-postcode .input,
	.search-postcode label.input input,
	.search-date input {
		width: 100%;
	}
}

.ui-datepicker {
	font-size: 140% !important;
}

.search-date,
.search-date-input,
.search-postcode {
	position: relative;
}

.search-date .input.search-date-input::after {
	content: "";
	display: inline-block;
	position: absolute;
	width: 24px;
	height: 24px;
	background: url(/images/calendar-simple.svg) no-repeat 0 50%;
	background-size: 24px;
	opacity: 0.3;
	top: 0px;
	right: 6px;
}

.search-nights-input {
	width: 180px;
	display: inline-block;
}

.clear_date_link {
	margin-left: 10px;
}

.search-postcode::after {
	content: "";
	display: inline-block;
	position: absolute;
	width: 22px;
	height: 22px;
	background: url(/images/location.svg) no-repeat 0 50%;
	background-size: 22px;
	opacity: 0.3;
	top: 6px;
	right: 6px;
}

/* RESULTS PAGE */

p.button_container {
	padding-top: 15px;
}

@media(max-width:768px) {
	p.button_container {
		display:flex;
		flex-direction: column;
		gap: 10px;
	}
}

#navigation div {
	margin: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

ul.display_mode {
	display: flex;
	list-style: none;
	padding-left: 0;
	line-height: 1em !important;
	margin: 0;
}

ul.display_mode li {
	margin-right: 10px;
}

ul.display_mode li a {
	display: flex;
	align-items: center;
	padding: 2px 12px;
	/*border: 1px solid #EEE;
	background: #F6F6F6;
	box-shadow: inset 0 0 3px 1px white, 2px 2px 0 0 rgba(0, 0, 0, 0.1);*/
}

ul.display_mode li a img {
	margin-right: 5px;
}

ul.display_mode li a img,
ul.display_mode li a span {
	display: inline-block;
}

ul.display_mode li span {
	margin-left: 8px;
}

ul.display_mode li a:hover,
ul.display_mode li.on a {
	text-decoration: none;
	background-color: #F0F0F0;
}

.hotel_location {
	margin: 0 !important;
	padding: 8px 0;
	background: url(/images/location.svg) no-repeat 8px 50% #F0F0F0;
	background-size: 16px auto;
	padding-left: 30px;
}

p.package_count {
	color: #696969;
	text-transform: uppercase;
}

.price_container_container {
	font-size: 1.2rem;
	letter-spacing: -1px;
	min-height: 35px;
}

.price_container_container span.price_label {
	font-weight: 700;
}

.card-desc-first {
	min-height: 60px;
}

.card-desc-last {
	min-height: 0;
}

.highlight-wrapper .chb::before {
	filter: invert(1) contrast(100);
}

@media (max-width:768px) {
	#navigation div {
		flex-direction: column;
	}

	.card-desc {
		min-height: 0 !important;
	}

	.search-btn {
		margin-top: 20px;
	}

	.highlight-row.dividing-row {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column-reverse;
	}
}

#navigation_jump {
	visibility: visible !important;
	height: auto;
	margin-top: 0;
}

#view_box_container {
	min-width: 120px !important;
}

.page-content {
	margin-top: 20px;
	padding: 0 20px 20px 20px;
	margin-left: -15px;
	position: relative;
	margin-right: -15px;
	box-sizing: border-box;
}

.card-container {
	background: white;
}

.highlight-wrapper {
	background: #810000;
	color: white;
	padding: 40px;
}

.highlight-row:not(.search-row) {
	padding: 15px;
	margin: 0 0 30px 0;
	display: flex;
}

@media (max-width:700px) {

	.highlight-row {
		flex-direction: column-reverse;
	}

	.sky-form fieldset,
	.search-input,
	.sky-form fieldset label.label {
		display: block;
	}

	.hotels-filter .col-12>div {
		flex-direction: column
	}
}

.card-desc h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
}

#gallery_wrapper {
	margin: -15px;
	padding: 15px 0;
	background: #F6F6F6;
}
#gallery_wrapper , div.map_column_container {
	position: relative;
}
#gallery_wrapper .loading_container, div.map_column_container .loading_container {
	display:none;
}

#gallery_wrapper.loading .overlay, div.map_column_container.loading .overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.7);
	z-index: 8;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	backdrop-filter: blur(2px) grayscale(100%);
}

#gallery_wrapper.loading .overlay .loading_container, div.map_column_container.loading .overlay .loading_container {
	background: white;
	padding: 20px;
	position: relative;
	display: inline-block;
	margin-top: 20px;
	box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.3);
	border-radius: 2px;
	font-weight: bold;
}

#gallery_wrapper.loading .overlay .loading_container::after, div.map_column_container.loading .overlay .loading_container::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg,
			#ff6ec4,
			#7873f5,
			#4bb0ff,
			#22c1c3,
			#f7797d,
			#ff6ec4);
	background-size: 500% 100%;
	animation: scroll-gradient 1.5s linear infinite;
}

@keyframes scroll-gradient {
	0% {
		background-position: 0% 50%;
	}

	100% {
		background-position: 100% 50%;
	}
}

.card-container .row,
#gallery_wrapper .row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

.col-4 {
	flex-basis: 32%;
	box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2);
	margin: 0;
	overflow: hidden;
	border-radius: 4px;
	border-top-left-radius: 1px;
	border-top-right-radius: 1px;
	margin-bottom: 15px;
	transition: box-shadow 0.3s;
	cursor: pointer;
	background: white;
}

.col-4:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.col-4:hover .primary-btn {
	background: orange;
	border-color: transparent;
}
.secondary-btn.orange_button::after {
	background-image:none;
	content:"\276F";
	padding-left:12px;
	display:inline-block;
	font-size:1rem;
	margin-left:0;
	padding-right:12px;
    line-height: 12px;
}
.secondary-btn.orange_button:hover::after {
	background-image:none;
}

.col-4.empty,
.col-4.empty:hover {
	box-shadow: none;
	border: 0;
	background: transparent;
	cursor: default;
}


a.card-image {
	cursor: default !important;
	display:block;
}

.card-image {
	text-decoration: none !important;
	position: relative;
	line-height: 1;
}

.card-image img {
	width: 100%;
	height: auto;
	overflow: hidden;
	max-height: 240px;
	object-fit: cover;
}

.card-image h2.block-title {
	margin: 10px;
	top: 0;
	left: 0;
	padding: 8px 10px;
	background: white;
	color: black;
	position: absolute;
	display: inline-block;
	z-index: 1;
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
}

div.col-4:hover .carousel-slide,
div.col-4:hover h2.block-title {
	transition: background-color 0.2s;
}

div.col-4:hover .carousel-slide {
	background-color: rgba(0, 0, 0, 0.6);
}

.carousel-radio-wrapper {
	padding-left: 0;
	top: auto;
	left: 50%;
	right: auto;
	bottom: 0;
	padding:15px;
	transform: translateX(-50%);
}

.carousel-radio-wrapper label {
	padding: 15px 3px 15px 8px;
}

.carousel-radio-wrapper span.radio_container::before {
	width: 12px;
	height: 12px;
	background: white;
	border: 0;
	opacity: 0.6;
	box-shadow: none;
}

.carousel-radio-wrapper input:checked+span.radio_container::before {
	opacity: 1;
	border: 0;
	background: white;
}

div.col-4:hover h2.block-title {
	background-color: white;
	text-shadow: none;
	/*border-bottom:3px solid black;
	text-shadow:-1px 1px 0 rgba(0,0,0,0.75);*/
}

.carousel-slide {
	padding: 11px 10px;
	border-radius: 2px;
	margin-top: -15px;
	cursor: pointer;
}

.carousel-slide-left::before {
	content: "";
	background: url(/images/left-arrow.svg) no-repeat -6px 50%;
	background-size: 26px 26px;
	width: 12px;
	height: 12px;
	display: block;
}

.carousel-slide-right::after {
	content: "";
	background: url(/images/left-arrow.svg) no-repeat -6px 50%;
	background-size: 26px 26px;
	width: 12px;
	height: 12px;
	display: block;
	transform: scaleX(-1);
}

.card-container .block-title {
	background: black;
	color: white;
	display: inline-block;
	padding: 10px;
	margin: 10px;
}

.card-container .card-details {
	padding: 0;
}

.card-container .card-details-inner {
	padding: 15px;
}

/* Ensures that all cards have the same height */
.card .details {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

@media (max-width: 768px) {
	.col-4 {
		margin-right: 0;
	}

	.card-container .row,
	#gallery_wrapper .row {
		display: block;
		text-align: left;
	}
}

.details {
	min-height: 160px;
}

#mainColumn {
	width: auto;
	margin: 10px auto 0 auto !important;
	float: none;
}

.split_fiftyfiveopp {
	float: none;
	width: auto !important;
}

.country-specific {
	display: none;
}

.price_container p {
	margin: 0;
	padding: 0;
}

.price_container .ppnn {
	display: none;
}

.price_container.solo-desc {
	margin-top: 40px;
	font-size: 0.9rem;
	background: #d9ecfb;
	color: #2a5d9f;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
	position:absolute;right:10px;
	top:10px;
	letter-spacing: -1px;
    z-index: 1;
}
.instant_availability {
	color:#222 !important;
	font-weight:normal;
	font-size:0.8rem;
}
.price_container.solo-desc p {
	line-height: 1.1rem !important;
}

.price_container.solo-desc .oplred {
	color: #3478b3 !important;
}

.search_location {
	font-size: 0.9rem;
	background: #dbeeff;
	color: #3478b3;
	display: inline-block;
	padding: 6px;
	border-radius: 3px;
}

.title_wrapper_image {
	background-repeat: no-repeat;
	background-position: 50% 0;
	position: relative;
	background-size: cover;
	margin: -15px;
	margin-bottom: 15px;
}

.title_wrapper_title {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.title_wrapper_title h1 {
	text-transform: none;
	font-size: 2.2rem !important;
	color: white !important;
	font-weight: 700;
	text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

div.on_page_copy {
	margin-top: 25px;
}

div.so_wrapper div.on_page_copy {
	font-size: 1rem;
}

.browse-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: -15px;
	background: #FFF;
	margin-bottom: 15px;
	padding: 5px 20px 5px 20px;
}

.browse-navigation-footer {
	padding-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
}

.browse-navigation>* {
	flex: 1 1 0;
	/* This ensures all children take up equal width */
}

.browse-navigation p.sort_options,
.browse-navigation p.page_nav {
	flex: 2 1 0;
}
.browse-navigation p.sort_options:not(.sort_options_empty)::before {
	content:"";
	background:url(/images/sort-icon-2.svg) no-repeat 0 50%;
	background-size:20px;
	padding-left:30px;
}
.browse-navigation p.sort_options a, .browse-navigation p.sort_options a:hover {
	text-decoration:none;
}
.browse-navigation p.sort_options a:hover span.a_text {
	text-decoration:underline;
}

.page_nav.map_page_nav {
	visibility: hidden;
}

.page_nav {
	padding: 10px;
	text-align: right;
}

.page_nav .link {
	padding: 5px;
	background: #F0F0F0;
}

.page_nav .prev_next {
	background: #FC9;
}

.page_nav .prev_next.off {
	opacity: 0.5;
}

.page_nav .link.on {
	background: #444;
	color: #FFF;
}

.results_container {
	position: absolute;
	background: white;
	border-radius: 4px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
	margin-top: -1px;
	z-index: 99999;
	margin-left: 86px;
	text-align:left;
}

.results_container ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.results_container ul li {}

.results_container ul li.result_header {
	font-weight: bold;
	color: #555;
	border-bottom: 1px solid #F0F0F0;
	padding: 8px 10px;
}

.results_container ul li.result a {
	display: block;
	text-decoration: none;
	color: #333;
	padding: 8px 10px;
}

.results_container ul li.result a:hover,
.results_container ul li.result.selected {
	background-color: #F0F0FD;
}


#filter-container {
	display: flex;
	flex-wrap: nowrap;
	margin: 20px 0 0 0;
	gap: 20px;
	align-items: flex-start
}

#price-label {
	margin-right: 15px;
}

#filter-price-inner {
	display: flex;
	align-items: center;
}

#filter-price-explanation {
	margin-top: 30px;
	margin-left: 2.5rem;
	text-align: center;
	color: #999;
	font-size: 12px;
}

#filter-tabs {
	padding: 0 20px 20px 10px;
}

.filter-tab-group {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.filter-tab {
	display: flex;
	align-items: center;
	background: #CCC;
	border-radius: 3px;
	padding: 4px 6px;
	text-transform: uppercase;
	font-size: 0.8rem;
	line-height: 0.8rem;
	text-decoration: none !important;
	color: #444;
}

.filter-tab.selected {
	background: #810000;
	color: white;
}

.filter-tab::after {
	content: "";
	display: block;
	width: 0.8rem;
	height: 0.8rem;
	border: 1px solid white;
	margin-left: 8px;
}

.filter-tab:hover::after {
	border-color: #AAA;
	content: "\2714";
	color: #FFF;
}

.filter-tab.selected::after {
	content: "\2714";
}

.filter-tab.selected:hover::after {
	content: "\2717";
	background: black;
}

.filter-tab.fixed:hover::after {
	content: "\2714";
}

div.facilities label.disabled {
	color: #999;
}

div.facilities label.disabled::after {
	border-color: #AAA;
}

#price-slider.disabled {
	opacity: 0.3;
}

#price-slider {
	width: 300px;
	margin: 0px auto;
}

#price-slider {
	height: 10px;
}

#price-slider .noUi-connect {
	background: #396;
}

#price-slider .noUi-handle {
	height: 18px;
	width: 18px;
	top: -5px;
	right: -9px;
	/* half the width */
	border-radius: 9px;
}

.noUi-marker-horizontal.noUi-marker-sub {
	height: 5px;
}

.noUi-marker-horizontal.noUi-marker-large {
	height: 10px;
}

#price-slider .noUi-value-large {
	font-size: 0.8rem;
}

#price-slider .noUi-tooltip {
	display: none;
}

#price-slider .noUi-active .noUi-tooltip {
	display: block;
	z-index: 1;
}

#price-slider .noUi-handle:after,
#price-slider .noUi-handle:before {
	background: transparent;
}

div.facilities input[type=checkbox] {
	display: none;
}

#did_you_mean {
	display: inline-block;
	margin: 8px 0 20px;
}

#did_you_mean a:first-child {
	margin-left: 10px;
}

#did_you_mean a {
	background: #FFF;
	padding: 3px 6px;
	color: #444;
	text-decoration: none;
	border-radius: 3px;
}

#did_you_mean a:hover {
	background: #810000;
	color: #FFF;
}

.search-duo,
.nights-clear {
	display: inline-block;
}

.fpv-search-output,
.refine-search-toggle {
	display: none;
}

/**** MOBILES ****/

@media (max-width:768px) {
	
	.results_container {
		margin-left:0;
	}
	#body-wrapper {
		overflow: hidden;
	}

	.search-duo {
		display: block;
	}

	.sky-form {
		padding: 0;
		margin: 0;
	}

	.sky-form fieldset {
		padding: 4px;
	}

	.sky-form fieldset,
	.search-input,
	.sky-form fieldset label.label {
		display: block;
	}

	.sky-form label {
		padding: 10px 0;
	}

	.sky-form label::after {
		margin-top: 10px;
	}

	.search-postcode::after {
		margin-top: 42px;
	}

	#search-form {
		margin-top: 0;
	}

	#filter-price-inner,
	#filter-container {
		display: block;
	}

	#filter-container {
		display: none;
	}

	#price-label,
	#filter-tabs {
		margin: 10px 0;
	}

	.sky-form label.filter-tab {
		padding: 8px 8px;
	}

	.sky-form label.filter-tab::after {
		margin-top: 0;
	}

	div.browse-navigation {
		margin: 20px 0;
		padding: 0;
		display: block;
	}

	#navigation {
		display: block;
		padding: 0 !important;
		margin: 0 0 10px 0 !important;
	}

	ul.display_mode li {
		margin: 0;
	}
	ul.display_mode li a {
		background:#F0F0F0;
	}

	p.page_nav {
		text-align: left;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 0;
	}

	.title_wrapper_title {
		left: 3px;
		right: 3px;
	}

	.price_container_container {
		min-height: 0;
	}

	#gallery_wrapper {
		margin: 0 -15px;
		padding-top: 0;
	}

	/*.single_page_nav {
		display:none;
	}*/
	/* not sure at all why this is necessary on my mobile */
	.card-image h2.block-title {
		margin-top: 27px;
	}

	/* /not sure at all why this is necessary on my mobile */
	div#body-wrapper {
		overflow: visible;
	}

	.inner_page {
		padding: 15px;
	}

	div#search-form {
		position: -webkit-sticky;
		position: sticky;
		top: 53px;
		left: 0;
		right: 0;
		z-index: 1002;
		background-color: white;
		margin: 0 -15px;
		max-height: 90vh;
		/* I must hve put this in for a reason... 
		overflow-y: auto; */
	}
	div#search-form.page_has_banner {
		top:126px;
	}

	.mobile_block_button {
		padding: 0.75rem !important;
	}

	.nights-clear {
		display: flex;
		gap: 10px;
		align-items: center
	}

	.fpv-search-output {
		background-color: #F0F0F0;
		padding: 10px;
		display: flex;
	}

	.fpv-search-output-labels {
		flex-grow: 1;
	}

	.fpv-search-output-button {
		width: 30%;
	}

	.search-output-label-container {
		margin: 5px 0;
	}

	.search-output-label-container>span {
		display: inline-block;
	}

	.search-output-label {
		min-width: 120px;
	}

	.fpv-search-output {
		display: flex;
	}

	.refine-search-toggle {
		display: block;
		margin-bottom:0;
	}

	.fpv-search-wrapper {
		display: none;
	}
	#map_block {
		width:100% !important;
	}
	
	div.browse-navigation.footer-page-is-empty {
		display:none;
	}
	div.browse-navigation.header-page-is-empty p.page_nav {
		display:none;
	}
}

/* map stuff */

.map_column_container {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	overflow: hidden;
}

.floating_hotel_selector {
	overflow-y: scroll;
}

.hotel_details_container {
	position: relative;
}

.hotel_index {
	z-index: 99999;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	line-height: 22px;
	text-indent: -1px;
	font-size: 11px;
	display: inline-block;
	text-align: center;
	border-radius: 50%;
	background: #810000;
	color: white;
}

/* overrides for cards */

.map_column_container .card-desc-first,
.map_column_container .price_container_container {
	min-height: 0;
}

.map_column_container p.hotel_location,
.map_column_container p.package_count {
	display: none;
}

.map_column_container .card-container .card-details-inner {
	padding: 8px;
}
a.back-to-top {
	position:absolute;
	z-index:1;
	background:#810000;
	color:#FFF;
	padding:10px;
	right:5px;
	bottom:20px;
}
a.back-to-top:hover {
	text-decoration:none;
	background:#CC0000;
}

.arrayerrorbox {
    background-color: #f8d7da; 
    color: #721c24;
    border: 1px solid #f5c6cb; 
    padding: 15px; 
    border-radius: 5px;
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
}
.arrayerrorbox strong {
    font-weight: bold;
    color: inherit;
}

.identify_package_title {
	display: inline-block;
    margin: 4px 0 10px;
    letter-spacing: -0.5px;
	position: relative;
    border-left: 0;
	padding-left:0;
	font-size:18px;
	font-weight:bold;
	color:#335054;
}


.identify_package_title::before,
.identify_package_title::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 50px;
	height: 1px;
	background-color: #D9D9D9;
}

.identify_package_title::before {
	right: 95%;
	padding-left:10px;
}

.identify_package_title::after {
	left: 95%;
}

.card-details-inner {
	text-align:center;
	position:relative;
}
.identify_package_title {
}
.card-desc.card-desc-first h3 {
	font-size:1.2rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width:768px) {
	.identify_package_title {
		margin:15px 0;
	}
	
	.card-desc.card-desc-first h3 {
		min-height:0;
	}
}



.identify_package_title {
	display:inline-block;
	/*background-color: #810000;
	color: white;*/
	font-weight: normal;
	padding: 4px 8px;
	position: relative;
	font-size: 16px;
	text-align: center;
	margin:0 auto;
	white-space: nowrap;
	display: block;
	max-width:85%;
}
.identify_package_title span {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.identify_package_title_has_friend {
	margin-bottom:4px;
}
.identify_package_title_friend {
	display:block;
	font-size:90% !important;
	margin-left:6px;
}

@media (max-width:768px) {
	.identify_package_title, .identify_package_title span {
		display:block;
		width:auto;
		overflow:hidden;
		max-width:none;
		white-space:initial;
	}
	.identify_package_title_friend {
		margin-top:5px;
	}
}
.image_align_0 { /* top */
    background-position: top center;
}
.image_align_1 { /* middle */
    background-position: center;
}
.image_align_2 { /* bottom */
    background-position: bottom center;
}